| @@ -1,2281 +1,6182 @@ | ||
| 1 | -(function(_wordpress_i18n) { | |
| 1 | +/*! elementor - v3.0.13 - 04-11-2020 */ | |
| 2 | +/******/ (function(modules) { // webpackBootstrap | |
| 3 | +/******/ // The module cache | |
| 4 | +/******/ var installedModules = {}; | |
| 5 | +/******/ | |
| 6 | +/******/ // The require function | |
| 7 | +/******/ function __webpack_require__(moduleId) { | |
| 8 | +/******/ | |
| 9 | +/******/ // Check if module is in cache | |
| 10 | +/******/ if(installedModules[moduleId]) { | |
| 11 | +/******/ return installedModules[moduleId].exports; | |
| 12 | +/******/ } | |
| 13 | +/******/ // Create a new module (and put it into the cache) | |
| 14 | +/******/ var module = installedModules[moduleId] = { | |
| 15 | +/******/ i: moduleId, | |
| 16 | +/******/ l: false, | |
| 17 | +/******/ exports: {} | |
| 18 | +/******/ }; | |
| 19 | +/******/ | |
| 20 | +/******/ // Execute the module function | |
| 21 | +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |
| 22 | +/******/ | |
| 23 | +/******/ // Flag the module as loaded | |
| 24 | +/******/ module.l = true; | |
| 25 | +/******/ | |
| 26 | +/******/ // Return the exports of the module | |
| 27 | +/******/ return module.exports; | |
| 28 | +/******/ } | |
| 29 | +/******/ | |
| 30 | +/******/ | |
| 31 | +/******/ // expose the modules object (__webpack_modules__) | |
| 32 | +/******/ __webpack_require__.m = modules; | |
| 33 | +/******/ | |
| 34 | +/******/ // expose the module cache | |
| 35 | +/******/ __webpack_require__.c = installedModules; | |
| 36 | +/******/ | |
| 37 | +/******/ // define getter function for harmony exports | |
| 38 | +/******/ __webpack_require__.d = function(exports, name, getter) { | |
| 39 | +/******/ if(!__webpack_require__.o(exports, name)) { | |
| 40 | +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |
| 41 | +/******/ } | |
| 42 | +/******/ }; | |
| 43 | +/******/ | |
| 44 | +/******/ // define __esModule on exports | |
| 45 | +/******/ __webpack_require__.r = function(exports) { | |
| 46 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 47 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 48 | +/******/ } | |
| 49 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 50 | +/******/ }; | |
| 51 | +/******/ | |
| 52 | +/******/ // create a fake namespace object | |
| 53 | +/******/ // mode & 1: value is a module id, require it | |
| 54 | +/******/ // mode & 2: merge all properties of value into the ns | |
| 55 | +/******/ // mode & 4: return value when already ns object | |
| 56 | +/******/ // mode & 8|1: behave like require | |
| 57 | +/******/ __webpack_require__.t = function(value, mode) { | |
| 58 | +/******/ if(mode & 1) value = __webpack_require__(value); | |
| 59 | +/******/ if(mode & 8) return value; | |
| 60 | +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |
| 61 | +/******/ var ns = Object.create(null); | |
| 62 | +/******/ __webpack_require__.r(ns); | |
| 63 | +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |
| 64 | +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |
| 65 | +/******/ return ns; | |
| 66 | +/******/ }; | |
| 67 | +/******/ | |
| 68 | +/******/ // getDefaultExport function for compatibility with non-harmony modules | |
| 69 | +/******/ __webpack_require__.n = function(module) { | |
| 70 | +/******/ var getter = module && module.__esModule ? | |
| 71 | +/******/ function getDefault() { return module['default']; } : | |
| 72 | +/******/ function getModuleExports() { return module; }; | |
| 73 | +/******/ __webpack_require__.d(getter, 'a', getter); | |
| 74 | +/******/ return getter; | |
| 75 | +/******/ }; | |
| 76 | +/******/ | |
| 77 | +/******/ // Object.prototype.hasOwnProperty.call | |
| 78 | +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |
| 79 | +/******/ | |
| 80 | +/******/ // __webpack_public_path__ | |
| 81 | +/******/ __webpack_require__.p = ""; | |
| 82 | +/******/ | |
| 83 | +/******/ | |
| 84 | +/******/ // Load entry module and return exports | |
| 85 | +/******/ return __webpack_require__(__webpack_require__.s = 821); | |
| 86 | +/******/ }) | |
| 87 | +/************************************************************************/ | |
| 88 | +/******/ ([ | |
| 89 | +/* 0 */ | |
| 90 | +/***/ (function(module, exports) { | |
| 2 | 91 | |
| 3 | -//#region \0rolldown/runtime.js | |
| 4 | - var __create = Object.create; | |
| 5 | - var __defProp = Object.defineProperty; | |
| 6 | - var __name = (target, value) => __defProp(target, "name", { | |
| 7 | - value, | |
| 8 | - configurable: true | |
| 9 | - }); | |
| 10 | - var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | |
| 11 | - var __getOwnPropNames = Object.getOwnPropertyNames; | |
| 12 | - var __getProtoOf = Object.getPrototypeOf; | |
| 13 | - var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 14 | - var __esmMin = (fn, res, err) => () => { | |
| 15 | - if (err) throw err[0]; | |
| 16 | - try { | |
| 17 | - return fn && (res = fn(fn = 0)), res; | |
| 18 | - } catch (e) { | |
| 19 | - throw err = [e], e; | |
| 20 | - } | |
| 21 | - }; | |
| 22 | - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); | |
| 23 | - var __copyProps = (to, from, except, desc) => { | |
| 24 | - if (from && typeof from === "object" || typeof from === "function") { | |
| 25 | - for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { | |
| 26 | - key = keys[i]; | |
| 27 | - if (!__hasOwnProp.call(to, key) && key !== except) { | |
| 28 | - __defProp(to, key, { | |
| 29 | - get: ((k) => from[k]).bind(null, key), | |
| 30 | - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable | |
| 31 | - }); | |
| 32 | - } | |
| 33 | - } | |
| 34 | - } | |
| 35 | - return to; | |
| 36 | - }; | |
| 37 | - var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { | |
| 38 | - value: mod, | |
| 39 | - enumerable: true | |
| 40 | - }) : target, mod)); | |
| 92 | +function _interopRequireDefault(obj) { | |
| 93 | + return obj && obj.__esModule ? obj : { | |
| 94 | + "default": obj | |
| 95 | + }; | |
| 96 | +} | |
| 41 | 97 | |
| 42 | -//#endregion | |
| 98 | +module.exports = _interopRequireDefault; | |
| 43 | 99 | |
| 44 | -//#region assets/dev/js/editor/utils/module.js | |
| 45 | - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 46 | - var EditorModule = elementorModules.Module.extend({ | |
| 47 | - onInit: function onInit() { | |
| 48 | - var _this = this; | |
| 49 | - var $window = jQuery(window); | |
| 50 | - $window.on("elementor:init-components", this.onElementorInitComponents.bind(this)); | |
| 51 | - $window.on("elementor:loaded", function() { | |
| 52 | - _this.onElementorLoaded(); | |
| 53 | - elementor.on("document:loaded", _this.onDocumentLoaded.bind(_this)); | |
| 54 | - }); | |
| 55 | - $window.on("elementor:init", this.onElementorReady); | |
| 56 | - }, | |
| 57 | - getEditorControlView: function getEditorControlView(name) { | |
| 58 | - var _this$getEditorContro; | |
| 59 | - return elementor.getPanelView().getCurrentPageView().children.findByModelCid((_this$getEditorContro = this.getEditorControlModel(name)) === null || _this$getEditorContro === void 0 ? void 0 : _this$getEditorContro.cid); | |
| 60 | - }, | |
| 61 | - getEditorControlModel: function getEditorControlModel(name) { | |
| 62 | - return elementor.getPanelView().getCurrentPageView().collection.findWhere({ name }); | |
| 63 | - }, | |
| 64 | - onElementorReady: function onElementorReady() { | |
| 65 | - this.onElementorInit(); | |
| 66 | - elementor.on("frontend:init", this.onElementorFrontendInit.bind(this)).on("preview:loaded", this.onElementorPreviewLoaded.bind(this)); | |
| 67 | - } | |
| 68 | - }); | |
| 69 | - EditorModule.prototype.onElementorLoaded = function() {}; | |
| 70 | - EditorModule.prototype.onElementorInit = function() {}; | |
| 71 | - EditorModule.prototype.onElementorPreviewLoaded = function() {}; | |
| 72 | - EditorModule.prototype.onDocumentLoaded = function() {}; | |
| 73 | - EditorModule.prototype.onElementorFrontendInit = function() {}; | |
| 74 | - EditorModule.prototype.onElementorInitComponents = function() {}; | |
| 75 | - module.exports = EditorModule; | |
| 76 | - })); | |
| 100 | +/***/ }), | |
| 101 | +/* 1 */ | |
| 102 | +/***/ (function(module, exports, __webpack_require__) { | |
| 77 | 103 | |
| 78 | -//#endregion | |
| 79 | -//#region node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js | |
| 80 | -var import_module = /* @__PURE__ */ __toESM(require_module()); | |
| 81 | - function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 82 | - try { | |
| 83 | - var i = n[a](c); | |
| 84 | - var u = i.value; | |
| 85 | - } catch (n) { | |
| 86 | - e(n); | |
| 87 | - return; | |
| 88 | - } | |
| 89 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 90 | - } | |
| 91 | - function _asyncToGenerator(n) { | |
| 92 | - return function() { | |
| 93 | - var t = this; | |
| 94 | - var e = arguments; | |
| 95 | - return new Promise(function(r, o) { | |
| 96 | - var a = n.apply(t, e); | |
| 97 | - function _next(n) { | |
| 98 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 99 | - } | |
| 100 | - function _throw(n) { | |
| 101 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 102 | - } | |
| 103 | - _next(void 0); | |
| 104 | - }); | |
| 105 | - }; | |
| 106 | - } | |
| 104 | +module.exports = __webpack_require__(152); | |
| 107 | 105 | |
| 108 | -//#endregion | |
| 109 | -//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js | |
| 110 | - function _classCallCheck(a, n) { | |
| 111 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 112 | - } | |
| 106 | +/***/ }), | |
| 107 | +/* 2 */ | |
| 108 | +/***/ (function(module, exports) { | |
| 113 | 109 | |
| 114 | -//#endregion | |
| 115 | -//#region node_modules/@babel/runtime/helpers/esm/typeof.js | |
| 116 | - function _typeof(o) { | |
| 117 | - "@babel/helpers - typeof"; | |
| 118 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 119 | - return typeof o; | |
| 120 | - } : function(o) { | |
| 121 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 122 | - }, _typeof(o); | |
| 123 | - } | |
| 124 | - var init_typeof = __esmMin((() => {})); | |
| 110 | +function _classCallCheck(instance, Constructor) { | |
| 111 | + if (!(instance instanceof Constructor)) { | |
| 112 | + throw new TypeError("Cannot call a class as a function"); | |
| 113 | + } | |
| 114 | +} | |
| 125 | 115 | |
| 126 | -//#endregion | |
| 127 | -//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js | |
| 128 | - init_typeof(); | |
| 129 | - function toPrimitive(t, r) { | |
| 130 | - if ("object" != _typeof(t) || !t) return t; | |
| 131 | - var e = t[Symbol.toPrimitive]; | |
| 132 | - if (void 0 !== e) { | |
| 133 | - var i = e.call(t, r || "default"); | |
| 134 | - if ("object" != _typeof(i)) return i; | |
| 135 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 136 | - } | |
| 137 | - return ("string" === r ? String : Number)(t); | |
| 138 | - } | |
| 116 | +module.exports = _classCallCheck; | |
| 139 | 117 | |
| 140 | -//#endregion | |
| 141 | -//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | |
| 142 | - init_typeof(); | |
| 143 | - function toPropertyKey(t) { | |
| 144 | - var i = toPrimitive(t, "string"); | |
| 145 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 146 | - } | |
| 118 | +/***/ }), | |
| 119 | +/* 3 */ | |
| 120 | +/***/ (function(module, exports, __webpack_require__) { | |
| 147 | 121 | |
| 148 | -//#endregion | |
| 149 | -//#region node_modules/@babel/runtime/helpers/esm/createClass.js | |
| 150 | - function _defineProperties(e, r) { | |
| 151 | - for (var t = 0; t < r.length; t++) { | |
| 152 | - var o = r[t]; | |
| 153 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 154 | - } | |
| 155 | - } | |
| 156 | - function _createClass(e, r, t) { | |
| 157 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; | |
| 158 | - } | |
| 122 | +var _Object$defineProperty = __webpack_require__(1); | |
| 159 | 123 | |
| 160 | -//#endregion | |
| 161 | -//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js | |
| 162 | - function _assertThisInitialized(e) { | |
| 163 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 164 | - return e; | |
| 165 | - } | |
| 124 | +function _defineProperties(target, props) { | |
| 125 | + for (var i = 0; i < props.length; i++) { | |
| 126 | + var descriptor = props[i]; | |
| 127 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 128 | + descriptor.configurable = true; | |
| 129 | + if ("value" in descriptor) descriptor.writable = true; | |
| 166 | 130 | |
| 167 | -//#endregion | |
| 168 | -//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js | |
| 169 | - init_typeof(); | |
| 170 | - function _possibleConstructorReturn(t, e) { | |
| 171 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 172 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 173 | - return _assertThisInitialized(t); | |
| 174 | - } | |
| 131 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 132 | + } | |
| 133 | +} | |
| 175 | 134 | |
| 176 | -//#endregion | |
| 177 | -//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js | |
| 178 | - function _getPrototypeOf(t) { | |
| 179 | - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { | |
| 180 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 181 | - }, _getPrototypeOf(t); | |
| 182 | - } | |
| 135 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 136 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 137 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 138 | + return Constructor; | |
| 139 | +} | |
| 183 | 140 | |
| 184 | -//#endregion | |
| 185 | -//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js | |
| 186 | - function _setPrototypeOf(t, e) { | |
| 187 | - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { | |
| 188 | - return t.__proto__ = e, t; | |
| 189 | - }, _setPrototypeOf(t, e); | |
| 190 | - } | |
| 141 | +module.exports = _createClass; | |
| 191 | 142 | |
| 192 | -//#endregion | |
| 193 | -//#region node_modules/@babel/runtime/helpers/esm/inherits.js | |
| 194 | - function _inherits(t, e) { | |
| 195 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 196 | - t.prototype = Object.create(e && e.prototype, { constructor: { | |
| 197 | - value: t, | |
| 198 | - writable: !0, | |
| 199 | - configurable: !0 | |
| 200 | - } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); | |
| 201 | - } | |
| 143 | +/***/ }), | |
| 144 | +/* 4 */ | |
| 145 | +/***/ (function(module, exports, __webpack_require__) { | |
| 202 | 146 | |
| 203 | -//#endregion | |
| 204 | -//#region node_modules/@babel/runtime/helpers/esm/defineProperty.js | |
| 205 | - function _defineProperty(e, r, t) { | |
| 206 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 207 | - value: t, | |
| 208 | - enumerable: !0, | |
| 209 | - configurable: !0, | |
| 210 | - writable: !0 | |
| 211 | - }) : e[r] = t, e; | |
| 212 | - } | |
| 147 | +var _Object$create = __webpack_require__(130); | |
| 213 | 148 | |
| 214 | -//#endregion | |
| 215 | -//#region node_modules/@babel/runtime/helpers/OverloadYield.js | |
| 216 | - var require_OverloadYield = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 217 | - function _OverloadYield(e, d) { | |
| 218 | - this.v = e, this.k = d; | |
| 219 | - } | |
| 220 | - module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 221 | - })); | |
| 149 | +var setPrototypeOf = __webpack_require__(119); | |
| 222 | 150 | |
| 223 | -//#endregion | |
| 224 | -//#region node_modules/@babel/runtime/helpers/regeneratorDefine.js | |
| 225 | - var require_regeneratorDefine = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 226 | - function _regeneratorDefine(e, r, n, t) { | |
| 227 | - var i = Object.defineProperty; | |
| 228 | - try { | |
| 229 | - i({}, "", {}); | |
| 230 | - } catch (e) { | |
| 231 | - i = 0; | |
| 232 | - } | |
| 233 | - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) { | |
| 234 | - function o(r, n) { | |
| 235 | - _regeneratorDefine(e, r, function(e) { | |
| 236 | - return this._invoke(r, n, e); | |
| 237 | - }); | |
| 238 | - } | |
| 239 | - r ? i ? i(e, r, { | |
| 240 | - value: n, | |
| 241 | - enumerable: !t, | |
| 242 | - configurable: !t, | |
| 243 | - writable: !t | |
| 244 | - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); | |
| 245 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t); | |
| 246 | - } | |
| 247 | - module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 248 | - })); | |
| 151 | +function _inherits(subClass, superClass) { | |
| 152 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 153 | + throw new TypeError("Super expression must either be null or a function"); | |
| 154 | + } | |
| 249 | 155 | |
| 250 | -//#endregion | |
| 251 | -//#region node_modules/@babel/runtime/helpers/regenerator.js | |
| 252 | - var require_regenerator$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 253 | - var regeneratorDefine = require_regeneratorDefine(); | |
| 254 | - function _regenerator() { | |
| 255 | - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ | |
| 256 | - var e; | |
| 257 | - var t; | |
| 258 | - var r = "function" == typeof Symbol ? Symbol : {}; | |
| 259 | - var n = r.iterator || "@@iterator"; | |
| 260 | - var o = r.toStringTag || "@@toStringTag"; | |
| 261 | - function i(r, n, o, i) { | |
| 262 | - var c = n && n.prototype instanceof Generator ? n : Generator; | |
| 263 | - var u = Object.create(c.prototype); | |
| 264 | - return regeneratorDefine(u, "_invoke", function(r, n, o) { | |
| 265 | - var i; | |
| 266 | - var c; | |
| 267 | - var u; | |
| 268 | - var f = 0; | |
| 269 | - var p = o || []; | |
| 270 | - var y = !1; | |
| 271 | - var G = { | |
| 272 | - p: 0, | |
| 273 | - n: 0, | |
| 274 | - v: e, | |
| 275 | - a: d, | |
| 276 | - f: d.bind(e, 4), | |
| 277 | - d: function d(t, r) { | |
| 278 | - return i = t, c = 0, u = e, G.n = r, a; | |
| 279 | - } | |
| 280 | - }; | |
| 281 | - function d(r, n) { | |
| 282 | - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { | |
| 283 | - var o; | |
| 284 | - var i = p[t]; | |
| 285 | - var d = G.p; | |
| 286 | - var l = i[2]; | |
| 287 | - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); | |
| 288 | - } | |
| 289 | - if (o || r > 1) return a; | |
| 290 | - throw y = !0, n; | |
| 291 | - } | |
| 292 | - return function(o, p, l) { | |
| 293 | - if (f > 1) throw TypeError("Generator is already running"); | |
| 294 | - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { | |
| 295 | - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); | |
| 296 | - try { | |
| 297 | - if (f = 2, i) { | |
| 298 | - if (c || (o = "next"), t = i[o]) { | |
| 299 | - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); | |
| 300 | - if (!t.done) return t; | |
| 301 | - u = t.value, c < 2 && (c = 0); | |
| 302 | - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); | |
| 303 | - i = e; | |
| 304 | - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; | |
| 305 | - } catch (t) { | |
| 306 | - i = e, c = 1, u = t; | |
| 307 | - } finally { | |
| 308 | - f = 1; | |
| 309 | - } | |
| 310 | - } | |
| 311 | - return { | |
| 312 | - value: t, | |
| 313 | - done: y | |
| 314 | - }; | |
| 315 | - }; | |
| 316 | - }(r, o, i), !0), u; | |
| 317 | - } | |
| 318 | - var a = {}; | |
| 319 | - function Generator() {} | |
| 320 | - function GeneratorFunction() {} | |
| 321 | - function GeneratorFunctionPrototype() {} | |
| 322 | - t = Object.getPrototypeOf; | |
| 323 | - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function() { | |
| 324 | - return this; | |
| 325 | - }), t); | |
| 326 | - var u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); | |
| 327 | - function f(e) { | |
| 328 | - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; | |
| 329 | - } | |
| 330 | - return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function() { | |
| 331 | - return this; | |
| 332 | - }), regeneratorDefine(u, "toString", function() { | |
| 333 | - return "[object Generator]"; | |
| 334 | - }), (module.exports = _regenerator = function _regenerator() { | |
| 335 | - return { | |
| 336 | - w: i, | |
| 337 | - m: f | |
| 338 | - }; | |
| 339 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 340 | - } | |
| 341 | - module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 342 | - })); | |
| 156 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 157 | + constructor: { | |
| 158 | + value: subClass, | |
| 159 | + writable: true, | |
| 160 | + configurable: true | |
| 161 | + } | |
| 162 | + }); | |
| 163 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 164 | +} | |
| 343 | 165 | |
| 344 | -//#endregion | |
| 345 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js | |
| 346 | - var require_regeneratorAsyncIterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 347 | - var OverloadYield = require_OverloadYield(); | |
| 348 | - var regeneratorDefine = require_regeneratorDefine(); | |
| 349 | - function AsyncIterator(t, e) { | |
| 350 | - function n(r, o, i, f) { | |
| 351 | - try { | |
| 352 | - var c = t[r](o); | |
| 353 | - var u = c.value; | |
| 354 | - return u instanceof OverloadYield ? e.resolve(u.v).then(function(t) { | |
| 355 | - n("next", t, i, f); | |
| 356 | - }, function(t) { | |
| 357 | - n("throw", t, i, f); | |
| 358 | - }) : e.resolve(u).then(function(t) { | |
| 359 | - c.value = t, i(c); | |
| 360 | - }, function(t) { | |
| 361 | - return n("throw", t, i, f); | |
| 362 | - }); | |
| 363 | - } catch (t) { | |
| 364 | - f(t); | |
| 365 | - } | |
| 366 | - } | |
| 367 | - var r; | |
| 368 | - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function() { | |
| 369 | - return this; | |
| 370 | - })), regeneratorDefine(this, "_invoke", function(t, o, i) { | |
| 371 | - function f() { | |
| 372 | - return new e(function(e, r) { | |
| 373 | - n(t, i, e, r); | |
| 374 | - }); | |
| 375 | - } | |
| 376 | - return r = r ? r.then(f, f) : f(); | |
| 377 | - }, !0); | |
| 378 | - } | |
| 379 | - module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 380 | - })); | |
| 166 | +module.exports = _inherits; | |
| 381 | 167 | |
| 382 | -//#endregion | |
| 383 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js | |
| 384 | - var require_regeneratorAsyncGen = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 385 | - var regenerator = require_regenerator$1(); | |
| 386 | - var regeneratorAsyncIterator = require_regeneratorAsyncIterator(); | |
| 387 | - function _regeneratorAsyncGen(r, e, t, o, n) { | |
| 388 | - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise); | |
| 389 | - } | |
| 390 | - module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 391 | - })); | |
| 168 | +/***/ }), | |
| 169 | +/* 5 */ | |
| 170 | +/***/ (function(module, exports, __webpack_require__) { | |
| 392 | 171 | |
| 393 | -//#endregion | |
| 394 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsync.js | |
| 395 | - var require_regeneratorAsync = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 396 | - var regeneratorAsyncGen = require_regeneratorAsyncGen(); | |
| 397 | - function _regeneratorAsync(n, e, r, t, o) { | |
| 398 | - var a = regeneratorAsyncGen(n, e, r, t, o); | |
| 399 | - return a.next().then(function(n) { | |
| 400 | - return n.done ? n.value : a.next(); | |
| 401 | - }); | |
| 402 | - } | |
| 403 | - module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 404 | - })); | |
| 172 | +var _Reflect$construct = __webpack_require__(95); | |
| 405 | 173 | |
| 406 | -//#endregion | |
| 407 | -//#region node_modules/@babel/runtime/helpers/regeneratorKeys.js | |
| 408 | - var require_regeneratorKeys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 409 | - function _regeneratorKeys(e) { | |
| 410 | - var n = Object(e); | |
| 411 | - var r = []; | |
| 412 | - for (var t in n) r.unshift(t); | |
| 413 | - return function e() { | |
| 414 | - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; | |
| 415 | - return e.done = !0, e; | |
| 416 | - }; | |
| 417 | - } | |
| 418 | - module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 419 | - })); | |
| 174 | +var getPrototypeOf = __webpack_require__(16); | |
| 420 | 175 | |
| 421 | -//#endregion | |
| 422 | -//#region node_modules/@babel/runtime/helpers/typeof.js | |
| 423 | - var require_typeof = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 424 | - function _typeof(o) { | |
| 425 | - "@babel/helpers - typeof"; | |
| 426 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 427 | - return typeof o; | |
| 428 | - } : function(o) { | |
| 429 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 430 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 431 | - } | |
| 432 | - module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 433 | - })); | |
| 176 | +var isNativeReflectConstruct = __webpack_require__(138); | |
| 434 | 177 | |
| 435 | -//#endregion | |
| 436 | -//#region node_modules/@babel/runtime/helpers/regeneratorValues.js | |
| 437 | - var require_regeneratorValues = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 438 | - var _typeof = require_typeof()["default"]; | |
| 439 | - function _regeneratorValues(e) { | |
| 440 | - if (null != e) { | |
| 441 | - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"]; | |
| 442 | - var r = 0; | |
| 443 | - if (t) return t.call(e); | |
| 444 | - if ("function" == typeof e.next) return e; | |
| 445 | - if (!isNaN(e.length)) return { next: function next() { | |
| 446 | - return e && r >= e.length && (e = void 0), { | |
| 447 | - value: e && e[r++], | |
| 448 | - done: !e | |
| 449 | - }; | |
| 450 | - } }; | |
| 451 | - } | |
| 452 | - throw new TypeError(_typeof(e) + " is not iterable"); | |
| 453 | - } | |
| 454 | - module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 455 | - })); | |
| 178 | +var possibleConstructorReturn = __webpack_require__(167); | |
| 456 | 179 | |
| 457 | -//#endregion | |
| 458 | -//#region node_modules/@babel/runtime/helpers/regeneratorRuntime.js | |
| 459 | - var require_regeneratorRuntime = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 460 | - var OverloadYield = require_OverloadYield(); | |
| 461 | - var regenerator = require_regenerator$1(); | |
| 462 | - var regeneratorAsync = require_regeneratorAsync(); | |
| 463 | - var regeneratorAsyncGen = require_regeneratorAsyncGen(); | |
| 464 | - var regeneratorAsyncIterator = require_regeneratorAsyncIterator(); | |
| 465 | - var regeneratorKeys = require_regeneratorKeys(); | |
| 466 | - var regeneratorValues = require_regeneratorValues(); | |
| 467 | - function _regeneratorRuntime() { | |
| 468 | - "use strict"; | |
| 469 | - var r = regenerator(); | |
| 470 | - var e = r.m(_regeneratorRuntime); | |
| 471 | - var t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; | |
| 472 | - function n(r) { | |
| 473 | - var e = "function" == typeof r && r.constructor; | |
| 474 | - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); | |
| 475 | - } | |
| 476 | - var o = { | |
| 477 | - "throw": 1, | |
| 478 | - "return": 2, | |
| 479 | - "break": 3, | |
| 480 | - "continue": 3 | |
| 481 | - }; | |
| 482 | - function a(r) { | |
| 483 | - var e; | |
| 484 | - var t; | |
| 485 | - return function(n) { | |
| 486 | - e || (e = { | |
| 487 | - stop: function stop() { | |
| 488 | - return t(n.a, 2); | |
| 489 | - }, | |
| 490 | - "catch": function _catch() { | |
| 491 | - return n.v; | |
| 492 | - }, | |
| 493 | - abrupt: function abrupt(r, e) { | |
| 494 | - return t(n.a, o[r], e); | |
| 495 | - }, | |
| 496 | - delegateYield: function delegateYield(r, o, a) { | |
| 497 | - return e.resultName = o, t(n.d, regeneratorValues(r), a); | |
| 498 | - }, | |
| 499 | - finish: function finish(r) { | |
| 500 | - return t(n.f, r); | |
| 501 | - } | |
| 502 | - }, t = function t(r, _t, o) { | |
| 503 | - n.p = e.prev, n.n = e.next; | |
| 504 | - try { | |
| 505 | - return r(_t, o); | |
| 506 | - } finally { | |
| 507 | - e.next = n.n; | |
| 508 | - } | |
| 509 | - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; | |
| 510 | - try { | |
| 511 | - return r.call(this, e); | |
| 512 | - } finally { | |
| 513 | - n.p = e.prev, n.n = e.next; | |
| 514 | - } | |
| 515 | - }; | |
| 516 | - } | |
| 517 | - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 518 | - return { | |
| 519 | - wrap: function wrap(e, t, n, o) { | |
| 520 | - return r.w(a(e), t, n, o && o.reverse()); | |
| 521 | - }, | |
| 522 | - isGeneratorFunction: n, | |
| 523 | - mark: r.m, | |
| 524 | - awrap: function awrap(r, e) { | |
| 525 | - return new OverloadYield(r, e); | |
| 526 | - }, | |
| 527 | - AsyncIterator: regeneratorAsyncIterator, | |
| 528 | - async: function async(r, e, t, o, u) { | |
| 529 | - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u); | |
| 530 | - }, | |
| 531 | - keys: regeneratorKeys, | |
| 532 | - values: regeneratorValues | |
| 533 | - }; | |
| 534 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 535 | - } | |
| 536 | - module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 537 | - })); | |
| 180 | +function _createSuper(Derived) { | |
| 181 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 182 | + return function _createSuperInternal() { | |
| 183 | + var Super = getPrototypeOf(Derived), | |
| 184 | + result; | |
| 538 | 185 | |
| 539 | -//#endregion | |
| 540 | -//#region node_modules/@babel/runtime/regenerator/index.js | |
| 541 | - var require_regenerator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 542 | - var runtime = require_regeneratorRuntime()(); | |
| 543 | - module.exports = runtime; | |
| 544 | - try { | |
| 545 | - regeneratorRuntime = runtime; | |
| 546 | - } catch (accidentalStrictMode) { | |
| 547 | - if (typeof globalThis === "object") globalThis.regeneratorRuntime = runtime; | |
| 548 | - else Function("r", "regeneratorRuntime = r")(runtime); | |
| 549 | - } | |
| 550 | - })); | |
| 186 | + if (hasNativeReflectConstruct) { | |
| 187 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 188 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 189 | + } else { | |
| 190 | + result = Super.apply(this, arguments); | |
| 191 | + } | |
| 551 | 192 | |
| 552 | -//#endregion | |
| 553 | -//#region assets/dev/js/utils/introduction.js | |
| 554 | - var import_regenerator = /* @__PURE__ */ __toESM(require_regenerator()); | |
| 555 | - function _callSuper$3(t, o, e) { | |
| 556 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$4() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 557 | - } | |
| 558 | - __name(_callSuper$3, "_callSuper"); | |
| 559 | - function _isNativeReflectConstruct$4() { | |
| 560 | - try { | |
| 561 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 562 | - } catch (t) {} | |
| 563 | - return (_isNativeReflectConstruct$4 = function _isNativeReflectConstruct() { | |
| 564 | - return !!t; | |
| 565 | - })(); | |
| 566 | - } | |
| 567 | - __name(_isNativeReflectConstruct$4, "_isNativeReflectConstruct"); | |
| 568 | - var _default = /*#__PURE__*/ function(_elementorModules$Mod) { | |
| 569 | - function _default() { | |
| 570 | - var _this; | |
| 571 | - _classCallCheck(this, _default); | |
| 572 | - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key]; | |
| 573 | - _this = _callSuper$3(this, _default, [].concat(args)); | |
| 574 | - _defineProperty(_this, "introductionMap", null); | |
| 575 | - _this.initDialog(); | |
| 576 | - return _this; | |
| 577 | - } | |
| 578 | - _inherits(_default, _elementorModules$Mod); | |
| 579 | - return _createClass(_default, [ | |
| 580 | - { | |
| 581 | - key: "setIntroductionMap", | |
| 582 | - value: function setIntroductionMap(map) { | |
| 583 | - this.introductionMap = map; | |
| 584 | - } | |
| 585 | - }, | |
| 586 | - { | |
| 587 | - key: "getIntroductionMap", | |
| 588 | - value: function getIntroductionMap() { | |
| 589 | - return this.introductionMap || elementor.config.user.introduction; | |
| 590 | - } | |
| 591 | - }, | |
| 592 | - { | |
| 593 | - key: "getDefaultSettings", | |
| 594 | - value: function getDefaultSettings() { | |
| 595 | - return { | |
| 596 | - dialogType: "buttons", | |
| 597 | - dialogOptions: { | |
| 598 | - effects: { | |
| 599 | - hide: "hide", | |
| 600 | - show: "show" | |
| 601 | - }, | |
| 602 | - hide: { onBackgroundClick: false } | |
| 603 | - } | |
| 604 | - }; | |
| 605 | - } | |
| 606 | - }, | |
| 607 | - { | |
| 608 | - key: "initDialog", | |
| 609 | - value: function initDialog() { | |
| 610 | - var _this2 = this; | |
| 611 | - var dialog; | |
| 612 | - this.getDialog = function() { | |
| 613 | - if (!dialog) { | |
| 614 | - var settings = _this2.getSettings(); | |
| 615 | - dialog = elementorCommon.dialogsManager.createWidget(settings.dialogType, settings.dialogOptions); | |
| 616 | - if (settings.onDialogInitCallback) settings.onDialogInitCallback.call(_this2, dialog); | |
| 617 | - } | |
| 618 | - return dialog; | |
| 619 | - }; | |
| 620 | - } | |
| 621 | - }, | |
| 622 | - { | |
| 623 | - key: "show", | |
| 624 | - value: function show(target) { | |
| 625 | - if (this.introductionViewed) return; | |
| 626 | - var dialog = this.getDialog(); | |
| 627 | - if (target) dialog.setSettings("position", { of: target }); | |
| 628 | - dialog.show(); | |
| 629 | - } | |
| 630 | - }, | |
| 631 | - { | |
| 632 | - key: "introductionViewed", | |
| 633 | - get: function get() { | |
| 634 | - var introductionKey = this.getSettings("introductionKey"); | |
| 635 | - return this.getIntroductionMap()[introductionKey]; | |
| 636 | - }, | |
| 637 | - set: function set(isViewed) { | |
| 638 | - var introductionKey = this.getSettings("introductionKey"); | |
| 639 | - this.getIntroductionMap()[introductionKey] = isViewed; | |
| 640 | - } | |
| 641 | - }, | |
| 642 | - { | |
| 643 | - key: "setViewed", | |
| 644 | - value: function() { | |
| 645 | - var _setViewed = _asyncToGenerator(/*#__PURE__*/ import_regenerator.default.mark(function _callee() { | |
| 646 | - var _this3 = this; | |
| 647 | - return import_regenerator.default.wrap(function(_context) { | |
| 648 | - while (1) switch (_context.prev = _context.next) { | |
| 649 | - case 0: | |
| 650 | - this.introductionViewed = true; | |
| 651 | - return _context.abrupt("return", new Promise(function(resolve, reject) { | |
| 652 | - elementorCommon.ajax.addRequest("introduction_viewed", { | |
| 653 | - data: { introductionKey: _this3.getSettings("introductionKey") }, | |
| 654 | - success: resolve, | |
| 655 | - error: reject | |
| 656 | - }); | |
| 657 | - })); | |
| 658 | - case 1: | |
| 659 | - case "end": return _context.stop(); | |
| 660 | - } | |
| 661 | - }, _callee, this); | |
| 662 | - })); | |
| 663 | - function setViewed() { | |
| 664 | - return _setViewed.apply(this, arguments); | |
| 665 | - } | |
| 666 | - return setViewed; | |
| 667 | - }() | |
| 668 | - } | |
| 669 | - ]); | |
| 670 | - }(elementorModules.Module); | |
| 193 | + return possibleConstructorReturn(this, result); | |
| 194 | + }; | |
| 195 | +} | |
| 671 | 196 | |
| 672 | -//#endregion | |
| 673 | -//#region assets/dev/js/editor/views/controls-popover.js | |
| 674 | - var ControlsPopover = /*#__PURE__*/ function() { | |
| 675 | - function ControlsPopover(child) { | |
| 676 | - _classCallCheck(this, ControlsPopover); | |
| 677 | - this.child = child; | |
| 678 | - this.$popover = jQuery("<div>", { class: "elementor-controls-popover" }); | |
| 679 | - child.$el.before(this.$popover); | |
| 680 | - this.$popover.append(child.$el); | |
| 681 | - this.popoverToggleView = child._parent.children.findByIndex(child._index - 1); | |
| 682 | - if ("typography" === this.child.model.attributes.groupType) this.createPopoverHeader(); | |
| 683 | - } | |
| 684 | - return _createClass(ControlsPopover, [ | |
| 685 | - { | |
| 686 | - key: "addChild", | |
| 687 | - value: function addChild(child) { | |
| 688 | - this.$popover.append(child.$el); | |
| 689 | - } | |
| 690 | - }, | |
| 691 | - { | |
| 692 | - key: "createPopoverHeader", | |
| 693 | - value: function createPopoverHeader() { | |
| 694 | - var _this = this; | |
| 695 | - var $resetLabel = this.$popover.prev().find(".elementor-control-popover-toggle-reset-label"); | |
| 696 | - this.$popoverHeader = jQuery("<div>", { class: "e-group-control-header" }).html("<span>" + (0, _wordpress_i18n.__)("Typography", "elementor") + "</span>"); | |
| 697 | - this.$headerControlsWrapper = jQuery("<div>", { class: "e-control-tools" }); | |
| 698 | - $resetLabel.addClass("e-control-tool").on("click", function() { | |
| 699 | - return _this.onResetButtonClick(); | |
| 700 | - }); | |
| 701 | - this.$headerControlsWrapper.append($resetLabel); | |
| 702 | - this.$popoverHeader.append(this.$headerControlsWrapper); | |
| 703 | - var globalConfig = this.popoverToggleView.model.get("global"); | |
| 704 | - if (globalConfig !== null && globalConfig !== void 0 && globalConfig.active) this.createAddButton(); | |
| 705 | - this.$popover.prepend(this.$popoverHeader).addClass("e-controls-popover--typography"); | |
| 706 | - } | |
| 707 | - }, | |
| 708 | - { | |
| 709 | - key: "onResetButtonClick", | |
| 710 | - value: function onResetButtonClick() { | |
| 711 | - this.$popover.hide(); | |
| 712 | - this.$popover.trigger("hide"); | |
| 713 | - var groupControlName = this.child.model.get("groupPrefix") + "typography"; | |
| 714 | - var args = { | |
| 715 | - container: this.child.options.container, | |
| 716 | - settings: _defineProperty({}, groupControlName, "") | |
| 717 | - }; | |
| 718 | - if (this.child.options.container.globals.get(groupControlName)) $e.run("document/globals/disable", args); | |
| 719 | - else $e.run("document/elements/settings", args); | |
| 720 | - } | |
| 721 | - }, | |
| 722 | - { | |
| 723 | - key: "onAddButtonClick", | |
| 724 | - value: function onAddButtonClick() { | |
| 725 | - this.popoverToggleView.onAddGlobalButtonClick(); | |
| 726 | - } | |
| 727 | - }, | |
| 728 | - { | |
| 729 | - key: "createAddButton", | |
| 730 | - value: function createAddButton() { | |
| 731 | - var _this2 = this; | |
| 732 | - this.$addButton = jQuery("<button>", { class: "e-control-tool" }).html(jQuery("<i>", { class: "eicon-plus" })); | |
| 733 | - this.$headerControlsWrapper.append(this.$addButton); | |
| 734 | - this.$addButton.on("click", function() { | |
| 735 | - return _this2.onAddButtonClick(); | |
| 736 | - }); | |
| 737 | - this.$addButton.tipsy({ | |
| 738 | - title: function title() { | |
| 739 | - return (0, _wordpress_i18n.__)("Create New Global Font", "elementor"); | |
| 740 | - }, | |
| 741 | - gravity: function gravity() { | |
| 742 | - return "s"; | |
| 743 | - } | |
| 744 | - }); | |
| 745 | - } | |
| 746 | - }, | |
| 747 | - { | |
| 748 | - key: "destroy", | |
| 749 | - value: function destroy() { | |
| 750 | - this.$popover.remove(); | |
| 751 | - } | |
| 752 | - } | |
| 753 | - ]); | |
| 754 | - }(); | |
| 197 | +module.exports = _createSuper; | |
| 755 | 198 | |
| 756 | -//#endregion | |
| 757 | -//#region assets/dev/js/editor/elements/views/behaviors/inner-tabs.js | |
| 758 | - var require_inner_tabs = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 759 | - var InnerTabsBehavior = Marionette.Behavior.extend({ | |
| 760 | - onRenderCollection: function onRenderCollection() { | |
| 761 | - this.handleInnerTabs(this.view); | |
| 762 | - }, | |
| 763 | - handleInnerTabs: function handleInnerTabs(parent) { | |
| 764 | - var closedClass = "e-tab-close"; | |
| 765 | - var activeClass = "e-tab-active"; | |
| 766 | - var tabsWrappers = parent.children.filter(function(view) { | |
| 767 | - return "tabs" === view.model.get("type"); | |
| 768 | - }); | |
| 769 | - _.each(tabsWrappers, function(view) { | |
| 770 | - view.$el.find(".elementor-control-content").remove(); | |
| 771 | - var tabsId = view.model.get("name"); | |
| 772 | - var tabs = parent.children.filter(function(childView) { | |
| 773 | - return "tab" === childView.model.get("type") && childView.model.get("tabs_wrapper") === tabsId; | |
| 774 | - }); | |
| 775 | - _.each(tabs, function(childView, index) { | |
| 776 | - view._addChildView(childView); | |
| 777 | - var tabId = childView.model.get("name"); | |
| 778 | - var controlsUnderTab = parent.children.filter(function(controlView) { | |
| 779 | - return tabId === controlView.model.get("inner_tab"); | |
| 780 | - }); | |
| 781 | - if (0 === index) childView.$el.addClass(activeClass); | |
| 782 | - else _.each(controlsUnderTab, function(controlView) { | |
| 783 | - controlView.$el.addClass(closedClass); | |
| 784 | - }); | |
| 785 | - }); | |
| 786 | - }); | |
| 787 | - }, | |
| 788 | - onChildviewControlTabClicked: function onChildviewControlTabClicked(childView) { | |
| 789 | - var closedClass = "e-tab-close"; | |
| 790 | - var activeClass = "e-tab-active"; | |
| 791 | - var tabClicked = childView.model.get("name"); | |
| 792 | - var childrenUnderTab = this.view.children.filter(function(view) { | |
| 793 | - return "tab" !== view.model.get("type") && childView.model.get("tabs_wrapper") === view.model.get("tabs_wrapper"); | |
| 794 | - }); | |
| 795 | - var siblingTabs = this.view.children.filter(function(view) { | |
| 796 | - return "tab" === view.model.get("type") && childView.model.get("tabs_wrapper") === view.model.get("tabs_wrapper"); | |
| 797 | - }); | |
| 798 | - _.each(siblingTabs, function(view) { | |
| 799 | - view.$el.removeClass(activeClass); | |
| 800 | - }); | |
| 801 | - childView.$el.addClass(activeClass); | |
| 802 | - _.each(childrenUnderTab, function(view) { | |
| 803 | - if (view.model.get("inner_tab") === tabClicked) view.$el.removeClass(closedClass); | |
| 804 | - else view.$el.addClass(closedClass); | |
| 805 | - }); | |
| 806 | - elementor.getPanelView().updateScrollbar(); | |
| 807 | - } | |
| 808 | - }); | |
| 809 | - module.exports = InnerTabsBehavior; | |
| 810 | - })); | |
| 199 | +/***/ }), | |
| 200 | +/* 6 */ | |
| 201 | +/***/ (function(module, exports) { | |
| 811 | 202 | |
| 812 | -//#endregion | |
| 813 | -//#region assets/dev/js/editor/views/controls-stack.js | |
| 814 | - var ControlsStack = Marionette.CompositeView.extend({ | |
| 815 | - classes: { popover: "elementor-controls-popover" }, | |
| 816 | - activeTab: null, | |
| 817 | - activeSection: null, | |
| 818 | - className: function className() { | |
| 819 | - return "elementor-controls-stack"; | |
| 820 | - }, | |
| 821 | - templateHelpers: function templateHelpers() { | |
| 822 | - return { elementData: elementor.getElementData(this.model) }; | |
| 823 | - }, | |
| 824 | - childViewOptions: function childViewOptions() { | |
| 825 | - return { elementSettingsModel: this.model }; | |
| 826 | - }, | |
| 827 | - ui: function ui() { | |
| 828 | - return { | |
| 829 | - tabs: ".elementor-panel-navigation-tab", | |
| 830 | - reloadButton: ".elementor-update-preview-button" | |
| 831 | - }; | |
| 832 | - }, | |
| 833 | - events: function events() { | |
| 834 | - return { "click @ui.reloadButton": "onReloadButtonClick" }; | |
| 835 | - }, | |
| 836 | - modelEvents: { destroy: "onModelDestroy" }, | |
| 837 | - behaviors: { HandleInnerTabs: { behaviorClass: require_inner_tabs() } }, | |
| 838 | - initialize: function initialize(options) { | |
| 839 | - this.initCollection(); | |
| 840 | - if (options.tab) { | |
| 841 | - this.activeTab = options.tab; | |
| 842 | - this.activateFirstSection(); | |
| 843 | - } | |
| 844 | - this.listenTo(elementor.channels.deviceMode, "change", this.onDeviceModeChange); | |
| 845 | - }, | |
| 846 | - onDestroy: function onDestroy() { | |
| 847 | - this.stopListening(elementor.channels.deviceMode, "change", this.onDeviceModeChange); | |
| 848 | - }, | |
| 849 | - initCollection: function initCollection() { | |
| 850 | - this.collection = new Backbone.Collection(_.values(elementor.mergeControlsSettings(this.getOption("controls")))); | |
| 851 | - }, | |
| 852 | - filter: function filter(controlModel) { | |
| 853 | - if (controlModel.get("tab") !== this.activeTab) return false; | |
| 854 | - if ("section" === controlModel.get("type")) return true; | |
| 855 | - var section = controlModel.get("section"); | |
| 856 | - return !section || section === this.activeSection; | |
| 857 | - }, | |
| 858 | - getControlViewByModel: function getControlViewByModel(model) { | |
| 859 | - return this.children.findByModelCid(model.cid); | |
| 860 | - }, | |
| 861 | - getControlViewByName: function getControlViewByName(name) { | |
| 862 | - return this.getControlViewByModel(this.getControlModel(name)); | |
| 863 | - }, | |
| 864 | - getControlModel: function getControlModel(name) { | |
| 865 | - return this.collection.findWhere({ name }); | |
| 866 | - }, | |
| 867 | - isVisibleSectionControl: function isVisibleSectionControl(sectionControlModel) { | |
| 868 | - return this.activeTab === sectionControlModel.get("tab"); | |
| 869 | - }, | |
| 870 | - activateTab: function activateTab(tab) { | |
| 871 | - this.activeTab = tab; | |
| 872 | - this.activateFirstSection(); | |
| 873 | - this._renderChildren(); | |
| 874 | - return this; | |
| 875 | - }, | |
| 876 | - activateSection: function activateSection(sectionName) { | |
| 877 | - this.activeSection = sectionName; | |
| 878 | - return this; | |
| 879 | - }, | |
| 880 | - activateFirstSection: function activateFirstSection() { | |
| 881 | - var self = this; | |
| 882 | - var sectionControls = self.collection.filter(function(controlModel) { | |
| 883 | - return "section" === controlModel.get("type") && self.isVisibleSectionControl(controlModel); | |
| 884 | - }); | |
| 885 | - var sectionToActivate; | |
| 886 | - if (!sectionControls[0]) { | |
| 887 | - self.activeSection = null; | |
| 888 | - sectionToActivate = null; | |
| 889 | - } else sectionToActivate = sectionControls[0].get("name"); | |
| 890 | - if (sectionControls.filter(function(controlModel) { | |
| 891 | - return self.activeSection === controlModel.get("name"); | |
| 892 | - })[0]) return; | |
| 893 | - self.activateSection(sectionToActivate); | |
| 894 | - return this; | |
| 895 | - }, | |
| 896 | - getChildView: function getChildView(item) { | |
| 897 | - var controlType = item.get("type"); | |
| 898 | - return elementor.getControlView(controlType); | |
| 899 | - }, | |
| 900 | - getNamespaceArray: function getNamespaceArray() { | |
| 901 | - return [elementor.getPanelView().getCurrentPageName()]; | |
| 902 | - }, | |
| 903 | - openActiveSection: function openActiveSection() { | |
| 904 | - var activeSection = this.activeSection; | |
| 905 | - var activeSectionView = this.children.filter(function(view) { | |
| 906 | - return activeSection === view.model.get("name"); | |
| 907 | - }); | |
| 908 | - if (activeSectionView[0]) { | |
| 909 | - activeSectionView[0].$el.addClass("e-open"); | |
| 910 | - var eventNamespace = this.getNamespaceArray(); | |
| 911 | - eventNamespace.push(activeSection, "activated"); | |
| 912 | - elementor.channels.editor.trigger(eventNamespace.join(":"), this); | |
| 913 | - } | |
| 914 | - }, | |
| 915 | - onRenderCollection: function onRenderCollection() { | |
| 916 | - this.openActiveSection(); | |
| 917 | - ControlsStack.handlePopovers(this); | |
| 918 | - }, | |
| 919 | - onModelDestroy: function onModelDestroy() { | |
| 920 | - this.destroy(); | |
| 921 | - }, | |
| 922 | - onReloadButtonClick: function onReloadButtonClick() { | |
| 923 | - elementor.reloadPreview(); | |
| 924 | - }, | |
| 925 | - onDeviceModeChange: function onDeviceModeChange() { | |
| 926 | - if ("desktop" === elementor.channels.deviceMode.request("currentMode")) this.$el.removeClass("elementor-responsive-switchers-open"); | |
| 927 | - }, | |
| 928 | - onChildviewControlSectionClicked: function onChildviewControlSectionClicked(childView) { | |
| 929 | - var isSectionOpen = childView.$el.hasClass("e-open"); | |
| 930 | - this.activateSection(isSectionOpen ? null : childView.model.get("name")); | |
| 931 | - this._renderChildren(); | |
| 932 | - }, | |
| 933 | - onChildviewResponsiveSwitcherClick: function onChildviewResponsiveSwitcherClick(childView, device) { | |
| 934 | - if ("desktop" === device) this.$el.toggleClass("elementor-responsive-switchers-open"); | |
| 935 | - } | |
| 936 | - }, { | |
| 937 | - handlePopovers: function handlePopovers(view) { | |
| 938 | - var popover; | |
| 939 | - this.removePopovers(view); | |
| 940 | - view.popovers = []; | |
| 941 | - view.children.each(function(control) { | |
| 942 | - if (popover) popover.addChild(control); | |
| 943 | - var popoverData = control.model.get("popover"); | |
| 944 | - if (!popoverData) return; | |
| 945 | - if (popoverData.start) { | |
| 946 | - popover = new ControlsPopover(control); | |
| 947 | - view.popovers.push(popover); | |
| 948 | - } | |
| 949 | - if (popoverData.end) popover = null; | |
| 950 | - }); | |
| 951 | - }, | |
| 952 | - removePopovers: function removePopovers(view) { | |
| 953 | - var _view$popovers; | |
| 954 | - (_view$popovers = view.popovers) === null || _view$popovers === void 0 || _view$popovers.forEach(function(popover) { | |
| 955 | - return popover.destroy(); | |
| 956 | - }); | |
| 957 | - } | |
| 958 | - }); | |
| 203 | +var core = module.exports = { version: '2.6.11' }; | |
| 204 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 959 | 205 | |
| 960 | -//#endregion | |
| 961 | -//#region assets/dev/js/editor/elements/models/base-settings.js | |
| 962 | - var require_base_settings = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 963 | - init_typeof(); | |
| 964 | - var BaseSettingsModel = Backbone.Model.extend({ | |
| 965 | - options: {}, | |
| 966 | - initialize: function initialize(data, options) { | |
| 967 | - var self = this; | |
| 968 | - self.options = options; | |
| 969 | - self.controls = elementor.mergeControlsSettings(options.controls); | |
| 970 | - self.validators = {}; | |
| 971 | - if (!self.controls) return; | |
| 972 | - var attrs = data || {}; | |
| 973 | - var defaults = {}; | |
| 974 | - _.each(self.controls, function(control) { | |
| 975 | - if (control.features && -1 !== control.features.indexOf("ui")) return; | |
| 976 | - var controlName = control.name; | |
| 977 | - if ("object" === _typeof(control.default)) defaults[controlName] = structuredClone(control.default); | |
| 978 | - else defaults[controlName] = control.default; | |
| 979 | - var isDynamicControl = control.dynamic && control.dynamic.active; | |
| 980 | - var hasDynamicSettings = isDynamicControl && attrs.__dynamic__ && attrs.__dynamic__[controlName]; | |
| 981 | - if (isDynamicControl && !hasDynamicSettings && control.dynamic.default) { | |
| 982 | - if (!attrs.__dynamic__) attrs.__dynamic__ = {}; | |
| 983 | - attrs.__dynamic__[controlName] = control.dynamic.default; | |
| 984 | - hasDynamicSettings = true; | |
| 985 | - } | |
| 986 | - var isMultipleControl = jQuery.isPlainObject(control.default); | |
| 987 | - if (void 0 !== attrs[controlName] && isMultipleControl && !_.isObject(attrs[controlName]) && !hasDynamicSettings) { | |
| 988 | - elementorCommon.debug.addCustomError(/* @__PURE__ */ new TypeError("An invalid argument supplied as multiple control value"), "InvalidElementData", "Element `" + (self.get("widgetType") || self.get("elType")) + "` got <" + attrs[controlName] + "> as `" + controlName + "` value. Expected array or object."); | |
| 989 | - delete attrs[controlName]; | |
| 990 | - } | |
| 991 | - if (void 0 === attrs[controlName]) attrs[controlName] = defaults[controlName]; | |
| 992 | - }); | |
| 993 | - self.defaults = defaults; | |
| 994 | - self.handleRepeaterData(attrs); | |
| 995 | - self.set(attrs); | |
| 996 | - }, | |
| 997 | - convertRepeaterValueToCollection: function convertRepeaterValueToCollection(attrs, repeaterControl) { | |
| 998 | - return new Backbone.Collection(attrs[repeaterControl.name], { model: function model(attributes, options) { | |
| 999 | - options = options || {}; | |
| 1000 | - options.controls = {}; | |
| 1001 | - Object.values(repeaterControl.fields).forEach(function(item) { | |
| 1002 | - options.controls[item.name] = item; | |
| 1003 | - }); | |
| 1004 | - if (!attributes._id) attributes._id = elementorCommon.helpers.getUniqueId(); | |
| 1005 | - return new BaseSettingsModel(attributes, options); | |
| 1006 | - } }); | |
| 1007 | - }, | |
| 1008 | - handleRepeaterData: function handleRepeaterData(attrs) { | |
| 1009 | - var self = this; | |
| 1010 | - _.each(this.controls, function(field) { | |
| 1011 | - if (field.is_repeater) { | |
| 1012 | - if (!(attrs[field.name] instanceof Backbone.Collection)) attrs[field.name] = self.convertRepeaterValueToCollection(attrs, field); | |
| 1013 | - } | |
| 1014 | - }); | |
| 1015 | - }, | |
| 1016 | - getFontControls: function getFontControls() { | |
| 1017 | - return this.getControlsByType("font"); | |
| 1018 | - }, | |
| 1019 | - getIconsControls: function getIconsControls() { | |
| 1020 | - return this.getControlsByType("icons"); | |
| 1021 | - }, | |
| 1022 | - getControlsByType: function getControlsByType(type) { | |
| 1023 | - return _.filter(this.getActiveControls(), function(control) { | |
| 1024 | - return type === control.type; | |
| 1025 | - }); | |
| 1026 | - }, | |
| 1027 | - getStyleControls: function getStyleControls(controls, attributes) { | |
| 1028 | - var self = this; | |
| 1029 | - controls = structuredClone(self.getActiveControls(controls, attributes)); | |
| 1030 | - var styleControls = []; | |
| 1031 | - jQuery.each(controls, function() { | |
| 1032 | - var _control$dynamic; | |
| 1033 | - var control = this; | |
| 1034 | - var controlDefaultSettings = elementor.config.controls[control.type]; | |
| 1035 | - control = jQuery.extend({}, controlDefaultSettings, control); | |
| 1036 | - if (control.fields) { | |
| 1037 | - var styleFields = []; | |
| 1038 | - if (!(self.attributes[control.name] instanceof Backbone.Collection)) self.attributes[control.name] = self.convertRepeaterValueToCollection(self.attributes, control); | |
| 1039 | - self.attributes[control.name].each(function(item) { | |
| 1040 | - styleFields.push(self.getStyleControls(control.fields, item.attributes)); | |
| 1041 | - }); | |
| 1042 | - control.styleFields = styleFields; | |
| 1043 | - } | |
| 1044 | - if (control.fields || (_control$dynamic = control.dynamic) !== null && _control$dynamic !== void 0 && _control$dynamic.active || self.isGlobalControl(control, controls) || self.isStyleControl(control.name, controls)) styleControls.push(control); | |
| 1045 | - }); | |
| 1046 | - return styleControls; | |
| 1047 | - }, | |
| 1048 | - isGlobalControl: function isGlobalControl(control, controls) { | |
| 1049 | - var _globalControl$global; | |
| 1050 | - var _this$attributes$__gl; | |
| 1051 | - var controlGlobalKey = control.name; | |
| 1052 | - if (control.groupType) controlGlobalKey = control.groupPrefix + control.groupType; | |
| 1053 | - var globalControl = controls[controlGlobalKey]; | |
| 1054 | - if (!(globalControl !== null && globalControl !== void 0 && (_globalControl$global = globalControl.global) !== null && _globalControl$global !== void 0 && _globalControl$global.active)) return false; | |
| 1055 | - return !!((_this$attributes$__gl = this.attributes.__globals__) === null || _this$attributes$__gl === void 0 ? void 0 : _this$attributes$__gl[controlGlobalKey]); | |
| 1056 | - }, | |
| 1057 | - isStyleControl: function isStyleControl(attribute, controls) { | |
| 1058 | - controls = controls || this.controls; | |
| 1059 | - var currentControl = _.find(controls, function(control) { | |
| 1060 | - return attribute === control.name; | |
| 1061 | - }); | |
| 1062 | - return currentControl && !_.isEmpty(currentControl.selectors); | |
| 1063 | - }, | |
| 1064 | - getClassControls: function getClassControls(controls) { | |
| 1065 | - controls = controls || this.controls; | |
| 1066 | - return _.filter(controls, function(control) { | |
| 1067 | - return !_.isUndefined(control.prefix_class); | |
| 1068 | - }); | |
| 1069 | - }, | |
| 1070 | - isClassControl: function isClassControl(attribute) { | |
| 1071 | - var currentControl = _.find(this.controls, function(control) { | |
| 1072 | - return attribute === control.name; | |
| 1073 | - }); | |
| 1074 | - return currentControl && !_.isUndefined(currentControl.prefix_class); | |
| 1075 | - }, | |
| 1076 | - getControl: function getControl(id) { | |
| 1077 | - return _.find(this.controls, function(control) { | |
| 1078 | - return id === control.name; | |
| 1079 | - }); | |
| 1080 | - }, | |
| 1081 | - getActiveControls: function getActiveControls(controls, attributes) { | |
| 1082 | - var activeControls = {}; | |
| 1083 | - if (!controls) controls = this.controls; | |
| 1084 | - if (!attributes) attributes = this.attributes; | |
| 1085 | - attributes = this.parseGlobalSettings(attributes, controls); | |
| 1086 | - jQuery.each(controls, function(controlKey, control) { | |
| 1087 | - if (elementor.helpers.isActiveControl(control, attributes, controls)) activeControls[controlKey] = control; | |
| 1088 | - }); | |
| 1089 | - return activeControls; | |
| 1090 | - }, | |
| 1091 | - clone: function clone() { | |
| 1092 | - return new BaseSettingsModel(elementorCommon.helpers.cloneObject(this.attributes), elementorCommon.helpers.cloneObject(this.options)); | |
| 1093 | - }, | |
| 1094 | - setExternalChange: function setExternalChange(key, value) { | |
| 1095 | - var self = this; | |
| 1096 | - var settingsToChange; | |
| 1097 | - if ("object" === _typeof(key)) settingsToChange = key; | |
| 1098 | - else { | |
| 1099 | - settingsToChange = {}; | |
| 1100 | - settingsToChange[key] = value; | |
| 1101 | - } | |
| 1102 | - self.set(settingsToChange); | |
| 1103 | - jQuery.each(settingsToChange, function(changedKey, changedValue) { | |
| 1104 | - self.trigger("change:external:" + changedKey, changedValue); | |
| 1105 | - }); | |
| 1106 | - }, | |
| 1107 | - parseDynamicSettings: function parseDynamicSettings(settings, options, controls) { | |
| 1108 | - var self = this; | |
| 1109 | - settings = elementorCommon.helpers.cloneObject(settings || self.attributes); | |
| 1110 | - options = options || {}; | |
| 1111 | - controls = controls || this.controls; | |
| 1112 | - jQuery.each(controls, function() { | |
| 1113 | - var control = this; | |
| 1114 | - var valueToParse; | |
| 1115 | - if (control.is_repeater) { | |
| 1116 | - valueToParse = settings[control.name]; | |
| 1117 | - valueToParse.forEach(function(value, key) { | |
| 1118 | - valueToParse[key] = self.parseDynamicSettings(value, options, control.fields); | |
| 1119 | - }); | |
| 1120 | - return; | |
| 1121 | - } | |
| 1122 | - valueToParse = settings.__dynamic__ && settings.__dynamic__[control.name]; | |
| 1123 | - if (!valueToParse) return; | |
| 1124 | - var dynamicSettings = control.dynamic; | |
| 1125 | - if (void 0 === dynamicSettings) dynamicSettings = elementor.config.controls[control.type].dynamic; | |
| 1126 | - if (!dynamicSettings || !dynamicSettings.active) return; | |
| 1127 | - var dynamicValue; | |
| 1128 | - try { | |
| 1129 | - dynamicValue = elementor.dynamicTags.parseTagsText(valueToParse, dynamicSettings, elementor.dynamicTags.getTagDataContent); | |
| 1130 | - } catch (error) { | |
| 1131 | - if (elementor.dynamicTags.CACHE_KEY_NOT_FOUND_ERROR !== error.message) throw error; | |
| 1132 | - dynamicValue = ""; | |
| 1133 | - if (options.onServerRequestStart) options.onServerRequestStart(); | |
| 1134 | - elementor.dynamicTags.refreshCacheFromServer(function() { | |
| 1135 | - if (options.onServerRequestEnd) options.onServerRequestEnd(); | |
| 1136 | - }); | |
| 1137 | - } | |
| 1138 | - if (dynamicSettings.property) settings[control.name][dynamicSettings.property] = dynamicValue; | |
| 1139 | - else settings[control.name] = dynamicValue; | |
| 1140 | - }); | |
| 1141 | - return settings; | |
| 1142 | - }, | |
| 1143 | - parseGlobalSettings: function parseGlobalSettings(settings, controls) { | |
| 1144 | - var _this = this; | |
| 1145 | - settings = elementorCommon.helpers.cloneObject(settings); | |
| 1146 | - controls = controls || this.controls; | |
| 1147 | - jQuery.each(controls, function(index, control) { | |
| 1148 | - var _settings$__globals__; | |
| 1149 | - var _globalSettings; | |
| 1150 | - var valueToParse; | |
| 1151 | - if (control.is_repeater) { | |
| 1152 | - valueToParse = settings[control.name]; | |
| 1153 | - valueToParse.forEach(function(value, key) { | |
| 1154 | - valueToParse[key] = _this.parseGlobalSettings(value, control.fields); | |
| 1155 | - }); | |
| 1156 | - return; | |
| 1157 | - } | |
| 1158 | - valueToParse = (_settings$__globals__ = settings.__globals__) === null || _settings$__globals__ === void 0 ? void 0 : _settings$__globals__[control.name]; | |
| 1159 | - if (!valueToParse) return; | |
| 1160 | - var globalSettings = control.global; | |
| 1161 | - if (void 0 === globalSettings) globalSettings = elementor.config.controls[control.type].global; | |
| 1162 | - if (!((_globalSettings = globalSettings) !== null && _globalSettings !== void 0 && _globalSettings.active)) return; | |
| 1163 | - var _$e$data$commandExtra = $e.data.commandExtractArgs(valueToParse); | |
| 1164 | - var command = _$e$data$commandExtra.command; | |
| 1165 | - var args = _$e$data$commandExtra.args; | |
| 1166 | - var globalValue = $e.data.getCache($e.components.get("globals"), command, args.query); | |
| 1167 | - if (control.groupType) settings[control.name] = "custom"; | |
| 1168 | - else settings[control.name] = globalValue; | |
| 1169 | - }); | |
| 1170 | - return settings; | |
| 1171 | - }, | |
| 1172 | - removeDataDefaults: function removeDataDefaults(data, controls) { | |
| 1173 | - var _this2 = this; | |
| 1174 | - jQuery.each(data, function(key) { | |
| 1175 | - var control = controls[key]; | |
| 1176 | - if (!control) return; | |
| 1177 | - if (control.save_default || ("text" === control.type || "textarea" === control.type) && data[key]) return; | |
| 1178 | - if (control.is_repeater) { | |
| 1179 | - data[key].forEach(function(repeaterRow) { | |
| 1180 | - _this2.removeDataDefaults(repeaterRow, control.fields); | |
| 1181 | - }); | |
| 1182 | - return; | |
| 1183 | - } | |
| 1184 | - if (_.isEqual(data[key], control.default)) delete data[key]; | |
| 1185 | - }); | |
| 1186 | - }, | |
| 1187 | - toJSON: function toJSON(options) { | |
| 1188 | - var data = Backbone.Model.prototype.toJSON.call(this); | |
| 1189 | - options = options || {}; | |
| 1190 | - delete data.widgetType; | |
| 1191 | - delete data.elType; | |
| 1192 | - delete data.isInner; | |
| 1193 | - _.each(data, function(attribute, key) { | |
| 1194 | - if (attribute && attribute.toJSON) data[key] = attribute.toJSON(); | |
| 1195 | - }); | |
| 1196 | - if (options.remove && -1 !== options.remove.indexOf("default")) this.removeDataDefaults(data, this.controls); | |
| 1197 | - return structuredClone(data); | |
| 1198 | - } | |
| 1199 | - }); | |
| 1200 | - /** | |
| 1201 | - * @name BaseSettingsModel | |
| 1202 | - */ | |
| 1203 | - module.exports = BaseSettingsModel; | |
| 1204 | - })); | |
| 1205 | 206 | |
| 1206 | -//#endregion | |
| 1207 | -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js | |
| 1208 | -var import_base_settings = /* @__PURE__ */ __toESM(require_base_settings()); | |
| 1209 | - function _arrayWithHoles(r) { | |
| 1210 | - if (Array.isArray(r)) return r; | |
| 1211 | - } | |
| 207 | +/***/ }), | |
| 208 | +/* 7 */ | |
| 209 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1212 | 210 | |
| 1213 | -//#endregion | |
| 1214 | -//#region node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js | |
| 1215 | - function _iterableToArrayLimit(r, l) { | |
| 1216 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 1217 | - if (null != t) { | |
| 1218 | - var e; | |
| 1219 | - var n; | |
| 1220 | - var i; | |
| 1221 | - var u; | |
| 1222 | - var a = []; | |
| 1223 | - var f = !0; | |
| 1224 | - var o = !1; | |
| 1225 | - try { | |
| 1226 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 1227 | - if (Object(t) !== t) return; | |
| 1228 | - f = !1; | |
| 1229 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 1230 | - } catch (r) { | |
| 1231 | - o = !0, n = r; | |
| 1232 | - } finally { | |
| 1233 | - try { | |
| 1234 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 1235 | - } finally { | |
| 1236 | - if (o) throw n; | |
| 1237 | - } | |
| 1238 | - } | |
| 1239 | - return a; | |
| 1240 | - } | |
| 1241 | - } | |
| 211 | +var global = __webpack_require__(8); | |
| 212 | +var core = __webpack_require__(6); | |
| 213 | +var ctx = __webpack_require__(29); | |
| 214 | +var hide = __webpack_require__(22); | |
| 215 | +var has = __webpack_require__(17); | |
| 216 | +var PROTOTYPE = 'prototype'; | |
| 1242 | 217 | |
| 1243 | -//#endregion | |
| 1244 | -//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js | |
| 1245 | - function _arrayLikeToArray$2(r, a) { | |
| 1246 | - (null == a || a > r.length) && (a = r.length); | |
| 1247 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 1248 | - return n; | |
| 1249 | - } | |
| 1250 | - __name(_arrayLikeToArray$2, "_arrayLikeToArray"); | |
| 218 | +var $export = function (type, name, source) { | |
| 219 | + var IS_FORCED = type & $export.F; | |
| 220 | + var IS_GLOBAL = type & $export.G; | |
| 221 | + var IS_STATIC = type & $export.S; | |
| 222 | + var IS_PROTO = type & $export.P; | |
| 223 | + var IS_BIND = type & $export.B; | |
| 224 | + var IS_WRAP = type & $export.W; | |
| 225 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 226 | + var expProto = exports[PROTOTYPE]; | |
| 227 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 228 | + var key, own, out; | |
| 229 | + if (IS_GLOBAL) source = name; | |
| 230 | + for (key in source) { | |
| 231 | + // contains in native | |
| 232 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 233 | + if (own && has(exports, key)) continue; | |
| 234 | + // export native or passed | |
| 235 | + out = own ? target[key] : source[key]; | |
| 236 | + // prevent global pollution for namespaces | |
| 237 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 238 | + // bind timers to global for call from export context | |
| 239 | + : IS_BIND && own ? ctx(out, global) | |
| 240 | + // wrap global constructors for prevent change them in library | |
| 241 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 242 | + var F = function (a, b, c) { | |
| 243 | + if (this instanceof C) { | |
| 244 | + switch (arguments.length) { | |
| 245 | + case 0: return new C(); | |
| 246 | + case 1: return new C(a); | |
| 247 | + case 2: return new C(a, b); | |
| 248 | + } return new C(a, b, c); | |
| 249 | + } return C.apply(this, arguments); | |
| 250 | + }; | |
| 251 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 252 | + return F; | |
| 253 | + // make static versions for prototype methods | |
| 254 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 255 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 256 | + if (IS_PROTO) { | |
| 257 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 258 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 259 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 260 | + } | |
| 261 | + } | |
| 262 | +}; | |
| 263 | +// type bitmap | |
| 264 | +$export.F = 1; // forced | |
| 265 | +$export.G = 2; // global | |
| 266 | +$export.S = 4; // static | |
| 267 | +$export.P = 8; // proto | |
| 268 | +$export.B = 16; // bind | |
| 269 | +$export.W = 32; // wrap | |
| 270 | +$export.U = 64; // safe | |
| 271 | +$export.R = 128; // real proto method for `library` | |
| 272 | +module.exports = $export; | |
| 1251 | 273 | |
| 1252 | -//#endregion | |
| 1253 | -//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js | |
| 1254 | - function _unsupportedIterableToArray$2(r, a) { | |
| 1255 | - if (r) { | |
| 1256 | - if ("string" == typeof r) return _arrayLikeToArray$2(r, a); | |
| 1257 | - var t = {}.toString.call(r).slice(8, -1); | |
| 1258 | - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$2(r, a) : void 0; | |
| 1259 | - } | |
| 1260 | - } | |
| 1261 | - __name(_unsupportedIterableToArray$2, "_unsupportedIterableToArray"); | |
| 1262 | 274 | |
| 1263 | -//#endregion | |
| 1264 | -//#region node_modules/@babel/runtime/helpers/esm/nonIterableRest.js | |
| 1265 | - function _nonIterableRest() { | |
| 1266 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 1267 | - } | |
| 275 | +/***/ }), | |
| 276 | +/* 8 */ | |
| 277 | +/***/ (function(module, exports) { | |
| 1268 | 278 | |
| 1269 | -//#endregion | |
| 1270 | -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js | |
| 1271 | - function _slicedToArray(r, e) { | |
| 1272 | - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$2(r, e) || _nonIterableRest(); | |
| 1273 | - } | |
| 279 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 280 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 281 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 282 | + // eslint-disable-next-line no-new-func | |
| 283 | + : Function('return this')(); | |
| 284 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 1274 | 285 | |
| 1275 | -//#endregion | |
| 1276 | -//#region node_modules/@babel/runtime/helpers/esm/superPropBase.js | |
| 1277 | - function _superPropBase(t, o) { | |
| 1278 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); | |
| 1279 | - return t; | |
| 1280 | - } | |
| 1281 | 286 | |
| 1282 | -//#endregion | |
| 1283 | -//#region node_modules/@babel/runtime/helpers/esm/get.js | |
| 1284 | - function _get() { | |
| 1285 | - return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) { | |
| 1286 | - var p = _superPropBase(e, t); | |
| 1287 | - if (p) { | |
| 1288 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 1289 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 1290 | - } | |
| 1291 | - }, _get.apply(null, arguments); | |
| 1292 | - } | |
| 287 | +/***/ }), | |
| 288 | +/* 9 */ | |
| 289 | +/***/ (function(module, exports) { | |
| 1293 | 290 | |
| 1294 | -//#endregion | |
| 1295 | -//#region assets/dev/js/modules/imports/instance-type.js | |
| 1296 | - function _superPropGet(t, o, e, r) { | |
| 1297 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 1298 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 1299 | - return p.apply(e, t); | |
| 1300 | - } : p; | |
| 1301 | - } | |
| 1302 | - var InstanceType = /*#__PURE__*/ function() { | |
| 1303 | - function InstanceType() { | |
| 1304 | - var _this = this; | |
| 1305 | - _classCallCheck(this, InstanceType); | |
| 1306 | - var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 1307 | - var prototypes = []; | |
| 1308 | - while (target.__proto__ && target.__proto__.name) { | |
| 1309 | - prototypes.push(target.__proto__); | |
| 1310 | - target = target.__proto__; | |
| 1311 | - } | |
| 1312 | - prototypes.reverse().forEach(function(proto) { | |
| 1313 | - return _this instanceof proto; | |
| 1314 | - }); | |
| 1315 | - } | |
| 1316 | - return _createClass(InstanceType, null, [{ | |
| 1317 | - key: Symbol.hasInstance, | |
| 1318 | - value: function value(target) { | |
| 1319 | - /** | |
| 1320 | - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 1321 | - * its give's opportunity to mange capabilities of instanceOf operator. | |
| 1322 | - * saving current class each time will give option later to handle instanceOf manually. | |
| 1323 | - */ | |
| 1324 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 1325 | - if (target && !target.constructor.getInstanceType) return result; | |
| 1326 | - if (target) { | |
| 1327 | - if (!target.instanceTypes) target.instanceTypes = []; | |
| 1328 | - if (!result) { | |
| 1329 | - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true; | |
| 1330 | - } | |
| 1331 | - if (result) { | |
| 1332 | - var name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType(); | |
| 1333 | - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name); | |
| 1334 | - } | |
| 1335 | - } | |
| 1336 | - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 1337 | - return result; | |
| 1338 | - } | |
| 1339 | - }, { | |
| 1340 | - key: "getInstanceType", | |
| 1341 | - value: function getInstanceType() { | |
| 1342 | - elementorModules.ForceMethodImplementation(); | |
| 1343 | - } | |
| 1344 | - }]); | |
| 1345 | - }(); | |
| 291 | +module.exports = function (it) { | |
| 292 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 293 | +}; | |
| 1346 | 294 | |
| 1347 | -//#endregion | |
| 1348 | -//#region assets/dev/js/editor/utils/is-instanceof.js | |
| 1349 | - function _createForOfIteratorHelper$1(r, e) { | |
| 1350 | - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 1351 | - if (!t) { | |
| 1352 | - if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e && r && "number" == typeof r.length) { | |
| 1353 | - t && (r = t); | |
| 1354 | - var _n = 0; | |
| 1355 | - var F = function F() {}; | |
| 1356 | - return { | |
| 1357 | - s: F, | |
| 1358 | - n: function n() { | |
| 1359 | - return _n >= r.length ? { done: !0 } : { | |
| 1360 | - done: !1, | |
| 1361 | - value: r[_n++] | |
| 1362 | - }; | |
| 1363 | - }, | |
| 1364 | - e: function e(r) { | |
| 1365 | - throw r; | |
| 1366 | - }, | |
| 1367 | - f: F | |
| 1368 | - }; | |
| 1369 | - } | |
| 1370 | - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 1371 | - } | |
| 1372 | - var o; | |
| 1373 | - var a = !0; | |
| 1374 | - var u = !1; | |
| 1375 | - return { | |
| 1376 | - s: function s() { | |
| 1377 | - t = t.call(r); | |
| 1378 | - }, | |
| 1379 | - n: function n() { | |
| 1380 | - var r = t.next(); | |
| 1381 | - return a = r.done, r; | |
| 1382 | - }, | |
| 1383 | - e: function e(r) { | |
| 1384 | - u = !0, o = r; | |
| 1385 | - }, | |
| 1386 | - f: function f() { | |
| 1387 | - try { | |
| 1388 | - a || null == t.return || t.return(); | |
| 1389 | - } finally { | |
| 1390 | - if (u) throw o; | |
| 1391 | - } | |
| 1392 | - } | |
| 1393 | - }; | |
| 1394 | - } | |
| 1395 | - __name(_createForOfIteratorHelper$1, "_createForOfIteratorHelper"); | |
| 1396 | - function _unsupportedIterableToArray$1(r, a) { | |
| 1397 | - if (r) { | |
| 1398 | - if ("string" == typeof r) return _arrayLikeToArray$1(r, a); | |
| 1399 | - var t = {}.toString.call(r).slice(8, -1); | |
| 1400 | - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; | |
| 1401 | - } | |
| 1402 | - } | |
| 1403 | - __name(_unsupportedIterableToArray$1, "_unsupportedIterableToArray"); | |
| 1404 | - function _arrayLikeToArray$1(r, a) { | |
| 1405 | - (null == a || a > r.length) && (a = r.length); | |
| 1406 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 1407 | - return n; | |
| 1408 | - } | |
| 1409 | - __name(_arrayLikeToArray$1, "_arrayLikeToArray"); | |
| 1410 | - /** | |
| 1411 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 1412 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 1413 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 1414 | - * | |
| 1415 | - * @param object | |
| 1416 | - * @param constructors | |
| 1417 | - * @return {boolean} | |
| 1418 | - */ | |
| 1419 | - var is_instanceof_default = /* @__PURE__ */ __name((function(object, constructors) { | |
| 1420 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 1421 | - var _iterator = _createForOfIteratorHelper$1(constructors); | |
| 1422 | - var _step; | |
| 1423 | - try { | |
| 1424 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 1425 | - var constructor = _step.value; | |
| 1426 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true; | |
| 1427 | - } | |
| 1428 | - } catch (err) { | |
| 1429 | - _iterator.e(err); | |
| 1430 | - } finally { | |
| 1431 | - _iterator.f(); | |
| 1432 | - } | |
| 1433 | - return false; | |
| 1434 | - }), "default"); | |
| 1435 | 295 | |
| 1436 | -//#endregion | |
| 1437 | -//#region assets/dev/js/modules/imports/args-object.js | |
| 1438 | - init_typeof(); | |
| 1439 | - function _callSuper$2(t, o, e) { | |
| 1440 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1441 | - } | |
| 1442 | - __name(_callSuper$2, "_callSuper"); | |
| 1443 | - function _isNativeReflectConstruct$3() { | |
| 1444 | - try { | |
| 1445 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1446 | - } catch (t) {} | |
| 1447 | - return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { | |
| 1448 | - return !!t; | |
| 1449 | - })(); | |
| 1450 | - } | |
| 1451 | - __name(_isNativeReflectConstruct$3, "_isNativeReflectConstruct"); | |
| 1452 | - var ArgsObject = /*#__PURE__*/ function(_InstanceType) { | |
| 1453 | - /** | |
| 1454 | - * Function constructor(). | |
| 1455 | - * | |
| 1456 | - * Create ArgsObject. | |
| 1457 | - * | |
| 1458 | - * @param {{}} args | |
| 1459 | - */ | |
| 1460 | - function ArgsObject(args) { | |
| 1461 | - var _this; | |
| 1462 | - _classCallCheck(this, ArgsObject); | |
| 1463 | - _this = _callSuper$2(this, ArgsObject); | |
| 1464 | - _this.args = args; | |
| 1465 | - return _this; | |
| 1466 | - } | |
| 1467 | - /** | |
| 1468 | - * Function requireArgument(). | |
| 1469 | - * | |
| 1470 | - * Validate property in args. | |
| 1471 | - * | |
| 1472 | - * @param {string} property | |
| 1473 | - * @param {{}} args | |
| 1474 | - * | |
| 1475 | - * @throws {Error} | |
| 1476 | - */ | |
| 1477 | - _inherits(ArgsObject, _InstanceType); | |
| 1478 | - return _createClass(ArgsObject, [ | |
| 1479 | - { | |
| 1480 | - key: "requireArgument", | |
| 1481 | - value: function requireArgument(property) { | |
| 1482 | - var args = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.args; | |
| 1483 | - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error("".concat(property, " is required.")); | |
| 1484 | - } | |
| 1485 | - }, | |
| 1486 | - { | |
| 1487 | - key: "requireArgumentType", | |
| 1488 | - value: function requireArgumentType(property, type) { | |
| 1489 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 1490 | - this.requireArgument(property, args); | |
| 1491 | - if (_typeof(args[property]) !== type) throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 1492 | - } | |
| 1493 | - }, | |
| 1494 | - { | |
| 1495 | - key: "requireArgumentInstance", | |
| 1496 | - value: function requireArgumentInstance(property, instance) { | |
| 1497 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 1498 | - this.requireArgument(property, args); | |
| 1499 | - if (!(args[property] instanceof instance) && !is_instanceof_default(args[property], instance)) throw Error("".concat(property, " invalid instance.")); | |
| 1500 | - } | |
| 1501 | - }, | |
| 1502 | - { | |
| 1503 | - key: "requireArgumentConstructor", | |
| 1504 | - value: function requireArgumentConstructor(property, type) { | |
| 1505 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 1506 | - this.requireArgument(property, args); | |
| 1507 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error("".concat(property, " invalid constructor type.")); | |
| 1508 | - } | |
| 1509 | - } | |
| 1510 | - ], [{ | |
| 1511 | - key: "getInstanceType", | |
| 1512 | - value: function getInstanceType() { | |
| 1513 | - return "ArgsObject"; | |
| 1514 | - } | |
| 1515 | - }]); | |
| 1516 | - }(InstanceType); | |
| 296 | +/***/ }), | |
| 297 | +/* 10 */ | |
| 298 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1517 | 299 | |
| 1518 | -//#endregion | |
| 1519 | -//#region assets/dev/js/editor/container/panel.js | |
| 300 | +var store = __webpack_require__(71)('wks'); | |
| 301 | +var uid = __webpack_require__(55); | |
| 302 | +var Symbol = __webpack_require__(8).Symbol; | |
| 303 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 304 | + | |
| 305 | +var $exports = module.exports = function (name) { | |
| 306 | + return store[name] || (store[name] = | |
| 307 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 308 | +}; | |
| 309 | + | |
| 310 | +$exports.store = store; | |
| 311 | + | |
| 312 | + | |
| 313 | +/***/ }), | |
| 314 | +/* 11 */ | |
| 315 | +/***/ (function(module, exports, __webpack_require__) { | |
| 316 | + | |
| 317 | +var isObject = __webpack_require__(9); | |
| 318 | +module.exports = function (it) { | |
| 319 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 320 | + return it; | |
| 321 | +}; | |
| 322 | + | |
| 323 | + | |
| 324 | +/***/ }), | |
| 325 | +/* 12 */, | |
| 326 | +/* 13 */ | |
| 327 | +/***/ (function(module, exports, __webpack_require__) { | |
| 328 | + | |
| 329 | +var store = __webpack_require__(76)('wks'); | |
| 330 | +var uid = __webpack_require__(77); | |
| 331 | +var Symbol = __webpack_require__(18).Symbol; | |
| 332 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 333 | + | |
| 334 | +var $exports = module.exports = function (name) { | |
| 335 | + return store[name] || (store[name] = | |
| 336 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 337 | +}; | |
| 338 | + | |
| 339 | +$exports.store = store; | |
| 340 | + | |
| 341 | + | |
| 342 | +/***/ }), | |
| 343 | +/* 14 */ | |
| 344 | +/***/ (function(module, exports, __webpack_require__) { | |
| 345 | + | |
| 346 | +// Thank's IE8 for his funny defineProperty | |
| 347 | +module.exports = !__webpack_require__(21)(function () { | |
| 348 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 349 | +}); | |
| 350 | + | |
| 351 | + | |
| 352 | +/***/ }), | |
| 353 | +/* 15 */ | |
| 354 | +/***/ (function(module, exports, __webpack_require__) { | |
| 355 | + | |
| 356 | +var anObject = __webpack_require__(11); | |
| 357 | +var IE8_DOM_DEFINE = __webpack_require__(110); | |
| 358 | +var toPrimitive = __webpack_require__(69); | |
| 359 | +var dP = Object.defineProperty; | |
| 360 | + | |
| 361 | +exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 362 | + anObject(O); | |
| 363 | + P = toPrimitive(P, true); | |
| 364 | + anObject(Attributes); | |
| 365 | + if (IE8_DOM_DEFINE) try { | |
| 366 | + return dP(O, P, Attributes); | |
| 367 | + } catch (e) { /* empty */ } | |
| 368 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 369 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 370 | + return O; | |
| 371 | +}; | |
| 372 | + | |
| 373 | + | |
| 374 | +/***/ }), | |
| 375 | +/* 16 */ | |
| 376 | +/***/ (function(module, exports, __webpack_require__) { | |
| 377 | + | |
| 378 | +var _Object$getPrototypeOf = __webpack_require__(154); | |
| 379 | + | |
| 380 | +var _Object$setPrototypeOf = __webpack_require__(111); | |
| 381 | + | |
| 382 | +function _getPrototypeOf(o) { | |
| 383 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 384 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 385 | + }; | |
| 386 | + return _getPrototypeOf(o); | |
| 387 | +} | |
| 388 | + | |
| 389 | +module.exports = _getPrototypeOf; | |
| 390 | + | |
| 391 | +/***/ }), | |
| 392 | +/* 17 */ | |
| 393 | +/***/ (function(module, exports) { | |
| 394 | + | |
| 395 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 396 | +module.exports = function (it, key) { | |
| 397 | + return hasOwnProperty.call(it, key); | |
| 398 | +}; | |
| 399 | + | |
| 400 | + | |
| 401 | +/***/ }), | |
| 402 | +/* 18 */ | |
| 403 | +/***/ (function(module, exports) { | |
| 404 | + | |
| 405 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 406 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 407 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 408 | + // eslint-disable-next-line no-new-func | |
| 409 | + : Function('return this')(); | |
| 410 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 411 | + | |
| 412 | + | |
| 413 | +/***/ }), | |
| 414 | +/* 19 */ | |
| 415 | +/***/ (function(module, exports, __webpack_require__) { | |
| 416 | + | |
| 417 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 418 | +var IObject = __webpack_require__(103); | |
| 419 | +var defined = __webpack_require__(65); | |
| 420 | +module.exports = function (it) { | |
| 421 | + return IObject(defined(it)); | |
| 422 | +}; | |
| 423 | + | |
| 424 | + | |
| 425 | +/***/ }), | |
| 426 | +/* 20 */ | |
| 427 | +/***/ (function(module, exports, __webpack_require__) { | |
| 428 | + | |
| 429 | +var isObject = __webpack_require__(31); | |
| 430 | +module.exports = function (it) { | |
| 431 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 432 | + return it; | |
| 433 | +}; | |
| 434 | + | |
| 435 | + | |
| 436 | +/***/ }), | |
| 437 | +/* 21 */ | |
| 438 | +/***/ (function(module, exports) { | |
| 439 | + | |
| 440 | +module.exports = function (exec) { | |
| 441 | + try { | |
| 442 | + return !!exec(); | |
| 443 | + } catch (e) { | |
| 444 | + return true; | |
| 445 | + } | |
| 446 | +}; | |
| 447 | + | |
| 448 | + | |
| 449 | +/***/ }), | |
| 450 | +/* 22 */ | |
| 451 | +/***/ (function(module, exports, __webpack_require__) { | |
| 452 | + | |
| 453 | +var dP = __webpack_require__(15); | |
| 454 | +var createDesc = __webpack_require__(42); | |
| 455 | +module.exports = __webpack_require__(14) ? function (object, key, value) { | |
| 456 | + return dP.f(object, key, createDesc(1, value)); | |
| 457 | +} : function (object, key, value) { | |
| 458 | + object[key] = value; | |
| 459 | + return object; | |
| 460 | +}; | |
| 461 | + | |
| 462 | + | |
| 463 | +/***/ }), | |
| 464 | +/* 23 */, | |
| 465 | +/* 24 */ | |
| 466 | +/***/ (function(module, exports, __webpack_require__) { | |
| 467 | + | |
| 468 | +"use strict"; | |
| 469 | + | |
| 470 | +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) | |
| 471 | +var $export = __webpack_require__(38); | |
| 472 | +var $find = __webpack_require__(190)(5); | |
| 473 | +var KEY = 'find'; | |
| 474 | +var forced = true; | |
| 475 | +// Shouldn't skip holes | |
| 476 | +if (KEY in []) Array(1)[KEY](function () { forced = false; }); | |
| 477 | +$export($export.P + $export.F * forced, 'Array', { | |
| 478 | + find: function find(callbackfn /* , that = undefined */) { | |
| 479 | + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); | |
| 480 | + } | |
| 481 | +}); | |
| 482 | +__webpack_require__(90)(KEY); | |
| 483 | + | |
| 484 | + | |
| 485 | +/***/ }), | |
| 486 | +/* 25 */ | |
| 487 | +/***/ (function(module, exports, __webpack_require__) { | |
| 488 | + | |
| 489 | +module.exports = __webpack_require__(202); | |
| 490 | + | |
| 491 | +/***/ }), | |
| 492 | +/* 26 */ | |
| 493 | +/***/ (function(module, exports, __webpack_require__) { | |
| 494 | + | |
| 495 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(116); | |
| 496 | + | |
| 497 | +var _Reflect$get = __webpack_require__(186); | |
| 498 | + | |
| 499 | +var superPropBase = __webpack_require__(189); | |
| 500 | + | |
| 501 | +function _get(target, property, receiver) { | |
| 502 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 503 | + module.exports = _get = _Reflect$get; | |
| 504 | + } else { | |
| 505 | + module.exports = _get = function _get(target, property, receiver) { | |
| 506 | + var base = superPropBase(target, property); | |
| 507 | + if (!base) return; | |
| 508 | + | |
| 509 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 510 | + | |
| 511 | + if (desc.get) { | |
| 512 | + return desc.get.call(receiver); | |
| 513 | + } | |
| 514 | + | |
| 515 | + return desc.value; | |
| 516 | + }; | |
| 517 | + } | |
| 518 | + | |
| 519 | + return _get(target, property, receiver || target); | |
| 520 | +} | |
| 521 | + | |
| 522 | +module.exports = _get; | |
| 523 | + | |
| 524 | +/***/ }), | |
| 525 | +/* 27 */ | |
| 526 | +/***/ (function(module, exports, __webpack_require__) { | |
| 527 | + | |
| 528 | +var _Object$defineProperty = __webpack_require__(1); | |
| 529 | + | |
| 530 | +function _defineProperty(obj, key, value) { | |
| 531 | + if (key in obj) { | |
| 532 | + _Object$defineProperty(obj, key, { | |
| 533 | + value: value, | |
| 534 | + enumerable: true, | |
| 535 | + configurable: true, | |
| 536 | + writable: true | |
| 537 | + }); | |
| 538 | + } else { | |
| 539 | + obj[key] = value; | |
| 540 | + } | |
| 541 | + | |
| 542 | + return obj; | |
| 543 | +} | |
| 544 | + | |
| 545 | +module.exports = _defineProperty; | |
| 546 | + | |
| 547 | +/***/ }), | |
| 548 | +/* 28 */ | |
| 549 | +/***/ (function(module, exports, __webpack_require__) { | |
| 550 | + | |
| 551 | +// Thank's IE8 for his funny defineProperty | |
| 552 | +module.exports = !__webpack_require__(36)(function () { | |
| 553 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 554 | +}); | |
| 555 | + | |
| 556 | + | |
| 557 | +/***/ }), | |
| 558 | +/* 29 */ | |
| 559 | +/***/ (function(module, exports, __webpack_require__) { | |
| 560 | + | |
| 561 | +// optional / simple context binding | |
| 562 | +var aFunction = __webpack_require__(35); | |
| 563 | +module.exports = function (fn, that, length) { | |
| 564 | + aFunction(fn); | |
| 565 | + if (that === undefined) return fn; | |
| 566 | + switch (length) { | |
| 567 | + case 1: return function (a) { | |
| 568 | + return fn.call(that, a); | |
| 569 | + }; | |
| 570 | + case 2: return function (a, b) { | |
| 571 | + return fn.call(that, a, b); | |
| 572 | + }; | |
| 573 | + case 3: return function (a, b, c) { | |
| 574 | + return fn.call(that, a, b, c); | |
| 575 | + }; | |
| 576 | + } | |
| 577 | + return function (/* ...args */) { | |
| 578 | + return fn.apply(that, arguments); | |
| 579 | + }; | |
| 580 | +}; | |
| 581 | + | |
| 582 | + | |
| 583 | +/***/ }), | |
| 584 | +/* 30 */ | |
| 585 | +/***/ (function(module, exports, __webpack_require__) { | |
| 586 | + | |
| 587 | +var dP = __webpack_require__(51); | |
| 588 | +var createDesc = __webpack_require__(106); | |
| 589 | +module.exports = __webpack_require__(28) ? function (object, key, value) { | |
| 590 | + return dP.f(object, key, createDesc(1, value)); | |
| 591 | +} : function (object, key, value) { | |
| 592 | + object[key] = value; | |
| 593 | + return object; | |
| 594 | +}; | |
| 595 | + | |
| 596 | + | |
| 597 | +/***/ }), | |
| 598 | +/* 31 */ | |
| 599 | +/***/ (function(module, exports) { | |
| 600 | + | |
| 601 | +module.exports = function (it) { | |
| 602 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 603 | +}; | |
| 604 | + | |
| 605 | + | |
| 606 | +/***/ }), | |
| 607 | +/* 32 */ | |
| 608 | +/***/ (function(module, exports, __webpack_require__) { | |
| 609 | + | |
| 610 | +// 7.1.13 ToObject(argument) | |
| 611 | +var defined = __webpack_require__(65); | |
| 612 | +module.exports = function (it) { | |
| 613 | + return Object(defined(it)); | |
| 614 | +}; | |
| 615 | + | |
| 616 | + | |
| 617 | +/***/ }), | |
| 618 | +/* 33 */ | |
| 619 | +/***/ (function(module, exports) { | |
| 620 | + | |
| 621 | +module.exports = {}; | |
| 622 | + | |
| 623 | + | |
| 624 | +/***/ }), | |
| 625 | +/* 34 */, | |
| 626 | +/* 35 */ | |
| 627 | +/***/ (function(module, exports) { | |
| 628 | + | |
| 629 | +module.exports = function (it) { | |
| 630 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 631 | + return it; | |
| 632 | +}; | |
| 633 | + | |
| 634 | + | |
| 635 | +/***/ }), | |
| 636 | +/* 36 */ | |
| 637 | +/***/ (function(module, exports) { | |
| 638 | + | |
| 639 | +module.exports = function (exec) { | |
| 640 | + try { | |
| 641 | + return !!exec(); | |
| 642 | + } catch (e) { | |
| 643 | + return true; | |
| 644 | + } | |
| 645 | +}; | |
| 646 | + | |
| 647 | + | |
| 648 | +/***/ }), | |
| 649 | +/* 37 */ | |
| 650 | +/***/ (function(module, exports, __webpack_require__) { | |
| 651 | + | |
| 652 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 653 | +var $keys = __webpack_require__(112); | |
| 654 | +var enumBugKeys = __webpack_require__(74); | |
| 655 | + | |
| 656 | +module.exports = Object.keys || function keys(O) { | |
| 657 | + return $keys(O, enumBugKeys); | |
| 658 | +}; | |
| 659 | + | |
| 660 | + | |
| 661 | +/***/ }), | |
| 662 | +/* 38 */ | |
| 663 | +/***/ (function(module, exports, __webpack_require__) { | |
| 664 | + | |
| 665 | +var global = __webpack_require__(18); | |
| 666 | +var core = __webpack_require__(58); | |
| 667 | +var hide = __webpack_require__(30); | |
| 668 | +var redefine = __webpack_require__(39); | |
| 669 | +var ctx = __webpack_require__(81); | |
| 670 | +var PROTOTYPE = 'prototype'; | |
| 671 | + | |
| 672 | +var $export = function (type, name, source) { | |
| 673 | + var IS_FORCED = type & $export.F; | |
| 674 | + var IS_GLOBAL = type & $export.G; | |
| 675 | + var IS_STATIC = type & $export.S; | |
| 676 | + var IS_PROTO = type & $export.P; | |
| 677 | + var IS_BIND = type & $export.B; | |
| 678 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 679 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 680 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 681 | + var key, own, out, exp; | |
| 682 | + if (IS_GLOBAL) source = name; | |
| 683 | + for (key in source) { | |
| 684 | + // contains in native | |
| 685 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 686 | + // export native or passed | |
| 687 | + out = (own ? target : source)[key]; | |
| 688 | + // bind timers to global for call from export context | |
| 689 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 690 | + // extend global | |
| 691 | + if (target) redefine(target, key, out, type & $export.U); | |
| 692 | + // export | |
| 693 | + if (exports[key] != out) hide(exports, key, exp); | |
| 694 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 695 | + } | |
| 696 | +}; | |
| 697 | +global.core = core; | |
| 698 | +// type bitmap | |
| 699 | +$export.F = 1; // forced | |
| 700 | +$export.G = 2; // global | |
| 701 | +$export.S = 4; // static | |
| 702 | +$export.P = 8; // proto | |
| 703 | +$export.B = 16; // bind | |
| 704 | +$export.W = 32; // wrap | |
| 705 | +$export.U = 64; // safe | |
| 706 | +$export.R = 128; // real proto method for `library` | |
| 707 | +module.exports = $export; | |
| 708 | + | |
| 709 | + | |
| 710 | +/***/ }), | |
| 711 | +/* 39 */ | |
| 712 | +/***/ (function(module, exports, __webpack_require__) { | |
| 713 | + | |
| 714 | +var global = __webpack_require__(18); | |
| 715 | +var hide = __webpack_require__(30); | |
| 716 | +var has = __webpack_require__(64); | |
| 717 | +var SRC = __webpack_require__(77)('src'); | |
| 718 | +var $toString = __webpack_require__(147); | |
| 719 | +var TO_STRING = 'toString'; | |
| 720 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 721 | + | |
| 722 | +__webpack_require__(58).inspectSource = function (it) { | |
| 723 | + return $toString.call(it); | |
| 724 | +}; | |
| 725 | + | |
| 726 | +(module.exports = function (O, key, val, safe) { | |
| 727 | + var isFunction = typeof val == 'function'; | |
| 728 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 729 | + if (O[key] === val) return; | |
| 730 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 731 | + if (O === global) { | |
| 732 | + O[key] = val; | |
| 733 | + } else if (!safe) { | |
| 734 | + delete O[key]; | |
| 735 | + hide(O, key, val); | |
| 736 | + } else if (O[key]) { | |
| 737 | + O[key] = val; | |
| 738 | + } else { | |
| 739 | + hide(O, key, val); | |
| 740 | + } | |
| 741 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 742 | +})(Function.prototype, TO_STRING, function toString() { | |
| 743 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 744 | +}); | |
| 745 | + | |
| 746 | + | |
| 747 | +/***/ }), | |
| 748 | +/* 40 */ | |
| 749 | +/***/ (function(module, exports, __webpack_require__) { | |
| 750 | + | |
| 751 | +var dP = __webpack_require__(51).f; | |
| 752 | +var FProto = Function.prototype; | |
| 753 | +var nameRE = /^\s*function ([^ (]*)/; | |
| 754 | +var NAME = 'name'; | |
| 755 | + | |
| 756 | +// 19.2.4.2 name | |
| 757 | +NAME in FProto || __webpack_require__(28) && dP(FProto, NAME, { | |
| 758 | + configurable: true, | |
| 759 | + get: function () { | |
| 760 | + try { | |
| 761 | + return ('' + this).match(nameRE)[1]; | |
| 762 | + } catch (e) { | |
| 763 | + return ''; | |
| 764 | + } | |
| 765 | + } | |
| 766 | +}); | |
| 767 | + | |
| 768 | + | |
| 769 | +/***/ }), | |
| 770 | +/* 41 */, | |
| 771 | +/* 42 */ | |
| 772 | +/***/ (function(module, exports) { | |
| 773 | + | |
| 774 | +module.exports = function (bitmap, value) { | |
| 775 | + return { | |
| 776 | + enumerable: !(bitmap & 1), | |
| 777 | + configurable: !(bitmap & 2), | |
| 778 | + writable: !(bitmap & 4), | |
| 779 | + value: value | |
| 780 | + }; | |
| 781 | +}; | |
| 782 | + | |
| 783 | + | |
| 784 | +/***/ }), | |
| 785 | +/* 43 */ | |
| 786 | +/***/ (function(module, exports) { | |
| 787 | + | |
| 788 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 789 | +module.exports = function (it) { | |
| 790 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 791 | + return it; | |
| 792 | +}; | |
| 793 | + | |
| 794 | + | |
| 795 | +/***/ }), | |
| 796 | +/* 44 */ | |
| 797 | +/***/ (function(module, exports) { | |
| 798 | + | |
| 799 | +module.exports = true; | |
| 800 | + | |
| 801 | + | |
| 802 | +/***/ }), | |
| 803 | +/* 45 */ | |
| 804 | +/***/ (function(module, exports) { | |
| 805 | + | |
| 806 | +function _assertThisInitialized(self) { | |
| 807 | + if (self === void 0) { | |
| 808 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 809 | + } | |
| 810 | + | |
| 811 | + return self; | |
| 812 | +} | |
| 813 | + | |
| 814 | +module.exports = _assertThisInitialized; | |
| 815 | + | |
| 816 | +/***/ }), | |
| 817 | +/* 46 */ | |
| 818 | +/***/ (function(module, exports, __webpack_require__) { | |
| 819 | + | |
| 820 | +// 7.1.15 ToLength | |
| 821 | +var toInteger = __webpack_require__(60); | |
| 822 | +var min = Math.min; | |
| 823 | +module.exports = function (it) { | |
| 824 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 825 | +}; | |
| 826 | + | |
| 827 | + | |
| 828 | +/***/ }), | |
| 829 | +/* 47 */ | |
| 830 | +/***/ (function(module, exports, __webpack_require__) { | |
| 831 | + | |
| 832 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 833 | +var anObject = __webpack_require__(11); | |
| 834 | +var dPs = __webpack_require__(131); | |
| 835 | +var enumBugKeys = __webpack_require__(74); | |
| 836 | +var IE_PROTO = __webpack_require__(70)('IE_PROTO'); | |
| 837 | +var Empty = function () { /* empty */ }; | |
| 838 | +var PROTOTYPE = 'prototype'; | |
| 839 | + | |
| 840 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 841 | +var createDict = function () { | |
| 842 | + // Thrash, waste and sodomy: IE GC bug | |
| 843 | + var iframe = __webpack_require__(88)('iframe'); | |
| 844 | + var i = enumBugKeys.length; | |
| 845 | + var lt = '<'; | |
| 846 | + var gt = '>'; | |
| 847 | + var iframeDocument; | |
| 848 | + iframe.style.display = 'none'; | |
| 849 | + __webpack_require__(132).appendChild(iframe); | |
| 850 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 851 | + // createDict = iframe.contentWindow.Object; | |
| 852 | + // html.removeChild(iframe); | |
| 853 | + iframeDocument = iframe.contentWindow.document; | |
| 854 | + iframeDocument.open(); | |
| 855 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 856 | + iframeDocument.close(); | |
| 857 | + createDict = iframeDocument.F; | |
| 858 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 859 | + return createDict(); | |
| 860 | +}; | |
| 861 | + | |
| 862 | +module.exports = Object.create || function create(O, Properties) { | |
| 863 | + var result; | |
| 864 | + if (O !== null) { | |
| 865 | + Empty[PROTOTYPE] = anObject(O); | |
| 866 | + result = new Empty(); | |
| 867 | + Empty[PROTOTYPE] = null; | |
| 868 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 869 | + result[IE_PROTO] = O; | |
| 870 | + } else result = createDict(); | |
| 871 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 872 | +}; | |
| 873 | + | |
| 874 | + | |
| 875 | +/***/ }), | |
| 876 | +/* 48 */ | |
| 877 | +/***/ (function(module, exports, __webpack_require__) { | |
| 878 | + | |
| 879 | +var pIE = __webpack_require__(49); | |
| 880 | +var createDesc = __webpack_require__(42); | |
| 881 | +var toIObject = __webpack_require__(19); | |
| 882 | +var toPrimitive = __webpack_require__(69); | |
| 883 | +var has = __webpack_require__(17); | |
| 884 | +var IE8_DOM_DEFINE = __webpack_require__(110); | |
| 885 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 886 | + | |
| 887 | +exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 888 | + O = toIObject(O); | |
| 889 | + P = toPrimitive(P, true); | |
| 890 | + if (IE8_DOM_DEFINE) try { | |
| 891 | + return gOPD(O, P); | |
| 892 | + } catch (e) { /* empty */ } | |
| 893 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 894 | +}; | |
| 895 | + | |
| 896 | + | |
| 897 | +/***/ }), | |
| 898 | +/* 49 */ | |
| 899 | +/***/ (function(module, exports) { | |
| 900 | + | |
| 901 | +exports.f = {}.propertyIsEnumerable; | |
| 902 | + | |
| 903 | + | |
| 904 | +/***/ }), | |
| 905 | +/* 50 */ | |
| 906 | +/***/ (function(module, exports, __webpack_require__) { | |
| 907 | + | |
| 908 | +var _Symbol$iterator = __webpack_require__(148); | |
| 909 | + | |
| 910 | +var _Symbol = __webpack_require__(107); | |
| 911 | + | |
| 912 | +function _typeof(obj) { | |
| 913 | + "@babel/helpers - typeof"; | |
| 914 | + | |
| 915 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 916 | + module.exports = _typeof = function _typeof(obj) { | |
| 917 | + return typeof obj; | |
| 918 | + }; | |
| 919 | + } else { | |
| 920 | + module.exports = _typeof = function _typeof(obj) { | |
| 921 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 922 | + }; | |
| 923 | + } | |
| 924 | + | |
| 925 | + return _typeof(obj); | |
| 926 | +} | |
| 927 | + | |
| 928 | +module.exports = _typeof; | |
| 929 | + | |
| 930 | +/***/ }), | |
| 931 | +/* 51 */ | |
| 932 | +/***/ (function(module, exports, __webpack_require__) { | |
| 933 | + | |
| 934 | +var anObject = __webpack_require__(20); | |
| 935 | +var IE8_DOM_DEFINE = __webpack_require__(135); | |
| 936 | +var toPrimitive = __webpack_require__(127); | |
| 937 | +var dP = Object.defineProperty; | |
| 938 | + | |
| 939 | +exports.f = __webpack_require__(28) ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 940 | + anObject(O); | |
| 941 | + P = toPrimitive(P, true); | |
| 942 | + anObject(Attributes); | |
| 943 | + if (IE8_DOM_DEFINE) try { | |
| 944 | + return dP(O, P, Attributes); | |
| 945 | + } catch (e) { /* empty */ } | |
| 946 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 947 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 948 | + return O; | |
| 949 | +}; | |
| 950 | + | |
| 951 | + | |
| 952 | +/***/ }), | |
| 953 | +/* 52 */ | |
| 954 | +/***/ (function(module, exports) { | |
| 955 | + | |
| 956 | +var toString = {}.toString; | |
| 957 | + | |
| 958 | +module.exports = function (it) { | |
| 959 | + return toString.call(it).slice(8, -1); | |
| 960 | +}; | |
| 961 | + | |
| 962 | + | |
| 963 | +/***/ }), | |
| 964 | +/* 53 */ | |
| 965 | +/***/ (function(module, exports, __webpack_require__) { | |
| 966 | + | |
| 967 | +var def = __webpack_require__(15).f; | |
| 968 | +var has = __webpack_require__(17); | |
| 969 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 970 | + | |
| 971 | +module.exports = function (it, tag, stat) { | |
| 972 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 973 | +}; | |
| 974 | + | |
| 975 | + | |
| 976 | +/***/ }), | |
| 977 | +/* 54 */ | |
| 978 | +/***/ (function(module, exports, __webpack_require__) { | |
| 979 | + | |
| 980 | +module.exports = __webpack_require__(229); | |
| 981 | + | |
| 982 | +/***/ }), | |
| 983 | +/* 55 */ | |
| 984 | +/***/ (function(module, exports) { | |
| 985 | + | |
| 986 | +var id = 0; | |
| 987 | +var px = Math.random(); | |
| 988 | +module.exports = function (key) { | |
| 989 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 990 | +}; | |
| 991 | + | |
| 992 | + | |
| 993 | +/***/ }), | |
| 994 | +/* 56 */ | |
| 995 | +/***/ (function(module, exports) { | |
| 996 | + | |
| 997 | +var toString = {}.toString; | |
| 998 | + | |
| 999 | +module.exports = function (it) { | |
| 1000 | + return toString.call(it).slice(8, -1); | |
| 1001 | +}; | |
| 1002 | + | |
| 1003 | + | |
| 1004 | +/***/ }), | |
| 1005 | +/* 57 */ | |
| 1006 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1007 | + | |
| 1008 | +"use strict"; | |
| 1009 | + | |
| 1010 | +var $at = __webpack_require__(169)(true); | |
| 1011 | + | |
| 1012 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 1013 | +__webpack_require__(96)(String, 'String', function (iterated) { | |
| 1014 | + this._t = String(iterated); // target | |
| 1015 | + this._i = 0; // next index | |
| 1016 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 1017 | +}, function () { | |
| 1018 | + var O = this._t; | |
| 1019 | + var index = this._i; | |
| 1020 | + var point; | |
| 1021 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 1022 | + point = $at(O, index); | |
| 1023 | + this._i += point.length; | |
| 1024 | + return { value: point, done: false }; | |
| 1025 | +}); | |
| 1026 | + | |
| 1027 | + | |
| 1028 | +/***/ }), | |
| 1029 | +/* 58 */ | |
| 1030 | +/***/ (function(module, exports) { | |
| 1031 | + | |
| 1032 | +var core = module.exports = { version: '2.6.11' }; | |
| 1033 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 1034 | + | |
| 1035 | + | |
| 1036 | +/***/ }), | |
| 1037 | +/* 59 */ | |
| 1038 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1039 | + | |
| 1040 | +__webpack_require__(171); | |
| 1041 | +var global = __webpack_require__(8); | |
| 1042 | +var hide = __webpack_require__(22); | |
| 1043 | +var Iterators = __webpack_require__(33); | |
| 1044 | +var TO_STRING_TAG = __webpack_require__(10)('toStringTag'); | |
| 1045 | + | |
| 1046 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 1047 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 1048 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 1049 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 1050 | + 'TextTrackList,TouchList').split(','); | |
| 1051 | + | |
| 1052 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 1053 | + var NAME = DOMIterables[i]; | |
| 1054 | + var Collection = global[NAME]; | |
| 1055 | + var proto = Collection && Collection.prototype; | |
| 1056 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 1057 | + Iterators[NAME] = Iterators.Array; | |
| 1058 | +} | |
| 1059 | + | |
| 1060 | + | |
| 1061 | +/***/ }), | |
| 1062 | +/* 60 */ | |
| 1063 | +/***/ (function(module, exports) { | |
| 1064 | + | |
| 1065 | +// 7.1.4 ToInteger | |
| 1066 | +var ceil = Math.ceil; | |
| 1067 | +var floor = Math.floor; | |
| 1068 | +module.exports = function (it) { | |
| 1069 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 1070 | +}; | |
| 1071 | + | |
| 1072 | + | |
| 1073 | +/***/ }), | |
| 1074 | +/* 61 */, | |
| 1075 | +/* 62 */ | |
| 1076 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1077 | + | |
| 1078 | +exports.f = __webpack_require__(10); | |
| 1079 | + | |
| 1080 | + | |
| 1081 | +/***/ }), | |
| 1082 | +/* 63 */ | |
| 1083 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1084 | + | |
| 1085 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 1086 | +var has = __webpack_require__(17); | |
| 1087 | +var toObject = __webpack_require__(32); | |
| 1088 | +var IE_PROTO = __webpack_require__(70)('IE_PROTO'); | |
| 1089 | +var ObjectProto = Object.prototype; | |
| 1090 | + | |
| 1091 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 1092 | + O = toObject(O); | |
| 1093 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 1094 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 1095 | + return O.constructor.prototype; | |
| 1096 | + } return O instanceof Object ? ObjectProto : null; | |
| 1097 | +}; | |
| 1098 | + | |
| 1099 | + | |
| 1100 | +/***/ }), | |
| 1101 | +/* 64 */ | |
| 1102 | +/***/ (function(module, exports) { | |
| 1103 | + | |
| 1104 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 1105 | +module.exports = function (it, key) { | |
| 1106 | + return hasOwnProperty.call(it, key); | |
| 1107 | +}; | |
| 1108 | + | |
| 1109 | + | |
| 1110 | +/***/ }), | |
| 1111 | +/* 65 */ | |
| 1112 | +/***/ (function(module, exports) { | |
| 1113 | + | |
| 1114 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 1115 | +module.exports = function (it) { | |
| 1116 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 1117 | + return it; | |
| 1118 | +}; | |
| 1119 | + | |
| 1120 | + | |
| 1121 | +/***/ }), | |
| 1122 | +/* 66 */ | |
| 1123 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1124 | + | |
| 1125 | +var META = __webpack_require__(55)('meta'); | |
| 1126 | +var isObject = __webpack_require__(9); | |
| 1127 | +var has = __webpack_require__(17); | |
| 1128 | +var setDesc = __webpack_require__(15).f; | |
| 1129 | +var id = 0; | |
| 1130 | +var isExtensible = Object.isExtensible || function () { | |
| 1131 | + return true; | |
| 1132 | +}; | |
| 1133 | +var FREEZE = !__webpack_require__(21)(function () { | |
| 1134 | + return isExtensible(Object.preventExtensions({})); | |
| 1135 | +}); | |
| 1136 | +var setMeta = function (it) { | |
| 1137 | + setDesc(it, META, { value: { | |
| 1138 | + i: 'O' + ++id, // object ID | |
| 1139 | + w: {} // weak collections IDs | |
| 1140 | + } }); | |
| 1141 | +}; | |
| 1142 | +var fastKey = function (it, create) { | |
| 1143 | + // return primitive with prefix | |
| 1144 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 1145 | + if (!has(it, META)) { | |
| 1146 | + // can't set metadata to uncaught frozen object | |
| 1147 | + if (!isExtensible(it)) return 'F'; | |
| 1148 | + // not necessary to add metadata | |
| 1149 | + if (!create) return 'E'; | |
| 1150 | + // add missing metadata | |
| 1151 | + setMeta(it); | |
| 1152 | + // return object ID | |
| 1153 | + } return it[META].i; | |
| 1154 | +}; | |
| 1155 | +var getWeak = function (it, create) { | |
| 1156 | + if (!has(it, META)) { | |
| 1157 | + // can't set metadata to uncaught frozen object | |
| 1158 | + if (!isExtensible(it)) return true; | |
| 1159 | + // not necessary to add metadata | |
| 1160 | + if (!create) return false; | |
| 1161 | + // add missing metadata | |
| 1162 | + setMeta(it); | |
| 1163 | + // return hash weak collections IDs | |
| 1164 | + } return it[META].w; | |
| 1165 | +}; | |
| 1166 | +// add metadata on freeze-family methods calling | |
| 1167 | +var onFreeze = function (it) { | |
| 1168 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 1169 | + return it; | |
| 1170 | +}; | |
| 1171 | +var meta = module.exports = { | |
| 1172 | + KEY: META, | |
| 1173 | + NEED: false, | |
| 1174 | + fastKey: fastKey, | |
| 1175 | + getWeak: getWeak, | |
| 1176 | + onFreeze: onFreeze | |
| 1177 | +}; | |
| 1178 | + | |
| 1179 | + | |
| 1180 | +/***/ }), | |
| 1181 | +/* 67 */ | |
| 1182 | +/***/ (function(module, exports) { | |
| 1183 | + | |
| 1184 | +exports.f = Object.getOwnPropertySymbols; | |
| 1185 | + | |
| 1186 | + | |
| 1187 | +/***/ }), | |
| 1188 | +/* 68 */, | |
| 1189 | +/* 69 */ | |
| 1190 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1191 | + | |
| 1192 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 1193 | +var isObject = __webpack_require__(9); | |
| 1194 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 1195 | +// and the second argument - flag - preferred type is a string | |
| 1196 | +module.exports = function (it, S) { | |
| 1197 | + if (!isObject(it)) return it; | |
| 1198 | + var fn, val; | |
| 1199 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1200 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1201 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1202 | + throw TypeError("Can't convert object to primitive value"); | |
| 1203 | +}; | |
| 1204 | + | |
| 1205 | + | |
| 1206 | +/***/ }), | |
| 1207 | +/* 70 */ | |
| 1208 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1209 | + | |
| 1210 | +var shared = __webpack_require__(71)('keys'); | |
| 1211 | +var uid = __webpack_require__(55); | |
| 1212 | +module.exports = function (key) { | |
| 1213 | + return shared[key] || (shared[key] = uid(key)); | |
| 1214 | +}; | |
| 1215 | + | |
| 1216 | + | |
| 1217 | +/***/ }), | |
| 1218 | +/* 71 */ | |
| 1219 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1220 | + | |
| 1221 | +var core = __webpack_require__(6); | |
| 1222 | +var global = __webpack_require__(8); | |
| 1223 | +var SHARED = '__core-js_shared__'; | |
| 1224 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 1225 | + | |
| 1226 | +(module.exports = function (key, value) { | |
| 1227 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 1228 | +})('versions', []).push({ | |
| 1229 | + version: core.version, | |
| 1230 | + mode: __webpack_require__(44) ? 'pure' : 'global', | |
| 1231 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 1232 | +}); | |
| 1233 | + | |
| 1234 | + | |
| 1235 | +/***/ }), | |
| 1236 | +/* 72 */ | |
| 1237 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1238 | + | |
| 1239 | +// 7.1.15 ToLength | |
| 1240 | +var toInteger = __webpack_require__(73); | |
| 1241 | +var min = Math.min; | |
| 1242 | +module.exports = function (it) { | |
| 1243 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 1244 | +}; | |
| 1245 | + | |
| 1246 | + | |
| 1247 | +/***/ }), | |
| 1248 | +/* 73 */ | |
| 1249 | +/***/ (function(module, exports) { | |
| 1250 | + | |
| 1251 | +// 7.1.4 ToInteger | |
| 1252 | +var ceil = Math.ceil; | |
| 1253 | +var floor = Math.floor; | |
| 1254 | +module.exports = function (it) { | |
| 1255 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 1256 | +}; | |
| 1257 | + | |
| 1258 | + | |
| 1259 | +/***/ }), | |
| 1260 | +/* 74 */ | |
| 1261 | +/***/ (function(module, exports) { | |
| 1262 | + | |
| 1263 | +// IE 8- don't enum bug keys | |
| 1264 | +module.exports = ( | |
| 1265 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 1266 | +).split(','); | |
| 1267 | + | |
| 1268 | + | |
| 1269 | +/***/ }), | |
| 1270 | +/* 75 */ | |
| 1271 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1272 | + | |
| 1273 | +var global = __webpack_require__(8); | |
| 1274 | +var core = __webpack_require__(6); | |
| 1275 | +var LIBRARY = __webpack_require__(44); | |
| 1276 | +var wksExt = __webpack_require__(62); | |
| 1277 | +var defineProperty = __webpack_require__(15).f; | |
| 1278 | +module.exports = function (name) { | |
| 1279 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 1280 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 1281 | +}; | |
| 1282 | + | |
| 1283 | + | |
| 1284 | +/***/ }), | |
| 1285 | +/* 76 */ | |
| 1286 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1287 | + | |
| 1288 | +var core = __webpack_require__(58); | |
| 1289 | +var global = __webpack_require__(18); | |
| 1290 | +var SHARED = '__core-js_shared__'; | |
| 1291 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 1292 | + | |
| 1293 | +(module.exports = function (key, value) { | |
| 1294 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 1295 | +})('versions', []).push({ | |
| 1296 | + version: core.version, | |
| 1297 | + mode: __webpack_require__(115) ? 'pure' : 'global', | |
| 1298 | + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | |
| 1299 | +}); | |
| 1300 | + | |
| 1301 | + | |
| 1302 | +/***/ }), | |
| 1303 | +/* 77 */ | |
| 1304 | +/***/ (function(module, exports) { | |
| 1305 | + | |
| 1306 | +var id = 0; | |
| 1307 | +var px = Math.random(); | |
| 1308 | +module.exports = function (key) { | |
| 1309 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 1310 | +}; | |
| 1311 | + | |
| 1312 | + | |
| 1313 | +/***/ }), | |
| 1314 | +/* 78 */ | |
| 1315 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1316 | + | |
| 1317 | +// most Object methods by ES6 should accept primitives | |
| 1318 | +var $export = __webpack_require__(7); | |
| 1319 | +var core = __webpack_require__(6); | |
| 1320 | +var fails = __webpack_require__(21); | |
| 1321 | +module.exports = function (KEY, exec) { | |
| 1322 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 1323 | + var exp = {}; | |
| 1324 | + exp[KEY] = exec(fn); | |
| 1325 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 1326 | +}; | |
| 1327 | + | |
| 1328 | + | |
| 1329 | +/***/ }), | |
| 1330 | +/* 79 */, | |
| 1331 | +/* 80 */ | |
| 1332 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1333 | + | |
| 1334 | +"use strict"; | |
| 1335 | + | |
| 1336 | +// 19.1.3.6 Object.prototype.toString() | |
| 1337 | +var classof = __webpack_require__(118); | |
| 1338 | +var test = {}; | |
| 1339 | +test[__webpack_require__(13)('toStringTag')] = 'z'; | |
| 1340 | +if (test + '' != '[object z]') { | |
| 1341 | + __webpack_require__(39)(Object.prototype, 'toString', function toString() { | |
| 1342 | + return '[object ' + classof(this) + ']'; | |
| 1343 | + }, true); | |
| 1344 | +} | |
| 1345 | + | |
| 1346 | + | |
| 1347 | +/***/ }), | |
| 1348 | +/* 81 */ | |
| 1349 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1350 | + | |
| 1351 | +// optional / simple context binding | |
| 1352 | +var aFunction = __webpack_require__(98); | |
| 1353 | +module.exports = function (fn, that, length) { | |
| 1354 | + aFunction(fn); | |
| 1355 | + if (that === undefined) return fn; | |
| 1356 | + switch (length) { | |
| 1357 | + case 1: return function (a) { | |
| 1358 | + return fn.call(that, a); | |
| 1359 | + }; | |
| 1360 | + case 2: return function (a, b) { | |
| 1361 | + return fn.call(that, a, b); | |
| 1362 | + }; | |
| 1363 | + case 3: return function (a, b, c) { | |
| 1364 | + return fn.call(that, a, b, c); | |
| 1365 | + }; | |
| 1366 | + } | |
| 1367 | + return function (/* ...args */) { | |
| 1368 | + return fn.apply(that, arguments); | |
| 1369 | + }; | |
| 1370 | +}; | |
| 1371 | + | |
| 1372 | + | |
| 1373 | +/***/ }), | |
| 1374 | +/* 82 */, | |
| 1375 | +/* 83 */, | |
| 1376 | +/* 84 */, | |
| 1377 | +/* 85 */, | |
| 1378 | +/* 86 */ | |
| 1379 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1380 | + | |
| 1381 | +module.exports = __webpack_require__(221); | |
| 1382 | + | |
| 1383 | +/***/ }), | |
| 1384 | +/* 87 */, | |
| 1385 | +/* 88 */ | |
| 1386 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1387 | + | |
| 1388 | +var isObject = __webpack_require__(9); | |
| 1389 | +var document = __webpack_require__(8).document; | |
| 1390 | +// typeof document.createElement is 'object' in old IE | |
| 1391 | +var is = isObject(document) && isObject(document.createElement); | |
| 1392 | +module.exports = function (it) { | |
| 1393 | + return is ? document.createElement(it) : {}; | |
| 1394 | +}; | |
| 1395 | + | |
| 1396 | + | |
| 1397 | +/***/ }), | |
| 1398 | +/* 89 */ | |
| 1399 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1400 | + | |
| 1401 | +module.exports = __webpack_require__(22); | |
| 1402 | + | |
| 1403 | + | |
| 1404 | +/***/ }), | |
| 1405 | +/* 90 */ | |
| 1406 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1407 | + | |
| 1408 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 1409 | +var UNSCOPABLES = __webpack_require__(13)('unscopables'); | |
| 1410 | +var ArrayProto = Array.prototype; | |
| 1411 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(30)(ArrayProto, UNSCOPABLES, {}); | |
| 1412 | +module.exports = function (key) { | |
| 1413 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 1414 | +}; | |
| 1415 | + | |
| 1416 | + | |
| 1417 | +/***/ }), | |
| 1418 | +/* 91 */ | |
| 1419 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1420 | + | |
| 1421 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 1422 | +var $keys = __webpack_require__(112); | |
| 1423 | +var hiddenKeys = __webpack_require__(74).concat('length', 'prototype'); | |
| 1424 | + | |
| 1425 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 1426 | + return $keys(O, hiddenKeys); | |
| 1427 | +}; | |
| 1428 | + | |
| 1429 | + | |
| 1430 | +/***/ }), | |
| 1431 | +/* 92 */ | |
| 1432 | +/***/ (function(module, exports) { | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | +/***/ }), | |
| 1437 | +/* 93 */ | |
| 1438 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1439 | + | |
| 1440 | +module.exports = __webpack_require__(269); | |
| 1441 | + | |
| 1442 | +/***/ }), | |
| 1443 | +/* 94 */, | |
| 1444 | +/* 95 */ | |
| 1445 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1446 | + | |
| 1447 | +module.exports = __webpack_require__(164); | |
| 1448 | + | |
| 1449 | +/***/ }), | |
| 1450 | +/* 96 */ | |
| 1451 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1452 | + | |
| 1453 | +"use strict"; | |
| 1454 | + | |
| 1455 | +var LIBRARY = __webpack_require__(44); | |
| 1456 | +var $export = __webpack_require__(7); | |
| 1457 | +var redefine = __webpack_require__(89); | |
| 1458 | +var hide = __webpack_require__(22); | |
| 1459 | +var Iterators = __webpack_require__(33); | |
| 1460 | +var $iterCreate = __webpack_require__(170); | |
| 1461 | +var setToStringTag = __webpack_require__(53); | |
| 1462 | +var getPrototypeOf = __webpack_require__(63); | |
| 1463 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 1464 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 1465 | +var FF_ITERATOR = '@@iterator'; | |
| 1466 | +var KEYS = 'keys'; | |
| 1467 | +var VALUES = 'values'; | |
| 1468 | + | |
| 1469 | +var returnThis = function () { return this; }; | |
| 1470 | + | |
| 1471 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 1472 | + $iterCreate(Constructor, NAME, next); | |
| 1473 | + var getMethod = function (kind) { | |
| 1474 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 1475 | + switch (kind) { | |
| 1476 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 1477 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 1478 | + } return function entries() { return new Constructor(this, kind); }; | |
| 1479 | + }; | |
| 1480 | + var TAG = NAME + ' Iterator'; | |
| 1481 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 1482 | + var VALUES_BUG = false; | |
| 1483 | + var proto = Base.prototype; | |
| 1484 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 1485 | + var $default = $native || getMethod(DEFAULT); | |
| 1486 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 1487 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 1488 | + var methods, key, IteratorPrototype; | |
| 1489 | + // Fix native | |
| 1490 | + if ($anyNative) { | |
| 1491 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 1492 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 1493 | + // Set @@toStringTag to native iterators | |
| 1494 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 1495 | + // fix for some old engines | |
| 1496 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 1497 | + } | |
| 1498 | + } | |
| 1499 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 1500 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 1501 | + VALUES_BUG = true; | |
| 1502 | + $default = function values() { return $native.call(this); }; | |
| 1503 | + } | |
| 1504 | + // Define iterator | |
| 1505 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 1506 | + hide(proto, ITERATOR, $default); | |
| 1507 | + } | |
| 1508 | + // Plug for library | |
| 1509 | + Iterators[NAME] = $default; | |
| 1510 | + Iterators[TAG] = returnThis; | |
| 1511 | + if (DEFAULT) { | |
| 1512 | + methods = { | |
| 1513 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 1514 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 1515 | + entries: $entries | |
| 1516 | + }; | |
| 1517 | + if (FORCED) for (key in methods) { | |
| 1518 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 1519 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 1520 | + } | |
| 1521 | + return methods; | |
| 1522 | +}; | |
| 1523 | + | |
| 1524 | + | |
| 1525 | +/***/ }), | |
| 1526 | +/* 97 */ | |
| 1527 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1528 | + | |
| 1529 | +// 7.2.2 IsArray(argument) | |
| 1530 | +var cof = __webpack_require__(56); | |
| 1531 | +module.exports = Array.isArray || function isArray(arg) { | |
| 1532 | + return cof(arg) == 'Array'; | |
| 1533 | +}; | |
| 1534 | + | |
| 1535 | + | |
| 1536 | +/***/ }), | |
| 1537 | +/* 98 */ | |
| 1538 | +/***/ (function(module, exports) { | |
| 1539 | + | |
| 1540 | +module.exports = function (it) { | |
| 1541 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 1542 | + return it; | |
| 1543 | +}; | |
| 1544 | + | |
| 1545 | + | |
| 1546 | +/***/ }), | |
| 1547 | +/* 99 */ | |
| 1548 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1549 | + | |
| 1550 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 1551 | +var cof = __webpack_require__(56); | |
| 1552 | +var TAG = __webpack_require__(10)('toStringTag'); | |
| 1553 | +// ES3 wrong here | |
| 1554 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 1555 | + | |
| 1556 | +// fallback for IE11 Script Access Denied error | |
| 1557 | +var tryGet = function (it, key) { | |
| 1558 | + try { | |
| 1559 | + return it[key]; | |
| 1560 | + } catch (e) { /* empty */ } | |
| 1561 | +}; | |
| 1562 | + | |
| 1563 | +module.exports = function (it) { | |
| 1564 | + var O, T, B; | |
| 1565 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1566 | + // @@toStringTag case | |
| 1567 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 1568 | + // builtinTag case | |
| 1569 | + : ARG ? cof(O) | |
| 1570 | + // ES3 arguments fallback | |
| 1571 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 1572 | +}; | |
| 1573 | + | |
| 1574 | + | |
| 1575 | +/***/ }), | |
| 1576 | +/* 100 */, | |
| 1577 | +/* 101 */, | |
| 1578 | +/* 102 */ | |
| 1579 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1580 | + | |
| 1581 | +// 7.1.13 ToObject(argument) | |
| 1582 | +var defined = __webpack_require__(43); | |
| 1583 | +module.exports = function (it) { | |
| 1584 | + return Object(defined(it)); | |
| 1585 | +}; | |
| 1586 | + | |
| 1587 | + | |
| 1588 | +/***/ }), | |
| 1589 | +/* 103 */ | |
| 1590 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1591 | + | |
| 1592 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 1593 | +var cof = __webpack_require__(56); | |
| 1594 | +// eslint-disable-next-line no-prototype-builtins | |
| 1595 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 1596 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 1597 | +}; | |
| 1598 | + | |
| 1599 | + | |
| 1600 | +/***/ }), | |
| 1601 | +/* 104 */ | |
| 1602 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1603 | + | |
| 1604 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 1605 | +var IObject = __webpack_require__(125); | |
| 1606 | +var defined = __webpack_require__(43); | |
| 1607 | +module.exports = function (it) { | |
| 1608 | + return IObject(defined(it)); | |
| 1609 | +}; | |
| 1610 | + | |
| 1611 | + | |
| 1612 | +/***/ }), | |
| 1613 | +/* 105 */ | |
| 1614 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1615 | + | |
| 1616 | +var arrayWithHoles = __webpack_require__(247); | |
| 1617 | + | |
| 1618 | +var iterableToArrayLimit = __webpack_require__(248); | |
| 1619 | + | |
| 1620 | +var unsupportedIterableToArray = __webpack_require__(194); | |
| 1621 | + | |
| 1622 | +var nonIterableRest = __webpack_require__(251); | |
| 1623 | + | |
| 1624 | +function _slicedToArray(arr, i) { | |
| 1625 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 1626 | +} | |
| 1627 | + | |
| 1628 | +module.exports = _slicedToArray; | |
| 1629 | + | |
| 1630 | +/***/ }), | |
| 1631 | +/* 106 */ | |
| 1632 | +/***/ (function(module, exports) { | |
| 1633 | + | |
| 1634 | +module.exports = function (bitmap, value) { | |
| 1635 | + return { | |
| 1636 | + enumerable: !(bitmap & 1), | |
| 1637 | + configurable: !(bitmap & 2), | |
| 1638 | + writable: !(bitmap & 4), | |
| 1639 | + value: value | |
| 1640 | + }; | |
| 1641 | +}; | |
| 1642 | + | |
| 1643 | + | |
| 1644 | +/***/ }), | |
| 1645 | +/* 107 */ | |
| 1646 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1647 | + | |
| 1648 | +module.exports = __webpack_require__(173); | |
| 1649 | + | |
| 1650 | +/***/ }), | |
| 1651 | +/* 108 */, | |
| 1652 | +/* 109 */ | |
| 1653 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1654 | + | |
| 1655 | +"use strict"; | |
| 1656 | + | |
| 1657 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 1658 | +var anObject = __webpack_require__(20); | |
| 1659 | +module.exports = function () { | |
| 1660 | + var that = anObject(this); | |
| 1661 | + var result = ''; | |
| 1662 | + if (that.global) result += 'g'; | |
| 1663 | + if (that.ignoreCase) result += 'i'; | |
| 1664 | + if (that.multiline) result += 'm'; | |
| 1665 | + if (that.unicode) result += 'u'; | |
| 1666 | + if (that.sticky) result += 'y'; | |
| 1667 | + return result; | |
| 1668 | +}; | |
| 1669 | + | |
| 1670 | + | |
| 1671 | +/***/ }), | |
| 1672 | +/* 110 */ | |
| 1673 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1674 | + | |
| 1675 | +module.exports = !__webpack_require__(14) && !__webpack_require__(21)(function () { | |
| 1676 | + return Object.defineProperty(__webpack_require__(88)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 1677 | +}); | |
| 1678 | + | |
| 1679 | + | |
| 1680 | +/***/ }), | |
| 1681 | +/* 111 */ | |
| 1682 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1683 | + | |
| 1684 | +module.exports = __webpack_require__(157); | |
| 1685 | + | |
| 1686 | +/***/ }), | |
| 1687 | +/* 112 */ | |
| 1688 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1689 | + | |
| 1690 | +var has = __webpack_require__(17); | |
| 1691 | +var toIObject = __webpack_require__(19); | |
| 1692 | +var arrayIndexOf = __webpack_require__(162)(false); | |
| 1693 | +var IE_PROTO = __webpack_require__(70)('IE_PROTO'); | |
| 1694 | + | |
| 1695 | +module.exports = function (object, names) { | |
| 1696 | + var O = toIObject(object); | |
| 1697 | + var i = 0; | |
| 1698 | + var result = []; | |
| 1699 | + var key; | |
| 1700 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 1701 | + // Don't enum bug & hidden keys | |
| 1702 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 1703 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 1704 | + } | |
| 1705 | + return result; | |
| 1706 | +}; | |
| 1707 | + | |
| 1708 | + | |
| 1709 | +/***/ }), | |
| 1710 | +/* 113 */, | |
| 1711 | +/* 114 */ | |
| 1712 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1713 | + | |
| 1714 | +var isObject = __webpack_require__(31); | |
| 1715 | +var document = __webpack_require__(18).document; | |
| 1716 | +// typeof document.createElement is 'object' in old IE | |
| 1717 | +var is = isObject(document) && isObject(document.createElement); | |
| 1718 | +module.exports = function (it) { | |
| 1719 | + return is ? document.createElement(it) : {}; | |
| 1720 | +}; | |
| 1721 | + | |
| 1722 | + | |
| 1723 | +/***/ }), | |
| 1724 | +/* 115 */ | |
| 1725 | +/***/ (function(module, exports) { | |
| 1726 | + | |
| 1727 | +module.exports = false; | |
| 1728 | + | |
| 1729 | + | |
| 1730 | +/***/ }), | |
| 1731 | +/* 116 */ | |
| 1732 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1733 | + | |
| 1734 | +module.exports = __webpack_require__(184); | |
| 1735 | + | |
| 1736 | +/***/ }), | |
| 1737 | +/* 117 */ | |
| 1738 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1739 | + | |
| 1740 | +var classof = __webpack_require__(99); | |
| 1741 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 1742 | +var Iterators = __webpack_require__(33); | |
| 1743 | +module.exports = __webpack_require__(6).getIteratorMethod = function (it) { | |
| 1744 | + if (it != undefined) return it[ITERATOR] | |
| 1745 | + || it['@@iterator'] | |
| 1746 | + || Iterators[classof(it)]; | |
| 1747 | +}; | |
| 1748 | + | |
| 1749 | + | |
| 1750 | +/***/ }), | |
| 1751 | +/* 118 */ | |
| 1752 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1753 | + | |
| 1754 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 1755 | +var cof = __webpack_require__(52); | |
| 1756 | +var TAG = __webpack_require__(13)('toStringTag'); | |
| 1757 | +// ES3 wrong here | |
| 1758 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 1759 | + | |
| 1760 | +// fallback for IE11 Script Access Denied error | |
| 1761 | +var tryGet = function (it, key) { | |
| 1762 | + try { | |
| 1763 | + return it[key]; | |
| 1764 | + } catch (e) { /* empty */ } | |
| 1765 | +}; | |
| 1766 | + | |
| 1767 | +module.exports = function (it) { | |
| 1768 | + var O, T, B; | |
| 1769 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1770 | + // @@toStringTag case | |
| 1771 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 1772 | + // builtinTag case | |
| 1773 | + : ARG ? cof(O) | |
| 1774 | + // ES3 arguments fallback | |
| 1775 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 1776 | +}; | |
| 1777 | + | |
| 1778 | + | |
| 1779 | +/***/ }), | |
| 1780 | +/* 119 */ | |
| 1781 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1782 | + | |
| 1783 | +var _Object$setPrototypeOf = __webpack_require__(111); | |
| 1784 | + | |
| 1785 | +function _setPrototypeOf(o, p) { | |
| 1786 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 1787 | + o.__proto__ = p; | |
| 1788 | + return o; | |
| 1789 | + }; | |
| 1790 | + | |
| 1791 | + return _setPrototypeOf(o, p); | |
| 1792 | +} | |
| 1793 | + | |
| 1794 | +module.exports = _setPrototypeOf; | |
| 1795 | + | |
| 1796 | +/***/ }), | |
| 1797 | +/* 120 */, | |
| 1798 | +/* 121 */, | |
| 1799 | +/* 122 */ | |
| 1800 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1801 | + | |
| 1802 | +"use strict"; | |
| 1803 | + | |
| 1804 | +var addToUnscopables = __webpack_require__(90); | |
| 1805 | +var step = __webpack_require__(241); | |
| 1806 | +var Iterators = __webpack_require__(123); | |
| 1807 | +var toIObject = __webpack_require__(104); | |
| 1808 | + | |
| 1809 | +// 22.1.3.4 Array.prototype.entries() | |
| 1810 | +// 22.1.3.13 Array.prototype.keys() | |
| 1811 | +// 22.1.3.29 Array.prototype.values() | |
| 1812 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 1813 | +module.exports = __webpack_require__(198)(Array, 'Array', function (iterated, kind) { | |
| 1814 | + this._t = toIObject(iterated); // target | |
| 1815 | + this._i = 0; // next index | |
| 1816 | + this._k = kind; // kind | |
| 1817 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 1818 | +}, function () { | |
| 1819 | + var O = this._t; | |
| 1820 | + var kind = this._k; | |
| 1821 | + var index = this._i++; | |
| 1822 | + if (!O || index >= O.length) { | |
| 1823 | + this._t = undefined; | |
| 1824 | + return step(1); | |
| 1825 | + } | |
| 1826 | + if (kind == 'keys') return step(0, index); | |
| 1827 | + if (kind == 'values') return step(0, O[index]); | |
| 1828 | + return step(0, [index, O[index]]); | |
| 1829 | +}, 'values'); | |
| 1830 | + | |
| 1831 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 1832 | +Iterators.Arguments = Iterators.Array; | |
| 1833 | + | |
| 1834 | +addToUnscopables('keys'); | |
| 1835 | +addToUnscopables('values'); | |
| 1836 | +addToUnscopables('entries'); | |
| 1837 | + | |
| 1838 | + | |
| 1839 | +/***/ }), | |
| 1840 | +/* 123 */ | |
| 1841 | +/***/ (function(module, exports) { | |
| 1842 | + | |
| 1843 | +module.exports = {}; | |
| 1844 | + | |
| 1845 | + | |
| 1846 | +/***/ }), | |
| 1847 | +/* 124 */, | |
| 1848 | +/* 125 */ | |
| 1849 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1850 | + | |
| 1851 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 1852 | +var cof = __webpack_require__(52); | |
| 1853 | +// eslint-disable-next-line no-prototype-builtins | |
| 1854 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 1855 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 1856 | +}; | |
| 1857 | + | |
| 1858 | + | |
| 1859 | +/***/ }), | |
| 1860 | +/* 126 */ | |
| 1861 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1862 | + | |
| 1863 | +// 7.2.8 IsRegExp(argument) | |
| 1864 | +var isObject = __webpack_require__(31); | |
| 1865 | +var cof = __webpack_require__(52); | |
| 1866 | +var MATCH = __webpack_require__(13)('match'); | |
| 1867 | +module.exports = function (it) { | |
| 1868 | + var isRegExp; | |
| 1869 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 1870 | +}; | |
| 1871 | + | |
| 1872 | + | |
| 1873 | +/***/ }), | |
| 1874 | +/* 127 */ | |
| 1875 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1876 | + | |
| 1877 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 1878 | +var isObject = __webpack_require__(31); | |
| 1879 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 1880 | +// and the second argument - flag - preferred type is a string | |
| 1881 | +module.exports = function (it, S) { | |
| 1882 | + if (!isObject(it)) return it; | |
| 1883 | + var fn, val; | |
| 1884 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1885 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1886 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 1887 | + throw TypeError("Can't convert object to primitive value"); | |
| 1888 | +}; | |
| 1889 | + | |
| 1890 | + | |
| 1891 | +/***/ }), | |
| 1892 | +/* 128 */, | |
| 1893 | +/* 129 */, | |
| 1894 | +/* 130 */ | |
| 1895 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1896 | + | |
| 1897 | +module.exports = __webpack_require__(160); | |
| 1898 | + | |
| 1899 | +/***/ }), | |
| 1900 | +/* 131 */ | |
| 1901 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1902 | + | |
| 1903 | +var dP = __webpack_require__(15); | |
| 1904 | +var anObject = __webpack_require__(11); | |
| 1905 | +var getKeys = __webpack_require__(37); | |
| 1906 | + | |
| 1907 | +module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 1908 | + anObject(O); | |
| 1909 | + var keys = getKeys(Properties); | |
| 1910 | + var length = keys.length; | |
| 1911 | + var i = 0; | |
| 1912 | + var P; | |
| 1913 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 1914 | + return O; | |
| 1915 | +}; | |
| 1916 | + | |
| 1917 | + | |
| 1918 | +/***/ }), | |
| 1919 | +/* 132 */ | |
| 1920 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1921 | + | |
| 1922 | +var document = __webpack_require__(8).document; | |
| 1923 | +module.exports = document && document.documentElement; | |
| 1924 | + | |
| 1925 | + | |
| 1926 | +/***/ }), | |
| 1927 | +/* 133 */ | |
| 1928 | +/***/ (function(module, exports) { | |
| 1929 | + | |
| 1930 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 1931 | +module.exports = function (fn, args, that) { | |
| 1932 | + var un = that === undefined; | |
| 1933 | + switch (args.length) { | |
| 1934 | + case 0: return un ? fn() | |
| 1935 | + : fn.call(that); | |
| 1936 | + case 1: return un ? fn(args[0]) | |
| 1937 | + : fn.call(that, args[0]); | |
| 1938 | + case 2: return un ? fn(args[0], args[1]) | |
| 1939 | + : fn.call(that, args[0], args[1]); | |
| 1940 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 1941 | + : fn.call(that, args[0], args[1], args[2]); | |
| 1942 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 1943 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 1944 | + } return fn.apply(that, args); | |
| 1945 | +}; | |
| 1946 | + | |
| 1947 | + | |
| 1948 | +/***/ }), | |
| 1949 | +/* 134 */, | |
| 1950 | +/* 135 */ | |
| 1951 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1952 | + | |
| 1953 | +module.exports = !__webpack_require__(28) && !__webpack_require__(36)(function () { | |
| 1954 | + return Object.defineProperty(__webpack_require__(114)('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 1955 | +}); | |
| 1956 | + | |
| 1957 | + | |
| 1958 | +/***/ }), | |
| 1959 | +/* 136 */ | |
| 1960 | +/***/ (function(module, exports, __webpack_require__) { | |
| 1961 | + | |
| 1962 | +"use strict"; | |
| 1963 | + | |
| 1964 | +// ECMAScript 6 symbols shim | |
| 1965 | +var global = __webpack_require__(8); | |
| 1966 | +var has = __webpack_require__(17); | |
| 1967 | +var DESCRIPTORS = __webpack_require__(14); | |
| 1968 | +var $export = __webpack_require__(7); | |
| 1969 | +var redefine = __webpack_require__(89); | |
| 1970 | +var META = __webpack_require__(66).KEY; | |
| 1971 | +var $fails = __webpack_require__(21); | |
| 1972 | +var shared = __webpack_require__(71); | |
| 1973 | +var setToStringTag = __webpack_require__(53); | |
| 1974 | +var uid = __webpack_require__(55); | |
| 1975 | +var wks = __webpack_require__(10); | |
| 1976 | +var wksExt = __webpack_require__(62); | |
| 1977 | +var wksDefine = __webpack_require__(75); | |
| 1978 | +var enumKeys = __webpack_require__(174); | |
| 1979 | +var isArray = __webpack_require__(97); | |
| 1980 | +var anObject = __webpack_require__(11); | |
| 1981 | +var isObject = __webpack_require__(9); | |
| 1982 | +var toObject = __webpack_require__(32); | |
| 1983 | +var toIObject = __webpack_require__(19); | |
| 1984 | +var toPrimitive = __webpack_require__(69); | |
| 1985 | +var createDesc = __webpack_require__(42); | |
| 1986 | +var _create = __webpack_require__(47); | |
| 1987 | +var gOPNExt = __webpack_require__(175); | |
| 1988 | +var $GOPD = __webpack_require__(48); | |
| 1989 | +var $GOPS = __webpack_require__(67); | |
| 1990 | +var $DP = __webpack_require__(15); | |
| 1991 | +var $keys = __webpack_require__(37); | |
| 1992 | +var gOPD = $GOPD.f; | |
| 1993 | +var dP = $DP.f; | |
| 1994 | +var gOPN = gOPNExt.f; | |
| 1995 | +var $Symbol = global.Symbol; | |
| 1996 | +var $JSON = global.JSON; | |
| 1997 | +var _stringify = $JSON && $JSON.stringify; | |
| 1998 | +var PROTOTYPE = 'prototype'; | |
| 1999 | +var HIDDEN = wks('_hidden'); | |
| 2000 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 2001 | +var isEnum = {}.propertyIsEnumerable; | |
| 2002 | +var SymbolRegistry = shared('symbol-registry'); | |
| 2003 | +var AllSymbols = shared('symbols'); | |
| 2004 | +var OPSymbols = shared('op-symbols'); | |
| 2005 | +var ObjectProto = Object[PROTOTYPE]; | |
| 2006 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 2007 | +var QObject = global.QObject; | |
| 2008 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 2009 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 2010 | + | |
| 2011 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 2012 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 2013 | + return _create(dP({}, 'a', { | |
| 2014 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 2015 | + })).a != 7; | |
| 2016 | +}) ? function (it, key, D) { | |
| 2017 | + var protoDesc = gOPD(ObjectProto, key); | |
| 2018 | + if (protoDesc) delete ObjectProto[key]; | |
| 2019 | + dP(it, key, D); | |
| 2020 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 2021 | +} : dP; | |
| 2022 | + | |
| 2023 | +var wrap = function (tag) { | |
| 2024 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 2025 | + sym._k = tag; | |
| 2026 | + return sym; | |
| 2027 | +}; | |
| 2028 | + | |
| 2029 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 2030 | + return typeof it == 'symbol'; | |
| 2031 | +} : function (it) { | |
| 2032 | + return it instanceof $Symbol; | |
| 2033 | +}; | |
| 2034 | + | |
| 2035 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 2036 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 2037 | + anObject(it); | |
| 2038 | + key = toPrimitive(key, true); | |
| 2039 | + anObject(D); | |
| 2040 | + if (has(AllSymbols, key)) { | |
| 2041 | + if (!D.enumerable) { | |
| 2042 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 2043 | + it[HIDDEN][key] = true; | |
| 2044 | + } else { | |
| 2045 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 2046 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 2047 | + } return setSymbolDesc(it, key, D); | |
| 2048 | + } return dP(it, key, D); | |
| 2049 | +}; | |
| 2050 | +var $defineProperties = function defineProperties(it, P) { | |
| 2051 | + anObject(it); | |
| 2052 | + var keys = enumKeys(P = toIObject(P)); | |
| 2053 | + var i = 0; | |
| 2054 | + var l = keys.length; | |
| 2055 | + var key; | |
| 2056 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 2057 | + return it; | |
| 2058 | +}; | |
| 2059 | +var $create = function create(it, P) { | |
| 2060 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 2061 | +}; | |
| 2062 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 2063 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 2064 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 2065 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 2066 | +}; | |
| 2067 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 2068 | + it = toIObject(it); | |
| 2069 | + key = toPrimitive(key, true); | |
| 2070 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 2071 | + var D = gOPD(it, key); | |
| 2072 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 2073 | + return D; | |
| 2074 | +}; | |
| 2075 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 2076 | + var names = gOPN(toIObject(it)); | |
| 2077 | + var result = []; | |
| 2078 | + var i = 0; | |
| 2079 | + var key; | |
| 2080 | + while (names.length > i) { | |
| 2081 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 2082 | + } return result; | |
| 2083 | +}; | |
| 2084 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 2085 | + var IS_OP = it === ObjectProto; | |
| 2086 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 2087 | + var result = []; | |
| 2088 | + var i = 0; | |
| 2089 | + var key; | |
| 2090 | + while (names.length > i) { | |
| 2091 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 2092 | + } return result; | |
| 2093 | +}; | |
| 2094 | + | |
| 2095 | +// 19.4.1.1 Symbol([description]) | |
| 2096 | +if (!USE_NATIVE) { | |
| 2097 | + $Symbol = function Symbol() { | |
| 2098 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 2099 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 2100 | + var $set = function (value) { | |
| 2101 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 2102 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 2103 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 2104 | + }; | |
| 2105 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 2106 | + return wrap(tag); | |
| 2107 | + }; | |
| 2108 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 2109 | + return this._k; | |
| 2110 | + }); | |
| 2111 | + | |
| 2112 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 2113 | + $DP.f = $defineProperty; | |
| 2114 | + __webpack_require__(91).f = gOPNExt.f = $getOwnPropertyNames; | |
| 2115 | + __webpack_require__(49).f = $propertyIsEnumerable; | |
| 2116 | + $GOPS.f = $getOwnPropertySymbols; | |
| 2117 | + | |
| 2118 | + if (DESCRIPTORS && !__webpack_require__(44)) { | |
| 2119 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 2120 | + } | |
| 2121 | + | |
| 2122 | + wksExt.f = function (name) { | |
| 2123 | + return wrap(wks(name)); | |
| 2124 | + }; | |
| 2125 | +} | |
| 2126 | + | |
| 2127 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 2128 | + | |
| 2129 | +for (var es6Symbols = ( | |
| 2130 | + // 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 | |
| 2131 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 2132 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 2133 | + | |
| 2134 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 2135 | + | |
| 2136 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 2137 | + // 19.4.2.1 Symbol.for(key) | |
| 2138 | + 'for': function (key) { | |
| 2139 | + return has(SymbolRegistry, key += '') | |
| 2140 | + ? SymbolRegistry[key] | |
| 2141 | + : SymbolRegistry[key] = $Symbol(key); | |
| 2142 | + }, | |
| 2143 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 2144 | + keyFor: function keyFor(sym) { | |
| 2145 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 2146 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 2147 | + }, | |
| 2148 | + useSetter: function () { setter = true; }, | |
| 2149 | + useSimple: function () { setter = false; } | |
| 2150 | +}); | |
| 2151 | + | |
| 2152 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 2153 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 2154 | + create: $create, | |
| 2155 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 2156 | + defineProperty: $defineProperty, | |
| 2157 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 2158 | + defineProperties: $defineProperties, | |
| 2159 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 2160 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 2161 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 2162 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 2163 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 2164 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 2165 | +}); | |
| 2166 | + | |
| 2167 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 2168 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 2169 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 2170 | + | |
| 2171 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 2172 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 2173 | + return $GOPS.f(toObject(it)); | |
| 2174 | + } | |
| 2175 | +}); | |
| 2176 | + | |
| 2177 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 2178 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 2179 | + var S = $Symbol(); | |
| 2180 | + // MS Edge converts symbol values to JSON as {} | |
| 2181 | + // WebKit converts symbol values to JSON as null | |
| 2182 | + // V8 throws on boxed symbols | |
| 2183 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 2184 | +})), 'JSON', { | |
| 2185 | + stringify: function stringify(it) { | |
| 2186 | + var args = [it]; | |
| 2187 | + var i = 1; | |
| 2188 | + var replacer, $replacer; | |
| 2189 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 2190 | + $replacer = replacer = args[1]; | |
| 2191 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 2192 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 2193 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 2194 | + if (!isSymbol(value)) return value; | |
| 2195 | + }; | |
| 2196 | + args[1] = replacer; | |
| 2197 | + return _stringify.apply($JSON, args); | |
| 2198 | + } | |
| 2199 | +}); | |
| 2200 | + | |
| 2201 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 2202 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(22)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 2203 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 2204 | +setToStringTag($Symbol, 'Symbol'); | |
| 2205 | +// 20.2.1.9 Math[@@toStringTag] | |
| 2206 | +setToStringTag(Math, 'Math', true); | |
| 2207 | +// 24.3.3 JSON[@@toStringTag] | |
| 2208 | +setToStringTag(global.JSON, 'JSON', true); | |
| 2209 | + | |
| 2210 | + | |
| 2211 | +/***/ }), | |
| 2212 | +/* 137 */ | |
| 2213 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2214 | + | |
| 2215 | +var shared = __webpack_require__(76)('keys'); | |
| 2216 | +var uid = __webpack_require__(77); | |
| 2217 | +module.exports = function (key) { | |
| 2218 | + return shared[key] || (shared[key] = uid(key)); | |
| 2219 | +}; | |
| 2220 | + | |
| 2221 | + | |
| 2222 | +/***/ }), | |
| 2223 | +/* 138 */ | |
| 2224 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2225 | + | |
| 2226 | +var _Reflect$construct = __webpack_require__(95); | |
| 2227 | + | |
| 2228 | +function _isNativeReflectConstruct() { | |
| 2229 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 2230 | + if (_Reflect$construct.sham) return false; | |
| 2231 | + if (typeof Proxy === "function") return true; | |
| 2232 | + | |
| 2233 | + try { | |
| 2234 | + Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); | |
| 2235 | + return true; | |
| 2236 | + } catch (e) { | |
| 2237 | + return false; | |
| 2238 | + } | |
| 2239 | +} | |
| 2240 | + | |
| 2241 | +module.exports = _isNativeReflectConstruct; | |
| 2242 | + | |
| 2243 | +/***/ }), | |
| 2244 | +/* 139 */ | |
| 2245 | +/***/ (function(module, exports) { | |
| 2246 | + | |
| 2247 | +module.exports = function (done, value) { | |
| 2248 | + return { value: value, done: !!done }; | |
| 2249 | +}; | |
| 2250 | + | |
| 2251 | + | |
| 2252 | +/***/ }), | |
| 2253 | +/* 140 */, | |
| 2254 | +/* 141 */ | |
| 2255 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2256 | + | |
| 2257 | +"use strict"; | |
| 2258 | + | |
| 2259 | +// https://github.com/tc39/Array.prototype.includes | |
| 2260 | +var $export = __webpack_require__(38); | |
| 2261 | +var $includes = __webpack_require__(145)(true); | |
| 2262 | + | |
| 2263 | +$export($export.P, 'Array', { | |
| 2264 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 2265 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 2266 | + } | |
| 2267 | +}); | |
| 2268 | + | |
| 2269 | +__webpack_require__(90)('includes'); | |
| 2270 | + | |
| 2271 | + | |
| 2272 | +/***/ }), | |
| 2273 | +/* 142 */, | |
| 2274 | +/* 143 */ | |
| 2275 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2276 | + | |
| 2277 | +// call something on iterator step with safe closing on error | |
| 2278 | +var anObject = __webpack_require__(11); | |
| 2279 | +module.exports = function (iterator, fn, value, entries) { | |
| 2280 | + try { | |
| 2281 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 2282 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 2283 | + } catch (e) { | |
| 2284 | + var ret = iterator['return']; | |
| 2285 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 2286 | + throw e; | |
| 2287 | + } | |
| 2288 | +}; | |
| 2289 | + | |
| 2290 | + | |
| 2291 | +/***/ }), | |
| 2292 | +/* 144 */ | |
| 2293 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2294 | + | |
| 2295 | +// check on default Array iterator | |
| 2296 | +var Iterators = __webpack_require__(33); | |
| 2297 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2298 | +var ArrayProto = Array.prototype; | |
| 2299 | + | |
| 2300 | +module.exports = function (it) { | |
| 2301 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 2302 | +}; | |
| 2303 | + | |
| 2304 | + | |
| 2305 | +/***/ }), | |
| 2306 | +/* 145 */ | |
| 2307 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2308 | + | |
| 2309 | +// false -> Array#indexOf | |
| 2310 | +// true -> Array#includes | |
| 2311 | +var toIObject = __webpack_require__(104); | |
| 2312 | +var toLength = __webpack_require__(46); | |
| 2313 | +var toAbsoluteIndex = __webpack_require__(199); | |
| 2314 | +module.exports = function (IS_INCLUDES) { | |
| 2315 | + return function ($this, el, fromIndex) { | |
| 2316 | + var O = toIObject($this); | |
| 2317 | + var length = toLength(O.length); | |
| 2318 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 2319 | + var value; | |
| 2320 | + // Array#includes uses SameValueZero equality algorithm | |
| 2321 | + // eslint-disable-next-line no-self-compare | |
| 2322 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 2323 | + value = O[index++]; | |
| 2324 | + // eslint-disable-next-line no-self-compare | |
| 2325 | + if (value != value) return true; | |
| 2326 | + // Array#indexOf ignores holes, Array#includes - not | |
| 2327 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 2328 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 2329 | + } return !IS_INCLUDES && -1; | |
| 2330 | + }; | |
| 2331 | +}; | |
| 2332 | + | |
| 2333 | + | |
| 2334 | +/***/ }), | |
| 2335 | +/* 146 */, | |
| 2336 | +/* 147 */ | |
| 2337 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2338 | + | |
| 2339 | +module.exports = __webpack_require__(76)('native-function-to-string', Function.toString); | |
| 2340 | + | |
| 2341 | + | |
| 2342 | +/***/ }), | |
| 2343 | +/* 148 */ | |
| 2344 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2345 | + | |
| 2346 | +module.exports = __webpack_require__(168); | |
| 2347 | + | |
| 2348 | +/***/ }), | |
| 2349 | +/* 149 */, | |
| 2350 | +/* 150 */ | |
| 2351 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2352 | + | |
| 2353 | +var $iterators = __webpack_require__(122); | |
| 2354 | +var getKeys = __webpack_require__(192); | |
| 2355 | +var redefine = __webpack_require__(39); | |
| 2356 | +var global = __webpack_require__(18); | |
| 2357 | +var hide = __webpack_require__(30); | |
| 2358 | +var Iterators = __webpack_require__(123); | |
| 2359 | +var wks = __webpack_require__(13); | |
| 2360 | +var ITERATOR = wks('iterator'); | |
| 2361 | +var TO_STRING_TAG = wks('toStringTag'); | |
| 2362 | +var ArrayValues = Iterators.Array; | |
| 2363 | + | |
| 2364 | +var DOMIterables = { | |
| 2365 | + CSSRuleList: true, // TODO: Not spec compliant, should be false. | |
| 2366 | + CSSStyleDeclaration: false, | |
| 2367 | + CSSValueList: false, | |
| 2368 | + ClientRectList: false, | |
| 2369 | + DOMRectList: false, | |
| 2370 | + DOMStringList: false, | |
| 2371 | + DOMTokenList: true, | |
| 2372 | + DataTransferItemList: false, | |
| 2373 | + FileList: false, | |
| 2374 | + HTMLAllCollection: false, | |
| 2375 | + HTMLCollection: false, | |
| 2376 | + HTMLFormElement: false, | |
| 2377 | + HTMLSelectElement: false, | |
| 2378 | + MediaList: true, // TODO: Not spec compliant, should be false. | |
| 2379 | + MimeTypeArray: false, | |
| 2380 | + NamedNodeMap: false, | |
| 2381 | + NodeList: true, | |
| 2382 | + PaintRequestList: false, | |
| 2383 | + Plugin: false, | |
| 2384 | + PluginArray: false, | |
| 2385 | + SVGLengthList: false, | |
| 2386 | + SVGNumberList: false, | |
| 2387 | + SVGPathSegList: false, | |
| 2388 | + SVGPointList: false, | |
| 2389 | + SVGStringList: false, | |
| 2390 | + SVGTransformList: false, | |
| 2391 | + SourceBufferList: false, | |
| 2392 | + StyleSheetList: true, // TODO: Not spec compliant, should be false. | |
| 2393 | + TextTrackCueList: false, | |
| 2394 | + TextTrackList: false, | |
| 2395 | + TouchList: false | |
| 2396 | +}; | |
| 2397 | + | |
| 2398 | +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { | |
| 2399 | + var NAME = collections[i]; | |
| 2400 | + var explicit = DOMIterables[NAME]; | |
| 2401 | + var Collection = global[NAME]; | |
| 2402 | + var proto = Collection && Collection.prototype; | |
| 2403 | + var key; | |
| 2404 | + if (proto) { | |
| 2405 | + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); | |
| 2406 | + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 2407 | + Iterators[NAME] = ArrayValues; | |
| 2408 | + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); | |
| 2409 | + } | |
| 2410 | +} | |
| 2411 | + | |
| 2412 | + | |
| 2413 | +/***/ }), | |
| 2414 | +/* 151 */ | |
| 2415 | +/***/ (function(module, exports) { | |
| 2416 | + | |
| 2417 | +// IE 8- don't enum bug keys | |
| 2418 | +module.exports = ( | |
| 2419 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 2420 | +).split(','); | |
| 2421 | + | |
| 2422 | + | |
| 2423 | +/***/ }), | |
| 2424 | +/* 152 */ | |
| 2425 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2426 | + | |
| 2427 | +__webpack_require__(153); | |
| 2428 | +var $Object = __webpack_require__(6).Object; | |
| 2429 | +module.exports = function defineProperty(it, key, desc) { | |
| 2430 | + return $Object.defineProperty(it, key, desc); | |
| 2431 | +}; | |
| 2432 | + | |
| 2433 | + | |
| 2434 | +/***/ }), | |
| 2435 | +/* 153 */ | |
| 2436 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2437 | + | |
| 2438 | +var $export = __webpack_require__(7); | |
| 2439 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 2440 | +$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(15).f }); | |
| 2441 | + | |
| 2442 | + | |
| 2443 | +/***/ }), | |
| 2444 | +/* 154 */ | |
| 2445 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2446 | + | |
| 2447 | +module.exports = __webpack_require__(155); | |
| 2448 | + | |
| 2449 | +/***/ }), | |
| 2450 | +/* 155 */ | |
| 2451 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2452 | + | |
| 2453 | +__webpack_require__(156); | |
| 2454 | +module.exports = __webpack_require__(6).Object.getPrototypeOf; | |
| 2455 | + | |
| 2456 | + | |
| 2457 | +/***/ }), | |
| 2458 | +/* 156 */ | |
| 2459 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2460 | + | |
| 2461 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 2462 | +var toObject = __webpack_require__(32); | |
| 2463 | +var $getPrototypeOf = __webpack_require__(63); | |
| 2464 | + | |
| 2465 | +__webpack_require__(78)('getPrototypeOf', function () { | |
| 2466 | + return function getPrototypeOf(it) { | |
| 2467 | + return $getPrototypeOf(toObject(it)); | |
| 2468 | + }; | |
| 2469 | +}); | |
| 2470 | + | |
| 2471 | + | |
| 2472 | +/***/ }), | |
| 2473 | +/* 157 */ | |
| 2474 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2475 | + | |
| 2476 | +__webpack_require__(158); | |
| 2477 | +module.exports = __webpack_require__(6).Object.setPrototypeOf; | |
| 2478 | + | |
| 2479 | + | |
| 2480 | +/***/ }), | |
| 2481 | +/* 158 */ | |
| 2482 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2483 | + | |
| 2484 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 2485 | +var $export = __webpack_require__(7); | |
| 2486 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(159).set }); | |
| 2487 | + | |
| 2488 | + | |
| 2489 | +/***/ }), | |
| 2490 | +/* 159 */ | |
| 2491 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2492 | + | |
| 2493 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 2494 | +/* eslint-disable no-proto */ | |
| 2495 | +var isObject = __webpack_require__(9); | |
| 2496 | +var anObject = __webpack_require__(11); | |
| 2497 | +var check = function (O, proto) { | |
| 2498 | + anObject(O); | |
| 2499 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 2500 | +}; | |
| 2501 | +module.exports = { | |
| 2502 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 2503 | + function (test, buggy, set) { | |
| 2504 | + try { | |
| 2505 | + set = __webpack_require__(29)(Function.call, __webpack_require__(48).f(Object.prototype, '__proto__').set, 2); | |
| 2506 | + set(test, []); | |
| 2507 | + buggy = !(test instanceof Array); | |
| 2508 | + } catch (e) { buggy = true; } | |
| 2509 | + return function setPrototypeOf(O, proto) { | |
| 2510 | + check(O, proto); | |
| 2511 | + if (buggy) O.__proto__ = proto; | |
| 2512 | + else set(O, proto); | |
| 2513 | + return O; | |
| 2514 | + }; | |
| 2515 | + }({}, false) : undefined), | |
| 2516 | + check: check | |
| 2517 | +}; | |
| 2518 | + | |
| 2519 | + | |
| 2520 | +/***/ }), | |
| 2521 | +/* 160 */ | |
| 2522 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2523 | + | |
| 2524 | +__webpack_require__(161); | |
| 2525 | +var $Object = __webpack_require__(6).Object; | |
| 2526 | +module.exports = function create(P, D) { | |
| 2527 | + return $Object.create(P, D); | |
| 2528 | +}; | |
| 2529 | + | |
| 2530 | + | |
| 2531 | +/***/ }), | |
| 2532 | +/* 161 */ | |
| 2533 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2534 | + | |
| 2535 | +var $export = __webpack_require__(7); | |
| 2536 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 2537 | +$export($export.S, 'Object', { create: __webpack_require__(47) }); | |
| 2538 | + | |
| 2539 | + | |
| 2540 | +/***/ }), | |
| 2541 | +/* 162 */ | |
| 2542 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2543 | + | |
| 2544 | +// false -> Array#indexOf | |
| 2545 | +// true -> Array#includes | |
| 2546 | +var toIObject = __webpack_require__(19); | |
| 2547 | +var toLength = __webpack_require__(72); | |
| 2548 | +var toAbsoluteIndex = __webpack_require__(163); | |
| 2549 | +module.exports = function (IS_INCLUDES) { | |
| 2550 | + return function ($this, el, fromIndex) { | |
| 2551 | + var O = toIObject($this); | |
| 2552 | + var length = toLength(O.length); | |
| 2553 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 2554 | + var value; | |
| 2555 | + // Array#includes uses SameValueZero equality algorithm | |
| 2556 | + // eslint-disable-next-line no-self-compare | |
| 2557 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 2558 | + value = O[index++]; | |
| 2559 | + // eslint-disable-next-line no-self-compare | |
| 2560 | + if (value != value) return true; | |
| 2561 | + // Array#indexOf ignores holes, Array#includes - not | |
| 2562 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 2563 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 2564 | + } return !IS_INCLUDES && -1; | |
| 2565 | + }; | |
| 2566 | +}; | |
| 2567 | + | |
| 2568 | + | |
| 2569 | +/***/ }), | |
| 2570 | +/* 163 */ | |
| 2571 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2572 | + | |
| 2573 | +var toInteger = __webpack_require__(73); | |
| 2574 | +var max = Math.max; | |
| 2575 | +var min = Math.min; | |
| 2576 | +module.exports = function (index, length) { | |
| 2577 | + index = toInteger(index); | |
| 2578 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 2579 | +}; | |
| 2580 | + | |
| 2581 | + | |
| 2582 | +/***/ }), | |
| 2583 | +/* 164 */ | |
| 2584 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2585 | + | |
| 2586 | +__webpack_require__(165); | |
| 2587 | +module.exports = __webpack_require__(6).Reflect.construct; | |
| 2588 | + | |
| 2589 | + | |
| 2590 | +/***/ }), | |
| 2591 | +/* 165 */ | |
| 2592 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2593 | + | |
| 2594 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 2595 | +var $export = __webpack_require__(7); | |
| 2596 | +var create = __webpack_require__(47); | |
| 2597 | +var aFunction = __webpack_require__(35); | |
| 2598 | +var anObject = __webpack_require__(11); | |
| 2599 | +var isObject = __webpack_require__(9); | |
| 2600 | +var fails = __webpack_require__(21); | |
| 2601 | +var bind = __webpack_require__(166); | |
| 2602 | +var rConstruct = (__webpack_require__(8).Reflect || {}).construct; | |
| 2603 | + | |
| 2604 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 2605 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 2606 | +var NEW_TARGET_BUG = fails(function () { | |
| 2607 | + function F() { /* empty */ } | |
| 2608 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 2609 | +}); | |
| 2610 | +var ARGS_BUG = !fails(function () { | |
| 2611 | + rConstruct(function () { /* empty */ }); | |
| 2612 | +}); | |
| 2613 | + | |
| 2614 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 2615 | + construct: function construct(Target, args /* , newTarget */) { | |
| 2616 | + aFunction(Target); | |
| 2617 | + anObject(args); | |
| 2618 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 2619 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 2620 | + if (Target == newTarget) { | |
| 2621 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 2622 | + switch (args.length) { | |
| 2623 | + case 0: return new Target(); | |
| 2624 | + case 1: return new Target(args[0]); | |
| 2625 | + case 2: return new Target(args[0], args[1]); | |
| 2626 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 2627 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 2628 | + } | |
| 2629 | + // w/o altered newTarget, lot of arguments case | |
| 2630 | + var $args = [null]; | |
| 2631 | + $args.push.apply($args, args); | |
| 2632 | + return new (bind.apply(Target, $args))(); | |
| 2633 | + } | |
| 2634 | + // with altered newTarget, not support built-in constructors | |
| 2635 | + var proto = newTarget.prototype; | |
| 2636 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 2637 | + var result = Function.apply.call(Target, instance, args); | |
| 2638 | + return isObject(result) ? result : instance; | |
| 2639 | + } | |
| 2640 | +}); | |
| 2641 | + | |
| 2642 | + | |
| 2643 | +/***/ }), | |
| 2644 | +/* 166 */ | |
| 2645 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2646 | + | |
| 2647 | +"use strict"; | |
| 2648 | + | |
| 2649 | +var aFunction = __webpack_require__(35); | |
| 2650 | +var isObject = __webpack_require__(9); | |
| 2651 | +var invoke = __webpack_require__(133); | |
| 2652 | +var arraySlice = [].slice; | |
| 2653 | +var factories = {}; | |
| 2654 | + | |
| 2655 | +var construct = function (F, len, args) { | |
| 2656 | + if (!(len in factories)) { | |
| 2657 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 2658 | + // eslint-disable-next-line no-new-func | |
| 2659 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 2660 | + } return factories[len](F, args); | |
| 2661 | +}; | |
| 2662 | + | |
| 2663 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 2664 | + var fn = aFunction(this); | |
| 2665 | + var partArgs = arraySlice.call(arguments, 1); | |
| 2666 | + var bound = function (/* args... */) { | |
| 2667 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 2668 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 2669 | + }; | |
| 2670 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 2671 | + return bound; | |
| 2672 | +}; | |
| 2673 | + | |
| 2674 | + | |
| 2675 | +/***/ }), | |
| 2676 | +/* 167 */ | |
| 2677 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2678 | + | |
| 2679 | +var _typeof = __webpack_require__(50); | |
| 2680 | + | |
| 2681 | +var assertThisInitialized = __webpack_require__(45); | |
| 2682 | + | |
| 2683 | +function _possibleConstructorReturn(self, call) { | |
| 2684 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 2685 | + return call; | |
| 2686 | + } | |
| 2687 | + | |
| 2688 | + return assertThisInitialized(self); | |
| 2689 | +} | |
| 2690 | + | |
| 2691 | +module.exports = _possibleConstructorReturn; | |
| 2692 | + | |
| 2693 | +/***/ }), | |
| 2694 | +/* 168 */ | |
| 2695 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2696 | + | |
| 2697 | +__webpack_require__(57); | |
| 2698 | +__webpack_require__(59); | |
| 2699 | +module.exports = __webpack_require__(62).f('iterator'); | |
| 2700 | + | |
| 2701 | + | |
| 2702 | +/***/ }), | |
| 2703 | +/* 169 */ | |
| 2704 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2705 | + | |
| 2706 | +var toInteger = __webpack_require__(73); | |
| 2707 | +var defined = __webpack_require__(65); | |
| 2708 | +// true -> String#at | |
| 2709 | +// false -> String#codePointAt | |
| 2710 | +module.exports = function (TO_STRING) { | |
| 2711 | + return function (that, pos) { | |
| 2712 | + var s = String(defined(that)); | |
| 2713 | + var i = toInteger(pos); | |
| 2714 | + var l = s.length; | |
| 2715 | + var a, b; | |
| 2716 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 2717 | + a = s.charCodeAt(i); | |
| 2718 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 2719 | + ? TO_STRING ? s.charAt(i) : a | |
| 2720 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 2721 | + }; | |
| 2722 | +}; | |
| 2723 | + | |
| 2724 | + | |
| 2725 | +/***/ }), | |
| 2726 | +/* 170 */ | |
| 2727 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2728 | + | |
| 2729 | +"use strict"; | |
| 2730 | + | |
| 2731 | +var create = __webpack_require__(47); | |
| 2732 | +var descriptor = __webpack_require__(42); | |
| 2733 | +var setToStringTag = __webpack_require__(53); | |
| 2734 | +var IteratorPrototype = {}; | |
| 2735 | + | |
| 2736 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 2737 | +__webpack_require__(22)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; }); | |
| 2738 | + | |
| 2739 | +module.exports = function (Constructor, NAME, next) { | |
| 2740 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 2741 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 2742 | +}; | |
| 2743 | + | |
| 2744 | + | |
| 2745 | +/***/ }), | |
| 2746 | +/* 171 */ | |
| 2747 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2748 | + | |
| 2749 | +"use strict"; | |
| 2750 | + | |
| 2751 | +var addToUnscopables = __webpack_require__(172); | |
| 2752 | +var step = __webpack_require__(139); | |
| 2753 | +var Iterators = __webpack_require__(33); | |
| 2754 | +var toIObject = __webpack_require__(19); | |
| 2755 | + | |
| 2756 | +// 22.1.3.4 Array.prototype.entries() | |
| 2757 | +// 22.1.3.13 Array.prototype.keys() | |
| 2758 | +// 22.1.3.29 Array.prototype.values() | |
| 2759 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 2760 | +module.exports = __webpack_require__(96)(Array, 'Array', function (iterated, kind) { | |
| 2761 | + this._t = toIObject(iterated); // target | |
| 2762 | + this._i = 0; // next index | |
| 2763 | + this._k = kind; // kind | |
| 2764 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 2765 | +}, function () { | |
| 2766 | + var O = this._t; | |
| 2767 | + var kind = this._k; | |
| 2768 | + var index = this._i++; | |
| 2769 | + if (!O || index >= O.length) { | |
| 2770 | + this._t = undefined; | |
| 2771 | + return step(1); | |
| 2772 | + } | |
| 2773 | + if (kind == 'keys') return step(0, index); | |
| 2774 | + if (kind == 'values') return step(0, O[index]); | |
| 2775 | + return step(0, [index, O[index]]); | |
| 2776 | +}, 'values'); | |
| 2777 | + | |
| 2778 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 2779 | +Iterators.Arguments = Iterators.Array; | |
| 2780 | + | |
| 2781 | +addToUnscopables('keys'); | |
| 2782 | +addToUnscopables('values'); | |
| 2783 | +addToUnscopables('entries'); | |
| 2784 | + | |
| 2785 | + | |
| 2786 | +/***/ }), | |
| 2787 | +/* 172 */ | |
| 2788 | +/***/ (function(module, exports) { | |
| 2789 | + | |
| 2790 | +module.exports = function () { /* empty */ }; | |
| 2791 | + | |
| 2792 | + | |
| 2793 | +/***/ }), | |
| 2794 | +/* 173 */ | |
| 2795 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2796 | + | |
| 2797 | +__webpack_require__(136); | |
| 2798 | +__webpack_require__(92); | |
| 2799 | +__webpack_require__(176); | |
| 2800 | +__webpack_require__(177); | |
| 2801 | +module.exports = __webpack_require__(6).Symbol; | |
| 2802 | + | |
| 2803 | + | |
| 2804 | +/***/ }), | |
| 2805 | +/* 174 */ | |
| 2806 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2807 | + | |
| 2808 | +// all enumerable object keys, includes symbols | |
| 2809 | +var getKeys = __webpack_require__(37); | |
| 2810 | +var gOPS = __webpack_require__(67); | |
| 2811 | +var pIE = __webpack_require__(49); | |
| 2812 | +module.exports = function (it) { | |
| 2813 | + var result = getKeys(it); | |
| 2814 | + var getSymbols = gOPS.f; | |
| 2815 | + if (getSymbols) { | |
| 2816 | + var symbols = getSymbols(it); | |
| 2817 | + var isEnum = pIE.f; | |
| 2818 | + var i = 0; | |
| 2819 | + var key; | |
| 2820 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 2821 | + } return result; | |
| 2822 | +}; | |
| 2823 | + | |
| 2824 | + | |
| 2825 | +/***/ }), | |
| 2826 | +/* 175 */ | |
| 2827 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2828 | + | |
| 2829 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 2830 | +var toIObject = __webpack_require__(19); | |
| 2831 | +var gOPN = __webpack_require__(91).f; | |
| 2832 | +var toString = {}.toString; | |
| 2833 | + | |
| 2834 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 2835 | + ? Object.getOwnPropertyNames(window) : []; | |
| 2836 | + | |
| 2837 | +var getWindowNames = function (it) { | |
| 2838 | + try { | |
| 2839 | + return gOPN(it); | |
| 2840 | + } catch (e) { | |
| 2841 | + return windowNames.slice(); | |
| 2842 | + } | |
| 2843 | +}; | |
| 2844 | + | |
| 2845 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 2846 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 2847 | +}; | |
| 2848 | + | |
| 2849 | + | |
| 2850 | +/***/ }), | |
| 2851 | +/* 176 */ | |
| 2852 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2853 | + | |
| 2854 | +__webpack_require__(75)('asyncIterator'); | |
| 2855 | + | |
| 2856 | + | |
| 2857 | +/***/ }), | |
| 2858 | +/* 177 */ | |
| 2859 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2860 | + | |
| 2861 | +__webpack_require__(75)('observable'); | |
| 2862 | + | |
| 2863 | + | |
| 2864 | +/***/ }), | |
| 2865 | +/* 178 */ | |
| 2866 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2867 | + | |
| 2868 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 2869 | +var SAFE_CLOSING = false; | |
| 2870 | + | |
| 2871 | +try { | |
| 2872 | + var riter = [7][ITERATOR](); | |
| 2873 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 2874 | + // eslint-disable-next-line no-throw-literal | |
| 2875 | + Array.from(riter, function () { throw 2; }); | |
| 2876 | +} catch (e) { /* empty */ } | |
| 2877 | + | |
| 2878 | +module.exports = function (exec, skipClosing) { | |
| 2879 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 2880 | + var safe = false; | |
| 2881 | + try { | |
| 2882 | + var arr = [7]; | |
| 2883 | + var iter = arr[ITERATOR](); | |
| 2884 | + iter.next = function () { return { done: safe = true }; }; | |
| 2885 | + arr[ITERATOR] = function () { return iter; }; | |
| 2886 | + exec(arr); | |
| 2887 | + } catch (e) { /* empty */ } | |
| 2888 | + return safe; | |
| 2889 | +}; | |
| 2890 | + | |
| 2891 | + | |
| 2892 | +/***/ }), | |
| 2893 | +/* 179 */ | |
| 2894 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2895 | + | |
| 2896 | +var def = __webpack_require__(51).f; | |
| 2897 | +var has = __webpack_require__(64); | |
| 2898 | +var TAG = __webpack_require__(13)('toStringTag'); | |
| 2899 | + | |
| 2900 | +module.exports = function (it, tag, stat) { | |
| 2901 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 2902 | +}; | |
| 2903 | + | |
| 2904 | + | |
| 2905 | +/***/ }), | |
| 2906 | +/* 180 */, | |
| 2907 | +/* 181 */ | |
| 2908 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2909 | + | |
| 2910 | +var DESCRIPTORS = __webpack_require__(14); | |
| 2911 | +var getKeys = __webpack_require__(37); | |
| 2912 | +var toIObject = __webpack_require__(19); | |
| 2913 | +var isEnum = __webpack_require__(49).f; | |
| 2914 | +module.exports = function (isEntries) { | |
| 2915 | + return function (it) { | |
| 2916 | + var O = toIObject(it); | |
| 2917 | + var keys = getKeys(O); | |
| 2918 | + var length = keys.length; | |
| 2919 | + var i = 0; | |
| 2920 | + var result = []; | |
| 2921 | + var key; | |
| 2922 | + while (length > i) { | |
| 2923 | + key = keys[i++]; | |
| 2924 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 2925 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 2926 | + } | |
| 2927 | + } | |
| 2928 | + return result; | |
| 2929 | + }; | |
| 2930 | +}; | |
| 2931 | + | |
| 2932 | + | |
| 2933 | +/***/ }), | |
| 2934 | +/* 182 */, | |
| 2935 | +/* 183 */ | |
| 2936 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2937 | + | |
| 2938 | +"use strict"; | |
| 2939 | +// 21.1.3.7 String.prototype.includes(searchString, position = 0) | |
| 2940 | + | |
| 2941 | +var $export = __webpack_require__(38); | |
| 2942 | +var context = __webpack_require__(205); | |
| 2943 | +var INCLUDES = 'includes'; | |
| 2944 | + | |
| 2945 | +$export($export.P + $export.F * __webpack_require__(206)(INCLUDES), 'String', { | |
| 2946 | + includes: function includes(searchString /* , position = 0 */) { | |
| 2947 | + return !!~context(this, searchString, INCLUDES) | |
| 2948 | + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); | |
| 2949 | + } | |
| 2950 | +}); | |
| 2951 | + | |
| 2952 | + | |
| 2953 | +/***/ }), | |
| 2954 | +/* 184 */ | |
| 2955 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2956 | + | |
| 2957 | +__webpack_require__(185); | |
| 2958 | +var $Object = __webpack_require__(6).Object; | |
| 2959 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 2960 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 2961 | +}; | |
| 2962 | + | |
| 2963 | + | |
| 2964 | +/***/ }), | |
| 2965 | +/* 185 */ | |
| 2966 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2967 | + | |
| 2968 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 2969 | +var toIObject = __webpack_require__(19); | |
| 2970 | +var $getOwnPropertyDescriptor = __webpack_require__(48).f; | |
| 2971 | + | |
| 2972 | +__webpack_require__(78)('getOwnPropertyDescriptor', function () { | |
| 2973 | + return function getOwnPropertyDescriptor(it, key) { | |
| 2974 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 2975 | + }; | |
| 2976 | +}); | |
| 2977 | + | |
| 2978 | + | |
| 2979 | +/***/ }), | |
| 2980 | +/* 186 */ | |
| 2981 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2982 | + | |
| 2983 | +module.exports = __webpack_require__(187); | |
| 2984 | + | |
| 2985 | +/***/ }), | |
| 2986 | +/* 187 */ | |
| 2987 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2988 | + | |
| 2989 | +__webpack_require__(188); | |
| 2990 | +module.exports = __webpack_require__(6).Reflect.get; | |
| 2991 | + | |
| 2992 | + | |
| 2993 | +/***/ }), | |
| 2994 | +/* 188 */ | |
| 2995 | +/***/ (function(module, exports, __webpack_require__) { | |
| 2996 | + | |
| 2997 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 2998 | +var gOPD = __webpack_require__(48); | |
| 2999 | +var getPrototypeOf = __webpack_require__(63); | |
| 3000 | +var has = __webpack_require__(17); | |
| 3001 | +var $export = __webpack_require__(7); | |
| 3002 | +var isObject = __webpack_require__(9); | |
| 3003 | +var anObject = __webpack_require__(11); | |
| 3004 | + | |
| 3005 | +function get(target, propertyKey /* , receiver */) { | |
| 3006 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 3007 | + var desc, proto; | |
| 3008 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 3009 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 3010 | + ? desc.value | |
| 3011 | + : desc.get !== undefined | |
| 3012 | + ? desc.get.call(receiver) | |
| 3013 | + : undefined; | |
| 3014 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 3015 | +} | |
| 3016 | + | |
| 3017 | +$export($export.S, 'Reflect', { get: get }); | |
| 3018 | + | |
| 3019 | + | |
| 3020 | +/***/ }), | |
| 3021 | +/* 189 */ | |
| 3022 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3023 | + | |
| 3024 | +var getPrototypeOf = __webpack_require__(16); | |
| 3025 | + | |
| 3026 | +function _superPropBase(object, property) { | |
| 3027 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 3028 | + object = getPrototypeOf(object); | |
| 3029 | + if (object === null) break; | |
| 3030 | + } | |
| 3031 | + | |
| 3032 | + return object; | |
| 3033 | +} | |
| 3034 | + | |
| 3035 | +module.exports = _superPropBase; | |
| 3036 | + | |
| 3037 | +/***/ }), | |
| 3038 | +/* 190 */ | |
| 3039 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3040 | + | |
| 3041 | +// 0 -> Array#forEach | |
| 3042 | +// 1 -> Array#map | |
| 3043 | +// 2 -> Array#filter | |
| 3044 | +// 3 -> Array#some | |
| 3045 | +// 4 -> Array#every | |
| 3046 | +// 5 -> Array#find | |
| 3047 | +// 6 -> Array#findIndex | |
| 3048 | +var ctx = __webpack_require__(81); | |
| 3049 | +var IObject = __webpack_require__(125); | |
| 3050 | +var toObject = __webpack_require__(102); | |
| 3051 | +var toLength = __webpack_require__(46); | |
| 3052 | +var asc = __webpack_require__(216); | |
| 3053 | +module.exports = function (TYPE, $create) { | |
| 3054 | + var IS_MAP = TYPE == 1; | |
| 3055 | + var IS_FILTER = TYPE == 2; | |
| 3056 | + var IS_SOME = TYPE == 3; | |
| 3057 | + var IS_EVERY = TYPE == 4; | |
| 3058 | + var IS_FIND_INDEX = TYPE == 6; | |
| 3059 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 3060 | + var create = $create || asc; | |
| 3061 | + return function ($this, callbackfn, that) { | |
| 3062 | + var O = toObject($this); | |
| 3063 | + var self = IObject(O); | |
| 3064 | + var f = ctx(callbackfn, that, 3); | |
| 3065 | + var length = toLength(self.length); | |
| 3066 | + var index = 0; | |
| 3067 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 3068 | + var val, res; | |
| 3069 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 3070 | + val = self[index]; | |
| 3071 | + res = f(val, index, O); | |
| 3072 | + if (TYPE) { | |
| 3073 | + if (IS_MAP) result[index] = res; // map | |
| 3074 | + else if (res) switch (TYPE) { | |
| 3075 | + case 3: return true; // some | |
| 3076 | + case 5: return val; // find | |
| 3077 | + case 6: return index; // findIndex | |
| 3078 | + case 2: result.push(val); // filter | |
| 3079 | + } else if (IS_EVERY) return false; // every | |
| 3080 | + } | |
| 3081 | + } | |
| 3082 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 3083 | + }; | |
| 3084 | +}; | |
| 3085 | + | |
| 3086 | + | |
| 3087 | +/***/ }), | |
| 3088 | +/* 191 */ | |
| 3089 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3090 | + | |
| 3091 | +"use strict"; | |
| 3092 | + | |
| 3093 | +__webpack_require__(283); | |
| 3094 | +var anObject = __webpack_require__(20); | |
| 3095 | +var $flags = __webpack_require__(109); | |
| 3096 | +var DESCRIPTORS = __webpack_require__(28); | |
| 3097 | +var TO_STRING = 'toString'; | |
| 3098 | +var $toString = /./[TO_STRING]; | |
| 3099 | + | |
| 3100 | +var define = function (fn) { | |
| 3101 | + __webpack_require__(39)(RegExp.prototype, TO_STRING, fn, true); | |
| 3102 | +}; | |
| 3103 | + | |
| 3104 | +// 21.2.5.14 RegExp.prototype.toString() | |
| 3105 | +if (__webpack_require__(36)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { | |
| 3106 | + define(function toString() { | |
| 3107 | + var R = anObject(this); | |
| 3108 | + return '/'.concat(R.source, '/', | |
| 3109 | + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); | |
| 3110 | + }); | |
| 3111 | +// FF44- RegExp#toString has a wrong name | |
| 3112 | +} else if ($toString.name != TO_STRING) { | |
| 3113 | + define(function toString() { | |
| 3114 | + return $toString.call(this); | |
| 3115 | + }); | |
| 3116 | +} | |
| 3117 | + | |
| 3118 | + | |
| 3119 | +/***/ }), | |
| 3120 | +/* 192 */ | |
| 3121 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3122 | + | |
| 3123 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 3124 | +var $keys = __webpack_require__(220); | |
| 3125 | +var enumBugKeys = __webpack_require__(151); | |
| 3126 | + | |
| 3127 | +module.exports = Object.keys || function keys(O) { | |
| 3128 | + return $keys(O, enumBugKeys); | |
| 3129 | +}; | |
| 3130 | + | |
| 3131 | + | |
| 3132 | +/***/ }), | |
| 3133 | +/* 193 */ | |
| 3134 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3135 | + | |
| 3136 | +"use strict"; | |
| 3137 | + | |
| 3138 | +var $defineProperty = __webpack_require__(15); | |
| 3139 | +var createDesc = __webpack_require__(42); | |
| 3140 | + | |
| 3141 | +module.exports = function (object, index, value) { | |
| 3142 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 3143 | + else object[index] = value; | |
| 3144 | +}; | |
| 3145 | + | |
| 3146 | + | |
| 3147 | +/***/ }), | |
| 3148 | +/* 194 */ | |
| 3149 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3150 | + | |
| 3151 | +var _Array$from = __webpack_require__(201); | |
| 3152 | + | |
| 3153 | +var arrayLikeToArray = __webpack_require__(200); | |
| 3154 | + | |
| 3155 | +function _unsupportedIterableToArray(o, minLen) { | |
| 3156 | + if (!o) return; | |
| 3157 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 3158 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 3159 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 3160 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 3161 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 3162 | +} | |
| 3163 | + | |
| 3164 | +module.exports = _unsupportedIterableToArray; | |
| 3165 | + | |
| 3166 | +/***/ }), | |
| 3167 | +/* 195 */, | |
| 3168 | +/* 196 */, | |
| 3169 | +/* 197 */, | |
| 3170 | +/* 198 */ | |
| 3171 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3172 | + | |
| 3173 | +"use strict"; | |
| 3174 | + | |
| 3175 | +var LIBRARY = __webpack_require__(115); | |
| 3176 | +var $export = __webpack_require__(38); | |
| 3177 | +var redefine = __webpack_require__(39); | |
| 3178 | +var hide = __webpack_require__(30); | |
| 3179 | +var Iterators = __webpack_require__(123); | |
| 3180 | +var $iterCreate = __webpack_require__(242); | |
| 3181 | +var setToStringTag = __webpack_require__(179); | |
| 3182 | +var getPrototypeOf = __webpack_require__(244); | |
| 3183 | +var ITERATOR = __webpack_require__(13)('iterator'); | |
| 3184 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 3185 | +var FF_ITERATOR = '@@iterator'; | |
| 3186 | +var KEYS = 'keys'; | |
| 3187 | +var VALUES = 'values'; | |
| 3188 | + | |
| 3189 | +var returnThis = function () { return this; }; | |
| 3190 | + | |
| 3191 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 3192 | + $iterCreate(Constructor, NAME, next); | |
| 3193 | + var getMethod = function (kind) { | |
| 3194 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 3195 | + switch (kind) { | |
| 3196 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 3197 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 3198 | + } return function entries() { return new Constructor(this, kind); }; | |
| 3199 | + }; | |
| 3200 | + var TAG = NAME + ' Iterator'; | |
| 3201 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 3202 | + var VALUES_BUG = false; | |
| 3203 | + var proto = Base.prototype; | |
| 3204 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 3205 | + var $default = $native || getMethod(DEFAULT); | |
| 3206 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 3207 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 3208 | + var methods, key, IteratorPrototype; | |
| 3209 | + // Fix native | |
| 3210 | + if ($anyNative) { | |
| 3211 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 3212 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 3213 | + // Set @@toStringTag to native iterators | |
| 3214 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 3215 | + // fix for some old engines | |
| 3216 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 3217 | + } | |
| 3218 | + } | |
| 3219 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 3220 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 3221 | + VALUES_BUG = true; | |
| 3222 | + $default = function values() { return $native.call(this); }; | |
| 3223 | + } | |
| 3224 | + // Define iterator | |
| 3225 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 3226 | + hide(proto, ITERATOR, $default); | |
| 3227 | + } | |
| 3228 | + // Plug for library | |
| 3229 | + Iterators[NAME] = $default; | |
| 3230 | + Iterators[TAG] = returnThis; | |
| 3231 | + if (DEFAULT) { | |
| 3232 | + methods = { | |
| 3233 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 3234 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 3235 | + entries: $entries | |
| 3236 | + }; | |
| 3237 | + if (FORCED) for (key in methods) { | |
| 3238 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 3239 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 3240 | + } | |
| 3241 | + return methods; | |
| 3242 | +}; | |
| 3243 | + | |
| 3244 | + | |
| 3245 | +/***/ }), | |
| 3246 | +/* 199 */ | |
| 3247 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3248 | + | |
| 3249 | +var toInteger = __webpack_require__(60); | |
| 3250 | +var max = Math.max; | |
| 3251 | +var min = Math.min; | |
| 3252 | +module.exports = function (index, length) { | |
| 3253 | + index = toInteger(index); | |
| 3254 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 3255 | +}; | |
| 3256 | + | |
| 3257 | + | |
| 3258 | +/***/ }), | |
| 3259 | +/* 200 */ | |
| 3260 | +/***/ (function(module, exports) { | |
| 3261 | + | |
| 3262 | +function _arrayLikeToArray(arr, len) { | |
| 3263 | + if (len == null || len > arr.length) len = arr.length; | |
| 3264 | + | |
| 3265 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 3266 | + arr2[i] = arr[i]; | |
| 3267 | + } | |
| 3268 | + | |
| 3269 | + return arr2; | |
| 3270 | +} | |
| 3271 | + | |
| 3272 | +module.exports = _arrayLikeToArray; | |
| 3273 | + | |
| 3274 | +/***/ }), | |
| 3275 | +/* 201 */ | |
| 3276 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3277 | + | |
| 3278 | +module.exports = __webpack_require__(233); | |
| 3279 | + | |
| 3280 | +/***/ }), | |
| 3281 | +/* 202 */ | |
| 3282 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3283 | + | |
| 3284 | +__webpack_require__(203); | |
| 3285 | +module.exports = __webpack_require__(6).Object.keys; | |
| 3286 | + | |
| 3287 | + | |
| 3288 | +/***/ }), | |
| 3289 | +/* 203 */ | |
| 3290 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3291 | + | |
| 3292 | +// 19.1.2.14 Object.keys(O) | |
| 3293 | +var toObject = __webpack_require__(32); | |
| 3294 | +var $keys = __webpack_require__(37); | |
| 3295 | + | |
| 3296 | +__webpack_require__(78)('keys', function () { | |
| 3297 | + return function keys(it) { | |
| 3298 | + return $keys(toObject(it)); | |
| 3299 | + }; | |
| 3300 | +}); | |
| 3301 | + | |
| 3302 | + | |
| 3303 | +/***/ }), | |
| 3304 | +/* 204 */, | |
| 3305 | +/* 205 */ | |
| 3306 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3307 | + | |
| 3308 | +// helper for String#{startsWith, endsWith, includes} | |
| 3309 | +var isRegExp = __webpack_require__(126); | |
| 3310 | +var defined = __webpack_require__(43); | |
| 3311 | + | |
| 3312 | +module.exports = function (that, searchString, NAME) { | |
| 3313 | + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); | |
| 3314 | + return String(defined(that)); | |
| 3315 | +}; | |
| 3316 | + | |
| 3317 | + | |
| 3318 | +/***/ }), | |
| 3319 | +/* 206 */ | |
| 3320 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3321 | + | |
| 3322 | +var MATCH = __webpack_require__(13)('match'); | |
| 3323 | +module.exports = function (KEY) { | |
| 3324 | + var re = /./; | |
| 3325 | + try { | |
| 3326 | + '/./'[KEY](re); | |
| 3327 | + } catch (e) { | |
| 3328 | + try { | |
| 3329 | + re[MATCH] = false; | |
| 3330 | + return !'/./'[KEY](re); | |
| 3331 | + } catch (f) { /* empty */ } | |
| 3332 | + } return true; | |
| 3333 | +}; | |
| 3334 | + | |
| 3335 | + | |
| 3336 | +/***/ }), | |
| 3337 | +/* 207 */, | |
| 3338 | +/* 208 */, | |
| 3339 | +/* 209 */, | |
| 3340 | +/* 210 */, | |
| 3341 | +/* 211 */, | |
| 3342 | +/* 212 */ | |
| 3343 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3344 | + | |
| 3345 | +module.exports = __webpack_require__(235); | |
| 3346 | + | |
| 3347 | +/***/ }), | |
| 3348 | +/* 213 */, | |
| 3349 | +/* 214 */, | |
| 3350 | +/* 215 */, | |
| 3351 | +/* 216 */ | |
| 3352 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3353 | + | |
| 3354 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 3355 | +var speciesConstructor = __webpack_require__(217); | |
| 3356 | + | |
| 3357 | +module.exports = function (original, length) { | |
| 3358 | + return new (speciesConstructor(original))(length); | |
| 3359 | +}; | |
| 3360 | + | |
| 3361 | + | |
| 3362 | +/***/ }), | |
| 3363 | +/* 217 */ | |
| 3364 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3365 | + | |
| 3366 | +var isObject = __webpack_require__(31); | |
| 3367 | +var isArray = __webpack_require__(218); | |
| 3368 | +var SPECIES = __webpack_require__(13)('species'); | |
| 3369 | + | |
| 3370 | +module.exports = function (original) { | |
| 3371 | + var C; | |
| 3372 | + if (isArray(original)) { | |
| 3373 | + C = original.constructor; | |
| 3374 | + // cross-realm fallback | |
| 3375 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 3376 | + if (isObject(C)) { | |
| 3377 | + C = C[SPECIES]; | |
| 3378 | + if (C === null) C = undefined; | |
| 3379 | + } | |
| 3380 | + } return C === undefined ? Array : C; | |
| 3381 | +}; | |
| 3382 | + | |
| 3383 | + | |
| 3384 | +/***/ }), | |
| 3385 | +/* 218 */ | |
| 3386 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3387 | + | |
| 3388 | +// 7.2.2 IsArray(argument) | |
| 3389 | +var cof = __webpack_require__(52); | |
| 3390 | +module.exports = Array.isArray || function isArray(arg) { | |
| 3391 | + return cof(arg) == 'Array'; | |
| 3392 | +}; | |
| 3393 | + | |
| 3394 | + | |
| 3395 | +/***/ }), | |
| 3396 | +/* 219 */, | |
| 3397 | +/* 220 */ | |
| 3398 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3399 | + | |
| 3400 | +var has = __webpack_require__(64); | |
| 3401 | +var toIObject = __webpack_require__(104); | |
| 3402 | +var arrayIndexOf = __webpack_require__(145)(false); | |
| 3403 | +var IE_PROTO = __webpack_require__(137)('IE_PROTO'); | |
| 3404 | + | |
| 3405 | +module.exports = function (object, names) { | |
| 3406 | + var O = toIObject(object); | |
| 3407 | + var i = 0; | |
| 3408 | + var result = []; | |
| 3409 | + var key; | |
| 3410 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 3411 | + // Don't enum bug & hidden keys | |
| 3412 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 3413 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 3414 | + } | |
| 3415 | + return result; | |
| 3416 | +}; | |
| 3417 | + | |
| 3418 | + | |
| 3419 | +/***/ }), | |
| 3420 | +/* 221 */ | |
| 3421 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3422 | + | |
| 3423 | +__webpack_require__(222); | |
| 3424 | +module.exports = __webpack_require__(6).Array.isArray; | |
| 3425 | + | |
| 3426 | + | |
| 3427 | +/***/ }), | |
| 3428 | +/* 222 */ | |
| 3429 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3430 | + | |
| 3431 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 3432 | +var $export = __webpack_require__(7); | |
| 3433 | + | |
| 3434 | +$export($export.S, 'Array', { isArray: __webpack_require__(97) }); | |
| 3435 | + | |
| 3436 | + | |
| 3437 | +/***/ }), | |
| 3438 | +/* 223 */, | |
| 3439 | +/* 224 */, | |
| 3440 | +/* 225 */, | |
| 3441 | +/* 226 */, | |
| 3442 | +/* 227 */ | |
| 3443 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3444 | + | |
| 3445 | +"use strict"; | |
| 3446 | + | |
| 3447 | + | |
| 3448 | +var _interopRequireDefault = __webpack_require__(0); | |
| 3449 | + | |
| 3450 | +var _Object$defineProperty = __webpack_require__(1); | |
| 3451 | + | |
| 3452 | +_Object$defineProperty(exports, "__esModule", { | |
| 3453 | + value: true | |
| 3454 | +}); | |
| 3455 | + | |
| 3456 | +exports.default = void 0; | |
| 3457 | + | |
| 3458 | +var _typeof2 = _interopRequireDefault(__webpack_require__(50)); | |
| 3459 | + | |
| 3460 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 3461 | + | |
| 3462 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 3463 | + | |
| 3464 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 3465 | + | |
| 3466 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 3467 | + | |
| 3468 | +var _instanceType = _interopRequireDefault(__webpack_require__(252)); | |
| 3469 | + | |
| 3470 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 3471 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 3472 | + | |
| 3473 | + var _super = (0, _createSuper2.default)(ArgsObject); | |
| 3474 | + | |
| 3475 | + (0, _createClass2.default)(ArgsObject, null, [{ | |
| 3476 | + key: "getInstanceType", | |
| 3477 | + value: function getInstanceType() { | |
| 3478 | + return 'ArgsObject'; | |
| 3479 | + } | |
| 3480 | + /** | |
| 3481 | + * Function constructor(). | |
| 3482 | + * | |
| 3483 | + * Create ArgsObject. | |
| 3484 | + * | |
| 3485 | + * @param {{}} args | |
| 3486 | + */ | |
| 3487 | + | |
| 3488 | + }]); | |
| 3489 | + | |
| 3490 | + function ArgsObject(args) { | |
| 3491 | + var _this; | |
| 3492 | + | |
| 3493 | + (0, _classCallCheck2.default)(this, ArgsObject); | |
| 3494 | + _this = _super.call(this); | |
| 3495 | + _this.args = args; | |
| 3496 | + return _this; | |
| 3497 | + } | |
| 3498 | + /** | |
| 3499 | + * Function requireArgument(). | |
| 3500 | + * | |
| 3501 | + * Validate property in args. | |
| 3502 | + * | |
| 3503 | + * @param {string} property | |
| 3504 | + * @param {{}} args | |
| 3505 | + * | |
| 3506 | + * @throws {Error} | |
| 3507 | + * | |
| 3508 | + */ | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 3512 | + key: "requireArgument", | |
| 3513 | + value: function requireArgument(property) { | |
| 3514 | + var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 3515 | + | |
| 3516 | + if (!args.hasOwnProperty(property)) { | |
| 3517 | + throw Error("".concat(property, " is required.")); | |
| 3518 | + } | |
| 3519 | + } | |
| 3520 | + /** | |
| 3521 | + * Function requireArgumentType(). | |
| 3522 | + * | |
| 3523 | + * Validate property in args using `type === typeof(args.whatever)`. | |
| 3524 | + * | |
| 3525 | + * @param {string} property | |
| 3526 | + * @param {string} type | |
| 3527 | + * @param {{}} args | |
| 3528 | + * | |
| 3529 | + * @throws {Error} | |
| 3530 | + * | |
| 3531 | + */ | |
| 3532 | + | |
| 3533 | + }, { | |
| 3534 | + key: "requireArgumentType", | |
| 3535 | + value: function requireArgumentType(property, type) { | |
| 3536 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 3537 | + this.requireArgument(property, args); | |
| 3538 | + | |
| 3539 | + if ((0, _typeof2.default)(args[property]) !== type) { | |
| 3540 | + throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 3541 | + } | |
| 3542 | + } | |
| 3543 | + /** | |
| 3544 | + * Function requireArgumentInstance(). | |
| 3545 | + * | |
| 3546 | + * Validate property in args using `args.whatever instanceof instance`. | |
| 3547 | + * | |
| 3548 | + * @param {string} property | |
| 3549 | + * @param {instanceof} instance | |
| 3550 | + * @param {{}} args | |
| 3551 | + * | |
| 3552 | + * @throws {Error} | |
| 3553 | + * | |
| 3554 | + */ | |
| 3555 | + | |
| 3556 | + }, { | |
| 3557 | + key: "requireArgumentInstance", | |
| 3558 | + value: function requireArgumentInstance(property, instance) { | |
| 3559 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 3560 | + this.requireArgument(property, args); | |
| 3561 | + | |
| 3562 | + if (!(args[property] instanceof instance)) { | |
| 3563 | + throw Error("".concat(property, " invalid instance.")); | |
| 3564 | + } | |
| 3565 | + } | |
| 3566 | + /** | |
| 3567 | + * Function requireArgumentConstructor(). | |
| 3568 | + * | |
| 3569 | + * Validate property in args using `type === args.whatever.constructor`. | |
| 3570 | + * | |
| 3571 | + * @param {string} property | |
| 3572 | + * @param {*} type | |
| 3573 | + * @param {{}} args | |
| 3574 | + * | |
| 3575 | + * @throws {Error} | |
| 3576 | + * | |
| 3577 | + */ | |
| 3578 | + | |
| 3579 | + }, { | |
| 3580 | + key: "requireArgumentConstructor", | |
| 3581 | + value: function requireArgumentConstructor(property, type) { | |
| 3582 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 3583 | + this.requireArgument(property, args); | |
| 3584 | + | |
| 3585 | + if (args[property].constructor !== type) { | |
| 3586 | + throw Error("".concat(property, " invalid constructor type.")); | |
| 3587 | + } | |
| 3588 | + } | |
| 3589 | + }]); | |
| 3590 | + return ArgsObject; | |
| 3591 | +}(_instanceType.default); | |
| 3592 | + | |
| 3593 | +exports.default = ArgsObject; | |
| 3594 | + | |
| 3595 | +/***/ }), | |
| 3596 | +/* 228 */, | |
| 3597 | +/* 229 */ | |
| 3598 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3599 | + | |
| 3600 | +__webpack_require__(230); | |
| 3601 | +module.exports = __webpack_require__(6).Object.values; | |
| 3602 | + | |
| 3603 | + | |
| 3604 | +/***/ }), | |
| 3605 | +/* 230 */ | |
| 3606 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3607 | + | |
| 3608 | +// https://github.com/tc39/proposal-object-values-entries | |
| 3609 | +var $export = __webpack_require__(7); | |
| 3610 | +var $values = __webpack_require__(181)(false); | |
| 3611 | + | |
| 3612 | +$export($export.S, 'Object', { | |
| 3613 | + values: function values(it) { | |
| 3614 | + return $values(it); | |
| 3615 | + } | |
| 3616 | +}); | |
| 3617 | + | |
| 3618 | + | |
| 3619 | +/***/ }), | |
| 3620 | +/* 231 */ | |
| 3621 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3622 | + | |
| 3623 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 3624 | +var anObject = __webpack_require__(20); | |
| 3625 | +var dPs = __webpack_require__(243); | |
| 3626 | +var enumBugKeys = __webpack_require__(151); | |
| 3627 | +var IE_PROTO = __webpack_require__(137)('IE_PROTO'); | |
| 3628 | +var Empty = function () { /* empty */ }; | |
| 3629 | +var PROTOTYPE = 'prototype'; | |
| 3630 | + | |
| 3631 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 3632 | +var createDict = function () { | |
| 3633 | + // Thrash, waste and sodomy: IE GC bug | |
| 3634 | + var iframe = __webpack_require__(114)('iframe'); | |
| 3635 | + var i = enumBugKeys.length; | |
| 3636 | + var lt = '<'; | |
| 3637 | + var gt = '>'; | |
| 3638 | + var iframeDocument; | |
| 3639 | + iframe.style.display = 'none'; | |
| 3640 | + __webpack_require__(232).appendChild(iframe); | |
| 3641 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 3642 | + // createDict = iframe.contentWindow.Object; | |
| 3643 | + // html.removeChild(iframe); | |
| 3644 | + iframeDocument = iframe.contentWindow.document; | |
| 3645 | + iframeDocument.open(); | |
| 3646 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 3647 | + iframeDocument.close(); | |
| 3648 | + createDict = iframeDocument.F; | |
| 3649 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 3650 | + return createDict(); | |
| 3651 | +}; | |
| 3652 | + | |
| 3653 | +module.exports = Object.create || function create(O, Properties) { | |
| 3654 | + var result; | |
| 3655 | + if (O !== null) { | |
| 3656 | + Empty[PROTOTYPE] = anObject(O); | |
| 3657 | + result = new Empty(); | |
| 3658 | + Empty[PROTOTYPE] = null; | |
| 3659 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 3660 | + result[IE_PROTO] = O; | |
| 3661 | + } else result = createDict(); | |
| 3662 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 3663 | +}; | |
| 3664 | + | |
| 3665 | + | |
| 3666 | +/***/ }), | |
| 3667 | +/* 232 */ | |
| 3668 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3669 | + | |
| 3670 | +var document = __webpack_require__(18).document; | |
| 3671 | +module.exports = document && document.documentElement; | |
| 3672 | + | |
| 3673 | + | |
| 3674 | +/***/ }), | |
| 3675 | +/* 233 */ | |
| 3676 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3677 | + | |
| 3678 | +__webpack_require__(57); | |
| 3679 | +__webpack_require__(234); | |
| 3680 | +module.exports = __webpack_require__(6).Array.from; | |
| 3681 | + | |
| 3682 | + | |
| 3683 | +/***/ }), | |
| 3684 | +/* 234 */ | |
| 3685 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3686 | + | |
| 3687 | +"use strict"; | |
| 3688 | + | |
| 3689 | +var ctx = __webpack_require__(29); | |
| 3690 | +var $export = __webpack_require__(7); | |
| 3691 | +var toObject = __webpack_require__(32); | |
| 3692 | +var call = __webpack_require__(143); | |
| 3693 | +var isArrayIter = __webpack_require__(144); | |
| 3694 | +var toLength = __webpack_require__(72); | |
| 3695 | +var createProperty = __webpack_require__(193); | |
| 3696 | +var getIterFn = __webpack_require__(117); | |
| 3697 | + | |
| 3698 | +$export($export.S + $export.F * !__webpack_require__(178)(function (iter) { Array.from(iter); }), 'Array', { | |
| 3699 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 3700 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 3701 | + var O = toObject(arrayLike); | |
| 3702 | + var C = typeof this == 'function' ? this : Array; | |
| 3703 | + var aLen = arguments.length; | |
| 3704 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 3705 | + var mapping = mapfn !== undefined; | |
| 3706 | + var index = 0; | |
| 3707 | + var iterFn = getIterFn(O); | |
| 3708 | + var length, result, step, iterator; | |
| 3709 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 3710 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 3711 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 3712 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 3713 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 3714 | + } | |
| 3715 | + } else { | |
| 3716 | + length = toLength(O.length); | |
| 3717 | + for (result = new C(length); length > index; index++) { | |
| 3718 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 3719 | + } | |
| 3720 | + } | |
| 3721 | + result.length = index; | |
| 3722 | + return result; | |
| 3723 | + } | |
| 3724 | +}); | |
| 3725 | + | |
| 3726 | + | |
| 3727 | +/***/ }), | |
| 3728 | +/* 235 */ | |
| 3729 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3730 | + | |
| 3731 | +__webpack_require__(59); | |
| 3732 | +__webpack_require__(57); | |
| 3733 | +module.exports = __webpack_require__(236); | |
| 3734 | + | |
| 3735 | + | |
| 3736 | +/***/ }), | |
| 3737 | +/* 236 */ | |
| 3738 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3739 | + | |
| 3740 | +var classof = __webpack_require__(99); | |
| 3741 | +var ITERATOR = __webpack_require__(10)('iterator'); | |
| 3742 | +var Iterators = __webpack_require__(33); | |
| 3743 | +module.exports = __webpack_require__(6).isIterable = function (it) { | |
| 3744 | + var O = Object(it); | |
| 3745 | + return O[ITERATOR] !== undefined | |
| 3746 | + || '@@iterator' in O | |
| 3747 | + // eslint-disable-next-line no-prototype-builtins | |
| 3748 | + || Iterators.hasOwnProperty(classof(O)); | |
| 3749 | +}; | |
| 3750 | + | |
| 3751 | + | |
| 3752 | +/***/ }), | |
| 3753 | +/* 237 */, | |
| 3754 | +/* 238 */ | |
| 3755 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3756 | + | |
| 3757 | +module.exports = __webpack_require__(249); | |
| 3758 | + | |
| 3759 | +/***/ }), | |
| 3760 | +/* 239 */, | |
| 3761 | +/* 240 */, | |
| 3762 | +/* 241 */ | |
| 3763 | +/***/ (function(module, exports) { | |
| 3764 | + | |
| 3765 | +module.exports = function (done, value) { | |
| 3766 | + return { value: value, done: !!done }; | |
| 3767 | +}; | |
| 3768 | + | |
| 3769 | + | |
| 3770 | +/***/ }), | |
| 3771 | +/* 242 */ | |
| 3772 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3773 | + | |
| 3774 | +"use strict"; | |
| 3775 | + | |
| 3776 | +var create = __webpack_require__(231); | |
| 3777 | +var descriptor = __webpack_require__(106); | |
| 3778 | +var setToStringTag = __webpack_require__(179); | |
| 3779 | +var IteratorPrototype = {}; | |
| 3780 | + | |
| 3781 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 3782 | +__webpack_require__(30)(IteratorPrototype, __webpack_require__(13)('iterator'), function () { return this; }); | |
| 3783 | + | |
| 3784 | +module.exports = function (Constructor, NAME, next) { | |
| 3785 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 3786 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 3787 | +}; | |
| 3788 | + | |
| 3789 | + | |
| 3790 | +/***/ }), | |
| 3791 | +/* 243 */ | |
| 3792 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3793 | + | |
| 3794 | +var dP = __webpack_require__(51); | |
| 3795 | +var anObject = __webpack_require__(20); | |
| 3796 | +var getKeys = __webpack_require__(192); | |
| 3797 | + | |
| 3798 | +module.exports = __webpack_require__(28) ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 3799 | + anObject(O); | |
| 3800 | + var keys = getKeys(Properties); | |
| 3801 | + var length = keys.length; | |
| 3802 | + var i = 0; | |
| 3803 | + var P; | |
| 3804 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 3805 | + return O; | |
| 3806 | +}; | |
| 3807 | + | |
| 3808 | + | |
| 3809 | +/***/ }), | |
| 3810 | +/* 244 */ | |
| 3811 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3812 | + | |
| 3813 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 3814 | +var has = __webpack_require__(64); | |
| 3815 | +var toObject = __webpack_require__(102); | |
| 3816 | +var IE_PROTO = __webpack_require__(137)('IE_PROTO'); | |
| 3817 | +var ObjectProto = Object.prototype; | |
| 3818 | + | |
| 3819 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 3820 | + O = toObject(O); | |
| 3821 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 3822 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 3823 | + return O.constructor.prototype; | |
| 3824 | + } return O instanceof Object ? ObjectProto : null; | |
| 3825 | +}; | |
| 3826 | + | |
| 3827 | + | |
| 3828 | +/***/ }), | |
| 3829 | +/* 245 */, | |
| 3830 | +/* 246 */, | |
| 3831 | +/* 247 */ | |
| 3832 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3833 | + | |
| 3834 | +var _Array$isArray = __webpack_require__(86); | |
| 3835 | + | |
| 3836 | +function _arrayWithHoles(arr) { | |
| 3837 | + if (_Array$isArray(arr)) return arr; | |
| 3838 | +} | |
| 3839 | + | |
| 3840 | +module.exports = _arrayWithHoles; | |
| 3841 | + | |
| 3842 | +/***/ }), | |
| 3843 | +/* 248 */ | |
| 3844 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3845 | + | |
| 3846 | +var _getIterator = __webpack_require__(238); | |
| 3847 | + | |
| 3848 | +var _isIterable = __webpack_require__(212); | |
| 3849 | + | |
| 3850 | +var _Symbol = __webpack_require__(107); | |
| 3851 | + | |
| 3852 | +function _iterableToArrayLimit(arr, i) { | |
| 3853 | + if (typeof _Symbol === "undefined" || !_isIterable(Object(arr))) return; | |
| 3854 | + var _arr = []; | |
| 3855 | + var _n = true; | |
| 3856 | + var _d = false; | |
| 3857 | + var _e = undefined; | |
| 3858 | + | |
| 3859 | + try { | |
| 3860 | + for (var _i = _getIterator(arr), _s; !(_n = (_s = _i.next()).done); _n = true) { | |
| 3861 | + _arr.push(_s.value); | |
| 3862 | + | |
| 3863 | + if (i && _arr.length === i) break; | |
| 3864 | + } | |
| 3865 | + } catch (err) { | |
| 3866 | + _d = true; | |
| 3867 | + _e = err; | |
| 3868 | + } finally { | |
| 3869 | + try { | |
| 3870 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 3871 | + } finally { | |
| 3872 | + if (_d) throw _e; | |
| 3873 | + } | |
| 3874 | + } | |
| 3875 | + | |
| 3876 | + return _arr; | |
| 3877 | +} | |
| 3878 | + | |
| 3879 | +module.exports = _iterableToArrayLimit; | |
| 3880 | + | |
| 3881 | +/***/ }), | |
| 3882 | +/* 249 */ | |
| 3883 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3884 | + | |
| 3885 | +__webpack_require__(59); | |
| 3886 | +__webpack_require__(57); | |
| 3887 | +module.exports = __webpack_require__(250); | |
| 3888 | + | |
| 3889 | + | |
| 3890 | +/***/ }), | |
| 3891 | +/* 250 */ | |
| 3892 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3893 | + | |
| 3894 | +var anObject = __webpack_require__(11); | |
| 3895 | +var get = __webpack_require__(117); | |
| 3896 | +module.exports = __webpack_require__(6).getIterator = function (it) { | |
| 3897 | + var iterFn = get(it); | |
| 3898 | + if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); | |
| 3899 | + return anObject(iterFn.call(it)); | |
| 3900 | +}; | |
| 3901 | + | |
| 3902 | + | |
| 3903 | +/***/ }), | |
| 3904 | +/* 251 */ | |
| 3905 | +/***/ (function(module, exports) { | |
| 3906 | + | |
| 3907 | +function _nonIterableRest() { | |
| 3908 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 3909 | +} | |
| 3910 | + | |
| 3911 | +module.exports = _nonIterableRest; | |
| 3912 | + | |
| 3913 | +/***/ }), | |
| 3914 | +/* 252 */ | |
| 3915 | +/***/ (function(module, exports, __webpack_require__) { | |
| 3916 | + | |
| 3917 | +"use strict"; | |
| 3918 | + | |
| 3919 | + | |
| 3920 | +var _interopRequireDefault = __webpack_require__(0); | |
| 3921 | + | |
| 3922 | +var _Object$defineProperty = __webpack_require__(1); | |
| 3923 | + | |
| 3924 | +_Object$defineProperty(exports, "__esModule", { | |
| 3925 | + value: true | |
| 3926 | +}); | |
| 3927 | + | |
| 3928 | +exports.default = void 0; | |
| 3929 | + | |
| 3930 | +__webpack_require__(40); | |
| 3931 | + | |
| 3932 | +var _isArray = _interopRequireDefault(__webpack_require__(86)); | |
| 3933 | + | |
| 3934 | +var _hasInstance = _interopRequireDefault(__webpack_require__(253)); | |
| 3935 | + | |
| 3936 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 3937 | + | |
| 3938 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 3939 | + | |
| 3940 | +var _get2 = _interopRequireDefault(__webpack_require__(26)); | |
| 3941 | + | |
| 3942 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(16)); | |
| 3943 | + | |
| 3944 | +var InstanceType = /*#__PURE__*/function () { | |
| 3945 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 3946 | + key: _hasInstance.default, | |
| 3947 | + value: function value(target) { | |
| 3948 | + /** | |
| 3949 | + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 3950 | + * its give's opportunity to mange capabilities of instanceOf operator. | |
| 3951 | + * saving current class each time will give option later to handle instanceOf manually. | |
| 3952 | + */ | |
| 3953 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), _hasInstance.default, this).call(this, target); // Act normal when validate a class, which does not have instance type. | |
| 3954 | + | |
| 3955 | + if (target && !target.constructor.getInstanceType) { | |
| 3956 | + return result; | |
| 3957 | + } | |
| 3958 | + | |
| 3959 | + if (target) { | |
| 3960 | + if (!target.instanceTypes) { | |
| 3961 | + target.instanceTypes = []; | |
| 3962 | + } | |
| 3963 | + | |
| 3964 | + if (!result) { | |
| 3965 | + if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 3966 | + result = true; | |
| 3967 | + } | |
| 3968 | + } | |
| 3969 | + | |
| 3970 | + if (result) { | |
| 3971 | + var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 3972 | + | |
| 3973 | + if (-1 === target.instanceTypes.indexOf(name)) { | |
| 3974 | + target.instanceTypes.push(name); | |
| 3975 | + } | |
| 3976 | + } | |
| 3977 | + } | |
| 3978 | + | |
| 3979 | + if (!result && target) { | |
| 3980 | + // Check if the given 'target', is instance of known types. | |
| 3981 | + result = target.instanceTypes && (0, _isArray.default)(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 3982 | + } | |
| 3983 | + | |
| 3984 | + return result; | |
| 3985 | + } | |
| 3986 | + }]); | |
| 3987 | + | |
| 3988 | + function InstanceType() { | |
| 3989 | + var _this = this; | |
| 3990 | + | |
| 3991 | + (0, _classCallCheck2.default)(this, InstanceType); | |
| 3992 | + // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 3993 | + var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 3994 | + var prototypes = []; | |
| 3995 | + | |
| 3996 | + while (target.__proto__ && target.__proto__.name) { | |
| 3997 | + prototypes.push(target.__proto__); | |
| 3998 | + target = target.__proto__; | |
| 3999 | + } | |
| 4000 | + | |
| 4001 | + prototypes.reverse().forEach(function (proto) { | |
| 4002 | + return _this instanceof proto; | |
| 4003 | + }); | |
| 4004 | + } | |
| 4005 | + | |
| 4006 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 4007 | + key: "getInstanceType", | |
| 4008 | + value: function getInstanceType() { | |
| 4009 | + elementorModules.ForceMethodImplementation(); | |
| 4010 | + } | |
| 4011 | + }]); | |
| 4012 | + return InstanceType; | |
| 4013 | +}(); | |
| 4014 | + | |
| 4015 | +exports.default = InstanceType; | |
| 4016 | + | |
| 4017 | +/***/ }), | |
| 4018 | +/* 253 */ | |
| 4019 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4020 | + | |
| 4021 | +module.exports = __webpack_require__(254); | |
| 4022 | + | |
| 4023 | +/***/ }), | |
| 4024 | +/* 254 */ | |
| 4025 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4026 | + | |
| 4027 | +__webpack_require__(255); | |
| 4028 | +module.exports = __webpack_require__(62).f('hasInstance'); | |
| 4029 | + | |
| 4030 | + | |
| 4031 | +/***/ }), | |
| 4032 | +/* 255 */ | |
| 4033 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4034 | + | |
| 4035 | +"use strict"; | |
| 4036 | + | |
| 4037 | +var isObject = __webpack_require__(9); | |
| 4038 | +var getPrototypeOf = __webpack_require__(63); | |
| 4039 | +var HAS_INSTANCE = __webpack_require__(10)('hasInstance'); | |
| 4040 | +var FunctionProto = Function.prototype; | |
| 4041 | +// 19.2.3.6 Function.prototype[@@hasInstance](V) | |
| 4042 | +if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(15).f(FunctionProto, HAS_INSTANCE, { value: function (O) { | |
| 4043 | + if (typeof this != 'function' || !isObject(O)) return false; | |
| 4044 | + if (!isObject(this.prototype)) return O instanceof this; | |
| 4045 | + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: | |
| 4046 | + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; | |
| 4047 | + return false; | |
| 4048 | +} }); | |
| 4049 | + | |
| 4050 | + | |
| 4051 | +/***/ }), | |
| 4052 | +/* 256 */, | |
| 4053 | +/* 257 */, | |
| 4054 | +/* 258 */, | |
| 4055 | +/* 259 */, | |
| 4056 | +/* 260 */, | |
| 4057 | +/* 261 */, | |
| 4058 | +/* 262 */, | |
| 4059 | +/* 263 */, | |
| 4060 | +/* 264 */, | |
| 4061 | +/* 265 */, | |
| 4062 | +/* 266 */, | |
| 4063 | +/* 267 */, | |
| 4064 | +/* 268 */, | |
| 4065 | +/* 269 */ | |
| 4066 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4067 | + | |
| 4068 | +__webpack_require__(270); | |
| 4069 | +module.exports = __webpack_require__(6).Object.entries; | |
| 4070 | + | |
| 4071 | + | |
| 4072 | +/***/ }), | |
| 4073 | +/* 270 */ | |
| 4074 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4075 | + | |
| 4076 | +// https://github.com/tc39/proposal-object-values-entries | |
| 4077 | +var $export = __webpack_require__(7); | |
| 4078 | +var $entries = __webpack_require__(181)(true); | |
| 4079 | + | |
| 4080 | +$export($export.S, 'Object', { | |
| 4081 | + entries: function entries(it) { | |
| 4082 | + return $entries(it); | |
| 4083 | + } | |
| 4084 | +}); | |
| 4085 | + | |
| 4086 | + | |
| 4087 | +/***/ }), | |
| 4088 | +/* 271 */, | |
| 4089 | +/* 272 */, | |
| 4090 | +/* 273 */, | |
| 4091 | +/* 274 */, | |
| 4092 | +/* 275 */, | |
| 4093 | +/* 276 */, | |
| 4094 | +/* 277 */, | |
| 4095 | +/* 278 */, | |
| 4096 | +/* 279 */, | |
| 4097 | +/* 280 */ | |
| 4098 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4099 | + | |
| 4100 | +"use strict"; | |
| 4101 | +// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) | |
| 4102 | + | |
| 4103 | +var $export = __webpack_require__(38); | |
| 4104 | +var toLength = __webpack_require__(46); | |
| 4105 | +var context = __webpack_require__(205); | |
| 4106 | +var STARTS_WITH = 'startsWith'; | |
| 4107 | +var $startsWith = ''[STARTS_WITH]; | |
| 4108 | + | |
| 4109 | +$export($export.P + $export.F * __webpack_require__(206)(STARTS_WITH), 'String', { | |
| 4110 | + startsWith: function startsWith(searchString /* , position = 0 */) { | |
| 4111 | + var that = context(this, searchString, STARTS_WITH); | |
| 4112 | + var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); | |
| 4113 | + var search = String(searchString); | |
| 4114 | + return $startsWith | |
| 4115 | + ? $startsWith.call(that, search, index) | |
| 4116 | + : that.slice(index, index + search.length) === search; | |
| 4117 | + } | |
| 4118 | +}); | |
| 4119 | + | |
| 4120 | + | |
| 4121 | +/***/ }), | |
| 4122 | +/* 281 */, | |
| 4123 | +/* 282 */, | |
| 4124 | +/* 283 */ | |
| 4125 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4126 | + | |
| 4127 | +// 21.2.5.3 get RegExp.prototype.flags() | |
| 4128 | +if (__webpack_require__(28) && /./g.flags != 'g') __webpack_require__(51).f(RegExp.prototype, 'flags', { | |
| 4129 | + configurable: true, | |
| 4130 | + get: __webpack_require__(109) | |
| 4131 | +}); | |
| 4132 | + | |
| 4133 | + | |
| 4134 | +/***/ }), | |
| 4135 | +/* 284 */, | |
| 4136 | +/* 285 */, | |
| 4137 | +/* 286 */, | |
| 4138 | +/* 287 */, | |
| 4139 | +/* 288 */, | |
| 4140 | +/* 289 */, | |
| 4141 | +/* 290 */, | |
| 4142 | +/* 291 */, | |
| 4143 | +/* 292 */, | |
| 4144 | +/* 293 */, | |
| 4145 | +/* 294 */, | |
| 4146 | +/* 295 */, | |
| 4147 | +/* 296 */, | |
| 4148 | +/* 297 */, | |
| 4149 | +/* 298 */, | |
| 4150 | +/* 299 */, | |
| 4151 | +/* 300 */, | |
| 4152 | +/* 301 */, | |
| 4153 | +/* 302 */, | |
| 4154 | +/* 303 */, | |
| 4155 | +/* 304 */, | |
| 4156 | +/* 305 */, | |
| 4157 | +/* 306 */, | |
| 4158 | +/* 307 */, | |
| 4159 | +/* 308 */, | |
| 4160 | +/* 309 */, | |
| 4161 | +/* 310 */, | |
| 4162 | +/* 311 */, | |
| 4163 | +/* 312 */, | |
| 4164 | +/* 313 */, | |
| 4165 | +/* 314 */, | |
| 4166 | +/* 315 */, | |
| 4167 | +/* 316 */, | |
| 4168 | +/* 317 */, | |
| 4169 | +/* 318 */, | |
| 4170 | +/* 319 */, | |
| 4171 | +/* 320 */, | |
| 4172 | +/* 321 */, | |
| 4173 | +/* 322 */, | |
| 4174 | +/* 323 */, | |
| 4175 | +/* 324 */, | |
| 4176 | +/* 325 */, | |
| 4177 | +/* 326 */, | |
| 4178 | +/* 327 */, | |
| 4179 | +/* 328 */, | |
| 4180 | +/* 329 */, | |
| 4181 | +/* 330 */, | |
| 4182 | +/* 331 */, | |
| 4183 | +/* 332 */, | |
| 4184 | +/* 333 */, | |
| 4185 | +/* 334 */, | |
| 4186 | +/* 335 */, | |
| 4187 | +/* 336 */, | |
| 4188 | +/* 337 */, | |
| 4189 | +/* 338 */, | |
| 4190 | +/* 339 */, | |
| 4191 | +/* 340 */, | |
| 4192 | +/* 341 */, | |
| 4193 | +/* 342 */ | |
| 4194 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4195 | + | |
| 4196 | +"use strict"; | |
| 4197 | + | |
| 4198 | + | |
| 4199 | +__webpack_require__(24); | |
| 4200 | + | |
| 4201 | +var InnerTabsBehavior; | |
| 4202 | +InnerTabsBehavior = Marionette.Behavior.extend({ | |
| 4203 | + onRenderCollection: function onRenderCollection() { | |
| 4204 | + this.handleInnerTabs(this.view); | |
| 4205 | + }, | |
| 4206 | + handleInnerTabs: function handleInnerTabs(parent) { | |
| 4207 | + var closedClass = 'elementor-tab-close', | |
| 4208 | + activeClass = 'elementor-tab-active', | |
| 4209 | + tabsWrappers = parent.children.filter(function (view) { | |
| 4210 | + return 'tabs' === view.model.get('type'); | |
| 4211 | + }); | |
| 4212 | + | |
| 4213 | + _.each(tabsWrappers, function (view) { | |
| 4214 | + view.$el.find('.elementor-control-content').remove(); | |
| 4215 | + var tabsId = view.model.get('name'), | |
| 4216 | + tabs = parent.children.filter(function (childView) { | |
| 4217 | + return 'tab' === childView.model.get('type') && childView.model.get('tabs_wrapper') === tabsId; | |
| 4218 | + }); | |
| 4219 | + | |
| 4220 | + _.each(tabs, function (childView, index) { | |
| 4221 | + view._addChildView(childView); | |
| 4222 | + | |
| 4223 | + var tabId = childView.model.get('name'), | |
| 4224 | + controlsUnderTab = parent.children.filter(function (controlView) { | |
| 4225 | + return tabId === controlView.model.get('inner_tab'); | |
| 4226 | + }); | |
| 4227 | + | |
| 4228 | + if (0 === index) { | |
| 4229 | + childView.$el.addClass(activeClass); | |
| 4230 | + } else { | |
| 4231 | + _.each(controlsUnderTab, function (controlView) { | |
| 4232 | + controlView.$el.addClass(closedClass); | |
| 4233 | + }); | |
| 4234 | + } | |
| 4235 | + }); | |
| 4236 | + }); | |
| 4237 | + }, | |
| 4238 | + onChildviewControlTabClicked: function onChildviewControlTabClicked(childView) { | |
| 4239 | + var closedClass = 'elementor-tab-close', | |
| 4240 | + activeClass = 'elementor-tab-active', | |
| 4241 | + tabClicked = childView.model.get('name'), | |
| 4242 | + childrenUnderTab = this.view.children.filter(function (view) { | |
| 4243 | + return 'tab' !== view.model.get('type') && childView.model.get('tabs_wrapper') === view.model.get('tabs_wrapper'); | |
| 4244 | + }), | |
| 4245 | + siblingTabs = this.view.children.filter(function (view) { | |
| 4246 | + return 'tab' === view.model.get('type') && childView.model.get('tabs_wrapper') === view.model.get('tabs_wrapper'); | |
| 4247 | + }); | |
| 4248 | + | |
| 4249 | + _.each(siblingTabs, function (view) { | |
| 4250 | + view.$el.removeClass(activeClass); | |
| 4251 | + }); | |
| 4252 | + | |
| 4253 | + childView.$el.addClass(activeClass); | |
| 4254 | + | |
| 4255 | + _.each(childrenUnderTab, function (view) { | |
| 4256 | + if (view.model.get('inner_tab') === tabClicked) { | |
| 4257 | + view.$el.removeClass(closedClass); | |
| 4258 | + } else { | |
| 4259 | + view.$el.addClass(closedClass); | |
| 4260 | + } | |
| 4261 | + }); | |
| 4262 | + | |
| 4263 | + elementor.getPanelView().updateScrollbar(); | |
| 4264 | + } | |
| 4265 | +}); | |
| 4266 | +module.exports = InnerTabsBehavior; | |
| 4267 | + | |
| 4268 | +/***/ }), | |
| 4269 | +/* 343 */, | |
| 4270 | +/* 344 */, | |
| 4271 | +/* 345 */, | |
| 4272 | +/* 346 */, | |
| 4273 | +/* 347 */, | |
| 4274 | +/* 348 */, | |
| 4275 | +/* 349 */, | |
| 4276 | +/* 350 */, | |
| 4277 | +/* 351 */, | |
| 4278 | +/* 352 */, | |
| 4279 | +/* 353 */, | |
| 4280 | +/* 354 */, | |
| 4281 | +/* 355 */, | |
| 4282 | +/* 356 */, | |
| 4283 | +/* 357 */, | |
| 4284 | +/* 358 */, | |
| 4285 | +/* 359 */, | |
| 4286 | +/* 360 */, | |
| 4287 | +/* 361 */, | |
| 4288 | +/* 362 */, | |
| 4289 | +/* 363 */, | |
| 4290 | +/* 364 */, | |
| 4291 | +/* 365 */, | |
| 4292 | +/* 366 */, | |
| 4293 | +/* 367 */, | |
| 4294 | +/* 368 */, | |
| 4295 | +/* 369 */, | |
| 4296 | +/* 370 */, | |
| 4297 | +/* 371 */, | |
| 4298 | +/* 372 */, | |
| 4299 | +/* 373 */, | |
| 4300 | +/* 374 */, | |
| 4301 | +/* 375 */, | |
| 4302 | +/* 376 */, | |
| 4303 | +/* 377 */, | |
| 4304 | +/* 378 */, | |
| 4305 | +/* 379 */, | |
| 4306 | +/* 380 */, | |
| 4307 | +/* 381 */ | |
| 4308 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4309 | + | |
| 4310 | +"use strict"; | |
| 4311 | + | |
| 4312 | + | |
| 4313 | +var _interopRequireDefault = __webpack_require__(0); | |
| 4314 | + | |
| 4315 | +__webpack_require__(150); | |
| 4316 | + | |
| 4317 | +__webpack_require__(122); | |
| 4318 | + | |
| 4319 | +__webpack_require__(80); | |
| 4320 | + | |
| 4321 | +var _controlsPopover = _interopRequireDefault(__webpack_require__(382)); | |
| 4322 | + | |
| 4323 | +var ControlsStack; | |
| 4324 | +ControlsStack = Marionette.CompositeView.extend({ | |
| 4325 | + classes: { | |
| 4326 | + popover: 'elementor-controls-popover' | |
| 4327 | + }, | |
| 4328 | + activeTab: null, | |
| 4329 | + activeSection: null, | |
| 4330 | + className: function className() { | |
| 4331 | + return 'elementor-controls-stack'; | |
| 4332 | + }, | |
| 4333 | + templateHelpers: function templateHelpers() { | |
| 4334 | + return { | |
| 4335 | + elementData: elementor.getElementData(this.model) | |
| 4336 | + }; | |
| 4337 | + }, | |
| 4338 | + childViewOptions: function childViewOptions() { | |
| 4339 | + return { | |
| 4340 | + // TODO: elementSettingsModel is deprecated since 2.8.0. | |
| 4341 | + elementSettingsModel: this.model | |
| 4342 | + }; | |
| 4343 | + }, | |
| 4344 | + ui: function ui() { | |
| 4345 | + return { | |
| 4346 | + tabs: '.elementor-panel-navigation-tab', | |
| 4347 | + reloadButton: '.elementor-update-preview-button' | |
| 4348 | + }; | |
| 4349 | + }, | |
| 4350 | + events: function events() { | |
| 4351 | + return { | |
| 4352 | + 'click @ui.reloadButton': 'onReloadButtonClick' | |
| 4353 | + }; | |
| 4354 | + }, | |
| 4355 | + modelEvents: { | |
| 4356 | + destroy: 'onModelDestroy' | |
| 4357 | + }, | |
| 4358 | + behaviors: { | |
| 4359 | + HandleInnerTabs: { | |
| 4360 | + behaviorClass: __webpack_require__(342) | |
| 4361 | + } | |
| 4362 | + }, | |
| 4363 | + initialize: function initialize(options) { | |
| 4364 | + this.initCollection(); | |
| 4365 | + | |
| 4366 | + if (options.tab) { | |
| 4367 | + this.activeTab = options.tab; | |
| 4368 | + this.activateFirstSection(); | |
| 4369 | + } | |
| 4370 | + | |
| 4371 | + this.listenTo(elementor.channels.deviceMode, 'change', this.onDeviceModeChange); | |
| 4372 | + }, | |
| 4373 | + initCollection: function initCollection() { | |
| 4374 | + this.collection = new Backbone.Collection(_.values(elementor.mergeControlsSettings(this.getOption('controls')))); | |
| 4375 | + }, | |
| 4376 | + filter: function filter(controlModel) { | |
| 4377 | + if (controlModel.get('tab') !== this.activeTab) { | |
| 4378 | + return false; | |
| 4379 | + } | |
| 4380 | + | |
| 4381 | + if ('section' === controlModel.get('type')) { | |
| 4382 | + return true; | |
| 4383 | + } | |
| 4384 | + | |
| 4385 | + var section = controlModel.get('section'); | |
| 4386 | + return !section || section === this.activeSection; | |
| 4387 | + }, | |
| 4388 | + getControlViewByModel: function getControlViewByModel(model) { | |
| 4389 | + return this.children.findByModelCid(model.cid); | |
| 4390 | + }, | |
| 4391 | + getControlViewByName: function getControlViewByName(name) { | |
| 4392 | + return this.getControlViewByModel(this.getControlModel(name)); | |
| 4393 | + }, | |
| 4394 | + getControlModel: function getControlModel(name) { | |
| 4395 | + return this.collection.findWhere({ | |
| 4396 | + name: name | |
| 4397 | + }); | |
| 4398 | + }, | |
| 4399 | + isVisibleSectionControl: function isVisibleSectionControl(sectionControlModel) { | |
| 4400 | + return this.activeTab === sectionControlModel.get('tab'); | |
| 4401 | + }, | |
| 4402 | + activateTab: function activateTab(tab) { | |
| 4403 | + this.activeTab = tab; | |
| 4404 | + this.activateFirstSection(); | |
| 4405 | + | |
| 4406 | + this._renderChildren(); | |
| 4407 | + | |
| 4408 | + return this; | |
| 4409 | + }, | |
| 4410 | + activateSection: function activateSection(sectionName) { | |
| 4411 | + this.activeSection = sectionName; | |
| 4412 | + return this; | |
| 4413 | + }, | |
| 4414 | + activateFirstSection: function activateFirstSection() { | |
| 4415 | + var self = this; | |
| 4416 | + var sectionControls = self.collection.filter(function (controlModel) { | |
| 4417 | + return 'section' === controlModel.get('type') && self.isVisibleSectionControl(controlModel); | |
| 4418 | + }); | |
| 4419 | + var sectionToActivate; | |
| 4420 | + | |
| 4421 | + if (!sectionControls[0]) { | |
| 4422 | + self.activeSection = null; | |
| 4423 | + sectionToActivate = null; | |
| 4424 | + } else { | |
| 4425 | + sectionToActivate = sectionControls[0].get('name'); | |
| 4426 | + } | |
| 4427 | + | |
| 4428 | + var preActivatedSection = sectionControls.filter(function (controlModel) { | |
| 4429 | + return self.activeSection === controlModel.get('name'); | |
| 4430 | + }); | |
| 4431 | + | |
| 4432 | + if (preActivatedSection[0]) { | |
| 4433 | + return; | |
| 4434 | + } | |
| 4435 | + | |
| 4436 | + self.activateSection(sectionToActivate); | |
| 4437 | + return this; | |
| 4438 | + }, | |
| 4439 | + getChildView: function getChildView(item) { | |
| 4440 | + var controlType = item.get('type'); | |
| 4441 | + return elementor.getControlView(controlType); | |
| 4442 | + }, | |
| 4443 | + getNamespaceArray: function getNamespaceArray() { | |
| 4444 | + return [elementor.getPanelView().getCurrentPageName()]; | |
| 4445 | + }, | |
| 4446 | + openActiveSection: function openActiveSection() { | |
| 4447 | + var activeSection = this.activeSection, | |
| 4448 | + activeSectionView = this.children.filter(function (view) { | |
| 4449 | + return activeSection === view.model.get('name'); | |
| 4450 | + }); | |
| 4451 | + | |
| 4452 | + if (activeSectionView[0]) { | |
| 4453 | + activeSectionView[0].$el.addClass('elementor-open'); | |
| 4454 | + var eventNamespace = this.getNamespaceArray(); | |
| 4455 | + eventNamespace.push(activeSection, 'activated'); | |
| 4456 | + elementor.channels.editor.trigger(eventNamespace.join(':'), this); | |
| 4457 | + } | |
| 4458 | + }, | |
| 4459 | + onRenderCollection: function onRenderCollection() { | |
| 4460 | + this.openActiveSection(); | |
| 4461 | + ControlsStack.handlePopovers(this); | |
| 4462 | + }, | |
| 4463 | + onModelDestroy: function onModelDestroy() { | |
| 4464 | + this.destroy(); | |
| 4465 | + }, | |
| 4466 | + onReloadButtonClick: function onReloadButtonClick() { | |
| 4467 | + elementor.reloadPreview(); | |
| 4468 | + }, | |
| 4469 | + onDeviceModeChange: function onDeviceModeChange() { | |
| 4470 | + if ('desktop' === elementor.channels.deviceMode.request('currentMode')) { | |
| 4471 | + this.$el.removeClass('elementor-responsive-switchers-open'); | |
| 4472 | + } | |
| 4473 | + }, | |
| 4474 | + onChildviewControlSectionClicked: function onChildviewControlSectionClicked(childView) { | |
| 4475 | + var isSectionOpen = childView.$el.hasClass('elementor-open'); | |
| 4476 | + this.activateSection(isSectionOpen ? null : childView.model.get('name')); | |
| 4477 | + | |
| 4478 | + this._renderChildren(); | |
| 4479 | + }, | |
| 4480 | + onChildviewResponsiveSwitcherClick: function onChildviewResponsiveSwitcherClick(childView, device) { | |
| 4481 | + if ('desktop' === device) { | |
| 4482 | + this.$el.toggleClass('elementor-responsive-switchers-open'); | |
| 4483 | + } | |
| 4484 | + } | |
| 4485 | +}, { | |
| 4486 | + handlePopovers: function handlePopovers(view) { | |
| 4487 | + var popover; | |
| 4488 | + view.popovers = []; | |
| 4489 | + this.removePopovers(view); | |
| 4490 | + view.children.each(function (control) { | |
| 4491 | + if (popover) { | |
| 4492 | + popover.addChild(control); | |
| 4493 | + } | |
| 4494 | + | |
| 4495 | + var popoverData = control.model.get('popover'); | |
| 4496 | + | |
| 4497 | + if (!popoverData) { | |
| 4498 | + return; | |
| 4499 | + } | |
| 4500 | + | |
| 4501 | + if (popoverData.start) { | |
| 4502 | + popover = new _controlsPopover.default(control); | |
| 4503 | + view.popovers.push(popover); | |
| 4504 | + } | |
| 4505 | + | |
| 4506 | + if (popoverData.end) { | |
| 4507 | + popover = null; | |
| 4508 | + } | |
| 4509 | + }); | |
| 4510 | + }, | |
| 4511 | + removePopovers: function removePopovers(view) { | |
| 4512 | + view.popovers.forEach(function (popover) { | |
| 4513 | + return popover.destroy(); | |
| 4514 | + }); | |
| 4515 | + } | |
| 4516 | +}); | |
| 4517 | +module.exports = ControlsStack; | |
| 4518 | + | |
| 4519 | +/***/ }), | |
| 4520 | +/* 382 */ | |
| 4521 | +/***/ (function(module, exports, __webpack_require__) { | |
| 4522 | + | |
| 4523 | +"use strict"; | |
| 4524 | + | |
| 4525 | + | |
| 4526 | +var _interopRequireDefault = __webpack_require__(0); | |
| 4527 | + | |
| 4528 | +var _Object$defineProperty = __webpack_require__(1); | |
| 4529 | + | |
| 4530 | +_Object$defineProperty(exports, "__esModule", { | |
| 4531 | + value: true | |
| 4532 | +}); | |
| 4533 | + | |
| 4534 | +exports.default = void 0; | |
| 4535 | + | |
| 4536 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(27)); | |
| 4537 | + | |
| 4538 | +__webpack_require__(24); | |
| 4539 | + | |
| 4540 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 4541 | + | |
| 4542 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 4543 | + | |
| 4544 | +var ControlsPopover = /*#__PURE__*/function () { | |
| 4545 | + function ControlsPopover(child) { | |
| 4546 | + (0, _classCallCheck2.default)(this, ControlsPopover); | |
| 4547 | + this.child = child; | |
| 4548 | + this.$popover = jQuery('<div>', { | |
| 4549 | + class: 'elementor-controls-popover' | |
| 4550 | + }); | |
| 4551 | + child.$el.before(this.$popover); | |
| 4552 | + this.$popover.append(child.$el); | |
| 4553 | + this.popoverToggleView = child._parent.children.findByIndex(child._index - 1); // Add the "Typography" header to the popover | |
| 4554 | + | |
| 4555 | + if ('typography' === this.child.model.attributes.groupType) { | |
| 4556 | + this.createPopoverHeader(); | |
| 4557 | + } | |
| 4558 | + } | |
| 4559 | + | |
| 4560 | + (0, _createClass2.default)(ControlsPopover, [{ | |
| 4561 | + key: "addChild", | |
| 4562 | + value: function addChild(child) { | |
| 4563 | + this.$popover.append(child.$el); | |
| 4564 | + } | |
| 4565 | + }, { | |
| 4566 | + key: "createPopoverHeader", | |
| 4567 | + value: function createPopoverHeader() { | |
| 4568 | + var _this = this; | |
| 4569 | + | |
| 4570 | + var $popoverToggleControl = this.$popover.prev(), | |
| 4571 | + // Get the existing reset button. | |
| 4572 | + $resetLabel = $popoverToggleControl.find('.elementor-control-popover-toggle-reset-label'); | |
| 4573 | + this.$popoverHeader = jQuery('<div>', { | |
| 4574 | + class: 'e-group-control-header' | |
| 4575 | + }).html('<span>' + elementor.translate('typography') + '</span>'); | |
| 4576 | + this.$headerControlsWrapper = jQuery('<div>', { | |
| 4577 | + class: 'e-control-tools' | |
| 4578 | + }); // Give the reset button the control tool styling, and add a click event so clicking on it closes the popover. | |
| 4579 | + | |
| 4580 | + $resetLabel.addClass('e-control-tool').on('click', function () { | |
| 4581 | + return _this.onResetButtonClick(); | |
| 4582 | + }); // Move the popover toggle reset button into the popover header. | |
| 4583 | + | |
| 4584 | + this.$headerControlsWrapper.append($resetLabel); | |
| 4585 | + this.$popoverHeader.append(this.$headerControlsWrapper); | |
| 4586 | + var globalConfig = this.popoverToggleView.model.get('global'); | |
| 4587 | + | |
| 4588 | + if (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.active) { | |
| 4589 | + this.createAddButton(); | |
| 4590 | + } | |
| 4591 | + | |
| 4592 | + this.$popover.prepend(this.$popoverHeader).addClass('e-controls-popover--typography'); | |
| 4593 | + } | |
| 4594 | + }, { | |
| 4595 | + key: "onResetButtonClick", | |
| 4596 | + value: function onResetButtonClick() { | |
| 4597 | + this.$popover.hide(); | |
| 4598 | + var groupControlName = this.child.model.get('groupPrefix') + 'typography', | |
| 4599 | + args = { | |
| 4600 | + container: this.child.options.container, | |
| 4601 | + settings: (0, _defineProperty2.default)({}, groupControlName, '') | |
| 4602 | + }; | |
| 4603 | + | |
| 4604 | + if (this.child.options.container.globals.get(groupControlName)) { | |
| 4605 | + // The Disable Globals command applies global settings locally, | |
| 4606 | + // so disabling the global shouldn't actually change the appearance of the widget. | |
| 4607 | + $e.run('document/globals/disable', args); | |
| 4608 | + } else { | |
| 4609 | + $e.run('document/elements/settings', args); | |
| 4610 | + } | |
| 4611 | + } | |
| 4612 | + }, { | |
| 4613 | + key: "onAddButtonClick", | |
| 4614 | + value: function onAddButtonClick() { | |
| 4615 | + this.popoverToggleView.onAddGlobalButtonClick(); | |
| 4616 | + } | |
| 4617 | + }, { | |
| 4618 | + key: "createAddButton", | |
| 4619 | + value: function createAddButton() { | |
| 4620 | + var _this2 = this; | |
| 4621 | + | |
| 4622 | + this.$addButton = jQuery('<button>', { | |
| 4623 | + class: 'e-control-tool' | |
| 4624 | + }).html(jQuery('<i>', { | |
| 4625 | + class: 'eicon-plus' | |
| 4626 | + })); | |
| 4627 | + this.$headerControlsWrapper.append(this.$addButton); | |
| 4628 | + this.$addButton.on('click', function () { | |
| 4629 | + return _this2.onAddButtonClick(); | |
| 4630 | + }); | |
| 4631 | + this.$addButton.tipsy({ | |
| 4632 | + title: function title() { | |
| 4633 | + return elementor.translate('create_global_font'); | |
| 4634 | + }, | |
| 4635 | + gravity: function gravity() { | |
| 4636 | + return 's'; | |
| 4637 | + } | |
| 4638 | + }); | |
| 4639 | + } | |
| 4640 | + }, { | |
| 4641 | + key: "destroy", | |
| 4642 | + value: function destroy() { | |
| 4643 | + this.$popover.remove(); | |
| 4644 | + } | |
| 4645 | + }]); | |
| 4646 | + return ControlsPopover; | |
| 4647 | +}(); | |
| 4648 | + | |
| 4649 | +exports.default = ControlsPopover; | |
| 4650 | + | |
| 4651 | +/***/ }), | |
| 4652 | +/* 383 */, | |
| 4653 | +/* 384 */, | |
| 4654 | +/* 385 */, | |
| 4655 | +/* 386 */, | |
| 4656 | +/* 387 */, | |
| 4657 | +/* 388 */, | |
| 4658 | +/* 389 */, | |
| 4659 | +/* 390 */, | |
| 4660 | +/* 391 */, | |
| 4661 | +/* 392 */, | |
| 4662 | +/* 393 */, | |
| 4663 | +/* 394 */, | |
| 4664 | +/* 395 */, | |
| 4665 | +/* 396 */, | |
| 4666 | +/* 397 */, | |
| 4667 | +/* 398 */, | |
| 4668 | +/* 399 */, | |
| 4669 | +/* 400 */, | |
| 4670 | +/* 401 */, | |
| 4671 | +/* 402 */, | |
| 4672 | +/* 403 */, | |
| 4673 | +/* 404 */, | |
| 4674 | +/* 405 */, | |
| 4675 | +/* 406 */, | |
| 4676 | +/* 407 */, | |
| 4677 | +/* 408 */, | |
| 4678 | +/* 409 */, | |
| 4679 | +/* 410 */, | |
| 4680 | +/* 411 */, | |
| 4681 | +/* 412 */, | |
| 4682 | +/* 413 */, | |
| 4683 | +/* 414 */, | |
| 4684 | +/* 415 */, | |
| 4685 | +/* 416 */, | |
| 4686 | +/* 417 */, | |
| 4687 | +/* 418 */, | |
| 4688 | +/* 419 */, | |
| 4689 | +/* 420 */, | |
| 4690 | +/* 421 */, | |
| 4691 | +/* 422 */, | |
| 4692 | +/* 423 */, | |
| 4693 | +/* 424 */, | |
| 4694 | +/* 425 */, | |
| 4695 | +/* 426 */, | |
| 4696 | +/* 427 */, | |
| 4697 | +/* 428 */, | |
| 4698 | +/* 429 */, | |
| 4699 | +/* 430 */, | |
| 4700 | +/* 431 */, | |
| 4701 | +/* 432 */, | |
| 4702 | +/* 433 */, | |
| 4703 | +/* 434 */, | |
| 4704 | +/* 435 */, | |
| 4705 | +/* 436 */, | |
| 4706 | +/* 437 */, | |
| 4707 | +/* 438 */, | |
| 4708 | +/* 439 */, | |
| 4709 | +/* 440 */, | |
| 4710 | +/* 441 */, | |
| 4711 | +/* 442 */, | |
| 4712 | +/* 443 */, | |
| 4713 | +/* 444 */, | |
| 4714 | +/* 445 */, | |
| 4715 | +/* 446 */, | |
| 4716 | +/* 447 */, | |
| 4717 | +/* 448 */, | |
| 4718 | +/* 449 */, | |
| 4719 | +/* 450 */, | |
| 4720 | +/* 451 */, | |
| 4721 | +/* 452 */, | |
| 4722 | +/* 453 */, | |
| 4723 | +/* 454 */, | |
| 4724 | +/* 455 */, | |
| 4725 | +/* 456 */, | |
| 4726 | +/* 457 */, | |
| 4727 | +/* 458 */, | |
| 4728 | +/* 459 */, | |
| 4729 | +/* 460 */, | |
| 4730 | +/* 461 */, | |
| 4731 | +/* 462 */, | |
| 4732 | +/* 463 */, | |
| 4733 | +/* 464 */, | |
| 4734 | +/* 465 */, | |
| 4735 | +/* 466 */, | |
| 4736 | +/* 467 */, | |
| 4737 | +/* 468 */, | |
| 4738 | +/* 469 */, | |
| 4739 | +/* 470 */, | |
| 4740 | +/* 471 */, | |
| 4741 | +/* 472 */, | |
| 4742 | +/* 473 */, | |
| 4743 | +/* 474 */, | |
| 4744 | +/* 475 */, | |
| 4745 | +/* 476 */, | |
| 4746 | +/* 477 */, | |
| 4747 | +/* 478 */, | |
| 4748 | +/* 479 */, | |
| 4749 | +/* 480 */, | |
| 4750 | +/* 481 */, | |
| 4751 | +/* 482 */, | |
| 4752 | +/* 483 */, | |
| 4753 | +/* 484 */, | |
| 4754 | +/* 485 */, | |
| 4755 | +/* 486 */, | |
| 4756 | +/* 487 */, | |
| 4757 | +/* 488 */, | |
| 4758 | +/* 489 */, | |
| 4759 | +/* 490 */, | |
| 4760 | +/* 491 */, | |
| 4761 | +/* 492 */, | |
| 4762 | +/* 493 */, | |
| 4763 | +/* 494 */, | |
| 4764 | +/* 495 */, | |
| 4765 | +/* 496 */, | |
| 4766 | +/* 497 */, | |
| 4767 | +/* 498 */, | |
| 4768 | +/* 499 */, | |
| 4769 | +/* 500 */, | |
| 4770 | +/* 501 */, | |
| 4771 | +/* 502 */, | |
| 4772 | +/* 503 */, | |
| 4773 | +/* 504 */, | |
| 4774 | +/* 505 */, | |
| 4775 | +/* 506 */, | |
| 4776 | +/* 507 */, | |
| 4777 | +/* 508 */, | |
| 4778 | +/* 509 */, | |
| 4779 | +/* 510 */, | |
| 4780 | +/* 511 */, | |
| 4781 | +/* 512 */, | |
| 4782 | +/* 513 */, | |
| 4783 | +/* 514 */, | |
| 4784 | +/* 515 */, | |
| 4785 | +/* 516 */, | |
| 4786 | +/* 517 */, | |
| 4787 | +/* 518 */, | |
| 4788 | +/* 519 */, | |
| 4789 | +/* 520 */, | |
| 4790 | +/* 521 */, | |
| 4791 | +/* 522 */, | |
| 4792 | +/* 523 */, | |
| 4793 | +/* 524 */, | |
| 4794 | +/* 525 */, | |
| 4795 | +/* 526 */, | |
| 4796 | +/* 527 */, | |
| 4797 | +/* 528 */, | |
| 4798 | +/* 529 */, | |
| 4799 | +/* 530 */, | |
| 4800 | +/* 531 */, | |
| 4801 | +/* 532 */, | |
| 4802 | +/* 533 */, | |
| 4803 | +/* 534 */, | |
| 4804 | +/* 535 */, | |
| 4805 | +/* 536 */, | |
| 4806 | +/* 537 */, | |
| 4807 | +/* 538 */, | |
| 4808 | +/* 539 */, | |
| 4809 | +/* 540 */, | |
| 4810 | +/* 541 */, | |
| 4811 | +/* 542 */, | |
| 4812 | +/* 543 */, | |
| 4813 | +/* 544 */, | |
| 4814 | +/* 545 */, | |
| 4815 | +/* 546 */, | |
| 4816 | +/* 547 */, | |
| 4817 | +/* 548 */, | |
| 4818 | +/* 549 */, | |
| 4819 | +/* 550 */, | |
| 4820 | +/* 551 */, | |
| 4821 | +/* 552 */, | |
| 4822 | +/* 553 */, | |
| 4823 | +/* 554 */, | |
| 4824 | +/* 555 */, | |
| 4825 | +/* 556 */, | |
| 4826 | +/* 557 */, | |
| 4827 | +/* 558 */, | |
| 4828 | +/* 559 */, | |
| 4829 | +/* 560 */, | |
| 4830 | +/* 561 */, | |
| 4831 | +/* 562 */, | |
| 4832 | +/* 563 */, | |
| 4833 | +/* 564 */, | |
| 4834 | +/* 565 */, | |
| 4835 | +/* 566 */, | |
| 4836 | +/* 567 */, | |
| 4837 | +/* 568 */, | |
| 4838 | +/* 569 */, | |
| 4839 | +/* 570 */, | |
| 4840 | +/* 571 */, | |
| 4841 | +/* 572 */, | |
| 4842 | +/* 573 */, | |
| 4843 | +/* 574 */, | |
| 4844 | +/* 575 */, | |
| 4845 | +/* 576 */, | |
| 4846 | +/* 577 */, | |
| 4847 | +/* 578 */, | |
| 4848 | +/* 579 */, | |
| 4849 | +/* 580 */, | |
| 4850 | +/* 581 */, | |
| 4851 | +/* 582 */, | |
| 4852 | +/* 583 */, | |
| 4853 | +/* 584 */, | |
| 4854 | +/* 585 */, | |
| 4855 | +/* 586 */, | |
| 4856 | +/* 587 */, | |
| 4857 | +/* 588 */, | |
| 4858 | +/* 589 */, | |
| 4859 | +/* 590 */, | |
| 4860 | +/* 591 */, | |
| 4861 | +/* 592 */, | |
| 4862 | +/* 593 */, | |
| 4863 | +/* 594 */, | |
| 4864 | +/* 595 */, | |
| 4865 | +/* 596 */, | |
| 4866 | +/* 597 */, | |
| 4867 | +/* 598 */, | |
| 4868 | +/* 599 */, | |
| 4869 | +/* 600 */, | |
| 4870 | +/* 601 */, | |
| 4871 | +/* 602 */, | |
| 4872 | +/* 603 */, | |
| 4873 | +/* 604 */, | |
| 4874 | +/* 605 */, | |
| 4875 | +/* 606 */, | |
| 4876 | +/* 607 */, | |
| 4877 | +/* 608 */, | |
| 4878 | +/* 609 */, | |
| 4879 | +/* 610 */, | |
| 4880 | +/* 611 */, | |
| 4881 | +/* 612 */, | |
| 4882 | +/* 613 */, | |
| 4883 | +/* 614 */, | |
| 4884 | +/* 615 */, | |
| 4885 | +/* 616 */, | |
| 4886 | +/* 617 */, | |
| 4887 | +/* 618 */, | |
| 4888 | +/* 619 */, | |
| 4889 | +/* 620 */, | |
| 4890 | +/* 621 */, | |
| 4891 | +/* 622 */, | |
| 4892 | +/* 623 */, | |
| 4893 | +/* 624 */, | |
| 4894 | +/* 625 */, | |
| 4895 | +/* 626 */, | |
| 4896 | +/* 627 */, | |
| 4897 | +/* 628 */, | |
| 4898 | +/* 629 */, | |
| 4899 | +/* 630 */, | |
| 4900 | +/* 631 */, | |
| 4901 | +/* 632 */, | |
| 4902 | +/* 633 */, | |
| 4903 | +/* 634 */, | |
| 4904 | +/* 635 */, | |
| 4905 | +/* 636 */, | |
| 4906 | +/* 637 */, | |
| 4907 | +/* 638 */, | |
| 4908 | +/* 639 */, | |
| 4909 | +/* 640 */, | |
| 4910 | +/* 641 */, | |
| 4911 | +/* 642 */, | |
| 4912 | +/* 643 */, | |
| 4913 | +/* 644 */, | |
| 4914 | +/* 645 */, | |
| 4915 | +/* 646 */, | |
| 4916 | +/* 647 */, | |
| 4917 | +/* 648 */, | |
| 4918 | +/* 649 */, | |
| 4919 | +/* 650 */, | |
| 4920 | +/* 651 */, | |
| 4921 | +/* 652 */, | |
| 4922 | +/* 653 */, | |
| 4923 | +/* 654 */, | |
| 4924 | +/* 655 */, | |
| 4925 | +/* 656 */, | |
| 4926 | +/* 657 */, | |
| 4927 | +/* 658 */, | |
| 4928 | +/* 659 */, | |
| 4929 | +/* 660 */, | |
| 4930 | +/* 661 */, | |
| 4931 | +/* 662 */, | |
| 4932 | +/* 663 */, | |
| 4933 | +/* 664 */, | |
| 4934 | +/* 665 */, | |
| 4935 | +/* 666 */, | |
| 4936 | +/* 667 */, | |
| 4937 | +/* 668 */, | |
| 4938 | +/* 669 */, | |
| 4939 | +/* 670 */, | |
| 4940 | +/* 671 */, | |
| 4941 | +/* 672 */, | |
| 4942 | +/* 673 */, | |
| 4943 | +/* 674 */, | |
| 4944 | +/* 675 */, | |
| 4945 | +/* 676 */, | |
| 4946 | +/* 677 */, | |
| 4947 | +/* 678 */, | |
| 4948 | +/* 679 */, | |
| 4949 | +/* 680 */, | |
| 4950 | +/* 681 */, | |
| 4951 | +/* 682 */, | |
| 4952 | +/* 683 */, | |
| 4953 | +/* 684 */, | |
| 4954 | +/* 685 */, | |
| 4955 | +/* 686 */, | |
| 4956 | +/* 687 */, | |
| 4957 | +/* 688 */, | |
| 4958 | +/* 689 */, | |
| 4959 | +/* 690 */, | |
| 4960 | +/* 691 */, | |
| 4961 | +/* 692 */, | |
| 4962 | +/* 693 */, | |
| 4963 | +/* 694 */, | |
| 4964 | +/* 695 */, | |
| 4965 | +/* 696 */, | |
| 4966 | +/* 697 */, | |
| 4967 | +/* 698 */, | |
| 4968 | +/* 699 */, | |
| 4969 | +/* 700 */, | |
| 4970 | +/* 701 */, | |
| 4971 | +/* 702 */, | |
| 4972 | +/* 703 */, | |
| 4973 | +/* 704 */, | |
| 4974 | +/* 705 */, | |
| 4975 | +/* 706 */, | |
| 4976 | +/* 707 */, | |
| 4977 | +/* 708 */, | |
| 4978 | +/* 709 */, | |
| 4979 | +/* 710 */, | |
| 4980 | +/* 711 */, | |
| 4981 | +/* 712 */, | |
| 4982 | +/* 713 */, | |
| 4983 | +/* 714 */, | |
| 4984 | +/* 715 */, | |
| 4985 | +/* 716 */, | |
| 4986 | +/* 717 */, | |
| 4987 | +/* 718 */, | |
| 4988 | +/* 719 */, | |
| 4989 | +/* 720 */, | |
| 4990 | +/* 721 */, | |
| 4991 | +/* 722 */, | |
| 4992 | +/* 723 */, | |
| 4993 | +/* 724 */, | |
| 4994 | +/* 725 */, | |
| 4995 | +/* 726 */, | |
| 4996 | +/* 727 */, | |
| 4997 | +/* 728 */, | |
| 4998 | +/* 729 */, | |
| 4999 | +/* 730 */, | |
| 5000 | +/* 731 */, | |
| 5001 | +/* 732 */, | |
| 5002 | +/* 733 */, | |
| 5003 | +/* 734 */, | |
| 5004 | +/* 735 */, | |
| 5005 | +/* 736 */, | |
| 5006 | +/* 737 */, | |
| 5007 | +/* 738 */, | |
| 5008 | +/* 739 */, | |
| 5009 | +/* 740 */, | |
| 5010 | +/* 741 */, | |
| 5011 | +/* 742 */, | |
| 5012 | +/* 743 */, | |
| 5013 | +/* 744 */, | |
| 5014 | +/* 745 */, | |
| 5015 | +/* 746 */, | |
| 5016 | +/* 747 */, | |
| 5017 | +/* 748 */, | |
| 5018 | +/* 749 */, | |
| 5019 | +/* 750 */, | |
| 5020 | +/* 751 */, | |
| 5021 | +/* 752 */, | |
| 5022 | +/* 753 */, | |
| 5023 | +/* 754 */, | |
| 5024 | +/* 755 */, | |
| 5025 | +/* 756 */, | |
| 5026 | +/* 757 */, | |
| 5027 | +/* 758 */, | |
| 5028 | +/* 759 */, | |
| 5029 | +/* 760 */, | |
| 5030 | +/* 761 */, | |
| 5031 | +/* 762 */, | |
| 5032 | +/* 763 */, | |
| 5033 | +/* 764 */, | |
| 5034 | +/* 765 */, | |
| 5035 | +/* 766 */, | |
| 5036 | +/* 767 */, | |
| 5037 | +/* 768 */, | |
| 5038 | +/* 769 */, | |
| 5039 | +/* 770 */, | |
| 5040 | +/* 771 */, | |
| 5041 | +/* 772 */, | |
| 5042 | +/* 773 */, | |
| 5043 | +/* 774 */, | |
| 5044 | +/* 775 */, | |
| 5045 | +/* 776 */, | |
| 5046 | +/* 777 */, | |
| 5047 | +/* 778 */, | |
| 5048 | +/* 779 */, | |
| 5049 | +/* 780 */, | |
| 5050 | +/* 781 */, | |
| 5051 | +/* 782 */, | |
| 5052 | +/* 783 */, | |
| 5053 | +/* 784 */, | |
| 5054 | +/* 785 */, | |
| 5055 | +/* 786 */, | |
| 5056 | +/* 787 */, | |
| 5057 | +/* 788 */, | |
| 5058 | +/* 789 */, | |
| 5059 | +/* 790 */, | |
| 5060 | +/* 791 */, | |
| 5061 | +/* 792 */, | |
| 5062 | +/* 793 */, | |
| 5063 | +/* 794 */, | |
| 5064 | +/* 795 */, | |
| 5065 | +/* 796 */, | |
| 5066 | +/* 797 */, | |
| 5067 | +/* 798 */, | |
| 5068 | +/* 799 */, | |
| 5069 | +/* 800 */, | |
| 5070 | +/* 801 */, | |
| 5071 | +/* 802 */, | |
| 5072 | +/* 803 */, | |
| 5073 | +/* 804 */, | |
| 5074 | +/* 805 */, | |
| 5075 | +/* 806 */, | |
| 5076 | +/* 807 */, | |
| 5077 | +/* 808 */, | |
| 5078 | +/* 809 */, | |
| 5079 | +/* 810 */, | |
| 5080 | +/* 811 */, | |
| 5081 | +/* 812 */, | |
| 5082 | +/* 813 */, | |
| 5083 | +/* 814 */, | |
| 5084 | +/* 815 */, | |
| 5085 | +/* 816 */, | |
| 5086 | +/* 817 */, | |
| 5087 | +/* 818 */, | |
| 5088 | +/* 819 */, | |
| 5089 | +/* 820 */, | |
| 5090 | +/* 821 */ | |
| 5091 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5092 | + | |
| 5093 | +"use strict"; | |
| 5094 | + | |
| 5095 | + | |
| 5096 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5097 | + | |
| 5098 | +var _module = _interopRequireDefault(__webpack_require__(822)); | |
| 5099 | + | |
| 5100 | +var _introduction = _interopRequireDefault(__webpack_require__(823)); | |
| 5101 | + | |
| 5102 | +var _controlsStack = _interopRequireDefault(__webpack_require__(381)); | |
| 5103 | + | |
| 5104 | +var _baseSettings = _interopRequireDefault(__webpack_require__(824)); | |
| 5105 | + | |
| 5106 | +var _container = _interopRequireDefault(__webpack_require__(825)); | |
| 5107 | + | |
| 5108 | +elementorModules.editor = { | |
| 5109 | + elements: { | |
| 5110 | + models: { | |
| 5111 | + BaseSettings: _baseSettings.default | |
| 5112 | + } | |
| 5113 | + }, | |
| 5114 | + utils: { | |
| 5115 | + Module: _module.default, | |
| 5116 | + Introduction: _introduction.default | |
| 5117 | + }, | |
| 5118 | + views: { | |
| 5119 | + ControlsStack: _controlsStack.default | |
| 5120 | + }, | |
| 5121 | + Container: _container.default | |
| 5122 | +}; | |
| 5123 | + | |
| 5124 | +/***/ }), | |
| 5125 | +/* 822 */ | |
| 5126 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5127 | + | |
| 5128 | +"use strict"; | |
| 5129 | + | |
| 5130 | + | |
| 5131 | +var EditorModule = elementorModules.Module.extend({ | |
| 5132 | + onInit: function onInit() { | |
| 5133 | + var _this = this; | |
| 5134 | + | |
| 5135 | + var $window = jQuery(window); | |
| 5136 | + $window.on('elementor:init-components', this.onElementorInitComponents.bind(this)); | |
| 5137 | + $window.on('elementor:loaded', function () { | |
| 5138 | + _this.onElementorLoaded(); | |
| 5139 | + | |
| 5140 | + elementor.on('document:loaded', _this.onDocumentLoaded.bind(_this)); | |
| 5141 | + }); | |
| 5142 | + $window.on('elementor:init', this.onElementorReady); | |
| 5143 | + }, | |
| 5144 | + // TODO: Delete as soon as possible. | |
| 5145 | + getEditorControlView: function getEditorControlView(name) { | |
| 5146 | + var editor = elementor.getPanelView().getCurrentPageView(); | |
| 5147 | + return editor.children.findByModelCid(this.getEditorControlModel(name).cid); | |
| 5148 | + }, | |
| 5149 | + // TODO: Delete as soon as possible. | |
| 5150 | + getEditorControlModel: function getEditorControlModel(name) { | |
| 5151 | + var editor = elementor.getPanelView().getCurrentPageView(); | |
| 5152 | + return editor.collection.findWhere({ | |
| 5153 | + name: name | |
| 5154 | + }); | |
| 5155 | + }, | |
| 5156 | + onElementorReady: function onElementorReady() { | |
| 5157 | + this.onElementorInit(); | |
| 5158 | + elementor.on('frontend:init', this.onElementorFrontendInit.bind(this)).on('preview:loaded', this.onElementorPreviewLoaded.bind(this)); | |
| 5159 | + } | |
| 5160 | +}); | |
| 5161 | + | |
| 5162 | +EditorModule.prototype.onElementorLoaded = function () {}; | |
| 5163 | + | |
| 5164 | +EditorModule.prototype.onElementorInit = function () {}; | |
| 5165 | + | |
| 5166 | +EditorModule.prototype.onElementorPreviewLoaded = function () {}; | |
| 5167 | + | |
| 5168 | +EditorModule.prototype.onDocumentLoaded = function () {}; | |
| 5169 | + | |
| 5170 | +EditorModule.prototype.onElementorFrontendInit = function () {}; | |
| 5171 | + | |
| 5172 | +EditorModule.prototype.onElementorInitComponents = function () {}; | |
| 5173 | + | |
| 5174 | +module.exports = EditorModule; | |
| 5175 | + | |
| 5176 | +/***/ }), | |
| 5177 | +/* 823 */ | |
| 5178 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5179 | + | |
| 5180 | +"use strict"; | |
| 5181 | + | |
| 5182 | + | |
| 5183 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5184 | + | |
| 5185 | +var _Object$defineProperty = __webpack_require__(1); | |
| 5186 | + | |
| 5187 | +_Object$defineProperty(exports, "__esModule", { | |
| 5188 | + value: true | |
| 5189 | +}); | |
| 5190 | + | |
| 5191 | +exports.default = void 0; | |
| 5192 | + | |
| 5193 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5194 | + | |
| 5195 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5196 | + | |
| 5197 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5198 | + | |
| 5199 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5200 | + | |
| 5201 | +var _default = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 5202 | + (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 5203 | + | |
| 5204 | + var _super = (0, _createSuper2.default)(_default); | |
| 5205 | + | |
| 5206 | + function _default() { | |
| 5207 | + var _this; | |
| 5208 | + | |
| 5209 | + (0, _classCallCheck2.default)(this, _default); | |
| 5210 | + | |
| 5211 | + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 5212 | + args[_key] = arguments[_key]; | |
| 5213 | + } | |
| 5214 | + | |
| 5215 | + _this = _super.call.apply(_super, [this].concat(args)); | |
| 5216 | + | |
| 5217 | + _this.initDialog(); | |
| 5218 | + | |
| 5219 | + return _this; | |
| 5220 | + } | |
| 5221 | + | |
| 5222 | + (0, _createClass2.default)(_default, [{ | |
| 5223 | + key: "getDefaultSettings", | |
| 5224 | + value: function getDefaultSettings() { | |
| 5225 | + return { | |
| 5226 | + dialogType: 'buttons', | |
| 5227 | + dialogOptions: { | |
| 5228 | + effects: { | |
| 5229 | + hide: 'hide', | |
| 5230 | + show: 'show' | |
| 5231 | + }, | |
| 5232 | + hide: { | |
| 5233 | + onBackgroundClick: false | |
| 5234 | + } | |
| 5235 | + } | |
| 5236 | + }; | |
| 5237 | + } | |
| 5238 | + }, { | |
| 5239 | + key: "initDialog", | |
| 5240 | + value: function initDialog() { | |
| 5241 | + var _this2 = this; | |
| 5242 | + | |
| 5243 | + var dialog; | |
| 5244 | + | |
| 5245 | + this.getDialog = function () { | |
| 5246 | + if (!dialog) { | |
| 5247 | + var settings = _this2.getSettings(); | |
| 5248 | + | |
| 5249 | + dialog = elementorCommon.dialogsManager.createWidget(settings.dialogType, settings.dialogOptions); | |
| 5250 | + | |
| 5251 | + if (settings.onDialogInitCallback) { | |
| 5252 | + settings.onDialogInitCallback.call(_this2, dialog); | |
| 5253 | + } | |
| 5254 | + } | |
| 5255 | + | |
| 5256 | + return dialog; | |
| 5257 | + }; | |
| 5258 | + } | |
| 5259 | + }, { | |
| 5260 | + key: "show", | |
| 5261 | + value: function show(target) { | |
| 5262 | + if (this.introductionViewed) { | |
| 5263 | + return; | |
| 5264 | + } | |
| 5265 | + | |
| 5266 | + var dialog = this.getDialog(); | |
| 5267 | + | |
| 5268 | + if (target) { | |
| 5269 | + dialog.setSettings('position', { | |
| 5270 | + of: target | |
| 5271 | + }); | |
| 5272 | + } | |
| 5273 | + | |
| 5274 | + dialog.show(); | |
| 5275 | + } | |
| 5276 | + }, { | |
| 5277 | + key: "setViewed", | |
| 5278 | + value: function setViewed() { | |
| 5279 | + this.introductionViewed = true; | |
| 5280 | + elementorCommon.ajax.addRequest('introduction_viewed', { | |
| 5281 | + data: { | |
| 5282 | + introductionKey: this.getSettings('introductionKey') | |
| 5283 | + } | |
| 5284 | + }); | |
| 5285 | + } | |
| 5286 | + }]); | |
| 5287 | + return _default; | |
| 5288 | +}(elementorModules.Module); | |
| 5289 | + | |
| 5290 | +exports.default = _default; | |
| 5291 | + | |
| 5292 | +/***/ }), | |
| 5293 | +/* 824 */ | |
| 5294 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5295 | + | |
| 5296 | +"use strict"; | |
| 5297 | + | |
| 5298 | + | |
| 5299 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5300 | + | |
| 5301 | +__webpack_require__(24); | |
| 5302 | + | |
| 5303 | +var _values = _interopRequireDefault(__webpack_require__(54)); | |
| 5304 | + | |
| 5305 | +var _typeof2 = _interopRequireDefault(__webpack_require__(50)); | |
| 5306 | + | |
| 5307 | +__webpack_require__(40); | |
| 5308 | + | |
| 5309 | +var BaseSettingsModel; | |
| 5310 | +BaseSettingsModel = Backbone.Model.extend({ | |
| 5311 | + options: {}, | |
| 5312 | + initialize: function initialize(data, options) { | |
| 5313 | + var self = this; // Keep the options for cloning | |
| 5314 | + | |
| 5315 | + self.options = options; | |
| 5316 | + self.controls = elementor.mergeControlsSettings(options.controls); | |
| 5317 | + self.validators = {}; | |
| 5318 | + | |
| 5319 | + if (!self.controls) { | |
| 5320 | + return; | |
| 5321 | + } | |
| 5322 | + | |
| 5323 | + var attrs = data || {}, | |
| 5324 | + defaults = {}; | |
| 5325 | + | |
| 5326 | + _.each(self.controls, function (control) { | |
| 5327 | + // Check features since they does not exist in tests. | |
| 5328 | + var isUIControl = control.features && -1 !== control.features.indexOf('ui'); | |
| 5329 | + | |
| 5330 | + if (isUIControl) { | |
| 5331 | + return; | |
| 5332 | + } | |
| 5333 | + | |
| 5334 | + var controlName = control.name; | |
| 5335 | + | |
| 5336 | + if ('object' === (0, _typeof2.default)(control.default)) { | |
| 5337 | + defaults[controlName] = elementorCommon.helpers.cloneObject(control.default); | |
| 5338 | + } else { | |
| 5339 | + defaults[controlName] = control.default; | |
| 5340 | + } | |
| 5341 | + | |
| 5342 | + var isDynamicControl = control.dynamic && control.dynamic.active, | |
| 5343 | + hasDynamicSettings = isDynamicControl && attrs.__dynamic__ && attrs.__dynamic__[controlName]; | |
| 5344 | + | |
| 5345 | + if (isDynamicControl && !hasDynamicSettings && control.dynamic.default) { | |
| 5346 | + if (!attrs.__dynamic__) { | |
| 5347 | + attrs.__dynamic__ = {}; | |
| 5348 | + } | |
| 5349 | + | |
| 5350 | + attrs.__dynamic__[controlName] = control.dynamic.default; | |
| 5351 | + hasDynamicSettings = true; | |
| 5352 | + } // Check if the value is a plain object ( and not an array ) | |
| 5353 | + | |
| 5354 | + | |
| 5355 | + var isMultipleControl = jQuery.isPlainObject(control.default); | |
| 5356 | + | |
| 5357 | + if (undefined !== attrs[controlName] && isMultipleControl && !_.isObject(attrs[controlName]) && !hasDynamicSettings) { | |
| 5358 | + elementorCommon.debug.addCustomError(new TypeError('An invalid argument supplied as multiple control value'), 'InvalidElementData', 'Element `' + (self.get('widgetType') || self.get('elType')) + '` got <' + attrs[controlName] + '> as `' + controlName + '` value. Expected array or object.'); | |
| 5359 | + delete attrs[controlName]; | |
| 5360 | + } | |
| 5361 | + | |
| 5362 | + if (undefined === attrs[controlName]) { | |
| 5363 | + attrs[controlName] = defaults[controlName]; | |
| 5364 | + } | |
| 5365 | + }); | |
| 5366 | + | |
| 5367 | + self.defaults = defaults; | |
| 5368 | + self.handleRepeaterData(attrs); | |
| 5369 | + self.set(attrs); | |
| 5370 | + }, | |
| 5371 | + handleRepeaterData: function handleRepeaterData(attrs) { | |
| 5372 | + _.each(this.controls, function (field) { | |
| 5373 | + if (field.is_repeater) { | |
| 5374 | + // TODO: Apply defaults on each field in repeater fields | |
| 5375 | + if (!(attrs[field.name] instanceof Backbone.Collection)) { | |
| 5376 | + attrs[field.name] = new Backbone.Collection(attrs[field.name], { | |
| 5377 | + model: function model(attributes, options) { | |
| 5378 | + options = options || {}; | |
| 5379 | + options.controls = {}; | |
| 5380 | + (0, _values.default)(field.fields).map(function (item) { | |
| 5381 | + options.controls[item.name] = item; | |
| 5382 | + }); // TODO: Cannot be deleted, since it handle repeater items after repeater widget creation. | |
| 5383 | + | |
| 5384 | + if (!attributes._id) { | |
| 5385 | + attributes._id = elementorCommon.helpers.getUniqueId(); | |
| 5386 | + } | |
| 5387 | + | |
| 5388 | + return new BaseSettingsModel(attributes, options); | |
| 5389 | + } | |
| 5390 | + }); | |
| 5391 | + } | |
| 5392 | + } | |
| 5393 | + }); | |
| 5394 | + }, | |
| 5395 | + getFontControls: function getFontControls() { | |
| 5396 | + return this.getControlsByType('font'); | |
| 5397 | + }, | |
| 5398 | + getIconsControls: function getIconsControls() { | |
| 5399 | + return this.getControlsByType('icons'); | |
| 5400 | + }, | |
| 5401 | + getControlsByType: function getControlsByType(type) { | |
| 5402 | + return _.filter(this.getActiveControls(), function (control) { | |
| 5403 | + return type === control.type; | |
| 5404 | + }); | |
| 5405 | + }, | |
| 5406 | + getStyleControls: function getStyleControls(controls, attributes) { | |
| 5407 | + var self = this; | |
| 5408 | + controls = elementorCommon.helpers.cloneObject(self.getActiveControls(controls, attributes)); | |
| 5409 | + var styleControls = []; | |
| 5410 | + jQuery.each(controls, function () { | |
| 5411 | + var _control$dynamic; | |
| 5412 | + | |
| 5413 | + var control = this, | |
| 5414 | + controlDefaultSettings = elementor.config.controls[control.type]; | |
| 5415 | + control = jQuery.extend({}, controlDefaultSettings, control); | |
| 5416 | + | |
| 5417 | + if (control.fields) { | |
| 5418 | + var styleFields = []; | |
| 5419 | + self.attributes[control.name].each(function (item) { | |
| 5420 | + styleFields.push(self.getStyleControls(control.fields, item.attributes)); | |
| 5421 | + }); | |
| 5422 | + control.styleFields = styleFields; | |
| 5423 | + } | |
| 5424 | + | |
| 5425 | + if (control.fields || ((_control$dynamic = control.dynamic) === null || _control$dynamic === void 0 ? void 0 : _control$dynamic.active) || self.isGlobalControl(control, controls) || self.isStyleControl(control.name, controls)) { | |
| 5426 | + styleControls.push(control); | |
| 5427 | + } | |
| 5428 | + }); | |
| 5429 | + return styleControls; | |
| 5430 | + }, | |
| 5431 | + isGlobalControl: function isGlobalControl(control, controls) { | |
| 5432 | + var _globalControl$global, _this$attributes$__gl; | |
| 5433 | + | |
| 5434 | + var controlGlobalKey = control.name; | |
| 5435 | + | |
| 5436 | + if (control.groupType) { | |
| 5437 | + controlGlobalKey = control.groupPrefix + control.groupType; | |
| 5438 | + } | |
| 5439 | + | |
| 5440 | + var globalControl = controls[controlGlobalKey]; // TODO: You shouldn't check if there is a `globalControl`. It's only a temporary patch. | |
| 5441 | + | |
| 5442 | + if (!(globalControl === null || globalControl === void 0 ? void 0 : (_globalControl$global = globalControl.global) === null || _globalControl$global === void 0 ? void 0 : _globalControl$global.active)) { | |
| 5443 | + return false; | |
| 5444 | + } | |
| 5445 | + | |
| 5446 | + var globalValue = (_this$attributes$__gl = this.attributes.__globals__) === null || _this$attributes$__gl === void 0 ? void 0 : _this$attributes$__gl[controlGlobalKey]; | |
| 5447 | + return !!globalValue; | |
| 5448 | + }, | |
| 5449 | + isStyleControl: function isStyleControl(attribute, controls) { | |
| 5450 | + controls = controls || this.controls; | |
| 5451 | + | |
| 5452 | + var currentControl = _.find(controls, function (control) { | |
| 5453 | + return attribute === control.name; | |
| 5454 | + }); | |
| 5455 | + | |
| 5456 | + return currentControl && !_.isEmpty(currentControl.selectors); | |
| 5457 | + }, | |
| 5458 | + getClassControls: function getClassControls(controls) { | |
| 5459 | + controls = controls || this.controls; | |
| 5460 | + return _.filter(controls, function (control) { | |
| 5461 | + return !_.isUndefined(control.prefix_class); | |
| 5462 | + }); | |
| 5463 | + }, | |
| 5464 | + isClassControl: function isClassControl(attribute) { | |
| 5465 | + var currentControl = _.find(this.controls, function (control) { | |
| 5466 | + return attribute === control.name; | |
| 5467 | + }); | |
| 5468 | + | |
| 5469 | + return currentControl && !_.isUndefined(currentControl.prefix_class); | |
| 5470 | + }, | |
| 5471 | + getControl: function getControl(id) { | |
| 5472 | + return _.find(this.controls, function (control) { | |
| 5473 | + return id === control.name; | |
| 5474 | + }); | |
| 5475 | + }, | |
| 5476 | + getActiveControls: function getActiveControls(controls, attributes) { | |
| 5477 | + var activeControls = {}; | |
| 5478 | + | |
| 5479 | + if (!controls) { | |
| 5480 | + controls = this.controls; | |
| 5481 | + } | |
| 5482 | + | |
| 5483 | + if (!attributes) { | |
| 5484 | + attributes = this.attributes; | |
| 5485 | + } | |
| 5486 | + | |
| 5487 | + attributes = this.parseGlobalSettings(attributes, controls); | |
| 5488 | + jQuery.each(controls, function (controlKey, control) { | |
| 5489 | + if (elementor.helpers.isActiveControl(control, attributes)) { | |
| 5490 | + activeControls[controlKey] = control; | |
| 5491 | + } | |
| 5492 | + }); | |
| 5493 | + return activeControls; | |
| 5494 | + }, | |
| 5495 | + clone: function clone() { | |
| 5496 | + return new BaseSettingsModel(elementorCommon.helpers.cloneObject(this.attributes), elementorCommon.helpers.cloneObject(this.options)); | |
| 5497 | + }, | |
| 5498 | + setExternalChange: function setExternalChange(key, value) { | |
| 5499 | + var self = this, | |
| 5500 | + settingsToChange; | |
| 5501 | + | |
| 5502 | + if ('object' === (0, _typeof2.default)(key)) { | |
| 5503 | + settingsToChange = key; | |
| 5504 | + } else { | |
| 5505 | + settingsToChange = {}; | |
| 5506 | + settingsToChange[key] = value; | |
| 5507 | + } | |
| 5508 | + | |
| 5509 | + self.set(settingsToChange); | |
| 5510 | + jQuery.each(settingsToChange, function (changedKey, changedValue) { | |
| 5511 | + self.trigger('change:external:' + changedKey, changedValue); | |
| 5512 | + }); | |
| 5513 | + }, | |
| 5514 | + parseDynamicSettings: function parseDynamicSettings(settings, options, controls) { | |
| 5515 | + var self = this; | |
| 5516 | + settings = elementorCommon.helpers.cloneObject(settings || self.attributes); | |
| 5517 | + options = options || {}; | |
| 5518 | + controls = controls || this.controls; | |
| 5519 | + jQuery.each(controls, function () { | |
| 5520 | + var control = this, | |
| 5521 | + valueToParse; | |
| 5522 | + | |
| 5523 | + if (control.is_repeater) { | |
| 5524 | + valueToParse = settings[control.name]; | |
| 5525 | + valueToParse.forEach(function (value, key) { | |
| 5526 | + valueToParse[key] = self.parseDynamicSettings(value, options, control.fields); | |
| 5527 | + }); | |
| 5528 | + return; | |
| 5529 | + } | |
| 5530 | + | |
| 5531 | + valueToParse = settings.__dynamic__ && settings.__dynamic__[control.name]; | |
| 5532 | + | |
| 5533 | + if (!valueToParse) { | |
| 5534 | + return; | |
| 5535 | + } | |
| 5536 | + | |
| 5537 | + var dynamicSettings = control.dynamic; | |
| 5538 | + | |
| 5539 | + if (undefined === dynamicSettings) { | |
| 5540 | + dynamicSettings = elementor.config.controls[control.type].dynamic; | |
| 5541 | + } | |
| 5542 | + | |
| 5543 | + if (!dynamicSettings || !dynamicSettings.active) { | |
| 5544 | + return; | |
| 5545 | + } | |
| 5546 | + | |
| 5547 | + var dynamicValue; | |
| 5548 | + | |
| 5549 | + try { | |
| 5550 | + dynamicValue = elementor.dynamicTags.parseTagsText(valueToParse, dynamicSettings, elementor.dynamicTags.getTagDataContent); | |
| 5551 | + } catch (error) { | |
| 5552 | + if (elementor.dynamicTags.CACHE_KEY_NOT_FOUND_ERROR !== error.message) { | |
| 5553 | + throw error; | |
| 5554 | + } | |
| 5555 | + | |
| 5556 | + dynamicValue = ''; | |
| 5557 | + | |
| 5558 | + if (options.onServerRequestStart) { | |
| 5559 | + options.onServerRequestStart(); | |
| 5560 | + } | |
| 5561 | + | |
| 5562 | + elementor.dynamicTags.refreshCacheFromServer(function () { | |
| 5563 | + if (options.onServerRequestEnd) { | |
| 5564 | + options.onServerRequestEnd(); | |
| 5565 | + } | |
| 5566 | + }); | |
| 5567 | + } | |
| 5568 | + | |
| 5569 | + if (dynamicSettings.property) { | |
| 5570 | + settings[control.name][dynamicSettings.property] = dynamicValue; | |
| 5571 | + } else { | |
| 5572 | + settings[control.name] = dynamicValue; | |
| 5573 | + } | |
| 5574 | + }); | |
| 5575 | + return settings; | |
| 5576 | + }, | |
| 5577 | + parseGlobalSettings: function parseGlobalSettings(settings, controls) { | |
| 5578 | + var _this = this; | |
| 5579 | + | |
| 5580 | + settings = elementorCommon.helpers.cloneObject(settings); | |
| 5581 | + controls = controls || this.controls; | |
| 5582 | + jQuery.each(controls, function (index, control) { | |
| 5583 | + var _settings$__globals__, _globalSettings; | |
| 5584 | + | |
| 5585 | + var valueToParse; | |
| 5586 | + | |
| 5587 | + if (control.is_repeater) { | |
| 5588 | + valueToParse = settings[control.name]; | |
| 5589 | + valueToParse.forEach(function (value, key) { | |
| 5590 | + valueToParse[key] = _this.parseGlobalSettings(value, control.fields); | |
| 5591 | + }); | |
| 5592 | + return; | |
| 5593 | + } | |
| 5594 | + | |
| 5595 | + valueToParse = (_settings$__globals__ = settings.__globals__) === null || _settings$__globals__ === void 0 ? void 0 : _settings$__globals__[control.name]; | |
| 5596 | + | |
| 5597 | + if (!valueToParse) { | |
| 5598 | + return; | |
| 5599 | + } | |
| 5600 | + | |
| 5601 | + var globalSettings = control.global; | |
| 5602 | + | |
| 5603 | + if (undefined === globalSettings) { | |
| 5604 | + globalSettings = elementor.config.controls[control.type].global; | |
| 5605 | + } | |
| 5606 | + | |
| 5607 | + if (!((_globalSettings = globalSettings) === null || _globalSettings === void 0 ? void 0 : _globalSettings.active)) { | |
| 5608 | + return; | |
| 5609 | + } | |
| 5610 | + | |
| 5611 | + var _$e$data$commandExtra = $e.data.commandExtractArgs(valueToParse), | |
| 5612 | + command = _$e$data$commandExtra.command, | |
| 5613 | + args = _$e$data$commandExtra.args, | |
| 5614 | + globalValue = $e.data.getCache($e.components.get('globals'), command, args.query); | |
| 5615 | + | |
| 5616 | + if (control.groupType) { | |
| 5617 | + settings[control.name] = 'custom'; | |
| 5618 | + } else { | |
| 5619 | + settings[control.name] = globalValue; | |
| 5620 | + } | |
| 5621 | + }); | |
| 5622 | + return settings; | |
| 5623 | + }, | |
| 5624 | + removeDataDefaults: function removeDataDefaults(data, controls) { | |
| 5625 | + var _this2 = this; | |
| 5626 | + | |
| 5627 | + jQuery.each(data, function (key) { | |
| 5628 | + var control = controls[key]; | |
| 5629 | + | |
| 5630 | + if (!control) { | |
| 5631 | + return; | |
| 5632 | + } // TODO: use `save_default` in text|textarea controls. | |
| 5633 | + | |
| 5634 | + | |
| 5635 | + if (control.save_default || ('text' === control.type || 'textarea' === control.type) && data[key]) { | |
| 5636 | + return; | |
| 5637 | + } | |
| 5638 | + | |
| 5639 | + if (control.is_repeater) { | |
| 5640 | + data[key].forEach(function (repeaterRow) { | |
| 5641 | + _this2.removeDataDefaults(repeaterRow, control.fields); | |
| 5642 | + }); | |
| 5643 | + return; | |
| 5644 | + } | |
| 5645 | + | |
| 5646 | + if (_.isEqual(data[key], control.default)) { | |
| 5647 | + delete data[key]; | |
| 5648 | + } | |
| 5649 | + }); | |
| 5650 | + }, | |
| 5651 | + toJSON: function toJSON(options) { | |
| 5652 | + var data = Backbone.Model.prototype.toJSON.call(this); | |
| 5653 | + options = options || {}; | |
| 5654 | + delete data.widgetType; | |
| 5655 | + delete data.elType; | |
| 5656 | + delete data.isInner; | |
| 5657 | + | |
| 5658 | + _.each(data, function (attribute, key) { | |
| 5659 | + if (attribute && attribute.toJSON) { | |
| 5660 | + data[key] = attribute.toJSON(); | |
| 5661 | + } | |
| 5662 | + }); | |
| 5663 | + | |
| 5664 | + if (options.remove && -1 !== options.remove.indexOf('default')) { | |
| 5665 | + this.removeDataDefaults(data, this.controls); | |
| 5666 | + } | |
| 5667 | + | |
| 5668 | + return elementorCommon.helpers.cloneObject(data); | |
| 5669 | + } | |
| 5670 | +}); | |
| 5671 | +module.exports = BaseSettingsModel; | |
| 5672 | + | |
| 5673 | +/***/ }), | |
| 5674 | +/* 825 */ | |
| 5675 | +/***/ (function(module, exports, __webpack_require__) { | |
| 5676 | + | |
| 5677 | +"use strict"; | |
| 5678 | + | |
| 5679 | + | |
| 5680 | +var _interopRequireDefault = __webpack_require__(0); | |
| 5681 | + | |
| 5682 | +var _Object$defineProperty2 = __webpack_require__(1); | |
| 5683 | + | |
| 5684 | +_Object$defineProperty2(exports, "__esModule", { | |
| 5685 | + value: true | |
| 5686 | +}); | |
| 5687 | + | |
| 5688 | +exports.default = void 0; | |
| 5689 | + | |
| 5690 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(1)); | |
| 5691 | + | |
| 5692 | +__webpack_require__(141); | |
| 5693 | + | |
| 5694 | +__webpack_require__(183); | |
| 5695 | + | |
| 5696 | +__webpack_require__(191); | |
| 5697 | + | |
| 5698 | +__webpack_require__(80); | |
| 5699 | + | |
| 5700 | +__webpack_require__(280); | |
| 5701 | + | |
| 5702 | +__webpack_require__(40); | |
| 5703 | + | |
| 5704 | +var _values = _interopRequireDefault(__webpack_require__(54)); | |
| 5705 | + | |
| 5706 | +var _keys = _interopRequireDefault(__webpack_require__(25)); | |
| 5707 | + | |
| 5708 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(105)); | |
| 5709 | + | |
| 5710 | +var _entries = _interopRequireDefault(__webpack_require__(93)); | |
| 5711 | + | |
| 5712 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 5713 | + | |
| 5714 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 5715 | + | |
| 5716 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(45)); | |
| 5717 | + | |
| 5718 | +var _inherits2 = _interopRequireDefault(__webpack_require__(4)); | |
| 5719 | + | |
| 5720 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(5)); | |
| 5721 | + | |
| 5722 | +var _defineProperty3 = _interopRequireDefault(__webpack_require__(27)); | |
| 5723 | + | |
| 5724 | +var _argsObject = _interopRequireDefault(__webpack_require__(227)); | |
| 5725 | + | |
| 5726 | +var _panel = _interopRequireDefault(__webpack_require__(826)); | |
| 5727 | + | |
| 1520 | 5728 | /** |
| 1521 | - * @typedef {import('./container')} Container | |
| 1522 | - */ | |
| 1523 | - var Panel = /*#__PURE__*/ function() { | |
| 1524 | - /** | |
| 1525 | - * Function constructor(). | |
| 1526 | - * | |
| 1527 | - * Create constructor panel. | |
| 1528 | - * | |
| 1529 | - * @param {Container} container | |
| 1530 | - */ | |
| 1531 | - function Panel(container) { | |
| 1532 | - _classCallCheck(this, Panel); | |
| 1533 | - this.container = container; | |
| 1534 | - } | |
| 1535 | - /** | |
| 1536 | - * Function refresh(). | |
| 1537 | - * | |
| 1538 | - * Refresh the panel. | |
| 1539 | - */ | |
| 1540 | - return _createClass(Panel, [ | |
| 1541 | - { | |
| 1542 | - key: "refresh", | |
| 1543 | - value: function refresh() { | |
| 1544 | - if ($e.routes.isPartOf("panel/editor")) $e.routes.refreshContainer("panel"); | |
| 1545 | - } | |
| 1546 | - }, | |
| 1547 | - { | |
| 1548 | - key: "closeEditor", | |
| 1549 | - value: function closeEditor() { | |
| 1550 | - $e.route("panel/elements/categories"); | |
| 1551 | - } | |
| 1552 | - }, | |
| 1553 | - { | |
| 1554 | - key: "getControlView", | |
| 1555 | - value: function getControlView(name) { | |
| 1556 | - return elementor.getPanelView().getCurrentPageView().children.findByModelCid(this.getControlModel(name).cid); | |
| 1557 | - } | |
| 1558 | - }, | |
| 1559 | - { | |
| 1560 | - key: "getControlModel", | |
| 1561 | - value: function getControlModel(name) { | |
| 1562 | - return elementor.getPanelView().getCurrentPageView().collection.findWhere({ name }); | |
| 1563 | - } | |
| 1564 | - } | |
| 1565 | - ]); | |
| 1566 | - }(); | |
| 5729 | + * TODO: ViewsOptions | |
| 5730 | + * @typedef {(Marionette.View|Marionette.CompositeView|BaseElementView|SectionView|BaseContainer)} ViewsOptions | |
| 5731 | + */ | |
| 5732 | +var Container = /*#__PURE__*/function (_ArgsObject) { | |
| 5733 | + (0, _inherits2.default)(Container, _ArgsObject); | |
| 1567 | 5734 | |
| 1568 | -//#endregion | |
| 1569 | -//#region node_modules/@babel/runtime/helpers/esm/isNativeFunction.js | |
| 1570 | - function _isNativeFunction(t) { | |
| 1571 | - try { | |
| 1572 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 1573 | - } catch (n) { | |
| 1574 | - return "function" == typeof t; | |
| 1575 | - } | |
| 1576 | - } | |
| 5735 | + var _super = (0, _createSuper2.default)(Container); | |
| 1577 | 5736 | |
| 1578 | -//#endregion | |
| 1579 | -//#region node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js | |
| 1580 | - function _isNativeReflectConstruct$2() { | |
| 1581 | - try { | |
| 1582 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1583 | - } catch (t) {} | |
| 1584 | - return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { | |
| 1585 | - return !!t; | |
| 1586 | - })(); | |
| 1587 | - } | |
| 1588 | - __name(_isNativeReflectConstruct$2, "_isNativeReflectConstruct"); | |
| 5737 | + /** | |
| 5738 | + * Container type. | |
| 5739 | + * | |
| 5740 | + * @type {string} | |
| 5741 | + */ | |
| 1589 | 5742 | |
| 1590 | -//#endregion | |
| 1591 | -//#region node_modules/@babel/runtime/helpers/esm/construct.js | |
| 1592 | - function _construct(t, e, r) { | |
| 1593 | - if (_isNativeReflectConstruct$2()) return Reflect.construct.apply(null, arguments); | |
| 1594 | - var o = [null]; | |
| 1595 | - o.push.apply(o, e); | |
| 1596 | - var p = new (t.bind.apply(t, o))(); | |
| 1597 | - return r && _setPrototypeOf(p, r.prototype), p; | |
| 1598 | - } | |
| 5743 | + /** | |
| 5744 | + * Container id. | |
| 5745 | + * | |
| 5746 | + * @type {string} | |
| 5747 | + */ | |
| 1599 | 5748 | |
| 1600 | -//#endregion | |
| 1601 | -//#region node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js | |
| 1602 | - function _wrapNativeSuper(t) { | |
| 1603 | - var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0; | |
| 1604 | - return _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 1605 | - if (null === t || !_isNativeFunction(t)) return t; | |
| 1606 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 1607 | - if (void 0 !== r) { | |
| 1608 | - if (r.has(t)) return r.get(t); | |
| 1609 | - r.set(t, Wrapper); | |
| 1610 | - } | |
| 1611 | - function Wrapper() { | |
| 1612 | - return _construct(t, arguments, _getPrototypeOf(this).constructor); | |
| 1613 | - } | |
| 1614 | - return Wrapper.prototype = Object.create(t.prototype, { constructor: { | |
| 1615 | - value: Wrapper, | |
| 1616 | - enumerable: !1, | |
| 1617 | - writable: !0, | |
| 1618 | - configurable: !0 | |
| 1619 | - } }), _setPrototypeOf(Wrapper, t); | |
| 1620 | - }, _wrapNativeSuper(t); | |
| 1621 | - } | |
| 5749 | + /** | |
| 5750 | + * Document Object. | |
| 5751 | + * | |
| 5752 | + * @type {{}} | |
| 5753 | + */ | |
| 1622 | 5754 | |
| 1623 | -//#endregion | |
| 1624 | -//#region assets/dev/js/editor/container/model/children-array.js | |
| 1625 | - function _createForOfIteratorHelper(r, e) { | |
| 1626 | - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 1627 | - if (!t) { | |
| 1628 | - if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | |
| 1629 | - t && (r = t); | |
| 1630 | - var _n = 0; | |
| 1631 | - var F = function F() {}; | |
| 1632 | - return { | |
| 1633 | - s: F, | |
| 1634 | - n: function n() { | |
| 1635 | - return _n >= r.length ? { done: !0 } : { | |
| 1636 | - done: !1, | |
| 1637 | - value: r[_n++] | |
| 1638 | - }; | |
| 1639 | - }, | |
| 1640 | - e: function e(r) { | |
| 1641 | - throw r; | |
| 1642 | - }, | |
| 1643 | - f: F | |
| 1644 | - }; | |
| 1645 | - } | |
| 1646 | - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 1647 | - } | |
| 1648 | - var o; | |
| 1649 | - var a = !0; | |
| 1650 | - var u = !1; | |
| 1651 | - return { | |
| 1652 | - s: function s() { | |
| 1653 | - t = t.call(r); | |
| 1654 | - }, | |
| 1655 | - n: function n() { | |
| 1656 | - var r = t.next(); | |
| 1657 | - return a = r.done, r; | |
| 1658 | - }, | |
| 1659 | - e: function e(r) { | |
| 1660 | - u = !0, o = r; | |
| 1661 | - }, | |
| 1662 | - f: function f() { | |
| 1663 | - try { | |
| 1664 | - a || null == t.return || t.return(); | |
| 1665 | - } finally { | |
| 1666 | - if (u) throw o; | |
| 1667 | - } | |
| 1668 | - } | |
| 1669 | - }; | |
| 1670 | - } | |
| 1671 | - function _unsupportedIterableToArray(r, a) { | |
| 1672 | - if (r) { | |
| 1673 | - if ("string" == typeof r) return _arrayLikeToArray(r, a); | |
| 1674 | - var t = {}.toString.call(r).slice(8, -1); | |
| 1675 | - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; | |
| 1676 | - } | |
| 1677 | - } | |
| 1678 | - function _arrayLikeToArray(r, a) { | |
| 1679 | - (null == a || a > r.length) && (a = r.length); | |
| 1680 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 1681 | - return n; | |
| 1682 | - } | |
| 1683 | - function _callSuper$1(t, o, e) { | |
| 1684 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1685 | - } | |
| 1686 | - __name(_callSuper$1, "_callSuper"); | |
| 1687 | - function _isNativeReflectConstruct$1() { | |
| 1688 | - try { | |
| 1689 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1690 | - } catch (t) {} | |
| 1691 | - return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { | |
| 1692 | - return !!t; | |
| 1693 | - })(); | |
| 1694 | - } | |
| 1695 | - __name(_isNativeReflectConstruct$1, "_isNativeReflectConstruct"); | |
| 1696 | - /** | |
| 1697 | - * @typedef {import('../container')} Container | |
| 1698 | - */ | |
| 1699 | - var ChildrenArray = /*#__PURE__*/ function(_Array) { | |
| 1700 | - function ChildrenArray() { | |
| 1701 | - _classCallCheck(this, ChildrenArray); | |
| 1702 | - return _callSuper$1(this, ChildrenArray, arguments); | |
| 1703 | - } | |
| 1704 | - _inherits(ChildrenArray, _Array); | |
| 1705 | - return _createClass(ChildrenArray, [ | |
| 1706 | - { | |
| 1707 | - key: "clear", | |
| 1708 | - value: function clear() { | |
| 1709 | - this.length = 0; | |
| 1710 | - } | |
| 1711 | - }, | |
| 1712 | - { | |
| 1713 | - key: "findRecursive", | |
| 1714 | - value: function findRecursive(callback) { | |
| 1715 | - var _iterator = _createForOfIteratorHelper(this); | |
| 1716 | - var _step; | |
| 1717 | - try { | |
| 1718 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 1719 | - var container = _step.value; | |
| 1720 | - if (callback(container)) return container; | |
| 1721 | - if (container.children.length) { | |
| 1722 | - var foundChildren = container.children.findRecursive(callback); | |
| 1723 | - if (foundChildren) return foundChildren; | |
| 1724 | - } | |
| 1725 | - } | |
| 1726 | - } catch (err) { | |
| 1727 | - _iterator.e(err); | |
| 1728 | - } finally { | |
| 1729 | - _iterator.f(); | |
| 1730 | - } | |
| 1731 | - return false; | |
| 1732 | - } | |
| 1733 | - }, | |
| 1734 | - { | |
| 1735 | - key: "forEachRecursive", | |
| 1736 | - value: function forEachRecursive(callback) { | |
| 1737 | - var _iterator2 = _createForOfIteratorHelper(this); | |
| 1738 | - var _step2; | |
| 1739 | - try { | |
| 1740 | - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { | |
| 1741 | - var container = _step2.value; | |
| 1742 | - callback(container); | |
| 1743 | - if (container.children.length) container.children.forEachRecursive(callback); | |
| 1744 | - } | |
| 1745 | - } catch (err) { | |
| 1746 | - _iterator2.e(err); | |
| 1747 | - } finally { | |
| 1748 | - _iterator2.f(); | |
| 1749 | - } | |
| 1750 | - } | |
| 1751 | - }, | |
| 1752 | - { | |
| 1753 | - key: "someRecursive", | |
| 1754 | - value: function someRecursive(callback) { | |
| 1755 | - var _iterator3 = _createForOfIteratorHelper(this); | |
| 1756 | - var _step3; | |
| 1757 | - try { | |
| 1758 | - for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { | |
| 1759 | - var _container$children; | |
| 1760 | - var container = _step3.value; | |
| 1761 | - if (callback(container)) return true; | |
| 1762 | - if ((_container$children = container.children) !== null && _container$children !== void 0 && _container$children.length) { | |
| 1763 | - if (container.children.someRecursive(callback)) return true; | |
| 1764 | - } | |
| 1765 | - } | |
| 1766 | - } catch (err) { | |
| 1767 | - _iterator3.e(err); | |
| 1768 | - } finally { | |
| 1769 | - _iterator3.f(); | |
| 1770 | - } | |
| 1771 | - return false; | |
| 1772 | - } | |
| 1773 | - } | |
| 1774 | - ]); | |
| 1775 | - }(/*#__PURE__*/ _wrapNativeSuper(Array)); | |
| 5755 | + /** | |
| 5756 | + * Container model. | |
| 5757 | + * | |
| 5758 | + * @type {Backbone.Model} | |
| 5759 | + */ | |
| 1776 | 5760 | |
| 1777 | -//#endregion | |
| 1778 | -//#region assets/dev/js/editor/container/container.js | |
| 1779 | - init_typeof(); | |
| 1780 | - function _callSuper(t, o, e) { | |
| 1781 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1782 | - } | |
| 1783 | - function _isNativeReflectConstruct() { | |
| 1784 | - try { | |
| 1785 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1786 | - } catch (t) {} | |
| 1787 | - return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 1788 | - return !!t; | |
| 1789 | - })(); | |
| 1790 | - } | |
| 1791 | - /** | |
| 1792 | - * @typedef {import('../../../../lib/backbone/backbone.marionette')} Backbone | |
| 1793 | - * @typedef {import('../../../../lib/backbone/backbone.marionette')} Marionette | |
| 1794 | - * @typedef {import('../elements/views/base')} BaseElementView | |
| 1795 | - * @typedef {import('../elements/views/section')} SectionView | |
| 1796 | - * @typedef {import('../views/base-container')} BaseContainer | |
| 1797 | - * @typedef {import('../elements/models/base-element-model')} BaseElementModel | |
| 1798 | - */ | |
| 1799 | - /** | |
| 1800 | - * TODO: ViewsOptions | |
| 1801 | - * | |
| 1802 | - * @typedef {(Marionette.View|Marionette.CompositeView|BaseElementView|SectionView|BaseContainer)} ViewsOptions | |
| 1803 | - */ | |
| 1804 | - var Container = /*#__PURE__*/ function(_ArgsObject) { | |
| 1805 | - /** | |
| 1806 | - * Function constructor(). | |
| 1807 | - * | |
| 1808 | - * Create container. | |
| 1809 | - * | |
| 1810 | - * @param {{}} args | |
| 1811 | - * | |
| 1812 | - * @throws {Error} | |
| 1813 | - */ | |
| 1814 | - function Container(args) { | |
| 1815 | - var _this; | |
| 1816 | - _classCallCheck(this, Container); | |
| 1817 | - _this = _callSuper(this, Container, [args]); | |
| 1818 | - /** | |
| 1819 | - * Container type. | |
| 1820 | - * | |
| 1821 | - * @type {string} | |
| 1822 | - */ | |
| 1823 | - _defineProperty(_this, "type", void 0); | |
| 1824 | - /** | |
| 1825 | - * Container id. | |
| 1826 | - * | |
| 1827 | - * @type {string} | |
| 1828 | - */ | |
| 1829 | - _defineProperty(_this, "id", void 0); | |
| 1830 | - /** | |
| 1831 | - * Document Object. | |
| 1832 | - * | |
| 1833 | - * @type {{}} | |
| 1834 | - */ | |
| 1835 | - _defineProperty(_this, "document", void 0); | |
| 1836 | - /** | |
| 1837 | - * Container model. | |
| 1838 | - * | |
| 1839 | - * @type {(Backbone.Model|BaseElementModel)} | |
| 1840 | - */ | |
| 1841 | - _defineProperty(_this, "model", void 0); | |
| 1842 | - /** | |
| 1843 | - * Container settings. | |
| 1844 | - * | |
| 1845 | - * @type {Backbone.Model} | |
| 1846 | - */ | |
| 1847 | - _defineProperty(_this, "settings", void 0); | |
| 1848 | - /** | |
| 1849 | - * Container view. | |
| 1850 | - * | |
| 1851 | - * @type {ViewsOptions} | |
| 1852 | - */ | |
| 1853 | - _defineProperty(_this, "view", void 0); | |
| 1854 | - /** | |
| 1855 | - * Container parent. | |
| 1856 | - * | |
| 1857 | - * @type {Container} | |
| 1858 | - */ | |
| 1859 | - _defineProperty(_this, "parent", void 0); | |
| 1860 | - /** | |
| 1861 | - * Container children(s). | |
| 1862 | - * | |
| 1863 | - * @type {ChildrenArray} | |
| 1864 | - */ | |
| 1865 | - _defineProperty(_this, "children", new ChildrenArray()); | |
| 1866 | - /** | |
| 1867 | - * Container dynamic. | |
| 1868 | - * | |
| 1869 | - * @type {Backbone.Model} | |
| 1870 | - */ | |
| 1871 | - _defineProperty(_this, "dynamic", void 0); | |
| 1872 | - /** | |
| 1873 | - * Container globals. | |
| 1874 | - * | |
| 1875 | - * @type {Backbone.Model} | |
| 1876 | - */ | |
| 1877 | - _defineProperty(_this, "globals", void 0); | |
| 1878 | - /** | |
| 1879 | - * Container label. | |
| 1880 | - * | |
| 1881 | - * @type {string} | |
| 1882 | - */ | |
| 1883 | - _defineProperty(_this, "label", void 0); | |
| 1884 | - /** | |
| 1885 | - * Container controls. | |
| 1886 | - * | |
| 1887 | - * @type {{}} | |
| 1888 | - */ | |
| 1889 | - _defineProperty(_this, "controls", {}); | |
| 1890 | - /** | |
| 1891 | - * Repeaters containers | |
| 1892 | - * | |
| 1893 | - * @type {{}} | |
| 1894 | - */ | |
| 1895 | - _defineProperty(_this, "repeaters", {}); | |
| 1896 | - /** | |
| 1897 | - * Container renderer (The one who render). | |
| 1898 | - * | |
| 1899 | - * @type {Container} | |
| 1900 | - */ | |
| 1901 | - _defineProperty(_this, "renderer", void 0); | |
| 1902 | - /** | |
| 1903 | - * Container panel. | |
| 1904 | - * | |
| 1905 | - * @type {Panel} | |
| 1906 | - */ | |
| 1907 | - _defineProperty(_this, "panel", void 0); | |
| 1908 | - /** | |
| 1909 | - * Controls placeholders. | |
| 1910 | - * | |
| 1911 | - * @type {{}} | |
| 1912 | - */ | |
| 1913 | - _defineProperty(_this, "placeholders", {}); | |
| 1914 | - _this.validateArgs(args); | |
| 1915 | - args = Object.entries(args); | |
| 1916 | - if (0 === args.length) throw Error("Container cannot be empty."); | |
| 1917 | - args.forEach(function(_ref) { | |
| 1918 | - var _ref2 = _slicedToArray(_ref, 2); | |
| 1919 | - var key = _ref2[0]; | |
| 1920 | - var value = _ref2[1]; | |
| 1921 | - _this[key] = "undefined" === typeof value ? _this[key] : value; | |
| 1922 | - }); | |
| 1923 | - if ("undefined" === typeof _this.renderer) _this.renderer = _this; | |
| 1924 | - if (!_this.document) _this.document = elementor.documents.getCurrent(); | |
| 1925 | - _this.dynamic = new Backbone.Model(_this.settings.get("__dynamic__")); | |
| 1926 | - _this.globals = new Backbone.Model(_this.settings.get("__globals__")); | |
| 1927 | - _this.panel = new Panel(_this); | |
| 1928 | - _this.initialize(); | |
| 1929 | - return _this; | |
| 1930 | - } | |
| 1931 | - _inherits(Container, _ArgsObject); | |
| 1932 | - return _createClass(Container, [ | |
| 1933 | - { | |
| 1934 | - key: "initialize", | |
| 1935 | - value: function initialize() { | |
| 1936 | - if (this.isViewElement()) { | |
| 1937 | - this.addToParent(); | |
| 1938 | - this.handleChildrenRecursive(); | |
| 1939 | - this.view.on("destroy", this.removeFromParent.bind(this)); | |
| 1940 | - } | |
| 1941 | - this.handleRepeaterChildren(); | |
| 1942 | - } | |
| 1943 | - }, | |
| 1944 | - { | |
| 1945 | - key: "validateArgs", | |
| 1946 | - value: function validateArgs(args) { | |
| 1947 | - this.requireArgumentType("type", "string", args); | |
| 1948 | - this.requireArgumentType("id", "string", args); | |
| 1949 | - this.requireArgumentInstance("settings", Backbone.Model, args); | |
| 1950 | - this.requireArgumentInstance("model", Backbone.Model, args); | |
| 1951 | - if (false !== args.parent) this.requireArgumentInstance("parent", elementorModules.editor.Container, args); | |
| 1952 | - } | |
| 1953 | - }, | |
| 1954 | - { | |
| 1955 | - key: "getGroupRelatedControls", | |
| 1956 | - value: function getGroupRelatedControls(settings) { | |
| 1957 | - var _this2 = this; | |
| 1958 | - var result = {}; | |
| 1959 | - Object.keys(settings).forEach(function(settingKey) { | |
| 1960 | - Object.values(_this2.controls).forEach(function(control) { | |
| 1961 | - var _this2$controls$setti; | |
| 1962 | - if (settingKey === control.name) result[control.name] = control; | |
| 1963 | - else if ((_this2$controls$setti = _this2.controls[settingKey]) !== null && _this2$controls$setti !== void 0 && _this2$controls$setti.groupPrefix) { | |
| 1964 | - var groupPrefix = _this2.controls[settingKey].groupPrefix; | |
| 1965 | - if (control.name.toString().startsWith(groupPrefix)) result[control.name] = control; | |
| 1966 | - } | |
| 1967 | - }); | |
| 1968 | - }); | |
| 1969 | - return result; | |
| 1970 | - } | |
| 1971 | - }, | |
| 1972 | - { | |
| 1973 | - key: "getAffectingControls", | |
| 1974 | - value: function getAffectingControls() { | |
| 1975 | - var _this3 = this; | |
| 1976 | - var result = {}; | |
| 1977 | - var activeControls = this.settings.getActiveControls(); | |
| 1978 | - Object.entries(activeControls).forEach(function(_ref3) { | |
| 1979 | - var _ref4 = _slicedToArray(_ref3, 2); | |
| 1980 | - var controlName = _ref4[0]; | |
| 1981 | - var control = _ref4[1]; | |
| 1982 | - var controlValue = _this3.settings.get(control.name); | |
| 1983 | - if (control.global && !(controlValue !== null && controlValue !== void 0 && controlValue.length)) { | |
| 1984 | - var _this3$globals$get; | |
| 1985 | - if ((_this3$globals$get = _this3.globals.get(control.name)) !== null && _this3$globals$get !== void 0 && _this3$globals$get.length || _this3.getGlobalDefault(controlName).length) { | |
| 1986 | - control.global.utilized = true; | |
| 1987 | - result[controlName] = control; | |
| 1988 | - return; | |
| 1989 | - } | |
| 1990 | - } | |
| 1991 | - if (control.dynamic) { | |
| 1992 | - if (_this3.dynamic.get(controlName)) { | |
| 1993 | - control.dynamic.utilized = true; | |
| 1994 | - result[controlName] = control; | |
| 1995 | - return; | |
| 1996 | - } | |
| 1997 | - } | |
| 1998 | - if (controlValue === control.default) return; | |
| 1999 | - if (!controlValue) return; | |
| 2000 | - if ("object" === _typeof(controlValue) && Object.values(controlValue).join() === Object.values(control.default).join()) return; | |
| 2001 | - result[controlName] = control; | |
| 2002 | - }); | |
| 2003 | - return result; | |
| 2004 | - } | |
| 2005 | - }, | |
| 2006 | - { | |
| 2007 | - key: "getParentAncestry", | |
| 2008 | - value: function getParentAncestry() { | |
| 2009 | - var result = []; | |
| 2010 | - var parent = this; | |
| 2011 | - while (parent) { | |
| 2012 | - result.push(parent); | |
| 2013 | - parent = parent.parent; | |
| 2014 | - } | |
| 2015 | - return result; | |
| 2016 | - } | |
| 2017 | - }, | |
| 2018 | - { | |
| 2019 | - key: "handleChildrenRecursive", | |
| 2020 | - value: function handleChildrenRecursive() { | |
| 2021 | - var _this$view$children; | |
| 2022 | - if ((_this$view$children = this.view.children) !== null && _this$view$children !== void 0 && _this$view$children.length) Object.values(this.view.children._views).forEach(function(view) { | |
| 2023 | - if (!view.container) return; | |
| 2024 | - var container = view.container; | |
| 2025 | - if (container.parent.children) container.parent.children[view._index] = container; | |
| 2026 | - container.handleChildrenRecursive(); | |
| 2027 | - }); | |
| 2028 | - else this.children.clear(); | |
| 2029 | - } | |
| 2030 | - }, | |
| 2031 | - { | |
| 2032 | - key: "addToParent", | |
| 2033 | - value: function addToParent() { | |
| 2034 | - if (!this.parent.children || this.isRepeaterItem()) return; | |
| 2035 | - this.parent.children.splice(this.view._index, 0, this); | |
| 2036 | - } | |
| 2037 | - }, | |
| 2038 | - { | |
| 2039 | - key: "removeFromParent", | |
| 2040 | - value: function removeFromParent() { | |
| 2041 | - var _this4 = this; | |
| 2042 | - if (!this.parent.children || this.isRepeater()) return; | |
| 2043 | - this.parent.children = this.parent.children.filter(function(filtered) { | |
| 2044 | - return filtered.id !== _this4.id; | |
| 2045 | - }); | |
| 2046 | - } | |
| 2047 | - }, | |
| 2048 | - { | |
| 2049 | - key: "handleRepeaterChildren", | |
| 2050 | - value: function handleRepeaterChildren() { | |
| 2051 | - var _this5 = this; | |
| 2052 | - Object.values(this.controls).forEach(function(control) { | |
| 2053 | - if (!control.is_repeater) return; | |
| 2054 | - var model = new Backbone.Model({ name: control.name }); | |
| 2055 | - _this5.repeaters[control.name] = new elementorModules.editor.Container({ | |
| 2056 | - type: Container.TYPE_REPEATER, | |
| 2057 | - id: control.name, | |
| 2058 | - model, | |
| 2059 | - settings: model, | |
| 2060 | - view: _this5.view, | |
| 2061 | - parent: _this5, | |
| 2062 | - label: control.label || control.name, | |
| 2063 | - controls: {}, | |
| 2064 | - renderer: _this5.renderer | |
| 2065 | - }); | |
| 2066 | - _this5.settings.get(control.name).forEach(function(rowModel, index) { | |
| 2067 | - _this5.addRepeaterItem(control.name, rowModel, index); | |
| 2068 | - }); | |
| 2069 | - }); | |
| 2070 | - if (["widget", "document"].includes(this.type)) { | |
| 2071 | - var repeaters = Object.values(this.controls).filter(function(control) { | |
| 2072 | - return "repeater" === control.type; | |
| 2073 | - }); | |
| 2074 | - if (!this.model.get("supportRepeaterChildren") && 1 === repeaters.length) Object.defineProperty(this, "children", { get: function get() { | |
| 2075 | - elementorDevTools.deprecation.deprecated("children", "3.0.0", "container.repeaters[ repeaterName ].children"); | |
| 2076 | - return this.repeaters[repeaters[0].name].children; | |
| 2077 | - } }); | |
| 2078 | - } | |
| 2079 | - } | |
| 2080 | - }, | |
| 2081 | - { | |
| 2082 | - key: "addRepeaterItem", | |
| 2083 | - value: function addRepeaterItem(repeaterName, rowSettingsModel, index) { | |
| 2084 | - var rowId = rowSettingsModel.get("_id"); | |
| 2085 | - if (!rowId) { | |
| 2086 | - rowId = "bc-" + elementorCommon.helpers.getUniqueId(); | |
| 2087 | - rowSettingsModel.set("_id", rowId); | |
| 2088 | - } | |
| 2089 | - this.repeaters[repeaterName].children.splice(index, 0, new elementorModules.editor.Container({ | |
| 2090 | - type: Container.TYPE_REPEATER_ITEM, | |
| 2091 | - id: rowSettingsModel.get("_id"), | |
| 2092 | - model: new Backbone.Model({ name: repeaterName }), | |
| 2093 | - settings: rowSettingsModel, | |
| 2094 | - view: this.view, | |
| 2095 | - parent: this.repeaters[repeaterName], | |
| 2096 | - label: this.label + " " + (0, _wordpress_i18n.__)("Item", "elementor"), | |
| 2097 | - controls: rowSettingsModel.options.controls, | |
| 2098 | - renderer: this.renderer | |
| 2099 | - })); | |
| 2100 | - return this.repeaters[repeaterName]; | |
| 2101 | - } | |
| 2102 | - }, | |
| 2103 | - { | |
| 2104 | - key: "lookup", | |
| 2105 | - value: function lookup() { | |
| 2106 | - var _this$renderer$view; | |
| 2107 | - var result = this; | |
| 2108 | - if (!this.renderer) return this; | |
| 2109 | - if (this !== this.renderer && (_this$renderer$view = this.renderer.view) !== null && _this$renderer$view !== void 0 && _this$renderer$view.isDisconnected && this.renderer.view.isDisconnected()) this.renderer = this.renderer.lookup(); | |
| 2110 | - if (void 0 === this.view || !this.view.lookup || !this.view.isDisconnected()) { | |
| 2111 | - if (Container.TYPE_REPEATER_ITEM === this.type) this.settings = this.parent.parent.settings.get(this.model.get("name")).findWhere({ _id: this.id }); | |
| 2112 | - return result; | |
| 2113 | - } | |
| 2114 | - var lookup = this.view.lookup(); | |
| 2115 | - if (lookup) { | |
| 2116 | - result = lookup.getContainer(); | |
| 2117 | - if (Container.REPEATER === this.type) { | |
| 2118 | - this.settings = result.settings.get(this.model.get("name")).findWhere({ _id: this.id }); | |
| 2119 | - return this; | |
| 2120 | - } | |
| 2121 | - if (result.parent.children) result.parent.children[result.view._index] = result; | |
| 2122 | - } | |
| 2123 | - return result; | |
| 2124 | - } | |
| 2125 | - }, | |
| 2126 | - { | |
| 2127 | - key: "findChildrenRecursive", | |
| 2128 | - value: function findChildrenRecursive(callback) { | |
| 2129 | - elementorDevTools.deprecation.deprecated("container.findChildrenRecursive( callback )", "3.5.0", "container.children.findRecursive( callback )"); | |
| 2130 | - return this.children.findRecursive(callback); | |
| 2131 | - } | |
| 2132 | - }, | |
| 2133 | - { | |
| 2134 | - key: "forEachChildrenRecursive", | |
| 2135 | - value: function forEachChildrenRecursive(callback) { | |
| 2136 | - elementorDevTools.deprecation.deprecated("container.forEachChildrenRecursive( callback )", "3.5.0", "container.children.forEachRecursive( callback )"); | |
| 2137 | - return this.children.forEachRecursive(callback); | |
| 2138 | - } | |
| 2139 | - }, | |
| 2140 | - { | |
| 2141 | - key: "render", | |
| 2142 | - value: function render() { | |
| 2143 | - var _this$view; | |
| 2144 | - if (!this.renderer) return; | |
| 2145 | - this.renderer.view.renderOnChange(this.settings, (_this$view = this.view) === null || _this$view === void 0 ? void 0 : _this$view.$el); | |
| 2146 | - } | |
| 2147 | - }, | |
| 2148 | - { | |
| 2149 | - key: "renderUI", | |
| 2150 | - value: function renderUI() { | |
| 2151 | - if (!this.renderer) return; | |
| 2152 | - this.renderer.view.renderUI(); | |
| 2153 | - } | |
| 2154 | - }, | |
| 2155 | - { | |
| 2156 | - key: "isEditable", | |
| 2157 | - value: function isEditable() { | |
| 2158 | - var _this$model; | |
| 2159 | - var _this$model$get; | |
| 2160 | - var _this$model$get$get; | |
| 2161 | - return "edit" === elementor.channels.dataEditMode.request("activeMode") && "open" === this.document.editor.status && !((_this$model = this.model) !== null && _this$model !== void 0 && (_this$model$get = _this$model.get) !== null && _this$model$get !== void 0 && (_this$model$get = _this$model$get.call(_this$model, "editSettings")) !== null && _this$model$get !== void 0 && (_this$model$get$get = _this$model$get.get) !== null && _this$model$get$get !== void 0 && _this$model$get$get.call(_this$model$get, "inactive")); | |
| 2162 | - } | |
| 2163 | - }, | |
| 2164 | - { | |
| 2165 | - key: "isDesignable", | |
| 2166 | - value: function isDesignable() { | |
| 2167 | - return elementor.userCan("design") && this.isEditable(); | |
| 2168 | - } | |
| 2169 | - }, | |
| 2170 | - { | |
| 2171 | - key: "isGridContainer", | |
| 2172 | - value: function isGridContainer() { | |
| 2173 | - return "grid" === this.parent.settings.get("container_type"); | |
| 2174 | - } | |
| 2175 | - }, | |
| 2176 | - { | |
| 2177 | - key: "isLocked", | |
| 2178 | - value: function isLocked() { | |
| 2179 | - return this.model.get("isLocked"); | |
| 2180 | - } | |
| 2181 | - }, | |
| 2182 | - { | |
| 2183 | - key: "isRepeater", | |
| 2184 | - value: function isRepeater() { | |
| 2185 | - return Container.TYPE_REPEATER === this.type; | |
| 2186 | - } | |
| 2187 | - }, | |
| 2188 | - { | |
| 2189 | - key: "isRepeaterItem", | |
| 2190 | - value: function isRepeaterItem() { | |
| 2191 | - return Container.TYPE_REPEATER_ITEM === this.type; | |
| 2192 | - } | |
| 2193 | - }, | |
| 2194 | - { | |
| 2195 | - key: "isViewElement", | |
| 2196 | - value: function isViewElement() { | |
| 2197 | - return this.view && this.model.get("elType"); | |
| 2198 | - } | |
| 2199 | - }, | |
| 2200 | - { | |
| 2201 | - key: "getSetting", | |
| 2202 | - value: function getSetting(name) { | |
| 2203 | - var localOnly = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false; | |
| 2204 | - var localValue = this.settings.get(name); | |
| 2205 | - if (localOnly) return localValue; | |
| 2206 | - var globalValue; | |
| 2207 | - if (this.getGlobalKey(name)) globalValue = this.getGlobalValue(name); | |
| 2208 | - return globalValue || localValue || this.getGlobalDefault(name); | |
| 2209 | - } | |
| 2210 | - }, | |
| 2211 | - { | |
| 2212 | - key: "getGlobalKey", | |
| 2213 | - value: function getGlobalKey(name) { | |
| 2214 | - return this.globals.get(name); | |
| 2215 | - } | |
| 2216 | - }, | |
| 2217 | - { | |
| 2218 | - key: "getGlobalValue", | |
| 2219 | - value: function getGlobalValue(name) { | |
| 2220 | - var control = this.controls[name]; | |
| 2221 | - var globalKey = this.getGlobalKey(name); | |
| 2222 | - var globalArgs = $e.data.commandExtractArgs(globalKey); | |
| 2223 | - var data = $e.data.getCache($e.components.get("globals"), globalArgs.command, globalArgs.args.query); | |
| 2224 | - if (!(data !== null && data !== void 0 && data.value)) return; | |
| 2225 | - var id = data.id; | |
| 2226 | - var value; | |
| 2227 | - if (control.groupType) { | |
| 2228 | - var responsivePrefixRegex = elementor.breakpoints.getActiveMatchRegex(); | |
| 2229 | - var propertyName = control.name.replace(control.groupPrefix, "").replace(responsivePrefixRegex, ""); | |
| 2230 | - if (!data.value[elementor.config.kit_config.typography_prefix + propertyName]) return; | |
| 2231 | - propertyName = propertyName.replace("_", "-"); | |
| 2232 | - value = "var( --e-global-".concat(control.groupType, "-").concat(id, "-").concat(propertyName, " )"); | |
| 2233 | - if (elementor.config.ui.defaultGenericFonts && control.groupPrefix + "font_family" === control.name) value += ", ".concat(elementor.config.ui.defaultGenericFonts); | |
| 2234 | - } else value = "var( --e-global-".concat(control.type, "-").concat(id, " )"); | |
| 2235 | - return value; | |
| 2236 | - } | |
| 2237 | - }, | |
| 2238 | - { | |
| 2239 | - key: "isGlobalApplied", | |
| 2240 | - value: function isGlobalApplied(controlName) { | |
| 2241 | - return this.getSetting(controlName) !== this.settings.get(controlName); | |
| 2242 | - } | |
| 2243 | - }, | |
| 2244 | - { | |
| 2245 | - key: "getGlobalDefault", | |
| 2246 | - value: function getGlobalDefault(controlName) { | |
| 2247 | - var _this$controls$contro; | |
| 2248 | - var controlGlobalArgs = (_this$controls$contro = this.controls[controlName]) === null || _this$controls$contro === void 0 ? void 0 : _this$controls$contro.global; | |
| 2249 | - if (controlGlobalArgs !== null && controlGlobalArgs !== void 0 && controlGlobalArgs.default) { | |
| 2250 | - var controlType = this.controls[controlName].type; | |
| 2251 | - if ("color" === controlType) controlType = "colors"; | |
| 2252 | - if (!elementor.config.globals.defaults_enabled[controlType]) return ""; | |
| 2253 | - var _$e$data$commandExtra = $e.data.commandExtractArgs(controlGlobalArgs.default); | |
| 2254 | - var command = _$e$data$commandExtra.command; | |
| 2255 | - var args = _$e$data$commandExtra.args; | |
| 2256 | - var result = $e.data.getCache($e.components.get("globals"), command, args.query); | |
| 2257 | - return result === null || result === void 0 ? void 0 : result.value; | |
| 2258 | - } | |
| 2259 | - return ""; | |
| 2260 | - } | |
| 2261 | - } | |
| 2262 | - ]); | |
| 2263 | - }(ArgsObject); | |
| 2264 | - _defineProperty(Container, "TYPE_REPEATER", "repeater-control"); | |
| 2265 | - _defineProperty(Container, "TYPE_REPEATER_ITEM", "repeater"); | |
| 5761 | + /** | |
| 5762 | + * Container settings. | |
| 5763 | + * | |
| 5764 | + * @type {Backbone.Model} | |
| 5765 | + */ | |
| 2266 | 5766 | |
| 2267 | -//#endregion | |
| 2268 | -//#region assets/dev/js/editor/modules.js | |
| 2269 | - elementorModules.editor = { | |
| 2270 | - elements: { models: { BaseSettings: import_base_settings.default } }, | |
| 2271 | - utils: { | |
| 2272 | - Module: import_module.default, | |
| 2273 | - Introduction: _default | |
| 2274 | - }, | |
| 2275 | - views: { ControlsStack }, | |
| 2276 | - Container | |
| 2277 | - }; | |
| 5767 | + /** | |
| 5768 | + * Container view. | |
| 5769 | + * | |
| 5770 | + * @type {ViewsOptions} | |
| 5771 | + */ | |
| 2278 | 5772 | |
| 2279 | -//#endregion | |
| 2280 | -})(wp.i18n); | |
| 5773 | + /** | |
| 5774 | + * Container parent. | |
| 5775 | + * | |
| 5776 | + * @type {Container} | |
| 5777 | + */ | |
| 5778 | + | |
| 5779 | + /** | |
| 5780 | + * Container children(s). | |
| 5781 | + * | |
| 5782 | + * @type {Array} | |
| 5783 | + */ | |
| 5784 | + | |
| 5785 | + /** | |
| 5786 | + * Container dynamic. | |
| 5787 | + * | |
| 5788 | + * @type {Backbone.Model} | |
| 5789 | + */ | |
| 5790 | + | |
| 5791 | + /** | |
| 5792 | + * Container globals. | |
| 5793 | + * | |
| 5794 | + * @type {Backbone.Model} | |
| 5795 | + */ | |
| 5796 | + | |
| 5797 | + /** | |
| 5798 | + * Container label. | |
| 5799 | + * | |
| 5800 | + * @type {string} | |
| 5801 | + */ | |
| 5802 | + | |
| 5803 | + /** | |
| 5804 | + * Container controls. | |
| 5805 | + * | |
| 5806 | + * @type {{}} | |
| 5807 | + */ | |
| 5808 | + | |
| 5809 | + /** | |
| 5810 | + * Repeaters containers | |
| 5811 | + * | |
| 5812 | + * @type {{}} | |
| 5813 | + */ | |
| 5814 | + | |
| 5815 | + /** | |
| 5816 | + * Container renderer (The one who render). | |
| 5817 | + * | |
| 5818 | + * @type {Container} | |
| 5819 | + */ | |
| 5820 | + | |
| 5821 | + /** | |
| 5822 | + * Container panel. | |
| 5823 | + * | |
| 5824 | + * @type {Panel} | |
| 5825 | + */ | |
| 5826 | + | |
| 5827 | + /** | |
| 5828 | + * Function constructor(). | |
| 5829 | + * | |
| 5830 | + * Create container. | |
| 5831 | + * | |
| 5832 | + * @param {{}} args | |
| 5833 | + * | |
| 5834 | + * @throws {Error} | |
| 5835 | + */ | |
| 5836 | + function Container(args) { | |
| 5837 | + var _this; | |
| 5838 | + | |
| 5839 | + (0, _classCallCheck2.default)(this, Container); | |
| 5840 | + _this = _super.call(this, args); // Validate args. | |
| 5841 | + | |
| 5842 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "type", void 0); | |
| 5843 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "id", void 0); | |
| 5844 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "document", void 0); | |
| 5845 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "model", void 0); | |
| 5846 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "settings", void 0); | |
| 5847 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "view", void 0); | |
| 5848 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "parent", void 0); | |
| 5849 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "children", []); | |
| 5850 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "dynamic", void 0); | |
| 5851 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "globals", void 0); | |
| 5852 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "label", void 0); | |
| 5853 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "controls", {}); | |
| 5854 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "repeaters", {}); | |
| 5855 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "renderer", void 0); | |
| 5856 | + (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "panel", void 0); | |
| 5857 | + | |
| 5858 | + _this.validateArgs(args); | |
| 5859 | + | |
| 5860 | + args = (0, _entries.default)(args); // If empty. | |
| 5861 | + | |
| 5862 | + if (0 === args.length) { | |
| 5863 | + throw Error('Container cannot be empty.'); | |
| 5864 | + } // Set properties, if not defined - keep the defaults. | |
| 5865 | + | |
| 5866 | + | |
| 5867 | + args.forEach(function (_ref) { | |
| 5868 | + var _ref2 = (0, _slicedToArray2.default)(_ref, 2), | |
| 5869 | + key = _ref2[0], | |
| 5870 | + value = _ref2[1]; | |
| 5871 | + | |
| 5872 | + _this[key] = 'undefined' === typeof value ? _this[key] : value; | |
| 5873 | + }); | |
| 5874 | + | |
| 5875 | + if ('undefined' === typeof _this.renderer) { | |
| 5876 | + _this.renderer = (0, _assertThisInitialized2.default)(_this); | |
| 5877 | + } | |
| 5878 | + | |
| 5879 | + if (!_this.document) { | |
| 5880 | + _this.document = elementor.documents.getCurrent(); | |
| 5881 | + } | |
| 5882 | + | |
| 5883 | + _this.dynamic = new Backbone.Model(_this.settings.get('__dynamic__')); | |
| 5884 | + _this.globals = new Backbone.Model(_this.settings.get('__globals__')); | |
| 5885 | + _this.panel = new _panel.default((0, _assertThisInitialized2.default)(_this)); | |
| 5886 | + | |
| 5887 | + _this.handleRepeaterChildren(); | |
| 5888 | + | |
| 5889 | + return _this; | |
| 5890 | + } | |
| 5891 | + | |
| 5892 | + (0, _createClass2.default)(Container, [{ | |
| 5893 | + key: "validateArgs", | |
| 5894 | + value: function validateArgs(args) { | |
| 5895 | + this.requireArgumentType('type', 'string', args); | |
| 5896 | + this.requireArgumentType('id', 'string', args); | |
| 5897 | + this.requireArgumentInstance('settings', Backbone.Model, args); | |
| 5898 | + this.requireArgumentInstance('model', Backbone.Model, args); | |
| 5899 | + } | |
| 5900 | + /** | |
| 5901 | + * Function getGroupRelatedControls(). | |
| 5902 | + * | |
| 5903 | + * Example: | |
| 5904 | + * Settings = { typography_typography: 'whatever', button_text_color: 'whatever' }; | |
| 5905 | + * Result { control_name: controlValue, ... - and so on }; | |
| 5906 | + * `Object.keys( Result ) = [ 'typography_typography', 'typography_font_family', 'typography_font_size', 'typography_font_size_tablet', 'typography_font_size_mobile', 'typography_font_weight', 'typography_text_transform', 'typography_font_style', 'typography_text_decoration', 'typography_line_height', 'typography_line_height_tablet', 'typography_line_height_mobile', 'typography_letter_spacing', 'typography_letter_spacing_tablet', 'typography_letter_spacing_mobile', 'button_text_color' ]`. | |
| 5907 | + * | |
| 5908 | + * @param {{}} settings | |
| 5909 | + * | |
| 5910 | + * @return {{}} | |
| 5911 | + */ | |
| 5912 | + | |
| 5913 | + }, { | |
| 5914 | + key: "getGroupRelatedControls", | |
| 5915 | + value: function getGroupRelatedControls(settings) { | |
| 5916 | + var _this2 = this; | |
| 5917 | + | |
| 5918 | + var result = {}; | |
| 5919 | + (0, _keys.default)(settings).forEach(function (settingKey) { | |
| 5920 | + (0, _values.default)(_this2.controls).forEach(function (control) { | |
| 5921 | + var _this2$controls$setti; | |
| 5922 | + | |
| 5923 | + if (settingKey === control.name) { | |
| 5924 | + result[control.name] = control; | |
| 5925 | + } else if ((_this2$controls$setti = _this2.controls[settingKey]) === null || _this2$controls$setti === void 0 ? void 0 : _this2$controls$setti.groupPrefix) { | |
| 5926 | + var groupPrefix = _this2.controls[settingKey].groupPrefix; | |
| 5927 | + | |
| 5928 | + if (control.name.toString().startsWith(groupPrefix)) { | |
| 5929 | + result[control.name] = control; | |
| 5930 | + } | |
| 5931 | + } | |
| 5932 | + }); | |
| 5933 | + }); | |
| 5934 | + return result; | |
| 5935 | + } | |
| 5936 | + }, { | |
| 5937 | + key: "handleRepeaterChildren", | |
| 5938 | + value: function handleRepeaterChildren() { | |
| 5939 | + var _this3 = this; | |
| 5940 | + | |
| 5941 | + (0, _values.default)(this.controls).forEach(function (control) { | |
| 5942 | + if (!control.is_repeater) { | |
| 5943 | + return; | |
| 5944 | + } | |
| 5945 | + | |
| 5946 | + var model = new Backbone.Model({ | |
| 5947 | + name: control.name | |
| 5948 | + }); | |
| 5949 | + _this3.repeaters[control.name] = new elementorModules.editor.Container({ | |
| 5950 | + // TODO: replace to `repeater`, and the item should by `repeater-item`. | |
| 5951 | + type: 'repeater-control', | |
| 5952 | + id: control.name, | |
| 5953 | + model: model, | |
| 5954 | + settings: model, | |
| 5955 | + view: _this3.view, | |
| 5956 | + parent: _this3, | |
| 5957 | + label: control.label || control.name, | |
| 5958 | + controls: {}, | |
| 5959 | + renderer: _this3.renderer | |
| 5960 | + }); | |
| 5961 | + | |
| 5962 | + _this3.settings.get(control.name).forEach(function (rowModel, index) { | |
| 5963 | + _this3.addRepeaterItem(control.name, rowModel, index); | |
| 5964 | + }); | |
| 5965 | + }); // Backwards Compatibility: if there is only one repeater (type=repeater), set it's children as current children. | |
| 5966 | + // Since 3.0.0. | |
| 5967 | + | |
| 5968 | + if (['widget', 'document'].includes(this.type)) { | |
| 5969 | + var repeaters = (0, _values.default)(this.controls).filter(function (control) { | |
| 5970 | + return 'repeater' === control.type; | |
| 5971 | + }); | |
| 5972 | + | |
| 5973 | + if (1 === repeaters.length) { | |
| 5974 | + (0, _defineProperty2.default)(this, 'children', { | |
| 5975 | + get: function get() { | |
| 5976 | + elementorCommon.helpers.softDeprecated('children', '3.0.0', 'container.repeaters[ repeaterName ].children'); | |
| 5977 | + return this.repeaters[repeaters[0].name].children; | |
| 5978 | + } | |
| 5979 | + }); | |
| 5980 | + } | |
| 5981 | + } | |
| 5982 | + } | |
| 5983 | + }, { | |
| 5984 | + key: "addRepeaterItem", | |
| 5985 | + value: function addRepeaterItem(repeaterName, rowSettingsModel, index) { | |
| 5986 | + var rowId = rowSettingsModel.get('_id'); // TODO: Temp backwards compatibility. since 2.8.0. | |
| 5987 | + | |
| 5988 | + if (!rowId) { | |
| 5989 | + rowId = 'bc-' + elementorCommon.helpers.getUniqueId(); | |
| 5990 | + rowSettingsModel.set('_id', rowId); | |
| 5991 | + } | |
| 5992 | + | |
| 5993 | + this.repeaters[repeaterName].children.splice(index, 0, new elementorModules.editor.Container({ | |
| 5994 | + type: 'repeater', | |
| 5995 | + id: rowSettingsModel.get('_id'), | |
| 5996 | + model: new Backbone.Model({ | |
| 5997 | + name: repeaterName | |
| 5998 | + }), | |
| 5999 | + settings: rowSettingsModel, | |
| 6000 | + view: this.view, | |
| 6001 | + parent: this.repeaters[repeaterName], | |
| 6002 | + label: this.label + ' ' + elementor.translate('Item'), | |
| 6003 | + controls: rowSettingsModel.options.controls, | |
| 6004 | + renderer: this.renderer | |
| 6005 | + })); | |
| 6006 | + } | |
| 6007 | + /** | |
| 6008 | + * Function lookup(). | |
| 6009 | + * | |
| 6010 | + * If the view were destroyed, try to find it again if it exists. | |
| 6011 | + * | |
| 6012 | + * TODO: Refactor. | |
| 6013 | + * | |
| 6014 | + * @returns {Container} | |
| 6015 | + */ | |
| 6016 | + | |
| 6017 | + }, { | |
| 6018 | + key: "lookup", | |
| 6019 | + value: function lookup() { | |
| 6020 | + var _this$renderer$view; | |
| 6021 | + | |
| 6022 | + var result = this; | |
| 6023 | + | |
| 6024 | + if (!this.renderer) { | |
| 6025 | + return this; | |
| 6026 | + } | |
| 6027 | + | |
| 6028 | + if (this !== this.renderer && ((_this$renderer$view = this.renderer.view) === null || _this$renderer$view === void 0 ? void 0 : _this$renderer$view.isDisconnected) && this.renderer.view.isDisconnected()) { | |
| 6029 | + this.renderer = this.renderer.lookup(); | |
| 6030 | + } | |
| 6031 | + | |
| 6032 | + if (undefined === this.view || !this.view.lookup || !this.view.isDisconnected()) { | |
| 6033 | + // Hack For repeater item the result is the parent container. | |
| 6034 | + if ('repeater' === this.type) { | |
| 6035 | + this.settings = this.parent.parent.settings.get(this.model.get('name')).findWhere({ | |
| 6036 | + _id: this.id | |
| 6037 | + }); | |
| 6038 | + } | |
| 6039 | + | |
| 6040 | + return result; | |
| 6041 | + } | |
| 6042 | + | |
| 6043 | + var lookup = this.view.lookup(); | |
| 6044 | + | |
| 6045 | + if (lookup) { | |
| 6046 | + result = lookup.getContainer(); // Hack For repeater item the result is the parent container. | |
| 6047 | + | |
| 6048 | + if ('repeater' === this.type) { | |
| 6049 | + this.settings = result.settings.get(this.model.get('name')).findWhere({ | |
| 6050 | + _id: this.id | |
| 6051 | + }); | |
| 6052 | + return this; | |
| 6053 | + } | |
| 6054 | + } | |
| 6055 | + | |
| 6056 | + return result; | |
| 6057 | + } | |
| 6058 | + /** | |
| 6059 | + * Function render(). | |
| 6060 | + * | |
| 6061 | + * Call view render. | |
| 6062 | + * | |
| 6063 | + * Run's `this.renderer.view.renderOnChange( this.settings ) `. | |
| 6064 | + * When `this.renderer` exist. | |
| 6065 | + * | |
| 6066 | + */ | |
| 6067 | + | |
| 6068 | + }, { | |
| 6069 | + key: "render", | |
| 6070 | + value: function render() { | |
| 6071 | + if (!this.renderer) { | |
| 6072 | + return; | |
| 6073 | + } | |
| 6074 | + | |
| 6075 | + this.renderer.view.renderOnChange(this.settings); | |
| 6076 | + } | |
| 6077 | + }, { | |
| 6078 | + key: "renderUI", | |
| 6079 | + value: function renderUI() { | |
| 6080 | + if (!this.renderer) { | |
| 6081 | + return; | |
| 6082 | + } | |
| 6083 | + | |
| 6084 | + this.renderer.view.renderUI(); | |
| 6085 | + } | |
| 6086 | + }, { | |
| 6087 | + key: "isEditable", | |
| 6088 | + value: function isEditable() { | |
| 6089 | + return 'edit' === elementor.channels.dataEditMode.request('activeMode') && 'open' === this.document.editor.status; | |
| 6090 | + } | |
| 6091 | + }, { | |
| 6092 | + key: "isDesignable", | |
| 6093 | + value: function isDesignable() { | |
| 6094 | + return elementor.userCan('design') && this.isEditable(); | |
| 6095 | + } | |
| 6096 | + }]); | |
| 6097 | + return Container; | |
| 6098 | +}(_argsObject.default); | |
| 6099 | + | |
| 6100 | +exports.default = Container; | |
| 6101 | + | |
| 6102 | +/***/ }), | |
| 6103 | +/* 826 */ | |
| 6104 | +/***/ (function(module, exports, __webpack_require__) { | |
| 6105 | + | |
| 6106 | +"use strict"; | |
| 6107 | + | |
| 6108 | + | |
| 6109 | +var _interopRequireDefault = __webpack_require__(0); | |
| 6110 | + | |
| 6111 | +var _Object$defineProperty = __webpack_require__(1); | |
| 6112 | + | |
| 6113 | +_Object$defineProperty(exports, "__esModule", { | |
| 6114 | + value: true | |
| 6115 | +}); | |
| 6116 | + | |
| 6117 | +exports.default = void 0; | |
| 6118 | + | |
| 6119 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2)); | |
| 6120 | + | |
| 6121 | +var _createClass2 = _interopRequireDefault(__webpack_require__(3)); | |
| 6122 | + | |
| 6123 | +var Panel = /*#__PURE__*/function () { | |
| 6124 | + /** | |
| 6125 | + * Function constructor(). | |
| 6126 | + * | |
| 6127 | + * Create constructor panel. | |
| 6128 | + * | |
| 6129 | + * @param {Container} container | |
| 6130 | + */ | |
| 6131 | + function Panel(container) { | |
| 6132 | + (0, _classCallCheck2.default)(this, Panel); | |
| 6133 | + this.container = container; | |
| 6134 | + } | |
| 6135 | + /** | |
| 6136 | + * Function refresh(). | |
| 6137 | + * | |
| 6138 | + * Refresh the panel. | |
| 6139 | + */ | |
| 6140 | + | |
| 6141 | + | |
| 6142 | + (0, _createClass2.default)(Panel, [{ | |
| 6143 | + key: "refresh", | |
| 6144 | + value: function refresh() { | |
| 6145 | + if ($e.routes.isPartOf('panel/editor')) { | |
| 6146 | + $e.routes.refreshContainer('panel'); | |
| 6147 | + } | |
| 6148 | + } | |
| 6149 | + /** | |
| 6150 | + * Function closeEditor(). | |
| 6151 | + * | |
| 6152 | + * Route to `panel/elements/categories` | |
| 6153 | + */ | |
| 6154 | + | |
| 6155 | + }, { | |
| 6156 | + key: "closeEditor", | |
| 6157 | + value: function closeEditor() { | |
| 6158 | + $e.route('panel/elements/categories'); | |
| 6159 | + } | |
| 6160 | + }, { | |
| 6161 | + key: "getControlView", | |
| 6162 | + value: function getControlView(name) { | |
| 6163 | + var editor = elementor.getPanelView().getCurrentPageView(); | |
| 6164 | + return editor.children.findByModelCid(this.getControlModel(name).cid); | |
| 6165 | + } | |
| 6166 | + }, { | |
| 6167 | + key: "getControlModel", | |
| 6168 | + value: function getControlModel(name) { | |
| 6169 | + var editor = elementor.getPanelView().getCurrentPageView(); | |
| 6170 | + return editor.collection.findWhere({ | |
| 6171 | + name: name | |
| 6172 | + }); | |
| 6173 | + } | |
| 6174 | + }]); | |
| 6175 | + return Panel; | |
| 6176 | +}(); | |
| 6177 | + | |
| 6178 | +exports.default = Panel; | |
| 6179 | + | |
| 6180 | +/***/ }) | |
| 6181 | +/******/ ]); | |
| 2281 | 6182 | //# sourceMappingURL=editor-modules.js.map |