%PDF- %PDF-
Direktori : /home/eirtvhdf/cloudsslamllc.com/wp-content/plugins/elementor-pro/assets/js/ |
Current File : //home/eirtvhdf/cloudsslamllc.com/wp-content/plugins/elementor-pro/assets/js/admin.js |
/*! elementor-pro - v3.0.8 - 26-11-2020 */ /******/ (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 = 440); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(113); /***/ }), /* 1 */ /***/ (function(module, exports) { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault; /***/ }), /* 2 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.6.11' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 3 */ /***/ (function(module, exports) { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } module.exports = _classCallCheck; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { var _Object$create = __webpack_require__(129); var setPrototypeOf = __webpack_require__(132); function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = _Object$create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) setPrototypeOf(subClass, superClass); } module.exports = _inherits; /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { var _Reflect$construct = __webpack_require__(83); var getPrototypeOf = __webpack_require__(25); var isNativeReflectConstruct = __webpack_require__(142); var possibleConstructorReturn = __webpack_require__(143); function _createSuper(Derived) { var hasNativeReflectConstruct = isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; } module.exports = _createSuper; /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { var _Object$defineProperty = __webpack_require__(0); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; _Object$defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } module.exports = _createClass; /***/ }), /* 7 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(8); var core = __webpack_require__(2); var ctx = __webpack_require__(32); var hide = __webpack_require__(21); var has = __webpack_require__(16); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var IS_WRAP = type & $export.W; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE]; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; var key, own, out; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; if (own && has(exports, key)) continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function (C) { var F = function (a, b, c) { if (this instanceof C) { switch (arguments.length) { case 0: return new C(); case 1: return new C(a); case 2: return new C(a, b); } return new C(a, b, c); } return C.apply(this, arguments); }; F[PROTOTYPE] = C[PROTOTYPE]; return F; // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% if (IS_PROTO) { (exports.virtual || (exports.virtual = {}))[key] = out; // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); } } }; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 8 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 9 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(55)('wks'); var uid = __webpack_require__(38); var Symbol = __webpack_require__(8).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 11 */, /* 12 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(9); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 13 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(69)('wks'); var uid = __webpack_require__(68); var Symbol = __webpack_require__(17).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 14 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(20)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(12); var IE8_DOM_DEFINE = __webpack_require__(78); var toPrimitive = __webpack_require__(52); var dP = Object.defineProperty; exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 16 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 17 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 18 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(90); var defined = __webpack_require__(46); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 19 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__(51); var $find = __webpack_require__(159)(5); var KEY = 'find'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(106)(KEY); /***/ }), /* 20 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 21 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(15); var createDesc = __webpack_require__(28); module.exports = __webpack_require__(14) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 22 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(30)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 23 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(24); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 24 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 25 */ /***/ (function(module, exports, __webpack_require__) { var _Object$getPrototypeOf = __webpack_require__(139); var _Object$setPrototypeOf = __webpack_require__(82); function _getPrototypeOf(o) { module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || _Object$getPrototypeOf(o); }; return _getPrototypeOf(o); } module.exports = _getPrototypeOf; /***/ }), /* 26 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), /* 27 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(46); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 28 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 29 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(39); var createDesc = __webpack_require__(88); module.exports = __webpack_require__(22) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 30 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 31 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(17); var hide = __webpack_require__(29); var has = __webpack_require__(60); var SRC = __webpack_require__(68)('src'); var $toString = __webpack_require__(144); var TO_STRING = 'toString'; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__(44).inspectSource = function (it) { return $toString.call(it); }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val == 'function'; if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { delete O[key]; hide(O, key, val); } else if (O[key]) { O[key] = val; } else { hide(O, key, val); } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), /* 32 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(33); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { 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); }; }; /***/ }), /* 33 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 34 */ /***/ (function(module, exports) { module.exports = true; /***/ }), /* 35 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(80); var enumBugKeys = __webpack_require__(56); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /* 36 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(40); var createDesc = __webpack_require__(28); var toIObject = __webpack_require__(18); var toPrimitive = __webpack_require__(52); var has = __webpack_require__(16); var IE8_DOM_DEFINE = __webpack_require__(78); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 37 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__(12); var dPs = __webpack_require__(94); var enumBugKeys = __webpack_require__(56); var IE_PROTO = __webpack_require__(54)('IE_PROTO'); var Empty = function () { /* empty */ }; var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__(73)('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__(104).appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /* 38 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 39 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(23); var IE8_DOM_DEFINE = __webpack_require__(96); var toPrimitive = __webpack_require__(98); var dP = Object.defineProperty; exports.f = __webpack_require__(22) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 40 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 41 */ /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__(15).f; var has = __webpack_require__(16); var TAG = __webpack_require__(10)('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /* 42 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 43 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 44 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.6.11' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 45 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 46 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 47 */, /* 48 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(49); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 49 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 50 */, /* 51 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(17); var core = __webpack_require__(44); var hide = __webpack_require__(29); var redefine = __webpack_require__(31); var ctx = __webpack_require__(64); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 52 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(9); // 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 (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 53 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 54 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(55)('keys'); var uid = __webpack_require__(38); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 55 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(2); var global = __webpack_require__(8); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(34) ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 56 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 57 */ /***/ (function(module, exports, __webpack_require__) { exports.f = __webpack_require__(10); /***/ }), /* 58 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(8); var core = __webpack_require__(2); var LIBRARY = __webpack_require__(34); var wksExt = __webpack_require__(57); var defineProperty = __webpack_require__(15).f; module.exports = function (name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }), /* 59 */, /* 60 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 61 */ /***/ (function(module, exports, __webpack_require__) { var _Object$getOwnPropertyDescriptor = __webpack_require__(103); var _Reflect$get = __webpack_require__(184); var superPropBase = __webpack_require__(187); function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && _Reflect$get) { module.exports = _get = _Reflect$get; } else { module.exports = _get = function _get(target, property, receiver) { var base = superPropBase(target, property); if (!base) return; var desc = _Object$getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); } module.exports = _get; /***/ }), /* 62 */ /***/ (function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }), /* 63 */, /* 64 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(84); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { 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); }; }; /***/ }), /* 65 */, /* 66 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__(16); var toObject = __webpack_require__(27); var IE_PROTO = __webpack_require__(54)('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = 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 ? ObjectProto : null; }; /***/ }), /* 67 */ /***/ (function(module, exports) { function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } module.exports = _assertThisInitialized; /***/ }), /* 68 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 69 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(44); var global = __webpack_require__(17); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(99) ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 70 */ /***/ (function(module, exports, __webpack_require__) { // most Object methods by ES6 should accept primitives var $export = __webpack_require__(7); var core = __webpack_require__(2); var fails = __webpack_require__(20); module.exports = function (KEY, exec) { var fn = (core.Object || {})[KEY] || Object[KEY]; var exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; /***/ }), /* 71 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $at = __webpack_require__(117)(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(79)(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t; var index = this._i; var point; if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; return { value: point, done: false }; }); /***/ }), /* 72 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(80); var hiddenKeys = __webpack_require__(56).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(9); var document = __webpack_require__(8).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 74 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(21); /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(53); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 76 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(121); var global = __webpack_require__(8); var hide = __webpack_require__(21); var Iterators = __webpack_require__(26); var TO_STRING_TAG = __webpack_require__(10)('toStringTag'); var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + 'TextTrackList,TouchList').split(','); for (var i = 0; i < DOMIterables.length; i++) { var NAME = DOMIterables[i]; var Collection = global[NAME]; var proto = Collection && Collection.prototype; if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = Iterators.Array; } /***/ }), /* 77 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(100); var defined = __webpack_require__(43); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 78 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(14) && !__webpack_require__(20)(function () { return Object.defineProperty(__webpack_require__(73)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 79 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__(34); var $export = __webpack_require__(7); var redefine = __webpack_require__(74); var hide = __webpack_require__(21); var Iterators = __webpack_require__(26); var $iterCreate = __webpack_require__(118); var setToStringTag = __webpack_require__(41); var getPrototypeOf = __webpack_require__(66); var ITERATOR = __webpack_require__(10)('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var VALUES = 'values'; var returnThis = function () { return this; }; module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind]; switch (kind) { case KEYS: return function keys() { return new Constructor(this, kind); }; case VALUES: return function values() { return new Constructor(this, kind); }; } return function entries() { return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; $default = function values() { return $native.call(this); }; } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; if (FORCED) for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; }; /***/ }), /* 80 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(16); var toIObject = __webpack_require__(18); var arrayIndexOf = __webpack_require__(119)(false); var IE_PROTO = __webpack_require__(54)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 81 */ /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__(38)('meta'); var isObject = __webpack_require__(9); var has = __webpack_require__(16); var setDesc = __webpack_require__(15).f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; var FREEZE = !__webpack_require__(20)(function () { return isExtensible(Object.preventExtensions({})); }); var setMeta = function (it) { setDesc(it, META, { value: { i: 'O' + ++id, // object ID w: {} // weak collections IDs } }); }; var fastKey = function (it, create) { // return primitive with prefix if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return 'F'; // not necessary to add metadata if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID } return it[META].i; }; var getWeak = function (it, create) { if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return true; // not necessary to add metadata if (!create) return false; // add missing metadata setMeta(it); // return hash weak collections IDs } return it[META].w; }; // add metadata on freeze-family methods calling var onFreeze = function (it) { if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); return it; }; var meta = module.exports = { KEY: META, NEED: false, fastKey: fastKey, getWeak: getWeak, onFreeze: onFreeze }; /***/ }), /* 82 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(133); /***/ }), /* 83 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(136); /***/ }), /* 84 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 85 */ /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__(42); var TAG = __webpack_require__(13)('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /* 86 */ /***/ (function(module, exports, __webpack_require__) { var _Symbol$iterator = __webpack_require__(115); var _Symbol = __webpack_require__(91); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { module.exports = _typeof = function _typeof(obj) { return typeof obj; }; } else { module.exports = _typeof = function _typeof(obj) { return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } module.exports = _typeof; /***/ }), /* 87 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(45); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 88 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 89 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__(23); 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.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; /***/ }), /* 90 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(45); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 91 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(124); /***/ }), /* 92 */ /***/ (function(module, exports) { /***/ }), /* 93 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(43); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 94 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(15); var anObject = __webpack_require__(12); var getKeys = __webpack_require__(35); module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /* 95 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // ECMAScript 6 symbols shim var global = __webpack_require__(8); var has = __webpack_require__(16); var DESCRIPTORS = __webpack_require__(14); var $export = __webpack_require__(7); var redefine = __webpack_require__(74); var META = __webpack_require__(81).KEY; var $fails = __webpack_require__(20); var shared = __webpack_require__(55); var setToStringTag = __webpack_require__(41); var uid = __webpack_require__(38); var wks = __webpack_require__(10); var wksExt = __webpack_require__(57); var wksDefine = __webpack_require__(58); var enumKeys = __webpack_require__(125); var isArray = __webpack_require__(87); var anObject = __webpack_require__(12); var isObject = __webpack_require__(9); var toObject = __webpack_require__(27); var toIObject = __webpack_require__(18); var toPrimitive = __webpack_require__(52); var createDesc = __webpack_require__(28); var _create = __webpack_require__(37); var gOPNExt = __webpack_require__(126); var $GOPD = __webpack_require__(36); var $GOPS = __webpack_require__(62); var $DP = __webpack_require__(15); var $keys = __webpack_require__(35); var gOPD = $GOPD.f; var dP = $DP.f; var gOPN = gOPNExt.f; var $Symbol = global.Symbol; var $JSON = global.JSON; var _stringify = $JSON && $JSON.stringify; var PROTOTYPE = 'prototype'; var HIDDEN = wks('_hidden'); var TO_PRIMITIVE = wks('toPrimitive'); var isEnum = {}.propertyIsEnumerable; var SymbolRegistry = shared('symbol-registry'); var AllSymbols = shared('symbols'); var OPSymbols = shared('op-symbols'); var ObjectProto = Object[PROTOTYPE]; var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDesc = DESCRIPTORS && $fails(function () { return _create(dP({}, 'a', { get: function () { return dP(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (it, key, D) { var protoDesc = gOPD(ObjectProto, key); if (protoDesc) delete ObjectProto[key]; dP(it, key, D); if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); } : dP; var wrap = function (tag) { var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); sym._k = tag; return sym; }; var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { return typeof it == 'symbol'; } : function (it) { return it instanceof $Symbol; }; var $defineProperty = function defineProperty(it, key, D) { if (it === ObjectProto) $defineProperty(OPSymbols, key, D); anObject(it); key = toPrimitive(key, true); anObject(D); if (has(AllSymbols, key)) { if (!D.enumerable) { if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); it[HIDDEN][key] = true; } else { if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; D = _create(D, { enumerable: createDesc(0, false) }); } return setSymbolDesc(it, key, D); } return dP(it, key, D); }; var $defineProperties = function defineProperties(it, P) { anObject(it); var keys = enumKeys(P = toIObject(P)); var i = 0; var l = keys.length; var key; while (l > i) $defineProperty(it, key = keys[i++], P[key]); return it; }; var $create = function create(it, P) { return P === undefined ? _create(it) : $defineProperties(_create(it), P); }; var $propertyIsEnumerable = function propertyIsEnumerable(key) { var E = isEnum.call(this, key = toPrimitive(key, true)); if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { it = toIObject(it); key = toPrimitive(key, true); if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; var D = gOPD(it, key); if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; return D; }; var $getOwnPropertyNames = function getOwnPropertyNames(it) { var names = gOPN(toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); } return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { var IS_OP = it === ObjectProto; var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); } return result; }; // 19.4.1.1 Symbol([description]) if (!USE_NATIVE) { $Symbol = function Symbol() { if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); var $set = function (value) { if (this === ObjectProto) $set.call(OPSymbols, value); if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDesc(this, tag, createDesc(1, value)); }; if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; $DP.f = $defineProperty; __webpack_require__(72).f = gOPNExt.f = $getOwnPropertyNames; __webpack_require__(40).f = $propertyIsEnumerable; $GOPS.f = $getOwnPropertySymbols; if (DESCRIPTORS && !__webpack_require__(34)) { redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } wksExt.f = function (name) { return wrap(wks(name)); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); for (var es6Symbols = ( // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) 'for': function (key) { return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key); }, // 19.4.2.5 Symbol.keyFor(sym) keyFor: function keyFor(sym) { if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; }, useSetter: function () { setter = true; }, useSimple: function () { setter = false; } }); $export($export.S + $export.F * !USE_NATIVE, 'Object', { // 19.1.2.2 Object.create(O [, Properties]) create: $create, // 19.1.2.4 Object.defineProperty(O, P, Attributes) defineProperty: $defineProperty, // 19.1.2.3 Object.defineProperties(O, Properties) defineProperties: $defineProperties, // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) getOwnPropertyDescriptor: $getOwnPropertyDescriptor, // 19.1.2.7 Object.getOwnPropertyNames(O) getOwnPropertyNames: $getOwnPropertyNames, // 19.1.2.8 Object.getOwnPropertySymbols(O) getOwnPropertySymbols: $getOwnPropertySymbols }); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { getOwnPropertySymbols: function getOwnPropertySymbols(it) { return $GOPS.f(toObject(it)); } }); // 24.3.2 JSON.stringify(value [, replacer [, space]]) $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { var S = $Symbol(); // MS Edge converts symbol values to JSON as {} // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { stringify: function stringify(it) { var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); $replacer = replacer = args[1]; 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($JSON, args); } }); // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(21)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); // 19.4.3.5 Symbol.prototype[@@toStringTag] setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); /***/ }), /* 96 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(22) && !__webpack_require__(30)(function () { return Object.defineProperty(__webpack_require__(97)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 97 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(24); var document = __webpack_require__(17).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 98 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(24); // 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 (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 99 */ /***/ (function(module, exports) { module.exports = false; /***/ }), /* 100 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(42); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 101 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var anObject = __webpack_require__(23); var toObject = __webpack_require__(93); var toLength = __webpack_require__(48); var toInteger = __webpack_require__(49); var advanceStringIndex = __webpack_require__(112); var regExpExec = __webpack_require__(107); 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 __webpack_require__(108)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { return [ // `String.prototype.replace` method // https://tc39.github.io/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = defined(this); var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; return fn !== undefined ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace function (regexp, replaceValue) { var res = maybeCallNative($replace, 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 $replace.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; }); } }); /***/ }), /* 102 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpFlags = __webpack_require__(89); 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 LAST_INDEX = 'lastIndex'; var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/, re2 = /b*/g; nativeExec.call(re1, 'a'); nativeExec.call(re2, 'a'); return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; })(); // 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; if (PATCH) { patchedExec = function exec(str) { var re = this; var lastIndex, reCopy, match, i; if (NPCG_INCLUDED) { reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; match = nativeExec.call(re, str); if (UPDATES_LAST_INDEX_WRONG && match) { re[LAST_INDEX] = 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 /(.?)?/ // eslint-disable-next-line no-loop-func 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; /***/ }), /* 103 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(154); /***/ }), /* 104 */ /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__(8).document; module.exports = document && document.documentElement; /***/ }), /* 105 */ /***/ (function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; switch (args.length) { case 0: return un ? fn() : fn.call(that); case 1: return un ? fn(args[0]) : fn.call(that, args[0]); case 2: return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]); case 3: return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]); case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]); } return fn.apply(that, args); }; /***/ }), /* 106 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = __webpack_require__(13)('unscopables'); var ArrayProto = Array.prototype; if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(29)(ArrayProto, UNSCOPABLES, {}); module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true; }; /***/ }), /* 107 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var classof = __webpack_require__(85); var builtinExec = RegExp.prototype.exec; // `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 new TypeError('RegExp exec method returned something other than an Object or null'); } return result; } if (classof(R) !== 'RegExp') { throw new TypeError('RegExp#exec called on incompatible receiver'); } return builtinExec.call(R, S); }; /***/ }), /* 108 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(183); var redefine = __webpack_require__(31); var hide = __webpack_require__(29); var fails = __webpack_require__(30); var defined = __webpack_require__(43); var wks = __webpack_require__(13); var regexpExec = __webpack_require__(102); var SPECIES = wks('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'; }); var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec 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) { var SYMBOL = wks(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/; re.exec = function () { execCalled = true; return null; }; if (KEY === 'split') { // 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[SYMBOL](''); return !execCalled; }) : undefined; if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) ) { var nativeRegExpMethod = /./[SYMBOL]; var fns = exec( defined, SYMBOL, ''[KEY], function maybeCallNative(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 }; } ); var strfn = fns[0]; var rxfn = fns[1]; redefine(String.prototype, KEY, strfn); hide(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 rxfn.call(string, this, arg); } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) : function (string) { return rxfn.call(string, this); } ); } }; /***/ }), /* 109 */ /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__(45); var TAG = __webpack_require__(10)('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /* 110 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(39).f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; var NAME = 'name'; // 19.2.4.2 name NAME in FProto || __webpack_require__(22) && dP(FProto, NAME, { configurable: true, get: function () { try { return ('' + this).match(nameRE)[1]; } catch (e) { return ''; } } }); /***/ }), /* 111 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 19.1.3.6 Object.prototype.toString() var classof = __webpack_require__(85); var test = {}; test[__webpack_require__(13)('toStringTag')] = 'z'; if (test + '' != '[object z]') { __webpack_require__(31)(Object.prototype, 'toString', function toString() { return '[object ' + classof(this) + ']'; }, true); } /***/ }), /* 112 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var at = __webpack_require__(164)(true); // `AdvanceStringIndex` abstract operation // https://tc39.github.io/ecma262/#sec-advancestringindex module.exports = function (S, index, unicode) { return index + (unicode ? at(S, index).length : 1); }; /***/ }), /* 113 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(114); var $Object = __webpack_require__(2).Object; module.exports = function defineProperty(it, key, desc) { return $Object.defineProperty(it, key, desc); }; /***/ }), /* 114 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(7); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f }); /***/ }), /* 115 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(116); /***/ }), /* 116 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(71); __webpack_require__(76); module.exports = __webpack_require__(57).f('iterator'); /***/ }), /* 117 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(53); var defined = __webpack_require__(46); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 118 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__(37); var descriptor = __webpack_require__(28); var setToStringTag = __webpack_require__(41); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(21)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /* 119 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(18); var toLength = __webpack_require__(75); var toAbsoluteIndex = __webpack_require__(120); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($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) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 120 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(53); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 121 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var addToUnscopables = __webpack_require__(122); var step = __webpack_require__(123); var Iterators = __webpack_require__(26); var toIObject = __webpack_require__(18); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__(79)(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t; var kind = this._k; var index = this._i++; if (!O || index >= O.length) { this._t = undefined; return step(1); } if (kind == 'keys') return step(0, index); if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); /***/ }), /* 122 */ /***/ (function(module, exports) { module.exports = function () { /* empty */ }; /***/ }), /* 123 */ /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /* 124 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(95); __webpack_require__(92); __webpack_require__(127); __webpack_require__(128); module.exports = __webpack_require__(2).Symbol; /***/ }), /* 125 */ /***/ (function(module, exports, __webpack_require__) { // all enumerable object keys, includes symbols var getKeys = __webpack_require__(35); var gOPS = __webpack_require__(62); var pIE = __webpack_require__(40); module.exports = function (it) { var result = getKeys(it); var getSymbols = gOPS.f; if (getSymbols) { var symbols = getSymbols(it); var isEnum = pIE.f; var i = 0; var key; while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); } return result; }; /***/ }), /* 126 */ /***/ (function(module, exports, __webpack_require__) { // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = __webpack_require__(18); var gOPN = __webpack_require__(72).f; var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return gOPN(it); } catch (e) { return windowNames.slice(); } }; module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; /***/ }), /* 127 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(58)('asyncIterator'); /***/ }), /* 128 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(58)('observable'); /***/ }), /* 129 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(130); /***/ }), /* 130 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(131); var $Object = __webpack_require__(2).Object; module.exports = function create(P, D) { return $Object.create(P, D); }; /***/ }), /* 131 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(7); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: __webpack_require__(37) }); /***/ }), /* 132 */ /***/ (function(module, exports, __webpack_require__) { var _Object$setPrototypeOf = __webpack_require__(82); function _setPrototypeOf(o, p) { module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } module.exports = _setPrototypeOf; /***/ }), /* 133 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(134); module.exports = __webpack_require__(2).Object.setPrototypeOf; /***/ }), /* 134 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = __webpack_require__(7); $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(135).set }); /***/ }), /* 135 */ /***/ (function(module, exports, __webpack_require__) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(9); var anObject = __webpack_require__(12); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line function (test, buggy, set) { try { set = __webpack_require__(32)(Function.call, __webpack_require__(36).f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); } catch (e) { buggy = true; } return function setPrototypeOf(O, proto) { check(O, proto); if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check }; /***/ }), /* 136 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(137); module.exports = __webpack_require__(2).Reflect.construct; /***/ }), /* 137 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = __webpack_require__(7); var create = __webpack_require__(37); var aFunction = __webpack_require__(33); var anObject = __webpack_require__(12); var isObject = __webpack_require__(9); var fails = __webpack_require__(20); var bind = __webpack_require__(138); var rConstruct = (__webpack_require__(8).Reflect || {}).construct; // MS Edge supports only 2 arguments and argumentsList argument is optional // FF Nightly sets third argument as `new.target`, but does not create `this` from it var NEW_TARGET_BUG = fails(function () { function F() { /* empty */ } return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); }); var ARGS_BUG = !fails(function () { rConstruct(function () { /* empty */ }); }); $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { construct: function construct(Target, args /* , newTarget */) { aFunction(Target); anObject(args); var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); if (Target == newTarget) { // w/o altered newTarget, optimization for 0-4 arguments switch (args.length) { case 0: return new Target(); case 1: return new Target(args[0]); case 2: return new Target(args[0], args[1]); case 3: return new Target(args[0], args[1], args[2]); case 4: return new Target(args[0], args[1], args[2], args[3]); } // w/o altered newTarget, lot of arguments case var $args = [null]; $args.push.apply($args, args); return new (bind.apply(Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; var instance = create(isObject(proto) ? proto : Object.prototype); var result = Function.apply.call(Target, instance, args); return isObject(result) ? result : instance; } }); /***/ }), /* 138 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var aFunction = __webpack_require__(33); var isObject = __webpack_require__(9); var invoke = __webpack_require__(105); var arraySlice = [].slice; var factories = {}; var construct = function (F, len, args) { if (!(len in factories)) { for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; // eslint-disable-next-line no-new-func factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); } return factories[len](F, args); }; module.exports = Function.bind || function bind(that /* , ...args */) { var fn = aFunction(this); var partArgs = arraySlice.call(arguments, 1); var bound = function (/* args... */) { var args = partArgs.concat(arraySlice.call(arguments)); return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); }; if (isObject(fn.prototype)) bound.prototype = fn.prototype; return bound; }; /***/ }), /* 139 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(140); /***/ }), /* 140 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(141); module.exports = __webpack_require__(2).Object.getPrototypeOf; /***/ }), /* 141 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 Object.getPrototypeOf(O) var toObject = __webpack_require__(27); var $getPrototypeOf = __webpack_require__(66); __webpack_require__(70)('getPrototypeOf', function () { return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; }); /***/ }), /* 142 */ /***/ (function(module, exports, __webpack_require__) { var _Reflect$construct = __webpack_require__(83); function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); return true; } catch (e) { return false; } } module.exports = _isNativeReflectConstruct; /***/ }), /* 143 */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(86); var assertThisInitialized = __webpack_require__(67); function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return assertThisInitialized(self); } module.exports = _possibleConstructorReturn; /***/ }), /* 144 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(69)('native-function-to-string', Function.toString); /***/ }), /* 145 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.8 IsRegExp(argument) var isObject = __webpack_require__(24); var cof = __webpack_require__(42); var MATCH = __webpack_require__(13)('match'); module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; /***/ }), /* 146 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(69)('keys'); var uid = __webpack_require__(68); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 147 */, /* 148 */, /* 149 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(109); var ITERATOR = __webpack_require__(10)('iterator'); var Iterators = __webpack_require__(26); module.exports = __webpack_require__(2).getIteratorMethod = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }), /* 150 */, /* 151 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(77); var toLength = __webpack_require__(48); var toAbsoluteIndex = __webpack_require__(163); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($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) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 152 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 153 */, /* 154 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(155); var $Object = __webpack_require__(2).Object; module.exports = function getOwnPropertyDescriptor(it, key) { return $Object.getOwnPropertyDescriptor(it, key); }; /***/ }), /* 155 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = __webpack_require__(18); var $getOwnPropertyDescriptor = __webpack_require__(36).f; __webpack_require__(70)('getOwnPropertyDescriptor', function () { return function getOwnPropertyDescriptor(it, key) { return $getOwnPropertyDescriptor(toIObject(it), key); }; }); /***/ }), /* 156 */ /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error var anObject = __webpack_require__(12); 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 (e) { var ret = iterator['return']; if (ret !== undefined) anObject(ret.call(iterator)); throw e; } }; /***/ }), /* 157 */ /***/ (function(module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__(26); var ITERATOR = __webpack_require__(10)('iterator'); var ArrayProto = Array.prototype; module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; /***/ }), /* 158 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $defineProperty = __webpack_require__(15); var createDesc = __webpack_require__(28); module.exports = function (object, index, value) { if (index in object) $defineProperty.f(object, index, createDesc(0, value)); else object[index] = value; }; /***/ }), /* 159 */ /***/ (function(module, exports, __webpack_require__) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter // 3 -> Array#some // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex var ctx = __webpack_require__(64); var IObject = __webpack_require__(100); var toObject = __webpack_require__(93); var toLength = __webpack_require__(48); var asc = __webpack_require__(160); module.exports = function (TYPE, $create) { 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; var create = $create || asc; return function ($this, callbackfn, that) { var O = toObject($this); var self = IObject(O); var f = ctx(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; var val, res; for (;length > index; index++) if (NO_HOLES || index in self) { val = self[index]; res = f(val, index, O); if (TYPE) { if (IS_MAP) result[index] = res; // map else if (res) switch (TYPE) { case 3: return true; // some case 5: return val; // find case 6: return index; // findIndex case 2: result.push(val); // filter } else if (IS_EVERY) return false; // every } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; }; }; /***/ }), /* 160 */ /***/ (function(module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = __webpack_require__(161); module.exports = function (original, length) { return new (speciesConstructor(original))(length); }; /***/ }), /* 161 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(24); var isArray = __webpack_require__(162); var SPECIES = __webpack_require__(13)('species'); module.exports = function (original) { var C; if (isArray(original)) { C = original.constructor; // cross-realm fallback if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; } } return C === undefined ? Array : C; }; /***/ }), /* 162 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(42); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 163 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(49); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 164 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(49); var defined = __webpack_require__(43); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 165 */, /* 166 */, /* 167 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(207); /***/ }), /* 168 */ /***/ (function(module, exports) { 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; } module.exports = _arrayLikeToArray; /***/ }), /* 169 */, /* 170 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(60); var toIObject = __webpack_require__(77); var arrayIndexOf = __webpack_require__(151)(false); var IE_PROTO = __webpack_require__(146)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 171 */ /***/ (function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__(23); var aFunction = __webpack_require__(84); var SPECIES = __webpack_require__(13)('species'); module.exports = function (O, D) { var C = anObject(O).constructor; var S; return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; /***/ }), /* 172 */, /* 173 */, /* 174 */, /* 175 */, /* 176 */, /* 177 */, /* 178 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(203); /***/ }), /* 179 */ /***/ (function(module, exports, __webpack_require__) { var ITERATOR = __webpack_require__(10)('iterator'); var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); riter['return'] = function () { SAFE_CLOSING = true; }; // eslint-disable-next-line no-throw-literal Array.from(riter, function () { throw 2; }); } catch (e) { /* empty */ } module.exports = function (exec, skipClosing) { if (!skipClosing && !SAFE_CLOSING) return false; var safe = false; try { var arr = [7]; var iter = arr[ITERATOR](); iter.next = function () { return { done: safe = true }; }; arr[ITERATOR] = function () { return iter; }; exec(arr); } catch (e) { /* empty */ } return safe; }; /***/ }), /* 180 */, /* 181 */, /* 182 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(227); /***/ }), /* 183 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpExec = __webpack_require__(102); __webpack_require__(51)({ target: 'RegExp', proto: true, forced: regexpExec !== /./.exec }, { exec: regexpExec }); /***/ }), /* 184 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(185); /***/ }), /* 185 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(186); module.exports = __webpack_require__(2).Reflect.get; /***/ }), /* 186 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = __webpack_require__(36); var getPrototypeOf = __webpack_require__(66); var has = __webpack_require__(16); var $export = __webpack_require__(7); var isObject = __webpack_require__(9); var anObject = __webpack_require__(12); function get(target, propertyKey /* , receiver */) { var receiver = arguments.length < 3 ? target : arguments[2]; var desc, proto; if (anObject(target) === receiver) return target[propertyKey]; if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') ? desc.value : desc.get !== undefined ? desc.get.call(receiver) : undefined; if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); } $export($export.S, 'Reflect', { get: get }); /***/ }), /* 187 */ /***/ (function(module, exports, __webpack_require__) { var getPrototypeOf = __webpack_require__(25); function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = getPrototypeOf(object); if (object === null) break; } return object; } module.exports = _superPropBase; /***/ }), /* 188 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(17); var dP = __webpack_require__(39); var DESCRIPTORS = __webpack_require__(22); var SPECIES = __webpack_require__(13)('species'); module.exports = function (KEY) { var C = global[KEY]; if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { configurable: true, get: function () { return this; } }); }; /***/ }), /* 189 */, /* 190 */, /* 191 */, /* 192 */, /* 193 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(205); /***/ }), /* 194 */ /***/ (function(module, exports, __webpack_require__) { var _Array$from = __webpack_require__(167); var arrayLikeToArray = __webpack_require__(168); 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); } module.exports = _unsupportedIterableToArray; /***/ }), /* 195 */, /* 196 */ /***/ (function(module, exports, __webpack_require__) { var arrayWithoutHoles = __webpack_require__(222); var iterableToArray = __webpack_require__(223); var unsupportedIterableToArray = __webpack_require__(194); var nonIterableSpread = __webpack_require__(224); function _toConsumableArray(arr) { return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); } module.exports = _toConsumableArray; /***/ }), /* 197 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(226); var anObject = __webpack_require__(23); var $flags = __webpack_require__(89); var DESCRIPTORS = __webpack_require__(22); var TO_STRING = 'toString'; var $toString = /./[TO_STRING]; var define = function (fn) { __webpack_require__(31)(RegExp.prototype, TO_STRING, fn, true); }; // 21.2.5.14 RegExp.prototype.toString() if (__webpack_require__(30)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { define(function toString() { var R = anObject(this); return '/'.concat(R.source, '/', 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); }); // FF44- RegExp#toString has a wrong name } else if ($toString.name != TO_STRING) { define(function toString() { return $toString.call(this); }); } /***/ }), /* 198 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(17); var inheritIfRequired = __webpack_require__(228); var dP = __webpack_require__(39).f; var gOPN = __webpack_require__(232).f; var isRegExp = __webpack_require__(145); var $flags = __webpack_require__(89); var $RegExp = global.RegExp; var Base = $RegExp; var proto = $RegExp.prototype; var re1 = /a/g; var re2 = /a/g; // "new" creates a new object, old webkit buggy here var CORRECT_NEW = new $RegExp(re1) !== re1; if (__webpack_require__(22) && (!CORRECT_NEW || __webpack_require__(30)(function () { re2[__webpack_require__(13)('match')] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; }))) { $RegExp = function RegExp(p, f) { var tiRE = this instanceof $RegExp; var piRE = isRegExp(p); var fiU = f === undefined; return !tiRE && piRE && p.constructor === $RegExp && fiU ? p : inheritIfRequired(CORRECT_NEW ? new Base(piRE && !fiU ? p.source : p, f) : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) , tiRE ? this : proto, $RegExp); }; var proxy = function (key) { key in $RegExp || dP($RegExp, key, { configurable: true, get: function () { return Base[key]; }, set: function (it) { Base[key] = it; } }); }; for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); proto.constructor = $RegExp; $RegExp.prototype = proto; __webpack_require__(31)(global, 'RegExp', $RegExp); } __webpack_require__(188)('RegExp'); /***/ }), /* 199 */, /* 200 */, /* 201 */, /* 202 */, /* 203 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(204); module.exports = __webpack_require__(2).Array.isArray; /***/ }), /* 204 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = __webpack_require__(7); $export($export.S, 'Array', { isArray: __webpack_require__(87) }); /***/ }), /* 205 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(76); __webpack_require__(71); module.exports = __webpack_require__(206); /***/ }), /* 206 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(109); var ITERATOR = __webpack_require__(10)('iterator'); var Iterators = __webpack_require__(26); module.exports = __webpack_require__(2).isIterable = function (it) { var O = Object(it); return O[ITERATOR] !== undefined || '@@iterator' in O // eslint-disable-next-line no-prototype-builtins || Iterators.hasOwnProperty(classof(O)); }; /***/ }), /* 207 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(71); __webpack_require__(208); module.exports = __webpack_require__(2).Array.from; /***/ }), /* 208 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ctx = __webpack_require__(32); var $export = __webpack_require__(7); var toObject = __webpack_require__(27); var call = __webpack_require__(156); var isArrayIter = __webpack_require__(157); var toLength = __webpack_require__(75); var createProperty = __webpack_require__(158); var getIterFn = __webpack_require__(149); $export($export.S + $export.F * !__webpack_require__(179)(function (iter) { Array.from(iter); }), 'Array', { // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); var C = typeof this == 'function' ? this : Array; var aLen = arguments.length; var mapfn = aLen > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var index = 0; var iterFn = getIterFn(O); var length, result, step, iterator; if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); // if object isn't iterable or it's array with default iterator - use simple case if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); } } else { length = toLength(O.length); for (result = new C(length); length > index; index++) { createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); } } result.length = index; return result; } }); /***/ }), /* 209 */, /* 210 */, /* 211 */, /* 212 */, /* 213 */, /* 214 */, /* 215 */, /* 216 */, /* 217 */, /* 218 */, /* 219 */, /* 220 */, /* 221 */, /* 222 */ /***/ (function(module, exports, __webpack_require__) { var _Array$isArray = __webpack_require__(178); var arrayLikeToArray = __webpack_require__(168); function _arrayWithoutHoles(arr) { if (_Array$isArray(arr)) return arrayLikeToArray(arr); } module.exports = _arrayWithoutHoles; /***/ }), /* 223 */ /***/ (function(module, exports, __webpack_require__) { var _Array$from = __webpack_require__(167); var _isIterable = __webpack_require__(193); var _Symbol = __webpack_require__(91); function _iterableToArray(iter) { if (typeof _Symbol !== "undefined" && _isIterable(Object(iter))) return _Array$from(iter); } module.exports = _iterableToArray; /***/ }), /* 224 */ /***/ (function(module, exports) { function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } module.exports = _nonIterableSpread; /***/ }), /* 225 */, /* 226 */ /***/ (function(module, exports, __webpack_require__) { // 21.2.5.3 get RegExp.prototype.flags() if (__webpack_require__(22) && /./g.flags != 'g') __webpack_require__(39).f(RegExp.prototype, 'flags', { configurable: true, get: __webpack_require__(89) }); /***/ }), /* 227 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(2); var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); module.exports = function stringify(it) { // eslint-disable-line no-unused-vars return $JSON.stringify.apply($JSON, arguments); }; /***/ }), /* 228 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(24); var setPrototypeOf = __webpack_require__(229).set; module.exports = function (that, target, C) { var S = target.constructor; var P; if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { setPrototypeOf(that, P); } return that; }; /***/ }), /* 229 */ /***/ (function(module, exports, __webpack_require__) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(24); var anObject = __webpack_require__(23); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line function (test, buggy, set) { try { set = __webpack_require__(64)(Function.call, __webpack_require__(230).f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); } catch (e) { buggy = true; } return function setPrototypeOf(O, proto) { check(O, proto); if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check }; /***/ }), /* 230 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(231); var createDesc = __webpack_require__(88); var toIObject = __webpack_require__(77); var toPrimitive = __webpack_require__(98); var has = __webpack_require__(60); var IE8_DOM_DEFINE = __webpack_require__(96); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(22) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 231 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 232 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(170); var hiddenKeys = __webpack_require__(152).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 233 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var isRegExp = __webpack_require__(145); var anObject = __webpack_require__(23); var speciesConstructor = __webpack_require__(171); var advanceStringIndex = __webpack_require__(112); var toLength = __webpack_require__(48); var callRegExpExec = __webpack_require__(107); var regexpExec = __webpack_require__(102); var fails = __webpack_require__(30); var $min = Math.min; var $push = [].push; var $SPLIT = 'split'; var LENGTH = 'length'; var LAST_INDEX = 'lastIndex'; var MAX_UINT32 = 0xffffffff; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); // @@split logic __webpack_require__(108)('split', 2, function (defined, SPLIT, $split, 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(this); if (separator === undefined && limit === 0) return []; // If `separator` is not a regex, use native split if (!isRegExp(separator)) return $split.call(string, separator, limit); var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 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[LAST_INDEX]; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); lastLength = match[0][LENGTH]; lastLastIndex = lastIndex; if (output[LENGTH] >= splitLimit) break; } if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop } if (lastLastIndex === string[LENGTH]) { if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; }; // Chakra, V8 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { internalSplit = function (separator, limit) { return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); }; } else { internalSplit = $split; } return [ // `String.prototype.split` method // https://tc39.github.io/ecma262/#sec-string.prototype.split function split(separator, limit) { var O = defined(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 !== $split); 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; } ]; }); /***/ }), /* 234 */, /* 235 */, /* 236 */, /* 237 */, /* 238 */, /* 239 */, /* 240 */, /* 241 */, /* 242 */, /* 243 */, /* 244 */, /* 245 */, /* 246 */, /* 247 */, /* 248 */, /* 249 */, /* 250 */, /* 251 */, /* 252 */, /* 253 */, /* 254 */, /* 255 */, /* 256 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(14); var getKeys = __webpack_require__(35); var toIObject = __webpack_require__(18); var isEnum = __webpack_require__(40).f; module.exports = function (isEntries) { return function (it) { var O = toIObject(it); var keys = getKeys(O); var length = keys.length; var i = 0; var result = []; var key; while (length > i) { key = keys[i++]; if (!DESCRIPTORS || isEnum.call(O, key)) { result.push(isEntries ? [key, O[key]] : O[key]); } } return result; }; }; /***/ }), /* 257 */, /* 258 */, /* 259 */, /* 260 */, /* 261 */, /* 262 */, /* 263 */, /* 264 */, /* 265 */, /* 266 */, /* 267 */, /* 268 */, /* 269 */, /* 270 */, /* 271 */, /* 272 */, /* 273 */, /* 274 */, /* 275 */, /* 276 */, /* 277 */, /* 278 */, /* 279 */, /* 280 */, /* 281 */, /* 282 */, /* 283 */, /* 284 */, /* 285 */, /* 286 */, /* 287 */, /* 288 */, /* 289 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _Object$defineProperty = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(3)); var _createClass2 = _interopRequireDefault(__webpack_require__(6)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var CustomAssetsBase = /*#__PURE__*/function (_elementorModules$Vie) { (0, _inherits2.default)(CustomAssetsBase, _elementorModules$Vie); var _super = (0, _createSuper2.default)(CustomAssetsBase); function CustomAssetsBase() { (0, _classCallCheck2.default)(this, CustomAssetsBase); return _super.apply(this, arguments); } (0, _createClass2.default)(CustomAssetsBase, [{ key: "showAlertDialog", value: function showAlertDialog(id, message) { var onConfirm = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var onHide = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; var alertData = { id: id, message: message }; if (onConfirm) { alertData.onConfirm = onConfirm; } if (onHide) { alertData.onHide = onHide; } // Save the instance of the alert dialog to check for its visibility later if (!this.alertWidget) { this.alertWidget = elementorCommon.dialogsManager.createWidget('alert', alertData); } this.alertWidget.show(); } }, { key: "onDialogDismiss", value: function onDialogDismiss() { // WP's publish button gets a disabled class on submit attempt this.elements.$publishButton.removeClass('disabled'); // Prevent WP's publish spinner from appearing on publish attempt this.elements.$publishButtonSpinner.removeClass('is-active'); } }, { key: "handleSubmit", value: function handleSubmit(event) { var _this = this; // if we know there is a file already, return to continue submission normally if (this.fileWasUploaded) { return; } var hasValue = this.checkInputsForValues(); // method exists in the child classes // If the file input is not empty, continue the submission process if (hasValue) { this.fileWasUploaded = true; this.elements.$postForm.submit(); return; } event.preventDefault(); // prevent new asset submission // If no value was found, stop submission and display a notice modal this.showAlertDialog('noData', this.getSettings('notice'), function () { return _this.onDialogDismiss(); }, // onConfirm function () { return _this.onDialogDismiss(); } // onHide ); return false; } }, { key: "bindEvents", value: function bindEvents() { this.elements.$postForm.on('submit', this.handleSubmit.bind(this)); } }]); return CustomAssetsBase; }(elementorModules.ViewModule); var _default = CustomAssetsBase; exports.default = _default; /***/ }), /* 290 */, /* 291 */, /* 292 */, /* 293 */, /* 294 */, /* 295 */, /* 296 */, /* 297 */, /* 298 */, /* 299 */, /* 300 */, /* 301 */, /* 302 */, /* 303 */, /* 304 */, /* 305 */, /* 306 */, /* 307 */, /* 308 */, /* 309 */, /* 310 */, /* 311 */, /* 312 */, /* 313 */, /* 314 */, /* 315 */, /* 316 */, /* 317 */, /* 318 */, /* 319 */, /* 320 */, /* 321 */, /* 322 */, /* 323 */, /* 324 */, /* 325 */, /* 326 */, /* 327 */, /* 328 */, /* 329 */, /* 330 */, /* 331 */, /* 332 */, /* 333 */, /* 334 */, /* 335 */, /* 336 */, /* 337 */, /* 338 */, /* 339 */, /* 340 */, /* 341 */, /* 342 */, /* 343 */, /* 344 */, /* 345 */, /* 346 */, /* 347 */, /* 348 */, /* 349 */, /* 350 */, /* 351 */, /* 352 */, /* 353 */, /* 354 */, /* 355 */, /* 356 */, /* 357 */, /* 358 */, /* 359 */, /* 360 */, /* 361 */, /* 362 */, /* 363 */, /* 364 */, /* 365 */, /* 366 */, /* 367 */, /* 368 */, /* 369 */, /* 370 */, /* 371 */, /* 372 */, /* 373 */, /* 374 */, /* 375 */, /* 376 */, /* 377 */, /* 378 */, /* 379 */, /* 380 */, /* 381 */, /* 382 */, /* 383 */, /* 384 */, /* 385 */, /* 386 */, /* 387 */, /* 388 */, /* 389 */, /* 390 */, /* 391 */, /* 392 */, /* 393 */, /* 394 */, /* 395 */, /* 396 */, /* 397 */, /* 398 */, /* 399 */, /* 400 */, /* 401 */, /* 402 */, /* 403 */, /* 404 */, /* 405 */, /* 406 */, /* 407 */, /* 408 */, /* 409 */, /* 410 */, /* 411 */, /* 412 */, /* 413 */, /* 414 */, /* 415 */, /* 416 */, /* 417 */, /* 418 */, /* 419 */, /* 420 */, /* 421 */, /* 422 */, /* 423 */, /* 424 */, /* 425 */, /* 426 */, /* 427 */, /* 428 */, /* 429 */, /* 430 */, /* 431 */, /* 432 */, /* 433 */, /* 434 */, /* 435 */, /* 436 */, /* 437 */, /* 438 */, /* 439 */, /* 440 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var modules = { widget_template_edit_button: __webpack_require__(441), forms_integrations: __webpack_require__(443), AssetsManager: __webpack_require__(445), RoleManager: __webpack_require__(456), ThemeBuilder: __webpack_require__(458) }; window.elementorProAdmin = { widget_template_edit_button: new modules.widget_template_edit_button(), forms_integrations: new modules.forms_integrations(), assetsManager: new modules.AssetsManager(), roleManager: new modules.RoleManager(), themeBuilder: new modules.ThemeBuilder() }; jQuery(function () { elementorProAdmin.roleManager.advancedRoleManager.init(); }); /***/ }), /* 441 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function () { var EditButton = __webpack_require__(442); this.editButton = new EditButton(); }; /***/ }), /* 442 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(19); module.exports = function () { var self = this; self.init = function () { jQuery(document).on('change', '.elementor-widget-template-select', function () { var $this = jQuery(this), templateID = $this.val(), $editButton = $this.parents('p').find('.elementor-edit-template'), type = $this.find('[value="' + templateID + '"]').data('type'); if ('page' !== type) { // 'widget' is editable only from Elementor page $editButton.hide(); return; } var editUrl = ElementorProConfig.i18n.home_url + '?p=' + templateID + '&elementor'; $editButton.prop('href', editUrl).show(); }); }; self.init(); }; /***/ }), /* 443 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function () { var ApiValidations = __webpack_require__(444); this.dripButton = new ApiValidations('drip_api_token'); this.getResponse = new ApiValidations('getresponse_api_key'); this.convertKit = new ApiValidations('convertkit_api_key'); this.mailChimp = new ApiValidations('mailchimp_api_key'); this.mailerLite = new ApiValidations('mailerlite_api_key'); this.activeCcampaign = new ApiValidations('activecampaign_api_key', 'activecampaign_api_url'); }; /***/ }), /* 444 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function (key, fieldID) { var self = this; self.cacheElements = function () { this.cache = { $button: jQuery('#elementor_pro_' + key + '_button'), $apiKeyField: jQuery('#elementor_pro_' + key), $apiUrlField: jQuery('#elementor_pro_' + fieldID) }; }; self.bindEvents = function () { this.cache.$button.on('click', function (event) { event.preventDefault(); self.validateApi(); }); this.cache.$apiKeyField.on('change', function () { self.setState('clear'); }); }; self.validateApi = function () { this.setState('loading'); var apiKey = this.cache.$apiKeyField.val(); if ('' === apiKey) { this.setState('clear'); return; } if (this.cache.$apiUrlField.length && '' === this.cache.$apiUrlField.val()) { this.setState('clear'); return; } jQuery.post(ajaxurl, { action: self.cache.$button.data('action'), api_key: apiKey, api_url: this.cache.$apiUrlField.val(), _nonce: self.cache.$button.data('nonce') }).done(function (data) { if (data.success) { self.setState('success'); } else { self.setState('error'); } }).fail(function () { self.setState(); }); }; self.setState = function (type) { var classes = ['loading', 'success', 'error'], currentClass, classIndex; for (classIndex in classes) { currentClass = classes[classIndex]; if (type === currentClass) { this.cache.$button.addClass(currentClass); } else { this.cache.$button.removeClass(currentClass); } } }; self.init = function () { this.cacheElements(); this.bindEvents(); }; self.init(); }; /***/ }), /* 445 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _elementorFontManager = _interopRequireDefault(__webpack_require__(446)); var _elementorCustomIcons = _interopRequireDefault(__webpack_require__(449)); module.exports = function () { var TypekitAdmin = __webpack_require__(454), CustomIcon = _elementorCustomIcons.default, FontAwesomeProAdmin = __webpack_require__(455).default; this.fontManager = new _elementorFontManager.default(); this.typekit = new TypekitAdmin(); this.fontAwesomePro = new FontAwesomeProAdmin(); this.customIcons = new CustomIcon(); }; /***/ }), /* 446 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _Object$defineProperty = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(19); __webpack_require__(101); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(3)); var _createClass2 = _interopRequireDefault(__webpack_require__(6)); var _get3 = _interopRequireDefault(__webpack_require__(61)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(25)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _customAssetsBase = _interopRequireDefault(__webpack_require__(289)); var _elementorProUpload = _interopRequireDefault(__webpack_require__(447)); var _elementorProRepeater = _interopRequireDefault(__webpack_require__(448)); var CustomFontsManager = /*#__PURE__*/function (_CustomAssetsBase) { (0, _inherits2.default)(CustomFontsManager, _CustomAssetsBase); var _super = (0, _createSuper2.default)(CustomFontsManager); function CustomFontsManager() { (0, _classCallCheck2.default)(this, CustomFontsManager); return _super.apply(this, arguments); } (0, _createClass2.default)(CustomFontsManager, [{ key: "getDefaultSettings", value: function getDefaultSettings() { return { fields: { upload: _elementorProUpload.default, repeater: _elementorProRepeater.default }, selectors: { editPageClass: 'post-type-elementor_font', title: '#title', repeaterBlock: '.repeater-block', repeaterTitle: '.repeater-title', removeRowBtn: '.remove-repeater-row', editRowBtn: '.toggle-repeater-row', closeRowBtn: '.close-repeater-row', styleInput: '.font_style', weightInput: '.font_weight', customFontsMetaBox: '#elementor-font-custommetabox', closeHandle: 'button.handlediv', toolbar: '.elementor-field-toolbar', inlinePreview: '.inline-preview', fileUrlInput: '.elementor-field-file input[type="text"]', postForm: '#post', publishButton: '#publish', publishButtonSpinner: '#publishing-action > .spinner' }, notice: ElementorProConfig.i18n.fontsUploadEmptyNotice, fontLabelTemplate: '<ul class="row-font-label">' + '<li class="row-font-weight">{{weight}}</li>' + '<li class="row-font-style">{{style}}</li>' + '<li class="row-font-preview">{{preview}}</li>' + '{{toolbar}}' + '</ul>' }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var selectors = this.getSettings('selectors'); return { $postForm: jQuery(selectors.postForm), $publishButton: jQuery(selectors.publishButton), $publishButtonSpinner: jQuery(selectors.publishButtonSpinner), $closeHandle: jQuery(selectors.closeHandle), $customFontsMetaBox: jQuery(selectors.customFontsMetaBox), $title: jQuery(selectors.title) }; } }, { key: "renderTemplate", value: function renderTemplate(tpl, data) { var re = /{{([^}}]+)?}}/g; var match; while (match = re.exec(tpl)) { // eslint-disable-line no-cond-assign tpl = tpl.replace(match[0], data[match[1]]); } return tpl; } }, { key: "ucFirst", value: function ucFirst(string) { return string.charAt(0).toUpperCase() + string.slice(1); } }, { key: "getPreviewStyle", value: function getPreviewStyle($table) { var selectors = this.getSettings('selectors'), fontFamily = this.elements.$title.val(), style = $table.find('select' + selectors.styleInput).first().val(), weight = $table.find('select' + selectors.weightInput).first().val(); return { style: this.ucFirst(style), weight: this.ucFirst(weight), styleAttribute: 'font-family: ' + fontFamily + ' ;font-style: ' + style + '; font-weight: ' + weight + ';' }; } }, { key: "updateRowLabel", value: function updateRowLabel(event, $table) { var selectors = this.getSettings('selectors'), fontLabelTemplate = this.getSettings('fontLabelTemplate'), $block = $table.closest(selectors.repeaterBlock), $deleteBtn = $block.find(selectors.removeRowBtn).first(), $editBtn = $block.find(selectors.editRowBtn).first(), $closeBtn = $block.find(selectors.closeRowBtn).first(), $toolbar = $table.find(selectors.toolbar).last().clone(), previewStyle = this.getPreviewStyle($table); if ($editBtn.length > 0) { $editBtn.not(selectors.toolbar + ' ' + selectors.editRowBtn).remove(); } if ($closeBtn.length > 0) { $closeBtn.not(selectors.toolbar + ' ' + selectors.closeRowBtn).remove(); } if ($deleteBtn.length > 0) { $deleteBtn.not(selectors.toolbar + ' ' + selectors.removeRowBtn).remove(); } var toolbarHtml = jQuery('<li class="row-font-actions">').append($toolbar)[0].outerHTML; return this.renderTemplate(fontLabelTemplate, { weight: '<span class="label">Weight:</span>' + previewStyle.weight, style: '<span class="label">Style:</span>' + previewStyle.style, preview: '<span style="' + previewStyle.styleAttribute + '">Elementor is making the web beautiful</span>', toolbar: toolbarHtml }); } }, { key: "onRepeaterToggleVisible", value: function onRepeaterToggleVisible(event, $btn, $table) { var selectors = this.getSettings('selectors'), $previewElement = $table.find(selectors.inlinePreview), previewStyle = this.getPreviewStyle($table); $previewElement.attr('style', previewStyle.styleAttribute); } }, { key: "onRepeaterNewRow", value: function onRepeaterNewRow(event, $btn, $block) { var selectors = this.getSettings('selectors'); $block.find(selectors.removeRowBtn).first().remove(); $block.find(selectors.editRowBtn).first().remove(); $block.find(selectors.closeRowBtn).first().remove(); } }, { key: "maybeToggle", value: function maybeToggle(event) { event.preventDefault(); var selectors = this.getSettings('selectors'); if (jQuery(this).is(':visible') && !jQuery(event.target).hasClass(selectors.editRowBtn)) { jQuery(this).find(selectors.editRowBtn).click(); } } }, { key: "onInputChange", value: function onInputChange(event) { var $el = jQuery(event.target).next(), fields = this.getSettings('fields'); fields.upload.setFields($el); fields.upload.setLabels($el); fields.upload.replaceButtonClass($el); } }, { key: "bindEvents", value: function bindEvents() { var selectors = this.getSettings('selectors'); jQuery(document).on('repeaterComputedLabel', this.updateRowLabel.bind(this)).on('onRepeaterToggleVisible', this.onRepeaterToggleVisible.bind(this)).on('onRepeaterNewRow', this.onRepeaterNewRow.bind(this)).on('click', selectors.repeaterTitle, this.maybeToggle.bind(this)).on('input', selectors.fileUrlInput, this.onInputChange.bind(this)); (0, _get3.default)((0, _getPrototypeOf2.default)(CustomFontsManager.prototype), "bindEvents", this).call(this); } }, { key: "checkInputsForValues", value: function checkInputsForValues() { var selectors = this.getSettings('selectors'); var hasValue = false; // Check the file inputs for a value jQuery(selectors.fileUrlInput).each(function (index, element) { if ('' !== jQuery(element).val()) { hasValue = true; return false; // If a value was found, break the loop } }); return hasValue; } }, { key: "removeCloseHandle", value: function removeCloseHandle() { this.elements.$closeHandle.remove(); this.elements.$customFontsMetaBox.removeClass('closed').removeClass('postbox'); } }, { key: "titleRequired", value: function titleRequired() { this.elements.$title.prop('required', true); } }, { key: "onInit", value: function onInit() { var _get2; var settings = this.getSettings(); if (!jQuery('body').hasClass(settings.selectors.editPageClass)) { return; } for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(CustomFontsManager.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); this.removeCloseHandle(); this.titleRequired(); settings.fields.upload.init(); settings.fields.repeater.init(); } }]); return CustomFontsManager; }(_customAssetsBase.default); exports.default = CustomFontsManager; /***/ }), /* 447 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); __webpack_require__(19); __webpack_require__(233); var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(196)); module.exports = { $btn: null, fileId: null, fileUrl: null, fileFrame: [], selectors: { uploadBtnClass: 'elementor-upload-btn', clearBtnClass: 'elementor-upload-clear-btn', uploadBtn: '.elementor-upload-btn', clearBtn: '.elementor-upload-clear-btn', inputURLField: '.elementor-field-file input[type="text"]' }, hasValue: function hasValue() { return '' !== jQuery(this.fileUrl).val(); }, setLabels: function setLabels($el) { if (!this.hasValue()) { $el.val($el.data('upload_text')); } else { $el.val($el.data('remove_text')); } }, setFields: function setFields(el) { var self = this; self.fileUrl = jQuery(el).prev(); self.fileId = jQuery(self.fileUrl).prev(); }, setUploadParams: function setUploadParams(ext, name) { var uploader = this.fileFrame[name].uploader.uploader; uploader.param('uploadType', ext); uploader.param('uploadTypeCaller', 'elementor-admin-font-upload'); uploader.param('post_id', this.getPostId()); }, setUploadMimeType: function setUploadMimeType(frame, ext) { // Set {ext} as only allowed upload extensions var oldExtensions = _wpPluploadSettings.defaults.filters.mime_types[0].extensions, self = this; frame.on('ready', function () { _wpPluploadSettings.defaults.filters.mime_types[0].extensions = ext; }); frame.on('close', function () { // restore allowed upload extensions _wpPluploadSettings.defaults.filters.mime_types[0].extensions = oldExtensions; self.replaceButtonClass(self.$btn); }); }, replaceButtonClass: function replaceButtonClass(el) { if (this.hasValue()) { jQuery(el).removeClass(this.selectors.uploadBtnClass).addClass(this.selectors.clearBtnClass); } else { jQuery(el).removeClass(this.selectors.clearBtnClass).addClass(this.selectors.uploadBtnClass); } this.setLabels(el); }, uploadFile: function uploadFile(el) { var _this = this; var self = this, $el = jQuery(el), mime = $el.attr('data-mime_type') || '', ext = $el.attr('data-ext') || false, name = $el.attr('id'); // If the media frame already exists, reopen it. if ('undefined' !== typeof self.fileFrame[name]) { if (ext) { self.setUploadParams(ext, name); } self.fileFrame[name].open(); return; } // Create the media frame. self.fileFrame[name] = wp.media({ library: { type: [].concat((0, _toConsumableArray2.default)(mime.split(',')), [mime.split(',').join('')]) }, title: $el.data('box_title'), button: { text: $el.data('box_action') }, multiple: false }); // When an file is selected, run a callback. self.fileFrame[name].on('select', function () { // We set multiple to false so only get one image from the uploader var attachment = self.fileFrame[name].state().get('selection').first().toJSON(); // Do something with attachment.id and/or attachment.url here jQuery(self.fileId).val(attachment.id); jQuery(self.fileUrl).val(attachment.url); self.replaceButtonClass(el); self.updatePreview(el); }); self.fileFrame[name].on('open', function () { var selectedId = _this.fileId.val(); if (!selectedId) { return; } var selection = self.fileFrame[name].state().get('selection'); selection.add(wp.media.attachment(selectedId)); }); self.setUploadMimeType(self.fileFrame[name], ext); // Finally, open the modal self.fileFrame[name].open(); if (ext) { self.setUploadParams(ext, name); } }, updatePreview: function updatePreview(el) { var self = this, $ul = jQuery(el).parent().find('ul'), $li = jQuery('<li>'), showUrlType = jQuery(el).data('preview_anchor') || 'full'; $ul.html(''); if (self.hasValue() && 'none' !== showUrlType) { var anchor = jQuery(self.fileUrl).val(); if ('full' !== showUrlType) { anchor = anchor.substring(anchor.lastIndexOf('/') + 1); } $li.html('<a href="' + jQuery(self.fileUrl).val() + '" download>' + anchor + '</a>'); $ul.append($li); } }, setup: function setup() { var self = this; jQuery(self.selectors.uploadBtn + ', ' + self.selectors.clearBtn).each(function () { self.setFields(jQuery(this)); self.updatePreview(jQuery(this)); self.setLabels(jQuery(this)); self.replaceButtonClass(jQuery(this)); }); }, getPostId: function getPostId() { return jQuery('#post_ID').val(); }, handleUploadClick: function handleUploadClick(event) { event.preventDefault(); var $element = jQuery(event.target); if ('text' === $element.attr('type')) { return $element.next().removeClass(this.selectors.clearBtnClass).addClass(this.selectors.uploadBtnClass).click(); } this.$btn = $element; this.setFields($element); this.uploadFile($element); }, init: function init() { var _this2 = this; var self = this, _this$selectors = this.selectors, uploadBtn = _this$selectors.uploadBtn, inputURLField = _this$selectors.inputURLField, clearBtn = _this$selectors.clearBtn, handleUpload = function handleUpload(event) { return _this2.handleUploadClick(event); }; jQuery(document).on('click', uploadBtn, handleUpload); jQuery(document).on('click', inputURLField, function (event) { if ('' !== event.target.value) { handleUpload(event); } }); jQuery(document).on('click', clearBtn, function (event) { event.preventDefault(); var $element = jQuery(this); self.setFields($element); jQuery(self.fileUrl).val(''); jQuery(self.fileId).val(''); self.updatePreview($element); self.replaceButtonClass($element); }); this.setup(); jQuery(document).on('onRepeaterNewRow', function () { self.setup(); }); } }; /***/ }), /* 448 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); __webpack_require__(197); __webpack_require__(111); __webpack_require__(198); __webpack_require__(101); var _typeof2 = _interopRequireDefault(__webpack_require__(86)); __webpack_require__(19); module.exports = { selectors: { add: '.add-repeater-row', remove: '.remove-repeater-row', toggle: '.toggle-repeater-row', close: '.close-repeater-row', sort: '.sort-repeater-row', table: '.form-table', block: '.repeater-block', repeaterLabel: '.repeater-title', repeaterField: '.elementor-field-repeater' }, counters: [], trigger: function trigger(eventName, params) { jQuery(document).trigger(eventName, params); }, triggerHandler: function triggerHandler(eventName, params) { return jQuery(document).triggerHandler(eventName, params); }, countBlocks: function countBlocks($btn) { return $btn.closest(this.selectors.repeaterField).find(this.selectors.block).length || 0; }, add: function add(btn) { var self = this, $btn = jQuery(btn), id = $btn.data('template-id'), repeaterBlock; if (!self.counters.hasOwnProperty(id)) { self.counters[id] = self.countBlocks($btn); } self.counters[id] += 1; repeaterBlock = jQuery('#' + id).html(); repeaterBlock = self.replaceAll('__counter__', self.counters[id], repeaterBlock); $btn.before(repeaterBlock); self.trigger('onRepeaterNewRow', [$btn, $btn.prev()]); }, remove: function remove(btn) { var self = this; jQuery(btn).closest(self.selectors.block).remove(); }, toggle: function toggle(btn) { var self = this, $btn = jQuery(btn), $table = $btn.closest(self.selectors.block).find(self.selectors.table), $toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel); $table.toggle(0, 'none', function () { if ($table.is(':visible')) { $table.closest(self.selectors.block).addClass('block-visible'); self.trigger('onRepeaterToggleVisible', [$btn, $table, $toggleLabel]); } else { $table.closest(self.selectors.block).removeClass('block-visible'); self.trigger('onRepeaterToggleHidden', [$btn, $table, $toggleLabel]); } }); $toggleLabel.toggle(); // Update row label self.updateRowLabel(btn); }, close: function close(btn) { var self = this, $btn = jQuery(btn), $table = $btn.closest(self.selectors.block).find(self.selectors.table), $toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel); $table.closest(self.selectors.block).removeClass('block-visible'); $table.hide(); self.trigger('onRepeaterToggleHidden', [$btn, $table, $toggleLabel]); $toggleLabel.show(); self.updateRowLabel(btn); }, updateRowLabel: function updateRowLabel(btn) { var self = this, $btn = jQuery(btn), $table = $btn.closest(self.selectors.block).find(self.selectors.table), $toggleLabel = $btn.closest(self.selectors.block).find(self.selectors.repeaterLabel); var selector = $toggleLabel.data('selector'); // For some browsers, `attr` is undefined; for others, `attr` is false. Check for both. if ((0, _typeof2.default)(selector) !== ( true ? "undefined" : undefined) && false !== selector) { var value = false, std = $toggleLabel.data('default'); if ($table.find(selector).length) { value = $table.find(selector).val(); } //filter hook var computedLabel = self.triggerHandler('repeaterComputedLabel', [$table, $toggleLabel, value]); // For some browsers, `attr` is undefined; for others, `attr` is false. Check for both. if (undefined !== computedLabel && false !== computedLabel) { value = computedLabel; } // Fallback to default row label if (undefined === value || false === value) { value = std; } $toggleLabel.html(value); } }, replaceAll: function replaceAll(search, replace, string) { return string.replace(new RegExp(search, 'g'), replace); }, init: function init() { var self = this; jQuery(document).on('click', this.selectors.add, function (event) { event.preventDefault(); self.add(jQuery(this), event); }).on('click', this.selectors.remove, function (event) { event.preventDefault(); var result = confirm(jQuery(this).data('confirm').toString()); if (!result) { return; } self.remove(jQuery(this), event); }).on('click', this.selectors.toggle, function (event) { event.preventDefault(); event.stopPropagation(); self.toggle(jQuery(this), event); }).on('click', this.selectors.close, function (event) { event.preventDefault(); event.stopPropagation(); self.close(jQuery(this), event); }); jQuery(this.selectors.toggle).each(function () { self.updateRowLabel(jQuery(this)); }); this.trigger('onRepeaterLoaded', [this]); } }; /***/ }), /* 449 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _Object$defineProperty = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(110); var _stringify = _interopRequireDefault(__webpack_require__(182)); __webpack_require__(101); __webpack_require__(19); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(3)); var _createClass2 = _interopRequireDefault(__webpack_require__(6)); var _get2 = _interopRequireDefault(__webpack_require__(61)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(25)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _customAssetsBase = _interopRequireDefault(__webpack_require__(289)); var _elementorProDropzone = _interopRequireDefault(__webpack_require__(450)); var CustomIcons = /*#__PURE__*/function (_CustomAssetsBase) { (0, _inherits2.default)(CustomIcons, _CustomAssetsBase); var _super = (0, _createSuper2.default)(CustomIcons); function CustomIcons() { (0, _classCallCheck2.default)(this, CustomIcons); return _super.apply(this, arguments); } (0, _createClass2.default)(CustomIcons, [{ key: "getDefaultSettings", value: function getDefaultSettings() { return { fields: { dropzone: _elementorProDropzone.default }, classes: { editPageClass: 'post-type-elementor_icons', editPhp: 'edit-php', hasIcons: 'elementor--has-icons' }, selectors: { editPageClass: 'post-type-elementor_icons', title: '#title', metaboxContainer: '#elementor-custom-icons-metabox', metabox: '.elementor-custom-icons-metabox', closeHandle: 'button.handlediv', iconsTemplate: '#elementor-icons-template', dataInput: '#elementor_custom_icon_set_config', dropzone: '.zip_upload', submitDelete: '.submitdelete', dayInput: '#hidden_jj', mmInput: '#hidden_mm', yearInput: '#hidden_aa', hourInput: '#hidden_hh', minuteInput: '#hidden_mn', publishButton: '#publish', publishButtonSpinner: '#publishing-action > .spinner', submitMetabox: '#postbox-container-1', postForm: '#post', fileInput: '#zip_upload', iconSetConfigInput: '#elementor_custom_icon_set_config' }, templates: { icon: '<li><div class="icon"><i class="{{icon}}"></i><div class="icon-name">{{label}}</div></div></li>', header: jQuery('#elementor-custom-icons-template-header').html(), footer: jQuery('#elementor-custom-icons-template-footer').html(), duplicatePrefix: jQuery('#elementor-custom-icons-template-duplicate-prefix').html() }, notice: ElementorProConfig.i18n.fontsUploadEmptyNotice }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var elements = {}, selectors = this.getSettings('selectors'); jQuery.each(selectors, function (element, selector) { elements['$' + element] = jQuery(selector); }); return elements; } }, { key: "bindEvents", value: function bindEvents() { (0, _get2.default)((0, _getPrototypeOf2.default)(CustomIcons.prototype), "bindEvents", this).call(this); if ('' !== this.getData()) { this.bindOnTitleChange(); } } }, { key: "bindOnTitleChange", value: function bindOnTitleChange() { var _this = this; var $title = this.elements.$title, onTitleInput = function onTitleInput(event) { return _this.onTitleInput(event); }; $title.on('input change', onTitleInput); } }, { key: "removeCloseHandle", value: function removeCloseHandle() { var $metaboxContainer = this.elements.$metaboxContainer; $metaboxContainer.find('h2').remove(); $metaboxContainer.find('button').remove(); $metaboxContainer.removeClass('closed').removeClass('postbox'); } }, { key: "prepareIconName", value: function prepareIconName(icon) { var iconName = icon.replace('_', ' ').replace('-', ' '); return elementorCommon.helpers.upperCaseWords(iconName); } }, { key: "getCreatedOn", value: function getCreatedOn() { var _this$elements = this.elements, $dayInput = _this$elements.$dayInput, $mmInput = _this$elements.$mmInput, $yearInput = _this$elements.$yearInput, $hourInput = _this$elements.$hourInput, $minuteInput = _this$elements.$minuteInput; return { day: $dayInput.val(), mm: $mmInput.val(), year: $yearInput.val(), hour: $hourInput.val(), minute: $minuteInput.val() }; } }, { key: "enqueueCSS", value: function enqueueCSS(url) { if (!elementorCommon.elements.$document.find('link[href="' + url + '"]').length) { elementorCommon.elements.$document.find('link:last').after('<link href="' + url + '" rel="stylesheet" type="text/css">'); } } }, { key: "setData", value: function setData(data) { this.elements.$dataInput.val((0, _stringify.default)(data)); } }, { key: "getData", value: function getData() { var value = this.elements.$dataInput.val(); return '' === value ? '' : JSON.parse(value); } }, { key: "renderIconList", value: function renderIconList(config) { var _this2 = this; var iconTemplate = this.getSettings('templates.icon'); return config.icons.map(function (icon) { var data = { icon: config.displayPrefix + ' ' + config.prefix + icon, label: _this2.prepareIconName(icon) }; return elementorCommon.compileTemplate(iconTemplate, data); }).join('\n'); } }, { key: "renderIcons", value: function renderIcons(config) { var _this$elements2 = this.elements, $metaboxContainer = _this$elements2.$metaboxContainer, $metabox = _this$elements2.$metabox, $submitMetabox = _this$elements2.$submitMetabox; var _this$getSettings = this.getSettings('templates'), header = _this$getSettings.header, footer = _this$getSettings.footer; $metaboxContainer.addClass(this.getSettings('classes.hasIcons')); $submitMetabox.show(); this.setData(config); this.enqueueCSS(config.url); $metabox.html(''); $metaboxContainer.prepend(elementorCommon.compileTemplate(header, config)); $metabox.append('<ul>' + this.renderIconList(config) + '</ul>'); $metaboxContainer.append(elementorCommon.compileTemplate(footer, this.getCreatedOn())); } }, { key: "onTitleInput", value: function onTitleInput(event) { var data = this.getData(); data.label = event.target.value; this.setData(data); } }, { key: "checkInputsForValues", value: function checkInputsForValues() { // If creating new icon set - check the file input for a value // If editing an existing icon set - check the icon set config input for a value if ('' !== this.elements.$fileInput.val() || '' !== this.elements.$iconSetConfigInput.val()) { return true; } return false; } }, { key: "onSuccess", value: function onSuccess(data) { var _this3 = this; // it is possible to add a `dropzoneElement` param to this method for implementing upload progress bar if (data.data.errors) { var id, message; jQuery.each(data.data.errors, function (errorId, errorMessage) { id = errorId; message = errorMessage; return false; }); return this.showAlertDialog(id, message); } if (data.data.config.duplicate_prefix) { delete data.data.config.duplicatePrefix; return this.showAlertDialog('duplicate-prefix', this.getSettings('templates.duplicatePrefix'), function () { return _this3.saveInitialUpload(data.data.config); }); } this.saveInitialUpload(data.data.config); } }, { key: "saveInitialUpload", value: function saveInitialUpload(config) { this.setData(config); var _this$elements3 = this.elements, $publishButton = _this$elements3.$publishButton, $title = _this$elements3.$title, $submitMetabox = _this$elements3.$submitMetabox; $submitMetabox.show(); if ('' === $title.val()) { $title.val(config.name); } this.fileWasUploaded = true; // Flag to prevent infinite loop in the handleSubmit() method $publishButton.click(); } }, { key: "onInit", value: function onInit() { var _this4 = this; var $body = elementorCommon.elements.$body, _this$getSettings2 = this.getSettings('classes'), editPageClass = _this$getSettings2.editPageClass, editPhp = _this$getSettings2.editPhp; if (!$body.hasClass(editPageClass) || $body.hasClass(editPhp)) { return; } (0, _get2.default)((0, _getPrototypeOf2.default)(CustomIcons.prototype), "onInit", this).call(this); this.removeCloseHandle(); var dropzoneFieldClass = this.getSettings('fields.dropzone'), dropzoneField = new dropzoneFieldClass(), config = this.getData(), _this$elements4 = this.elements, $dropzone = _this$elements4.$dropzone, $metaboxContainer = _this$elements4.$metaboxContainer; if ('' === config) { $dropzone.show('fast'); dropzoneField.setSettings('onSuccess', function () { return _this4.onSuccess.apply(_this4, arguments); }); } else { this.renderIcons(config); } $metaboxContainer.show('fast'); } }]); return CustomIcons; }(_customAssetsBase.default); var _default = CustomIcons; exports.default = _default; /***/ }), /* 450 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _Object$defineProperty = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _stringify = _interopRequireDefault(__webpack_require__(182)); var _entries = _interopRequireDefault(__webpack_require__(451)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(3)); var _createClass2 = _interopRequireDefault(__webpack_require__(6)); var _get2 = _interopRequireDefault(__webpack_require__(61)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(25)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var DropZoneField = /*#__PURE__*/function (_elementorModules$Vie) { (0, _inherits2.default)(DropZoneField, _elementorModules$Vie); var _super = (0, _createSuper2.default)(DropZoneField); function DropZoneField() { (0, _classCallCheck2.default)(this, DropZoneField); return _super.apply(this, arguments); } (0, _createClass2.default)(DropZoneField, [{ key: "getDefaultSettings", value: function getDefaultSettings() { var baseSelector = '.elementor-dropzone-field'; return { droppedFiles: false, selectors: { dropZone: baseSelector, input: baseSelector + ' [type="file"]', label: baseSelector + 'label', errorMsg: baseSelector + '.box__error span', restart: baseSelector + '.box__restart', browseButton: baseSelector + ' .elementor--dropzone--upload__browse', postId: '#post_ID' }, classes: { drag: 'is-dragover', error: 'is-error', success: 'is-success', upload: 'is-uploading' }, onSuccess: null, onError: null }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var elements = {}; var selectors = this.getSettings('selectors'); jQuery.each(selectors, function (element, selector) { elements['$' + element] = jQuery(selector); }); return elements; } }, { key: "bindEvents", value: function bindEvents() { var _this = this; var _this$elements = this.elements, $dropZone = _this$elements.$dropZone, $browseButton = _this$elements.$browseButton, $input = _this$elements.$input; var _this$getSettings = this.getSettings('classes'), drag = _this$getSettings.drag; $browseButton.on('click', function () { return $input.click(); }); $dropZone.on('drag dragstart dragend dragover dragenter dragleave drop', function (event) { event.preventDefault(); event.stopPropagation(); }).on('dragover dragenter', function () { $dropZone.addClass(drag); }).on('dragleave dragend drop', function () { $dropZone.removeClass(drag); }).on('drop change', function (event) { if ('change' === event.type) { _this.setSettings('droppedFiles', event.originalEvent.target.files); } else { _this.setSettings('droppedFiles', event.originalEvent.dataTransfer.files); } _this.handleUpload(); }); } }, { key: "handleUpload", value: function handleUpload() { var _arguments = arguments; var droppedFiles = this.getSettings('droppedFiles'); if (!droppedFiles) { return; } var _this$elements2 = this.elements, $input = _this$elements2.$input, $dropZone = _this$elements2.$dropZone, $postId = _this$elements2.$postId, $errorMsg = _this$elements2.$errorMsg, _this$getSettings2 = this.getSettings('classes'), error = _this$getSettings2.error, _success = _this$getSettings2.success, upload = _this$getSettings2.upload, _this$getSettings3 = this.getSettings(), onSuccess = _this$getSettings3.onSuccess, onError = _this$getSettings3.onError, ajaxData = new FormData(), fieldName = $input.attr('name'), actionKey = 'pro_assets_manager_custom_icon_upload', self = this; (0, _entries.default)(droppedFiles).forEach(function (file) { ajaxData.append(fieldName, file[1]); }); ajaxData.append('actions', (0, _stringify.default)({ pro_assets_manager_custom_icon_upload: { action: actionKey, data: { post_id: $postId.val() } } })); $dropZone.removeClass(_success).removeClass(error); elementorCommon.ajax.send('ajax', { data: ajaxData, cache: false, enctype: 'multipart/form-data', contentType: false, processData: false, //TODO: Do something with upload progress /*xhr: () => { const xhr = jQuery.ajaxSettings.xhr(); xhr.upload.onprogress = ( evt ) => { if ( evt.lengthComputable ) { const percentComplete = Math.round( ( evt.loaded * 100 / evt.total ) ); } }; return xhr; },*/ complete: function complete() { $dropZone.removeClass(upload); }, success: function success(response) { var data = response.responses[actionKey]; $dropZone.addClass(data.success ? _success : error); if (data.success) { if (onSuccess) { onSuccess(data, self); } } else { $errorMsg.text(data.error); if (onError) { onError(self, _arguments); } } }, error: function error() { if ('function' === typeof onError) { onError(self, _arguments); } } }); } }, { key: "onInit", value: function onInit() { (0, _get2.default)((0, _getPrototypeOf2.default)(DropZoneField.prototype), "onInit", this).call(this); elementorCommon.elements.$document.trigger('onDropzoneLoaded', [this]); } }]); return DropZoneField; }(elementorModules.ViewModule); var _default = DropZoneField; exports.default = _default; /***/ }), /* 451 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(452); /***/ }), /* 452 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(453); module.exports = __webpack_require__(2).Object.entries; /***/ }), /* 453 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__(7); var $entries = __webpack_require__(256)(true); $export($export.S, 'Object', { entries: function entries(it) { return $entries(it); } }); /***/ }), /* 454 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(101); module.exports = function () { var self = this; self.cacheElements = function () { this.cache = { $button: jQuery('#elementor_pro_typekit_validate_button'), $kitIdField: jQuery('#elementor_typekit-kit-id'), $dataLabelSpan: jQuery('.elementor-pro-typekit-data') }; }; self.bindEvents = function () { this.cache.$button.on('click', function (event) { event.preventDefault(); self.fetchFonts(); }); this.cache.$kitIdField.on('change', function () { self.setState('clear'); }); }; self.fetchFonts = function () { this.setState('loading'); this.cache.$dataLabelSpan.addClass('hidden'); var kitID = this.cache.$kitIdField.val(); if ('' === kitID) { this.setState('clear'); return; } jQuery.post(ajaxurl, { action: 'elementor_pro_admin_fetch_fonts', kit_id: kitID, _nonce: self.cache.$button.data('nonce') }).done(function (data) { if (data.success) { var template = self.cache.$button.data('found'); template = template.replace('{{count}}', data.data.count); self.cache.$dataLabelSpan.html(template).removeClass('hidden'); self.setState('success'); } else { self.setState('error'); } }).fail(function () { self.setState(); }); }; self.setState = function (type) { var classes = ['loading', 'success', 'error'], currentClass, classIndex; for (classIndex in classes) { currentClass = classes[classIndex]; if (type === currentClass) { this.cache.$button.addClass(currentClass); } else { this.cache.$button.removeClass(currentClass); } } }; self.init = function () { this.cacheElements(); this.bindEvents(); }; self.init(); }; /***/ }), /* 455 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(1); var _Object$defineProperty = __webpack_require__(0); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(3)); var _createClass2 = _interopRequireDefault(__webpack_require__(6)); var _inherits2 = _interopRequireDefault(__webpack_require__(4)); var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); var _default = /*#__PURE__*/function (_elementorModules$Vie) { (0, _inherits2.default)(_default, _elementorModules$Vie); var _super = (0, _createSuper2.default)(_default); function _default() { (0, _classCallCheck2.default)(this, _default); return _super.apply(this, arguments); } (0, _createClass2.default)(_default, [{ key: "getDefaultSettings", value: function getDefaultSettings() { return { selectors: { button: '#elementor_pro_fa_pro_validate_button', kitIdField: '#elementor_font_awesome_pro_kit_id' } }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var elements = {}; var selectors = this.getSettings('selectors'); jQuery.each(selectors, function (element, selector) { elements['$' + element] = jQuery(selector); }); return elements; } }, { key: "bindEvents", value: function bindEvents() { var _this = this; var _this$elements = this.elements, $button = _this$elements.$button, $kitIdField = _this$elements.$kitIdField; $button.on('click', function (event) { event.preventDefault(); _this.testKitUrl(); }); $kitIdField.on('change', function () { _this.setState('clear'); }); } }, { key: "setState", value: function setState(type) { var classes = ['loading', 'success', 'error'], $button = this.elements.$button; var currentClass, classIndex; for (classIndex in classes) { currentClass = classes[classIndex]; if (type === currentClass) { $button.addClass(currentClass); } else { $button.removeClass(currentClass); } } } }, { key: "testKitUrl", value: function testKitUrl() { this.setState('loading'); var self = this, kitID = this.elements.$kitIdField.val(); if ('' === kitID) { this.setState('clear'); return; } jQuery.ajax({ url: 'https://kit.fontawesome.com/' + kitID + '.js', method: 'GET', complete: function complete(xhr) { if (200 !== xhr.status) { self.setState('error'); } else { self.setState('success'); } } }); } }]); return _default; }(elementorModules.ViewModule); exports.default = _default; /***/ }), /* 456 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function () { var AdvancedRoleManager = __webpack_require__(457); this.advancedRoleManager = new AdvancedRoleManager(); }; /***/ }), /* 457 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(19); module.exports = function () { var self = this; self.cacheElements = function () { this.cache = { $checkBox: jQuery('input[name="elementor_exclude_user_roles[]"]'), $advanced: jQuery('#elementor_advanced_role_manager') }; }; self.bindEvents = function () { this.cache.$checkBox.on('change', function (event) { event.preventDefault(); self.checkBoxUpdate(jQuery(this)); }); }; self.checkBoxUpdate = function ($element) { var role = $element.val(); if ($element.is(':checked')) { self.cache.$advanced.find('div.' + role).addClass('hidden'); } else { self.cache.$advanced.find('div.' + role).removeClass('hidden'); } }; self.init = function () { if (!jQuery('body').hasClass('elementor_page_elementor-role-manager')) { return; } this.cacheElements(); this.bindEvents(); }; self.init(); }; /***/ }), /* 458 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function () { var CreateTemplateDialog = __webpack_require__(459); this.createTemplateDialog = new CreateTemplateDialog(); }; /***/ }), /* 459 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(19); module.exports = function () { var selectors = { templateTypeInput: '#elementor-new-template__form__template-type', locationWrapper: '#elementor-new-template__form__location__wrapper', postTypeWrapper: '#elementor-new-template__form__post-type__wrapper' }; var elements = { $templateTypeInput: null, $locationWrapper: null, $postTypeWrapper: null }; var setElements = function setElements() { jQuery.each(selectors, function (key, selector) { key = '$' + key; elements[key] = elementorNewTemplate.layout.getModal().getElements('content').find(selector); }); }; var setLocationFieldVisibility = function setLocationFieldVisibility() { elements.$locationWrapper.toggle('section' === elements.$templateTypeInput.val()); elements.$postTypeWrapper.toggle('single' === elements.$templateTypeInput.val()); }; var run = function run() { setElements(); setLocationFieldVisibility(); elements.$templateTypeInput.change(setLocationFieldVisibility); }; this.init = function () { if (!window.elementorNewTemplate) { return; } // Make sure the modal has already been initialized elementorNewTemplate.layout.getModal(); run(); }; jQuery(setTimeout.bind(window, this.init)); }; /***/ }) /******/ ]); //# sourceMappingURL=admin.js.map