cherrydoor/static/components/VueTimepicker.js
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["VueTimepicker"] = factory(require("vue"));
else
root["VueTimepicker"] = factory(root["Vue"]);
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "fb15");
/******/ })
/************************************************************************/
/******/ ({
/***/ "00ee":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
test[TO_STRING_TAG] = 'z';
module.exports = String(test) === '[object z]';
/***/ }),
/***/ "0366":
/***/ (function(module, exports, __webpack_require__) {
var aFunction = __webpack_require__("1c0b");
// optional / simple context binding
module.exports = function (fn, that, length) {
aFunction(fn);
if (that === undefined) return fn;
switch (length) {
case 0: return function () {
return fn.call(that);
};
case 1: return function (a) {
return fn.call(that, a);
};
case 2: return function (a, b) {
return fn.call(that, a, b);
};
case 3: return function (a, b, c) {
return fn.call(that, a, b, c);
};
}
return function (/* ...args */) {
return fn.apply(that, arguments);
};
};
/***/ }),
/***/ "057f":
/***/ (function(module, exports, __webpack_require__) {
var toIndexedObject = __webpack_require__("fc6a");
var nativeGetOwnPropertyNames = __webpack_require__("241c").f;
var toString = {}.toString;
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function (it) {
try {
return nativeGetOwnPropertyNames(it);
} catch (error) {
return windowNames.slice();
}
};
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
module.exports.f = function getOwnPropertyNames(it) {
return windowNames && toString.call(it) == '[object Window]'
? getWindowNames(it)
: nativeGetOwnPropertyNames(toIndexedObject(it));
};
/***/ }),
/***/ "06cf":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var propertyIsEnumerableModule = __webpack_require__("d1e7");
var createPropertyDescriptor = __webpack_require__("5c6c");
var toIndexedObject = __webpack_require__("fc6a");
var toPrimitive = __webpack_require__("c04e");
var has = __webpack_require__("5135");
var IE8_DOM_DEFINE = __webpack_require__("0cfb");
var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
P = toPrimitive(P, true);
if (IE8_DOM_DEFINE) try {
return nativeGetOwnPropertyDescriptor(O, P);
} catch (error) { /* empty */ }
if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
};
/***/ }),
/***/ "0cfb":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var fails = __webpack_require__("d039");
var createElement = __webpack_require__("cc12");
// Thank's IE8 for his funny defineProperty
module.exports = !DESCRIPTORS && !fails(function () {
return Object.defineProperty(createElement('div'), 'a', {
get: function () { return 7; }
}).a != 7;
});
/***/ }),
/***/ "1276":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
var isRegExp = __webpack_require__("44e7");
var anObject = __webpack_require__("825a");
var requireObjectCoercible = __webpack_require__("1d80");
var speciesConstructor = __webpack_require__("4840");
var advanceStringIndex = __webpack_require__("8aa5");
var toLength = __webpack_require__("50c4");
var callRegExpExec = __webpack_require__("14c3");
var regexpExec = __webpack_require__("9263");
var fails = __webpack_require__("d039");
var arrayPush = [].push;
var min = Math.min;
var MAX_UINT32 = 0xFFFFFFFF;
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
// @@split logic
fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
var internalSplit;
if (
'abbc'.split(/(b)*/)[1] == 'c' ||
'test'.split(/(?:)/, -1).length != 4 ||
'ab'.split(/(?:ab)*/).length != 2 ||
'.'.split(/(.?)(.?)/).length != 4 ||
'.'.split(/()()/).length > 1 ||
''.split(/.?/).length
) {
// based on es5-shim implementation, need to rework it
internalSplit = function (separator, limit) {
var string = String(requireObjectCoercible(this));
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
if (lim === 0) return [];
if (separator === undefined) return [string];
// If `separator` is not a regex, use native split
if (!isRegExp(separator)) {
return nativeSplit.call(string, separator, lim);
}
var output = [];
var flags = (separator.ignoreCase ? 'i' : '') +
(separator.multiline ? 'm' : '') +
(separator.unicode ? 'u' : '') +
(separator.sticky ? 'y' : '');
var lastLastIndex = 0;
// 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 = regexpExec.call(separatorCopy, string)) {
lastIndex = separatorCopy.lastIndex;
if (lastIndex > lastLastIndex) {
output.push(string.slice(lastLastIndex, match.index));
if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
lastLength = match[0].length;
lastLastIndex = lastIndex;
if (output.length >= lim) break;
}
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
}
if (lastLastIndex === string.length) {
if (lastLength || !separatorCopy.test('')) output.push('');
} else output.push(string.slice(lastLastIndex));
return output.length > lim ? output.slice(0, lim) : output;
};
// Chakra, V8
} else if ('0'.split(undefined, 0).length) {
internalSplit = function (separator, limit) {
return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
};
} else internalSplit = nativeSplit;
return [
// `String.prototype.split` method
// https://tc39.github.io/ecma262/#sec-string.prototype.split
function split(separator, limit) {
var O = requireObjectCoercible(this);
var splitter = separator == undefined ? undefined : separator[SPLIT];
return splitter !== undefined
? splitter.call(separator, O, limit)
: internalSplit.call(String(O), separator, limit);
},
// `RegExp.prototype[@@split]` method
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
//
// NOTE: This cannot be properly polyfilled in engines that don't support
// the 'y' flag.
function (regexp, limit) {
var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
if (res.done) return res.value;
var rx = anObject(regexp);
var S = String(this);
var C = speciesConstructor(rx, RegExp);
var unicodeMatching = rx.unicode;
var flags = (rx.ignoreCase ? 'i' : '') +
(rx.multiline ? 'm' : '') +
(rx.unicode ? 'u' : '') +
(SUPPORTS_Y ? 'y' : 'g');
// ^(? + rx + ) is needed, in combination with some S slicing, to
// simulate the 'y' flag.
var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
if (lim === 0) return [];
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
var p = 0;
var q = 0;
var A = [];
while (q < S.length) {
splitter.lastIndex = SUPPORTS_Y ? q : 0;
var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
var e;
if (
z === null ||
(e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
) {
q = advanceStringIndex(S, q, unicodeMatching);
} else {
A.push(S.slice(p, q));
if (A.length === lim) return A;
for (var i = 1; i <= z.length - 1; i++) {
A.push(z[i]);
if (A.length === lim) return A;
}
q = p = e;
}
}
A.push(S.slice(p));
return A;
}
];
}, !SUPPORTS_Y);
/***/ }),
/***/ "14c3":
/***/ (function(module, exports, __webpack_require__) {
var classof = __webpack_require__("c6b6");
var regexpExec = __webpack_require__("9263");
// `RegExpExec` abstract operation
// https://tc39.github.io/ecma262/#sec-regexpexec
module.exports = function (R, S) {
var exec = R.exec;
if (typeof exec === 'function') {
var result = exec.call(R, S);
if (typeof result !== 'object') {
throw TypeError('RegExp exec method returned something other than an Object or null');
}
return result;
}
if (classof(R) !== 'RegExp') {
throw TypeError('RegExp#exec called on incompatible receiver');
}
return regexpExec.call(R, S);
};
/***/ }),
/***/ "159b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var DOMIterables = __webpack_require__("fdbc");
var forEach = __webpack_require__("17c2");
var createNonEnumerableProperty = __webpack_require__("9112");
for (var COLLECTION_NAME in DOMIterables) {
var Collection = global[COLLECTION_NAME];
var CollectionPrototype = Collection && Collection.prototype;
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
} catch (error) {
CollectionPrototype.forEach = forEach;
}
}
/***/ }),
/***/ "17c2":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $forEach = __webpack_require__("b727").forEach;
var arrayMethodIsStrict = __webpack_require__("a640");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var STRICT_METHOD = arrayMethodIsStrict('forEach');
var USES_TO_LENGTH = arrayMethodUsesToLength('forEach');
// `Array.prototype.forEach` method implementation
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
} : [].forEach;
/***/ }),
/***/ "1be4":
/***/ (function(module, exports, __webpack_require__) {
var getBuiltIn = __webpack_require__("d066");
module.exports = getBuiltIn('document', 'documentElement');
/***/ }),
/***/ "1c0b":
/***/ (function(module, exports) {
module.exports = function (it) {
if (typeof it != 'function') {
throw TypeError(String(it) + ' is not a function');
} return it;
};
/***/ }),
/***/ "1c7e":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
var ITERATOR = wellKnownSymbol('iterator');
var SAFE_CLOSING = false;
try {
var called = 0;
var iteratorWithReturn = {
next: function () {
return { done: !!called++ };
},
'return': function () {
SAFE_CLOSING = true;
}
};
iteratorWithReturn[ITERATOR] = function () {
return this;
};
// eslint-disable-next-line no-throw-literal
Array.from(iteratorWithReturn, function () { throw 2; });
} catch (error) { /* empty */ }
module.exports = function (exec, SKIP_CLOSING) {
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
var ITERATION_SUPPORT = false;
try {
var object = {};
object[ITERATOR] = function () {
return {
next: function () {
return { done: ITERATION_SUPPORT = true };
}
};
};
exec(object);
} catch (error) { /* empty */ }
return ITERATION_SUPPORT;
};
/***/ }),
/***/ "1d80":
/***/ (function(module, exports) {
// `RequireObjectCoercible` abstract operation
// https://tc39.github.io/ecma262/#sec-requireobjectcoercible
module.exports = function (it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};
/***/ }),
/***/ "1dde":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
var wellKnownSymbol = __webpack_require__("b622");
var V8_VERSION = __webpack_require__("2d00");
var SPECIES = wellKnownSymbol('species');
module.exports = function (METHOD_NAME) {
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/677
return V8_VERSION >= 51 || !fails(function () {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES] = function () {
return { foo: 1 };
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
/***/ }),
/***/ "23cb":
/***/ (function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__("a691");
var max = Math.max;
var min = Math.min;
// Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
module.exports = function (index, length) {
var integer = toInteger(index);
return integer < 0 ? max(integer + length, 0) : min(integer, length);
};
/***/ }),
/***/ "23e7":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
var createNonEnumerableProperty = __webpack_require__("9112");
var redefine = __webpack_require__("6eeb");
var setGlobal = __webpack_require__("ce4e");
var copyConstructorProperties = __webpack_require__("e893");
var isForced = __webpack_require__("94ca");
/*
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
*/
module.exports = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = global;
} else if (STATIC) {
target = global[TARGET] || setGlobal(TARGET, {});
} else {
target = (global[TARGET] || {}).prototype;
}
if (target) for (key in source) {
sourceProperty = source[key];
if (options.noTargetGet) {
descriptor = getOwnPropertyDescriptor(target, key);
targetProperty = descriptor && descriptor.value;
} else targetProperty = target[key];
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
// contained in target
if (!FORCED && targetProperty !== undefined) {
if (typeof sourceProperty === typeof targetProperty) continue;
copyConstructorProperties(sourceProperty, targetProperty);
}
// add a flag to not completely full polyfills
if (options.sham || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty(sourceProperty, 'sham', true);
}
// extend global
redefine(target, key, sourceProperty, options);
}
};
/***/ }),
/***/ "241c":
/***/ (function(module, exports, __webpack_require__) {
var internalObjectKeys = __webpack_require__("ca84");
var enumBugKeys = __webpack_require__("7839");
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
// `Object.getOwnPropertyNames` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys);
};
/***/ }),
/***/ "2532":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var notARegExp = __webpack_require__("5a34");
var requireObjectCoercible = __webpack_require__("1d80");
var correctIsRegExpLogic = __webpack_require__("ab13");
// `String.prototype.includes` method
// https://tc39.github.io/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
includes: function includes(searchString /* , position = 0 */) {
return !!~String(requireObjectCoercible(this))
.indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "25f0":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var redefine = __webpack_require__("6eeb");
var anObject = __webpack_require__("825a");
var fails = __webpack_require__("d039");
var flags = __webpack_require__("ad6d");
var TO_STRING = 'toString';
var RegExpPrototype = RegExp.prototype;
var nativeToString = RegExpPrototype[TO_STRING];
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
// FF44- RegExp#toString has a wrong name
var INCORRECT_NAME = nativeToString.name != TO_STRING;
// `RegExp.prototype.toString` method
// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
if (NOT_GENERIC || INCORRECT_NAME) {
redefine(RegExp.prototype, TO_STRING, function toString() {
var R = anObject(this);
var p = String(R.source);
var rf = R.flags;
var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);
return '/' + p + '/' + f;
}, { unsafe: true });
}
/***/ }),
/***/ "2626":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var getBuiltIn = __webpack_require__("d066");
var definePropertyModule = __webpack_require__("9bf2");
var wellKnownSymbol = __webpack_require__("b622");
var DESCRIPTORS = __webpack_require__("83ab");
var SPECIES = wellKnownSymbol('species');
module.exports = function (CONSTRUCTOR_NAME) {
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
var defineProperty = definePropertyModule.f;
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
defineProperty(Constructor, SPECIES, {
configurable: true,
get: function () { return this; }
});
}
};
/***/ }),
/***/ "2d00":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var userAgent = __webpack_require__("342f");
var process = global.process;
var versions = process && process.versions;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split('.');
version = match[0] + match[1];
} else if (userAgent) {
match = userAgent.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent.match(/Chrome\/(\d+)/);
if (match) version = match[1];
}
}
module.exports = version && +version;
/***/ }),
/***/ "342f":
/***/ (function(module, exports, __webpack_require__) {
var getBuiltIn = __webpack_require__("d066");
module.exports = getBuiltIn('navigator', 'userAgent') || '';
/***/ }),
/***/ "35a1":
/***/ (function(module, exports, __webpack_require__) {
var classof = __webpack_require__("f5df");
var Iterators = __webpack_require__("3f8c");
var wellKnownSymbol = __webpack_require__("b622");
var ITERATOR = wellKnownSymbol('iterator');
module.exports = function (it) {
if (it != undefined) return it[ITERATOR]
|| it['@@iterator']
|| Iterators[classof(it)];
};
/***/ }),
/***/ "37e8":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var definePropertyModule = __webpack_require__("9bf2");
var anObject = __webpack_require__("825a");
var objectKeys = __webpack_require__("df75");
// `Object.defineProperties` method
// https://tc39.github.io/ecma262/#sec-object.defineproperties
module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
anObject(O);
var keys = objectKeys(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
return O;
};
/***/ }),
/***/ "3bbe":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
module.exports = function (it) {
if (!isObject(it) && it !== null) {
throw TypeError("Can't set " + String(it) + ' as a prototype');
} return it;
};
/***/ }),
/***/ "3ca3":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var charAt = __webpack_require__("6547").charAt;
var InternalStateModule = __webpack_require__("69f3");
var defineIterator = __webpack_require__("7dd0");
var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
// `String.prototype[@@iterator]` method
// https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
defineIterator(String, 'String', function (iterated) {
setInternalState(this, {
type: STRING_ITERATOR,
string: String(iterated),
index: 0
});
// `%StringIteratorPrototype%.next` method
// https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
}, function next() {
var state = getInternalState(this);
var string = state.string;
var index = state.index;
var point;
if (index >= string.length) return { value: undefined, done: true };
point = charAt(string, index);
state.index += point.length;
return { value: point, done: false };
});
/***/ }),
/***/ "3f8c":
/***/ (function(module, exports) {
module.exports = {};
/***/ }),
/***/ "4160":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var forEach = __webpack_require__("17c2");
// `Array.prototype.forEach` method
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
forEach: forEach
});
/***/ }),
/***/ "428f":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
module.exports = global;
/***/ }),
/***/ "44ad":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
var classof = __webpack_require__("c6b6");
var split = ''.split;
// fallback for non-array-like ES3 and non-enumerable old V8 strings
module.exports = fails(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins
return !Object('z').propertyIsEnumerable(0);
}) ? function (it) {
return classof(it) == 'String' ? split.call(it, '') : Object(it);
} : Object;
/***/ }),
/***/ "44d2":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
var create = __webpack_require__("7c73");
var definePropertyModule = __webpack_require__("9bf2");
var UNSCOPABLES = wellKnownSymbol('unscopables');
var ArrayPrototype = Array.prototype;
// Array.prototype[@@unscopables]
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
if (ArrayPrototype[UNSCOPABLES] == undefined) {
definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
configurable: true,
value: create(null)
});
}
// add a key to Array.prototype[@@unscopables]
module.exports = function (key) {
ArrayPrototype[UNSCOPABLES][key] = true;
};
/***/ }),
/***/ "44e7":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
var classof = __webpack_require__("c6b6");
var wellKnownSymbol = __webpack_require__("b622");
var MATCH = wellKnownSymbol('match');
// `IsRegExp` abstract operation
// https://tc39.github.io/ecma262/#sec-isregexp
module.exports = function (it) {
var isRegExp;
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
};
/***/ }),
/***/ "45fc":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $some = __webpack_require__("b727").some;
var arrayMethodIsStrict = __webpack_require__("a640");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var STRICT_METHOD = arrayMethodIsStrict('some');
var USES_TO_LENGTH = arrayMethodUsesToLength('some');
// `Array.prototype.some` method
// https://tc39.github.io/ecma262/#sec-array.prototype.some
$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
some: function some(callbackfn /* , thisArg */) {
return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "466d":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
var anObject = __webpack_require__("825a");
var toLength = __webpack_require__("50c4");
var requireObjectCoercible = __webpack_require__("1d80");
var advanceStringIndex = __webpack_require__("8aa5");
var regExpExec = __webpack_require__("14c3");
// @@match logic
fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {
return [
// `String.prototype.match` method
// https://tc39.github.io/ecma262/#sec-string.prototype.match
function match(regexp) {
var O = requireObjectCoercible(this);
var matcher = regexp == undefined ? undefined : regexp[MATCH];
return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
},
// `RegExp.prototype[@@match]` method
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
function (regexp) {
var res = maybeCallNative(nativeMatch, regexp, this);
if (res.done) return res.value;
var rx = anObject(regexp);
var S = String(this);
if (!rx.global) return regExpExec(rx, S);
var fullUnicode = rx.unicode;
rx.lastIndex = 0;
var A = [];
var n = 0;
var result;
while ((result = regExpExec(rx, S)) !== null) {
var matchStr = String(result[0]);
A[n] = matchStr;
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
n++;
}
return n === 0 ? null : A;
}
];
});
/***/ }),
/***/ "4840":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("825a");
var aFunction = __webpack_require__("1c0b");
var wellKnownSymbol = __webpack_require__("b622");
var SPECIES = wellKnownSymbol('species');
// `SpeciesConstructor` abstract operation
// https://tc39.github.io/ecma262/#sec-speciesconstructor
module.exports = function (O, defaultConstructor) {
var C = anObject(O).constructor;
var S;
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
};
/***/ }),
/***/ "4930":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
// Chrome 38 Symbol has incorrect toString conversion
// eslint-disable-next-line no-undef
return !String(Symbol());
});
/***/ }),
/***/ "498a":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $trim = __webpack_require__("58a8").trim;
var forcedStringTrimMethod = __webpack_require__("c8d2");
// `String.prototype.trim` method
// https://tc39.github.io/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
trim: function trim() {
return $trim(this);
}
});
/***/ }),
/***/ "4d63":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var global = __webpack_require__("da84");
var isForced = __webpack_require__("94ca");
var inheritIfRequired = __webpack_require__("7156");
var defineProperty = __webpack_require__("9bf2").f;
var getOwnPropertyNames = __webpack_require__("241c").f;
var isRegExp = __webpack_require__("44e7");
var getFlags = __webpack_require__("ad6d");
var stickyHelpers = __webpack_require__("9f7f");
var redefine = __webpack_require__("6eeb");
var fails = __webpack_require__("d039");
var setInternalState = __webpack_require__("69f3").set;
var setSpecies = __webpack_require__("2626");
var wellKnownSymbol = __webpack_require__("b622");
var MATCH = wellKnownSymbol('match');
var NativeRegExp = global.RegExp;
var RegExpPrototype = NativeRegExp.prototype;
var re1 = /a/g;
var re2 = /a/g;
// "new" should create a new object, old webkit bug
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
var FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {
re2[MATCH] = false;
// RegExp constructor can alter flags and IsRegExp works correct with @@match
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
})));
// `RegExp` constructor
// https://tc39.github.io/ecma262/#sec-regexp-constructor
if (FORCED) {
var RegExpWrapper = function RegExp(pattern, flags) {
var thisIsRegExp = this instanceof RegExpWrapper;
var patternIsRegExp = isRegExp(pattern);
var flagsAreUndefined = flags === undefined;
var sticky;
if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {
return pattern;
}
if (CORRECT_NEW) {
if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;
} else if (pattern instanceof RegExpWrapper) {
if (flagsAreUndefined) flags = getFlags.call(pattern);
pattern = pattern.source;
}
if (UNSUPPORTED_Y) {
sticky = !!flags && flags.indexOf('y') > -1;
if (sticky) flags = flags.replace(/y/g, '');
}
var result = inheritIfRequired(
CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),
thisIsRegExp ? this : RegExpPrototype,
RegExpWrapper
);
if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });
return result;
};
var proxy = function (key) {
key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
configurable: true,
get: function () { return NativeRegExp[key]; },
set: function (it) { NativeRegExp[key] = it; }
});
};
var keys = getOwnPropertyNames(NativeRegExp);
var index = 0;
while (keys.length > index) proxy(keys[index++]);
RegExpPrototype.constructor = RegExpWrapper;
RegExpWrapper.prototype = RegExpPrototype;
redefine(global, 'RegExp', RegExpWrapper);
}
// https://tc39.github.io/ecma262/#sec-get-regexp-@@species
setSpecies('RegExp');
/***/ }),
/***/ "4d64":
/***/ (function(module, exports, __webpack_require__) {
var toIndexedObject = __webpack_require__("fc6a");
var toLength = __webpack_require__("50c4");
var toAbsoluteIndex = __webpack_require__("23cb");
// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject($this);
var length = toLength(O.length);
var index = toAbsoluteIndex(fromIndex, length);
var value;
// Array#includes uses SameValueZero equality algorithm
// eslint-disable-next-line no-self-compare
if (IS_INCLUDES && el != el) while (length > index) {
value = O[index++];
// eslint-disable-next-line no-self-compare
if (value != value) return true;
// Array#indexOf ignores holes, Array#includes - not
} else for (;length > index; index++) {
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
} return !IS_INCLUDES && -1;
};
};
module.exports = {
// `Array.prototype.includes` method
// https://tc39.github.io/ecma262/#sec-array.prototype.includes
includes: createMethod(true),
// `Array.prototype.indexOf` method
// https://tc39.github.io/ecma262/#sec-array.prototype.indexof
indexOf: createMethod(false)
};
/***/ }),
/***/ "4de4":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $filter = __webpack_require__("b727").filter;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
// Edge 14- issue
var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
// `Array.prototype.filter` method
// https://tc39.github.io/ecma262/#sec-array.prototype.filter
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
filter: function filter(callbackfn /* , thisArg */) {
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "4df4":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var bind = __webpack_require__("0366");
var toObject = __webpack_require__("7b0b");
var callWithSafeIterationClosing = __webpack_require__("9bdd");
var isArrayIteratorMethod = __webpack_require__("e95a");
var toLength = __webpack_require__("50c4");
var createProperty = __webpack_require__("8418");
var getIteratorMethod = __webpack_require__("35a1");
// `Array.from` method implementation
// https://tc39.github.io/ecma262/#sec-array.from
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
var O = toObject(arrayLike);
var C = typeof this == 'function' ? this : Array;
var argumentsLength = arguments.length;
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
var mapping = mapfn !== undefined;
var iteratorMethod = getIteratorMethod(O);
var index = 0;
var length, result, step, iterator, next, value;
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
// if the target is not iterable or it's an array with the default iterator - use a simple case
if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
iterator = iteratorMethod.call(O);
next = iterator.next;
result = new C();
for (;!(step = next.call(iterator)).done; index++) {
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
createProperty(result, index, value);
}
} else {
length = toLength(O.length);
result = new C(length);
for (;length > index; index++) {
value = mapping ? mapfn(O[index], index) : O[index];
createProperty(result, index, value);
}
}
result.length = index;
return result;
};
/***/ }),
/***/ "50c4":
/***/ (function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__("a691");
var min = Math.min;
// `ToLength` abstract operation
// https://tc39.github.io/ecma262/#sec-tolength
module.exports = function (argument) {
return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};
/***/ }),
/***/ "5135":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "5319":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
var anObject = __webpack_require__("825a");
var toObject = __webpack_require__("7b0b");
var toLength = __webpack_require__("50c4");
var toInteger = __webpack_require__("a691");
var requireObjectCoercible = __webpack_require__("1d80");
var advanceStringIndex = __webpack_require__("8aa5");
var regExpExec = __webpack_require__("14c3");
var max = Math.max;
var min = Math.min;
var floor = Math.floor;
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
var maybeToString = function (it) {
return it === undefined ? it : String(it);
};
// @@replace logic
fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
return [
// `String.prototype.replace` method
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
function replace(searchValue, replaceValue) {
var O = requireObjectCoercible(this);
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
return replacer !== undefined
? replacer.call(searchValue, O, replaceValue)
: nativeReplace.call(String(O), searchValue, replaceValue);
},
// `RegExp.prototype[@@replace]` method
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
function (regexp, replaceValue) {
if (
(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
) {
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
if (res.done) return res.value;
}
var rx = anObject(regexp);
var S = String(this);
var functionalReplace = typeof replaceValue === 'function';
if (!functionalReplace) replaceValue = String(replaceValue);
var global = rx.global;
if (global) {
var fullUnicode = rx.unicode;
rx.lastIndex = 0;
}
var results = [];
while (true) {
var result = regExpExec(rx, S);
if (result === null) break;
results.push(result);
if (!global) break;
var matchStr = String(result[0]);
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
}
var accumulatedResult = '';
var nextSourcePosition = 0;
for (var i = 0; i < results.length; i++) {
result = results[i];
var matched = String(result[0]);
var position = max(min(toInteger(result.index), S.length), 0);
var captures = [];
// NOTE: This is equivalent to
// captures = result.slice(1).map(maybeToString)
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
var namedCaptures = result.groups;
if (functionalReplace) {
var replacerArgs = [matched].concat(captures, position, S);
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
var replacement = String(replaceValue.apply(undefined, replacerArgs));
} else {
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
}
if (position >= nextSourcePosition) {
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
nextSourcePosition = position + matched.length;
}
}
return accumulatedResult + S.slice(nextSourcePosition);
}
];
// https://tc39.github.io/ecma262/#sec-getsubstitution
function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
var tailPos = position + matched.length;
var m = captures.length;
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
if (namedCaptures !== undefined) {
namedCaptures = toObject(namedCaptures);
symbols = SUBSTITUTION_SYMBOLS;
}
return nativeReplace.call(replacement, symbols, function (match, ch) {
var capture;
switch (ch.charAt(0)) {
case '$': return '$';
case '&': return matched;
case '`': return str.slice(0, position);
case "'": return str.slice(tailPos);
case '<':
capture = namedCaptures[ch.slice(1, -1)];
break;
default: // \d\d?
var n = +ch;
if (n === 0) return match;
if (n > m) {
var f = floor(n / 10);
if (f === 0) return match;
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
return match;
}
capture = captures[n - 1];
}
return capture === undefined ? '' : capture;
});
}
});
/***/ }),
/***/ "5692":
/***/ (function(module, exports, __webpack_require__) {
var IS_PURE = __webpack_require__("c430");
var store = __webpack_require__("c6cd");
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.6.5',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "56ef":
/***/ (function(module, exports, __webpack_require__) {
var getBuiltIn = __webpack_require__("d066");
var getOwnPropertyNamesModule = __webpack_require__("241c");
var getOwnPropertySymbolsModule = __webpack_require__("7418");
var anObject = __webpack_require__("825a");
// all object keys, includes non-enumerable and symbols
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
var keys = getOwnPropertyNamesModule.f(anObject(it));
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
};
/***/ }),
/***/ "5899":
/***/ (function(module, exports) {
// a string of all valid unicode whitespaces
// eslint-disable-next-line max-len
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
/***/ }),
/***/ "58a8":
/***/ (function(module, exports, __webpack_require__) {
var requireObjectCoercible = __webpack_require__("1d80");
var whitespaces = __webpack_require__("5899");
var whitespace = '[' + whitespaces + ']';
var ltrim = RegExp('^' + whitespace + whitespace + '*');
var rtrim = RegExp(whitespace + whitespace + '*$');
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
var createMethod = function (TYPE) {
return function ($this) {
var string = String(requireObjectCoercible($this));
if (TYPE & 1) string = string.replace(ltrim, '');
if (TYPE & 2) string = string.replace(rtrim, '');
return string;
};
};
module.exports = {
// `String.prototype.{ trimLeft, trimStart }` methods
// https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
start: createMethod(1),
// `String.prototype.{ trimRight, trimEnd }` methods
// https://tc39.github.io/ecma262/#sec-string.prototype.trimend
end: createMethod(2),
// `String.prototype.trim` method
// https://tc39.github.io/ecma262/#sec-string.prototype.trim
trim: createMethod(3)
};
/***/ }),
/***/ "5a34":
/***/ (function(module, exports, __webpack_require__) {
var isRegExp = __webpack_require__("44e7");
module.exports = function (it) {
if (isRegExp(it)) {
throw TypeError("The method doesn't accept regular expressions");
} return it;
};
/***/ }),
/***/ "5c6c":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "60da":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__("83ab");
var fails = __webpack_require__("d039");
var objectKeys = __webpack_require__("df75");
var getOwnPropertySymbolsModule = __webpack_require__("7418");
var propertyIsEnumerableModule = __webpack_require__("d1e7");
var toObject = __webpack_require__("7b0b");
var IndexedObject = __webpack_require__("44ad");
var nativeAssign = Object.assign;
var defineProperty = Object.defineProperty;
// `Object.assign` method
// https://tc39.github.io/ecma262/#sec-object.assign
module.exports = !nativeAssign || fails(function () {
// should have correct order of operations (Edge bug)
if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
enumerable: true,
get: function () {
defineProperty(this, 'b', {
value: 3,
enumerable: false
});
}
}), { b: 2 })).b !== 1) return true;
// should work with symbols and should have deterministic property order (V8 bug)
var A = {};
var B = {};
// eslint-disable-next-line no-undef
var symbol = Symbol();
var alphabet = 'abcdefghijklmnopqrst';
A[symbol] = 7;
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
var T = toObject(target);
var argumentsLength = arguments.length;
var index = 1;
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
var propertyIsEnumerable = propertyIsEnumerableModule.f;
while (argumentsLength > index) {
var S = IndexedObject(arguments[index++]);
var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
var length = keys.length;
var j = 0;
var key;
while (length > j) {
key = keys[j++];
if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
}
} return T;
} : nativeAssign;
/***/ }),
/***/ "6547":
/***/ (function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__("a691");
var requireObjectCoercible = __webpack_require__("1d80");
// `String.prototype.{ codePointAt, at }` methods implementation
var createMethod = function (CONVERT_TO_STRING) {
return function ($this, pos) {
var S = String(requireObjectCoercible($this));
var position = toInteger(pos);
var size = S.length;
var first, second;
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
first = S.charCodeAt(position);
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|| (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
? CONVERT_TO_STRING ? S.charAt(position) : first
: CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
};
};
module.exports = {
// `String.prototype.codePointAt` method
// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
codeAt: createMethod(false),
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: createMethod(true)
};
/***/ }),
/***/ "65f0":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
var isArray = __webpack_require__("e8b5");
var wellKnownSymbol = __webpack_require__("b622");
var SPECIES = wellKnownSymbol('species');
// `ArraySpeciesCreate` abstract operation
// https://tc39.github.io/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray, length) {
var C;
if (isArray(originalArray)) {
C = originalArray.constructor;
// cross-realm fallback
if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
else if (isObject(C)) {
C = C[SPECIES];
if (C === null) C = undefined;
}
} return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
};
/***/ }),
/***/ "69f3":
/***/ (function(module, exports, __webpack_require__) {
var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
var global = __webpack_require__("da84");
var isObject = __webpack_require__("861d");
var createNonEnumerableProperty = __webpack_require__("9112");
var objectHas = __webpack_require__("5135");
var sharedKey = __webpack_require__("f772");
var hiddenKeys = __webpack_require__("d012");
var WeakMap = global.WeakMap;
var set, get, has;
var enforce = function (it) {
return has(it) ? get(it) : set(it, {});
};
var getterFor = function (TYPE) {
return function (it) {
var state;
if (!isObject(it) || (state = get(it)).type !== TYPE) {
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
} return state;
};
};
if (NATIVE_WEAK_MAP) {
var store = new WeakMap();
var wmget = store.get;
var wmhas = store.has;
var wmset = store.set;
set = function (it, metadata) {
wmset.call(store, it, metadata);
return metadata;
};
get = function (it) {
return wmget.call(store, it) || {};
};
has = function (it) {
return wmhas.call(store, it);
};
} else {
var STATE = sharedKey('state');
hiddenKeys[STATE] = true;
set = function (it, metadata) {
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function (it) {
return objectHas(it, STATE) ? it[STATE] : {};
};
has = function (it) {
return objectHas(it, STATE);
};
}
module.exports = {
set: set,
get: get,
has: has,
enforce: enforce,
getterFor: getterFor
};
/***/ }),
/***/ "6eeb":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var createNonEnumerableProperty = __webpack_require__("9112");
var has = __webpack_require__("5135");
var setGlobal = __webpack_require__("ce4e");
var inspectSource = __webpack_require__("8925");
var InternalStateModule = __webpack_require__("69f3");
var getInternalState = InternalStateModule.get;
var enforceInternalState = InternalStateModule.enforce;
var TEMPLATE = String(String).split('String');
(module.exports = function (O, key, value, options) {
var unsafe = options ? !!options.unsafe : false;
var simple = options ? !!options.enumerable : false;
var noTargetGet = options ? !!options.noTargetGet : false;
if (typeof value == 'function') {
if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
}
if (O === global) {
if (simple) O[key] = value;
else setGlobal(key, value);
return;
} else if (!unsafe) {
delete O[key];
} else if (!noTargetGet && O[key]) {
simple = true;
}
if (simple) O[key] = value;
else createNonEnumerableProperty(O, key, value);
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, 'toString', function toString() {
return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
});
/***/ }),
/***/ "7156":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
var setPrototypeOf = __webpack_require__("d2bb");
// makes subclassing work correct for wrapped built-ins
module.exports = function ($this, dummy, Wrapper) {
var NewTarget, NewTargetPrototype;
if (
// it can work only with native `setPrototypeOf`
setPrototypeOf &&
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
typeof (NewTarget = dummy.constructor) == 'function' &&
NewTarget !== Wrapper &&
isObject(NewTargetPrototype = NewTarget.prototype) &&
NewTargetPrototype !== Wrapper.prototype
) setPrototypeOf($this, NewTargetPrototype);
return $this;
};
/***/ }),
/***/ "7418":
/***/ (function(module, exports) {
exports.f = Object.getOwnPropertySymbols;
/***/ }),
/***/ "746f":
/***/ (function(module, exports, __webpack_require__) {
var path = __webpack_require__("428f");
var has = __webpack_require__("5135");
var wrappedWellKnownSymbolModule = __webpack_require__("e538");
var defineProperty = __webpack_require__("9bf2").f;
module.exports = function (NAME) {
var Symbol = path.Symbol || (path.Symbol = {});
if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
value: wrappedWellKnownSymbolModule.f(NAME)
});
};
/***/ }),
/***/ "7839":
/***/ (function(module, exports) {
// IE8- don't enum bug keys
module.exports = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
/***/ }),
/***/ "7b0b":
/***/ (function(module, exports, __webpack_require__) {
var requireObjectCoercible = __webpack_require__("1d80");
// `ToObject` abstract operation
// https://tc39.github.io/ecma262/#sec-toobject
module.exports = function (argument) {
return Object(requireObjectCoercible(argument));
};
/***/ }),
/***/ "7c73":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("825a");
var defineProperties = __webpack_require__("37e8");
var enumBugKeys = __webpack_require__("7839");
var hiddenKeys = __webpack_require__("d012");
var html = __webpack_require__("1be4");
var documentCreateElement = __webpack_require__("cc12");
var sharedKey = __webpack_require__("f772");
var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');
var EmptyConstructor = function () { /* empty */ };
var scriptTag = function (content) {
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
};
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
activeXDocument.write(scriptTag(''));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
activeXDocument = null; // avoid memory leak
return temp;
};
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement('iframe');
var JS = 'java' + SCRIPT + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
// https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag('document.F=Object'));
iframeDocument.close();
return iframeDocument.F;
};
// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
try {
/* global ActiveXObject */
activeXDocument = document.domain && new ActiveXObject('htmlfile');
} catch (error) { /* ignore */ }
NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
var length = enumBugKeys.length;
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
return NullProtoObject();
};
hiddenKeys[IE_PROTO] = true;
// `Object.create` method
// https://tc39.github.io/ecma262/#sec-object.create
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE] = anObject(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = NullProtoObject();
return Properties === undefined ? result : defineProperties(result, Properties);
};
/***/ }),
/***/ "7dd0":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var createIteratorConstructor = __webpack_require__("9ed3");
var getPrototypeOf = __webpack_require__("e163");
var setPrototypeOf = __webpack_require__("d2bb");
var setToStringTag = __webpack_require__("d44e");
var createNonEnumerableProperty = __webpack_require__("9112");
var redefine = __webpack_require__("6eeb");
var wellKnownSymbol = __webpack_require__("b622");
var IS_PURE = __webpack_require__("c430");
var Iterators = __webpack_require__("3f8c");
var IteratorsCore = __webpack_require__("ae93");
var IteratorPrototype = IteratorsCore.IteratorPrototype;
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
var ITERATOR = wellKnownSymbol('iterator');
var KEYS = 'keys';
var VALUES = 'values';
var ENTRIES = 'entries';
var returnThis = function () { return this; };
module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
createIteratorConstructor(IteratorConstructor, NAME, next);
var getIterationMethod = function (KIND) {
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
switch (KIND) {
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
} return function () { return new IteratorConstructor(this); };
};
var TO_STRING_TAG = NAME + ' Iterator';
var INCORRECT_VALUES_NAME = false;
var IterablePrototype = Iterable.prototype;
var nativeIterator = IterablePrototype[ITERATOR]
|| IterablePrototype['@@iterator']
|| DEFAULT && IterablePrototype[DEFAULT];
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
var CurrentIteratorPrototype, methods, KEY;
// fix native
if (anyNativeIterator) {
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
if (setPrototypeOf) {
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
} else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
}
}
// Set @@toStringTag to native iterators
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
}
}
// fix Array#{values, @@iterator}.name in V8 / FF
if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
INCORRECT_VALUES_NAME = true;
defaultIterator = function values() { return nativeIterator.call(this); };
}
// define iterator
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
}
Iterators[NAME] = defaultIterator;
// export additional methods
if (DEFAULT) {
methods = {
values: getIterationMethod(VALUES),
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
entries: getIterationMethod(ENTRIES)
};
if (FORCED) for (KEY in methods) {
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
redefine(IterablePrototype, KEY, methods[KEY]);
}
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
}
return methods;
};
/***/ }),
/***/ "7f9a":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var inspectSource = __webpack_require__("8925");
var WeakMap = global.WeakMap;
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
/***/ }),
/***/ "825a":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
module.exports = function (it) {
if (!isObject(it)) {
throw TypeError(String(it) + ' is not an object');
} return it;
};
/***/ }),
/***/ "83ab":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
// Thank's IE8 for his funny defineProperty
module.exports = !fails(function () {
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});
/***/ }),
/***/ "8418":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var toPrimitive = __webpack_require__("c04e");
var definePropertyModule = __webpack_require__("9bf2");
var createPropertyDescriptor = __webpack_require__("5c6c");
module.exports = function (object, key, value) {
var propertyKey = toPrimitive(key);
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
else object[propertyKey] = value;
};
/***/ }),
/***/ "861d":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "8875":
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
// MIT license
// source: https://github.com/amiller-gh/currentScript-polyfill
// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
(function (root, factory) {
if (true) {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else {}
}(typeof self !== 'undefined' ? self : this, function () {
function getCurrentScript () {
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
// for chrome
if (!descriptor && 'currentScript' in document && document.currentScript) {
return document.currentScript
}
// for other browsers with native support for currentScript
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
return document.currentScript
}
// IE 8-10 support script readyState
// IE 11+ & Firefox support stack trace
try {
throw new Error();
}
catch (err) {
// Find the second match for the "at" string to get file src url from stack.
var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
scriptLocation = (stackDetails && stackDetails[1]) || false,
line = (stackDetails && stackDetails[2]) || false,
currentLocation = document.location.href.replace(document.location.hash, ''),
pageSource,
inlineScriptSourceRegExp,
inlineScriptSource,
scripts = document.getElementsByTagName('script'); // Live NodeList collection
if (scriptLocation === currentLocation) {
pageSource = document.documentElement.outerHTML;
inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
}
for (var i = 0; i < scripts.length; i++) {
// If ready state is interactive, return the script tag
if (scripts[i].readyState === 'interactive') {
return scripts[i];
}
// If src matches, return the script tag
if (scripts[i].src === scriptLocation) {
return scripts[i];
}
// If inline source matches, return the script tag
if (
scriptLocation === currentLocation &&
scripts[i].innerHTML &&
scripts[i].innerHTML.trim() === inlineScriptSource
) {
return scripts[i];
}
}
// If no match, return null
return null;
}
};
return getCurrentScript
}));
/***/ }),
/***/ "8925":
/***/ (function(module, exports, __webpack_require__) {
var store = __webpack_require__("c6cd");
var functionToString = Function.toString;
// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
if (typeof store.inspectSource != 'function') {
store.inspectSource = function (it) {
return functionToString.call(it);
};
}
module.exports = store.inspectSource;
/***/ }),
/***/ "8aa5":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var charAt = __webpack_require__("6547").charAt;
// `AdvanceStringIndex` abstract operation
// https://tc39.github.io/ecma262/#sec-advancestringindex
module.exports = function (S, index, unicode) {
return index + (unicode ? charAt(S, index).length : 1);
};
/***/ }),
/***/ "8bbf":
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
/***/ }),
/***/ "90e3":
/***/ (function(module, exports) {
var id = 0;
var postfix = Math.random();
module.exports = function (key) {
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
};
/***/ }),
/***/ "9112":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var definePropertyModule = __webpack_require__("9bf2");
var createPropertyDescriptor = __webpack_require__("5c6c");
module.exports = DESCRIPTORS ? function (object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "9263":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var regexpFlags = __webpack_require__("ad6d");
var stickyHelpers = __webpack_require__("9f7f");
var nativeExec = RegExp.prototype.exec;
// This always refers to the native implementation, because the
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
// which loads this file before patching the method.
var nativeReplace = String.prototype.replace;
var patchedExec = nativeExec;
var UPDATES_LAST_INDEX_WRONG = (function () {
var re1 = /a/;
var re2 = /b*/g;
nativeExec.call(re1, 'a');
nativeExec.call(re2, 'a');
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
})();
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
// nonparticipating capturing group, copied from es5-shim's String#split patch.
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
if (PATCH) {
patchedExec = function exec(str) {
var re = this;
var lastIndex, reCopy, match, i;
var sticky = UNSUPPORTED_Y && re.sticky;
var flags = regexpFlags.call(re);
var source = re.source;
var charsAdded = 0;
var strCopy = str;
if (sticky) {
flags = flags.replace('y', '');
if (flags.indexOf('g') === -1) {
flags += 'g';
}
strCopy = String(str).slice(re.lastIndex);
// Support anchored sticky behavior.
if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
source = '(?: ' + source + ')';
strCopy = ' ' + strCopy;
charsAdded++;
}
// ^(? + rx + ) is needed, in combination with some str slicing, to
// simulate the 'y' flag.
reCopy = new RegExp('^(?:' + source + ')', flags);
}
if (NPCG_INCLUDED) {
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
}
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
match = nativeExec.call(sticky ? reCopy : re, strCopy);
if (sticky) {
if (match) {
match.input = match.input.slice(charsAdded);
match[0] = match[0].slice(charsAdded);
match.index = re.lastIndex;
re.lastIndex += match[0].length;
} else re.lastIndex = 0;
} else if (UPDATES_LAST_INDEX_WRONG && match) {
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
}
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 /(.?)?/
nativeReplace.call(match[0], reCopy, function () {
for (i = 1; i < arguments.length - 2; i++) {
if (arguments[i] === undefined) match[i] = undefined;
}
});
}
return match;
};
}
module.exports = patchedExec;
/***/ }),
/***/ "94ca":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
var replacement = /#|\.prototype\./;
var isForced = function (feature, detection) {
var value = data[normalize(feature)];
return value == POLYFILL ? true
: value == NATIVE ? false
: typeof detection == 'function' ? fails(detection)
: !!detection;
};
var normalize = isForced.normalize = function (string) {
return String(string).replace(replacement, '.').toLowerCase();
};
var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';
module.exports = isForced;
/***/ }),
/***/ "99af":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var fails = __webpack_require__("d039");
var isArray = __webpack_require__("e8b5");
var isObject = __webpack_require__("861d");
var toObject = __webpack_require__("7b0b");
var toLength = __webpack_require__("50c4");
var createProperty = __webpack_require__("8418");
var arraySpeciesCreate = __webpack_require__("65f0");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var wellKnownSymbol = __webpack_require__("b622");
var V8_VERSION = __webpack_require__("2d00");
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/679
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
var array = [];
array[IS_CONCAT_SPREADABLE] = false;
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;
// `Array.prototype.concat` method
// https://tc39.github.io/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$({ target: 'Array', proto: true, forced: FORCED }, {
concat: function concat(arg) { // eslint-disable-line no-unused-vars
var O = toObject(this);
var A = arraySpeciesCreate(O, 0);
var n = 0;
var i, k, length, len, E;
for (i = -1, length = arguments.length; i < length; i++) {
E = i === -1 ? O : arguments[i];
if (isConcatSpreadable(E)) {
len = toLength(E.length);
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
} else {
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
createProperty(A, n++, E);
}
}
A.length = n;
return A;
}
});
/***/ }),
/***/ "9bdd":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("825a");
// call something on iterator step with safe closing on error
module.exports = function (iterator, fn, value, ENTRIES) {
try {
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
// 7.4.6 IteratorClose(iterator, completion)
} catch (error) {
var returnMethod = iterator['return'];
if (returnMethod !== undefined) anObject(returnMethod.call(iterator));
throw error;
}
};
/***/ }),
/***/ "9bf2":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var IE8_DOM_DEFINE = __webpack_require__("0cfb");
var anObject = __webpack_require__("825a");
var toPrimitive = __webpack_require__("c04e");
var nativeDefineProperty = Object.defineProperty;
// `Object.defineProperty` method
// https://tc39.github.io/ecma262/#sec-object.defineproperty
exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return nativeDefineProperty(O, P, Attributes);
} catch (error) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "9ed3":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var IteratorPrototype = __webpack_require__("ae93").IteratorPrototype;
var create = __webpack_require__("7c73");
var createPropertyDescriptor = __webpack_require__("5c6c");
var setToStringTag = __webpack_require__("d44e");
var Iterators = __webpack_require__("3f8c");
var returnThis = function () { return this; };
module.exports = function (IteratorConstructor, NAME, next) {
var TO_STRING_TAG = NAME + ' Iterator';
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
Iterators[TO_STRING_TAG] = returnThis;
return IteratorConstructor;
};
/***/ }),
/***/ "9f7f":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__("d039");
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
// so we use an intermediate function.
function RE(s, f) {
return RegExp(s, f);
}
exports.UNSUPPORTED_Y = fails(function () {
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
var re = RE('a', 'y');
re.lastIndex = 2;
return re.exec('abcd') != null;
});
exports.BROKEN_CARET = fails(function () {
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
var re = RE('^r', 'gy');
re.lastIndex = 2;
return re.exec('str') != null;
});
/***/ }),
/***/ "a15b":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var IndexedObject = __webpack_require__("44ad");
var toIndexedObject = __webpack_require__("fc6a");
var arrayMethodIsStrict = __webpack_require__("a640");
var nativeJoin = [].join;
var ES3_STRINGS = IndexedObject != Object;
var STRICT_METHOD = arrayMethodIsStrict('join', ',');
// `Array.prototype.join` method
// https://tc39.github.io/ecma262/#sec-array.prototype.join
$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
join: function join(separator) {
return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
}
});
/***/ }),
/***/ "a1f0":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var createIteratorConstructor = __webpack_require__("9ed3");
var requireObjectCoercible = __webpack_require__("1d80");
var toLength = __webpack_require__("50c4");
var aFunction = __webpack_require__("1c0b");
var anObject = __webpack_require__("825a");
var classof = __webpack_require__("c6b6");
var isRegExp = __webpack_require__("44e7");
var getRegExpFlags = __webpack_require__("ad6d");
var createNonEnumerableProperty = __webpack_require__("9112");
var fails = __webpack_require__("d039");
var wellKnownSymbol = __webpack_require__("b622");
var speciesConstructor = __webpack_require__("4840");
var advanceStringIndex = __webpack_require__("8aa5");
var InternalStateModule = __webpack_require__("69f3");
var IS_PURE = __webpack_require__("c430");
var MATCH_ALL = wellKnownSymbol('matchAll');
var REGEXP_STRING = 'RegExp String';
var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);
var RegExpPrototype = RegExp.prototype;
var regExpBuiltinExec = RegExpPrototype.exec;
var nativeMatchAll = ''.matchAll;
var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () {
'a'.matchAll(/./);
});
var regExpExec = function (R, S) {
var exec = R.exec;
var result;
if (typeof exec == 'function') {
result = exec.call(R, S);
if (typeof result != 'object') throw TypeError('Incorrect exec result');
return result;
} return regExpBuiltinExec.call(R, S);
};
// eslint-disable-next-line max-len
var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, global, fullUnicode) {
setInternalState(this, {
type: REGEXP_STRING_ITERATOR,
regexp: regexp,
string: string,
global: global,
unicode: fullUnicode,
done: false
});
}, REGEXP_STRING, function next() {
var state = getInternalState(this);
if (state.done) return { value: undefined, done: true };
var R = state.regexp;
var S = state.string;
var match = regExpExec(R, S);
if (match === null) return { value: undefined, done: state.done = true };
if (state.global) {
if (String(match[0]) == '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);
return { value: match, done: false };
}
state.done = true;
return { value: match, done: false };
});
var $matchAll = function (string) {
var R = anObject(this);
var S = String(string);
var C, flagsValue, flags, matcher, global, fullUnicode;
C = speciesConstructor(R, RegExp);
flagsValue = R.flags;
if (flagsValue === undefined && R instanceof RegExp && !('flags' in RegExpPrototype)) {
flagsValue = getRegExpFlags.call(R);
}
flags = flagsValue === undefined ? '' : String(flagsValue);
matcher = new C(C === RegExp ? R.source : R, flags);
global = !!~flags.indexOf('g');
fullUnicode = !!~flags.indexOf('u');
matcher.lastIndex = toLength(R.lastIndex);
return new $RegExpStringIterator(matcher, S, global, fullUnicode);
};
// `String.prototype.matchAll` method
// https://github.com/tc39/proposal-string-matchall
$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
matchAll: function matchAll(regexp) {
var O = requireObjectCoercible(this);
var flags, S, matcher, rx;
if (regexp != null) {
if (isRegExp(regexp)) {
flags = String(requireObjectCoercible('flags' in RegExpPrototype
? regexp.flags
: getRegExpFlags.call(regexp)
));
if (!~flags.indexOf('g')) throw TypeError('`.matchAll` does not allow non-global regexes');
}
if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments);
matcher = regexp[MATCH_ALL];
if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;
if (matcher != null) return aFunction(matcher).call(regexp, O);
} else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments);
S = String(O);
rx = new RegExp(regexp, 'g');
return IS_PURE ? $matchAll.call(rx, S) : rx[MATCH_ALL](S);
}
});
IS_PURE || MATCH_ALL in RegExpPrototype || createNonEnumerableProperty(RegExpPrototype, MATCH_ALL, $matchAll);
/***/ }),
/***/ "a434":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var toAbsoluteIndex = __webpack_require__("23cb");
var toInteger = __webpack_require__("a691");
var toLength = __webpack_require__("50c4");
var toObject = __webpack_require__("7b0b");
var arraySpeciesCreate = __webpack_require__("65f0");
var createProperty = __webpack_require__("8418");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
var max = Math.max;
var min = Math.min;
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
// `Array.prototype.splice` method
// https://tc39.github.io/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
splice: function splice(start, deleteCount /* , ...items */) {
var O = toObject(this);
var len = toLength(O.length);
var actualStart = toAbsoluteIndex(start, len);
var argumentsLength = arguments.length;
var insertCount, actualDeleteCount, A, k, from, to;
if (argumentsLength === 0) {
insertCount = actualDeleteCount = 0;
} else if (argumentsLength === 1) {
insertCount = 0;
actualDeleteCount = len - actualStart;
} else {
insertCount = argumentsLength - 2;
actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
}
if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
}
A = arraySpeciesCreate(O, actualDeleteCount);
for (k = 0; k < actualDeleteCount; k++) {
from = actualStart + k;
if (from in O) createProperty(A, k, O[from]);
}
A.length = actualDeleteCount;
if (insertCount < actualDeleteCount) {
for (k = actualStart; k < len - actualDeleteCount; k++) {
from = k + actualDeleteCount;
to = k + insertCount;
if (from in O) O[to] = O[from];
else delete O[to];
}
for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
} else if (insertCount > actualDeleteCount) {
for (k = len - actualDeleteCount; k > actualStart; k--) {
from = k + actualDeleteCount - 1;
to = k + insertCount - 1;
if (from in O) O[to] = O[from];
else delete O[to];
}
}
for (k = 0; k < insertCount; k++) {
O[k + actualStart] = arguments[k + 2];
}
O.length = len - actualDeleteCount + insertCount;
return A;
}
});
/***/ }),
/***/ "a4d3":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var global = __webpack_require__("da84");
var getBuiltIn = __webpack_require__("d066");
var IS_PURE = __webpack_require__("c430");
var DESCRIPTORS = __webpack_require__("83ab");
var NATIVE_SYMBOL = __webpack_require__("4930");
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
var fails = __webpack_require__("d039");
var has = __webpack_require__("5135");
var isArray = __webpack_require__("e8b5");
var isObject = __webpack_require__("861d");
var anObject = __webpack_require__("825a");
var toObject = __webpack_require__("7b0b");
var toIndexedObject = __webpack_require__("fc6a");
var toPrimitive = __webpack_require__("c04e");
var createPropertyDescriptor = __webpack_require__("5c6c");
var nativeObjectCreate = __webpack_require__("7c73");
var objectKeys = __webpack_require__("df75");
var getOwnPropertyNamesModule = __webpack_require__("241c");
var getOwnPropertyNamesExternal = __webpack_require__("057f");
var getOwnPropertySymbolsModule = __webpack_require__("7418");
var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
var definePropertyModule = __webpack_require__("9bf2");
var propertyIsEnumerableModule = __webpack_require__("d1e7");
var createNonEnumerableProperty = __webpack_require__("9112");
var redefine = __webpack_require__("6eeb");
var shared = __webpack_require__("5692");
var sharedKey = __webpack_require__("f772");
var hiddenKeys = __webpack_require__("d012");
var uid = __webpack_require__("90e3");
var wellKnownSymbol = __webpack_require__("b622");
var wrappedWellKnownSymbolModule = __webpack_require__("e538");
var defineWellKnownSymbol = __webpack_require__("746f");
var setToStringTag = __webpack_require__("d44e");
var InternalStateModule = __webpack_require__("69f3");
var $forEach = __webpack_require__("b727").forEach;
var HIDDEN = sharedKey('hidden');
var SYMBOL = 'Symbol';
var PROTOTYPE = 'prototype';
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(SYMBOL);
var ObjectPrototype = Object[PROTOTYPE];
var $Symbol = global.Symbol;
var $stringify = getBuiltIn('JSON', 'stringify');
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
var nativeDefineProperty = definePropertyModule.f;
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
var AllSymbols = shared('symbols');
var ObjectPrototypeSymbols = shared('op-symbols');
var StringToSymbolRegistry = shared('string-to-symbol-registry');
var SymbolToStringRegistry = shared('symbol-to-string-registry');
var WellKnownSymbolsStore = shared('wks');
var QObject = global.QObject;
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
})).a != 7;
}) ? function (O, P, Attributes) {
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
nativeDefineProperty(O, P, Attributes);
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
}
} : nativeDefineProperty;
var wrap = function (tag, description) {
var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
setInternalState(symbol, {
type: SYMBOL,
tag: tag,
description: description
});
if (!DESCRIPTORS) symbol.description = description;
return symbol;
};
var isSymbol = USE_SYMBOL_AS_UID ? function (it) {
return typeof it == 'symbol';
} : function (it) {
return Object(it) instanceof $Symbol;
};
var $defineProperty = function defineProperty(O, P, Attributes) {
if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
anObject(O);
var key = toPrimitive(P, true);
anObject(Attributes);
if (has(AllSymbols, key)) {
if (!Attributes.enumerable) {
if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
O[HIDDEN][key] = true;
} else {
if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
} return setSymbolDescriptor(O, key, Attributes);
} return nativeDefineProperty(O, key, Attributes);
};
var $defineProperties = function defineProperties(O, Properties) {
anObject(O);
var properties = toIndexedObject(Properties);
var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
$forEach(keys, function (key) {
if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
});
return O;
};
var $create = function create(O, Properties) {
return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
};
var $propertyIsEnumerable = function propertyIsEnumerable(V) {
var P = toPrimitive(V, true);
var enumerable = nativePropertyIsEnumerable.call(this, P);
if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
var it = toIndexedObject(O);
var key = toPrimitive(P, true);
if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
descriptor.enumerable = true;
}
return descriptor;
};
var $getOwnPropertyNames = function getOwnPropertyNames(O) {
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
});
return result;
};
var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
var result = [];
$forEach(names, function (key) {
if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
result.push(AllSymbols[key]);
}
});
return result;
};
// `Symbol` constructor
// https://tc39.github.io/ecma262/#sec-symbol-constructor
if (!NATIVE_SYMBOL) {
$Symbol = function Symbol() {
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
var tag = uid(description);
var setter = function (value) {
if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
};
if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
return wrap(tag, description);
};
redefine($Symbol[PROTOTYPE], 'toString', function toString() {
return getInternalState(this).tag;
});
redefine($Symbol, 'withoutSetter', function (description) {
return wrap(uid(description), description);
});
propertyIsEnumerableModule.f = $propertyIsEnumerable;
definePropertyModule.f = $defineProperty;
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
wrappedWellKnownSymbolModule.f = function (name) {
return wrap(wellKnownSymbol(name), name);
};
if (DESCRIPTORS) {
// https://github.com/tc39/proposal-Symbol-description
nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
configurable: true,
get: function description() {
return getInternalState(this).description;
}
});
if (!IS_PURE) {
redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
}
}
}
$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
Symbol: $Symbol
});
$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
defineWellKnownSymbol(name);
});
$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
// `Symbol.for` method
// https://tc39.github.io/ecma262/#sec-symbol.for
'for': function (key) {
var string = String(key);
if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
var symbol = $Symbol(string);
StringToSymbolRegistry[string] = symbol;
SymbolToStringRegistry[symbol] = string;
return symbol;
},
// `Symbol.keyFor` method
// https://tc39.github.io/ecma262/#sec-symbol.keyfor
keyFor: function keyFor(sym) {
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
},
useSetter: function () { USE_SETTER = true; },
useSimple: function () { USE_SETTER = false; }
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
// `Object.create` method
// https://tc39.github.io/ecma262/#sec-object.create
create: $create,
// `Object.defineProperty` method
// https://tc39.github.io/ecma262/#sec-object.defineproperty
defineProperty: $defineProperty,
// `Object.defineProperties` method
// https://tc39.github.io/ecma262/#sec-object.defineproperties
defineProperties: $defineProperties,
// `Object.getOwnPropertyDescriptor` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
});
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
// `Object.getOwnPropertyNames` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
getOwnPropertyNames: $getOwnPropertyNames,
// `Object.getOwnPropertySymbols` method
// https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
getOwnPropertySymbols: $getOwnPropertySymbols
});
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
return getOwnPropertySymbolsModule.f(toObject(it));
}
});
// `JSON.stringify` method behavior with symbols
// https://tc39.github.io/ecma262/#sec-json.stringify
if ($stringify) {
var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
var symbol = $Symbol();
// MS Edge converts symbol values to JSON as {}
return $stringify([symbol]) != '[null]'
// WebKit converts symbol values to JSON as null
|| $stringify({ a: symbol }) != '{}'
// V8 throws on boxed symbols
|| $stringify(Object(symbol)) != '{}';
});
$({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
// eslint-disable-next-line no-unused-vars
stringify: function stringify(it, replacer, space) {
var args = [it];
var index = 1;
var $replacer;
while (arguments.length > index) args.push(arguments[index++]);
$replacer = replacer;
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
if (!isArray(replacer)) replacer = function (key, value) {
if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
if (!isSymbol(value)) return value;
};
args[1] = replacer;
return $stringify.apply(null, args);
}
});
}
// `Symbol.prototype[@@toPrimitive]` method
// https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
}
// `Symbol.prototype[@@toStringTag]` property
// https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
setToStringTag($Symbol, SYMBOL);
hiddenKeys[HIDDEN] = true;
/***/ }),
/***/ "a630":
/***/ (function(module, exports, __webpack_require__) {
var $ = __webpack_require__("23e7");
var from = __webpack_require__("4df4");
var checkCorrectnessOfIteration = __webpack_require__("1c7e");
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
Array.from(iterable);
});
// `Array.from` method
// https://tc39.github.io/ecma262/#sec-array.from
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
from: from
});
/***/ }),
/***/ "a640":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__("d039");
module.exports = function (METHOD_NAME, argument) {
var method = [][METHOD_NAME];
return !!method && fails(function () {
// eslint-disable-next-line no-useless-call,no-throw-literal
method.call(null, argument || function () { throw 1; }, 1);
});
};
/***/ }),
/***/ "a691":
/***/ (function(module, exports) {
var ceil = Math.ceil;
var floor = Math.floor;
// `ToInteger` abstract operation
// https://tc39.github.io/ecma262/#sec-tointeger
module.exports = function (argument) {
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
};
/***/ }),
/***/ "a9e3":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__("83ab");
var global = __webpack_require__("da84");
var isForced = __webpack_require__("94ca");
var redefine = __webpack_require__("6eeb");
var has = __webpack_require__("5135");
var classof = __webpack_require__("c6b6");
var inheritIfRequired = __webpack_require__("7156");
var toPrimitive = __webpack_require__("c04e");
var fails = __webpack_require__("d039");
var create = __webpack_require__("7c73");
var getOwnPropertyNames = __webpack_require__("241c").f;
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
var defineProperty = __webpack_require__("9bf2").f;
var trim = __webpack_require__("58a8").trim;
var NUMBER = 'Number';
var NativeNumber = global[NUMBER];
var NumberPrototype = NativeNumber.prototype;
// Opera ~12 has broken Object#toString
var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;
// `ToNumber` abstract operation
// https://tc39.github.io/ecma262/#sec-tonumber
var toNumber = function (argument) {
var it = toPrimitive(argument, false);
var first, third, radix, maxCode, digits, length, index, code;
if (typeof it == 'string' && it.length > 2) {
it = trim(it);
first = it.charCodeAt(0);
if (first === 43 || first === 45) {
third = it.charCodeAt(2);
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
} else if (first === 48) {
switch (it.charCodeAt(1)) {
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
default: return +it;
}
digits = it.slice(2);
length = digits.length;
for (index = 0; index < length; index++) {
code = digits.charCodeAt(index);
// parseInt parses a string to a first unavailable symbol
// but ToNumber should return NaN if a string contains unavailable symbols
if (code < 48 || code > maxCode) return NaN;
} return parseInt(digits, radix);
}
} return +it;
};
// `Number` constructor
// https://tc39.github.io/ecma262/#sec-number-constructor
if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
var NumberWrapper = function Number(value) {
var it = arguments.length < 1 ? 0 : value;
var dummy = this;
return dummy instanceof NumberWrapper
// check on 1..constructor(foo) case
&& (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)
? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
};
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
// ES3:
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
// ES2015 (in case, if modules with ES2015 Number statics required before):
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
).split(','), j = 0, key; keys.length > j; j++) {
if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
}
}
NumberWrapper.prototype = NumberPrototype;
NumberPrototype.constructor = NumberWrapper;
redefine(global, NUMBER, NumberWrapper);
}
/***/ }),
/***/ "ab13":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
var MATCH = wellKnownSymbol('match');
module.exports = function (METHOD_NAME) {
var regexp = /./;
try {
'/./'[METHOD_NAME](regexp);
} catch (e) {
try {
regexp[MATCH] = false;
return '/./'[METHOD_NAME](regexp);
} catch (f) { /* empty */ }
} return false;
};
/***/ }),
/***/ "ac1f":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var exec = __webpack_require__("9263");
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
exec: exec
});
/***/ }),
/***/ "ad6d":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var anObject = __webpack_require__("825a");
// `RegExp.prototype.flags` getter implementation
// https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.dotAll) result += 's';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "ae40":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var fails = __webpack_require__("d039");
var has = __webpack_require__("5135");
var defineProperty = Object.defineProperty;
var cache = {};
var thrower = function (it) { throw it; };
module.exports = function (METHOD_NAME, options) {
if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
if (!options) options = {};
var method = [][METHOD_NAME];
var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
var argument0 = has(options, 0) ? options[0] : thrower;
var argument1 = has(options, 1) ? options[1] : undefined;
return cache[METHOD_NAME] = !!method && !fails(function () {
if (ACCESSORS && !DESCRIPTORS) return true;
var O = { length: -1 };
if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
else O[1] = 1;
method.call(O, argument0, argument1);
});
};
/***/ }),
/***/ "ae93":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var getPrototypeOf = __webpack_require__("e163");
var createNonEnumerableProperty = __webpack_require__("9112");
var has = __webpack_require__("5135");
var wellKnownSymbol = __webpack_require__("b622");
var IS_PURE = __webpack_require__("c430");
var ITERATOR = wellKnownSymbol('iterator');
var BUGGY_SAFARI_ITERATORS = false;
var returnThis = function () { return this; };
// `%IteratorPrototype%` object
// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
if ([].keys) {
arrayIterator = [].keys();
// Safari 8 has buggy iterators w/o `next`
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
else {
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
}
}
if (IteratorPrototype == undefined) IteratorPrototype = {};
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {
createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
}
module.exports = {
IteratorPrototype: IteratorPrototype,
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
};
/***/ }),
/***/ "b041":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
var classof = __webpack_require__("f5df");
// `Object.prototype.toString` method implementation
// https://tc39.github.io/ecma262/#sec-object.prototype.tostring
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
return '[object ' + classof(this) + ']';
};
/***/ }),
/***/ "b0c0":
/***/ (function(module, exports, __webpack_require__) {
var DESCRIPTORS = __webpack_require__("83ab");
var defineProperty = __webpack_require__("9bf2").f;
var FunctionPrototype = Function.prototype;
var FunctionPrototypeToString = FunctionPrototype.toString;
var nameRE = /^\s*function ([^ (]*)/;
var NAME = 'name';
// Function instances `.name` property
// https://tc39.github.io/ecma262/#sec-function-instances-name
if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
defineProperty(FunctionPrototype, NAME, {
configurable: true,
get: function () {
try {
return FunctionPrototypeToString.call(this).match(nameRE)[1];
} catch (error) {
return '';
}
}
});
}
/***/ }),
/***/ "b622":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var shared = __webpack_require__("5692");
var has = __webpack_require__("5135");
var uid = __webpack_require__("90e3");
var NATIVE_SYMBOL = __webpack_require__("4930");
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
var WellKnownSymbolsStore = shared('wks');
var Symbol = global.Symbol;
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
module.exports = function (name) {
if (!has(WellKnownSymbolsStore, name)) {
if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
} return WellKnownSymbolsStore[name];
};
/***/ }),
/***/ "b64b":
/***/ (function(module, exports, __webpack_require__) {
var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var nativeKeys = __webpack_require__("df75");
var fails = __webpack_require__("d039");
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
// `Object.keys` method
// https://tc39.github.io/ecma262/#sec-object.keys
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
keys: function keys(it) {
return nativeKeys(toObject(it));
}
});
/***/ }),
/***/ "b727":
/***/ (function(module, exports, __webpack_require__) {
var bind = __webpack_require__("0366");
var IndexedObject = __webpack_require__("44ad");
var toObject = __webpack_require__("7b0b");
var toLength = __webpack_require__("50c4");
var arraySpeciesCreate = __webpack_require__("65f0");
var push = [].push;
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
var createMethod = function (TYPE) {
var IS_MAP = TYPE == 1;
var IS_FILTER = TYPE == 2;
var IS_SOME = TYPE == 3;
var IS_EVERY = TYPE == 4;
var IS_FIND_INDEX = TYPE == 6;
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
return function ($this, callbackfn, that, specificCreate) {
var O = toObject($this);
var self = IndexedObject(O);
var boundFunction = bind(callbackfn, that, 3);
var length = toLength(self.length);
var index = 0;
var create = specificCreate || arraySpeciesCreate;
var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
if (IS_MAP) target[index] = result; // map
else if (result) switch (TYPE) {
case 3: return true; // some
case 5: return value; // find
case 6: return index; // findIndex
case 2: push.call(target, value); // filter
} else if (IS_EVERY) return false; // every
}
}
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
};
};
module.exports = {
// `Array.prototype.forEach` method
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
forEach: createMethod(0),
// `Array.prototype.map` method
// https://tc39.github.io/ecma262/#sec-array.prototype.map
map: createMethod(1),
// `Array.prototype.filter` method
// https://tc39.github.io/ecma262/#sec-array.prototype.filter
filter: createMethod(2),
// `Array.prototype.some` method
// https://tc39.github.io/ecma262/#sec-array.prototype.some
some: createMethod(3),
// `Array.prototype.every` method
// https://tc39.github.io/ecma262/#sec-array.prototype.every
every: createMethod(4),
// `Array.prototype.find` method
// https://tc39.github.io/ecma262/#sec-array.prototype.find
find: createMethod(5),
// `Array.prototype.findIndex` method
// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
findIndex: createMethod(6)
};
/***/ }),
/***/ "c04e":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
// `ToPrimitive` abstract operation
// https://tc39.github.io/ecma262/#sec-toprimitive
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (input, PREFERRED_STRING) {
if (!isObject(input)) return input;
var fn, val;
if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ "c430":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "c6b6":
/***/ (function(module, exports) {
var toString = {}.toString;
module.exports = function (it) {
return toString.call(it).slice(8, -1);
};
/***/ }),
/***/ "c6cd":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var setGlobal = __webpack_require__("ce4e");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || setGlobal(SHARED, {});
module.exports = store;
/***/ }),
/***/ "c740":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $findIndex = __webpack_require__("b727").findIndex;
var addToUnscopables = __webpack_require__("44d2");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var FIND_INDEX = 'findIndex';
var SKIPS_HOLES = true;
var USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);
// Shouldn't skip holes
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
// `Array.prototype.findIndex` method
// https://tc39.github.io/ecma262/#sec-array.prototype.findindex
$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
findIndex: function findIndex(callbackfn /* , that = undefined */) {
return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND_INDEX);
/***/ }),
/***/ "c8ba":
/***/ (function(module, exports) {
var g;
// This works in non-strict mode
g = (function() {
return this;
})();
try {
// This works if eval is allowed (see CSP)
g = g || new Function("return this")();
} catch (e) {
// This works if the window reference is available
if (typeof window === "object") g = window;
}
// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}
module.exports = g;
/***/ }),
/***/ "c8d2":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
var whitespaces = __webpack_require__("5899");
var non = '\u200B\u0085\u180E';
// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
return fails(function () {
return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
});
};
/***/ }),
/***/ "c975":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $indexOf = __webpack_require__("4d64").indexOf;
var arrayMethodIsStrict = __webpack_require__("a640");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var nativeIndexOf = [].indexOf;
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
var STRICT_METHOD = arrayMethodIsStrict('indexOf');
var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
// `Array.prototype.indexOf` method
// https://tc39.github.io/ecma262/#sec-array.prototype.indexof
$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
return NEGATIVE_ZERO
// convert -0 to +0
? nativeIndexOf.apply(this, arguments) || 0
: $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "ca84":
/***/ (function(module, exports, __webpack_require__) {
var has = __webpack_require__("5135");
var toIndexedObject = __webpack_require__("fc6a");
var indexOf = __webpack_require__("4d64").indexOf;
var hiddenKeys = __webpack_require__("d012");
module.exports = function (object, names) {
var O = toIndexedObject(object);
var i = 0;
var result = [];
var key;
for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
// Don't enum bug & hidden keys
while (names.length > i) if (has(O, key = names[i++])) {
~indexOf(result, key) || result.push(key);
}
return result;
};
/***/ }),
/***/ "caad":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $includes = __webpack_require__("4d64").includes;
var addToUnscopables = __webpack_require__("44d2");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
// `Array.prototype.includes` method
// https://tc39.github.io/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {
includes: function includes(el /* , fromIndex = 0 */) {
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
}
});
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');
/***/ }),
/***/ "cc12":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var isObject = __webpack_require__("861d");
var document = global.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return EXISTS ? document.createElement(it) : {};
};
/***/ }),
/***/ "cca6":
/***/ (function(module, exports, __webpack_require__) {
var $ = __webpack_require__("23e7");
var assign = __webpack_require__("60da");
// `Object.assign` method
// https://tc39.github.io/ecma262/#sec-object.assign
$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
assign: assign
});
/***/ }),
/***/ "ce4e":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var createNonEnumerableProperty = __webpack_require__("9112");
module.exports = function (key, value) {
try {
createNonEnumerableProperty(global, key, value);
} catch (error) {
global[key] = value;
} return value;
};
/***/ }),
/***/ "d012":
/***/ (function(module, exports) {
module.exports = {};
/***/ }),
/***/ "d039":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
/***/ }),
/***/ "d066":
/***/ (function(module, exports, __webpack_require__) {
var path = __webpack_require__("428f");
var global = __webpack_require__("da84");
var aFunction = function (variable) {
return typeof variable == 'function' ? variable : undefined;
};
module.exports = function (namespace, method) {
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
: path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
};
/***/ }),
/***/ "d1e7":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor(this, V);
return !!descriptor && descriptor.enumerable;
} : nativePropertyIsEnumerable;
/***/ }),
/***/ "d28b":
/***/ (function(module, exports, __webpack_require__) {
var defineWellKnownSymbol = __webpack_require__("746f");
// `Symbol.iterator` well-known symbol
// https://tc39.github.io/ecma262/#sec-symbol.iterator
defineWellKnownSymbol('iterator');
/***/ }),
/***/ "d2bb":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("825a");
var aPossiblePrototype = __webpack_require__("3bbe");
// `Object.setPrototypeOf` method
// https://tc39.github.io/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
/* eslint-disable no-proto */
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
setter.call(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) { /* empty */ }
return function setPrototypeOf(O, proto) {
anObject(O);
aPossiblePrototype(proto);
if (CORRECT_SETTER) setter.call(O, proto);
else O.__proto__ = proto;
return O;
};
}() : undefined);
/***/ }),
/***/ "d3b7":
/***/ (function(module, exports, __webpack_require__) {
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
var redefine = __webpack_require__("6eeb");
var toString = __webpack_require__("b041");
// `Object.prototype.toString` method
// https://tc39.github.io/ecma262/#sec-object.prototype.tostring
if (!TO_STRING_TAG_SUPPORT) {
redefine(Object.prototype, 'toString', toString, { unsafe: true });
}
/***/ }),
/***/ "d44e":
/***/ (function(module, exports, __webpack_require__) {
var defineProperty = __webpack_require__("9bf2").f;
var has = __webpack_require__("5135");
var wellKnownSymbol = __webpack_require__("b622");
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
module.exports = function (it, TAG, STATIC) {
if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
}
};
/***/ }),
/***/ "d784":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__("ac1f");
var redefine = __webpack_require__("6eeb");
var fails = __webpack_require__("d039");
var wellKnownSymbol = __webpack_require__("b622");
var regexpExec = __webpack_require__("9263");
var createNonEnumerableProperty = __webpack_require__("9112");
var SPECIES = wellKnownSymbol('species');
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
// #replace needs built-in support for named groups.
// #match works fine because it just return the exec results, even if it has
// a "grops" property.
var re = /./;
re.exec = function () {
var result = [];
result.groups = { a: '7' };
return result;
};
return ''.replace(re, '$<a>') !== '7';
});
// IE <= 11 replaces $0 with the whole match, as if it was $&
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
var REPLACE_KEEPS_$0 = (function () {
return 'a'.replace(/./, '$0') === '$0';
})();
var REPLACE = wellKnownSymbol('replace');
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
if (/./[REPLACE]) {
return /./[REPLACE]('a', '$0') === '';
}
return false;
})();
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
var re = /(?:)/;
var originalExec = re.exec;
re.exec = function () { return originalExec.apply(this, arguments); };
var result = 'ab'.split(re);
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
});
module.exports = function (KEY, length, exec, sham) {
var SYMBOL = wellKnownSymbol(KEY);
var DELEGATES_TO_SYMBOL = !fails(function () {
// String methods call symbol-named RegEp methods
var O = {};
O[SYMBOL] = function () { return 7; };
return ''[KEY](O) != 7;
});
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
// Symbol-named RegExp methods call .exec
var execCalled = false;
var re = /a/;
if (KEY === 'split') {
// We can't use real regex here since it causes deoptimization
// and serious performance degradation in V8
// https://github.com/zloirock/core-js/issues/306
re = {};
// RegExp[@@split] doesn't call the regex's exec method, but first creates
// a new one. We need to return the patched regex when creating the new one.
re.constructor = {};
re.constructor[SPECIES] = function () { return re; };
re.flags = '';
re[SYMBOL] = /./[SYMBOL];
}
re.exec = function () { execCalled = true; return null; };
re[SYMBOL]('');
return !execCalled;
});
if (
!DELEGATES_TO_SYMBOL ||
!DELEGATES_TO_EXEC ||
(KEY === 'replace' && !(
REPLACE_SUPPORTS_NAMED_GROUPS &&
REPLACE_KEEPS_$0 &&
!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
)) ||
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
) {
var nativeRegExpMethod = /./[SYMBOL];
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
if (regexp.exec === regexpExec) {
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
// The native String method already delegates to @@method (this
// polyfilled function), leasing to infinite recursion.
// We avoid it by directly calling the native @@method method.
return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
}
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
}
return { done: false };
}, {
REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
});
var stringMethod = methods[0];
var regexMethod = methods[1];
redefine(String.prototype, KEY, stringMethod);
redefine(RegExp.prototype, SYMBOL, length == 2
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
? function (string, arg) { return regexMethod.call(string, this, arg); }
// 21.2.5.6 RegExp.prototype[@@match](string)
// 21.2.5.9 RegExp.prototype[@@search](string)
: function (string) { return regexMethod.call(string, this); }
);
}
if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
};
/***/ }),
/***/ "d81d":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var $map = __webpack_require__("b727").map;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
// FF49- issue
var USES_TO_LENGTH = arrayMethodUsesToLength('map');
// `Array.prototype.map` method
// https://tc39.github.io/ecma262/#sec-array.prototype.map
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
map: function map(callbackfn /* , thisArg */) {
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
}
});
/***/ }),
/***/ "da84":
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
return it && it.Math == Math && it;
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
// eslint-disable-next-line no-undef
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
check(typeof self == 'object' && self) ||
check(typeof global == 'object' && global) ||
// eslint-disable-next-line no-new-func
Function('return this')();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
/***/ }),
/***/ "daa1":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_vue_timepicker_vue_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ff32");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_vue_timepicker_vue_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_vue_timepicker_vue_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/***/ }),
/***/ "ddb0":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("da84");
var DOMIterables = __webpack_require__("fdbc");
var ArrayIteratorMethods = __webpack_require__("e260");
var createNonEnumerableProperty = __webpack_require__("9112");
var wellKnownSymbol = __webpack_require__("b622");
var ITERATOR = wellKnownSymbol('iterator');
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var ArrayValues = ArrayIteratorMethods.values;
for (var COLLECTION_NAME in DOMIterables) {
var Collection = global[COLLECTION_NAME];
var CollectionPrototype = Collection && Collection.prototype;
if (CollectionPrototype) {
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
} catch (error) {
CollectionPrototype[ITERATOR] = ArrayValues;
}
if (!CollectionPrototype[TO_STRING_TAG]) {
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
}
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
// some Chrome versions have non-configurable methods on DOMTokenList
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
} catch (error) {
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
}
}
}
}
/***/ }),
/***/ "df75":
/***/ (function(module, exports, __webpack_require__) {
var internalObjectKeys = __webpack_require__("ca84");
var enumBugKeys = __webpack_require__("7839");
// `Object.keys` method
// https://tc39.github.io/ecma262/#sec-object.keys
module.exports = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys);
};
/***/ }),
/***/ "e01a":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// `Symbol.prototype.description` getter
// https://tc39.github.io/ecma262/#sec-symbol.prototype.description
var $ = __webpack_require__("23e7");
var DESCRIPTORS = __webpack_require__("83ab");
var global = __webpack_require__("da84");
var has = __webpack_require__("5135");
var isObject = __webpack_require__("861d");
var defineProperty = __webpack_require__("9bf2").f;
var copyConstructorProperties = __webpack_require__("e893");
var NativeSymbol = global.Symbol;
if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
// Safari 12 bug
NativeSymbol().description !== undefined
)) {
var EmptyStringDescriptionStore = {};
// wrap Symbol constructor for correct work with undefined description
var SymbolWrapper = function Symbol() {
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
var result = this instanceof SymbolWrapper
? new NativeSymbol(description)
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
: description === undefined ? NativeSymbol() : NativeSymbol(description);
if (description === '') EmptyStringDescriptionStore[result] = true;
return result;
};
copyConstructorProperties(SymbolWrapper, NativeSymbol);
var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
symbolPrototype.constructor = SymbolWrapper;
var symbolToString = symbolPrototype.toString;
var native = String(NativeSymbol('test')) == 'Symbol(test)';
var regexp = /^Symbol\((.*)\)[^)]+$/;
defineProperty(symbolPrototype, 'description', {
configurable: true,
get: function description() {
var symbol = isObject(this) ? this.valueOf() : this;
var string = symbolToString.call(symbol);
if (has(EmptyStringDescriptionStore, symbol)) return '';
var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
return desc === '' ? undefined : desc;
}
});
$({ global: true, forced: true }, {
Symbol: SymbolWrapper
});
}
/***/ }),
/***/ "e163":
/***/ (function(module, exports, __webpack_require__) {
var has = __webpack_require__("5135");
var toObject = __webpack_require__("7b0b");
var sharedKey = __webpack_require__("f772");
var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177");
var IE_PROTO = sharedKey('IE_PROTO');
var ObjectPrototype = Object.prototype;
// `Object.getPrototypeOf` method
// https://tc39.github.io/ecma262/#sec-object.getprototypeof
module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
O = toObject(O);
if (has(O, IE_PROTO)) return O[IE_PROTO];
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
return O.constructor.prototype;
} return O instanceof Object ? ObjectPrototype : null;
};
/***/ }),
/***/ "e177":
/***/ (function(module, exports, __webpack_require__) {
var fails = __webpack_require__("d039");
module.exports = !fails(function () {
function F() { /* empty */ }
F.prototype.constructor = null;
return Object.getPrototypeOf(new F()) !== F.prototype;
});
/***/ }),
/***/ "e260":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var toIndexedObject = __webpack_require__("fc6a");
var addToUnscopables = __webpack_require__("44d2");
var Iterators = __webpack_require__("3f8c");
var InternalStateModule = __webpack_require__("69f3");
var defineIterator = __webpack_require__("7dd0");
var ARRAY_ITERATOR = 'Array Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
// `Array.prototype.entries` method
// https://tc39.github.io/ecma262/#sec-array.prototype.entries
// `Array.prototype.keys` method
// https://tc39.github.io/ecma262/#sec-array.prototype.keys
// `Array.prototype.values` method
// https://tc39.github.io/ecma262/#sec-array.prototype.values
// `Array.prototype[@@iterator]` method
// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
// `CreateArrayIterator` internal method
// https://tc39.github.io/ecma262/#sec-createarrayiterator
module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
setInternalState(this, {
type: ARRAY_ITERATOR,
target: toIndexedObject(iterated), // target
index: 0, // next index
kind: kind // kind
});
// `%ArrayIteratorPrototype%.next` method
// https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
}, function () {
var state = getInternalState(this);
var target = state.target;
var kind = state.kind;
var index = state.index++;
if (!target || index >= target.length) {
state.target = undefined;
return { value: undefined, done: true };
}
if (kind == 'keys') return { value: index, done: false };
if (kind == 'values') return { value: target[index], done: false };
return { value: [index, target[index]], done: false };
}, 'values');
// argumentsList[@@iterator] is %ArrayProto_values%
// https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject
// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject
Iterators.Arguments = Iterators.Array;
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');
/***/ }),
/***/ "e538":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
exports.f = wellKnownSymbol;
/***/ }),
/***/ "e893":
/***/ (function(module, exports, __webpack_require__) {
var has = __webpack_require__("5135");
var ownKeys = __webpack_require__("56ef");
var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
var definePropertyModule = __webpack_require__("9bf2");
module.exports = function (target, source) {
var keys = ownKeys(source);
var defineProperty = definePropertyModule.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
}
};
/***/ }),
/***/ "e8b5":
/***/ (function(module, exports, __webpack_require__) {
var classof = __webpack_require__("c6b6");
// `IsArray` abstract operation
// https://tc39.github.io/ecma262/#sec-isarray
module.exports = Array.isArray || function isArray(arg) {
return classof(arg) == 'Array';
};
/***/ }),
/***/ "e95a":
/***/ (function(module, exports, __webpack_require__) {
var wellKnownSymbol = __webpack_require__("b622");
var Iterators = __webpack_require__("3f8c");
var ITERATOR = wellKnownSymbol('iterator');
var ArrayPrototype = Array.prototype;
// check on default Array iterator
module.exports = function (it) {
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};
/***/ }),
/***/ "f5df":
/***/ (function(module, exports, __webpack_require__) {
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
var classofRaw = __webpack_require__("c6b6");
var wellKnownSymbol = __webpack_require__("b622");
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
// ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
try {
return it[key];
} catch (error) { /* empty */ }
};
// getting tag from ES6+ `Object.prototype.toString`
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
// builtinTag case
: CORRECT_ARGUMENTS ? classofRaw(O)
// ES3 arguments fallback
: (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
};
/***/ }),
/***/ "f772":
/***/ (function(module, exports, __webpack_require__) {
var shared = __webpack_require__("5692");
var uid = __webpack_require__("90e3");
var keys = shared('keys');
module.exports = function (key) {
return keys[key] || (keys[key] = uid(key));
};
/***/ }),
/***/ "fb15":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var currentScript = window.document.currentScript
if (true) {
var getCurrentScript = __webpack_require__("8875")
currentScript = getCurrentScript()
// for backward compatibility, because previously we directly included the polyfill
if (!('currentScript' in document)) {
Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
}
}
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
if (src) {
__webpack_require__.p = src[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
var es_function_name = __webpack_require__("b0c0");
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/vue-timepicker.vue?vue&type=template&id=77d99126&bindings={"value":"props","format":"props","minuteInterval":"props","secondInterval":"props","hourRange":"props","minuteRange":"props","secondRange":"props","hideDisabledHours":"props","hideDisabledMinutes":"props","hideDisabledSeconds":"props","hideDisabledItems":"props","hideClearButton":"props","disabled":"props","closeOnComplete":"props","id":"props","name":"props","inputClass":"props","placeholder":"props","tabindex":"props","inputWidth":"props","autocomplete":"props","hourLabel":"props","minuteLabel":"props","secondLabel":"props","apmLabel":"props","amText":"props","pmText":"props","blurDelay":"props","advancedKeyboard":"props","lazy":"props","autoScroll":"props","dropDirection":"props","dropOffsetHeight":"props","containerId":"props","manualInput":"props","manualInputTimeout":"props","hideDropdown":"props","fixedDropdownButton":"props","debugMode":"props","timeValue":"data","hours":"data","minutes":"data","seconds":"data","apms":"data","isActive":"data","showDropdown":"data","isFocusing":"data","debounceTimer":"data","hourType":"data","minuteType":"data","secondType":"data","apmType":"data","hour":"data","minute":"data","second":"data","apm":"data","fullValues":"data","bakDisplayTime":"data","doClearApmChecking":"data","selectionTimer":"data","kbInputTimer":"data","kbInputLog":"data","bakCurrentPos":"data","forceDropOnTop":"data","opts":"options","useStringValue":"options","formatString":"options","inUse":"options","displayTime":"options","customDisplayTime":"options","inputIsEmpty":"options","allValueSelected":"options","columnsSequence":"options","showClearBtn":"options","showDropdownBtn":"options","baseOn12Hours":"options","hourRangeIn24HrFormat":"options","restrictedHourRange":"options","validHoursList":"options","has":"options","minuteRangeList":"options","secondRangeList":"options","hourLabelText":"options","minuteLabelText":"options","secondLabelText":"options","apmLabelText":"options","inputWidthStyle":"options","tokenRegexBase":"options","tokenChunks":"options","needsPosCalibrate":"options","tokenChunksPos":"options","invalidValues":"options","hasInvalidInput":"options","autoDirectionEnabled":"options","dropdownDirClass":"options","formatValue":"options","checkAcceptingType":"options","renderFormat":"options","renderHoursList":"options","renderList":"options","renderApmList":"options","readValues":"options","readObjectValues":"options","getMatchAllByRegex":"options","readStringValues":"options","polyfillMatchAll":"options","addFallbackValues":"options","setValueFromString":"options","fillValues":"options","emitTimeValue":"options","translate12hRange":"options","isDisabled":"options","isDisabledHour":"options","notInInterval":"options","renderRangeList":"options","forceApmSelection":"options","emptyApmSelection":"options","apmDisplayText":"options","toggleActive":"options","setDropdownState":"options","blurEvent":"options","select":"options","clearTime":"options","checkForAutoScroll":"options","scrollToSelected":"options","scrollToSelectedValues":"options","onFocus":"options","escBlur":"options","debounceBlur":"options","onBlur":"options","keepFocusing":"options","validItemsInCol":"options","activeItemInCol":"options","getClosestSibling":"options","prevItem":"options","nextItem":"options","getSideColumnName":"options","getFirstItemInSideColumn":"options","getActiveItemInSideColumn":"options","toLeftColumn":"options","toRightColumn":"options","onMouseDown":"options","keyDownHandler":"options","onCompostionStart":"options","onCompostionEnd":"options","pasteHandler":"options","arrowHandler":"options","tabHandler":"options","keyboardInput":"options","clearKbInputLog":"options","debounceClearKbLog":"options","setKbInput":"options","onChange":"options","getNearestChunkByPos":"options","selectFirstValidValue":"options","getClosestHourItem":"options","getClosestValidItemInCol":"options","setSanitizedValueToSection":"options","setManualHour":"options","debounceSetInputSelection":"options","setInputSelectionRange":"options","getCurrentTokenChunk":"options","selectFirstSlot":"options","toLateralToken":"options","isCustomApmText":"options","replaceCustomApmText":"options","checkDropDirection":"options","is12hRange":"options","match12hRange":"options","isNumber":"options","isBasicType":"options","lowerCasedApm":"options","getTokenRegex":"options","isEmptyValue":"options","isValidValue":"options","sanitizedValue":"options","getTokenType":"options","getTokenByType":"options","isMinuteOrSecond":"options","debugLog":"options"}
var _hoisted_1 = {
key: 0,
class: "controls",
tabindex: "-1"
};
var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", {
class: "char"
}, "×", -1);
var _hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", {
class: "char"
}, "â–¾", -1);
var _hoisted_4 = {
key: 1,
class: "custom-icon"
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
class: "vue__time-picker time-picker",
style: $options.inputWidthStyle
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("input", {
type: "text",
class: ["display-time", [$props.inputClass, {
'is-empty': $options.inputIsEmpty,
'invalid': $options.hasInvalidInput,
'all-selected': $options.allValueSelected,
'disabled': $props.disabled,
'has-custom-icon': _ctx.$slots && _ctx.$slots.icon
}]],
ref: "input",
style: $options.inputWidthStyle,
id: $props.id,
name: $props.name,
value: $options.inputIsEmpty ? null : $options.customDisplayTime,
placeholder: $props.placeholder ? $props.placeholder : $options.formatString,
tabindex: $props.disabled ? -1 : $props.tabindex,
disabled: $props.disabled,
readonly: !$props.manualInput,
autocomplete: $props.autocomplete,
onFocus: _cache[1] || (_cache[1] = function () {
return $options.onFocus.apply($options, arguments);
}),
onChange: _cache[2] || (_cache[2] = function () {
return $options.onChange.apply($options, arguments);
}),
onBlur: _cache[3] || (_cache[3] = function ($event) {
$options.debounceBlur();
$options.blurEvent();
}),
onMousedown: _cache[4] || (_cache[4] = function () {
return $options.onMouseDown.apply($options, arguments);
}),
onKeydown: [_cache[5] || (_cache[5] = function () {
return $options.keyDownHandler.apply($options, arguments);
}), _cache[9] || (_cache[9] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
return $options.escBlur.apply($options, arguments);
}, ["exact"]), ["esc"]))],
onCompositionstart: _cache[6] || (_cache[6] = function () {
return $options.onCompostionStart.apply($options, arguments);
}),
onCompositionend: _cache[7] || (_cache[7] = function () {
return $options.onCompostionEnd.apply($options, arguments);
}),
onPaste: _cache[8] || (_cache[8] = function () {
return $options.pasteHandler.apply($options, arguments);
})
}, null, 46, ["id", "name", "value", "placeholder", "tabindex", "disabled", "readonly", "autocomplete"]), $options.showClearBtn || $options.showDropdownBtn ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", _hoisted_1, [!$data.isActive && $options.showClearBtn ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
key: 0,
class: ["clear-btn", {
'has-custom-btn': _ctx.$slots && _ctx.$slots.clearButton
}],
tabindex: "-1",
onClick: _cache[10] || (_cache[10] = function () {
return $options.clearTime.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "clearButton", {}, function () {
return [_hoisted_2];
})], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.showDropdownBtn ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
key: 1,
class: ["dropdown-btn", {
'has-custom-btn': _ctx.$slots && _ctx.$slots.dropdownButton
}],
tabindex: "-1",
onClick: _cache[11] || (_cache[11] = function ($event) {
return $options.setDropdownState($props.fixedDropdownButton ? !$data.showDropdown : true, true);
}),
onMousedown: _cache[12] || (_cache[12] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "dropdownButton", {}, function () {
return [_hoisted_3];
})], 34)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.$slots && _ctx.$slots.icon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", _hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "icon")])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $data.showDropdown ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", {
key: 2,
class: "time-picker-overlay",
onClick: _cache[13] || (_cache[13] = function () {
return $options.toggleActive.apply($options, arguments);
}),
tabindex: "-1"
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
class: ["dropdown", [$options.dropdownDirClass]],
tabindex: "-1",
style: $options.inputWidthStyle,
onMouseup: _cache[42] || (_cache[42] = function () {
return $options.keepFocusing.apply($options, arguments);
}),
onClick: _cache[43] || (_cache[43] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {}, ["stop"]))
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
class: "select-list",
style: $options.inputWidthStyle,
tabindex: "-1"
}, [!$props.advancedKeyboard ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
key: 0
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.columnsSequence, function (column) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [column === 'hour' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "hours",
onScroll: _cache[14] || (_cache[14] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.hourLabelText
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.hours, function (hr, hIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledHours || $options.opts.hideDisabledHours && !$options.isDisabled('hour', hr) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: hIndex,
class: {
active: $data.hour === hr
},
disabled: $options.isDisabled('hour', hr),
"data-key": hr,
textContent: hr,
onClick: function onClick($event) {
return $options.select('hour', hr);
}
}, null, 10, ["disabled", "data-key", "textContent", "onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'minute' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "minutes",
onScroll: _cache[15] || (_cache[15] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.minuteLabelText
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.minutes, function (m, mIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledMinutes || $options.opts.hideDisabledMinutes && !$options.isDisabled('minute', m) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: mIndex,
class: {
active: $data.minute === m
},
disabled: $options.isDisabled('minute', m),
"data-key": m,
textContent: m,
onClick: function onClick($event) {
return $options.select('minute', m);
}
}, null, 10, ["disabled", "data-key", "textContent", "onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'second' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "seconds",
onScroll: _cache[16] || (_cache[16] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.secondLabelText
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.seconds, function (s, sIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledSeconds || $options.opts.hideDisabledSeconds && !$options.isDisabled('second', s) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: sIndex,
class: {
active: $data.second === s
},
disabled: $options.isDisabled('second', s),
"data-key": s,
textContent: s,
onClick: function onClick($event) {
return $options.select('second', s);
}
}, null, 10, ["disabled", "data-key", "textContent", "onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'apm' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "apms",
onScroll: _cache[17] || (_cache[17] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.apmLabelText
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.apms, function (a, aIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledHours || $options.opts.hideDisabledHours && !$options.isDisabled('apm', a) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: aIndex,
class: {
active: $data.apm === a
},
disabled: $options.isDisabled('apm', a),
"data-key": a,
textContent: $options.apmDisplayText(a),
onClick: function onClick($event) {
return $options.select('apm', a);
}
}, null, 10, ["disabled", "data-key", "textContent", "onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $props.advancedKeyboard ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
key: 1
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.columnsSequence, function (column) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [column === 'hour' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "hours",
tabindex: "-1",
onScroll: _cache[23] || (_cache[23] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.hourLabelText,
tabindex: "-1"
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.hours, function (hr, hIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledHours || $options.opts.hideDisabledHours && !$options.isDisabled('hour', hr) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: hIndex,
class: {
active: $data.hour === hr
},
tabindex: $options.isDisabled('hour', hr) ? -1 : $props.tabindex,
"data-key": hr,
disabled: $options.isDisabled('hour', hr),
textContent: hr,
onClick: function onClick($event) {
return $options.select('hour', hr);
},
onKeydown: [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('hour', hr);
}, ["prevent"]), ["space"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('hour', hr);
}, ["prevent"]), ["enter"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.prevItem('hour', hr);
}, ["prevent"]), ["up"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.nextItem('hour', hr);
}, ["prevent"]), ["down"]), _cache[18] || (_cache[18] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toLeftColumn('hour');
}, ["prevent"]), ["left"])), _cache[19] || (_cache[19] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toRightColumn('hour');
}, ["prevent"]), ["right"])), _cache[20] || (_cache[20] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
return $options.debounceBlur.apply($options, arguments);
}, ["exact"]), ["esc"]))],
onBlur: _cache[21] || (_cache[21] = function () {
return $options.debounceBlur.apply($options, arguments);
}),
onFocus: _cache[22] || (_cache[22] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, null, 42, ["tabindex", "data-key", "disabled", "textContent", "onClick", "onKeydown"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'minute' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "minutes",
tabindex: "-1",
onScroll: _cache[29] || (_cache[29] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.minuteLabelText,
tabindex: "-1"
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.minutes, function (m, mIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledMinutes || $options.opts.hideDisabledMinutes && !$options.isDisabled('minute', m) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: mIndex,
class: {
active: $data.minute === m
},
tabindex: $options.isDisabled('minute', m) ? -1 : $props.tabindex,
"data-key": m,
disabled: $options.isDisabled('minute', m),
textContent: m,
onClick: function onClick($event) {
return $options.select('minute', m);
},
onKeydown: [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('minute', m);
}, ["prevent"]), ["space"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('minute', m);
}, ["prevent"]), ["enter"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.prevItem('minute', m);
}, ["prevent"]), ["up"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.nextItem('minute', m);
}, ["prevent"]), ["down"]), _cache[24] || (_cache[24] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toLeftColumn('minute');
}, ["prevent"]), ["left"])), _cache[25] || (_cache[25] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toRightColumn('minute');
}, ["prevent"]), ["right"])), _cache[26] || (_cache[26] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
return $options.debounceBlur.apply($options, arguments);
}, ["exact"]), ["esc"]))],
onBlur: _cache[27] || (_cache[27] = function () {
return $options.debounceBlur.apply($options, arguments);
}),
onFocus: _cache[28] || (_cache[28] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, null, 42, ["tabindex", "data-key", "disabled", "textContent", "onClick", "onKeydown"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'second' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "seconds",
tabindex: "-1",
onScroll: _cache[35] || (_cache[35] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.secondLabelText,
tabindex: "-1"
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.seconds, function (s, sIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledSeconds || $options.opts.hideDisabledSeconds && !$options.isDisabled('second', s) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: sIndex,
class: {
active: $data.second === s
},
tabindex: $options.isDisabled('second', s) ? -1 : $props.tabindex,
"data-key": s,
disabled: $options.isDisabled('second', s),
textContent: s,
onClick: function onClick($event) {
return $options.select('second', s);
},
onKeydown: [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('second', s);
}, ["prevent"]), ["space"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('second', s);
}, ["prevent"]), ["enter"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.prevItem('second', s);
}, ["prevent"]), ["up"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.nextItem('second', s);
}, ["prevent"]), ["down"]), _cache[30] || (_cache[30] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toLeftColumn('second');
}, ["prevent"]), ["left"])), _cache[31] || (_cache[31] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toRightColumn('second');
}, ["prevent"]), ["right"])), _cache[32] || (_cache[32] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
return $options.debounceBlur.apply($options, arguments);
}, ["exact"]), ["esc"]))],
onBlur: _cache[33] || (_cache[33] = function () {
return $options.debounceBlur.apply($options, arguments);
}),
onFocus: _cache[34] || (_cache[34] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, null, 42, ["tabindex", "data-key", "disabled", "textContent", "onClick", "onKeydown"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'apm' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
key: column,
class: "apms",
tabindex: "-1",
onScroll: _cache[41] || (_cache[41] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("li", {
class: "hint",
textContent: $options.apmLabelText,
tabindex: "-1"
}, null, 8, ["textContent"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($data.apms, function (a, aIndex) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [!$options.opts.hideDisabledHours || $options.opts.hideDisabledHours && !$options.isDisabled('apm', a) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
key: aIndex,
class: {
active: $data.apm === a
},
tabindex: $options.isDisabled('apm', a) ? -1 : $props.tabindex,
"data-key": a,
disabled: $options.isDisabled('apm', a),
textContent: $options.apmDisplayText(a),
onClick: function onClick($event) {
return $options.select('apm', a);
},
onKeydown: [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('apm', a);
}, ["prevent"]), ["space"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.select('apm', a);
}, ["prevent"]), ["enter"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.prevItem('apm', a);
}, ["prevent"]), ["up"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.nextItem('apm', a);
}, ["prevent"]), ["down"]), _cache[36] || (_cache[36] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toLeftColumn('apm');
}, ["prevent"]), ["left"])), _cache[37] || (_cache[37] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
return $options.toRightColumn('apm');
}, ["prevent"]), ["right"])), _cache[38] || (_cache[38] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
return $options.debounceBlur.apply($options, arguments);
}, ["exact"]), ["esc"]))],
onBlur: _cache[39] || (_cache[39] = function () {
return $options.debounceBlur.apply($options, arguments);
}),
onFocus: _cache[40] || (_cache[40] = function () {
return $options.keepFocusing.apply($options, arguments);
})
}, null, 42, ["tabindex", "data-key", "disabled", "textContent", "onClick", "onKeydown"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64
/* STABLE_FRAGMENT */
);
}), 256
/* UNKEYED_FRAGMENT */
)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 4)], 38), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], $data.showDropdown]])], 4);
}
// CONCATENATED MODULE: ./src/vue-timepicker.vue?vue&type=template&id=77d99126&bindings={"value":"props","format":"props","minuteInterval":"props","secondInterval":"props","hourRange":"props","minuteRange":"props","secondRange":"props","hideDisabledHours":"props","hideDisabledMinutes":"props","hideDisabledSeconds":"props","hideDisabledItems":"props","hideClearButton":"props","disabled":"props","closeOnComplete":"props","id":"props","name":"props","inputClass":"props","placeholder":"props","tabindex":"props","inputWidth":"props","autocomplete":"props","hourLabel":"props","minuteLabel":"props","secondLabel":"props","apmLabel":"props","amText":"props","pmText":"props","blurDelay":"props","advancedKeyboard":"props","lazy":"props","autoScroll":"props","dropDirection":"props","dropOffsetHeight":"props","containerId":"props","manualInput":"props","manualInputTimeout":"props","hideDropdown":"props","fixedDropdownButton":"props","debugMode":"props","timeValue":"data","hours":"data","minutes":"data","seconds":"data","apms":"data","isActive":"data","showDropdown":"data","isFocusing":"data","debounceTimer":"data","hourType":"data","minuteType":"data","secondType":"data","apmType":"data","hour":"data","minute":"data","second":"data","apm":"data","fullValues":"data","bakDisplayTime":"data","doClearApmChecking":"data","selectionTimer":"data","kbInputTimer":"data","kbInputLog":"data","bakCurrentPos":"data","forceDropOnTop":"data","opts":"options","useStringValue":"options","formatString":"options","inUse":"options","displayTime":"options","customDisplayTime":"options","inputIsEmpty":"options","allValueSelected":"options","columnsSequence":"options","showClearBtn":"options","showDropdownBtn":"options","baseOn12Hours":"options","hourRangeIn24HrFormat":"options","restrictedHourRange":"options","validHoursList":"options","has":"options","minuteRangeList":"options","secondRangeList":"options","hourLabelText":"options","minuteLabelText":"options","secondLabelText":"options","apmLabelText":"options","inputWidthStyle":"options","tokenRegexBase":"options","tokenChunks":"options","needsPosCalibrate":"options","tokenChunksPos":"options","invalidValues":"options","hasInvalidInput":"options","autoDirectionEnabled":"options","dropdownDirClass":"options","formatValue":"options","checkAcceptingType":"options","renderFormat":"options","renderHoursList":"options","renderList":"options","renderApmList":"options","readValues":"options","readObjectValues":"options","getMatchAllByRegex":"options","readStringValues":"options","polyfillMatchAll":"options","addFallbackValues":"options","setValueFromString":"options","fillValues":"options","emitTimeValue":"options","translate12hRange":"options","isDisabled":"options","isDisabledHour":"options","notInInterval":"options","renderRangeList":"options","forceApmSelection":"options","emptyApmSelection":"options","apmDisplayText":"options","toggleActive":"options","setDropdownState":"options","blurEvent":"options","select":"options","clearTime":"options","checkForAutoScroll":"options","scrollToSelected":"options","scrollToSelectedValues":"options","onFocus":"options","escBlur":"options","debounceBlur":"options","onBlur":"options","keepFocusing":"options","validItemsInCol":"options","activeItemInCol":"options","getClosestSibling":"options","prevItem":"options","nextItem":"options","getSideColumnName":"options","getFirstItemInSideColumn":"options","getActiveItemInSideColumn":"options","toLeftColumn":"options","toRightColumn":"options","onMouseDown":"options","keyDownHandler":"options","onCompostionStart":"options","onCompostionEnd":"options","pasteHandler":"options","arrowHandler":"options","tabHandler":"options","keyboardInput":"options","clearKbInputLog":"options","debounceClearKbLog":"options","setKbInput":"options","onChange":"options","getNearestChunkByPos":"options","selectFirstValidValue":"options","getClosestHourItem":"options","getClosestValidItemInCol":"options","setSanitizedValueToSection":"options","setManualHour":"options","debounceSetInputSelection":"options","setInputSelectionRange":"options","getCurrentTokenChunk":"options","selectFirstSlot":"options","toLateralToken":"options","isCustomApmText":"options","replaceCustomApmText":"options","checkDropDirection":"options","is12hRange":"options","match12hRange":"options","isNumber":"options","isBasicType":"options","lowerCasedApm":"options","getTokenRegex":"options","isEmptyValue":"options","isValidValue":"options","sanitizedValue":"options","getTokenType":"options","getTokenByType":"options","isMinuteOrSecond":"options","debugLog":"options"}
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
var es_array_filter = __webpack_require__("4de4");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
var es_array_find_index = __webpack_require__("c740");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
var es_array_for_each = __webpack_require__("4160");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
var es_array_index_of = __webpack_require__("c975");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
var es_array_join = __webpack_require__("a15b");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
var es_array_map = __webpack_require__("d81d");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
var es_array_slice = __webpack_require__("fb6a");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.some.js
var es_array_some = __webpack_require__("45fc");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
var es_array_splice = __webpack_require__("a434");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
var es_number_constructor = __webpack_require__("a9e3");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
var es_object_assign = __webpack_require__("cca6");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("b64b");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
var es_regexp_constructor = __webpack_require__("4d63");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
var es_regexp_to_string = __webpack_require__("25f0");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
var es_string_includes = __webpack_require__("2532");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
var es_string_match = __webpack_require__("466d");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match-all.js
var es_string_match_all = __webpack_require__("a1f0");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
var es_string_replace = __webpack_require__("5319");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
var es_string_split = __webpack_require__("1276");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
var es_string_trim = __webpack_require__("498a");
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
var es_symbol = __webpack_require__("a4d3");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
var es_symbol_description = __webpack_require__("e01a");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
var es_symbol_iterator = __webpack_require__("d28b");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
var es_array_iterator = __webpack_require__("e260");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
var es_string_iterator = __webpack_require__("3ca3");
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
var web_dom_collections_iterator = __webpack_require__("ddb0");
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function _typeof(obj) {
return typeof obj;
};
} else {
_typeof = function _typeof(obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
}
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
var es_array_from = __webpack_require__("a630");
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
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;
}
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
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);
}
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
function _createForOfIteratorHelper(o, allowArrayLike) {
var it;
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
var F = function F() {};
return {
s: F,
n: function n() {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
},
e: function e(_e) {
throw _e;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var normalCompletion = true,
didErr = false,
err;
return {
s: function s() {
it = o[Symbol.iterator]();
},
n: function n() {
var step = it.next();
normalCompletion = step.done;
return step;
},
e: function e(_e2) {
didErr = true;
err = _e2;
},
f: function f() {
try {
if (!normalCompletion && it["return"] != null) it["return"]();
} finally {
if (didErr) throw err;
}
}
};
}
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/vue-timepicker.vue?vue&type=script&lang=js
var CONFIG = {
HOUR_TOKENS: ['HH', 'H', 'hh', 'h', 'kk', 'k'],
MINUTE_TOKENS: ['mm', 'm'],
SECOND_TOKENS: ['ss', 's'],
APM_TOKENS: ['A', 'a'],
BASIC_TYPES: ['hour', 'minute', 'second', 'apm']
};
var DEFAULT_OPTIONS = {
format: 'HH:mm',
minuteInterval: 1,
secondInterval: 1,
hourRange: null,
minuteRange: null,
secondRange: null,
hideDisabledHours: false,
hideDisabledMinutes: false,
hideDisabledSeconds: false,
hideDisabledItems: false,
advancedKeyboard: false,
hideDropdown: false,
blurDelay: 300,
manualInputTimeout: 1000,
dropOffsetHeight: 160
};
/* harmony default export */ var vue_timepickervue_type_script_lang_js = ({
name: 'VueTimepicker',
props: {
value: {
type: [Object, String]
},
format: {
type: String
},
minuteInterval: {
type: [Number, String]
},
secondInterval: {
type: [Number, String]
},
hourRange: {
type: Array
},
minuteRange: {
type: Array
},
secondRange: {
type: Array
},
hideDisabledHours: {
type: Boolean,
default: false
},
hideDisabledMinutes: {
type: Boolean,
default: false
},
hideDisabledSeconds: {
type: Boolean,
default: false
},
hideDisabledItems: {
type: Boolean,
default: false
},
hideClearButton: {
type: Boolean,
default: false
},
disabled: {
type: Boolean,
default: false
},
closeOnComplete: {
type: Boolean,
default: false
},
id: {
type: String
},
name: {
type: String
},
inputClass: {
type: [String, Object, Array]
},
placeholder: {
type: String
},
tabindex: {
type: [Number, String],
default: 0
},
inputWidth: {
type: String
},
autocomplete: {
type: String,
default: 'off'
},
hourLabel: {
type: String
},
minuteLabel: {
type: String
},
secondLabel: {
type: String
},
apmLabel: {
type: String
},
amText: {
type: String
},
pmText: {
type: String
},
blurDelay: {
type: [Number, String]
},
advancedKeyboard: {
type: Boolean,
default: false
},
lazy: {
type: Boolean,
default: false
},
autoScroll: {
type: Boolean,
default: false
},
dropDirection: {
type: String,
default: 'down'
},
dropOffsetHeight: {
type: [Number, String]
},
containerId: {
type: String
},
manualInput: {
type: Boolean,
default: false
},
manualInputTimeout: {
type: [Number, String]
},
hideDropdown: {
type: Boolean,
default: false
},
fixedDropdownButton: {
type: Boolean,
default: false
},
debugMode: {
type: Boolean,
default: false
}
},
data: function data() {
return {
timeValue: {},
hours: [],
minutes: [],
seconds: [],
apms: [],
isActive: false,
showDropdown: false,
isFocusing: false,
debounceTimer: undefined,
hourType: 'HH',
minuteType: 'mm',
secondType: '',
apmType: '',
hour: '',
minute: '',
second: '',
apm: '',
fullValues: undefined,
bakDisplayTime: undefined,
doClearApmChecking: false,
selectionTimer: undefined,
kbInputTimer: undefined,
kbInputLog: '',
bakCurrentPos: undefined,
forceDropOnTop: false
};
},
computed: {
opts: function opts() {
var options = Object.assign({}, DEFAULT_OPTIONS);
if (this.format && this.format.length) {
options.format = String(this.format);
}
if (this.isNumber(this.minuteInterval)) {
options.minuteInterval = +this.minuteInterval;
} // minuteInterval failsafe
if (!options.minuteInterval || options.minuteInterval < 1 || options.minuteInterval > 60) {
if (this.debugMode) {
if (options.minuteInterval > 60) {
this.debugLog("\"minute-interval\" should be less than 60. Current value is ".concat(this.minuteInterval));
} else if (options.minuteInterval === 0 || options.minuteInterval < 1) {
this.debugLog("\"minute-interval\" should be NO less than 1. Current value is ".concat(this.minuteInterval));
}
}
if (options.minuteInterval === 0) {
options.minuteInterval = 60;
} else {
options.minuteInterval = 1;
}
}
if (this.isNumber(this.secondInterval)) {
options.secondInterval = +this.secondInterval;
} // secondInterval failsafe
if (!options.secondInterval || options.secondInterval < 1 || options.secondInterval > 60) {
if (this.debugMode) {
if (options.secondInterval > 60) {
this.debugLog("\"second-interval\" should be less than 60. Current value is ".concat(this.secondInterval));
} else if (options.secondInterval === 0 || options.secondInterval < 1) {
this.debugLog("\"second-interval\" should be NO less than 1. Current value is ".concat(this.secondInterval));
}
}
if (options.secondInterval === 0) {
options.secondInterval = 60;
} else {
options.secondInterval = 1;
}
}
if (this.hourRange && Array.isArray(this.hourRange)) {
options.hourRange = JSON.parse(JSON.stringify(this.hourRange));
if (!this.hourRange.length && this.debugMode) {
this.debugLog('The "hour-range" array is empty (length === 0)');
}
}
if (this.minuteRange && Array.isArray(this.minuteRange)) {
options.minuteRange = JSON.parse(JSON.stringify(this.minuteRange));
if (!this.minuteRange.length && this.debugMode) {
this.debugLog('The "minute-range" array is empty (length === 0)');
}
}
if (this.secondRange && Array.isArray(this.secondRange)) {
options.secondRange = JSON.parse(JSON.stringify(this.secondRange));
if (!this.secondRange.length && this.debugMode) {
this.debugLog('The "second-range" array is empty (length === 0)');
}
}
if (this.hideDisabledItems) {
options.hideDisabledItems = true;
}
if (this.hideDisabledHours || this.hideDisabledItems) {
options.hideDisabledHours = true;
}
if (this.hideDisabledMinutes || this.hideDisabledItems) {
options.hideDisabledMinutes = true;
}
if (this.hideDisabledSeconds || this.hideDisabledItems) {
options.hideDisabledSeconds = true;
}
if (this.hideDropdown) {
if (this.manualInput) {
options.hideDropdown = true;
} else if (this.debugMode) {
this.debugLog('"hide-dropdown" only works with "manual-input" mode');
}
}
if (this.blurDelay && +this.blurDelay > 0) {
options.blurDelay = +this.blurDelay;
}
if (this.manualInputTimeout && +this.manualInputTimeout > 0) {
options.manualInputTimeout = +this.manualInputTimeout;
}
if (this.dropOffsetHeight && +this.dropOffsetHeight > 0) {
options.dropOffsetHeight = +this.dropOffsetHeight;
}
return options;
},
useStringValue: function useStringValue() {
return typeof this.value === 'string';
},
formatString: function formatString() {
return this.opts.format || DEFAULT_OPTIONS.format;
},
inUse: function inUse() {
var _this = this;
var typesInUse = CONFIG.BASIC_TYPES.filter(function (type) {
return _this.getTokenByType(type);
}); // Sort types and tokens by their sequence in the "format" string
typesInUse.sort(function (l, r) {
return _this.formatString.indexOf(_this.getTokenByType(l) || null) - _this.formatString.indexOf(_this.getTokenByType(r) || null);
});
var tokensInUse = typesInUse.map(function (type) {
return _this.getTokenByType(type);
});
return {
hour: !!this.hourType,
minute: !!this.minuteType,
second: !!this.secondType,
apm: !!this.apmType,
types: typesInUse || [],
tokens: tokensInUse || []
};
},
displayTime: function displayTime() {
var formatString = String(this.formatString);
if (this.hour) {
formatString = formatString.replace(new RegExp(this.hourType, 'g'), this.hour);
}
if (this.minute) {
formatString = formatString.replace(new RegExp(this.minuteType, 'g'), this.minute);
}
if (this.second && this.secondType) {
formatString = formatString.replace(new RegExp(this.secondType, 'g'), this.second);
}
if (this.apm && this.apmType) {
formatString = formatString.replace(new RegExp(this.apmType, 'g'), this.apm);
}
return formatString;
},
customDisplayTime: function customDisplayTime() {
if (!this.amText && !this.pmText) {
return this.displayTime;
}
return this.displayTime.replace(new RegExp(this.apm, 'g'), this.apmDisplayText(this.apm));
},
inputIsEmpty: function inputIsEmpty() {
return this.formatString === this.displayTime;
},
allValueSelected: function allValueSelected() {
if (this.inUse.hour && !this.hour || this.inUse.minute && !this.minute || this.inUse.second && !this.second || this.inUse.apm && !this.apm) {
return false;
}
return true;
},
columnsSequence: function columnsSequence() {
return this.inUse.types.map(function (type) {
return type;
}) || [];
},
showClearBtn: function showClearBtn() {
if (this.hideClearButton || this.disabled) {
return false;
}
return !this.inputIsEmpty;
},
showDropdownBtn: function showDropdownBtn() {
if (this.fixedDropdownButton) {
return true;
}
if (this.opts.hideDropdown && this.isActive && !this.showDropdown) {
return true;
}
return false;
},
baseOn12Hours: function baseOn12Hours() {
return this.hourType === 'h' || this.hourType === 'hh';
},
hourRangeIn24HrFormat: function hourRangeIn24HrFormat() {
var _this2 = this;
if (!this.hourType || !this.opts.hourRange) {
return false;
}
if (!this.opts.hourRange.length) {
return [];
}
var range = [];
this.opts.hourRange.forEach(function (value) {
if (value instanceof Array) {
if (value.length > 2 && _this2.debugMode) {
_this2.debugLog("Nested array within \"hour-range\" must contain no more than two items. Only the first two items of ".concat(JSON.stringify(value), " will be taken into account."));
}
var start = value[0];
var end = value[1] || value[0];
if (_this2.is12hRange(start)) {
start = _this2.translate12hRange(start);
}
if (_this2.is12hRange(end)) {
end = _this2.translate12hRange(end);
}
for (var i = +start; i <= +end; i++) {
if (i < 0 || i > 24) {
continue;
}
if (!range.includes(i)) {
range.push(i);
}
}
} else {
if (_this2.is12hRange(value)) {
value = _this2.translate12hRange(value);
} else {
value = +value;
}
if (value < 0 || value > 24) {
return;
}
if (!range.includes(value)) {
range.push(value);
}
}
});
range.sort(function (l, r) {
return l - r;
});
return range;
},
restrictedHourRange: function restrictedHourRange() {
// No restriction
if (!this.hourRangeIn24HrFormat) {
return false;
} // 12-Hour
if (this.baseOn12Hours) {
var range = this.hourRangeIn24HrFormat.map(function (value) {
if (value === 12) {
return '12p';
} else if (value === 24 || value === 0) {
return '12a';
}
return value > 12 ? "".concat(value % 12, "p") : "".concat(value, "a");
});
return range;
} // 24-Hour
return this.hourRangeIn24HrFormat;
},
validHoursList: function validHoursList() {
var _this3 = this;
if (!this.manualInput) {
return false;
}
if (this.restrictedHourRange) {
var list = [];
if (this.baseOn12Hours) {
list = this.restrictedHourRange.map(function (hr) {
var l = hr.substr(0, hr.length - 1);
var r = hr.substr(-1);
return "".concat(_this3.formatValue(_this3.hourType, l)).concat(r);
});
var am12Index = list.indexOf('12a');
if (am12Index > 0) {
// Make '12a' the first item in h/hh
list.unshift(list.splice(am12Index, 1)[0]);
}
return list;
}
list = this.restrictedHourRange.map(function (hr) {
return _this3.formatValue(_this3.hourType, hr);
});
if (list.length > 1 && list[0] && list[0] === '24') {
// Make '24' the last item in k/kk
list.push(list.shift());
}
return list;
}
if (this.baseOn12Hours) {
return [].concat([], this.hours.map(function (hr) {
return "".concat(hr, "a");
}), this.hours.map(function (hr) {
return "".concat(hr, "p");
}));
}
return this.hours;
},
has: function has() {
var result = {
customApmText: false
};
var apmEnabled = !!this.apmType;
if (apmEnabled && this.hourRangeIn24HrFormat && this.hourRangeIn24HrFormat.length) {
var range = [].concat([], this.hourRangeIn24HrFormat);
result.am = range.some(function (value) {
return value < 12 || value === 24;
});
result.pm = range.some(function (value) {
return value >= 12 && value < 24;
});
} else {
result.am = apmEnabled;
result.pm = apmEnabled;
}
if (this.amText && this.amText.length || this.pmText && this.pmText.length) {
result.customApmText = true;
}
return result;
},
minuteRangeList: function minuteRangeList() {
if (!this.minuteType || !this.opts.minuteRange) {
return false;
}
if (!this.opts.minuteRange.length) {
return [];
}
return this.renderRangeList(this.opts.minuteRange, 'minute');
},
secondRangeList: function secondRangeList() {
if (!this.secondType || !this.opts.secondRange) {
return false;
}
if (!this.opts.secondRange.length) {
return [];
}
return this.renderRangeList(this.opts.secondRange, 'second');
},
hourLabelText: function hourLabelText() {
return this.hourLabel || this.hourType;
},
minuteLabelText: function minuteLabelText() {
return this.minuteLabel || this.minuteType;
},
secondLabelText: function secondLabelText() {
return this.secondLabel || this.secondType;
},
apmLabelText: function apmLabelText() {
return this.apmLabel || this.apmType;
},
inputWidthStyle: function inputWidthStyle() {
if (!this.inputWidth || !this.inputWidth.length) {
return;
}
return {
width: this.inputWidth
};
},
tokenRegexBase: function tokenRegexBase() {
return this.inUse.tokens.join('|');
},
tokenChunks: function tokenChunks() {
if (!this.manualInput && !this.useStringValue) {
return false;
}
var formatString = String(this.formatString);
var tokensRegxStr = "(".concat(this.tokenRegexBase, ")+?");
var tokensMatchAll = this.getMatchAllByRegex(formatString, tokensRegxStr);
var tokenChunks = [];
var _iterator = _createForOfIteratorHelper(tokensMatchAll),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var tkMatch = _step.value;
var rawToken = tkMatch[0];
var tokenMatchItem = {
index: tkMatch.index,
token: rawToken,
type: this.getTokenType(rawToken),
needsCalibrate: rawToken.length < 2,
len: (rawToken || '').length
};
tokenChunks.push(tokenMatchItem);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
return tokenChunks;
},
needsPosCalibrate: function needsPosCalibrate() {
if (!this.manualInput) {
return false;
}
return this.tokenChunks.some(function (chk) {
return chk.needsCalibrate;
});
},
tokenChunksPos: function tokenChunksPos() {
var _this4 = this;
if (!this.manualInput) {
return false;
}
if (!this.needsPosCalibrate) {
return this.tokenChunks.map(function (chk) {
return {
token: chk.token,
type: chk.type,
start: chk.index,
end: chk.index + chk.len
};
});
}
var list = [];
var calibrateLen = 0;
this.tokenChunks.forEach(function (chk) {
var chunkCurrentLen; // Adjust for customized AM/PM text
if (chk.type === 'apm' && _this4.has.customApmText) {
if (_this4.apm && _this4.apm.length) {
var customApmText = _this4.apm.toLowerCase() === 'am' ? _this4.amText : _this4.pmText;
chunkCurrentLen = customApmText && customApmText.length ? customApmText.length : chk.len;
} else {
chunkCurrentLen = chk.len;
} // Others
} else {
chunkCurrentLen = _this4[chk.type] && _this4[chk.type].length ? _this4[chk.type].length : chk.len;
}
list.push({
token: chk.token,
type: chk.type,
start: chk.index + calibrateLen,
end: chk.index + calibrateLen + chunkCurrentLen
});
if (chk.needsCalibrate && chunkCurrentLen > chk.len) {
calibrateLen += chunkCurrentLen - chk.len;
}
});
return list;
},
invalidValues: function invalidValues() {
if (this.inputIsEmpty) {
return [];
}
if (!this.restrictedHourRange && !this.minuteRangeList && !this.secondRangeList && this.opts.minuteInterval === 1 && this.opts.secondInterval === 1) {
return [];
}
var result = [];
if (this.inUse.hour && !this.isEmptyValue(this.hourType, this.hour) && (!this.isValidValue(this.hourType, this.hour) || this.isDisabled('hour', this.hour))) {
result.push('hour');
}
if (this.inUse.minute && !this.isEmptyValue(this.minuteType, this.minute) && (!this.isValidValue(this.minuteType, this.minute) || this.isDisabled('minute', this.minute) || this.notInInterval('minute', this.minute))) {
result.push('minute');
}
if (this.inUse.second && !this.isEmptyValue(this.secondType, this.second) && (!this.isValidValue(this.secondType, this.second) || this.isDisabled('second', this.second) || this.notInInterval('second', this.second))) {
result.push('second');
}
if (this.inUse.apm && !this.isEmptyValue(this.apmType, this.apm) && (!this.isValidValue(this.apmType, this.apm) || this.isDisabled('apm', this.apm))) {
result.push('apm');
}
if (result.length) {
return result;
}
return [];
},
hasInvalidInput: function hasInvalidInput() {
return Boolean(this.invalidValues && this.invalidValues.length);
},
autoDirectionEnabled: function autoDirectionEnabled() {
return this.dropDirection === 'auto';
},
dropdownDirClass: function dropdownDirClass() {
if (this.autoDirectionEnabled) {
return this.forceDropOnTop ? 'drop-up' : 'drop-down';
}
return this.dropDirection === 'up' ? 'drop-up' : 'drop-down';
}
},
watch: {
'opts.format': function optsFormat(newValue) {
this.renderFormat(newValue);
},
'opts.minuteInterval': function optsMinuteInterval(newInteval) {
this.renderList('minute', newInteval);
},
'opts.secondInterval': function optsSecondInterval(newInteval) {
this.renderList('second', newInteval);
},
value: {
deep: true,
handler: function handler() {
this.readValues();
}
},
displayTime: function displayTime() {
this.fillValues();
},
disabled: function disabled(toDisabled) {
if (toDisabled) {
// Force close dropdown and reset status when disabled
if (this.isActive) {
this.isActive = false;
}
if (this.showDropdown) {
this.showDropdown = false;
}
}
},
'invalidValues.length': function invalidValuesLength(newLength, oldLength) {
if (newLength && newLength >= 1) {
this.$emit('error', this.invalidValues);
} else if (oldLength && oldLength >= 1) {
this.$emit('error', []);
}
}
},
methods: {
formatValue: function formatValue(token, i) {
if (!this.isNumber(i)) {
return '';
}
i = +i;
switch (token) {
case 'H':
case 'h':
case 'k':
case 'm':
case 's':
if (['h', 'k'].includes(token) && i === 0) {
return token === 'k' ? '24' : '12';
}
return String(i);
case 'HH':
case 'mm':
case 'ss':
case 'hh':
case 'kk':
if (['hh', 'kk'].includes(token) && i === 0) {
return token === 'kk' ? '24' : '12';
}
return i < 10 ? "0".concat(i) : String(i);
default:
return '';
}
},
checkAcceptingType: function checkAcceptingType(validValues, formatString) {
if (!validValues || !formatString || !formatString.length) {
return '';
}
for (var i = 0; i < validValues.length; i++) {
if (formatString.indexOf(validValues[i]) > -1) {
return validValues[i];
}
}
return '';
},
renderFormat: function renderFormat(newFormat) {
var _this5 = this;
newFormat = newFormat || this.opts.format || DEFAULT_OPTIONS.format;
var hourType = this.checkAcceptingType(CONFIG.HOUR_TOKENS, newFormat);
var minuteType = this.checkAcceptingType(CONFIG.MINUTE_TOKENS, newFormat);
this.secondType = this.checkAcceptingType(CONFIG.SECOND_TOKENS, newFormat);
this.apmType = this.checkAcceptingType(CONFIG.APM_TOKENS, newFormat); // Failsafe checking
if (!hourType && !minuteType && !this.secondType && !this.apmType) {
if (this.debugMode && this.format) {
this.debugLog("No valid tokens found in your defined \"format\" string \"".concat(this.format, "\". Fallback to the default \"HH:mm\" format."));
}
hourType = 'HH';
minuteType = 'mm';
}
this.hourType = hourType;
this.minuteType = minuteType;
this.hourType ? this.renderHoursList() : this.hours = [];
this.minuteType ? this.renderList('minute') : this.minutes = [];
this.secondType ? this.renderList('second') : this.seconds = [];
this.apmType ? this.renderApmList() : this.apms = [];
this.$nextTick(function () {
_this5.readValues();
});
},
renderHoursList: function renderHoursList() {
var hoursCount = this.baseOn12Hours ? 12 : 24;
var hours = [];
for (var i = 0; i < hoursCount; i++) {
if (this.hourType === 'k' || this.hourType === 'kk') {
hours.push(this.formatValue(this.hourType, i + 1));
} else {
hours.push(this.formatValue(this.hourType, i));
}
}
this.hours = hours;
},
renderList: function renderList(listType, interval) {
if (!this.isMinuteOrSecond(listType)) {
return;
}
var isMinute = listType === 'minute';
interval = interval || (isMinute ? this.opts.minuteInterval || DEFAULT_OPTIONS.minuteInterval : this.opts.secondInterval || DEFAULT_OPTIONS.secondInterval);
var result = [];
for (var i = 0; i < 60; i += interval) {
result.push(this.formatValue(isMinute ? this.minuteType : this.secondType, i));
}
isMinute ? this.minutes = result : this.seconds = result;
},
renderApmList: function renderApmList() {
this.apms = this.apmType === 'A' ? ['AM', 'PM'] : ['am', 'pm'];
},
readValues: function readValues() {
if (this.useStringValue) {
if (this.debugMode) {
this.debugLog("Received a string value: \"".concat(this.value, "\""));
}
this.readStringValues(this.value);
} else {
if (this.debugMode) {
this.debugLog("Received an object value: \"".concat(JSON.stringify(this.value || {}), "\""));
}
this.readObjectValues(this.value);
}
},
readObjectValues: function readObjectValues(objValue) {
var _this6 = this;
var timeValue = JSON.parse(JSON.stringify(objValue || {}));
var values = Object.keys(timeValue); // Failsafe for empty `v-model` object
if (values.length === 0) {
this.addFallbackValues();
return;
}
CONFIG.BASIC_TYPES.forEach(function (type) {
var token = _this6.getTokenByType(type);
if (values.indexOf(token) > -1) {
var sanitizedValue = _this6.sanitizedValue(token, timeValue[token]);
_this6[type] = sanitizedValue;
timeValue[token] = sanitizedValue;
} else {
_this6[type] = '';
}
});
this.timeValue = timeValue;
},
getMatchAllByRegex: function getMatchAllByRegex(testString, regexString) {
var str = 'polyfillTest';
var needsPolyfill = Boolean(!str.matchAll || typeof str.matchAll !== 'function');
return needsPolyfill ? this.polyfillMatchAll(testString, regexString) : testString.matchAll(new RegExp(regexString, 'g'));
},
readStringValues: function readStringValues(stringValue) {
var _this7 = this;
// Failsafe for empty `v-model` string
if (!stringValue || !stringValue.length) {
this.addFallbackValues();
return;
}
var formatString = String(this.formatString);
var tokensRegxStr = "(".concat(this.tokenRegexBase, ")+?");
var othersRegxStr = "[^(".concat(this.tokenRegexBase, ")]+");
var tokensMatchAll = this.getMatchAllByRegex(formatString, tokensRegxStr);
var othersMatchAll = this.getMatchAllByRegex(formatString, othersRegxStr);
var chunks = [];
var tokenChunks = [];
var _iterator2 = _createForOfIteratorHelper(tokensMatchAll),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var tkMatch = _step2.value;
var tokenMatchItem = {
index: tkMatch.index,
token: tkMatch[0],
isValueToken: true
};
chunks.push(tokenMatchItem);
tokenChunks.push(tokenMatchItem);
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
var _iterator3 = _createForOfIteratorHelper(othersMatchAll),
_step3;
try {
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
var otMatch = _step3.value;
chunks.push({
index: otMatch.index,
token: otMatch[0]
});
}
} catch (err) {
_iterator3.e(err);
} finally {
_iterator3.f();
}
chunks.sort(function (l, r) {
return l.index < r.index ? -1 : 1;
});
var regexCombo = '';
chunks.forEach(function (chunk) {
if (chunk.isValueToken) {
var tokenRegex = _this7.getTokenRegex(chunk.token) || '';
regexCombo += tokenRegex;
} else {
var safeChars = chunk.token.replace(/\\{0}(\*|\?|\.|\+)/g, '\\$1');
regexCombo += "(?:".concat(safeChars, ")");
}
});
var comboReg = new RegExp(regexCombo); // Do test before match
if (comboReg.test(stringValue)) {
var matchResults = stringValue.match(new RegExp(regexCombo));
var valueResults = matchResults.slice(1, tokenChunks.length + 1);
var timeValue = {};
valueResults.forEach(function (value, vrIndex) {
if (tokenChunks[vrIndex]) {
var targetToken = tokenChunks[vrIndex].token;
timeValue[targetToken] = _this7.setValueFromString(value, targetToken);
}
});
this.timeValue = timeValue;
if (this.debugMode) {
var tokenChunksForLog = tokenChunks.map(function (tChunk) {
return tChunk && tChunk.token;
});
this.debugLog("Successfully parsed values ".concat(JSON.stringify(valueResults), "\nfor ").concat(JSON.stringify(tokenChunksForLog), "\nin format pattern '").concat(this.formatString, "'"));
}
} else {
if (this.debugMode) {
this.debugLog("The input string in \"v-model\" does NOT match the \"format\" pattern\nformat: ".concat(this.formatString, "\nv-model: ").concat(stringValue));
}
}
},
polyfillMatchAll: function polyfillMatchAll(targetString, regxStr) {
var matchesList = targetString.match(new RegExp(regxStr, 'g'));
var result = [];
var indicesReg = [];
if (matchesList && matchesList.length) {
matchesList.forEach(function (matchedItem) {
var existIndex = indicesReg.findIndex(function (idxItem) {
return idxItem.str === matchedItem;
});
var index;
if (existIndex >= 0) {
if (indicesReg[existIndex] && indicesReg[existIndex].regex) {
index = indicesReg[existIndex].regex.exec(targetString).index;
}
} else {
var itemIndicesRegex = new RegExp(matchedItem, 'g');
index = itemIndicesRegex.exec(targetString).index;
indicesReg.push({
str: String(matchedItem),
regex: itemIndicesRegex
});
}
result.push({
0: String(matchedItem),
index: index
});
});
}
return result;
},
addFallbackValues: function addFallbackValues() {
var _this8 = this;
var timeValue = {};
this.inUse.types.forEach(function (type) {
timeValue[_this8.getTokenByType(type)] = '';
});
this.timeValue = timeValue;
},
setValueFromString: function setValueFromString(parsedValue, token) {
if (!token || !parsedValue) {
return '';
}
var tokenType = this.getTokenType(token);
if (!tokenType || !tokenType.length) {
return '';
}
var stdValue = parsedValue !== this.getTokenByType(tokenType) ? parsedValue : '';
this[tokenType] = stdValue;
return stdValue;
},
fillValues: function fillValues(forceEmit) {
var _this9 = this;
var fullValues = {};
var baseHour = this.hour;
var baseHourType = this.hourType;
var apmValue; // Hour type or hour value is NOT set in the "format" string
if (!baseHourType || !this.isNumber(baseHour)) {
CONFIG.HOUR_TOKENS.forEach(function (token) {
return fullValues[token] = '';
});
apmValue = this.lowerCasedApm(this.apm || '');
fullValues.a = apmValue;
fullValues.A = apmValue.toUpperCase(); // Both Hour type and value are set
} else {
var hourValue = +baseHour;
var _apmValue = this.baseOn12Hours && this.apm ? this.lowerCasedApm(this.apm) : false;
CONFIG.HOUR_TOKENS.forEach(function (token) {
if (token === baseHourType) {
fullValues[token] = baseHour;
return;
}
var value;
var apm;
switch (token) {
case 'H':
case 'HH':
case 'k':
case 'kk':
if (_this9.baseOn12Hours) {
if (_apmValue === 'pm') {
value = hourValue < 12 ? hourValue + 12 : hourValue;
} else if (['k', 'kk'].includes(token)) {
value = hourValue === 12 ? 24 : hourValue;
} else {
value = hourValue % 12;
}
} else {
if (['k', 'kk'].includes(token)) {
value = hourValue === 0 ? 24 : hourValue;
} else {
value = hourValue % 24;
}
}
fullValues[token] = _this9.formatValue(token, value);
break;
case 'h':
case 'hh':
// h <-> hh
if (_this9.baseOn12Hours) {
value = hourValue;
apm = _apmValue || ''; // Read from other hour formats
} else {
if (hourValue > 11 && hourValue < 24) {
apm = 'pm';
value = hourValue === 12 ? 12 : hourValue % 12;
} else {
apm = 'am';
value = hourValue % 12 === 0 ? 12 : hourValue;
}
}
fullValues[token] = _this9.formatValue(token, value);
fullValues.a = apm;
fullValues.A = apm.toUpperCase();
break;
}
});
}
fullValues.m = this.formatValue('m', this.minute);
fullValues.mm = this.formatValue('mm', this.minute);
fullValues.s = this.formatValue('s', this.second);
fullValues.ss = this.formatValue('ss', this.second);
this.fullValues = fullValues; // On lazy mode, emit `input` and `change` events only when:
// - The user pick a new value and then close the dropdown
// - The user click the ("x") clear button
if (!this.lazy || forceEmit) {
this.emitTimeValue();
}
if (this.closeOnComplete && this.allValueSelected && this.showDropdown) {
this.toggleActive();
}
},
emitTimeValue: function emitTimeValue() {
if (!this.fullValues) {
return;
}
if (this.lazy && this.bakDisplayTime === this.displayTime) {
if (this.debugMode) {
this.debugLog('The value does not change on `lazy` mode. Skip the emitting `input` and `change` event.');
}
return;
}
var fullValues = JSON.parse(JSON.stringify(this.fullValues));
if (this.useStringValue) {
this.$emit('input', this.inputIsEmpty ? '' : String(this.displayTime));
} else {
var tokensInUse = this.inUse.tokens || [];
var timeValue = {};
tokensInUse.forEach(function (token) {
timeValue[token] = fullValues[token] || '';
});
this.$emit('input', JSON.parse(JSON.stringify(timeValue)));
}
this.$emit('change', {
data: fullValues,
displayTime: this.inputIsEmpty ? '' : String(this.displayTime)
});
},
translate12hRange: function translate12hRange(value) {
var valueT = this.match12hRange(value);
if (+valueT[1] === 12) {
return +valueT[1] + (valueT[2].toLowerCase() === 'p' ? 0 : 12);
}
return +valueT[1] + (valueT[2].toLowerCase() === 'p' ? 12 : 0);
},
isDisabled: function isDisabled(type, value) {
if (!this.isBasicType(type) || !this.inUse[type]) {
return true;
}
switch (type) {
case 'hour':
return this.isDisabledHour(value);
case 'minute':
case 'second':
if (!this["".concat(type, "RangeList")]) {
return false;
}
return !this["".concat(type, "RangeList")].includes(value);
case 'apm':
if (!this.restrictedHourRange) {
return false;
}
return !this.has[this.lowerCasedApm(value)];
default:
return true;
}
},
isDisabledHour: function isDisabledHour(value) {
if (!this.restrictedHourRange) {
return false;
}
if (this.baseOn12Hours) {
if (!this.apm || !this.apm.length) {
return false;
} else {
var token = this.apm.toLowerCase() === 'am' ? 'a' : 'p';
return !this.restrictedHourRange.includes("".concat(+value).concat(token));
}
} // Fallback for 'HH' and 'H hour format with a `hour-range` in a 12-hour form
if ((this.hourType === 'HH' || this.hourType === 'H') && +value === 0 && this.restrictedHourRange.includes(24)) {
return false;
}
return !this.restrictedHourRange.includes(+value);
},
notInInterval: function notInInterval(section, value) {
if (!section || !this.isMinuteOrSecond(section)) {
return;
}
if (this.opts["".concat(section, "Interval")] === 1) {
return false;
}
return +value % this.opts["".concat(section, "Interval")] !== 0;
},
renderRangeList: function renderRangeList(rawRange, section) {
var _this10 = this;
if (!rawRange || !section || !this.isMinuteOrSecond(section)) {
return [];
}
var range = [];
var formatedValue;
rawRange.forEach(function (value) {
if (value instanceof Array) {
if (value.length > 2 && _this10.debugMode) {
_this10.debugLog("Nested array within \"".concat(section, "-range\" must contain no more than two items. Only the first two items of ").concat(JSON.stringify(value), " will be taken into account."));
}
var start = value[0];
var end = value[1] || value[0];
for (var i = +start; i <= +end; i++) {
if (i < 0 || i > 59) {
continue;
}
formatedValue = _this10.formatValue(_this10.getTokenByType(section), i);
if (!range.includes(formatedValue)) {
range.push(formatedValue);
}
}
} else {
if (+value < 0 || +value > 59) {
return;
}
formatedValue = _this10.formatValue(_this10.getTokenByType(section), value);
if (!range.includes(formatedValue)) {
range.push(formatedValue);
}
}
});
range.sort(function (l, r) {
return l - r;
}); // Debug Mode
if (this.debugMode) {
var fullList = (section === 'minute' ? this.minutes : this.seconds) || [];
var validItems = fullList.filter(function (item) {
return range.includes(item);
});
if (!validItems || !validItems.length) {
if (section === 'minute') {
this.debugLog("The minute list is empty due to the \"minute-range\" config\nminute-range: ".concat(JSON.stringify(this.minuteRange), "\nminute-interval: ").concat(this.opts.minuteInterval));
} else {
this.debugLog("The second list is empty due to the \"second-range\" config\nsecond-range: ".concat(JSON.stringify(this.secondRange), "\nsecond-interval: ").concat(this.opts.secondInterval));
}
}
}
return range;
},
forceApmSelection: function forceApmSelection() {
if (this.manualInput) {
// Skip this to allow users to paste a string value from the clipboard in Manual Input mode
return;
}
if (this.apmType && !this.apm) {
if (this.has.am || this.has.pm) {
this.doClearApmChecking = true;
var apmValue = this.has.am ? 'am' : 'pm';
this.apm = this.apmType === 'A' ? apmValue.toUpperCase() : apmValue;
}
}
},
emptyApmSelection: function emptyApmSelection() {
if (this.doClearApmChecking && this.hour === '' && this.minute === '' && this.second === '') {
this.apm = '';
}
this.doClearApmChecking = false;
},
apmDisplayText: function apmDisplayText(apmValue) {
if (this.amText && this.lowerCasedApm(apmValue) === 'am') {
return this.amText;
}
if (this.pmText && this.lowerCasedApm(apmValue) === 'pm') {
return this.pmText;
}
return apmValue;
},
toggleActive: function toggleActive() {
var _this11 = this;
if (this.disabled) {
return;
}
this.isActive = !this.isActive;
if (this.isActive) {
this.isFocusing = true;
if (this.manualInput) {
this.$emit('focus');
}
if (!this.opts.hideDropdown) {
this.setDropdownState(true);
} // Record to check if value did change in the later phase
if (this.lazy) {
this.bakDisplayTime = String(this.displayTime || '');
}
if (this.manualInput && !this.inputIsEmpty) {
this.$nextTick(function () {
if (_this11.$refs.input && _this11.$refs.input.selectionStart === 0 && _this11.$refs.input.selectionEnd === _this11.displayTime.length) {
// Select the first slot instead of the whole value string when tabbed in
_this11.selectFirstSlot();
}
});
}
} else {
if (this.showDropdown) {
this.setDropdownState(false);
} else if (this.manualInput) {
this.$emit('blur');
}
this.isFocusing = false;
if (this.lazy) {
this.fillValues(true);
this.bakDisplayTime = undefined;
}
}
if (this.restrictedHourRange && this.baseOn12Hours) {
this.showDropdown ? this.forceApmSelection() : this.emptyApmSelection();
}
if (this.showDropdown) {
this.checkForAutoScroll();
}
},
setDropdownState: function setDropdownState(toShow) {
var fromUserClick = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
if (toShow) {
this.keepFocusing();
if (this.autoDirectionEnabled) {
this.checkDropDirection();
}
this.showDropdown = true;
this.$emit('open');
if (fromUserClick) {
if (this.fixedDropdownButton) {
this.isActive = true;
}
this.$emit('blur');
this.checkForAutoScroll();
}
} else {
this.showDropdown = false;
this.$emit('close');
}
},
blurEvent: function blurEvent() {
if (this.manualInput && !this.opts.hideDropdown) {
// hideDropdown's `blur` event is handled somewhere else
this.$emit('blur');
}
},
select: function select(type, value) {
if (this.isBasicType(type) && !this.isDisabled(type, value)) {
this[type] = value;
if (this.doClearApmChecking) {
this.doClearApmChecking = false;
}
}
},
clearTime: function clearTime() {
if (this.disabled) {
return;
}
this.hour = '';
this.minute = '';
this.second = '';
this.apm = '';
if (this.manualInput && this.$refs && this.$refs.input && this.$refs.input.value.length) {
this.$refs.input.value = '';
}
if (this.lazy) {
this.fillValues(true);
}
},
//
// Auto-Scroll
//
checkForAutoScroll: function checkForAutoScroll() {
var _this12 = this;
if (this.inputIsEmpty) {
return;
}
if (this.autoScroll) {
this.$nextTick(function () {
_this12.scrollToSelectedValues();
});
} else if (this.advancedKeyboard) {
// Auto-focus on selected value in the first column for advanced-keyboard
this.$nextTick(function () {
var firstColumn = _this12.inUse.types[0];
_this12.scrollToSelected(firstColumn, true);
});
}
},
scrollToSelected: function scrollToSelected(column) {
var allowFallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
if (!this.timeValue || this.inputIsEmpty) {
return;
}
var targetList = this.$el.querySelectorAll("ul.".concat(column, "s"))[0];
var targetValue = this.activeItemInCol(column)[0];
if (!targetValue && allowFallback) {
// No value selected in the target column, fallback to the first found valid item
targetValue = this.validItemsInCol(column)[0];
}
if (targetList && targetValue) {
targetList.scrollTop = targetValue.offsetTop || 0;
if (this.advancedKeyboard) {
targetValue.focus();
}
}
},
scrollToSelectedValues: function scrollToSelectedValues() {
var _this13 = this;
if (!this.timeValue || this.inputIsEmpty) {
return;
}
this.inUse.types.forEach(function (section) {
_this13.scrollToSelected(section);
});
},
//
// Additional Keyboard Navigation
//
onFocus: function onFocus() {
if (this.disabled) {
return;
}
if (!this.isFocusing) {
this.isFocusing = true;
}
if (!this.isActive) {
this.toggleActive();
}
},
escBlur: function escBlur() {
if (this.disabled) {
return;
}
window.clearTimeout(this.debounceTimer);
this.isFocusing = false;
var inputBox = this.$el.querySelectorAll('input.display-time')[0];
if (inputBox) {
inputBox.blur();
}
},
debounceBlur: function debounceBlur() {
var _this14 = this;
if (this.disabled) {
return;
}
this.isFocusing = false;
window.clearTimeout(this.debounceTimer);
this.debounceTimer = window.setTimeout(function () {
window.clearTimeout(_this14.debounceTimer);
_this14.onBlur();
}, this.opts.blurDelay);
},
onBlur: function onBlur() {
if (!this.disabled && !this.isFocusing && this.isActive) {
this.toggleActive();
}
},
keepFocusing: function keepFocusing() {
if (this.disabled) {
return;
}
window.clearTimeout(this.debounceTimer);
if (!this.isFocusing) {
this.isFocusing = true;
}
},
validItemsInCol: function validItemsInCol(column) {
var columnClass = "".concat(column, "s");
return this.$el.querySelectorAll("ul.".concat(columnClass, " > li:not(.hint):not([disabled])"));
},
activeItemInCol: function activeItemInCol(column) {
var columnClass = "".concat(column, "s");
return this.$el.querySelectorAll("ul.".concat(columnClass, " > li.active:not(.hint)"));
},
getClosestSibling: function getClosestSibling(column, dataKey) {
var getPrevious = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
var siblingsInCol = this.validItemsInCol(column);
var selfIndex = Array.prototype.findIndex.call(siblingsInCol, function (sbl) {
return sbl.getAttribute('data-key') === dataKey;
}); // Already the first item
if (getPrevious && selfIndex === 0) {
return siblingsInCol[siblingsInCol.length - 1];
} // Already the last item
if (!getPrevious && selfIndex === siblingsInCol.length - 1) {
return siblingsInCol[0];
} // Selected value not in the valid values list
if (selfIndex < 0) {
return siblingsInCol[0];
}
if (getPrevious) {
return siblingsInCol[selfIndex - 1];
}
return siblingsInCol[selfIndex + 1];
},
prevItem: function prevItem(column, dataKey) {
var isManualInput = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
var targetItem = this.getClosestSibling(column, dataKey, true);
if (targetItem) {
return isManualInput ? targetItem : targetItem.focus();
}
},
nextItem: function nextItem(column, dataKey) {
var isManualInput = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
var targetItem = this.getClosestSibling(column, dataKey, false);
if (targetItem) {
return isManualInput ? targetItem : targetItem.focus();
}
},
getSideColumnName: function getSideColumnName(currentColumn) {
var toLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var currentColumnIndex = this.inUse.types.indexOf(currentColumn);
if (toLeft && currentColumnIndex <= 0) {
if (this.debugMode) {
this.debugLog('You\'re in the leftmost list already');
}
return;
} else if (!toLeft && currentColumnIndex === this.inUse.types.length - 1) {
if (this.debugMode) {
this.debugLog('You\'re in the rightmost list already');
}
return;
}
return this.inUse.types[toLeft ? currentColumnIndex - 1 : currentColumnIndex + 1];
},
getFirstItemInSideColumn: function getFirstItemInSideColumn(currentColumn) {
var toLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var targetColumn = this.getSideColumnName(currentColumn, toLeft);
if (!targetColumn) {
return;
}
var listItems = this.validItemsInCol(targetColumn);
if (listItems && listItems[0]) {
return listItems[0];
}
},
getActiveItemInSideColumn: function getActiveItemInSideColumn(currentColumn) {
var toLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var targetColumn = this.getSideColumnName(currentColumn, toLeft);
if (!targetColumn) {
return;
}
var activeItems = this.activeItemInCol(targetColumn);
if (activeItems && activeItems[0]) {
return activeItems[0];
}
},
toLeftColumn: function toLeftColumn(currentColumn) {
var targetItem = this.getActiveItemInSideColumn(currentColumn, true) || this.getFirstItemInSideColumn(currentColumn, true);
if (targetItem) {
targetItem.focus();
}
},
toRightColumn: function toRightColumn(currentColumn) {
var targetItem = this.getActiveItemInSideColumn(currentColumn, false) || this.getFirstItemInSideColumn(currentColumn, false);
if (targetItem) {
targetItem.focus();
}
},
//
// Manual Input
//
onMouseDown: function onMouseDown() {
var _this15 = this;
if (!this.manualInput) {
return;
}
window.clearTimeout(this.selectionTimer);
this.selectionTimer = window.setTimeout(function () {
window.clearTimeout(_this15.selectionTimer);
if (_this15.$refs && _this15.$refs.input) {
var nearestSlot = _this15.getNearestChunkByPos(_this15.$refs.input.selectionStart || 0);
_this15.debounceSetInputSelection(nearestSlot);
}
}, 50);
},
keyDownHandler: function keyDownHandler(evt) {
if (evt.isComposing || evt.keyCode === 229) {
// Skip IME inputs
evt.preventDefault();
evt.stopPropagation();
return false;
} // Numbers
if (evt.keyCode >= 48 && evt.keyCode <= 57 || evt.keyCode >= 96 && evt.keyCode <= 105) {
evt.preventDefault();
this.keyboardInput(evt.key); // A|P|M
} else if ([65, 80, 77].includes(evt.keyCode)) {
evt.preventDefault();
this.keyboardInput(evt.key, true); // Arrow keys
} else if (evt.keyCode >= 37 && evt.keyCode <= 40) {
evt.preventDefault();
this.clearKbInputLog();
this.arrowHandler(evt); // Delete|Backspace
} else if (evt.keyCode === 8 || evt.keyCode === 46) {
evt.preventDefault();
this.clearKbInputLog();
this.clearTime(); // Tab
} else if (evt.keyCode === 9) {
this.clearKbInputLog();
this.tabHandler(evt); // Prevent any Non-ESC and non-pasting inputs
} else if (evt.keyCode !== 27 && !(evt.metaKey || evt.ctrlKey)) {
evt.preventDefault();
}
},
onCompostionStart: function onCompostionStart(evt) {
evt.preventDefault();
evt.stopPropagation();
this.bakCurrentPos = this.getCurrentTokenChunk();
return false;
},
onCompostionEnd: function onCompostionEnd(evt) {
var _this16 = this;
evt.preventDefault();
evt.stopPropagation();
var cpsData = evt.data;
var inputIsCustomApmText = false;
if (this.has.customApmText) {
inputIsCustomApmText = this.isCustomApmText(cpsData);
}
if (inputIsCustomApmText) {
this.setSanitizedValueToSection('apm', inputIsCustomApmText);
}
this.$refs.input.value = this.has.customApmText ? this.customDisplayTime : this.displayTime;
this.$nextTick(function () {
if (_this16.bakCurrentPos) {
var bakPos = JSON.parse(JSON.stringify(_this16.bakCurrentPos));
if (inputIsCustomApmText) {
bakPos.end = bakPos.start + cpsData.length;
}
_this16.debounceSetInputSelection(bakPos);
_this16.bakCurrentPos = null;
}
});
return false;
},
pasteHandler: function pasteHandler(evt) {
evt.preventDefault();
var pastingText = (evt.clipboardData || window.clipboardData).getData('text');
if (this.debugMode) {
this.debugLog("Pasting value \"".concat(pastingText, "\" from clipboard"));
}
if (!pastingText || !pastingText.length) {
return;
} // Replace custom AM/PM text (if any)
if (this.has.customApmText) {
pastingText = this.replaceCustomApmText(pastingText);
}
if (this.inputIsEmpty) {
this.readStringValues(pastingText);
} else {
this.kbInputLog = pastingText.substr(-2, 2);
this.setKbInput();
this.debounceClearKbLog();
}
},
arrowHandler: function arrowHandler(evt) {
var direction = {
37: 'L',
38: 'U',
39: 'R',
40: 'D'
}[evt.keyCode];
if (direction === 'U' || direction === 'D') {
if (this.inputIsEmpty) {
this.selectFirstValidValue();
} else {
var currentChunk = this.getCurrentTokenChunk();
if (!currentChunk) {
this.selectFirstValidValue();
return;
}
var tokenType = currentChunk.type;
this.getClosestValidItemInCol(tokenType, this[tokenType], direction);
var newChunkPos = this.getCurrentTokenChunk();
this.debounceSetInputSelection(newChunkPos);
}
} else if (direction === 'R') {
this.toLateralToken(false);
} else if (direction === 'L') {
this.toLateralToken(true);
}
},
tabHandler: function tabHandler(evt) {
if (!this.inputIsEmpty && this.tokenChunksPos && this.tokenChunksPos.length) {
var currentChunk = this.getCurrentTokenChunk();
if (!currentChunk) {
return;
}
var firstChunk = this.tokenChunksPos[0];
var lastChunk = this.tokenChunksPos[this.tokenChunksPos.length - 1];
if (evt.shiftKey && currentChunk.token !== firstChunk.token || !evt.shiftKey && currentChunk.token !== lastChunk.token) {
evt.preventDefault();
this.toLateralToken(evt.shiftKey);
}
}
},
keyboardInput: function keyboardInput(newChar) {
var isApm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var currentChunk = this.getCurrentTokenChunk();
if (!currentChunk || currentChunk.type !== 'apm' && isApm || currentChunk.type === 'apm' && !isApm) {
return;
}
this.kbInputLog = "".concat(this.kbInputLog.substr(-1)).concat(newChar);
this.setKbInput();
this.debounceClearKbLog();
},
clearKbInputLog: function clearKbInputLog() {
window.clearTimeout(this.kbInputTimer);
this.kbInputLog = '';
},
debounceClearKbLog: function debounceClearKbLog() {
var _this17 = this;
window.clearTimeout(this.kbInputTimer);
this.kbInputTimer = window.setTimeout(function () {
_this17.clearKbInputLog();
}, this.opts.manualInputTimeout);
},
setKbInput: function setKbInput(value) {
value = value || this.kbInputLog;
var currentChunk = this.getCurrentTokenChunk();
if (!currentChunk || !value || !value.length) {
return;
}
var chunkType = currentChunk.type;
var chunkToken = currentChunk.token;
var validValue;
if (chunkType === 'apm') {
if (this.lowerCasedApm(value).includes('a')) {
validValue = 'am';
} else if (this.lowerCasedApm(value).includes('p')) {
validValue = 'pm';
}
if (validValue) {
validValue = chunkToken === 'A' ? validValue.toUpperCase() : validValue;
}
} else {
if (this.isValidValue(chunkToken, value)) {
validValue = value;
} else {
var lastInputValue = this.formatValue(chunkToken, value.substr(-1));
if (this.isValidValue(chunkToken, lastInputValue)) {
validValue = lastInputValue;
}
}
}
if (validValue) {
this.setSanitizedValueToSection(chunkType, validValue);
var newChunkPos = this.getCurrentTokenChunk();
this.debounceSetInputSelection(newChunkPos);
}
if (this.debugMode) {
if (validValue) {
this.debugLog("Successfully set value \"".concat(validValue, "\" from latest input \"").concat(value, "\" for the \"").concat(chunkType, "\" slot"));
} else {
this.debugLog("Value \"".concat(value, "\" is invalid in the \"").concat(chunkType, "\" slot"));
}
}
},
// Form Autofill
onChange: function onChange() {
if (!this.manualInput || !this.$refs || !this.$refs.input) {
return;
}
var autoFillValue = this.$refs.input.value || '';
if (autoFillValue && autoFillValue.length) {
this.readStringValues(autoFillValue);
}
},
getNearestChunkByPos: function getNearestChunkByPos(startPos) {
if (!this.tokenChunksPos || !this.tokenChunksPos.length) {
return;
}
var nearest;
var nearestDelta = -1;
for (var i = 0; i < this.tokenChunksPos.length; i++) {
var chunk = JSON.parse(JSON.stringify(this.tokenChunksPos[i]));
if (chunk.start === startPos) {
return chunk;
}
var delta = Math.abs(chunk.start - startPos);
if (nearestDelta < 0) {
nearest = chunk;
nearestDelta = delta;
} else {
if (nearestDelta <= delta) {
return nearest;
}
nearestDelta = delta;
nearest = chunk;
}
}
return nearest;
},
selectFirstValidValue: function selectFirstValidValue() {
if (!this.tokenChunksPos || !this.tokenChunksPos.length) {
return;
}
var firstSlotType = this.tokenChunksPos[0].type;
if (firstSlotType === 'hour') {
this.getClosestHourItem();
} else {
this.getClosestValidItemInCol(firstSlotType, this[firstSlotType]);
}
this.selectFirstSlot();
},
getClosestHourItem: function getClosestHourItem(currentValue) {
var _this18 = this;
var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'U';
if (!this.validHoursList || !this.validHoursList.length) {
if (this.debugMode) {
this.debugLog("No valid hour values found, please check your \"hour-range\" config\nhour-range: ".concat(JSON.stringify(this.hourRange)));
}
return;
}
if (!currentValue) {
this.setManualHour(this.validHoursList[0]);
return;
}
var currentIndex = this.validHoursList.findIndex(function (item) {
if (!_this18.baseOn12Hours) {
return item === currentValue;
} else {
var valueKey = "".concat(currentValue).concat(_this18.lowerCasedApm(_this18.apm) === 'pm' ? 'p' : 'a');
return item === valueKey;
}
});
var nextIndex;
if (currentIndex === -1) {
nextIndex = 0;
} else if (direction === 'D') {
nextIndex = currentIndex === 0 ? this.validHoursList.length - 1 : currentIndex - 1;
} else {
nextIndex = (currentIndex + 1) % this.validHoursList.length;
}
var nextItem = this.validHoursList[nextIndex];
this.setManualHour(nextItem);
},
getClosestValidItemInCol: function getClosestValidItemInCol(column, currentValue) {
var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'U';
if (column === 'hour') {
this.getClosestHourItem(currentValue, direction);
} else {
var nextItem = direction === 'D' ? this.prevItem(column, this[column], true) : this.nextItem(column, this[column], true);
if (nextItem) {
this.select(column, nextItem.getAttribute('data-key'));
}
}
},
setSanitizedValueToSection: function setSanitizedValueToSection(section, inputValue) {
if (!section || !this.getTokenByType(section)) {
return;
} // NOTE: Disabled values are allowed here, followed by an 'error' event, though
var sanitizedValue = this.sanitizedValue(this.getTokenByType(section), inputValue);
this[section] = sanitizedValue;
},
setManualHour: function setManualHour(nextItem) {
if (this.is12hRange(nextItem)) {
var hourT = this.match12hRange(nextItem);
var apmValue = hourT[2] === 'a' ? 'AM' : 'PM';
this.setSanitizedValueToSection('apm', this.apmType === 'a' ? apmValue.toLowerCase() : apmValue);
this.setSanitizedValueToSection('hour', hourT[1]);
} else {
this.setSanitizedValueToSection('hour', nextItem);
}
},
debounceSetInputSelection: function debounceSetInputSelection(_ref) {
var _this19 = this;
var _ref$start = _ref.start,
start = _ref$start === void 0 ? 0 : _ref$start,
_ref$end = _ref.end,
end = _ref$end === void 0 ? 0 : _ref$end;
this.$nextTick(function () {
_this19.setInputSelectionRange(start, end);
});
window.clearTimeout(this.selectionTimer);
this.selectionTimer = window.setTimeout(function () {
window.clearTimeout(_this19.selectionTimer); // Double-check selection for 12hr format
if (_this19.$refs.input && (_this19.$refs.input.selectionStart !== start || _this19.$refs.input.selectionEnd !== end)) {
_this19.setInputSelectionRange(start, end);
}
}, 30);
},
setInputSelectionRange: function setInputSelectionRange(start, end) {
if (this.$refs && this.$refs.input) {
this.$refs.input.setSelectionRange(start, end);
}
},
getCurrentTokenChunk: function getCurrentTokenChunk() {
return this.getNearestChunkByPos(this.$refs.input && this.$refs.input.selectionStart || 0);
},
selectFirstSlot: function selectFirstSlot() {
var firstChunkPos = this.getNearestChunkByPos(0);
this.debounceSetInputSelection(firstChunkPos);
},
toLateralToken: function toLateralToken(toLeft) {
var currentChunk = this.getCurrentTokenChunk();
if (!currentChunk) {
this.selectFirstValidValue();
return;
}
var currentChunkIndex = this.tokenChunksPos.findIndex(function (chk) {
return chk.token === currentChunk.token;
});
if (!toLeft && currentChunkIndex >= this.tokenChunksPos.length - 1 || toLeft && currentChunkIndex === 0) {
if (this.debugMode) {
if (toLeft) {
this.debugLog('You\'re in the leftmost slot already');
} else {
this.debugLog('You\'re in the rightmost slot already');
}
}
return;
}
var targetSlotPos = toLeft ? this.tokenChunksPos[currentChunkIndex - 1] : this.tokenChunksPos[currentChunkIndex + 1];
this.debounceSetInputSelection(targetSlotPos);
},
isCustomApmText: function isCustomApmText(inputData) {
if (!inputData || !inputData.length) {
return false;
}
if (this.amText && this.amText === inputData) {
return this.apmType === 'A' ? 'AM' : 'am';
}
if (this.pmText && this.pmText === inputData) {
return this.apmType === 'A' ? 'PM' : 'pm';
}
return false;
},
replaceCustomApmText: function replaceCustomApmText(inputString) {
if (this.amText && this.amText.length && inputString.includes(this.amText)) {
return inputString.replace(new RegExp(this.amText, 'g'), this.apmType === 'A' ? 'AM' : 'am');
} else if (this.pmText && this.pmText.length && inputString.includes(this.pmText)) {
return inputString.replace(new RegExp(this.pmText, 'g'), this.apmType === 'A' ? 'PM' : 'pm');
}
return inputString;
},
checkDropDirection: function checkDropDirection() {
if (!this.$el) {
return;
}
var container;
if (this.containerId && this.containerId.length) {
container = document.getElementById(this.containerId);
if (!container && this.debugMode) {
this.debugLog("Container with id \"".concat(this.containerId, "\" not found. Fallback to document body."));
}
}
var el = this.$el;
var spaceDown;
if (container && container.offsetHeight) {
// Valid container found
spaceDown = container.offsetTop + container.offsetHeight - (el.offsetTop + el.offsetHeight);
} else {
// Fallback to document body
var docHeight = Math.max(document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, document.documentElement.clientHeight);
spaceDown = docHeight - (el.offsetTop + el.offsetHeight);
}
this.forceDropOnTop = this.opts.dropOffsetHeight > spaceDown;
},
//
// Helpers
//
is12hRange: function is12hRange(value) {
return /^\d{1,2}(a|p|A|P)$/.test(value);
},
match12hRange: function match12hRange(value) {
return value.match(/^(\d{1,2})(a|p|A|P)$/);
},
isNumber: function isNumber(value) {
return !isNaN(parseFloat(value)) && isFinite(value);
},
isBasicType: function isBasicType(type) {
return CONFIG.BASIC_TYPES.includes(type);
},
lowerCasedApm: function lowerCasedApm(apmValue) {
return (apmValue || '').toLowerCase();
},
getTokenRegex: function getTokenRegex(token) {
switch (token) {
case 'HH':
return '([01][0-9]|2[0-3]|H{2})';
case 'H':
return '([0-9]{1}|1[0-9]|2[0-3]|H{1})';
case 'hh':
return '(0[1-9]|1[0-2]|h{2})';
case 'h':
return '([1-9]{1}|1[0-2]|h{1})';
case 'kk':
return '(0[1-9]|1[0-9]|2[0-4]|k{2})';
case 'k':
return '([1-9]{1}|1[0-9]|2[0-4]|k{1})';
case 'mm':
return '([0-5][0-9]|m{2})';
case 'ss':
return '([0-5][0-9]|s{2})';
case 'm':
return '([0-9]{1}|[1-5][0-9]|m{1})';
case 's':
return '([0-9]{1}|[1-5][0-9]|s{1})';
case 'A':
return '(AM|PM|A{1})';
case 'a':
return '(am|pm|a{1})';
default:
return '';
}
},
isEmptyValue: function isEmptyValue(targetToken, testValue) {
return !testValue || !testValue.length || testValue && testValue === targetToken;
},
isValidValue: function isValidValue(targetToken, testValue) {
if (!targetToken || this.isEmptyValue(targetToken, testValue)) {
return false;
}
var tokenRegexStr = this.getTokenRegex(targetToken);
if (!tokenRegexStr || !tokenRegexStr.length) {
return false;
}
return new RegExp("^".concat(tokenRegexStr, "$")).test(testValue);
},
sanitizedValue: function sanitizedValue(targetToken, inputValue) {
if (this.isValidValue(targetToken, inputValue)) {
return inputValue;
}
return '';
},
getTokenType: function getTokenType(token) {
return this.inUse.types[this.inUse.tokens.indexOf(token)] || '';
},
getTokenByType: function getTokenByType(type) {
return this["".concat(type, "Type")] || '';
},
isMinuteOrSecond: function isMinuteOrSecond(type) {
return ['minute', 'second'].includes(type);
},
debugLog: function debugLog(logText) {
var _this20 = this;
if (!logText || !logText.length) {
return;
}
var identifier = '';
if (this.id) {
identifier += "#".concat(this.id);
}
if (this.name) {
identifier += "[name=".concat(this.name, "]");
}
if (this.inputClass) {
var inputClasses = [];
if (typeof this.inputClass === 'string') {
inputClasses = this.inputClass.split(/\s/g);
} else if (Array.isArray(this.inputClass)) {
inputClasses = [].concat([], this.inputClass);
} else if (_typeof(this.inputClass) === 'object') {
Object.keys(this.inputClass).forEach(function (clsName) {
if (_this20.inputClass[clsName]) {
inputClasses.push(clsName);
}
});
}
var _iterator4 = _createForOfIteratorHelper(inputClasses),
_step4;
try {
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
var inputClass = _step4.value;
if (inputClass && inputClass.trim().length) {
identifier += ".".concat(inputClass.trim());
}
}
} catch (err) {
_iterator4.e(err);
} finally {
_iterator4.f();
}
}
var finalLogText = "DEBUG: ".concat(logText).concat(identifier ? "\n\t(".concat(identifier, ")") : '');
if (window.console.debug && typeof window.console.debug === 'function') {
window.console.debug(finalLogText);
} else {
window.console.log(finalLogText);
}
}
},
mounted: function mounted() {
window.clearTimeout(this.debounceTimer);
window.clearTimeout(this.selectionTimer);
window.clearTimeout(this.kbInputTimer);
this.renderFormat();
},
beforeDestroy: function beforeDestroy() {
window.clearTimeout(this.debounceTimer);
window.clearTimeout(this.selectionTimer);
window.clearTimeout(this.kbInputTimer);
}
});
// CONCATENATED MODULE: ./src/vue-timepicker.vue?vue&type=script&lang=js
// EXTERNAL MODULE: ./src/vue-timepicker.vue?vue&type=style&index=0&lang=css
var vue_timepickervue_type_style_index_0_lang_css = __webpack_require__("daa1");
// CONCATENATED MODULE: ./src/vue-timepicker.vue
vue_timepickervue_type_script_lang_js.render = render
/* harmony default export */ var vue_timepicker = (vue_timepickervue_type_script_lang_js);
// CONCATENATED MODULE: ./src/index.js
/* harmony default export */ var src_0 = (vue_timepicker);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0);
/***/ }),
/***/ "fb6a":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__("23e7");
var isObject = __webpack_require__("861d");
var isArray = __webpack_require__("e8b5");
var toAbsoluteIndex = __webpack_require__("23cb");
var toLength = __webpack_require__("50c4");
var toIndexedObject = __webpack_require__("fc6a");
var createProperty = __webpack_require__("8418");
var wellKnownSymbol = __webpack_require__("b622");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var arrayMethodUsesToLength = __webpack_require__("ae40");
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
var SPECIES = wellKnownSymbol('species');
var nativeSlice = [].slice;
var max = Math.max;
// `Array.prototype.slice` method
// https://tc39.github.io/ecma262/#sec-array.prototype.slice
// fallback for not array-like ES3 strings and DOM objects
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
slice: function slice(start, end) {
var O = toIndexedObject(this);
var length = toLength(O.length);
var k = toAbsoluteIndex(start, length);
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
var Constructor, result, n;
if (isArray(O)) {
Constructor = O.constructor;
// cross-realm fallback
if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
Constructor = undefined;
} else if (isObject(Constructor)) {
Constructor = Constructor[SPECIES];
if (Constructor === null) Constructor = undefined;
}
if (Constructor === Array || Constructor === undefined) {
return nativeSlice.call(O, k, fin);
}
}
result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
result.length = n;
return result;
}
});
/***/ }),
/***/ "fc6a":
/***/ (function(module, exports, __webpack_require__) {
// toObject with fallback for non-array-like ES3 strings
var IndexedObject = __webpack_require__("44ad");
var requireObjectCoercible = __webpack_require__("1d80");
module.exports = function (it) {
return IndexedObject(requireObjectCoercible(it));
};
/***/ }),
/***/ "fdbc":
/***/ (function(module, exports) {
// iterable DOM collections
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
module.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
};
/***/ }),
/***/ "fdbf":
/***/ (function(module, exports, __webpack_require__) {
var NATIVE_SYMBOL = __webpack_require__("4930");
module.exports = NATIVE_SYMBOL
// eslint-disable-next-line no-undef
&& !Symbol.sham
// eslint-disable-next-line no-undef
&& typeof Symbol.iterator == 'symbol';
/***/ }),
/***/ "ff32":
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ })
/******/ });
});
//# sourceMappingURL=VueTimepicker.umd.js.map