| @@ -1,3718 +1,5557 @@ | ||
| 1 | -(function(_wordpress_i18n) { | |
| 1 | +/*! elementor - v3.4.0 - 17-08-2021 */ | |
| 2 | +/******/ (() => { // webpackBootstrap | |
| 3 | +/******/ var __webpack_modules__ = ({ | |
| 2 | 4 | |
| 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 __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); | |
| 15 | - var __copyProps = (to, from, except, desc) => { | |
| 16 | - if (from && typeof from === "object" || typeof from === "function") { | |
| 17 | - for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { | |
| 18 | - key = keys[i]; | |
| 19 | - if (!__hasOwnProp.call(to, key) && key !== except) { | |
| 20 | - __defProp(to, key, { | |
| 21 | - get: ((k) => from[k]).bind(null, key), | |
| 22 | - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable | |
| 23 | - }); | |
| 24 | - } | |
| 25 | - } | |
| 26 | - } | |
| 27 | - return to; | |
| 28 | - }; | |
| 29 | - var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { | |
| 30 | - value: mod, | |
| 31 | - enumerable: true | |
| 32 | - }) : target, mod)); | |
| 5 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js": | |
| 6 | +/*!********************************************************************!*\ | |
| 7 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/array/from.js ***! | |
| 8 | + \********************************************************************/ | |
| 9 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 33 | 10 | |
| 34 | -//#endregion | |
| 11 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/from */ "../node_modules/core-js/library/fn/array/from.js"); | |
| 35 | 12 | |
| 36 | -//#region node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js | |
| 37 | - function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 38 | - try { | |
| 39 | - var i = n[a](c); | |
| 40 | - var u = i.value; | |
| 41 | - } catch (n) { | |
| 42 | - e(n); | |
| 43 | - return; | |
| 44 | - } | |
| 45 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 46 | - } | |
| 47 | - function _asyncToGenerator(n) { | |
| 48 | - return function() { | |
| 49 | - var t = this; | |
| 50 | - var e = arguments; | |
| 51 | - return new Promise(function(r, o) { | |
| 52 | - var a = n.apply(t, e); | |
| 53 | - function _next(n) { | |
| 54 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 55 | - } | |
| 56 | - function _throw(n) { | |
| 57 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 58 | - } | |
| 59 | - _next(void 0); | |
| 60 | - }); | |
| 61 | - }; | |
| 62 | - } | |
| 13 | +/***/ }), | |
| 63 | 14 | |
| 64 | -//#endregion | |
| 65 | -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js | |
| 66 | - function _arrayWithHoles(r) { | |
| 67 | - if (Array.isArray(r)) return r; | |
| 68 | - } | |
| 15 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js": | |
| 16 | +/*!************************************************************************!*\ | |
| 17 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js ***! | |
| 18 | + \************************************************************************/ | |
| 19 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 69 | 20 | |
| 70 | -//#endregion | |
| 71 | -//#region node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js | |
| 72 | - function _iterableToArrayLimit(r, l) { | |
| 73 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 74 | - if (null != t) { | |
| 75 | - var e; | |
| 76 | - var n; | |
| 77 | - var i; | |
| 78 | - var u; | |
| 79 | - var a = []; | |
| 80 | - var f = !0; | |
| 81 | - var o = !1; | |
| 82 | - try { | |
| 83 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 84 | - if (Object(t) !== t) return; | |
| 85 | - f = !1; | |
| 86 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 87 | - } catch (r) { | |
| 88 | - o = !0, n = r; | |
| 89 | - } finally { | |
| 90 | - try { | |
| 91 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 92 | - } finally { | |
| 93 | - if (o) throw n; | |
| 94 | - } | |
| 95 | - } | |
| 96 | - return a; | |
| 97 | - } | |
| 98 | - } | |
| 21 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/is-array */ "../node_modules/core-js/library/fn/array/is-array.js"); | |
| 99 | 22 | |
| 100 | -//#endregion | |
| 101 | -//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js | |
| 102 | - function _arrayLikeToArray$2(r, a) { | |
| 103 | - (null == a || a > r.length) && (a = r.length); | |
| 104 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 105 | - return n; | |
| 106 | - } | |
| 107 | - __name(_arrayLikeToArray$2, "_arrayLikeToArray"); | |
| 23 | +/***/ }), | |
| 108 | 24 | |
| 109 | -//#endregion | |
| 110 | -//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js | |
| 111 | - function _unsupportedIterableToArray$2(r, a) { | |
| 112 | - if (r) { | |
| 113 | - if ("string" == typeof r) return _arrayLikeToArray$2(r, a); | |
| 114 | - var t = {}.toString.call(r).slice(8, -1); | |
| 115 | - 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; | |
| 116 | - } | |
| 117 | - } | |
| 118 | - __name(_unsupportedIterableToArray$2, "_unsupportedIterableToArray"); | |
| 25 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js": | |
| 26 | +/*!***********************************************************************!*\ | |
| 27 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/create.js ***! | |
| 28 | + \***********************************************************************/ | |
| 29 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 119 | 30 | |
| 120 | -//#endregion | |
| 121 | -//#region node_modules/@babel/runtime/helpers/esm/nonIterableRest.js | |
| 122 | - function _nonIterableRest() { | |
| 123 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 124 | - } | |
| 31 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/create */ "../node_modules/core-js/library/fn/object/create.js"); | |
| 125 | 32 | |
| 126 | -//#endregion | |
| 127 | -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js | |
| 128 | - function _slicedToArray(r, e) { | |
| 129 | - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$2(r, e) || _nonIterableRest(); | |
| 130 | - } | |
| 33 | +/***/ }), | |
| 131 | 34 | |
| 132 | -//#endregion | |
| 133 | -//#region node_modules/@babel/runtime/helpers/OverloadYield.js | |
| 134 | - var require_OverloadYield = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 135 | - function _OverloadYield(e, d) { | |
| 136 | - this.v = e, this.k = d; | |
| 137 | - } | |
| 138 | - module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 139 | - })); | |
| 35 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js": | |
| 36 | +/*!********************************************************************************!*\ | |
| 37 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js ***! | |
| 38 | + \********************************************************************************/ | |
| 39 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 140 | 40 | |
| 141 | -//#endregion | |
| 142 | -//#region node_modules/@babel/runtime/helpers/regeneratorDefine.js | |
| 143 | - var require_regeneratorDefine = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 144 | - function _regeneratorDefine(e, r, n, t) { | |
| 145 | - var i = Object.defineProperty; | |
| 146 | - try { | |
| 147 | - i({}, "", {}); | |
| 148 | - } catch (e) { | |
| 149 | - i = 0; | |
| 150 | - } | |
| 151 | - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) { | |
| 152 | - function o(r, n) { | |
| 153 | - _regeneratorDefine(e, r, function(e) { | |
| 154 | - return this._invoke(r, n, e); | |
| 155 | - }); | |
| 156 | - } | |
| 157 | - r ? i ? i(e, r, { | |
| 158 | - value: n, | |
| 159 | - enumerable: !t, | |
| 160 | - configurable: !t, | |
| 161 | - writable: !t | |
| 162 | - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); | |
| 163 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t); | |
| 164 | - } | |
| 165 | - module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 166 | - })); | |
| 41 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-property */ "../node_modules/core-js/library/fn/object/define-property.js"); | |
| 167 | 42 | |
| 168 | -//#endregion | |
| 169 | -//#region node_modules/@babel/runtime/helpers/regenerator.js | |
| 170 | - var require_regenerator$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 171 | - var regeneratorDefine = require_regeneratorDefine(); | |
| 172 | - function _regenerator() { | |
| 173 | - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ | |
| 174 | - var e; | |
| 175 | - var t; | |
| 176 | - var r = "function" == typeof Symbol ? Symbol : {}; | |
| 177 | - var n = r.iterator || "@@iterator"; | |
| 178 | - var o = r.toStringTag || "@@toStringTag"; | |
| 179 | - function i(r, n, o, i) { | |
| 180 | - var c = n && n.prototype instanceof Generator ? n : Generator; | |
| 181 | - var u = Object.create(c.prototype); | |
| 182 | - return regeneratorDefine(u, "_invoke", function(r, n, o) { | |
| 183 | - var i; | |
| 184 | - var c; | |
| 185 | - var u; | |
| 186 | - var f = 0; | |
| 187 | - var p = o || []; | |
| 188 | - var y = !1; | |
| 189 | - var G = { | |
| 190 | - p: 0, | |
| 191 | - n: 0, | |
| 192 | - v: e, | |
| 193 | - a: d, | |
| 194 | - f: d.bind(e, 4), | |
| 195 | - d: function d(t, r) { | |
| 196 | - return i = t, c = 0, u = e, G.n = r, a; | |
| 197 | - } | |
| 198 | - }; | |
| 199 | - function d(r, n) { | |
| 200 | - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { | |
| 201 | - var o; | |
| 202 | - var i = p[t]; | |
| 203 | - var d = G.p; | |
| 204 | - var l = i[2]; | |
| 205 | - 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)); | |
| 206 | - } | |
| 207 | - if (o || r > 1) return a; | |
| 208 | - throw y = !0, n; | |
| 209 | - } | |
| 210 | - return function(o, p, l) { | |
| 211 | - if (f > 1) throw TypeError("Generator is already running"); | |
| 212 | - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { | |
| 213 | - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); | |
| 214 | - try { | |
| 215 | - if (f = 2, i) { | |
| 216 | - if (c || (o = "next"), t = i[o]) { | |
| 217 | - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); | |
| 218 | - if (!t.done) return t; | |
| 219 | - u = t.value, c < 2 && (c = 0); | |
| 220 | - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); | |
| 221 | - i = e; | |
| 222 | - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; | |
| 223 | - } catch (t) { | |
| 224 | - i = e, c = 1, u = t; | |
| 225 | - } finally { | |
| 226 | - f = 1; | |
| 227 | - } | |
| 228 | - } | |
| 229 | - return { | |
| 230 | - value: t, | |
| 231 | - done: y | |
| 232 | - }; | |
| 233 | - }; | |
| 234 | - }(r, o, i), !0), u; | |
| 235 | - } | |
| 236 | - var a = {}; | |
| 237 | - function Generator() {} | |
| 238 | - function GeneratorFunction() {} | |
| 239 | - function GeneratorFunctionPrototype() {} | |
| 240 | - t = Object.getPrototypeOf; | |
| 241 | - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function() { | |
| 242 | - return this; | |
| 243 | - }), t); | |
| 244 | - var u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); | |
| 245 | - function f(e) { | |
| 246 | - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; | |
| 247 | - } | |
| 248 | - 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() { | |
| 249 | - return this; | |
| 250 | - }), regeneratorDefine(u, "toString", function() { | |
| 251 | - return "[object Generator]"; | |
| 252 | - }), (module.exports = _regenerator = function _regenerator() { | |
| 253 | - return { | |
| 254 | - w: i, | |
| 255 | - m: f | |
| 256 | - }; | |
| 257 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 258 | - } | |
| 259 | - module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 260 | - })); | |
| 43 | +/***/ }), | |
| 261 | 44 | |
| 262 | -//#endregion | |
| 263 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js | |
| 264 | - var require_regeneratorAsyncIterator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 265 | - var OverloadYield = require_OverloadYield(); | |
| 266 | - var regeneratorDefine = require_regeneratorDefine(); | |
| 267 | - function AsyncIterator(t, e) { | |
| 268 | - function n(r, o, i, f) { | |
| 269 | - try { | |
| 270 | - var c = t[r](o); | |
| 271 | - var u = c.value; | |
| 272 | - return u instanceof OverloadYield ? e.resolve(u.v).then(function(t) { | |
| 273 | - n("next", t, i, f); | |
| 274 | - }, function(t) { | |
| 275 | - n("throw", t, i, f); | |
| 276 | - }) : e.resolve(u).then(function(t) { | |
| 277 | - c.value = t, i(c); | |
| 278 | - }, function(t) { | |
| 279 | - return n("throw", t, i, f); | |
| 280 | - }); | |
| 281 | - } catch (t) { | |
| 282 | - f(t); | |
| 283 | - } | |
| 284 | - } | |
| 285 | - var r; | |
| 286 | - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function() { | |
| 287 | - return this; | |
| 288 | - })), regeneratorDefine(this, "_invoke", function(t, o, i) { | |
| 289 | - function f() { | |
| 290 | - return new e(function(e, r) { | |
| 291 | - n(t, i, e, r); | |
| 292 | - }); | |
| 293 | - } | |
| 294 | - return r = r ? r.then(f, f) : f(); | |
| 295 | - }, !0); | |
| 296 | - } | |
| 297 | - module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 298 | - })); | |
| 45 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js": | |
| 46 | +/*!************************************************************************!*\ | |
| 47 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/entries.js ***! | |
| 48 | + \************************************************************************/ | |
| 49 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 299 | 50 | |
| 300 | -//#endregion | |
| 301 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js | |
| 302 | - var require_regeneratorAsyncGen = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 303 | - var regenerator = require_regenerator$1(); | |
| 304 | - var regeneratorAsyncIterator = require_regeneratorAsyncIterator(); | |
| 305 | - function _regeneratorAsyncGen(r, e, t, o, n) { | |
| 306 | - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise); | |
| 307 | - } | |
| 308 | - module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 309 | - })); | |
| 51 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/entries */ "../node_modules/core-js/library/fn/object/entries.js"); | |
| 310 | 52 | |
| 311 | -//#endregion | |
| 312 | -//#region node_modules/@babel/runtime/helpers/regeneratorAsync.js | |
| 313 | - var require_regeneratorAsync = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 314 | - var regeneratorAsyncGen = require_regeneratorAsyncGen(); | |
| 315 | - function _regeneratorAsync(n, e, r, t, o) { | |
| 316 | - var a = regeneratorAsyncGen(n, e, r, t, o); | |
| 317 | - return a.next().then(function(n) { | |
| 318 | - return n.done ? n.value : a.next(); | |
| 319 | - }); | |
| 320 | - } | |
| 321 | - module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 322 | - })); | |
| 53 | +/***/ }), | |
| 323 | 54 | |
| 324 | -//#endregion | |
| 325 | -//#region node_modules/@babel/runtime/helpers/regeneratorKeys.js | |
| 326 | - var require_regeneratorKeys = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 327 | - function _regeneratorKeys(e) { | |
| 328 | - var n = Object(e); | |
| 329 | - var r = []; | |
| 330 | - for (var t in n) r.unshift(t); | |
| 331 | - return function e() { | |
| 332 | - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; | |
| 333 | - return e.done = !0, e; | |
| 334 | - }; | |
| 335 | - } | |
| 336 | - module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 337 | - })); | |
| 55 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js": | |
| 56 | +/*!********************************************************************************************!*\ | |
| 57 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js ***! | |
| 58 | + \********************************************************************************************/ | |
| 59 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 338 | 60 | |
| 339 | -//#endregion | |
| 340 | -//#region node_modules/@babel/runtime/helpers/typeof.js | |
| 341 | - var require_typeof = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 342 | - function _typeof(o) { | |
| 343 | - "@babel/helpers - typeof"; | |
| 344 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 345 | - return typeof o; | |
| 346 | - } : function(o) { | |
| 347 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 348 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 349 | - } | |
| 350 | - module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 351 | - })); | |
| 61 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js"); | |
| 352 | 62 | |
| 353 | -//#endregion | |
| 354 | -//#region node_modules/@babel/runtime/helpers/regeneratorValues.js | |
| 355 | - var require_regeneratorValues = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 356 | - var _typeof = require_typeof()["default"]; | |
| 357 | - function _regeneratorValues(e) { | |
| 358 | - if (null != e) { | |
| 359 | - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"]; | |
| 360 | - var r = 0; | |
| 361 | - if (t) return t.call(e); | |
| 362 | - if ("function" == typeof e.next) return e; | |
| 363 | - if (!isNaN(e.length)) return { next: function next() { | |
| 364 | - return e && r >= e.length && (e = void 0), { | |
| 365 | - value: e && e[r++], | |
| 366 | - done: !e | |
| 367 | - }; | |
| 368 | - } }; | |
| 369 | - } | |
| 370 | - throw new TypeError(_typeof(e) + " is not iterable"); | |
| 371 | - } | |
| 372 | - module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 373 | - })); | |
| 63 | +/***/ }), | |
| 374 | 64 | |
| 375 | -//#endregion | |
| 376 | -//#region node_modules/@babel/runtime/helpers/regeneratorRuntime.js | |
| 377 | - var require_regeneratorRuntime = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 378 | - var OverloadYield = require_OverloadYield(); | |
| 379 | - var regenerator = require_regenerator$1(); | |
| 380 | - var regeneratorAsync = require_regeneratorAsync(); | |
| 381 | - var regeneratorAsyncGen = require_regeneratorAsyncGen(); | |
| 382 | - var regeneratorAsyncIterator = require_regeneratorAsyncIterator(); | |
| 383 | - var regeneratorKeys = require_regeneratorKeys(); | |
| 384 | - var regeneratorValues = require_regeneratorValues(); | |
| 385 | - function _regeneratorRuntime() { | |
| 386 | - "use strict"; | |
| 387 | - var r = regenerator(); | |
| 388 | - var e = r.m(_regeneratorRuntime); | |
| 389 | - var t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; | |
| 390 | - function n(r) { | |
| 391 | - var e = "function" == typeof r && r.constructor; | |
| 392 | - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); | |
| 393 | - } | |
| 394 | - var o = { | |
| 395 | - "throw": 1, | |
| 396 | - "return": 2, | |
| 397 | - "break": 3, | |
| 398 | - "continue": 3 | |
| 399 | - }; | |
| 400 | - function a(r) { | |
| 401 | - var e; | |
| 402 | - var t; | |
| 403 | - return function(n) { | |
| 404 | - e || (e = { | |
| 405 | - stop: function stop() { | |
| 406 | - return t(n.a, 2); | |
| 407 | - }, | |
| 408 | - "catch": function _catch() { | |
| 409 | - return n.v; | |
| 410 | - }, | |
| 411 | - abrupt: function abrupt(r, e) { | |
| 412 | - return t(n.a, o[r], e); | |
| 413 | - }, | |
| 414 | - delegateYield: function delegateYield(r, o, a) { | |
| 415 | - return e.resultName = o, t(n.d, regeneratorValues(r), a); | |
| 416 | - }, | |
| 417 | - finish: function finish(r) { | |
| 418 | - return t(n.f, r); | |
| 419 | - } | |
| 420 | - }, t = function t(r, _t, o) { | |
| 421 | - n.p = e.prev, n.n = e.next; | |
| 422 | - try { | |
| 423 | - return r(_t, o); | |
| 424 | - } finally { | |
| 425 | - e.next = n.n; | |
| 426 | - } | |
| 427 | - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; | |
| 428 | - try { | |
| 429 | - return r.call(this, e); | |
| 430 | - } finally { | |
| 431 | - n.p = e.prev, n.n = e.next; | |
| 432 | - } | |
| 433 | - }; | |
| 434 | - } | |
| 435 | - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 436 | - return { | |
| 437 | - wrap: function wrap(e, t, n, o) { | |
| 438 | - return r.w(a(e), t, n, o && o.reverse()); | |
| 439 | - }, | |
| 440 | - isGeneratorFunction: n, | |
| 441 | - mark: r.m, | |
| 442 | - awrap: function awrap(r, e) { | |
| 443 | - return new OverloadYield(r, e); | |
| 444 | - }, | |
| 445 | - AsyncIterator: regeneratorAsyncIterator, | |
| 446 | - async: function async(r, e, t, o, u) { | |
| 447 | - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u); | |
| 448 | - }, | |
| 449 | - keys: regeneratorKeys, | |
| 450 | - values: regeneratorValues | |
| 451 | - }; | |
| 452 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 453 | - } | |
| 454 | - module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 455 | - })); | |
| 65 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js": | |
| 66 | +/*!*********************************************************************************!*\ | |
| 67 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js ***! | |
| 68 | + \*********************************************************************************/ | |
| 69 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 456 | 70 | |
| 457 | -//#endregion | |
| 458 | -//#region node_modules/@babel/runtime/regenerator/index.js | |
| 459 | - var require_regenerator = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 460 | - var runtime = require_regeneratorRuntime()(); | |
| 461 | - module.exports = runtime; | |
| 462 | - try { | |
| 463 | - regeneratorRuntime = runtime; | |
| 464 | - } catch (accidentalStrictMode) { | |
| 465 | - if (typeof globalThis === "object") globalThis.regeneratorRuntime = runtime; | |
| 466 | - else Function("r", "regeneratorRuntime = r")(runtime); | |
| 467 | - } | |
| 468 | - })); | |
| 71 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-prototype-of */ "../node_modules/core-js/library/fn/object/get-prototype-of.js"); | |
| 469 | 72 | |
| 470 | -//#endregion | |
| 471 | -//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js | |
| 472 | -var import_regenerator = /* @__PURE__ */ __toESM(require_regenerator()); | |
| 473 | - function _classCallCheck(a, n) { | |
| 474 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 475 | - } | |
| 73 | +/***/ }), | |
| 476 | 74 | |
| 477 | -//#endregion | |
| 478 | -//#region node_modules/@babel/runtime/helpers/esm/typeof.js | |
| 479 | - function _typeof(o) { | |
| 480 | - "@babel/helpers - typeof"; | |
| 481 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 482 | - return typeof o; | |
| 483 | - } : function(o) { | |
| 484 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 485 | - }, _typeof(o); | |
| 486 | - } | |
| 75 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js": | |
| 76 | +/*!*********************************************************************************!*\ | |
| 77 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js ***! | |
| 78 | + \*********************************************************************************/ | |
| 79 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 487 | 80 | |
| 488 | -//#endregion | |
| 489 | -//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js | |
| 490 | - function toPrimitive(t, r) { | |
| 491 | - if ("object" != _typeof(t) || !t) return t; | |
| 492 | - var e = t[Symbol.toPrimitive]; | |
| 493 | - if (void 0 !== e) { | |
| 494 | - var i = e.call(t, r || "default"); | |
| 495 | - if ("object" != _typeof(i)) return i; | |
| 496 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 497 | - } | |
| 498 | - return ("string" === r ? String : Number)(t); | |
| 499 | - } | |
| 81 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ "../node_modules/core-js/library/fn/object/set-prototype-of.js"); | |
| 500 | 82 | |
| 501 | -//#endregion | |
| 502 | -//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | |
| 503 | - function toPropertyKey(t) { | |
| 504 | - var i = toPrimitive(t, "string"); | |
| 505 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 506 | - } | |
| 83 | +/***/ }), | |
| 507 | 84 | |
| 508 | -//#endregion | |
| 509 | -//#region node_modules/@babel/runtime/helpers/esm/createClass.js | |
| 510 | - function _defineProperties(e, r) { | |
| 511 | - for (var t = 0; t < r.length; t++) { | |
| 512 | - var o = r[t]; | |
| 513 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 514 | - } | |
| 515 | - } | |
| 516 | - function _createClass(e, r, t) { | |
| 517 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; | |
| 518 | - } | |
| 85 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js": | |
| 86 | +/*!***************************************************************************!*\ | |
| 87 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js ***! | |
| 88 | + \***************************************************************************/ | |
| 89 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 519 | 90 | |
| 520 | -//#endregion | |
| 521 | -//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js | |
| 522 | - function _assertThisInitialized(e) { | |
| 523 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 524 | - return e; | |
| 525 | - } | |
| 91 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/construct */ "../node_modules/core-js/library/fn/reflect/construct.js"); | |
| 526 | 92 | |
| 527 | -//#endregion | |
| 528 | -//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js | |
| 529 | - function _possibleConstructorReturn(t, e) { | |
| 530 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 531 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 532 | - return _assertThisInitialized(t); | |
| 533 | - } | |
| 93 | +/***/ }), | |
| 534 | 94 | |
| 535 | -//#endregion | |
| 536 | -//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js | |
| 537 | - function _getPrototypeOf(t) { | |
| 538 | - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { | |
| 539 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 540 | - }, _getPrototypeOf(t); | |
| 541 | - } | |
| 95 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js": | |
| 96 | +/*!*********************************************************************!*\ | |
| 97 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js ***! | |
| 98 | + \*********************************************************************/ | |
| 99 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 542 | 100 | |
| 543 | -//#endregion | |
| 544 | -//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js | |
| 545 | - function _setPrototypeOf(t, e) { | |
| 546 | - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { | |
| 547 | - return t.__proto__ = e, t; | |
| 548 | - }, _setPrototypeOf(t, e); | |
| 549 | - } | |
| 101 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/get */ "../node_modules/core-js/library/fn/reflect/get.js"); | |
| 550 | 102 | |
| 551 | -//#endregion | |
| 552 | -//#region node_modules/@babel/runtime/helpers/esm/inherits.js | |
| 553 | - function _inherits(t, e) { | |
| 554 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 555 | - t.prototype = Object.create(e && e.prototype, { constructor: { | |
| 556 | - value: t, | |
| 557 | - writable: !0, | |
| 558 | - configurable: !0 | |
| 559 | - } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); | |
| 560 | - } | |
| 103 | +/***/ }), | |
| 561 | 104 | |
| 562 | -//#endregion | |
| 563 | -//#region node_modules/@babel/runtime/helpers/esm/superPropBase.js | |
| 564 | - function _superPropBase(t, o) { | |
| 565 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); | |
| 566 | - return t; | |
| 567 | - } | |
| 105 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js": | |
| 106 | +/*!****************************************************************!*\ | |
| 107 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol.js ***! | |
| 108 | + \****************************************************************/ | |
| 109 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 568 | 110 | |
| 569 | -//#endregion | |
| 570 | -//#region node_modules/@babel/runtime/helpers/esm/get.js | |
| 571 | - function _get() { | |
| 572 | - return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) { | |
| 573 | - var p = _superPropBase(e, t); | |
| 574 | - if (p) { | |
| 575 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 576 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 577 | - } | |
| 578 | - }, _get.apply(null, arguments); | |
| 579 | - } | |
| 111 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol */ "../node_modules/core-js/library/fn/symbol/index.js"); | |
| 580 | 112 | |
| 581 | -//#endregion | |
| 582 | -//#region assets/dev/js/admin/menu-handler.js | |
| 583 | - function _callSuper$11(t, o, e) { | |
| 584 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$11() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 585 | - } | |
| 586 | - __name(_callSuper$11, "_callSuper"); | |
| 587 | - function _isNativeReflectConstruct$11() { | |
| 588 | - try { | |
| 589 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 590 | - } catch (t) {} | |
| 591 | - return (_isNativeReflectConstruct$11 = function _isNativeReflectConstruct() { | |
| 592 | - return !!t; | |
| 593 | - })(); | |
| 594 | - } | |
| 595 | - __name(_isNativeReflectConstruct$11, "_isNativeReflectConstruct"); | |
| 596 | - function _superPropGet$4(t, o, e, r) { | |
| 597 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 598 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 599 | - return p.apply(e, t); | |
| 600 | - } : p; | |
| 601 | - } | |
| 602 | - __name(_superPropGet$4, "_superPropGet"); | |
| 603 | - var MenuHandler = /*#__PURE__*/ function(_elementorModules$Vie) { | |
| 604 | - function MenuHandler() { | |
| 605 | - _classCallCheck(this, MenuHandler); | |
| 606 | - return _callSuper$11(this, MenuHandler, arguments); | |
| 607 | - } | |
| 608 | - _inherits(MenuHandler, _elementorModules$Vie); | |
| 609 | - return _createClass(MenuHandler, [ | |
| 610 | - { | |
| 611 | - key: "getDefaultSettings", | |
| 612 | - value: function getDefaultSettings() { | |
| 613 | - return { selectors: { currentSubmenuItems: "#adminmenu .current" } }; | |
| 614 | - } | |
| 615 | - }, | |
| 616 | - { | |
| 617 | - key: "getDefaultElements", | |
| 618 | - value: function getDefaultElements() { | |
| 619 | - var settings = this.getSettings(); | |
| 620 | - return { | |
| 621 | - $currentSubmenuItems: jQuery(settings.selectors.currentSubmenuItems), | |
| 622 | - $adminPageMenuLink: jQuery("a[href=\"".concat(settings.path, "\"]")) | |
| 623 | - }; | |
| 624 | - } | |
| 625 | - }, | |
| 626 | - { | |
| 627 | - key: "highlightSubMenuItem", | |
| 628 | - value: function highlightSubMenuItem() { | |
| 629 | - var $submenuItem = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null) || this.elements.$adminPageMenuLink; | |
| 630 | - if (this.elements.$currentSubmenuItems.length) this.elements.$currentSubmenuItems.removeClass("current"); | |
| 631 | - $submenuItem.addClass("current"); | |
| 632 | - $submenuItem.parent().addClass("current"); | |
| 633 | - } | |
| 634 | - }, | |
| 635 | - { | |
| 636 | - key: "highlightTopLevelMenuItem", | |
| 637 | - value: function highlightTopLevelMenuItem($elementToHighlight) { | |
| 638 | - var $elementToRemove = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; | |
| 639 | - var activeClasses = "wp-has-current-submenu wp-menu-open current"; | |
| 640 | - $elementToHighlight.parent().addClass(activeClasses).removeClass("wp-not-current-submenu"); | |
| 641 | - if ($elementToRemove) $elementToRemove.removeClass(activeClasses); | |
| 642 | - } | |
| 643 | - }, | |
| 644 | - { | |
| 645 | - key: "onInit", | |
| 646 | - value: function onInit() { | |
| 647 | - _superPropGet$4(MenuHandler, "onInit", this, 3)([]); | |
| 648 | - var settings = this.getSettings(); | |
| 649 | - if (window.location.href.includes(settings.path)) this.highlightSubMenuItem(); | |
| 650 | - } | |
| 651 | - } | |
| 652 | - ]); | |
| 653 | - }(elementorModules.ViewModule); | |
| 113 | +/***/ }), | |
| 654 | 114 | |
| 655 | -//#endregion | |
| 656 | -//#region modules/landing-pages/assets/js/admin/landing-pages.js | |
| 657 | - function _callSuper$10(t, o, e) { | |
| 658 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$10() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 659 | - } | |
| 660 | - __name(_callSuper$10, "_callSuper"); | |
| 661 | - function _isNativeReflectConstruct$10() { | |
| 662 | - try { | |
| 663 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 664 | - } catch (t) {} | |
| 665 | - return (_isNativeReflectConstruct$10 = function _isNativeReflectConstruct() { | |
| 666 | - return !!t; | |
| 667 | - })(); | |
| 668 | - } | |
| 669 | - __name(_isNativeReflectConstruct$10, "_isNativeReflectConstruct"); | |
| 670 | - function _superPropGet$3(t, o, e, r) { | |
| 671 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 672 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 673 | - return p.apply(e, t); | |
| 674 | - } : p; | |
| 675 | - } | |
| 676 | - __name(_superPropGet$3, "_superPropGet"); | |
| 677 | - var LandingPagesHandler = /*#__PURE__*/ function(_AdminMenuHandler) { | |
| 678 | - function LandingPagesHandler() { | |
| 679 | - _classCallCheck(this, LandingPagesHandler); | |
| 680 | - return _callSuper$10(this, LandingPagesHandler, arguments); | |
| 681 | - } | |
| 682 | - _inherits(LandingPagesHandler, _AdminMenuHandler); | |
| 683 | - return _createClass(LandingPagesHandler, [ | |
| 684 | - { | |
| 685 | - key: "getDefaultSettings", | |
| 686 | - value: function getDefaultSettings() { | |
| 687 | - var pageName = "e-landing-page"; | |
| 688 | - var adminMenuSelectors = { | |
| 689 | - landingPagesTablePage: "a[href=\"edit.php?post_type=" + pageName + "\"]", | |
| 690 | - landingPagesAddNewPage: "a[href=\"edit.php?post_type=elementor_library&page=" + pageName + "\"]" | |
| 691 | - }; | |
| 692 | - return { selectors: { | |
| 693 | - addButton: ".page-title-action:first", | |
| 694 | - pagesMenuItemAndLink: "#menu-pages, #menu-pages > a", | |
| 695 | - landingPagesMenuItem: "".concat(adminMenuSelectors.landingPagesTablePage, ", ").concat(adminMenuSelectors.landingPagesAddNewPage), | |
| 696 | - templatesMenuItem: ".menu-icon-elementor_library" | |
| 697 | - } }; | |
| 698 | - } | |
| 699 | - }, | |
| 700 | - { | |
| 701 | - key: "getDefaultElements", | |
| 702 | - value: function getDefaultElements() { | |
| 703 | - var selectors = this.getSettings("selectors"); | |
| 704 | - var elements = _superPropGet$3(LandingPagesHandler, "getDefaultElements", this, 3)([]); | |
| 705 | - elements.$landingPagesMenuItem = jQuery(selectors.landingPagesMenuItem); | |
| 706 | - elements.$templatesMenuItem = jQuery(selectors.templatesMenuItem); | |
| 707 | - elements.$pagesMenuItemAndLink = jQuery(selectors.pagesMenuItemAndLink); | |
| 708 | - return elements; | |
| 709 | - } | |
| 710 | - }, | |
| 711 | - { | |
| 712 | - key: "onInit", | |
| 713 | - value: function onInit() { | |
| 714 | - _superPropGet$3(LandingPagesHandler, "onInit", this, 3)([]); | |
| 715 | - var settings = this.getSettings(); | |
| 716 | - var isLandingPagesTablePage = !!window.location.href.includes(settings.paths.landingPagesTablePage); | |
| 717 | - var isLandingPagesTrashPage = !!window.location.href.includes(settings.paths.landingPagesTrashPage); | |
| 718 | - var isLandingPagesCreateYourFirstPage = !!window.location.href.includes(settings.paths.landingPagesAddNewPage); | |
| 719 | - if (isLandingPagesTablePage || isLandingPagesTrashPage || isLandingPagesCreateYourFirstPage || settings.isLandingPageAdminEdit) { | |
| 720 | - this.highlightTopLevelMenuItem(this.elements.$templatesMenuItem, this.elements.$pagesMenuItemAndLink); | |
| 721 | - this.highlightSubMenuItem(this.elements.$landingPagesMenuItem); | |
| 722 | - jQuery(settings.selectors.addButton).attr("href", elementorAdminConfig.urls.addNewLandingPageUrl); | |
| 723 | - } | |
| 724 | - } | |
| 725 | - } | |
| 726 | - ]); | |
| 727 | - }(MenuHandler); | |
| 115 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js": | |
| 116 | +/*!*************************************************************************!*\ | |
| 117 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js ***! | |
| 118 | + \*************************************************************************/ | |
| 119 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 728 | 120 | |
| 729 | -//#endregion | |
| 730 | -//#region modules/landing-pages/assets/js/admin/module.js | |
| 731 | - function _callSuper$9(t, o, e) { | |
| 732 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$9() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 733 | - } | |
| 734 | - __name(_callSuper$9, "_callSuper"); | |
| 735 | - function _isNativeReflectConstruct$9() { | |
| 736 | - try { | |
| 737 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 738 | - } catch (t) {} | |
| 739 | - return (_isNativeReflectConstruct$9 = function _isNativeReflectConstruct() { | |
| 740 | - return !!t; | |
| 741 | - })(); | |
| 742 | - } | |
| 743 | - __name(_isNativeReflectConstruct$9, "_isNativeReflectConstruct"); | |
| 744 | - var _default$1 = /*#__PURE__*/ function(_elementorModules$Mod) { | |
| 745 | - function _default() { | |
| 746 | - var _this; | |
| 747 | - _classCallCheck(this, _default); | |
| 748 | - _this = _callSuper$9(this, _default); | |
| 749 | - elementorCommon.elements.$window.on("elementor/admin/init", function() { | |
| 750 | - _this.runHandler(); | |
| 751 | - }); | |
| 752 | - return _this; | |
| 753 | - } | |
| 754 | - _inherits(_default, _elementorModules$Mod); | |
| 755 | - return _createClass(_default, [{ | |
| 756 | - key: "runHandler", | |
| 757 | - value: function runHandler() { | |
| 758 | - var _elementorAdmin$confi; | |
| 759 | - var _elementorAdmin$confi2; | |
| 760 | - var pageName = "e-landing-page"; | |
| 761 | - var paths = { | |
| 762 | - landingPagesTablePage: "edit.php?post_type=" + pageName, | |
| 763 | - landingPagesAddNewPage: "edit.php?post_type=elementor_library&page=" + pageName, | |
| 764 | - landingPagesTrashPage: "edit.php?post_status=trash&post_type=" + pageName | |
| 765 | - }; | |
| 766 | - new LandingPagesHandler({ | |
| 767 | - path: (_elementorAdmin$confi = elementorAdmin.config.landingPages) !== null && _elementorAdmin$confi !== void 0 && _elementorAdmin$confi.landingPagesHasPages ? paths.landingPagesTablePage : paths.landingPagesAddNewPage, | |
| 768 | - isLandingPageAdminEdit: (_elementorAdmin$confi2 = elementorAdmin.config.landingPages) === null || _elementorAdmin$confi2 === void 0 ? void 0 : _elementorAdmin$confi2.isLandingPageAdminEdit, | |
| 769 | - paths | |
| 770 | - }); | |
| 771 | - } | |
| 772 | - }]); | |
| 773 | - }(elementorModules.Module); | |
| 121 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/iterator */ "../node_modules/core-js/library/fn/symbol/iterator.js"); | |
| 774 | 122 | |
| 775 | -//#endregion | |
| 776 | -//#region node_modules/@babel/runtime/helpers/esm/defineProperty.js | |
| 777 | - function _defineProperty(e, r, t) { | |
| 778 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 779 | - value: t, | |
| 780 | - enumerable: !0, | |
| 781 | - configurable: !0, | |
| 782 | - writable: !0 | |
| 783 | - }) : e[r] = t, e; | |
| 784 | - } | |
| 123 | +/***/ }), | |
| 785 | 124 | |
| 786 | -//#endregion | |
| 787 | -//#region core/experiments/assets/js/admin/behaviors/experiments-messages.js | |
| 788 | - var STATE_ACTIVE = "active"; | |
| 789 | - var STATE_INACTIVE = "inactive"; | |
| 790 | - var STATE_DEFAULT = "default"; | |
| 791 | - var ExperimentsMessages = /*#__PURE__*/ function() { | |
| 792 | - function ExperimentsMessages(_ref) { | |
| 793 | - var selects = _ref.selects; | |
| 794 | - var submit = _ref.submit; | |
| 795 | - _classCallCheck(this, ExperimentsMessages); | |
| 796 | - _defineProperty(this, "elements", {}); | |
| 797 | - this.elements = { | |
| 798 | - /** | |
| 799 | - * @type {HTMLSelectElement[]} | |
| 800 | - */ | |
| 801 | - selects, | |
| 802 | - /** | |
| 803 | - * @type {HTMLInputElement} | |
| 804 | - */ | |
| 805 | - submit | |
| 806 | - }; | |
| 807 | - } | |
| 808 | - return _createClass(ExperimentsMessages, [ | |
| 809 | - { | |
| 810 | - key: "bindEvents", | |
| 811 | - value: function bindEvents() { | |
| 812 | - var _this = this; | |
| 813 | - this.elements.selects.forEach(function(select) { | |
| 814 | - select.addEventListener("change", function(e) { | |
| 815 | - return _this.onExperimentStateChange(e); | |
| 816 | - }); | |
| 817 | - }); | |
| 818 | - } | |
| 819 | - }, | |
| 820 | - { | |
| 821 | - key: "onExperimentStateChange", | |
| 822 | - value: function onExperimentStateChange(e) { | |
| 823 | - var experimentId = e.currentTarget.dataset.experimentId; | |
| 824 | - switch (this.getExperimentActualState(experimentId)) { | |
| 825 | - case STATE_ACTIVE: | |
| 826 | - if (this.shouldShowDependenciesDialog(experimentId)) this.showDependenciesDialog(experimentId); | |
| 827 | - break; | |
| 828 | - case STATE_INACTIVE: | |
| 829 | - if (this.shouldShowDeactivationDialog(experimentId)) this.showDeactivationDialog(experimentId); | |
| 830 | - else this.deactivateDependantExperiments(experimentId); | |
| 831 | - break; | |
| 832 | - default: break; | |
| 833 | - } | |
| 834 | - } | |
| 835 | - }, | |
| 836 | - { | |
| 837 | - key: "getExperimentData", | |
| 838 | - value: function getExperimentData(experimentId) { | |
| 839 | - return elementorAdminConfig.experiments[experimentId]; | |
| 840 | - } | |
| 841 | - }, | |
| 842 | - { | |
| 843 | - key: "getExperimentDependencies", | |
| 844 | - value: function getExperimentDependencies(experimentId) { | |
| 845 | - var _this2 = this; | |
| 846 | - return this.getExperimentData(experimentId).dependencies.map(function(dependencyId) { | |
| 847 | - return _this2.getExperimentData(dependencyId); | |
| 848 | - }); | |
| 849 | - } | |
| 850 | - }, | |
| 851 | - { | |
| 852 | - key: "getExperimentSelect", | |
| 853 | - value: function getExperimentSelect(experimentId) { | |
| 854 | - return this.elements.selects.find(function(select) { | |
| 855 | - return select.matches("[data-experiment-id=\"".concat(experimentId, "\"]")); | |
| 856 | - }); | |
| 857 | - } | |
| 858 | - }, | |
| 859 | - { | |
| 860 | - key: "setExperimentState", | |
| 861 | - value: function setExperimentState(experimentId, state) { | |
| 862 | - this.getExperimentSelect(experimentId).value = state; | |
| 863 | - } | |
| 864 | - }, | |
| 865 | - { | |
| 866 | - key: "getExperimentActualState", | |
| 867 | - value: function getExperimentActualState(experimentId) { | |
| 868 | - var _this$getExperimentSe; | |
| 869 | - var state = (_this$getExperimentSe = this.getExperimentSelect(experimentId)) === null || _this$getExperimentSe === void 0 ? void 0 : _this$getExperimentSe.value; | |
| 870 | - if (!state) return this.getExperimentData(experimentId).state; | |
| 871 | - if (state !== STATE_DEFAULT) return state; | |
| 872 | - return this.isExperimentActiveByDefault(experimentId) ? STATE_ACTIVE : STATE_INACTIVE; | |
| 873 | - } | |
| 874 | - }, | |
| 875 | - { | |
| 876 | - key: "isExperimentActive", | |
| 877 | - value: function isExperimentActive(experimentId) { | |
| 878 | - return this.getExperimentActualState(experimentId) === STATE_ACTIVE; | |
| 879 | - } | |
| 880 | - }, | |
| 881 | - { | |
| 882 | - key: "isExperimentActiveByDefault", | |
| 883 | - value: function isExperimentActiveByDefault(experimentId) { | |
| 884 | - return this.getExperimentData(experimentId).default === STATE_ACTIVE; | |
| 885 | - } | |
| 886 | - }, | |
| 887 | - { | |
| 888 | - key: "areAllDependenciesActive", | |
| 889 | - value: function areAllDependenciesActive(dependencies) { | |
| 890 | - var _this3 = this; | |
| 891 | - return dependencies.every(function(dependency) { | |
| 892 | - return _this3.isExperimentActive(dependency.name); | |
| 893 | - }); | |
| 894 | - } | |
| 895 | - }, | |
| 896 | - { | |
| 897 | - key: "deactivateDependantExperiments", | |
| 898 | - value: function deactivateDependantExperiments(experimentId) { | |
| 899 | - var _this4 = this; | |
| 900 | - Object.entries(elementorAdminConfig.experiments).forEach(function(_ref2) { | |
| 901 | - var _ref3 = _slicedToArray(_ref2, 2); | |
| 902 | - var id = _ref3[0]; | |
| 903 | - var isDependant = _ref3[1].dependencies.includes(experimentId); | |
| 904 | - var isActive = _this4.getExperimentActualState(id) === STATE_ACTIVE; | |
| 905 | - if (isDependant && isActive) _this4.setExperimentState(id, STATE_INACTIVE); | |
| 906 | - }); | |
| 907 | - } | |
| 908 | - }, | |
| 909 | - { | |
| 910 | - key: "shouldShowDependenciesDialog", | |
| 911 | - value: function shouldShowDependenciesDialog(experimentId) { | |
| 912 | - var dependencies = this.getExperimentDependencies(experimentId); | |
| 913 | - return !this.areAllDependenciesActive(dependencies); | |
| 914 | - } | |
| 915 | - }, | |
| 916 | - { | |
| 917 | - key: "shouldShowDeactivationDialog", | |
| 918 | - value: function shouldShowDeactivationDialog(experimentId) { | |
| 919 | - var getExperimentData = this.getExperimentData(experimentId); | |
| 920 | - var isInitialStateActive = getExperimentData.state === STATE_ACTIVE || getExperimentData.state === STATE_DEFAULT && getExperimentData.default === STATE_ACTIVE; | |
| 921 | - return !!this.getMessage(experimentId, "on_deactivate") && isInitialStateActive; | |
| 922 | - } | |
| 923 | - }, | |
| 924 | - { | |
| 925 | - key: "showDialog", | |
| 926 | - value: function showDialog(dialog) { | |
| 927 | - return elementorCommon.dialogsManager.createWidget("confirm", { | |
| 928 | - id: "e-experiments-messages-dialog", | |
| 929 | - headerMessage: dialog.headerMessage, | |
| 930 | - message: dialog.message, | |
| 931 | - position: { | |
| 932 | - my: "center center", | |
| 933 | - at: "center center" | |
| 934 | - }, | |
| 935 | - strings: { | |
| 936 | - confirm: dialog.strings.confirm, | |
| 937 | - cancel: dialog.strings.cancel | |
| 938 | - }, | |
| 939 | - hide: { | |
| 940 | - onOutsideClick: false, | |
| 941 | - onBackgroundClick: false, | |
| 942 | - onEscKeyPress: false | |
| 943 | - }, | |
| 944 | - onConfirm: dialog.onConfirm, | |
| 945 | - onCancel: dialog.onCancel | |
| 946 | - }).show(); | |
| 947 | - } | |
| 948 | - }, | |
| 949 | - { | |
| 950 | - key: "getSiteLanguageCode", | |
| 951 | - value: function getSiteLanguageCode() { | |
| 952 | - var languageCode = document.querySelector("html").getAttribute("lang"); | |
| 953 | - return languageCode !== null && languageCode !== void 0 ? languageCode : "en"; | |
| 954 | - } | |
| 955 | - }, | |
| 956 | - { | |
| 957 | - key: "formatDependenciesList", | |
| 958 | - value: function formatDependenciesList(dependencies) { | |
| 959 | - var dependenciesTitles = dependencies.map(function(d) { | |
| 960 | - return d.title; | |
| 961 | - }); | |
| 962 | - var languageCode = this.getSiteLanguageCode(); | |
| 963 | - return new Intl.ListFormat(languageCode).format(dependenciesTitles); | |
| 964 | - } | |
| 965 | - }, | |
| 966 | - { | |
| 967 | - key: "showDependenciesDialog", | |
| 968 | - value: function showDependenciesDialog(experimentId) { | |
| 969 | - var _this5 = this; | |
| 970 | - var experimentName = this.getExperimentData(experimentId).title; | |
| 971 | - var dependenciesList = this.formatDependenciesList(this.getExperimentDependencies(experimentId)); | |
| 972 | - var message = (0, _wordpress_i18n.__)("In order to use %1$s, first you need to activate %2$s.", "elementor").replace("%1$s", "<strong>".concat(experimentName, "</strong>")).replace("%2$s", dependenciesList); | |
| 973 | - this.showDialog({ | |
| 974 | - message, | |
| 975 | - headerMessage: (0, _wordpress_i18n.__)("First, activate another experiment.", "elementor"), | |
| 976 | - strings: { | |
| 977 | - confirm: (0, _wordpress_i18n.__)("Activate", "elementor"), | |
| 978 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 979 | - }, | |
| 980 | - onConfirm: function onConfirm() { | |
| 981 | - _this5.getExperimentDependencies(experimentId).forEach(function(dependency) { | |
| 982 | - _this5.setExperimentState(dependency.name, STATE_ACTIVE); | |
| 983 | - }); | |
| 984 | - _this5.elements.submit.click(); | |
| 985 | - }, | |
| 986 | - onCancel: function onCancel() { | |
| 987 | - _this5.setExperimentState(experimentId, STATE_INACTIVE); | |
| 988 | - } | |
| 989 | - }); | |
| 990 | - } | |
| 991 | - }, | |
| 992 | - { | |
| 993 | - key: "showDeactivationDialog", | |
| 994 | - value: function showDeactivationDialog(experimentId) { | |
| 995 | - var _this6 = this; | |
| 996 | - this.showDialog({ | |
| 997 | - message: this.getMessage(experimentId, "on_deactivate"), | |
| 998 | - headerMessage: (0, _wordpress_i18n.__)("Are you sure?", "elementor"), | |
| 999 | - strings: { | |
| 1000 | - confirm: (0, _wordpress_i18n.__)("Deactivate", "elementor"), | |
| 1001 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 1002 | - }, | |
| 1003 | - onConfirm: function onConfirm() { | |
| 1004 | - _this6.setExperimentState(experimentId, STATE_INACTIVE); | |
| 1005 | - _this6.deactivateDependantExperiments(experimentId); | |
| 1006 | - _this6.elements.submit.click(); | |
| 1007 | - }, | |
| 1008 | - onCancel: function onCancel() { | |
| 1009 | - _this6.setExperimentState(experimentId, STATE_ACTIVE); | |
| 1010 | - } | |
| 1011 | - }); | |
| 1012 | - } | |
| 1013 | - }, | |
| 1014 | - { | |
| 1015 | - key: "getMessage", | |
| 1016 | - value: function getMessage(experimentId, messageId) { | |
| 1017 | - var _this$getExperimentDa; | |
| 1018 | - return (_this$getExperimentDa = this.getExperimentData(experimentId)) === null || _this$getExperimentDa === void 0 ? void 0 : _this$getExperimentDa.messages[messageId]; | |
| 1019 | - } | |
| 1020 | - } | |
| 1021 | - ]); | |
| 1022 | - }(); | |
| 125 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js": | |
| 126 | +/*!**************************************************************************!*\ | |
| 127 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js ***! | |
| 128 | + \**************************************************************************/ | |
| 129 | +/***/ ((module) => { | |
| 1023 | 130 | |
| 1024 | -//#endregion | |
| 1025 | -//#region \0vite/preload-helper.js | |
| 1026 | - var scriptRel = "modulepreload"; | |
| 1027 | - var assetsURL = function(dep) { | |
| 1028 | - return "/" + dep; | |
| 1029 | - }; | |
| 1030 | - var seen = {}; | |
| 1031 | - var __vitePreload = function preload(baseModule, deps, importerUrl) { | |
| 1032 | - let promise = Promise.resolve(); | |
| 1033 | - if (false && deps && deps.length > 0) { | |
| 1034 | - const links = document.getElementsByTagName("link"); | |
| 1035 | - const cspNonceMeta = document.querySelector("meta[property=csp-nonce]"); | |
| 1036 | - const cspNonce = (cspNonceMeta === null || cspNonceMeta === void 0 ? void 0 : cspNonceMeta.nonce) || (cspNonceMeta === null || cspNonceMeta === void 0 ? void 0 : cspNonceMeta.getAttribute("nonce")); | |
| 1037 | - function allSettled(promises) { | |
| 1038 | - return Promise.all(promises.map((p) => Promise.resolve(p).then((value) => ({ | |
| 1039 | - status: "fulfilled", | |
| 1040 | - value | |
| 1041 | - }), (reason) => ({ | |
| 1042 | - status: "rejected", | |
| 1043 | - reason | |
| 1044 | - })))); | |
| 1045 | - } | |
| 1046 | - function importMetaResolve(specifier) { | |
| 1047 | - if ({}.resolve) return {}.resolve(specifier); | |
| 1048 | - return new URL( | |
| 1049 | - specifier, | |
| 1050 | - /** #__KEEP__ */ | |
| 1051 | - {}.url | |
| 1052 | - ).href; | |
| 1053 | - } | |
| 1054 | - promise = allSettled(deps.map((dep) => { | |
| 1055 | - dep = assetsURL(dep, importerUrl); | |
| 1056 | - dep = importMetaResolve(dep); | |
| 1057 | - if (dep in seen) return; | |
| 1058 | - seen[dep] = true; | |
| 1059 | - const isCss = dep.endsWith(".css"); | |
| 1060 | - for (let i = links.length - 1; i >= 0; i--) { | |
| 1061 | - const link = links[i]; | |
| 1062 | - if (link.href === dep && (!isCss || link.rel === "stylesheet")) return; | |
| 1063 | - } | |
| 1064 | - const link = document.createElement("link"); | |
| 1065 | - link.rel = isCss ? "stylesheet" : scriptRel; | |
| 1066 | - if (!isCss) link.as = "script"; | |
| 1067 | - link.crossOrigin = ""; | |
| 1068 | - link.href = dep; | |
| 1069 | - if (cspNonce) link.setAttribute("nonce", cspNonce); | |
| 1070 | - document.head.appendChild(link); | |
| 1071 | - if (isCss) return new Promise((res, rej) => { | |
| 1072 | - link.addEventListener("load", res); | |
| 1073 | - link.addEventListener("error", () => rej(/* @__PURE__ */ new Error(`Unable to preload CSS for ${dep}`))); | |
| 1074 | - }); | |
| 1075 | - })); | |
| 1076 | - } | |
| 1077 | - function handlePreloadError(err) { | |
| 1078 | - const e = new Event("vite:preloadError", { cancelable: true }); | |
| 1079 | - e.payload = err; | |
| 1080 | - window.dispatchEvent(e); | |
| 1081 | - if (!e.defaultPrevented) throw err; | |
| 1082 | - } | |
| 1083 | - return promise.then((res) => { | |
| 1084 | - for (const item of res || []) { | |
| 1085 | - if (item.status !== "rejected") continue; | |
| 1086 | - handlePreloadError(item.reason); | |
| 1087 | - } | |
| 1088 | - return baseModule().catch(handlePreloadError); | |
| 1089 | - }); | |
| 1090 | - }; | |
| 131 | +function _arrayLikeToArray(arr, len) { | |
| 132 | + if (len == null || len > arr.length) len = arr.length; | |
| 1091 | 133 | |
| 1092 | -//#endregion | |
| 1093 | -//#region core/experiments/assets/js/admin/module.js | |
| 1094 | - function _callSuper$8(t, o, e) { | |
| 1095 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$8() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1096 | - } | |
| 1097 | - __name(_callSuper$8, "_callSuper"); | |
| 1098 | - function _isNativeReflectConstruct$8() { | |
| 1099 | - try { | |
| 1100 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1101 | - } catch (t) {} | |
| 1102 | - return (_isNativeReflectConstruct$8 = function _isNativeReflectConstruct() { | |
| 1103 | - return !!t; | |
| 1104 | - })(); | |
| 1105 | - } | |
| 1106 | - __name(_isNativeReflectConstruct$8, "_isNativeReflectConstruct"); | |
| 1107 | - function _superPropGet$2(t, o, e, r) { | |
| 1108 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 1109 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 1110 | - return p.apply(e, t); | |
| 1111 | - } : p; | |
| 1112 | - } | |
| 1113 | - __name(_superPropGet$2, "_superPropGet"); | |
| 1114 | - var ExperimentsModule = /*#__PURE__*/ function(_elementorModules$Vie) { | |
| 1115 | - function ExperimentsModule() { | |
| 1116 | - _classCallCheck(this, ExperimentsModule); | |
| 1117 | - return _callSuper$8(this, ExperimentsModule, arguments); | |
| 1118 | - } | |
| 1119 | - _inherits(ExperimentsModule, _elementorModules$Vie); | |
| 1120 | - return _createClass(ExperimentsModule, [ | |
| 1121 | - { | |
| 1122 | - key: "getDefaultSettings", | |
| 1123 | - value: function getDefaultSettings() { | |
| 1124 | - return { selectors: { | |
| 1125 | - experimentIndicators: ".e-experiment__title__indicator", | |
| 1126 | - experimentForm: "#elementor-settings-form", | |
| 1127 | - experimentSelects: ".e-experiment__select", | |
| 1128 | - experimentsButtons: ".e-experiment__button" | |
| 1129 | - } }; | |
| 1130 | - } | |
| 1131 | - }, | |
| 1132 | - { | |
| 1133 | - key: "getDefaultElements", | |
| 1134 | - value: function getDefaultElements() { | |
| 1135 | - var selectors = this.getSettings().selectors; | |
| 1136 | - return { | |
| 1137 | - $experimentIndicators: jQuery(selectors.experimentIndicators), | |
| 1138 | - $experimentForm: jQuery(selectors.experimentForm), | |
| 1139 | - $experimentSelects: jQuery(selectors.experimentSelects), | |
| 1140 | - $experimentsButtons: jQuery(selectors.experimentsButtons) | |
| 1141 | - }; | |
| 1142 | - } | |
| 1143 | - }, | |
| 1144 | - { | |
| 1145 | - key: "bindEvents", | |
| 1146 | - value: function bindEvents() { | |
| 1147 | - var _this = this; | |
| 1148 | - this.elements.$experimentsButtons.on("click", function(event) { | |
| 1149 | - return _this.onExperimentsButtonsClick(event); | |
| 1150 | - }); | |
| 1151 | - } | |
| 1152 | - }, | |
| 1153 | - { | |
| 1154 | - key: "onExperimentsButtonsClick", | |
| 1155 | - value: function onExperimentsButtonsClick(event) { | |
| 1156 | - var submitButton = jQuery(event.currentTarget); | |
| 1157 | - this.elements.$experimentSelects.val(submitButton.val()); | |
| 1158 | - this.elements.$experimentForm.find("#submit").trigger("click"); | |
| 1159 | - } | |
| 1160 | - }, | |
| 1161 | - { | |
| 1162 | - key: "addTipsy", | |
| 1163 | - value: function addTipsy($element) { | |
| 1164 | - $element.tipsy({ | |
| 1165 | - gravity: "s", | |
| 1166 | - offset: 8, | |
| 1167 | - title: function title() { | |
| 1168 | - return this.getAttribute("data-tooltip"); | |
| 1169 | - } | |
| 1170 | - }); | |
| 1171 | - } | |
| 1172 | - }, | |
| 1173 | - { | |
| 1174 | - key: "addIndicatorsTooltips", | |
| 1175 | - value: function addIndicatorsTooltips() { | |
| 1176 | - var _this2 = this; | |
| 1177 | - this.elements.$experimentIndicators.each(function(index, experimentIndicator) { | |
| 1178 | - return _this2.addTipsy(jQuery(experimentIndicator)); | |
| 1179 | - }); | |
| 1180 | - } | |
| 1181 | - }, | |
| 1182 | - { | |
| 1183 | - key: "onInit", | |
| 1184 | - value: function onInit() { | |
| 1185 | - var _this3 = this; | |
| 1186 | - _superPropGet$2(ExperimentsModule, "onInit", this, 3)([]); | |
| 1187 | - this.experimentsDependency = new ExperimentsMessages({ | |
| 1188 | - selects: this.elements.$experimentSelects.toArray(), | |
| 1189 | - submit: this.elements.$experimentForm.find("#submit").get(0) | |
| 1190 | - }); | |
| 1191 | - this.experimentsDependency.bindEvents(); | |
| 1192 | - if (this.elements.$experimentIndicators.length) __vitePreload(() => import( | |
| 1193 | - /* webpackIgnore: true */ | |
| 1194 | - "".concat(elementorCommon.config.urls.assets, "lib/tipsy/tipsy.min.js?ver=1.0.0") | |
| 1195 | -).then(function() { | |
| 1196 | - return _this3.addIndicatorsTooltips(); | |
| 1197 | - }), void 0); | |
| 1198 | - } | |
| 1199 | - } | |
| 1200 | - ]); | |
| 1201 | - }(elementorModules.ViewModule); | |
| 134 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 135 | + arr2[i] = arr[i]; | |
| 136 | + } | |
| 1202 | 137 | |
| 1203 | -//#endregion | |
| 1204 | -//#region core/common/assets/js/utils/environment.js | |
| 1205 | - var matchUserAgent = function matchUserAgent(UserAgentStr) { | |
| 1206 | - return userAgent.indexOf(UserAgentStr) >= 0; | |
| 1207 | - }; | |
| 1208 | - var userAgent = navigator.userAgent; | |
| 1209 | - var isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(" OPR/"); | |
| 1210 | - var isFirefox = matchUserAgent("Firefox"); | |
| 1211 | - var isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || function(p) { | |
| 1212 | - return "[object SafariRemoteNotification]" === p.toString(); | |
| 1213 | - }(!window.safari || typeof safari !== "undefined" && safari.pushNotification); | |
| 1214 | - var isIE = /Trident|MSIE/.test(userAgent) && !!document.documentMode; | |
| 1215 | - var isEdge = !isIE && !!window.StyleMedia || matchUserAgent("Edg"); | |
| 1216 | - var isChrome = !!window.chrome && matchUserAgent("Chrome") && !(isEdge || isOpera); | |
| 1217 | - var isBlink = matchUserAgent("Chrome") && !!window.CSS; | |
| 1218 | - var isAppleWebkit = matchUserAgent("AppleWebKit") && !isBlink; | |
| 1219 | - var environment = { | |
| 1220 | - isTouchDevice: "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, | |
| 1221 | - appleWebkit: isAppleWebkit, | |
| 1222 | - blink: isBlink, | |
| 1223 | - chrome: isChrome, | |
| 1224 | - edge: isEdge, | |
| 1225 | - firefox: isFirefox, | |
| 1226 | - ie: isIE, | |
| 1227 | - mac: matchUserAgent("Macintosh"), | |
| 1228 | - opera: isOpera, | |
| 1229 | - safari: isSafari, | |
| 1230 | - webkit: matchUserAgent("AppleWebKit") | |
| 1231 | - }; | |
| 138 | + return arr2; | |
| 139 | +} | |
| 1232 | 140 | |
| 1233 | -//#endregion | |
| 1234 | -//#region assets/dev/js/utils/events.js | |
| 1235 | - var Events = /*#__PURE__*/ function() { | |
| 1236 | - function Events() { | |
| 1237 | - _classCallCheck(this, Events); | |
| 1238 | - } | |
| 1239 | - return _createClass(Events, null, [{ | |
| 1240 | - key: "dispatch", | |
| 1241 | - value: function dispatch(context, event) { | |
| 1242 | - var data = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null; | |
| 1243 | - var bcEvent = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null; | |
| 1244 | - context = context instanceof jQuery ? context[0] : context; | |
| 1245 | - if (bcEvent) context.dispatchEvent(new CustomEvent(bcEvent, { detail: data })); | |
| 1246 | - context.dispatchEvent(new CustomEvent(event, { detail: data })); | |
| 1247 | - } | |
| 1248 | - }]); | |
| 1249 | - }(); | |
| 141 | +module.exports = _arrayLikeToArray; | |
| 142 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 1250 | 143 | |
| 1251 | -//#endregion | |
| 1252 | -//#region assets/dev/js/editor/utils/files-upload-handler.js | |
| 1253 | - var FilesUploadHandler = /*#__PURE__*/ function() { | |
| 1254 | - function FilesUploadHandler() { | |
| 1255 | - _classCallCheck(this, FilesUploadHandler); | |
| 1256 | - } | |
| 1257 | - return _createClass(FilesUploadHandler, null, [ | |
| 1258 | - { | |
| 1259 | - key: "isUploadEnabled", | |
| 1260 | - value: function isUploadEnabled(mediaType) { | |
| 1261 | - if (!["svg", "application/json"].includes(mediaType)) return true; | |
| 1262 | - return elementorCommon.config.filesUpload.unfilteredFiles; | |
| 1263 | - } | |
| 1264 | - }, | |
| 1265 | - { | |
| 1266 | - key: "setUploadTypeCaller", | |
| 1267 | - value: function setUploadTypeCaller(frame) { | |
| 1268 | - frame.uploader.uploader.param("uploadTypeCaller", "elementor-wp-media-upload"); | |
| 1269 | - } | |
| 1270 | - }, | |
| 1271 | - { | |
| 1272 | - key: "getUnfilteredFilesNonAdminDialog", | |
| 1273 | - value: function getUnfilteredFilesNonAdminDialog() { | |
| 1274 | - return elementorCommon.dialogsManager.createWidget("alert", { | |
| 1275 | - id: "e-unfiltered-files-disabled-dialog", | |
| 1276 | - headerMessage: (0, _wordpress_i18n.__)("Sorry, you can't upload that file yet", "elementor"), | |
| 1277 | - message: (0, _wordpress_i18n.__)("This is because JSON files may pose a security risk.", "elementor") + "<br><br>" + (0, _wordpress_i18n.__)("To upload them anyway, ask the site administrator to enable unfiltered file uploads.", "elementor"), | |
| 1278 | - strings: { confirm: (0, _wordpress_i18n.__)("Got it", "elementor") } | |
| 1279 | - }); | |
| 1280 | - } | |
| 1281 | - }, | |
| 1282 | - { | |
| 1283 | - key: "getUnfilteredFilesNotEnabledDialog", | |
| 1284 | - value: function getUnfilteredFilesNotEnabledDialog(callback) { | |
| 1285 | - var elementorInstance = window.elementorAdmin || window.elementor; | |
| 1286 | - if (!elementorInstance.config.user.is_administrator) return this.getUnfilteredFilesNonAdminDialog(); | |
| 1287 | - return elementorInstance.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog", (0, _wordpress_i18n.__)("Enable Unfiltered File Uploads", "elementor"), (0, _wordpress_i18n.__)("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.", "elementor"), (0, _wordpress_i18n.__)("Enable", "elementor"), function onConfirm() { | |
| 1288 | - elementorCommon.ajax.addRequest("enable_unfiltered_files_upload", {}, true); | |
| 1289 | - elementorCommon.config.filesUpload.unfilteredFiles = true; | |
| 1290 | - callback(); | |
| 1291 | - }); | |
| 1292 | - } | |
| 1293 | - }, | |
| 1294 | - { | |
| 1295 | - key: "getUnfilteredFilesNotEnabledImportTemplateDialog", | |
| 1296 | - value: function getUnfilteredFilesNotEnabledImportTemplateDialog(callback) { | |
| 1297 | - if (!(window.elementorAdmin || window.elementor).config.user.is_administrator) return this.getUnfilteredFilesNonAdminDialog(); | |
| 1298 | - return elementorCommon.dialogsManager.createWidget("confirm", { | |
| 1299 | - id: "e-enable-unfiltered-files-dialog-import-template", | |
| 1300 | - headerMessage: (0, _wordpress_i18n.__)("Enable Unfiltered File Uploads", "elementor"), | |
| 1301 | - message: (0, _wordpress_i18n.__)("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.", "elementor") + "<br /><br />" + (0, _wordpress_i18n.__)("If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.", "elementor"), | |
| 1302 | - position: { | |
| 1303 | - my: "center center", | |
| 1304 | - at: "center center" | |
| 1305 | - }, | |
| 1306 | - strings: { | |
| 1307 | - confirm: (0, _wordpress_i18n.__)("Enable and Import", "elementor"), | |
| 1308 | - cancel: (0, _wordpress_i18n.__)("Import Without Enabling", "elementor") | |
| 1309 | - }, | |
| 1310 | - onConfirm: function onConfirm() { | |
| 1311 | - elementorCommon.ajax.addRequest("enable_unfiltered_files_upload", { success: function success() { | |
| 1312 | - elementorCommon.config.filesUpload.unfilteredFiles = true; | |
| 1313 | - callback(); | |
| 1314 | - } }, true); | |
| 1315 | - }, | |
| 1316 | - onCancel: function onCancel() { | |
| 1317 | - return callback(); | |
| 1318 | - } | |
| 1319 | - }); | |
| 1320 | - } | |
| 1321 | - } | |
| 1322 | - ]); | |
| 1323 | - }(); | |
| 144 | +/***/ }), | |
| 1324 | 145 | |
| 1325 | -//#endregion | |
| 1326 | -//#region assets/dev/js/admin/new-template/template-controls.js | |
| 1327 | - var TemplateControls = /*#__PURE__*/ function() { | |
| 1328 | - function TemplateControls() { | |
| 1329 | - _classCallCheck(this, TemplateControls); | |
| 1330 | - } | |
| 1331 | - return _createClass(TemplateControls, [ | |
| 1332 | - { | |
| 1333 | - key: "setDynamicControlsVisibility", | |
| 1334 | - value: function setDynamicControlsVisibility(lookupControlIdPrefix, controls) { | |
| 1335 | - if (void 0 === controls) return; | |
| 1336 | - var controlsArray = Object.entries(controls); | |
| 1337 | - for (var _i = 0, _controlsArray = controlsArray; _i < _controlsArray.length; _i++) { | |
| 1338 | - var _controlsArray$_i = _slicedToArray(_controlsArray[_i], 2); | |
| 1339 | - var controlId = _controlsArray$_i[0]; | |
| 1340 | - var controlSettings = _controlsArray$_i[1]; | |
| 1341 | - this.setVisibilityForControl(lookupControlIdPrefix, controlSettings, controlId); | |
| 1342 | - } | |
| 1343 | - } | |
| 1344 | - }, | |
| 1345 | - { | |
| 1346 | - key: "setVisibilityForControl", | |
| 1347 | - value: function setVisibilityForControl(lookupControlIdPrefix, controlSettings, controlId) { | |
| 1348 | - var _controlSettings$cond; | |
| 1349 | - var _this = this; | |
| 1350 | - Object.entries((_controlSettings$cond = controlSettings.conditions) !== null && _controlSettings$cond !== void 0 ? _controlSettings$cond : {}).forEach(function(condition) { | |
| 1351 | - _this.changeVisibilityBasedOnCondition(lookupControlIdPrefix, condition, controlId); | |
| 1352 | - }); | |
| 1353 | - } | |
| 1354 | - }, | |
| 1355 | - { | |
| 1356 | - key: "changeVisibilityBasedOnCondition", | |
| 1357 | - value: function changeVisibilityBasedOnCondition(lookupControlIdPrefix, condition, controlId) { | |
| 1358 | - var _condition = _slicedToArray(condition, 2); | |
| 1359 | - var conditionKey = _condition[0]; | |
| 1360 | - var conditionValue = _condition[1]; | |
| 1361 | - var targetControlWrapper = document.getElementById(lookupControlIdPrefix + controlId + "__wrapper"); | |
| 1362 | - var lookupControl = document.getElementById(lookupControlIdPrefix + conditionKey); | |
| 1363 | - targetControlWrapper.classList.toggle("elementor-hidden", !lookupControl || conditionValue !== lookupControl.value); | |
| 1364 | - } | |
| 1365 | - } | |
| 1366 | - ]); | |
| 1367 | - }(); | |
| 146 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js": | |
| 147 | +/*!************************************************************************!*\ | |
| 148 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js ***! | |
| 149 | + \************************************************************************/ | |
| 150 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1368 | 151 | |
| 1369 | -//#endregion | |
| 1370 | -//#region assets/dev/js/utils/json-upload-warning-message.js | |
| 1371 | - var genericMessageIntroductionKey = "upload_json_warning_generic_message"; | |
| 1372 | - /** | |
| 1373 | - * @type {import('../utils/introduction').default | null} | |
| 1374 | - */ | |
| 1375 | - var genericWarningModal = null; | |
| 1376 | - function showJsonUploadWarningMessageIfNeeded(_ref) { | |
| 1377 | - var introductionMap = _ref.introductionMap; | |
| 1378 | - var IntroductionClass = _ref.IntroductionClass; | |
| 1379 | - var _ref$waitForSetViewed = _ref.waitForSetViewed; | |
| 1380 | - var waitForSetViewed = _ref$waitForSetViewed === void 0 ? false : _ref$waitForSetViewed; | |
| 1381 | - if (!genericWarningModal) genericWarningModal = createGenericWarningModal(IntroductionClass); | |
| 1382 | - genericWarningModal.setIntroductionMap(introductionMap); | |
| 1383 | - if (genericWarningModal.introductionViewed) return Promise.resolve(); | |
| 1384 | - var dialog = genericWarningModal.getDialog(); | |
| 1385 | - return new Promise(function(resolve, reject) { | |
| 1386 | - dialog.onHide = function() { | |
| 1387 | - reject(); | |
| 1388 | - }; | |
| 1389 | - dialog.onConfirm = /*#__PURE__*/ _asyncToGenerator(/*#__PURE__*/ import_regenerator.default.mark(function _callee() { | |
| 1390 | - return import_regenerator.default.wrap(function(_context) { | |
| 1391 | - while (1) switch (_context.prev = _context.next) { | |
| 1392 | - case 0: | |
| 1393 | - if (!dialog.getElements("checkbox-dont-show-again").prop("checked")) { | |
| 1394 | - _context.next = 3; | |
| 1395 | - break; | |
| 1396 | - } | |
| 1397 | - if (!waitForSetViewed) { | |
| 1398 | - _context.next = 2; | |
| 1399 | - break; | |
| 1400 | - } | |
| 1401 | - _context.next = 1; | |
| 1402 | - return genericWarningModal.setViewed(); | |
| 1403 | - case 1: | |
| 1404 | - _context.next = 3; | |
| 1405 | - break; | |
| 1406 | - case 2: genericWarningModal.setViewed(); | |
| 1407 | - case 3: | |
| 1408 | - resolve(); | |
| 1409 | - dialog.hide(); | |
| 1410 | - case 4: | |
| 1411 | - case "end": return _context.stop(); | |
| 1412 | - } | |
| 1413 | - }, _callee); | |
| 1414 | - })); | |
| 1415 | - dialog.onCancel = function() { | |
| 1416 | - dialog.hide(); | |
| 1417 | - }; | |
| 1418 | - genericWarningModal.show(); | |
| 1419 | - }); | |
| 1420 | - } | |
| 1421 | - /** | |
| 1422 | - * @param {import('../utils/introduction').default.prototype.constructor} IntroductionClass | |
| 1423 | - * | |
| 1424 | - * @return {import('../utils/introduction').default} | |
| 1425 | - */ | |
| 1426 | - function createGenericWarningModal(IntroductionClass) { | |
| 1427 | - var _introduction$getDial; | |
| 1428 | - var _introduction$getDial2; | |
| 1429 | - var dialogId = "e-generic-warning-modal-for-json-upload"; | |
| 1430 | - var introduction = new IntroductionClass({ | |
| 1431 | - introductionKey: genericMessageIntroductionKey, | |
| 1432 | - dialogType: "confirm", | |
| 1433 | - dialogOptions: { | |
| 1434 | - id: dialogId, | |
| 1435 | - headerMessage: (0, _wordpress_i18n.__)("Warning: JSON files may be unsafe", "elementor"), | |
| 1436 | - message: (0, _wordpress_i18n.__)("Uploading JSON files from unknown sources can be harmful and put your site at risk. For maximum safety, only install JSON files from trusted sources.", "elementor"), | |
| 1437 | - effects: { | |
| 1438 | - show: "fadeIn", | |
| 1439 | - hide: "fadeOut" | |
| 1440 | - }, | |
| 1441 | - hide: { | |
| 1442 | - onBackgroundClick: true, | |
| 1443 | - onButtonClick: false | |
| 1444 | - }, | |
| 1445 | - strings: { | |
| 1446 | - confirm: (0, _wordpress_i18n.__)("Continue", "elementor"), | |
| 1447 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 1448 | - } | |
| 1449 | - } | |
| 1450 | - }); | |
| 1451 | - var _createCheckboxAndLab = createCheckboxAndLabel(dialogId); | |
| 1452 | - var checkbox = _createCheckboxAndLab.checkbox; | |
| 1453 | - var label = _createCheckboxAndLab.label; | |
| 1454 | - introduction.getDialog().addElement("checkbox-dont-show-again", checkbox); | |
| 1455 | - (_introduction$getDial = introduction.getDialog().getElements("message")) === null || _introduction$getDial === void 0 || (_introduction$getDial2 = _introduction$getDial.append) === null || _introduction$getDial2 === void 0 || _introduction$getDial2.call(_introduction$getDial, label); | |
| 1456 | - return introduction; | |
| 1457 | - } | |
| 1458 | - function createCheckboxAndLabel(dialogId) { | |
| 1459 | - var checkboxId = "".concat(dialogId, "-dont-show-again"); | |
| 1460 | - var checkbox = document.createElement("input"); | |
| 1461 | - checkbox.type = "checkbox"; | |
| 1462 | - checkbox.name = checkboxId; | |
| 1463 | - checkbox.id = checkboxId; | |
| 1464 | - var label = document.createElement("label"); | |
| 1465 | - label.htmlFor = checkboxId; | |
| 1466 | - label.textContent = (0, _wordpress_i18n.__)("Do not show this message again", "elementor"); | |
| 1467 | - label.style.display = "block"; | |
| 1468 | - label.style.marginTop = "20px"; | |
| 1469 | - label.style.marginBottom = "20px"; | |
| 1470 | - label.prepend(checkbox); | |
| 1471 | - return { | |
| 1472 | - checkbox, | |
| 1473 | - label | |
| 1474 | - }; | |
| 1475 | - } | |
| 152 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 1476 | 153 | |
| 1477 | -//#endregion | |
| 1478 | -//#region modules/floating-buttons/assets/js/floating-buttons/admin/floating-buttons.js | |
| 1479 | - function _callSuper$7(t, o, e) { | |
| 1480 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$7() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1481 | - } | |
| 1482 | - __name(_callSuper$7, "_callSuper"); | |
| 1483 | - function _isNativeReflectConstruct$7() { | |
| 1484 | - try { | |
| 1485 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1486 | - } catch (t) {} | |
| 1487 | - return (_isNativeReflectConstruct$7 = function _isNativeReflectConstruct() { | |
| 1488 | - return !!t; | |
| 1489 | - })(); | |
| 1490 | - } | |
| 1491 | - __name(_isNativeReflectConstruct$7, "_isNativeReflectConstruct"); | |
| 1492 | - function _superPropGet$1(t, o, e, r) { | |
| 1493 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 1494 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 1495 | - return p.apply(e, t); | |
| 1496 | - } : p; | |
| 1497 | - } | |
| 1498 | - __name(_superPropGet$1, "_superPropGet"); | |
| 1499 | - var FloatingButtonsHandler = /*#__PURE__*/ function(_AdminMenuHandler) { | |
| 1500 | - function FloatingButtonsHandler() { | |
| 1501 | - _classCallCheck(this, FloatingButtonsHandler); | |
| 1502 | - return _callSuper$7(this, FloatingButtonsHandler, arguments); | |
| 1503 | - } | |
| 1504 | - _inherits(FloatingButtonsHandler, _AdminMenuHandler); | |
| 1505 | - return _createClass(FloatingButtonsHandler, [ | |
| 1506 | - { | |
| 1507 | - key: "getDefaultSettings", | |
| 1508 | - value: function getDefaultSettings() { | |
| 1509 | - var pageName = "e-floating-buttons"; | |
| 1510 | - var adminMenuSelectors = { | |
| 1511 | - contactPagesTablePage: "a[href=\"edit.php?post_type=" + pageName + "\"]", | |
| 1512 | - contactPagesAddNewPage: "a[href=\"edit.php?post_type=elementor_library&page=" + pageName + "\"]" | |
| 1513 | - }; | |
| 1514 | - return { selectors: { | |
| 1515 | - addButton: ".page-title-action:first", | |
| 1516 | - templatesMenuItem: ".menu-icon-elementor_library", | |
| 1517 | - contactPagesMenuItem: "".concat(adminMenuSelectors.contactPagesTablePage, ", ").concat(adminMenuSelectors.contactPagesAddNewPage) | |
| 1518 | - } }; | |
| 1519 | - } | |
| 1520 | - }, | |
| 1521 | - { | |
| 1522 | - key: "getDefaultElements", | |
| 1523 | - value: function getDefaultElements() { | |
| 1524 | - var selectors = this.getSettings("selectors"); | |
| 1525 | - var elements = _superPropGet$1(FloatingButtonsHandler, "getDefaultElements", this, 3)([]); | |
| 1526 | - elements.$templatesMenuItem = jQuery(selectors.templatesMenuItem); | |
| 1527 | - elements.$contactPagesMenuItem = jQuery(selectors.contactPagesMenuItem); | |
| 1528 | - return elements; | |
| 1529 | - } | |
| 1530 | - }, | |
| 1531 | - { | |
| 1532 | - key: "onInit", | |
| 1533 | - value: function onInit() { | |
| 1534 | - var _elementorAdminConfig; | |
| 1535 | - _superPropGet$1(FloatingButtonsHandler, "onInit", this, 3)([]); | |
| 1536 | - var settings = this.getSettings(); | |
| 1537 | - var isContactPagesTablePage = !!window.location.href.includes(settings.paths.contactPagesTablePage); | |
| 1538 | - var isContactPagesTrashPage = !!window.location.href.includes(settings.paths.contactPagesTrashPage); | |
| 1539 | - var isLContactPagesCreateYourFirstPage = !!window.location.href.includes(settings.paths.contactPagesAddNewPage); | |
| 1540 | - if ((_elementorAdminConfig = elementorAdminConfig.urls) !== null && _elementorAdminConfig !== void 0 && _elementorAdminConfig.viewContactPageUrl) this.elements.$templatesMenuItem.find("li.submenu-e-contact a").attr("href", elementorAdminConfig.urls.viewContactPageUrl); | |
| 1541 | - if (isContactPagesTablePage || isContactPagesTrashPage || isLContactPagesCreateYourFirstPage) { | |
| 1542 | - this.highlightTopLevelMenuItem(this.elements.$templatesMenuItem, this.elements.$pagesMenuItemAndLink); | |
| 1543 | - this.highlightSubMenuItem(this.elements.$contactPagesMenuItem); | |
| 1544 | - jQuery(settings.selectors.addButton).attr("href", elementorAdminConfig.urls.addNewLinkUrlContact); | |
| 1545 | - } | |
| 1546 | - } | |
| 1547 | - } | |
| 1548 | - ]); | |
| 1549 | - }(MenuHandler); | |
| 154 | +function _arrayWithHoles(arr) { | |
| 155 | + if (_Array$isArray(arr)) return arr; | |
| 156 | +} | |
| 1550 | 157 | |
| 1551 | -//#endregion | |
| 1552 | -//#region modules/floating-buttons/assets/js/floating-buttons/admin/module.js | |
| 1553 | - function _callSuper$6(t, o, e) { | |
| 1554 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$6() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1555 | - } | |
| 1556 | - __name(_callSuper$6, "_callSuper"); | |
| 1557 | - function _isNativeReflectConstruct$6() { | |
| 1558 | - try { | |
| 1559 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1560 | - } catch (t) {} | |
| 1561 | - return (_isNativeReflectConstruct$6 = function _isNativeReflectConstruct() { | |
| 1562 | - return !!t; | |
| 1563 | - })(); | |
| 1564 | - } | |
| 1565 | - __name(_isNativeReflectConstruct$6, "_isNativeReflectConstruct"); | |
| 1566 | - var _default = /*#__PURE__*/ function(_elementorModules$Mod) { | |
| 1567 | - function _default() { | |
| 1568 | - var _this; | |
| 1569 | - _classCallCheck(this, _default); | |
| 1570 | - _this = _callSuper$6(this, _default); | |
| 1571 | - elementorCommon.elements.$window.on("elementor/admin/init", function() { | |
| 1572 | - _this.runHandler(); | |
| 1573 | - }); | |
| 1574 | - return _this; | |
| 1575 | - } | |
| 1576 | - _inherits(_default, _elementorModules$Mod); | |
| 1577 | - return _createClass(_default, [{ | |
| 1578 | - key: "runHandler", | |
| 1579 | - value: function runHandler() { | |
| 1580 | - var pageNameContact = "e-floating-buttons"; | |
| 1581 | - new FloatingButtonsHandler({ paths: { | |
| 1582 | - contactPagesTablePage: "edit.php?post_type=" + pageNameContact, | |
| 1583 | - contactPagesAddNewPage: "edit.php?post_type=elementor_library&page=" + pageNameContact, | |
| 1584 | - contactPagesTrashPage: "edit.php?post_status=trash&post_type=" + pageNameContact | |
| 1585 | - } }); | |
| 1586 | - } | |
| 1587 | - }]); | |
| 1588 | - }(elementorModules.Module); | |
| 158 | +module.exports = _arrayWithHoles; | |
| 159 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 1589 | 160 | |
| 1590 | -//#endregion | |
| 1591 | -//#region app/assets/js/event-track/dashboard/base-tracking.js | |
| 1592 | - var BaseTracking = /*#__PURE__*/ function() { | |
| 1593 | - function BaseTracking() { | |
| 1594 | - _classCallCheck(this, BaseTracking); | |
| 1595 | - } | |
| 1596 | - return _createClass(BaseTracking, null, [ | |
| 1597 | - { | |
| 1598 | - key: "ensureOwnArrays", | |
| 1599 | - value: function ensureOwnArrays() { | |
| 1600 | - if (!Object.prototype.hasOwnProperty.call(this, "observers")) this.observers = []; | |
| 1601 | - if (!Object.prototype.hasOwnProperty.call(this, "eventListeners")) this.eventListeners = []; | |
| 1602 | - } | |
| 1603 | - }, | |
| 1604 | - { | |
| 1605 | - key: "destroy", | |
| 1606 | - value: function destroy() { | |
| 1607 | - this.ensureOwnArrays(); | |
| 1608 | - this.observers.forEach(function(observer) { | |
| 1609 | - return observer.disconnect(); | |
| 1610 | - }); | |
| 1611 | - this.observers = []; | |
| 1612 | - this.eventListeners.forEach(function(_ref) { | |
| 1613 | - var target = _ref.target; | |
| 1614 | - var type = _ref.type; | |
| 1615 | - var handler = _ref.handler; | |
| 1616 | - var options = _ref.options; | |
| 1617 | - target.removeEventListener(type, handler, options); | |
| 1618 | - }); | |
| 1619 | - this.eventListeners = []; | |
| 1620 | - } | |
| 1621 | - }, | |
| 1622 | - { | |
| 1623 | - key: "addObserver", | |
| 1624 | - value: function addObserver(target, options, callback) { | |
| 1625 | - this.ensureOwnArrays(); | |
| 1626 | - var observer = new MutationObserver(callback); | |
| 1627 | - observer.observe(target, options); | |
| 1628 | - this.observers.push(observer); | |
| 1629 | - return observer; | |
| 1630 | - } | |
| 1631 | - }, | |
| 1632 | - { | |
| 1633 | - key: "addEventListenerTracked", | |
| 1634 | - value: function addEventListenerTracked(target, type, handler) { | |
| 1635 | - var options = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; | |
| 1636 | - this.ensureOwnArrays(); | |
| 1637 | - target.addEventListener(type, handler, options); | |
| 1638 | - this.eventListeners.push({ | |
| 1639 | - target, | |
| 1640 | - type, | |
| 1641 | - handler, | |
| 1642 | - options | |
| 1643 | - }); | |
| 1644 | - } | |
| 1645 | - } | |
| 1646 | - ]); | |
| 1647 | - }(); | |
| 161 | +/***/ }), | |
| 1648 | 162 | |
| 1649 | -//#endregion | |
| 1650 | -//#region app/assets/js/event-track/dashboard/navigation.js | |
| 1651 | - function _callSuper$5(t, o, e) { | |
| 1652 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$5() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1653 | - } | |
| 1654 | - __name(_callSuper$5, "_callSuper"); | |
| 1655 | - function _isNativeReflectConstruct$5() { | |
| 1656 | - try { | |
| 1657 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1658 | - } catch (t) {} | |
| 1659 | - return (_isNativeReflectConstruct$5 = function _isNativeReflectConstruct() { | |
| 1660 | - return !!t; | |
| 1661 | - })(); | |
| 1662 | - } | |
| 1663 | - __name(_isNativeReflectConstruct$5, "_isNativeReflectConstruct"); | |
| 1664 | - var ELEMENTOR_MENU_SELECTORS = { | |
| 1665 | - ELEMENTOR_TOP_LEVEL: "li#toplevel_page_elementor", | |
| 1666 | - TEMPLATES_TOP_LEVEL: "li#menu-posts-elementor_library", | |
| 1667 | - ELEMENTOR_HOME_TOP_LEVEL: "li#toplevel_page_elementor-home", | |
| 1668 | - ADMIN_MENU: "#adminmenu", | |
| 1669 | - TOP_LEVEL_LINK: ".wp-menu-name", | |
| 1670 | - SUBMENU_CONTAINER: ".wp-submenu", | |
| 1671 | - SUBMENU_ITEM: ".wp-submenu li a", | |
| 1672 | - SUBMENU_ITEM_TOP_LEVEL: ".wp-has-submenu", | |
| 1673 | - SIDEBAR_NAVIGATION: "#editor-one-sidebar-navigation" | |
| 1674 | - }; | |
| 1675 | - var NavigationTracking = /*#__PURE__*/ function(_BaseTracking) { | |
| 1676 | - function NavigationTracking() { | |
| 1677 | - _classCallCheck(this, NavigationTracking); | |
| 1678 | - return _callSuper$5(this, NavigationTracking, arguments); | |
| 1679 | - } | |
| 1680 | - _inherits(NavigationTracking, _BaseTracking); | |
| 1681 | - return _createClass(NavigationTracking, null, [ | |
| 1682 | - { | |
| 1683 | - key: "init", | |
| 1684 | - value: function init() { | |
| 1685 | - if (WpDashboardTracking.isEditorOneActive()) { | |
| 1686 | - this.attachSidebarNavigationTracking(); | |
| 1687 | - this.attachElementorHomeMenuTracking(); | |
| 1688 | - } else { | |
| 1689 | - this.attachElementorMenuTracking(); | |
| 1690 | - this.attachTemplatesMenuTracking(); | |
| 1691 | - } | |
| 1692 | - } | |
| 1693 | - }, | |
| 1694 | - { | |
| 1695 | - key: "attachTemplatesMenuTracking", | |
| 1696 | - value: function attachTemplatesMenuTracking() { | |
| 1697 | - var templatesMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.TEMPLATES_TOP_LEVEL); | |
| 1698 | - if (!templatesMenu) return; | |
| 1699 | - this.attachMenuTracking(templatesMenu, "Templates"); | |
| 1700 | - } | |
| 1701 | - }, | |
| 1702 | - { | |
| 1703 | - key: "attachElementorHomeMenuTracking", | |
| 1704 | - value: function attachElementorHomeMenuTracking() { | |
| 1705 | - var elementorHomeMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_HOME_TOP_LEVEL); | |
| 1706 | - if (!elementorHomeMenu) return; | |
| 1707 | - this.attachMenuTracking(elementorHomeMenu, "Elementor"); | |
| 1708 | - } | |
| 1709 | - }, | |
| 1710 | - { | |
| 1711 | - key: "attachElementorMenuTracking", | |
| 1712 | - value: function attachElementorMenuTracking() { | |
| 1713 | - var elementorMenu = document.querySelector(ELEMENTOR_MENU_SELECTORS.ELEMENTOR_TOP_LEVEL); | |
| 1714 | - if (!elementorMenu) return; | |
| 1715 | - this.attachMenuTracking(elementorMenu, "Elementor"); | |
| 1716 | - } | |
| 1717 | - }, | |
| 1718 | - { | |
| 1719 | - key: "attachSidebarNavigationTracking", | |
| 1720 | - value: function attachSidebarNavigationTracking() { | |
| 1721 | - var sidebar = document.querySelector(ELEMENTOR_MENU_SELECTORS.SIDEBAR_NAVIGATION); | |
| 1722 | - if (sidebar) this.attachSidebarClickListener(sidebar); | |
| 1723 | - } | |
| 1724 | - }, | |
| 1725 | - { | |
| 1726 | - key: "attachSidebarClickListener", | |
| 1727 | - value: function attachSidebarClickListener(sidebar) { | |
| 1728 | - var _this = this; | |
| 1729 | - this.addEventListenerTracked(sidebar, "click", function(event) { | |
| 1730 | - _this.handleSidebarClick(event); | |
| 1731 | - }, { capture: true }); | |
| 1732 | - } | |
| 1733 | - }, | |
| 1734 | - { | |
| 1735 | - key: "attachMenuTracking", | |
| 1736 | - value: function attachMenuTracking(menuElement, menuName) { | |
| 1737 | - var _this2 = this; | |
| 1738 | - this.addEventListenerTracked(menuElement, "click", function(event) { | |
| 1739 | - _this2.handleMenuClick(event, menuName); | |
| 1740 | - }); | |
| 1741 | - } | |
| 1742 | - }, | |
| 1743 | - { | |
| 1744 | - key: "handleMenuClick", | |
| 1745 | - value: function handleMenuClick(event, menuName) { | |
| 1746 | - var link = event.target.closest("a"); | |
| 1747 | - if (!link) return; | |
| 1748 | - var isTopLevel = link.classList.contains("menu-top"); | |
| 1749 | - var itemId = this.extractItemId(link); | |
| 1750 | - var area = this.determineNavArea(link); | |
| 1751 | - WpDashboardTracking.trackNavClicked(itemId, isTopLevel ? null : menuName, area); | |
| 1752 | - } | |
| 1753 | - }, | |
| 1754 | - { | |
| 1755 | - key: "handleSidebarClick", | |
| 1756 | - value: function handleSidebarClick(event) { | |
| 1757 | - var clickedElement = event.target.closest("a, button, [role=\"button\"]"); | |
| 1758 | - if (!clickedElement) return; | |
| 1759 | - var itemId = this.extractSidebarItemId(clickedElement); | |
| 1760 | - WpDashboardTracking.trackNavClicked(itemId, null, NAV_AREAS.SIDEBAR_MENU); | |
| 1761 | - } | |
| 1762 | - }, | |
| 1763 | - { | |
| 1764 | - key: "extractSidebarItemId", | |
| 1765 | - value: function extractSidebarItemId(element) { | |
| 1766 | - var paragraph = element.querySelector("p"); | |
| 1767 | - if (paragraph) return paragraph.textContent.trim(); | |
| 1768 | - var textContent = element.textContent.trim(); | |
| 1769 | - if (textContent) return textContent; | |
| 1770 | - return "unknown"; | |
| 1771 | - } | |
| 1772 | - }, | |
| 1773 | - { | |
| 1774 | - key: "extractPageFromUrl", | |
| 1775 | - value: function extractPageFromUrl(href) { | |
| 1776 | - var urlParams = new URLSearchParams(href.split("?")[1] || ""); | |
| 1777 | - var page = urlParams.get("page"); | |
| 1778 | - if (page) return page; | |
| 1779 | - var postType = urlParams.get("post_type"); | |
| 1780 | - if (postType) return postType; | |
| 1781 | - return "unknown"; | |
| 1782 | - } | |
| 1783 | - }, | |
| 1784 | - { | |
| 1785 | - key: "extractItemId", | |
| 1786 | - value: function extractItemId(link) { | |
| 1787 | - var textContent = link.textContent.trim(); | |
| 1788 | - if (textContent) return textContent; | |
| 1789 | - var href = link.getAttribute("href"); | |
| 1790 | - if (href) return this.extractPageFromUrl(href); | |
| 1791 | - var linkId = link.getAttribute("id"); | |
| 1792 | - if (linkId) return linkId; | |
| 1793 | - return "unknown"; | |
| 1794 | - } | |
| 1795 | - }, | |
| 1796 | - { | |
| 1797 | - key: "determineNavArea", | |
| 1798 | - value: function determineNavArea(link) { | |
| 1799 | - if (link.closest("li.menu-top")) { | |
| 1800 | - if (link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_CONTAINER)) { | |
| 1801 | - if (link.closest(ELEMENTOR_MENU_SELECTORS.SUBMENU_ITEM_TOP_LEVEL).classList.contains("wp-not-current-submenu")) return NAV_AREAS.HOVER_MENU; | |
| 1802 | - return NAV_AREAS.SUBMENU; | |
| 1803 | - } | |
| 1804 | - return NAV_AREAS.LEFT_MENU; | |
| 1805 | - } | |
| 1806 | - return NAV_AREAS.LEFT_MENU; | |
| 1807 | - } | |
| 1808 | - } | |
| 1809 | - ]); | |
| 1810 | - }(BaseTracking); | |
| 163 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js": | |
| 164 | +/*!*******************************************************************************!*\ | |
| 165 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js ***! | |
| 166 | + \*******************************************************************************/ | |
| 167 | +/***/ ((module) => { | |
| 1811 | 168 | |
| 1812 | -//#endregion | |
| 1813 | -//#region app/assets/js/event-track/dashboard/plugin-actions.js | |
| 1814 | - function _callSuper$4(t, o, e) { | |
| 1815 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$4() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1816 | - } | |
| 1817 | - __name(_callSuper$4, "_callSuper"); | |
| 1818 | - function _isNativeReflectConstruct$4() { | |
| 1819 | - try { | |
| 1820 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1821 | - } catch (t) {} | |
| 1822 | - return (_isNativeReflectConstruct$4 = function _isNativeReflectConstruct() { | |
| 1823 | - return !!t; | |
| 1824 | - })(); | |
| 1825 | - } | |
| 1826 | - __name(_isNativeReflectConstruct$4, "_isNativeReflectConstruct"); | |
| 1827 | - var PLUGIN_TYPE = { | |
| 1828 | - ELEMENTOR: "core", | |
| 1829 | - ELEMENTOR_PRO: "pro" | |
| 1830 | - }; | |
| 1831 | - var PluginActions = /*#__PURE__*/ function(_BaseTracking) { | |
| 1832 | - function PluginActions() { | |
| 1833 | - _classCallCheck(this, PluginActions); | |
| 1834 | - return _callSuper$4(this, PluginActions, arguments); | |
| 1835 | - } | |
| 1836 | - _inherits(PluginActions, _BaseTracking); | |
| 1837 | - return _createClass(PluginActions, null, [ | |
| 1838 | - { | |
| 1839 | - key: "init", | |
| 1840 | - value: function init() { | |
| 1841 | - this.attachCoreDeactivationTracking(); | |
| 1842 | - this.attachProDeactivationTracking(); | |
| 1843 | - this.attachProDeletionTracking(); | |
| 1844 | - } | |
| 1845 | - }, | |
| 1846 | - { | |
| 1847 | - key: "attachCoreDeactivationTracking", | |
| 1848 | - value: function attachCoreDeactivationTracking() { | |
| 1849 | - var _this = this; | |
| 1850 | - var dialogForm = document.querySelector("#elementor-deactivate-feedback-dialog-form"); | |
| 1851 | - if (!dialogForm) return; | |
| 1852 | - this.addEventListenerTracked(dialogForm, "change", function(event) { | |
| 1853 | - var target = event.target; | |
| 1854 | - if (target.classList.contains("elementor-deactivate-feedback-dialog-input")) _this.selectedReason = target.value; | |
| 1855 | - }); | |
| 1856 | - this.observeModalButtons(); | |
| 1857 | - } | |
| 1858 | - }, | |
| 1859 | - { | |
| 1860 | - key: "attachProDeactivationTracking", | |
| 1861 | - value: function attachProDeactivationTracking() { | |
| 1862 | - var _this2 = this; | |
| 1863 | - var pluginsTable = document.querySelector(".plugins"); | |
| 1864 | - if (!pluginsTable) return; | |
| 1865 | - this.addEventListenerTracked(pluginsTable, "click", function(event) { | |
| 1866 | - var link = event.target.closest("a"); | |
| 1867 | - if (link && "deactivate-elementor-pro" === link.id) _this2.trackProDeactivation(); | |
| 1868 | - }, { capture: true }); | |
| 1869 | - } | |
| 1870 | - }, | |
| 1871 | - { | |
| 1872 | - key: "observeModalButtons", | |
| 1873 | - value: function observeModalButtons() { | |
| 1874 | - var _this3 = this; | |
| 1875 | - var checkAndAttachDelegation = function checkAndAttachDelegation() { | |
| 1876 | - var modal = document.querySelector("#elementor-deactivate-feedback-modal"); | |
| 1877 | - if (!modal) return false; | |
| 1878 | - _this3.addEventListenerTracked(modal, "click", function(event) { | |
| 1879 | - var submitButton = event.target.closest(".dialog-submit"); | |
| 1880 | - var skipButton = event.target.closest(".dialog-skip"); | |
| 1881 | - if (submitButton) _this3.trackCoreDeactivation("submit&deactivate"); | |
| 1882 | - else if (skipButton) _this3.trackCoreDeactivation("skip&deactivate"); | |
| 1883 | - }, { capture: true }); | |
| 1884 | - return true; | |
| 1885 | - }; | |
| 1886 | - if (checkAndAttachDelegation()) return; | |
| 1887 | - this.addObserver(document.body, { | |
| 1888 | - childList: true, | |
| 1889 | - subtree: true | |
| 1890 | - }, function(mutations, observer) { | |
| 1891 | - if (checkAndAttachDelegation()) observer.disconnect(); | |
| 1892 | - }); | |
| 1893 | - } | |
| 1894 | - }, | |
| 1895 | - { | |
| 1896 | - key: "getUserInput", | |
| 1897 | - value: function getUserInput() { | |
| 1898 | - if (!this.selectedReason || !["found_a_better_plugin", "other"].includes(this.selectedReason)) return null; | |
| 1899 | - var inputField = document.querySelector("input[name=\"reason_".concat(this.selectedReason, "\"]")); | |
| 1900 | - if (inputField && inputField.value) return inputField.value; | |
| 1901 | - return null; | |
| 1902 | - } | |
| 1903 | - }, | |
| 1904 | - { | |
| 1905 | - key: "trackCoreDeactivation", | |
| 1906 | - value: function trackCoreDeactivation(action) { | |
| 1907 | - var properties = { | |
| 1908 | - deactivate_form_submit: action, | |
| 1909 | - deactivate_plugin_type: PLUGIN_TYPE.ELEMENTOR | |
| 1910 | - }; | |
| 1911 | - if (this.selectedReason) properties.deactivate_feedback_reason = this.selectedReason; | |
| 1912 | - var userInput = this.getUserInput(); | |
| 1913 | - if (userInput) properties.deactivate_feedback_reason += "/".concat(userInput); | |
| 1914 | - WpDashboardTracking.dispatchEvent("wpdash_deactivate_plugin", properties, { send_immediately: true }); | |
| 1915 | - } | |
| 1916 | - }, | |
| 1917 | - { | |
| 1918 | - key: "trackProDeactivation", | |
| 1919 | - value: function trackProDeactivation() { | |
| 1920 | - this.trackProAction("deactivate"); | |
| 1921 | - } | |
| 1922 | - }, | |
| 1923 | - { | |
| 1924 | - key: "attachProDeletionTracking", | |
| 1925 | - value: function attachProDeletionTracking() { | |
| 1926 | - var _this4 = this; | |
| 1927 | - if ("undefined" === typeof jQuery) return; | |
| 1928 | - jQuery(document).on("wp-plugin-deleting", function(event, args) { | |
| 1929 | - if ("elementor-pro" === (args === null || args === void 0 ? void 0 : args.slug)) _this4.trackProAction("delete"); | |
| 1930 | - }); | |
| 1931 | - } | |
| 1932 | - }, | |
| 1933 | - { | |
| 1934 | - key: "destroy", | |
| 1935 | - value: function destroy() { | |
| 1936 | - if ("undefined" !== typeof jQuery) jQuery(document).off("wp-plugin-deleting"); | |
| 1937 | - BaseTracking.destroy.call(this); | |
| 1938 | - } | |
| 1939 | - }, | |
| 1940 | - { | |
| 1941 | - key: "trackProAction", | |
| 1942 | - value: function trackProAction(action) { | |
| 1943 | - var config = { | |
| 1944 | - deactivate: { | |
| 1945 | - eventName: "wpdash_deactivate_plugin", | |
| 1946 | - propertyKey: "deactivate_plugin_type" | |
| 1947 | - }, | |
| 1948 | - delete: { | |
| 1949 | - eventName: "wpdash_delete_plugin", | |
| 1950 | - propertyKey: "plugin_delete" | |
| 1951 | - } | |
| 1952 | - }[action]; | |
| 1953 | - if (!config) return; | |
| 1954 | - var properties = _defineProperty({}, config.propertyKey, PLUGIN_TYPE.ELEMENTOR_PRO); | |
| 1955 | - WpDashboardTracking.dispatchEvent(config.eventName, properties, { send_immediately: true }); | |
| 1956 | - } | |
| 1957 | - } | |
| 1958 | - ]); | |
| 1959 | - }(BaseTracking); | |
| 1960 | - _defineProperty(PluginActions, "selectedReason", null); | |
| 169 | +function _assertThisInitialized(self) { | |
| 170 | + if (self === void 0) { | |
| 171 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 172 | + } | |
| 1961 | 173 | |
| 1962 | -//#endregion | |
| 1963 | -//#region app/assets/js/event-track/dashboard/promotion.js | |
| 1964 | - function _callSuper$3(t, o, e) { | |
| 1965 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1966 | - } | |
| 1967 | - __name(_callSuper$3, "_callSuper"); | |
| 1968 | - function _isNativeReflectConstruct$3() { | |
| 1969 | - try { | |
| 1970 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1971 | - } catch (t) {} | |
| 1972 | - return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { | |
| 1973 | - return !!t; | |
| 1974 | - })(); | |
| 1975 | - } | |
| 1976 | - __name(_isNativeReflectConstruct$3, "_isNativeReflectConstruct"); | |
| 1977 | - var PROMO_SELECTORS = { | |
| 1978 | - PROMO_PAGE: ".e-feature-promotion, .elementor-settings-form-page, #elementor-element-manager-wrap", | |
| 1979 | - PROMO_BLANK_STATE: ".elementor-blank_state", | |
| 1980 | - CTA_BUTTON: ".go-pro", | |
| 1981 | - TITLE: "h3" | |
| 1982 | - }; | |
| 1983 | - var PromotionTracking = /*#__PURE__*/ function(_BaseTracking) { | |
| 1984 | - function PromotionTracking() { | |
| 1985 | - _classCallCheck(this, PromotionTracking); | |
| 1986 | - return _callSuper$3(this, PromotionTracking, arguments); | |
| 1987 | - } | |
| 1988 | - _inherits(PromotionTracking, _BaseTracking); | |
| 1989 | - return _createClass(PromotionTracking, null, [ | |
| 1990 | - { | |
| 1991 | - key: "init", | |
| 1992 | - value: function init() { | |
| 1993 | - this.attachDelegatedTracking(); | |
| 1994 | - } | |
| 1995 | - }, | |
| 1996 | - { | |
| 1997 | - key: "attachDelegatedTracking", | |
| 1998 | - value: function attachDelegatedTracking() { | |
| 1999 | - var _this = this; | |
| 2000 | - this.addEventListenerTracked(document, "click", function(event) { | |
| 2001 | - var target = event.target; | |
| 2002 | - if (!target) return; | |
| 2003 | - var button = target.closest("a".concat(PROMO_SELECTORS.CTA_BUTTON)); | |
| 2004 | - if (!button) return; | |
| 2005 | - var promoPage = button.closest("".concat(PROMO_SELECTORS.PROMO_PAGE, ", ").concat(PROMO_SELECTORS.PROMO_BLANK_STATE)); | |
| 2006 | - if (!promoPage) return; | |
| 2007 | - _this.handlePromoClick(button, promoPage); | |
| 2008 | - }, { capture: true }); | |
| 2009 | - } | |
| 2010 | - }, | |
| 2011 | - { | |
| 2012 | - key: "handlePromoClick", | |
| 2013 | - value: function handlePromoClick(button, promoPage) { | |
| 2014 | - var promoTitle = this.extractPromoTitle(promoPage, button); | |
| 2015 | - var destination = button.getAttribute("href"); | |
| 2016 | - var path = this.extractPromoPath(); | |
| 2017 | - WpDashboardTracking.trackPromoClicked(promoTitle, destination, path); | |
| 2018 | - } | |
| 2019 | - }, | |
| 2020 | - { | |
| 2021 | - key: "extractPromoTitle", | |
| 2022 | - value: function extractPromoTitle(promoPage, button) { | |
| 2023 | - var titleElement = promoPage.querySelector(PROMO_SELECTORS.TITLE); | |
| 2024 | - return titleElement ? titleElement.textContent.trim() : button.textContent.trim(); | |
| 2025 | - } | |
| 2026 | - }, | |
| 2027 | - { | |
| 2028 | - key: "extractPromoPath", | |
| 2029 | - value: function extractPromoPath() { | |
| 2030 | - var page = new URLSearchParams(window.location.search).get("page"); | |
| 2031 | - if (!page) return "elementor"; | |
| 2032 | - return page.replace("elementor_", "").replace(/_/g, "/"); | |
| 2033 | - } | |
| 2034 | - } | |
| 2035 | - ]); | |
| 2036 | - }(BaseTracking); | |
| 174 | + return self; | |
| 175 | +} | |
| 2037 | 176 | |
| 2038 | -//#endregion | |
| 2039 | -//#region app/assets/js/event-track/dashboard/utils.js | |
| 2040 | - var DashboardUtils = { isElementorPage: function isElementorPage() { | |
| 2041 | - var urlParams = new URLSearchParams(window.location.search); | |
| 2042 | - var page = urlParams.get("page"); | |
| 2043 | - if (page && WpDashboardTracking.elementorPages.some(function(p) { | |
| 2044 | - return page.includes(p); | |
| 2045 | - })) return true; | |
| 2046 | - var postType = urlParams.get("post_type"); | |
| 2047 | - if (WpDashboardTracking.elementorPostTypes.includes(postType)) return true; | |
| 2048 | - return document.body.className.split(" ").some(function(cls) { | |
| 2049 | - return cls.includes("elementor") && (cls.includes("page") || cls.includes("post-type")); | |
| 2050 | - }); | |
| 2051 | - } }; | |
| 177 | +module.exports = _assertThisInitialized; | |
| 178 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 2052 | 179 | |
| 2053 | -//#endregion | |
| 2054 | -//#region app/assets/js/event-track/dashboard/screen-view.js | |
| 2055 | - function _createForOfIteratorHelper$1(r, e) { | |
| 2056 | - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 2057 | - if (!t) { | |
| 2058 | - if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e && r && "number" == typeof r.length) { | |
| 2059 | - t && (r = t); | |
| 2060 | - var _n = 0; | |
| 2061 | - var F = function F() {}; | |
| 2062 | - return { | |
| 2063 | - s: F, | |
| 2064 | - n: function n() { | |
| 2065 | - return _n >= r.length ? { done: !0 } : { | |
| 2066 | - done: !1, | |
| 2067 | - value: r[_n++] | |
| 2068 | - }; | |
| 2069 | - }, | |
| 2070 | - e: function e(r) { | |
| 2071 | - throw r; | |
| 2072 | - }, | |
| 2073 | - f: F | |
| 2074 | - }; | |
| 2075 | - } | |
| 2076 | - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 2077 | - } | |
| 2078 | - var o; | |
| 2079 | - var a = !0; | |
| 2080 | - var u = !1; | |
| 2081 | - return { | |
| 2082 | - s: function s() { | |
| 2083 | - t = t.call(r); | |
| 2084 | - }, | |
| 2085 | - n: function n() { | |
| 2086 | - var r = t.next(); | |
| 2087 | - return a = r.done, r; | |
| 2088 | - }, | |
| 2089 | - e: function e(r) { | |
| 2090 | - u = !0, o = r; | |
| 2091 | - }, | |
| 2092 | - f: function f() { | |
| 2093 | - try { | |
| 2094 | - a || null == t.return || t.return(); | |
| 2095 | - } finally { | |
| 2096 | - if (u) throw o; | |
| 2097 | - } | |
| 2098 | - } | |
| 2099 | - }; | |
| 2100 | - } | |
| 2101 | - __name(_createForOfIteratorHelper$1, "_createForOfIteratorHelper"); | |
| 2102 | - function _unsupportedIterableToArray$1(r, a) { | |
| 2103 | - if (r) { | |
| 2104 | - if ("string" == typeof r) return _arrayLikeToArray$1(r, a); | |
| 2105 | - var t = {}.toString.call(r).slice(8, -1); | |
| 2106 | - 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; | |
| 2107 | - } | |
| 2108 | - } | |
| 2109 | - __name(_unsupportedIterableToArray$1, "_unsupportedIterableToArray"); | |
| 2110 | - function _arrayLikeToArray$1(r, a) { | |
| 2111 | - (null == a || a > r.length) && (a = r.length); | |
| 2112 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 2113 | - return n; | |
| 2114 | - } | |
| 2115 | - __name(_arrayLikeToArray$1, "_arrayLikeToArray"); | |
| 2116 | - function _callSuper$2(t, o, e) { | |
| 2117 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 2118 | - } | |
| 2119 | - __name(_callSuper$2, "_callSuper"); | |
| 2120 | - function _isNativeReflectConstruct$2() { | |
| 2121 | - try { | |
| 2122 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 2123 | - } catch (t) {} | |
| 2124 | - return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { | |
| 2125 | - return !!t; | |
| 2126 | - })(); | |
| 2127 | - } | |
| 2128 | - __name(_isNativeReflectConstruct$2, "_isNativeReflectConstruct"); | |
| 2129 | - function _superPropGet(t, o, e, r) { | |
| 2130 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 2131 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 2132 | - return p.apply(e, t); | |
| 2133 | - } : p; | |
| 2134 | - } | |
| 2135 | - var SCREEN_SELECTORS = { | |
| 2136 | - NAV_TAB_WRAPPER: ".nav-tab-wrapper", | |
| 2137 | - NAV_TAB: ".nav-tab", | |
| 2138 | - NAV_TAB_ACTIVE: ".nav-tab-active", | |
| 2139 | - SETTINGS_FORM_PAGE: ".elementor-settings-form-page", | |
| 2140 | - SETTINGS_FORM_PAGE_ACTIVE: ".elementor-settings-form-page.elementor-active", | |
| 2141 | - FLOATING_ELEMENTS_MODAL: "#elementor-new-floating-elements-modal", | |
| 2142 | - TEMPLATE_DIALOG_MODAL: "#elementor-new-template-dialog-content" | |
| 2143 | - }; | |
| 2144 | - var TRACKED_MODALS = [SCREEN_SELECTORS.FLOATING_ELEMENTS_MODAL, SCREEN_SELECTORS.TEMPLATE_DIALOG_MODAL]; | |
| 2145 | - var ScreenViewTracking = /*#__PURE__*/ function(_BaseTracking) { | |
| 2146 | - function ScreenViewTracking() { | |
| 2147 | - _classCallCheck(this, ScreenViewTracking); | |
| 2148 | - return _callSuper$2(this, ScreenViewTracking, arguments); | |
| 2149 | - } | |
| 2150 | - _inherits(ScreenViewTracking, _BaseTracking); | |
| 2151 | - return _createClass(ScreenViewTracking, null, [ | |
| 2152 | - { | |
| 2153 | - key: "init", | |
| 2154 | - value: function init() { | |
| 2155 | - if (!DashboardUtils.isElementorPage()) return; | |
| 2156 | - var screenData = this.getScreenData(); | |
| 2157 | - if (screenData) this.trackScreen(screenData.screenId, screenData.screenType); | |
| 2158 | - this.attachTabChangeTracking(); | |
| 2159 | - } | |
| 2160 | - }, | |
| 2161 | - { | |
| 2162 | - key: "destroy", | |
| 2163 | - value: function destroy() { | |
| 2164 | - _superPropGet(ScreenViewTracking, "destroy", this, 2)([]); | |
| 2165 | - this.trackedScreens.clear(); | |
| 2166 | - } | |
| 2167 | - }, | |
| 2168 | - { | |
| 2169 | - key: "getScreenData", | |
| 2170 | - value: function getScreenData() { | |
| 2171 | - var urlParams = new URLSearchParams(window.location.search); | |
| 2172 | - var page = urlParams.get("page"); | |
| 2173 | - var postType = urlParams.get("post_type"); | |
| 2174 | - var hash = window.location.hash; | |
| 2175 | - var screenId = ""; | |
| 2176 | - var screenType = ""; | |
| 2177 | - if (page) screenId = page; | |
| 2178 | - else if (postType) screenId = postType; | |
| 2179 | - else screenId = this.getScreenIdFromBody(); | |
| 2180 | - if (this.isElementorAppPage()) { | |
| 2181 | - var appScreenData = this.getAppScreenData(hash); | |
| 2182 | - if (appScreenData) return appScreenData; | |
| 2183 | - } | |
| 2184 | - var hasNavTabs = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER); | |
| 2185 | - var hasSettingsTabs = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE).length > 1; | |
| 2186 | - if (hasNavTabs || hasSettingsTabs || hash && !this.isElementorAppPage()) { | |
| 2187 | - screenType = SCREEN_TYPES.TAB; | |
| 2188 | - if (hash) { | |
| 2189 | - var tabId = hash.replace(/^#(tab-)?/, ""); | |
| 2190 | - screenId = "".concat(screenId, "-").concat(tabId); | |
| 2191 | - } else if (hasNavTabs) { | |
| 2192 | - var activeTab = document.querySelector(SCREEN_SELECTORS.NAV_TAB_ACTIVE); | |
| 2193 | - if (activeTab) { | |
| 2194 | - var tabText = activeTab.textContent.trim(); | |
| 2195 | - var tabHref = activeTab.getAttribute("href"); | |
| 2196 | - if (tabText) screenId = "".concat(screenId, "-").concat(this.sanitizeScreenId(tabText)); | |
| 2197 | - else if (tabHref && tabHref.includes("#")) { | |
| 2198 | - var _tabId = tabHref.split("#")[1]; | |
| 2199 | - screenId = "".concat(screenId, "-").concat(_tabId); | |
| 2200 | - } | |
| 2201 | - } | |
| 2202 | - } else if (hasSettingsTabs) { | |
| 2203 | - var activeSettingsTab = document.querySelector(SCREEN_SELECTORS.SETTINGS_FORM_PAGE_ACTIVE); | |
| 2204 | - if (activeSettingsTab) { | |
| 2205 | - var _tabId2 = activeSettingsTab.id; | |
| 2206 | - if (_tabId2) screenId = "".concat(screenId, "-").concat(_tabId2); | |
| 2207 | - } | |
| 2208 | - } | |
| 2209 | - } | |
| 2210 | - return { | |
| 2211 | - screenId, | |
| 2212 | - screenType | |
| 2213 | - }; | |
| 2214 | - } | |
| 2215 | - }, | |
| 2216 | - { | |
| 2217 | - key: "isElementorAppPage", | |
| 2218 | - value: function isElementorAppPage() { | |
| 2219 | - return "elementor-app" === new URLSearchParams(window.location.search).get("page"); | |
| 2220 | - } | |
| 2221 | - }, | |
| 2222 | - { | |
| 2223 | - key: "getAppScreenData", | |
| 2224 | - value: function getAppScreenData(hash) { | |
| 2225 | - if (!hash) return null; | |
| 2226 | - var cleanHash = hash.replace(/^#/, ""); | |
| 2227 | - if (!cleanHash.startsWith("/")) return null; | |
| 2228 | - var pathParts = cleanHash.split("/").filter(Boolean); | |
| 2229 | - if (0 === pathParts.length) return null; | |
| 2230 | - return { | |
| 2231 | - screenId: pathParts.join("/"), | |
| 2232 | - screenType: SCREEN_TYPES.APP_SCREEN | |
| 2233 | - }; | |
| 2234 | - } | |
| 2235 | - }, | |
| 2236 | - { | |
| 2237 | - key: "getScreenIdFromBody", | |
| 2238 | - value: function getScreenIdFromBody() { | |
| 2239 | - var _iterator = _createForOfIteratorHelper$1(document.body.className.split(" ")); | |
| 2240 | - var _step; | |
| 2241 | - try { | |
| 2242 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 2243 | - var cls = _step.value; | |
| 2244 | - if (cls.startsWith("elementor") && (cls.includes("page") || cls.includes("post-type"))) return cls; | |
| 2245 | - } | |
| 2246 | - } catch (err) { | |
| 2247 | - _iterator.e(err); | |
| 2248 | - } finally { | |
| 2249 | - _iterator.f(); | |
| 2250 | - } | |
| 2251 | - return "elementor-unknown"; | |
| 2252 | - } | |
| 2253 | - }, | |
| 2254 | - { | |
| 2255 | - key: "sanitizeScreenId", | |
| 2256 | - value: function sanitizeScreenId(text) { | |
| 2257 | - return text.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, ""); | |
| 2258 | - } | |
| 2259 | - }, | |
| 2260 | - { | |
| 2261 | - key: "attachTabChangeTracking", | |
| 2262 | - value: function attachTabChangeTracking() { | |
| 2263 | - this.attachNavTabTracking(); | |
| 2264 | - this.attachHashChangeTracking(); | |
| 2265 | - this.attachSettingsTabTracking(); | |
| 2266 | - this.attachModalTracking(); | |
| 2267 | - } | |
| 2268 | - }, | |
| 2269 | - { | |
| 2270 | - key: "attachNavTabTracking", | |
| 2271 | - value: function attachNavTabTracking() { | |
| 2272 | - var _this = this; | |
| 2273 | - var wrapper = document.querySelector(SCREEN_SELECTORS.NAV_TAB_WRAPPER); | |
| 2274 | - if (!wrapper) return; | |
| 2275 | - this.addEventListenerTracked(wrapper, "click", function(event) { | |
| 2276 | - var navTab = event.target.closest(SCREEN_SELECTORS.NAV_TAB); | |
| 2277 | - if (navTab && !navTab.classList.contains("nav-tab-active")) { | |
| 2278 | - var screenData = _this.getScreenData(); | |
| 2279 | - if (screenData) _this.trackScreen(screenData.screenId, screenData.screenType); | |
| 2280 | - } | |
| 2281 | - }); | |
| 2282 | - } | |
| 2283 | - }, | |
| 2284 | - { | |
| 2285 | - key: "attachHashChangeTracking", | |
| 2286 | - value: function attachHashChangeTracking() { | |
| 2287 | - var _this2 = this; | |
| 2288 | - this.addEventListenerTracked(window, "hashchange", function() { | |
| 2289 | - var screenData = _this2.getScreenData(); | |
| 2290 | - if (screenData) _this2.trackScreen(screenData.screenId, screenData.screenType); | |
| 2291 | - }); | |
| 2292 | - } | |
| 2293 | - }, | |
| 2294 | - { | |
| 2295 | - key: "attachSettingsTabTracking", | |
| 2296 | - value: function attachSettingsTabTracking() { | |
| 2297 | - var _this3 = this; | |
| 2298 | - var settingsPages = document.querySelectorAll(SCREEN_SELECTORS.SETTINGS_FORM_PAGE); | |
| 2299 | - if (0 === settingsPages.length) return; | |
| 2300 | - settingsPages.forEach(function(page) { | |
| 2301 | - _this3.addObserver(page, { | |
| 2302 | - attributes: true, | |
| 2303 | - attributeFilter: ["class"] | |
| 2304 | - }, function() { | |
| 2305 | - var screenData = _this3.getScreenData(); | |
| 2306 | - if (screenData) _this3.trackScreen(screenData.screenId, screenData.screenType); | |
| 2307 | - }); | |
| 2308 | - }); | |
| 2309 | - } | |
| 2310 | - }, | |
| 2311 | - { | |
| 2312 | - key: "attachModalTracking", | |
| 2313 | - value: function attachModalTracking() { | |
| 2314 | - var _this4 = this; | |
| 2315 | - this.addObserver(document.body, { | |
| 2316 | - childList: true, | |
| 2317 | - subtree: true | |
| 2318 | - }, function(mutations) { | |
| 2319 | - var _iterator2 = _createForOfIteratorHelper$1(mutations); | |
| 2320 | - var _step2; | |
| 2321 | - try { | |
| 2322 | - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) if ("childList" === _step2.value.type) TRACKED_MODALS.forEach(function(modalSelector) { | |
| 2323 | - var modal = document.querySelector(modalSelector); | |
| 2324 | - if (modal && _this4.isModalVisible(modal)) { | |
| 2325 | - var modalId = modalSelector.replace("#", ""); | |
| 2326 | - _this4.trackScreen(modalId, SCREEN_TYPES.POPUP); | |
| 2327 | - } | |
| 2328 | - }); | |
| 2329 | - } catch (err) { | |
| 2330 | - _iterator2.e(err); | |
| 2331 | - } finally { | |
| 2332 | - _iterator2.f(); | |
| 2333 | - } | |
| 2334 | - }); | |
| 2335 | - } | |
| 2336 | - }, | |
| 2337 | - { | |
| 2338 | - key: "isModalVisible", | |
| 2339 | - value: function isModalVisible(element) { | |
| 2340 | - if (!element) return false; | |
| 2341 | - var style = window.getComputedStyle(element); | |
| 2342 | - return "none" !== style.display && 0 !== parseFloat(style.opacity); | |
| 2343 | - } | |
| 2344 | - }, | |
| 2345 | - { | |
| 2346 | - key: "trackScreen", | |
| 2347 | - value: function trackScreen(screenId) { | |
| 2348 | - var screenType = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : SCREEN_TYPES.TOP_LEVEL_PAGE; | |
| 2349 | - var trackingKey = "".concat(screenId, "-").concat(screenType); | |
| 2350 | - if (this.trackedScreens.has(trackingKey)) return; | |
| 2351 | - this.trackedScreens.add(trackingKey); | |
| 2352 | - WpDashboardTracking.trackScreenViewed(screenId, screenType); | |
| 2353 | - } | |
| 2354 | - } | |
| 2355 | - ]); | |
| 2356 | - }(BaseTracking); | |
| 2357 | - _defineProperty(ScreenViewTracking, "trackedScreens", /* @__PURE__ */ new Set()); | |
| 180 | +/***/ }), | |
| 2358 | 181 | |
| 2359 | -//#endregion | |
| 2360 | -//#region app/assets/js/event-track/dashboard/menu-promotion.js | |
| 2361 | - function _callSuper$1(t, o, e) { | |
| 2362 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 2363 | - } | |
| 2364 | - __name(_callSuper$1, "_callSuper"); | |
| 2365 | - function _isNativeReflectConstruct$1() { | |
| 2366 | - try { | |
| 2367 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 2368 | - } catch (t) {} | |
| 2369 | - return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { | |
| 2370 | - return !!t; | |
| 2371 | - })(); | |
| 2372 | - } | |
| 2373 | - __name(_isNativeReflectConstruct$1, "_isNativeReflectConstruct"); | |
| 2374 | - var PROMO_MENU_ITEMS = { | |
| 2375 | - go_elementor_pro: "Upgrade", | |
| 2376 | - "elementor-one-upgrade": "Upgrade" | |
| 2377 | - }; | |
| 2378 | - var MenuPromotionTracking = /*#__PURE__*/ function(_BaseTracking) { | |
| 2379 | - function MenuPromotionTracking() { | |
| 2380 | - _classCallCheck(this, MenuPromotionTracking); | |
| 2381 | - return _callSuper$1(this, MenuPromotionTracking, arguments); | |
| 2382 | - } | |
| 2383 | - _inherits(MenuPromotionTracking, _BaseTracking); | |
| 2384 | - return _createClass(MenuPromotionTracking, null, [ | |
| 2385 | - { | |
| 2386 | - key: "init", | |
| 2387 | - value: function init() { | |
| 2388 | - this.attachDelegatedTracking(); | |
| 2389 | - } | |
| 2390 | - }, | |
| 2391 | - { | |
| 2392 | - key: "attachDelegatedTracking", | |
| 2393 | - value: function attachDelegatedTracking() { | |
| 2394 | - var _this = this; | |
| 2395 | - this.addEventListenerTracked(document, "click", function(event) { | |
| 2396 | - var target = event.target; | |
| 2397 | - if (!target) return; | |
| 2398 | - var link = target.closest("a"); | |
| 2399 | - if (!link) return; | |
| 2400 | - var href = link.getAttribute("href"); | |
| 2401 | - if (!href) return; | |
| 2402 | - var menuItemKey = _this.extractPromoMenuKey(href); | |
| 2403 | - if (!menuItemKey) return; | |
| 2404 | - _this.handleMenuPromoClick(link, menuItemKey); | |
| 2405 | - }, { capture: true }); | |
| 2406 | - } | |
| 2407 | - }, | |
| 2408 | - { | |
| 2409 | - key: "extractPromoMenuKey", | |
| 2410 | - value: function extractPromoMenuKey(href) { | |
| 2411 | - for (var _i = 0, _Object$keys = Object.keys(PROMO_MENU_ITEMS); _i < _Object$keys.length; _i++) { | |
| 2412 | - var menuItemKey = _Object$keys[_i]; | |
| 2413 | - if (href.includes("page=".concat(menuItemKey))) return menuItemKey; | |
| 2414 | - } | |
| 2415 | - return null; | |
| 2416 | - } | |
| 2417 | - }, | |
| 2418 | - { | |
| 2419 | - key: "handleMenuPromoClick", | |
| 2420 | - value: function handleMenuPromoClick(menuItem, menuItemKey) { | |
| 2421 | - var destination = menuItem.getAttribute("href"); | |
| 2422 | - var promoName = PROMO_MENU_ITEMS[menuItemKey]; | |
| 2423 | - var path = menuItemKey.replace("elementor_", "").replace(/_/g, "/"); | |
| 2424 | - WpDashboardTracking.trackPromoClicked(promoName, destination, path); | |
| 2425 | - } | |
| 2426 | - } | |
| 2427 | - ]); | |
| 2428 | - }(BaseTracking); | |
| 182 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js": | |
| 183 | +/*!************************************************************************!*\ | |
| 184 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js ***! | |
| 185 | + \************************************************************************/ | |
| 186 | +/***/ ((module) => { | |
| 2429 | 187 | |
| 2430 | -//#endregion | |
| 2431 | -//#region app/assets/js/event-track/dashboard/action-controls.js | |
| 2432 | - function _createForOfIteratorHelper(r, e) { | |
| 2433 | - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 2434 | - if (!t) { | |
| 2435 | - if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | |
| 2436 | - t && (r = t); | |
| 2437 | - var _n = 0; | |
| 2438 | - var F = function F() {}; | |
| 2439 | - return { | |
| 2440 | - s: F, | |
| 2441 | - n: function n() { | |
| 2442 | - return _n >= r.length ? { done: !0 } : { | |
| 2443 | - done: !1, | |
| 2444 | - value: r[_n++] | |
| 2445 | - }; | |
| 2446 | - }, | |
| 2447 | - e: function e(r) { | |
| 2448 | - throw r; | |
| 2449 | - }, | |
| 2450 | - f: F | |
| 2451 | - }; | |
| 2452 | - } | |
| 2453 | - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 2454 | - } | |
| 2455 | - var o; | |
| 2456 | - var a = !0; | |
| 2457 | - var u = !1; | |
| 2458 | - return { | |
| 2459 | - s: function s() { | |
| 2460 | - t = t.call(r); | |
| 2461 | - }, | |
| 2462 | - n: function n() { | |
| 2463 | - var r = t.next(); | |
| 2464 | - return a = r.done, r; | |
| 2465 | - }, | |
| 2466 | - e: function e(r) { | |
| 2467 | - u = !0, o = r; | |
| 2468 | - }, | |
| 2469 | - f: function f() { | |
| 2470 | - try { | |
| 2471 | - a || null == t.return || t.return(); | |
| 2472 | - } finally { | |
| 2473 | - if (u) throw o; | |
| 2474 | - } | |
| 2475 | - } | |
| 2476 | - }; | |
| 2477 | - } | |
| 2478 | - function _unsupportedIterableToArray(r, a) { | |
| 2479 | - if (r) { | |
| 2480 | - if ("string" == typeof r) return _arrayLikeToArray(r, a); | |
| 2481 | - var t = {}.toString.call(r).slice(8, -1); | |
| 2482 | - 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; | |
| 2483 | - } | |
| 2484 | - } | |
| 2485 | - function _arrayLikeToArray(r, a) { | |
| 2486 | - (null == a || a > r.length) && (a = r.length); | |
| 2487 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 2488 | - return n; | |
| 2489 | - } | |
| 2490 | - function _callSuper(t, o, e) { | |
| 2491 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 2492 | - } | |
| 2493 | - function _isNativeReflectConstruct() { | |
| 2494 | - try { | |
| 2495 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 2496 | - } catch (t) {} | |
| 2497 | - return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 2498 | - return !!t; | |
| 2499 | - })(); | |
| 2500 | - } | |
| 2501 | - var EXCLUDED_SELECTORS = { | |
| 2502 | - ADMIN_MENU: "#adminmenu", | |
| 2503 | - TOP_BAR: ".e-admin-top-bar", | |
| 2504 | - TOP_BAR_EDITOR_ONE: "#editor-one-top-bar", | |
| 2505 | - WP_ADMIN_BAR: "#wpadminbar", | |
| 2506 | - SUBMENU: ".wp-submenu", | |
| 2507 | - PROMO_PAGE: ".e-feature-promotion", | |
| 2508 | - PROMO_BLANK_STATE: ".elementor-blank_state", | |
| 2509 | - APP: ".e-app", | |
| 2510 | - SIDEBAR_NAVIGATION: "#editor-one-sidebar-navigation", | |
| 2511 | - FLYOUT_MENU: ".elementor-submenu-flyout" | |
| 2512 | - }; | |
| 2513 | - var ActionControlTracking = /*#__PURE__*/ function(_BaseTracking) { | |
| 2514 | - function ActionControlTracking() { | |
| 2515 | - _classCallCheck(this, ActionControlTracking); | |
| 2516 | - return _callSuper(this, ActionControlTracking, arguments); | |
| 2517 | - } | |
| 2518 | - _inherits(ActionControlTracking, _BaseTracking); | |
| 2519 | - return _createClass(ActionControlTracking, null, [ | |
| 2520 | - { | |
| 2521 | - key: "init", | |
| 2522 | - value: function init() { | |
| 2523 | - if (!DashboardUtils.isElementorPage()) return; | |
| 2524 | - this.attachDelegatedHandlers(); | |
| 2525 | - this.addTrackingAttributesToFilterButtons(); | |
| 2526 | - this.initializeLinkDataIds(); | |
| 2527 | - } | |
| 2528 | - }, | |
| 2529 | - { | |
| 2530 | - key: "initializeLinkDataIds", | |
| 2531 | - value: function initializeLinkDataIds() { | |
| 2532 | - var _this = this; | |
| 2533 | - var initializeLinks = function initializeLinks() { | |
| 2534 | - document.querySelectorAll("a[href]").forEach(function(link) { | |
| 2535 | - if (_this.isExcludedElement(link) || _this.isNavigationLink(link) || link.hasAttribute("data-id")) return; | |
| 2536 | - var href = link.getAttribute("href"); | |
| 2537 | - if (!href) return; | |
| 2538 | - var cleanedHref = _this.removeNonceFromUrl(href); | |
| 2539 | - if (cleanedHref) link.setAttribute("data-id", cleanedHref); | |
| 2540 | - }); | |
| 2541 | - }; | |
| 2542 | - if ("loading" === document.readyState) document.addEventListener("DOMContentLoaded", initializeLinks); | |
| 2543 | - else initializeLinks(); | |
| 2544 | - } | |
| 2545 | - }, | |
| 2546 | - { | |
| 2547 | - key: "addTrackingAttributesToFilterButtons", | |
| 2548 | - value: function addTrackingAttributesToFilterButtons() { | |
| 2549 | - var body = document.body; | |
| 2550 | - if (!body) return; | |
| 2551 | - var screenPrefix = ""; | |
| 2552 | - switch (true) { | |
| 2553 | - case body.classList.contains("post-type-elementor_library"): | |
| 2554 | - screenPrefix = "elementor_library-library"; | |
| 2555 | - break; | |
| 2556 | - case body.classList.contains("post-type-e-floating-buttons"): | |
| 2557 | - screenPrefix = "e-floating-buttons"; | |
| 2558 | - break; | |
| 2559 | - default: return; | |
| 2560 | - } | |
| 2561 | - var addDataIdToListTableButtons = function addDataIdToListTableButtons() { | |
| 2562 | - [ | |
| 2563 | - { | |
| 2564 | - id: "post-query-submit", | |
| 2565 | - suffix: "filter" | |
| 2566 | - }, | |
| 2567 | - { | |
| 2568 | - id: "search-submit", | |
| 2569 | - suffix: "search" | |
| 2570 | - }, | |
| 2571 | - { | |
| 2572 | - id: "doaction", | |
| 2573 | - suffix: "apply" | |
| 2574 | - }, | |
| 2575 | - { | |
| 2576 | - id: "doaction2", | |
| 2577 | - suffix: "apply-bottom" | |
| 2578 | - } | |
| 2579 | - ].forEach(function(config) { | |
| 2580 | - var button = document.getElementById(config.id); | |
| 2581 | - if (!button || button.hasAttribute("data-id")) return; | |
| 2582 | - button.setAttribute("data-id", "".concat(screenPrefix, "-button-").concat(config.suffix)); | |
| 2583 | - }); | |
| 2584 | - }; | |
| 2585 | - if ("loading" === document.readyState) document.addEventListener("DOMContentLoaded", addDataIdToListTableButtons); | |
| 2586 | - else addDataIdToListTableButtons(); | |
| 2587 | - } | |
| 2588 | - }, | |
| 2589 | - { | |
| 2590 | - key: "isExcludedElement", | |
| 2591 | - value: function isExcludedElement(element) { | |
| 2592 | - for (var _i = 0, _Object$values = Object.values(EXCLUDED_SELECTORS); _i < _Object$values.length; _i++) { | |
| 2593 | - var selector = _Object$values[_i]; | |
| 2594 | - if (element.closest(selector)) return true; | |
| 2595 | - } | |
| 2596 | - if (element.classList.contains("go-pro")) return true; | |
| 2597 | - return false; | |
| 2598 | - } | |
| 2599 | - }, | |
| 2600 | - { | |
| 2601 | - key: "attachDelegatedHandlers", | |
| 2602 | - value: function attachDelegatedHandlers() { | |
| 2603 | - var _this2 = this; | |
| 2604 | - var FILTER_BUTTON_IDS = ["search-submit", "post-query-submit"]; | |
| 2605 | - this.addEventListenerTracked(document, "click", function(event) { | |
| 2606 | - var _event$target; | |
| 2607 | - var base = event.target && 1 === event.target.nodeType ? event.target : (_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.parentElement; | |
| 2608 | - if (!base) return; | |
| 2609 | - var toggle = base.closest(".elementor-role-toggle"); | |
| 2610 | - if (toggle && !_this2.isExcludedElement(toggle)) { | |
| 2611 | - _this2.trackControl(toggle, CONTROL_TYPES.TOGGLE); | |
| 2612 | - return; | |
| 2613 | - } | |
| 2614 | - var button = base.closest("button, input[type=\"submit\"], input[type=\"button\"], .button, .e-btn"); | |
| 2615 | - if (button && !_this2.isExcludedElement(button)) { | |
| 2616 | - if (FILTER_BUTTON_IDS.includes(button.id)) { | |
| 2617 | - _this2.trackControl(button, CONTROL_TYPES.FILTER); | |
| 2618 | - return; | |
| 2619 | - } | |
| 2620 | - _this2.trackControl(button, CONTROL_TYPES.BUTTON); | |
| 2621 | - return; | |
| 2622 | - } | |
| 2623 | - var link = base.closest("a"); | |
| 2624 | - if (link && !_this2.isExcludedElement(link) && !_this2.isNavigationLink(link)) _this2.trackControl(link, CONTROL_TYPES.LINK); | |
| 2625 | - }, { capture: false }); | |
| 2626 | - this.addEventListenerTracked(document, "change", function(event) { | |
| 2627 | - var _event$target2; | |
| 2628 | - var base = event.target && 1 === event.target.nodeType ? event.target : (_event$target2 = event.target) === null || _event$target2 === void 0 ? void 0 : _event$target2.parentElement; | |
| 2629 | - if (!base) return; | |
| 2630 | - var toggle = null; | |
| 2631 | - if (WpDashboardTracking.isEditorOneActive()) toggle = base.closest(".MuiSwitch-switchBase"); | |
| 2632 | - else toggle = base.closest(".components-toggle-control"); | |
| 2633 | - if (toggle && !_this2.isExcludedElement(toggle)) { | |
| 2634 | - _this2.trackControl(toggle, CONTROL_TYPES.TOGGLE); | |
| 2635 | - return; | |
| 2636 | - } | |
| 2637 | - var checkbox = base.closest("input[type=\"checkbox\"]"); | |
| 2638 | - if (checkbox && !_this2.isExcludedElement(checkbox)) { | |
| 2639 | - _this2.trackControl(checkbox, CONTROL_TYPES.CHECKBOX); | |
| 2640 | - return; | |
| 2641 | - } | |
| 2642 | - var radio = base.closest("input[type=\"radio\"]"); | |
| 2643 | - if (radio && !_this2.isExcludedElement(radio)) { | |
| 2644 | - _this2.trackControl(radio, CONTROL_TYPES.RADIO); | |
| 2645 | - return; | |
| 2646 | - } | |
| 2647 | - var select = base.closest("select"); | |
| 2648 | - if (select && !_this2.isExcludedElement(select)) _this2.trackControl(select, CONTROL_TYPES.SELECT); | |
| 2649 | - }); | |
| 2650 | - } | |
| 2651 | - }, | |
| 2652 | - { | |
| 2653 | - key: "isNavigationLink", | |
| 2654 | - value: function isNavigationLink(link) { | |
| 2655 | - var href = link.getAttribute("href"); | |
| 2656 | - if (!href) return false; | |
| 2657 | - if (href.startsWith("#") && href.includes("tab")) return true; | |
| 2658 | - if (link.classList.contains("nav-tab")) return true; | |
| 2659 | - return !!link.closest(".wp-submenu, #adminmenu, .e-admin-top-bar, #wpadminbar"); | |
| 2660 | - } | |
| 2661 | - }, | |
| 2662 | - { | |
| 2663 | - key: "trackControl", | |
| 2664 | - value: function trackControl(element, controlType) { | |
| 2665 | - var controlIdentifier = this.extractControlIdentifier(element, controlType); | |
| 2666 | - if (!controlIdentifier) return; | |
| 2667 | - WpDashboardTracking.trackActionControl(controlIdentifier, controlType); | |
| 2668 | - } | |
| 2669 | - }, | |
| 2670 | - { | |
| 2671 | - key: "extractControlIdentifier", | |
| 2672 | - value: function extractControlIdentifier(element, controlType) { | |
| 2673 | - if (CONTROL_TYPES.RADIO === controlType) { | |
| 2674 | - var name = element.getAttribute("name"); | |
| 2675 | - var value = element.value || element.getAttribute("value"); | |
| 2676 | - if (name && value) return "".concat(name, "-").concat(value); | |
| 2677 | - if (name) return name; | |
| 2678 | - } | |
| 2679 | - if (CONTROL_TYPES.SELECT === controlType) { | |
| 2680 | - var _name = element.getAttribute("name"); | |
| 2681 | - if (_name) return _name; | |
| 2682 | - } | |
| 2683 | - if (CONTROL_TYPES.CHECKBOX === controlType) { | |
| 2684 | - var _name2 = element.getAttribute("name"); | |
| 2685 | - if (_name2) { | |
| 2686 | - if (document.querySelectorAll("input[type=\"checkbox\"][name=\"".concat(CSS.escape(_name2), "\"]")).length > 1) { | |
| 2687 | - var _value = element.value || element.getAttribute("value"); | |
| 2688 | - if (_value) return "".concat(_name2, "-").concat(_value); | |
| 2689 | - } | |
| 2690 | - return _name2; | |
| 2691 | - } | |
| 2692 | - } | |
| 2693 | - if (CONTROL_TYPES.LINK === controlType) { | |
| 2694 | - var dataId = element.getAttribute("data-id"); | |
| 2695 | - if (dataId) return dataId; | |
| 2696 | - var href = element.getAttribute("href"); | |
| 2697 | - if (href) return this.removeNonceFromUrl(href); | |
| 2698 | - } | |
| 2699 | - if (CONTROL_TYPES.BUTTON === controlType || CONTROL_TYPES.TOGGLE === controlType || CONTROL_TYPES.FILTER === controlType) { | |
| 2700 | - var _dataId = element.getAttribute("data-id"); | |
| 2701 | - if (_dataId) return _dataId; | |
| 2702 | - var classIdMatch = this.extractClassId(element); | |
| 2703 | - if (classIdMatch) return classIdMatch; | |
| 2704 | - } | |
| 2705 | - return ""; | |
| 2706 | - } | |
| 2707 | - }, | |
| 2708 | - { | |
| 2709 | - key: "extractClassId", | |
| 2710 | - value: function extractClassId(element) { | |
| 2711 | - var classes = element.className; | |
| 2712 | - if (!classes || "string" !== typeof classes) return ""; | |
| 2713 | - var _iterator = _createForOfIteratorHelper(classes.split(" ")); | |
| 2714 | - var _step; | |
| 2715 | - try { | |
| 2716 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 2717 | - var cls = _step.value; | |
| 2718 | - if (cls.startsWith("e-id-")) return cls.substring(5); | |
| 2719 | - } | |
| 2720 | - } catch (err) { | |
| 2721 | - _iterator.e(err); | |
| 2722 | - } finally { | |
| 2723 | - _iterator.f(); | |
| 2724 | - } | |
| 2725 | - return ""; | |
| 2726 | - } | |
| 2727 | - }, | |
| 2728 | - { | |
| 2729 | - key: "removeNonceFromUrl", | |
| 2730 | - value: function removeNonceFromUrl(url) { | |
| 2731 | - try { | |
| 2732 | - var urlObj = new URL(url, window.location.origin); | |
| 2733 | - urlObj.searchParams.delete("_wpnonce"); | |
| 2734 | - var postParam = urlObj.searchParams.get("post"); | |
| 2735 | - if (postParam !== null && /^[0-9]+$/.test(postParam)) urlObj.searchParams.delete("post"); | |
| 2736 | - return urlObj.pathname + urlObj.search + urlObj.hash; | |
| 2737 | - } catch (e) { | |
| 2738 | - return url; | |
| 2739 | - } | |
| 2740 | - } | |
| 2741 | - } | |
| 2742 | - ]); | |
| 2743 | - }(BaseTracking); | |
| 188 | +function _classCallCheck(instance, Constructor) { | |
| 189 | + if (!(instance instanceof Constructor)) { | |
| 190 | + throw new TypeError("Cannot call a class as a function"); | |
| 191 | + } | |
| 192 | +} | |
| 2744 | 193 | |
| 2745 | -//#endregion | |
| 2746 | -//#region app/assets/js/event-track/wp-dashboard-tracking.js | |
| 2747 | - var _WpDashboardTracking; | |
| 2748 | - var SESSION_TIMEOUT_MINUTES = 30; | |
| 2749 | - var MINUTE_MS = 60 * 1e3; | |
| 2750 | - var SESSION_TIMEOUT = SESSION_TIMEOUT_MINUTES * MINUTE_MS; | |
| 2751 | - var ACTIVITY_CHECK_INTERVAL = 1 * MINUTE_MS; | |
| 2752 | - var SESSION_STORAGE_KEY = "elementor_wpdash_session"; | |
| 2753 | - var PENDING_NAV_CLICK_KEY = "elementor_wpdash_pending_nav"; | |
| 2754 | - var CONTROL_TYPES = { | |
| 2755 | - BUTTON: "button", | |
| 2756 | - CHECKBOX: "checkbox", | |
| 2757 | - RADIO: "radio", | |
| 2758 | - LINK: "link", | |
| 2759 | - SELECT: "select", | |
| 2760 | - TOGGLE: "toggle", | |
| 2761 | - FILTER: "filter" | |
| 2762 | - }; | |
| 2763 | - var NAV_AREAS = { | |
| 2764 | - LEFT_MENU: "left_menu", | |
| 2765 | - SUBMENU: "submenu", | |
| 2766 | - HOVER_MENU: "hover_menu", | |
| 2767 | - TOP_BAR: "top_bar", | |
| 2768 | - SIDEBAR_MENU: "sidebar" | |
| 2769 | - }; | |
| 2770 | - var SCREEN_TYPES = { | |
| 2771 | - TAB: "tab", | |
| 2772 | - POPUP: "popup", | |
| 2773 | - APP_SCREEN: "app_screen" | |
| 2774 | - }; | |
| 2775 | - var WpDashboardTracking = /*#__PURE__*/ function() { | |
| 2776 | - function WpDashboardTracking() { | |
| 2777 | - _classCallCheck(this, WpDashboardTracking); | |
| 2778 | - } | |
| 2779 | - return _createClass(WpDashboardTracking, null, [ | |
| 2780 | - { | |
| 2781 | - key: "getElementorCommon", | |
| 2782 | - value: function getElementorCommon() { | |
| 2783 | - return window.elementorCommon; | |
| 2784 | - } | |
| 2785 | - }, | |
| 2786 | - { | |
| 2787 | - key: "init", | |
| 2788 | - value: function init() { | |
| 2789 | - if (this.initialized) return; | |
| 2790 | - this.restoreOrCreateSession(); | |
| 2791 | - if (this.isEventsManagerAvailable()) { | |
| 2792 | - this.startSessionMonitoring(); | |
| 2793 | - this.attachActivityListeners(); | |
| 2794 | - this.attachNavigationListener(); | |
| 2795 | - this.initialized = true; | |
| 2796 | - } | |
| 2797 | - } | |
| 2798 | - }, | |
| 2799 | - { | |
| 2800 | - key: "restoreOrCreateSession", | |
| 2801 | - value: function restoreOrCreateSession() { | |
| 2802 | - var storedSession = this.getStoredSession(); | |
| 2803 | - if (storedSession) { | |
| 2804 | - this.sessionStartTime = storedSession.sessionStartTime; | |
| 2805 | - this.navItemsVisited = new Set(storedSession.navItemsVisited); | |
| 2806 | - this.lastActivityTime = Date.now(); | |
| 2807 | - this.sessionEnded = false; | |
| 2808 | - } else { | |
| 2809 | - this.sessionStartTime = Date.now(); | |
| 2810 | - this.lastActivityTime = Date.now(); | |
| 2811 | - this.sessionEnded = false; | |
| 2812 | - this.navItemsVisited = /* @__PURE__ */ new Set(); | |
| 2813 | - } | |
| 2814 | - this.processPendingNavClick(); | |
| 2815 | - this.saveSessionToStorage(); | |
| 2816 | - } | |
| 2817 | - }, | |
| 2818 | - { | |
| 2819 | - key: "isEditorOneActive", | |
| 2820 | - value: function isEditorOneActive() { | |
| 2821 | - var _elementorCommon$conf; | |
| 2822 | - var _elementorCommon$conf2; | |
| 2823 | - var elementorCommon = this.getElementorCommon(); | |
| 2824 | - return (_elementorCommon$conf = elementorCommon === null || elementorCommon === void 0 || (_elementorCommon$conf2 = elementorCommon.config) === null || _elementorCommon$conf2 === void 0 || (_elementorCommon$conf2 = _elementorCommon$conf2.editor_events) === null || _elementorCommon$conf2 === void 0 ? void 0 : _elementorCommon$conf2.isEditorOneActive) !== null && _elementorCommon$conf !== void 0 ? _elementorCommon$conf : false; | |
| 2825 | - } | |
| 2826 | - }, | |
| 2827 | - { | |
| 2828 | - key: "processPendingNavClick", | |
| 2829 | - value: function processPendingNavClick() { | |
| 2830 | - try { | |
| 2831 | - var pendingNav = sessionStorage.getItem(PENDING_NAV_CLICK_KEY); | |
| 2832 | - if (pendingNav) { | |
| 2833 | - var _JSON$parse = JSON.parse(pendingNav); | |
| 2834 | - var itemId = _JSON$parse.itemId; | |
| 2835 | - var rootItem = _JSON$parse.rootItem; | |
| 2836 | - var area = _JSON$parse.area; | |
| 2837 | - this.navItemsVisited.add(itemId); | |
| 2838 | - var properties = { | |
| 2839 | - wpdash_nav_item_id: itemId, | |
| 2840 | - wpdash_nav_area: area | |
| 2841 | - }; | |
| 2842 | - if (rootItem) properties.wpdash_nav_item_root = rootItem; | |
| 2843 | - this.dispatchEvent("wpdash_nav_clicked", properties, { send_immediately: true }); | |
| 2844 | - sessionStorage.removeItem(PENDING_NAV_CLICK_KEY); | |
| 2845 | - } | |
| 2846 | - } catch (error) { | |
| 2847 | - sessionStorage.removeItem(PENDING_NAV_CLICK_KEY); | |
| 2848 | - } | |
| 2849 | - } | |
| 2850 | - }, | |
| 2851 | - { | |
| 2852 | - key: "getStoredSession", | |
| 2853 | - value: function getStoredSession() { | |
| 2854 | - try { | |
| 2855 | - var stored = sessionStorage.getItem(SESSION_STORAGE_KEY); | |
| 2856 | - return stored ? JSON.parse(stored) : null; | |
| 2857 | - } catch (error) { | |
| 2858 | - return null; | |
| 2859 | - } | |
| 2860 | - } | |
| 2861 | - }, | |
| 2862 | - { | |
| 2863 | - key: "saveSessionToStorage", | |
| 2864 | - value: function saveSessionToStorage() { | |
| 2865 | - var sessionData = { | |
| 2866 | - sessionStartTime: this.sessionStartTime, | |
| 2867 | - navItemsVisited: Array.from(this.navItemsVisited) | |
| 2868 | - }; | |
| 2869 | - sessionStorage.setItem(SESSION_STORAGE_KEY, JSON.stringify(sessionData)); | |
| 2870 | - } | |
| 2871 | - }, | |
| 2872 | - { | |
| 2873 | - key: "clearStoredSession", | |
| 2874 | - value: function clearStoredSession() { | |
| 2875 | - sessionStorage.removeItem(SESSION_STORAGE_KEY); | |
| 2876 | - } | |
| 2877 | - }, | |
| 2878 | - { | |
| 2879 | - key: "isEventsManagerAvailable", | |
| 2880 | - value: function isEventsManagerAvailable() { | |
| 2881 | - var elementorCommon = this.getElementorCommon(); | |
| 2882 | - return (elementorCommon === null || elementorCommon === void 0 ? void 0 : elementorCommon.eventsManager) && "function" === typeof elementorCommon.eventsManager.dispatchEvent; | |
| 2883 | - } | |
| 2884 | - }, | |
| 2885 | - { | |
| 2886 | - key: "canSendEvents", | |
| 2887 | - value: function canSendEvents() { | |
| 2888 | - var _elementorCommon$conf3; | |
| 2889 | - var _elementorCommon$conf4; | |
| 2890 | - var elementorCommon = this.getElementorCommon(); | |
| 2891 | - return (_elementorCommon$conf3 = elementorCommon === null || elementorCommon === void 0 || (_elementorCommon$conf4 = elementorCommon.config) === null || _elementorCommon$conf4 === void 0 || (_elementorCommon$conf4 = _elementorCommon$conf4.editor_events) === null || _elementorCommon$conf4 === void 0 ? void 0 : _elementorCommon$conf4.can_send_events) !== null && _elementorCommon$conf3 !== void 0 ? _elementorCommon$conf3 : false; | |
| 2892 | - } | |
| 2893 | - }, | |
| 2894 | - { | |
| 2895 | - key: "dispatchEvent", | |
| 2896 | - value: function dispatchEvent(eventName) { | |
| 2897 | - var _elementorCommon$even; | |
| 2898 | - var properties = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; | |
| 2899 | - var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; | |
| 2900 | - if (!this.isEventsManagerAvailable() || !this.canSendEvents()) return; | |
| 2901 | - var elementorCommon = this.getElementorCommon(); | |
| 2902 | - elementorCommon === null || elementorCommon === void 0 || (_elementorCommon$even = elementorCommon.eventsManager) === null || _elementorCommon$even === void 0 || _elementorCommon$even.dispatchEvent(eventName, properties, options); | |
| 2903 | - } | |
| 2904 | - }, | |
| 2905 | - { | |
| 2906 | - key: "updateActivity", | |
| 2907 | - value: function updateActivity() { | |
| 2908 | - this.lastActivityTime = Date.now(); | |
| 2909 | - } | |
| 2910 | - }, | |
| 2911 | - { | |
| 2912 | - key: "startSessionMonitoring", | |
| 2913 | - value: function startSessionMonitoring() { | |
| 2914 | - var _this = this; | |
| 2915 | - this.activityCheckInterval = setInterval(function() { | |
| 2916 | - _this.checkSessionTimeout(); | |
| 2917 | - }, ACTIVITY_CHECK_INTERVAL); | |
| 2918 | - window.addEventListener("beforeunload", function() { | |
| 2919 | - if (!_this.sessionEnded && !_this.isNavigatingToElementor) _this.trackSessionEnd("tab_closed"); | |
| 2920 | - }); | |
| 2921 | - document.addEventListener("visibilitychange", function() { | |
| 2922 | - if (!_this.sessionEnded && document.hidden) { | |
| 2923 | - if (Date.now() - _this.lastActivityTime > SESSION_TIMEOUT) _this.trackSessionEnd("tab_inactive"); | |
| 2924 | - } | |
| 2925 | - }); | |
| 2926 | - } | |
| 2927 | - }, | |
| 2928 | - { | |
| 2929 | - key: "isElementorPage", | |
| 2930 | - value: function isElementorPage(url) { | |
| 2931 | - try { | |
| 2932 | - var params = new URL(url, window.location.origin).searchParams; | |
| 2933 | - var page = params.get("page"); | |
| 2934 | - var postType = params.get("post_type"); | |
| 2935 | - var action = params.get("action"); | |
| 2936 | - return !!(page && this.elementorPages.some(function(p) { | |
| 2937 | - return page.includes(p); | |
| 2938 | - }) || postType && this.elementorPostTypes.includes(postType) || action && action.includes(this.anyPageWithElementorString)); | |
| 2939 | - } catch (error) { | |
| 2940 | - return false; | |
| 2941 | - } | |
| 2942 | - } | |
| 2943 | - }, | |
| 2944 | - { | |
| 2945 | - key: "isPluginsPage", | |
| 2946 | - value: function isPluginsPage(url) { | |
| 2947 | - try { | |
| 2948 | - return new URL(url, window.location.origin).pathname.includes("plugins.php"); | |
| 2949 | - } catch (error) { | |
| 2950 | - return false; | |
| 2951 | - } | |
| 2952 | - } | |
| 2953 | - }, | |
| 2954 | - { | |
| 2955 | - key: "isNavigatingAwayFromElementor", | |
| 2956 | - value: function isNavigatingAwayFromElementor(targetUrl) { | |
| 2957 | - if (!targetUrl) return false; | |
| 2958 | - if (targetUrl.startsWith("#")) return false; | |
| 2959 | - return !this.isElementorPage(targetUrl); | |
| 2960 | - } | |
| 2961 | - }, | |
| 2962 | - { | |
| 2963 | - key: "isLinkOpeningInNewTab", | |
| 2964 | - value: function isLinkOpeningInNewTab(link) { | |
| 2965 | - var target = link.getAttribute("target"); | |
| 2966 | - return "_blank" === target || "_new" === target; | |
| 2967 | - } | |
| 2968 | - }, | |
| 2969 | - { | |
| 2970 | - key: "attachNavigationListener", | |
| 2971 | - value: function attachNavigationListener() { | |
| 2972 | - var _this2 = this; | |
| 2973 | - var handleLinkClick = function handleLinkClick(event) { | |
| 2974 | - var link = event.target.closest("a"); | |
| 2975 | - if (link && link.href) { | |
| 2976 | - if (_this2.isLinkOpeningInNewTab(link)) return; | |
| 2977 | - if (!_this2.sessionEnded && _this2.isNavigatingAwayFromElementor(link.href)) _this2.trackSessionEnd("navigate_away"); | |
| 2978 | - else if (_this2.isElementorPage(link.href)) _this2.isNavigatingToElementor = true; | |
| 2979 | - } | |
| 2980 | - if (event.target.closest("#editor-one-sidebar-navigation")) _this2.isNavigatingToElementor = true; | |
| 2981 | - }; | |
| 2982 | - var handleFormSubmit = function handleFormSubmit(event) { | |
| 2983 | - var form = event.target; | |
| 2984 | - if (form.action) { | |
| 2985 | - if (!_this2.sessionEnded && _this2.isNavigatingAwayFromElementor(form.action)) _this2.trackSessionEnd("navigate_away"); | |
| 2986 | - else if (_this2.isElementorPage(form.action)) _this2.isNavigatingToElementor = true; | |
| 2987 | - } | |
| 2988 | - }; | |
| 2989 | - document.addEventListener("click", handleLinkClick, true); | |
| 2990 | - document.addEventListener("submit", handleFormSubmit, true); | |
| 2991 | - this.navigationListeners.push({ | |
| 2992 | - type: "click", | |
| 2993 | - handler: handleLinkClick | |
| 2994 | - }, { | |
| 2995 | - type: "submit", | |
| 2996 | - handler: handleFormSubmit | |
| 2997 | - }); | |
| 2998 | - } | |
| 2999 | - }, | |
| 3000 | - { | |
| 3001 | - key: "checkSessionTimeout", | |
| 3002 | - value: function checkSessionTimeout() { | |
| 3003 | - if (Date.now() - this.lastActivityTime > SESSION_TIMEOUT && !this.sessionEnded) this.trackSessionEnd("timeout"); | |
| 3004 | - } | |
| 3005 | - }, | |
| 3006 | - { | |
| 3007 | - key: "attachActivityListeners", | |
| 3008 | - value: function attachActivityListeners() { | |
| 3009 | - var _this3 = this; | |
| 3010 | - [ | |
| 3011 | - "mousedown", | |
| 3012 | - "keydown", | |
| 3013 | - "scroll", | |
| 3014 | - "touchstart", | |
| 3015 | - "click" | |
| 3016 | - ].forEach(function(event) { | |
| 3017 | - document.addEventListener(event, function() { | |
| 3018 | - _this3.updateActivity(); | |
| 3019 | - }, { | |
| 3020 | - capture: true, | |
| 3021 | - passive: true | |
| 3022 | - }); | |
| 3023 | - }); | |
| 3024 | - } | |
| 3025 | - }, | |
| 3026 | - { | |
| 3027 | - key: "formatDuration", | |
| 3028 | - value: function formatDuration(milliseconds) { | |
| 3029 | - var totalSeconds = Math.floor(milliseconds / 1e3); | |
| 3030 | - return Number(totalSeconds.toFixed(2)); | |
| 3031 | - } | |
| 3032 | - }, | |
| 3033 | - { | |
| 3034 | - key: "trackNavClicked", | |
| 3035 | - value: function trackNavClicked(itemId) { | |
| 3036 | - var rootItem = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null; | |
| 3037 | - var area = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : NAV_AREAS.LEFT_MENU; | |
| 3038 | - if (!this.initialized) { | |
| 3039 | - var pendingNav = { | |
| 3040 | - itemId, | |
| 3041 | - rootItem, | |
| 3042 | - area | |
| 3043 | - }; | |
| 3044 | - sessionStorage.setItem(PENDING_NAV_CLICK_KEY, JSON.stringify(pendingNav)); | |
| 3045 | - return; | |
| 3046 | - } | |
| 3047 | - this.updateActivity(); | |
| 3048 | - this.navItemsVisited.add(itemId); | |
| 3049 | - this.saveSessionToStorage(); | |
| 3050 | - var properties = { | |
| 3051 | - wpdash_nav_item_id: itemId, | |
| 3052 | - wpdash_nav_area: area | |
| 3053 | - }; | |
| 3054 | - if (rootItem) properties.wpdash_nav_item_root = rootItem; | |
| 3055 | - this.dispatchEvent("wpdash_nav_clicked", properties); | |
| 3056 | - } | |
| 3057 | - }, | |
| 3058 | - { | |
| 3059 | - key: "trackScreenViewed", | |
| 3060 | - value: function trackScreenViewed(screenId) { | |
| 3061 | - var screenType = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : SCREEN_TYPES.TAB; | |
| 3062 | - this.updateActivity(); | |
| 3063 | - var properties = { | |
| 3064 | - wpdash_screen_id: screenId, | |
| 3065 | - wpdash_screen_type: screenType | |
| 3066 | - }; | |
| 3067 | - this.dispatchEvent("wpdash_screen_viewed", properties); | |
| 3068 | - } | |
| 3069 | - }, | |
| 3070 | - { | |
| 3071 | - key: "trackActionControl", | |
| 3072 | - value: function trackActionControl(controlIdentifier, controlType) { | |
| 3073 | - this.updateActivity(); | |
| 3074 | - var properties = { | |
| 3075 | - wpdash_action_control_interacted: controlIdentifier, | |
| 3076 | - wpdash_control_type: controlType | |
| 3077 | - }; | |
| 3078 | - this.dispatchEvent("wpdash_action_control", properties); | |
| 3079 | - } | |
| 3080 | - }, | |
| 3081 | - { | |
| 3082 | - key: "trackPromoClicked", | |
| 3083 | - value: function trackPromoClicked(promoName, destination, clickPath) { | |
| 3084 | - this.updateActivity(); | |
| 3085 | - var properties = { | |
| 3086 | - wpdash_promo_name: promoName, | |
| 3087 | - wpdash_promo_destination: destination, | |
| 3088 | - wpdash_promo_clicked_path: clickPath | |
| 3089 | - }; | |
| 3090 | - this.dispatchEvent("wpdash_promo_clicked", properties); | |
| 3091 | - } | |
| 3092 | - }, | |
| 3093 | - { | |
| 3094 | - key: "trackSessionEnd", | |
| 3095 | - value: function trackSessionEnd() { | |
| 3096 | - var reason = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "timeout"; | |
| 3097 | - if (this.sessionEnded) return; | |
| 3098 | - this.sessionEnded = true; | |
| 3099 | - if (this.activityCheckInterval) { | |
| 3100 | - clearInterval(this.activityCheckInterval); | |
| 3101 | - this.activityCheckInterval = null; | |
| 3102 | - } | |
| 3103 | - var duration = Date.now() - this.sessionStartTime; | |
| 3104 | - var properties = { | |
| 3105 | - wpdash_endstate_nav_summary: Array.from(this.navItemsVisited), | |
| 3106 | - wpdash_endstate_nav_count: this.navItemsVisited.size, | |
| 3107 | - wpdash_endstate_duration: this.formatDuration(duration), | |
| 3108 | - reason | |
| 3109 | - }; | |
| 3110 | - this.dispatchEvent("wpdash_session_end_state", properties); | |
| 3111 | - this.clearStoredSession(); | |
| 3112 | - } | |
| 3113 | - }, | |
| 3114 | - { | |
| 3115 | - key: "destroy", | |
| 3116 | - value: function destroy() { | |
| 3117 | - if (this.activityCheckInterval) clearInterval(this.activityCheckInterval); | |
| 3118 | - this.navigationListeners.forEach(function(_ref) { | |
| 3119 | - var type = _ref.type; | |
| 3120 | - var handler = _ref.handler; | |
| 3121 | - document.removeEventListener(type, handler, true); | |
| 3122 | - }); | |
| 3123 | - this.navigationListeners = []; | |
| 3124 | - ScreenViewTracking.destroy(); | |
| 3125 | - PromotionTracking.destroy(); | |
| 3126 | - MenuPromotionTracking.destroy(); | |
| 3127 | - ActionControlTracking.destroy(); | |
| 3128 | - this.initialized = false; | |
| 3129 | - } | |
| 3130 | - } | |
| 3131 | - ]); | |
| 3132 | - }(); | |
| 3133 | - _WpDashboardTracking = WpDashboardTracking; | |
| 3134 | - _defineProperty(WpDashboardTracking, "anyPageWithElementorString", "elementor"); | |
| 3135 | - _defineProperty(WpDashboardTracking, "elementorPages", [ | |
| 3136 | - _WpDashboardTracking.anyPageWithElementorString, | |
| 3137 | - "e-form-submissions", | |
| 3138 | - "popup_templates" | |
| 3139 | - ]); | |
| 3140 | - _defineProperty(WpDashboardTracking, "elementorPostTypes", [ | |
| 3141 | - "elementor_library", | |
| 3142 | - "e-floating-buttons", | |
| 3143 | - "elementor_snippet", | |
| 3144 | - "elementor_font", | |
| 3145 | - "elementor_icons" | |
| 3146 | - ]); | |
| 3147 | - _defineProperty(WpDashboardTracking, "sessionStartTime", Date.now()); | |
| 3148 | - _defineProperty(WpDashboardTracking, "lastActivityTime", Date.now()); | |
| 3149 | - _defineProperty(WpDashboardTracking, "sessionEnded", false); | |
| 3150 | - _defineProperty(WpDashboardTracking, "navItemsVisited", /* @__PURE__ */ new Set()); | |
| 3151 | - _defineProperty(WpDashboardTracking, "activityCheckInterval", null); | |
| 3152 | - _defineProperty(WpDashboardTracking, "initialized", false); | |
| 3153 | - _defineProperty(WpDashboardTracking, "navigationListeners", []); | |
| 3154 | - _defineProperty(WpDashboardTracking, "isNavigatingToElementor", false); | |
| 3155 | - window.addEventListener("elementor/admin/init", function() { | |
| 3156 | - var currentUrl = window.location.href; | |
| 3157 | - var isPluginsPage = WpDashboardTracking.isPluginsPage(currentUrl); | |
| 3158 | - var isElementorPage = WpDashboardTracking.isElementorPage(currentUrl); | |
| 3159 | - if (isPluginsPage) PluginActions.init(); | |
| 3160 | - NavigationTracking.init(); | |
| 3161 | - if (isElementorPage) { | |
| 3162 | - WpDashboardTracking.init(); | |
| 3163 | - ScreenViewTracking.init(); | |
| 3164 | - PromotionTracking.init(); | |
| 3165 | - MenuPromotionTracking.init(); | |
| 3166 | - ActionControlTracking.init(); | |
| 3167 | - } | |
| 3168 | - }); | |
| 3169 | - window.addEventListener("beforeunload", function() { | |
| 3170 | - NavigationTracking.destroy(); | |
| 3171 | - PluginActions.destroy(); | |
| 3172 | - WpDashboardTracking.destroy(); | |
| 3173 | - }); | |
| 194 | +module.exports = _classCallCheck; | |
| 195 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 3174 | 196 | |
| 3175 | -//#endregion | |
| 3176 | -//#region assets/dev/js/admin/maintenance-mode.js | |
| 3177 | - var require_maintenance_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 3178 | - module.exports = elementorModules.ViewModule.extend({ | |
| 3179 | - getDefaultSettings: function getDefaultSettings() { | |
| 3180 | - return { | |
| 3181 | - selectors: { | |
| 3182 | - modeSelect: ".elementor_maintenance_mode_mode select", | |
| 3183 | - maintenanceModeTable: "#tab-maintenance_mode table", | |
| 3184 | - maintenanceModeDescriptions: ".elementor-maintenance-mode-description", | |
| 3185 | - excludeModeSelect: ".elementor_maintenance_mode_exclude_mode select", | |
| 3186 | - excludeRolesArea: ".elementor_maintenance_mode_exclude_roles", | |
| 3187 | - templateSelect: ".elementor_maintenance_mode_template_id select", | |
| 3188 | - editTemplateButton: ".elementor-edit-template", | |
| 3189 | - maintenanceModeError: ".elementor-maintenance-mode-error" | |
| 3190 | - }, | |
| 3191 | - classes: { isEnabled: "elementor-maintenance-mode-is-enabled" } | |
| 3192 | - }; | |
| 3193 | - }, | |
| 3194 | - getDefaultElements: function getDefaultElements() { | |
| 3195 | - var elements = {}; | |
| 3196 | - var selectors = this.getSettings("selectors"); | |
| 3197 | - elements.$modeSelect = jQuery(selectors.modeSelect); | |
| 3198 | - elements.$maintenanceModeTable = elements.$modeSelect.parents(selectors.maintenanceModeTable); | |
| 3199 | - elements.$excludeModeSelect = elements.$maintenanceModeTable.find(selectors.excludeModeSelect); | |
| 3200 | - elements.$excludeRolesArea = elements.$maintenanceModeTable.find(selectors.excludeRolesArea); | |
| 3201 | - elements.$templateSelect = elements.$maintenanceModeTable.find(selectors.templateSelect); | |
| 3202 | - elements.$editTemplateButton = elements.$maintenanceModeTable.find(selectors.editTemplateButton); | |
| 3203 | - elements.$maintenanceModeDescriptions = elements.$maintenanceModeTable.find(selectors.maintenanceModeDescriptions); | |
| 3204 | - elements.$maintenanceModeError = elements.$maintenanceModeTable.find(selectors.maintenanceModeError); | |
| 3205 | - return elements; | |
| 3206 | - }, | |
| 3207 | - handleModeSelectChange: function handleModeSelectChange() { | |
| 3208 | - var settings = this.getSettings(); | |
| 3209 | - var elements = this.elements; | |
| 3210 | - elements.$maintenanceModeTable.toggleClass(settings.classes.isEnabled, !!elements.$modeSelect.val()); | |
| 3211 | - elements.$maintenanceModeDescriptions.hide(); | |
| 3212 | - elements.$maintenanceModeDescriptions.filter("[data-value=\"" + elements.$modeSelect.val() + "\"]").show(); | |
| 3213 | - }, | |
| 3214 | - handleExcludeModeSelectChange: function handleExcludeModeSelectChange() { | |
| 3215 | - var elements = this.elements; | |
| 3216 | - elements.$excludeRolesArea.toggle("custom" === elements.$excludeModeSelect.val()); | |
| 3217 | - }, | |
| 3218 | - handleTemplateSelectChange: function handleTemplateSelectChange() { | |
| 3219 | - var elements = this.elements; | |
| 3220 | - var templateID = elements.$templateSelect.val(); | |
| 3221 | - if (!templateID) { | |
| 3222 | - elements.$editTemplateButton.hide(); | |
| 3223 | - elements.$maintenanceModeError.show(); | |
| 3224 | - return; | |
| 3225 | - } | |
| 3226 | - var editUrl = elementorAdmin.config.home_url + "?p=" + templateID + "&elementor"; | |
| 3227 | - elements.$editTemplateButton.prop("href", editUrl).show(); | |
| 3228 | - elements.$maintenanceModeError.hide(); | |
| 3229 | - }, | |
| 3230 | - bindEvents: function bindEvents() { | |
| 3231 | - var elements = this.elements; | |
| 3232 | - elements.$modeSelect.on("change", this.handleModeSelectChange.bind(this)); | |
| 3233 | - elements.$excludeModeSelect.on("change", this.handleExcludeModeSelectChange.bind(this)); | |
| 3234 | - elements.$templateSelect.on("change", this.handleTemplateSelectChange.bind(this)); | |
| 3235 | - }, | |
| 3236 | - onAdminInit: function onAdminInit() { | |
| 3237 | - this.handleModeSelectChange(); | |
| 3238 | - this.handleExcludeModeSelectChange(); | |
| 3239 | - this.handleTemplateSelectChange(); | |
| 3240 | - }, | |
| 3241 | - onInit: function onInit() { | |
| 3242 | - elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 3243 | - elementorCommon.elements.$window.on("elementor/admin/init", this.onAdminInit); | |
| 3244 | - } | |
| 3245 | - }); | |
| 3246 | - })); | |
| 197 | +/***/ }), | |
| 3247 | 198 | |
| 3248 | -//#endregion | |
| 3249 | -//#region assets/dev/js/admin/admin.js | |
| 3250 | - (function($) { | |
| 3251 | - var ElementorAdmin = elementorModules.ViewModule.extend({ | |
| 3252 | - maintenanceMode: null, | |
| 3253 | - config: elementorAdminConfig, | |
| 3254 | - getDefaultElements: function getDefaultElements() { | |
| 3255 | - var elements = { | |
| 3256 | - $switchMode: $("#elementor-switch-mode"), | |
| 3257 | - $goToEditLink: $("#elementor-go-to-edit-page-link"), | |
| 3258 | - $switchModeInput: $("#elementor-switch-mode-input"), | |
| 3259 | - $switchModeButton: $("#elementor-switch-mode-button"), | |
| 3260 | - $elementorLoader: $(".elementor-loader"), | |
| 3261 | - $builderEditor: $("#elementor-editor"), | |
| 3262 | - $importButton: $("#elementor-import-template-trigger"), | |
| 3263 | - $importNowButton: $("#e-import-template-action"), | |
| 3264 | - $importArea: $("#elementor-import-template-area"), | |
| 3265 | - $importForm: $("#elementor-import-template-form"), | |
| 3266 | - $importFormFileInput: $("#elementor-import-template-form input[type=\"file\"]"), | |
| 3267 | - $settingsForm: $("#elementor-settings-form"), | |
| 3268 | - $settingsTabsWrapper: $("#elementor-settings-tabs-wrapper"), | |
| 3269 | - $menuGoProLink: $("a[href=\"admin.php?page=go_elementor_pro\"], a[href*=\"admin.php?page=elementor-one-upgrade\"]"), | |
| 3270 | - $reMigrateGlobalsButton: $(".elementor-re-migrate-globals-button") | |
| 3271 | - }; | |
| 3272 | - elements.$settingsFormPages = elements.$settingsForm.find(".elementor-settings-form-page"); | |
| 3273 | - elements.$activeSettingsPage = elements.$settingsFormPages.filter(".elementor-active"); | |
| 3274 | - elements.$settingsTabs = elements.$settingsTabsWrapper.children(); | |
| 3275 | - elements.$activeSettingsTab = elements.$settingsTabs.filter(".nav-tab-active"); | |
| 3276 | - return elements; | |
| 3277 | - }, | |
| 3278 | - toggleStatus: function toggleStatus() { | |
| 3279 | - var isElementorMode = this.isElementorMode(); | |
| 3280 | - elementorCommon.elements.$body.toggleClass("elementor-editor-active", isElementorMode).toggleClass("elementor-editor-inactive", !isElementorMode); | |
| 3281 | - }, | |
| 3282 | - bindEvents: function bindEvents() { | |
| 3283 | - var self = this; | |
| 3284 | - self.elements.$switchModeButton.on("click", function(event) { | |
| 3285 | - event.preventDefault(); | |
| 3286 | - if (self.isElementorMode()) elementorCommon.dialogsManager.createWidget("confirm", { | |
| 3287 | - message: (0, _wordpress_i18n.__)("You are about to switch this page from the Elementor editor to the WordPress editor. Your current layout, design, and content may break and need to be rebuilt. Are you sure you want to continue?", "elementor"), | |
| 3288 | - headerMessage: (0, _wordpress_i18n.__)("Edit with WordPress?", "elementor"), | |
| 3289 | - strings: { | |
| 3290 | - confirm: (0, _wordpress_i18n.__)("Continue", "elementor"), | |
| 3291 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 3292 | - }, | |
| 3293 | - defaultOption: "cancel", | |
| 3294 | - onConfirm: function onConfirm() { | |
| 3295 | - self.elements.$switchModeInput.val(""); | |
| 3296 | - self.toggleStatus(); | |
| 3297 | - } | |
| 3298 | - }).show(); | |
| 3299 | - else { | |
| 3300 | - self.elements.$switchModeInput.val(true); | |
| 3301 | - var $wpTitle = $("#title"); | |
| 3302 | - if (!$wpTitle.val()) $wpTitle.val("Elementor #" + $("#post_ID").val()); | |
| 3303 | - if (wp.autosave) wp.autosave.server.triggerSave(); | |
| 3304 | - self.animateLoader(); | |
| 3305 | - $(document).on("heartbeat-tick.autosave", function() { | |
| 3306 | - elementorCommon.elements.$window.off("beforeunload.edit-post"); | |
| 3307 | - location.href = self.elements.$goToEditLink.attr("href"); | |
| 3308 | - }); | |
| 3309 | - self.toggleStatus(); | |
| 3310 | - } | |
| 3311 | - }); | |
| 3312 | - self.elements.$goToEditLink.on("click", function() { | |
| 3313 | - self.animateLoader(); | |
| 3314 | - }); | |
| 3315 | - $(".e-notice--dismissible").on("click", ".e-notice__dismiss, .e-notice-dismiss", function(event) { | |
| 3316 | - event.preventDefault(); | |
| 3317 | - var $wrapperElm = $(this).closest(".e-notice--dismissible"); | |
| 3318 | - $.post(ajaxurl, { | |
| 3319 | - action: "elementor_set_admin_notice_viewed", | |
| 3320 | - notice_id: $wrapperElm.data("notice_id"), | |
| 3321 | - _wpnonce: $wrapperElm.data("nonce") | |
| 3322 | - }); | |
| 3323 | - $wrapperElm.fadeTo(100, 0, function() { | |
| 3324 | - $wrapperElm.slideUp(100, function() { | |
| 3325 | - $wrapperElm.remove(); | |
| 3326 | - }); | |
| 3327 | - }); | |
| 3328 | - }); | |
| 3329 | - var campaignNotices = { plugin_image_optimization: "elementor_image_optimization_campaign" }; | |
| 3330 | - Object.keys(campaignNotices).forEach(function(noticeId) { | |
| 3331 | - $(".e-notice--cta.e-notice--dismissible[data-notice_id=\"".concat(noticeId, "\"] a.e-button--cta")).on("click", function() { | |
| 3332 | - var $button = $(this); | |
| 3333 | - elementorCommon.ajax.addRequest(campaignNotices[noticeId], { data: { | |
| 3334 | - campaign: ($button === null || $button === void 0 ? void 0 : $button.data("campaign")) || "", | |
| 3335 | - source: ($button === null || $button === void 0 ? void 0 : $button.data("source")) || "", | |
| 3336 | - medium: ($button === null || $button === void 0 ? void 0 : $button.data("medium")) || "" | |
| 3337 | - } }); | |
| 3338 | - }); | |
| 3339 | - }); | |
| 3340 | - $(".e-a-apps .e-a-item[data-plugin=\"image-optimization/image-optimization.php\"] a.e-btn").on("click", function() { | |
| 3341 | - var $button = $(this); | |
| 3342 | - elementorCommon.ajax.addRequest("elementor_image_optimization_campaign", { data: { | |
| 3343 | - campaign: ($button === null || $button === void 0 ? void 0 : $button.data("campaign")) || "", | |
| 3344 | - source: ($button === null || $button === void 0 ? void 0 : $button.data("source")) || "", | |
| 3345 | - medium: ($button === null || $button === void 0 ? void 0 : $button.data("medium")) || "" | |
| 3346 | - } }); | |
| 3347 | - }); | |
| 3348 | - $("#elementor-clear-cache-button").on("click", function(event) { | |
| 3349 | - event.preventDefault(); | |
| 3350 | - var $thisButton = $(this); | |
| 3351 | - $thisButton.removeClass("success").addClass("loading"); | |
| 3352 | - $.post(ajaxurl, { | |
| 3353 | - action: "elementor_clear_cache", | |
| 3354 | - _nonce: $thisButton.data("nonce") | |
| 3355 | - }).done(function() { | |
| 3356 | - $thisButton.removeClass("loading").addClass("success"); | |
| 3357 | - }); | |
| 3358 | - }); | |
| 3359 | - $("#elementor-library-sync-button").on("click", function(event) { | |
| 3360 | - event.preventDefault(); | |
| 3361 | - var $thisButton = $(this); | |
| 3362 | - $thisButton.removeClass("success").addClass("loading"); | |
| 3363 | - $.post(ajaxurl, { | |
| 3364 | - action: "elementor_reset_library", | |
| 3365 | - _nonce: $thisButton.data("nonce") | |
| 3366 | - }).done(function() { | |
| 3367 | - $thisButton.removeClass("loading").addClass("success"); | |
| 3368 | - }); | |
| 3369 | - }); | |
| 3370 | - $("#elementor-recreate-kit-button").on("click", function(event) { | |
| 3371 | - event.preventDefault(); | |
| 3372 | - var $thisButton = $(this); | |
| 3373 | - $thisButton.removeClass("success error").addClass("loading").next(".e-recreate-kit-error-message").remove(); | |
| 3374 | - $.post(ajaxurl, { | |
| 3375 | - action: "elementor_recreate_kit", | |
| 3376 | - _nonce: $thisButton.data("nonce") | |
| 3377 | - }).done(function() { | |
| 3378 | - $thisButton.removeClass("loading").addClass("success"); | |
| 3379 | - }).fail(function(_ref) { | |
| 3380 | - var _responseJSON$data; | |
| 3381 | - var responseJSON = _ref.responseJSON; | |
| 3382 | - $thisButton.removeClass("loading").addClass("error"); | |
| 3383 | - if ((_responseJSON$data = responseJSON.data) !== null && _responseJSON$data !== void 0 && _responseJSON$data.message) $thisButton.after("<div class=\"e-recreate-kit-error-message\">".concat(responseJSON.data.message, "</div>")); | |
| 3384 | - }); | |
| 3385 | - }); | |
| 3386 | - $("#elementor-replace-url-button").on("click", function(event) { | |
| 3387 | - event.preventDefault(); | |
| 3388 | - var $this = $(this); | |
| 3389 | - var $tr = $this.parents("tr"); | |
| 3390 | - var $from = $tr.find("[name=\"from\"]"); | |
| 3391 | - var $to = $tr.find("[name=\"to\"]"); | |
| 3392 | - $this.removeClass("success").addClass("loading"); | |
| 3393 | - $.post(ajaxurl, { | |
| 3394 | - action: "elementor_replace_url", | |
| 3395 | - from: $from.val(), | |
| 3396 | - to: $to.val(), | |
| 3397 | - _nonce: $this.data("nonce") | |
| 3398 | - }).done(function(response) { | |
| 3399 | - $this.removeClass("loading"); | |
| 3400 | - if (response.success) $this.addClass("success"); | |
| 3401 | - elementorCommon.dialogsManager.createWidget("alert", { message: response.data }).show(); | |
| 3402 | - }); | |
| 3403 | - }); | |
| 3404 | - $("#elementor_upgrade_fa_button").on("click", function(event) { | |
| 3405 | - event.preventDefault(); | |
| 3406 | - var $updateButton = $(this); | |
| 3407 | - $updateButton.addClass("loading"); | |
| 3408 | - elementorCommon.dialogsManager.createWidget("confirm", { | |
| 3409 | - id: "confirm_fa_migration_admin_modal", | |
| 3410 | - message: (0, _wordpress_i18n.__)("I understand that by upgrading to Font Awesome 5,", "elementor") + "<br>" + (0, _wordpress_i18n.__)("I acknowledge that some changes may affect my website and that this action cannot be undone.", "elementor"), | |
| 3411 | - headerMessage: (0, _wordpress_i18n.__)("Font Awesome 5 Migration", "elementor"), | |
| 3412 | - strings: { | |
| 3413 | - confirm: (0, _wordpress_i18n.__)("Continue", "elementor"), | |
| 3414 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 3415 | - }, | |
| 3416 | - defaultOption: "confirm", | |
| 3417 | - onConfirm: function onConfirm() { | |
| 3418 | - $updateButton.removeClass("error").addClass("loading"); | |
| 3419 | - var _$updateButton$data = $updateButton.data(); | |
| 3420 | - var _nonce = _$updateButton$data._nonce; | |
| 3421 | - var action = _$updateButton$data.action; | |
| 3422 | - var redirectUrl = _$updateButton$data.redirectUrl; | |
| 3423 | - $.post(ajaxurl, { | |
| 3424 | - action, | |
| 3425 | - _nonce | |
| 3426 | - }).done(function(response) { | |
| 3427 | - $updateButton.removeClass("loading").addClass("success"); | |
| 3428 | - var messageElement = document.createElement("p"); | |
| 3429 | - messageElement.appendChild(document.createTextNode(response.data.message)); | |
| 3430 | - $("#elementor_upgrade_fa_button").parent().append(messageElement); | |
| 3431 | - if (redirectUrl) { | |
| 3432 | - location.href = decodeURIComponent(redirectUrl); | |
| 3433 | - return; | |
| 3434 | - } | |
| 3435 | - history.go(-1); | |
| 3436 | - }).fail(function() { | |
| 3437 | - $updateButton.removeClass("loading").addClass("error"); | |
| 3438 | - }); | |
| 3439 | - }, | |
| 3440 | - onCancel: function onCancel() { | |
| 3441 | - $updateButton.removeClass("loading").addClass("error"); | |
| 3442 | - } | |
| 3443 | - }).show(); | |
| 3444 | - }); | |
| 3445 | - self.elements.$settingsTabs.on({ | |
| 3446 | - click: function click(event) { | |
| 3447 | - event.preventDefault(); | |
| 3448 | - self.activateSettingsTab(event.currentTarget); | |
| 3449 | - event.currentTarget.focus(); | |
| 3450 | - }, | |
| 3451 | - focus: function focus() { | |
| 3452 | - self.activateSettingsTab(this); | |
| 3453 | - } | |
| 3454 | - }); | |
| 3455 | - $("select.elementor-rollback-select").on("change", function() { | |
| 3456 | - var $this = $(this); | |
| 3457 | - var $rollbackButton = $this.next(".elementor-rollback-button"); | |
| 3458 | - var placeholderText = $rollbackButton.data("placeholder-text"); | |
| 3459 | - var placeholderUrl = $rollbackButton.data("placeholder-url"); | |
| 3460 | - $rollbackButton.html(placeholderText.replace("{VERSION}", $this.val())); | |
| 3461 | - $rollbackButton.data("href", placeholderUrl.replace("VERSION", $this.val())); | |
| 3462 | - }).trigger("change"); | |
| 3463 | - $(".elementor-rollback-button").on("click", function(event) { | |
| 3464 | - event.preventDefault(); | |
| 3465 | - var $this = $(this); | |
| 3466 | - elementorCommon.dialogsManager.createWidget("confirm", { | |
| 3467 | - headerMessage: (0, _wordpress_i18n.__)("Rollback to Previous Version", "elementor"), | |
| 3468 | - message: (0, _wordpress_i18n.__)("Are you sure you want to reinstall previous version?", "elementor"), | |
| 3469 | - strings: { | |
| 3470 | - confirm: (0, _wordpress_i18n.__)("Continue", "elementor"), | |
| 3471 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 3472 | - }, | |
| 3473 | - onConfirm: function onConfirm() { | |
| 3474 | - $this.addClass("loading"); | |
| 3475 | - location.href = $this.data("href"); | |
| 3476 | - } | |
| 3477 | - }).show(); | |
| 3478 | - }); | |
| 3479 | - self.elements.$reMigrateGlobalsButton.on("click", function(event) { | |
| 3480 | - event.preventDefault(); | |
| 3481 | - var $this = $(event.currentTarget); | |
| 3482 | - elementorCommon.dialogsManager.createWidget("confirm", { | |
| 3483 | - headerMessage: (0, _wordpress_i18n.__)("Migrate to v3.0", "elementor"), | |
| 3484 | - message: (0, _wordpress_i18n.__)("Please note that this process will revert all changes made to Global Colors and Fonts since upgrading to v3.x.", "elementor"), | |
| 3485 | - strings: { | |
| 3486 | - confirm: (0, _wordpress_i18n.__)("Continue", "elementor"), | |
| 3487 | - cancel: (0, _wordpress_i18n.__)("Cancel", "elementor") | |
| 3488 | - }, | |
| 3489 | - onConfirm: function onConfirm() { | |
| 3490 | - $this.removeClass("success").addClass("loading"); | |
| 3491 | - elementorCommon.ajax.addRequest("re_migrate_globals", { success: function success() { | |
| 3492 | - return $this.removeClass("loading").addClass("success"); | |
| 3493 | - } }); | |
| 3494 | - } | |
| 3495 | - }).show(); | |
| 3496 | - }); | |
| 3497 | - $(".elementor_google_font select").on("change", function() { | |
| 3498 | - $(".elementor_font_display").toggle("1" === $(this).val()); | |
| 3499 | - }).trigger("change"); | |
| 3500 | - }, | |
| 3501 | - onInit: function onInit() { | |
| 3502 | - elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 3503 | - this.initTemplatesImport(); | |
| 3504 | - this.initMaintenanceMode(); | |
| 3505 | - this.goToSettingsTabFromHash(); | |
| 3506 | - this.openLinksInNewTab(); | |
| 3507 | - this.addUserAgentClasses(); | |
| 3508 | - this.roleManager.init(); | |
| 3509 | - if (elementorCommon.config.experimentalFeatures["landing-pages"]) new _default$1(); | |
| 3510 | - if (elementorCommon.config.experimentalFeatures.container) new _default(); | |
| 3511 | - this.templateControls = new TemplateControls(); | |
| 3512 | - new ExperimentsModule(); | |
| 3513 | - }, | |
| 3514 | - addUserAgentClasses: function addUserAgentClasses() { | |
| 3515 | - var body = document.querySelector("body"); | |
| 3516 | - Object.entries(environment).forEach(function(_ref2) { | |
| 3517 | - var _ref3 = _slicedToArray(_ref2, 2); | |
| 3518 | - var key = _ref3[0]; | |
| 3519 | - if (!_ref3[1]) return; | |
| 3520 | - body.classList.add("e--ua-" + key); | |
| 3521 | - }); | |
| 3522 | - }, | |
| 3523 | - /** | |
| 3524 | - * Open Links in New Tab | |
| 3525 | - * | |
| 3526 | - * Adds a `target="_blank"` attribute to the Admin Dashboard menu items specified in the `elements` array, | |
| 3527 | - * if the elements are found in the DOM. The items in the `elements` array should be jQuery instances. | |
| 3528 | - * | |
| 3529 | - * @since 3.6.0 | |
| 3530 | - */ | |
| 3531 | - openLinksInNewTab: function openLinksInNewTab() { | |
| 3532 | - [this.elements.$menuGoProLink].forEach(function($element) { | |
| 3533 | - if ($element.length) $element.attr("target", "_blank"); | |
| 3534 | - }); | |
| 3535 | - }, | |
| 3536 | - initTemplatesImport: function initTemplatesImport() { | |
| 3537 | - var _elementorAdminConfig; | |
| 3538 | - var _elementorAdminConfig2; | |
| 3539 | - if (!(elementorAdminConfig.user.is_administrator || ((_elementorAdminConfig = (_elementorAdminConfig2 = elementorAdminConfig.user.restrictions) === null || _elementorAdminConfig2 === void 0 ? void 0 : _elementorAdminConfig2.includes("json-upload")) !== null && _elementorAdminConfig !== void 0 ? _elementorAdminConfig : false)) || !elementorCommon.elements.$body.hasClass("post-type-elementor_library")) return; | |
| 3540 | - if (0 === this.elements.$importNowButton.length) return; | |
| 3541 | - var self = this; | |
| 3542 | - var $importForm = self.elements.$importForm; | |
| 3543 | - var $importButton = self.elements.$importButton; | |
| 3544 | - var $importArea = self.elements.$importArea; | |
| 3545 | - var $importNowButton = self.elements.$importNowButton; | |
| 3546 | - var $importFormFileInput = self.elements.$importFormFileInput; | |
| 3547 | - self.elements.$formAnchor = $(".wp-header-end"); | |
| 3548 | - $("#wpbody-content").find(".page-title-action").first().before($importButton); | |
| 3549 | - self.elements.$formAnchor.after($importArea); | |
| 3550 | - $importButton.on("click", function() { | |
| 3551 | - $("#elementor-import-template-area").toggle(); | |
| 3552 | - }); | |
| 3553 | - var messages = { | |
| 3554 | - jsonUploadWarning: { shown: false }, | |
| 3555 | - enableUnfilteredFiles: { shown: false } | |
| 3556 | - }; | |
| 3557 | - var originalButtonValue = $importNowButton[0].value; | |
| 3558 | - $importForm.on("submit", /*#__PURE__*/ function() { | |
| 3559 | - var _ref4 = _asyncToGenerator(/*#__PURE__*/ import_regenerator.default.mark(function _callee(event) { | |
| 3560 | - var hasImportedFiles; | |
| 3561 | - var areUnfilteredFilesEnabled; | |
| 3562 | - var enableUnfilteredFilesModal; | |
| 3563 | - return import_regenerator.default.wrap(function(_context) { | |
| 3564 | - while (1) switch (_context.prev = _context.next) { | |
| 3565 | - case 0: | |
| 3566 | - $importNowButton[0].disabled = true; | |
| 3567 | - $importNowButton[0].value = (0, _wordpress_i18n.__)("Importing...", "elementor"); | |
| 3568 | - if (messages.jsonUploadWarning.shown) { | |
| 3569 | - _context.next = 5; | |
| 3570 | - break; | |
| 3571 | - } | |
| 3572 | - event.preventDefault(); | |
| 3573 | - _context.prev = 1; | |
| 3574 | - _context.next = 2; | |
| 3575 | - return showJsonUploadWarningMessageIfNeeded({ | |
| 3576 | - IntroductionClass: window.elementorModules.admin.utils.Introduction, | |
| 3577 | - introductionMap: window.elementorAdmin.config.user.introduction, | |
| 3578 | - waitForSetViewed: true | |
| 3579 | - }); | |
| 3580 | - case 2: | |
| 3581 | - messages.jsonUploadWarning.shown = true; | |
| 3582 | - $importForm.trigger("submit"); | |
| 3583 | - _context.next = 4; | |
| 3584 | - break; | |
| 3585 | - case 3: | |
| 3586 | - _context.prev = 3; | |
| 3587 | - _context["catch"](1); | |
| 3588 | - $importNowButton[0].disabled = false; | |
| 3589 | - $importNowButton[0].value = originalButtonValue; | |
| 3590 | - case 4: return _context.abrupt("return"); | |
| 3591 | - case 5: | |
| 3592 | - hasImportedFiles = $importFormFileInput[0].files.length; | |
| 3593 | - areUnfilteredFilesEnabled = elementorCommon.config.filesUpload.unfilteredFiles; | |
| 3594 | - if (!(hasImportedFiles && !areUnfilteredFilesEnabled && !messages.enableUnfilteredFiles.shown)) { | |
| 3595 | - _context.next = 6; | |
| 3596 | - break; | |
| 3597 | - } | |
| 3598 | - event.preventDefault(); | |
| 3599 | - enableUnfilteredFilesModal = FilesUploadHandler.getUnfilteredFilesNotEnabledImportTemplateDialog(function() { | |
| 3600 | - messages.enableUnfilteredFiles.shown = true; | |
| 3601 | - $importForm.trigger("submit"); | |
| 3602 | - }); | |
| 3603 | - enableUnfilteredFilesModal.show(); | |
| 3604 | - return _context.abrupt("return"); | |
| 3605 | - case 6: | |
| 3606 | - messages.jsonUploadWarning.shown = false; | |
| 3607 | - messages.enableUnfilteredFiles.shown = false; | |
| 3608 | - case 7: | |
| 3609 | - case "end": return _context.stop(); | |
| 3610 | - } | |
| 3611 | - }, _callee, null, [[1, 3]]); | |
| 3612 | - })); | |
| 3613 | - return function(_x) { | |
| 3614 | - return _ref4.apply(this, arguments); | |
| 3615 | - }; | |
| 3616 | - }()); | |
| 3617 | - }, | |
| 3618 | - initMaintenanceMode: function initMaintenanceMode() { | |
| 3619 | - var MaintenanceMode = require_maintenance_mode(); | |
| 3620 | - this.maintenanceMode = new MaintenanceMode(); | |
| 3621 | - }, | |
| 3622 | - isElementorMode: function isElementorMode() { | |
| 3623 | - return !!this.elements.$switchModeInput.val(); | |
| 3624 | - }, | |
| 3625 | - animateLoader: function animateLoader() { | |
| 3626 | - this.elements.$goToEditLink.addClass("elementor-animate"); | |
| 3627 | - }, | |
| 3628 | - activateSettingsTab: function activateSettingsTab(tabElement) { | |
| 3629 | - if (!(tabElement !== null && tabElement !== void 0 && tabElement.hash)) return; | |
| 3630 | - var hrefWithoutHash = location.href.replace(/#.*/, ""); | |
| 3631 | - history.pushState({}, "", hrefWithoutHash + tabElement.hash); | |
| 3632 | - this.goToSettingsTabFromHash(); | |
| 3633 | - }, | |
| 3634 | - goToSettingsTabFromHash: function goToSettingsTabFromHash() { | |
| 3635 | - var hash = location.hash.slice(1); | |
| 3636 | - if (hash) this.goToSettingsTab(hash); | |
| 3637 | - }, | |
| 3638 | - goToSettingsTab: function goToSettingsTab(tabName) { | |
| 3639 | - var $pages = this.elements.$settingsFormPages; | |
| 3640 | - if (!$pages.length) return; | |
| 3641 | - var $activePage = $pages.filter("#" + tabName); | |
| 3642 | - this.elements.$activeSettingsPage.removeClass("elementor-active"); | |
| 3643 | - this.elements.$activeSettingsTab.removeClass("nav-tab-active"); | |
| 3644 | - var $activeTab = this.elements.$settingsTabs.filter("#elementor-settings-" + tabName); | |
| 3645 | - $activePage.addClass("elementor-active"); | |
| 3646 | - $activeTab.addClass("nav-tab-active"); | |
| 3647 | - this.elements.$settingsForm.attr("action", "options.php#" + tabName); | |
| 3648 | - this.elements.$activeSettingsPage = $activePage; | |
| 3649 | - this.elements.$activeSettingsTab = $activeTab; | |
| 3650 | - }, | |
| 3651 | - translate: function translate(stringKey, templateArgs) { | |
| 3652 | - return elementorCommon.translate(stringKey, null, templateArgs, this.config.i18n); | |
| 3653 | - }, | |
| 3654 | - roleManager: { | |
| 3655 | - selectors: { | |
| 3656 | - body: "elementor-role-manager", | |
| 3657 | - row: ".elementor-role-row", | |
| 3658 | - label: ".elementor-role-label", | |
| 3659 | - excludedIndicator: ".elementor-role-excluded-indicator", | |
| 3660 | - excludedField: "input[name=\"elementor_exclude_user_roles[]\"]", | |
| 3661 | - controlsContainer: ".elementor-role-controls", | |
| 3662 | - toggleHandle: ".elementor-role-toggle", | |
| 3663 | - arrowUp: "dashicons-arrow-up", | |
| 3664 | - arrowDown: "dashicons-arrow-down" | |
| 3665 | - }, | |
| 3666 | - toggle: function toggle($trigger) { | |
| 3667 | - var self = this; | |
| 3668 | - var $row = $trigger.closest(self.selectors.row); | |
| 3669 | - var $toggleHandleIcon = $row.find(self.selectors.toggleHandle).find(".dashicons"); | |
| 3670 | - var $controls = $row.find(self.selectors.controlsContainer); | |
| 3671 | - $controls.toggleClass("hidden"); | |
| 3672 | - if ($controls.hasClass("hidden")) $toggleHandleIcon.removeClass(self.selectors.arrowUp).addClass(self.selectors.arrowDown); | |
| 3673 | - else $toggleHandleIcon.removeClass(self.selectors.arrowDown).addClass(self.selectors.arrowUp); | |
| 3674 | - self.updateLabel($row); | |
| 3675 | - }, | |
| 3676 | - updateLabel: function updateLabel($row) { | |
| 3677 | - var self = this; | |
| 3678 | - var $indicator = $row.find(self.selectors.excludedIndicator); | |
| 3679 | - var excluded = $row.find(self.selectors.excludedField).is(":checked"); | |
| 3680 | - if (excluded) $indicator.html($indicator.data("excluded-label")); | |
| 3681 | - else $indicator.html(""); | |
| 3682 | - self.setAdvancedState($row, excluded); | |
| 3683 | - }, | |
| 3684 | - setAdvancedState: function setAdvancedState($row, state) { | |
| 3685 | - var self = this; | |
| 3686 | - $row.find("input[type=\"checkbox\"]").not(self.selectors.excludedField).each(function(index, input) { | |
| 3687 | - $(input).prop("disabled", state); | |
| 3688 | - }); | |
| 3689 | - }, | |
| 3690 | - bind: function bind() { | |
| 3691 | - var self = this; | |
| 3692 | - $(document).on("click", self.selectors.label + "," + self.selectors.toggleHandle, function(event) { | |
| 3693 | - event.stopPropagation(); | |
| 3694 | - event.preventDefault(); | |
| 3695 | - self.toggle($(this)); | |
| 3696 | - }).on("change", self.selectors.excludedField, function() { | |
| 3697 | - self.updateLabel($(this).closest(self.selectors.row)); | |
| 3698 | - }); | |
| 3699 | - }, | |
| 3700 | - init: function init() { | |
| 3701 | - var self = this; | |
| 3702 | - if (!$("body[class*=\"" + self.selectors.body + "\"]").length) return; | |
| 3703 | - self.bind(); | |
| 3704 | - $(self.selectors.row).each(function(index, row) { | |
| 3705 | - self.updateLabel($(row)); | |
| 3706 | - }); | |
| 3707 | - } | |
| 3708 | - } | |
| 3709 | - }); | |
| 3710 | - $(function() { | |
| 3711 | - window.elementorAdmin = new ElementorAdmin(); | |
| 3712 | - Events.dispatch(elementorCommon.elements.$window, "elementor/admin/init"); | |
| 3713 | - }); | |
| 3714 | - })(jQuery); | |
| 199 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js": | |
| 200 | +/*!*********************************************************************!*\ | |
| 201 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createClass.js ***! | |
| 202 | + \*********************************************************************/ | |
| 203 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3715 | 204 | |
| 3716 | -//#endregion | |
| 3717 | -})(wp.i18n); | |
| 205 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 206 | + | |
| 207 | +function _defineProperties(target, props) { | |
| 208 | + for (var i = 0; i < props.length; i++) { | |
| 209 | + var descriptor = props[i]; | |
| 210 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 211 | + descriptor.configurable = true; | |
| 212 | + if ("value" in descriptor) descriptor.writable = true; | |
| 213 | + | |
| 214 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 215 | + } | |
| 216 | +} | |
| 217 | + | |
| 218 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 219 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 220 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 221 | + return Constructor; | |
| 222 | +} | |
| 223 | + | |
| 224 | +module.exports = _createClass; | |
| 225 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 226 | + | |
| 227 | +/***/ }), | |
| 228 | + | |
| 229 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js": | |
| 230 | +/*!*********************************************************************!*\ | |
| 231 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createSuper.js ***! | |
| 232 | + \*********************************************************************/ | |
| 233 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 234 | + | |
| 235 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 236 | + | |
| 237 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 238 | + | |
| 239 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 240 | + | |
| 241 | +var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js"); | |
| 242 | + | |
| 243 | +function _createSuper(Derived) { | |
| 244 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 245 | + return function _createSuperInternal() { | |
| 246 | + var Super = getPrototypeOf(Derived), | |
| 247 | + result; | |
| 248 | + | |
| 249 | + if (hasNativeReflectConstruct) { | |
| 250 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 251 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 252 | + } else { | |
| 253 | + result = Super.apply(this, arguments); | |
| 254 | + } | |
| 255 | + | |
| 256 | + return possibleConstructorReturn(this, result); | |
| 257 | + }; | |
| 258 | +} | |
| 259 | + | |
| 260 | +module.exports = _createSuper; | |
| 261 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 262 | + | |
| 263 | +/***/ }), | |
| 264 | + | |
| 265 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/get.js": | |
| 266 | +/*!*************************************************************!*\ | |
| 267 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/get.js ***! | |
| 268 | + \*************************************************************/ | |
| 269 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 270 | + | |
| 271 | +var _Reflect$get = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/get */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js"); | |
| 272 | + | |
| 273 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-own-property-descriptor */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js"); | |
| 274 | + | |
| 275 | +var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js"); | |
| 276 | + | |
| 277 | +function _get(target, property, receiver) { | |
| 278 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 279 | + module.exports = _get = _Reflect$get; | |
| 280 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 281 | + } else { | |
| 282 | + module.exports = _get = function _get(target, property, receiver) { | |
| 283 | + var base = superPropBase(target, property); | |
| 284 | + if (!base) return; | |
| 285 | + | |
| 286 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 287 | + | |
| 288 | + if (desc.get) { | |
| 289 | + return desc.get.call(receiver); | |
| 290 | + } | |
| 291 | + | |
| 292 | + return desc.value; | |
| 293 | + }; | |
| 294 | + | |
| 295 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 296 | + } | |
| 297 | + | |
| 298 | + return _get(target, property, receiver || target); | |
| 299 | +} | |
| 300 | + | |
| 301 | +module.exports = _get; | |
| 302 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 303 | + | |
| 304 | +/***/ }), | |
| 305 | + | |
| 306 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js": | |
| 307 | +/*!************************************************************************!*\ | |
| 308 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js ***! | |
| 309 | + \************************************************************************/ | |
| 310 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 311 | + | |
| 312 | +var _Object$setPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/set-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js"); | |
| 313 | + | |
| 314 | +var _Object$getPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js"); | |
| 315 | + | |
| 316 | +function _getPrototypeOf(o) { | |
| 317 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 318 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 319 | + }; | |
| 320 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 321 | + return _getPrototypeOf(o); | |
| 322 | +} | |
| 323 | + | |
| 324 | +module.exports = _getPrototypeOf; | |
| 325 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 326 | + | |
| 327 | +/***/ }), | |
| 328 | + | |
| 329 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js": | |
| 330 | +/*!******************************************************************!*\ | |
| 331 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/inherits.js ***! | |
| 332 | + \******************************************************************/ | |
| 333 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 334 | + | |
| 335 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 336 | + | |
| 337 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 338 | + | |
| 339 | +function _inherits(subClass, superClass) { | |
| 340 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 341 | + throw new TypeError("Super expression must either be null or a function"); | |
| 342 | + } | |
| 343 | + | |
| 344 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 345 | + constructor: { | |
| 346 | + value: subClass, | |
| 347 | + writable: true, | |
| 348 | + configurable: true | |
| 349 | + } | |
| 350 | + }); | |
| 351 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 352 | +} | |
| 353 | + | |
| 354 | +module.exports = _inherits; | |
| 355 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 356 | + | |
| 357 | +/***/ }), | |
| 358 | + | |
| 359 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js": | |
| 360 | +/*!*******************************************************************************!*\ | |
| 361 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js ***! | |
| 362 | + \*******************************************************************************/ | |
| 363 | +/***/ ((module) => { | |
| 364 | + | |
| 365 | +function _interopRequireDefault(obj) { | |
| 366 | + return obj && obj.__esModule ? obj : { | |
| 367 | + "default": obj | |
| 368 | + }; | |
| 369 | +} | |
| 370 | + | |
| 371 | +module.exports = _interopRequireDefault; | |
| 372 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 373 | + | |
| 374 | +/***/ }), | |
| 375 | + | |
| 376 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js": | |
| 377 | +/*!**********************************************************************************!*\ | |
| 378 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js ***! | |
| 379 | + \**********************************************************************************/ | |
| 380 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 381 | + | |
| 382 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 383 | + | |
| 384 | +function _isNativeReflectConstruct() { | |
| 385 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 386 | + if (_Reflect$construct.sham) return false; | |
| 387 | + if (typeof Proxy === "function") return true; | |
| 388 | + | |
| 389 | + try { | |
| 390 | + Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | |
| 391 | + return true; | |
| 392 | + } catch (e) { | |
| 393 | + return false; | |
| 394 | + } | |
| 395 | +} | |
| 396 | + | |
| 397 | +module.exports = _isNativeReflectConstruct; | |
| 398 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 399 | + | |
| 400 | +/***/ }), | |
| 401 | + | |
| 402 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js": | |
| 403 | +/*!******************************************************************************!*\ | |
| 404 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js ***! | |
| 405 | + \******************************************************************************/ | |
| 406 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 407 | + | |
| 408 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 409 | + | |
| 410 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 411 | + | |
| 412 | +function _iterableToArrayLimit(arr, i) { | |
| 413 | + var _i = arr == null ? null : typeof _Symbol !== "undefined" && arr[_Symbol$iterator] || arr["@@iterator"]; | |
| 414 | + | |
| 415 | + if (_i == null) return; | |
| 416 | + var _arr = []; | |
| 417 | + var _n = true; | |
| 418 | + var _d = false; | |
| 419 | + | |
| 420 | + var _s, _e; | |
| 421 | + | |
| 422 | + try { | |
| 423 | + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | |
| 424 | + _arr.push(_s.value); | |
| 425 | + | |
| 426 | + if (i && _arr.length === i) break; | |
| 427 | + } | |
| 428 | + } catch (err) { | |
| 429 | + _d = true; | |
| 430 | + _e = err; | |
| 431 | + } finally { | |
| 432 | + try { | |
| 433 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 434 | + } finally { | |
| 435 | + if (_d) throw _e; | |
| 436 | + } | |
| 437 | + } | |
| 438 | + | |
| 439 | + return _arr; | |
| 440 | +} | |
| 441 | + | |
| 442 | +module.exports = _iterableToArrayLimit; | |
| 443 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 444 | + | |
| 445 | +/***/ }), | |
| 446 | + | |
| 447 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js": | |
| 448 | +/*!*************************************************************************!*\ | |
| 449 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js ***! | |
| 450 | + \*************************************************************************/ | |
| 451 | +/***/ ((module) => { | |
| 452 | + | |
| 453 | +function _nonIterableRest() { | |
| 454 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 455 | +} | |
| 456 | + | |
| 457 | +module.exports = _nonIterableRest; | |
| 458 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 459 | + | |
| 460 | +/***/ }), | |
| 461 | + | |
| 462 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js": | |
| 463 | +/*!***********************************************************************************!*\ | |
| 464 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js ***! | |
| 465 | + \***********************************************************************************/ | |
| 466 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 467 | + | |
| 468 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js").default; | |
| 469 | + | |
| 470 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js"); | |
| 471 | + | |
| 472 | +function _possibleConstructorReturn(self, call) { | |
| 473 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 474 | + return call; | |
| 475 | + } | |
| 476 | + | |
| 477 | + return assertThisInitialized(self); | |
| 478 | +} | |
| 479 | + | |
| 480 | +module.exports = _possibleConstructorReturn; | |
| 481 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 482 | + | |
| 483 | +/***/ }), | |
| 484 | + | |
| 485 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js": | |
| 486 | +/*!************************************************************************!*\ | |
| 487 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js ***! | |
| 488 | + \************************************************************************/ | |
| 489 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 490 | + | |
| 491 | +var _Object$setPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/set-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js"); | |
| 492 | + | |
| 493 | +function _setPrototypeOf(o, p) { | |
| 494 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 495 | + o.__proto__ = p; | |
| 496 | + return o; | |
| 497 | + }; | |
| 498 | + | |
| 499 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 500 | + return _setPrototypeOf(o, p); | |
| 501 | +} | |
| 502 | + | |
| 503 | +module.exports = _setPrototypeOf; | |
| 504 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 505 | + | |
| 506 | +/***/ }), | |
| 507 | + | |
| 508 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js": | |
| 509 | +/*!***********************************************************************!*\ | |
| 510 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js ***! | |
| 511 | + \***********************************************************************/ | |
| 512 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 513 | + | |
| 514 | +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js"); | |
| 515 | + | |
| 516 | +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js"); | |
| 517 | + | |
| 518 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 519 | + | |
| 520 | +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js"); | |
| 521 | + | |
| 522 | +function _slicedToArray(arr, i) { | |
| 523 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 524 | +} | |
| 525 | + | |
| 526 | +module.exports = _slicedToArray; | |
| 527 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 528 | + | |
| 529 | +/***/ }), | |
| 530 | + | |
| 531 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js": | |
| 532 | +/*!***********************************************************************!*\ | |
| 533 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js ***! | |
| 534 | + \***********************************************************************/ | |
| 535 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 536 | + | |
| 537 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 538 | + | |
| 539 | +function _superPropBase(object, property) { | |
| 540 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 541 | + object = getPrototypeOf(object); | |
| 542 | + if (object === null) break; | |
| 543 | + } | |
| 544 | + | |
| 545 | + return object; | |
| 546 | +} | |
| 547 | + | |
| 548 | +module.exports = _superPropBase; | |
| 549 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 550 | + | |
| 551 | +/***/ }), | |
| 552 | + | |
| 553 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js": | |
| 554 | +/*!****************************************************************!*\ | |
| 555 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/typeof.js ***! | |
| 556 | + \****************************************************************/ | |
| 557 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 558 | + | |
| 559 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 560 | + | |
| 561 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 562 | + | |
| 563 | +function _typeof(obj) { | |
| 564 | + "@babel/helpers - typeof"; | |
| 565 | + | |
| 566 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 567 | + module.exports = _typeof = function _typeof(obj) { | |
| 568 | + return typeof obj; | |
| 569 | + }; | |
| 570 | + | |
| 571 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 572 | + } else { | |
| 573 | + module.exports = _typeof = function _typeof(obj) { | |
| 574 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 575 | + }; | |
| 576 | + | |
| 577 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 578 | + } | |
| 579 | + | |
| 580 | + return _typeof(obj); | |
| 581 | +} | |
| 582 | + | |
| 583 | +module.exports = _typeof; | |
| 584 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 585 | + | |
| 586 | +/***/ }), | |
| 587 | + | |
| 588 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js": | |
| 589 | +/*!************************************************************************************!*\ | |
| 590 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js ***! | |
| 591 | + \************************************************************************************/ | |
| 592 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 593 | + | |
| 594 | +var _Array$from = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/from */ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js"); | |
| 595 | + | |
| 596 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js"); | |
| 597 | + | |
| 598 | +function _unsupportedIterableToArray(o, minLen) { | |
| 599 | + if (!o) return; | |
| 600 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 601 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 602 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 603 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 604 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 605 | +} | |
| 606 | + | |
| 607 | +module.exports = _unsupportedIterableToArray; | |
| 608 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 609 | + | |
| 610 | +/***/ }), | |
| 611 | + | |
| 612 | +/***/ "../assets/dev/js/admin/admin-menu.js": | |
| 613 | +/*!********************************************!*\ | |
| 614 | + !*** ../assets/dev/js/admin/admin-menu.js ***! | |
| 615 | + \********************************************/ | |
| 616 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 617 | + | |
| 618 | +"use strict"; | |
| 619 | + | |
| 620 | + | |
| 621 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 622 | + | |
| 623 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 624 | + | |
| 625 | +_Object$defineProperty(exports, "__esModule", { | |
| 626 | + value: true | |
| 627 | +}); | |
| 628 | + | |
| 629 | +exports.default = void 0; | |
| 630 | + | |
| 631 | +__webpack_require__(/*! core-js/modules/es6.string.includes.js */ "../node_modules/core-js/modules/es6.string.includes.js"); | |
| 632 | + | |
| 633 | +__webpack_require__(/*! core-js/modules/es7.array.includes.js */ "../node_modules/core-js/modules/es7.array.includes.js"); | |
| 634 | + | |
| 635 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 636 | + | |
| 637 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 638 | + | |
| 639 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 640 | + | |
| 641 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 642 | + | |
| 643 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 644 | + | |
| 645 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 646 | + | |
| 647 | +var AdminMenuHandler = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 648 | + (0, _inherits2.default)(AdminMenuHandler, _elementorModules$Vie); | |
| 649 | + | |
| 650 | + var _super = (0, _createSuper2.default)(AdminMenuHandler); | |
| 651 | + | |
| 652 | + function AdminMenuHandler() { | |
| 653 | + (0, _classCallCheck2.default)(this, AdminMenuHandler); | |
| 654 | + return _super.apply(this, arguments); | |
| 655 | + } | |
| 656 | + | |
| 657 | + (0, _createClass2.default)(AdminMenuHandler, [{ | |
| 658 | + key: "getDefaultElements", | |
| 659 | + value: function getDefaultElements() { | |
| 660 | + var settings = this.getSettings(); | |
| 661 | + return { | |
| 662 | + $adminPageMenuLink: jQuery("a[href=\"".concat(settings.path, "\"]")) | |
| 663 | + }; | |
| 664 | + } // This method highlights the currently visited submenu item for the slug provided as an argument to this handler. | |
| 665 | + // This method also accepts a jQuery instance of a custom submenu item to highlight. If provided, the provided | |
| 666 | + // item will be the one highlighted. | |
| 667 | + | |
| 668 | + }, { | |
| 669 | + key: "highlightSubMenuItem", | |
| 670 | + value: function highlightSubMenuItem() { | |
| 671 | + var $element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; | |
| 672 | + var $submenuItem = $element || this.elements.$adminPageMenuLink; | |
| 673 | + $submenuItem.addClass('current'); // Need to add the 'current' class to the link element's parent `<li>` element as well. | |
| 674 | + | |
| 675 | + $submenuItem.parent().addClass('current'); | |
| 676 | + } | |
| 677 | + }, { | |
| 678 | + key: "highlightTopLevelMenuItem", | |
| 679 | + value: function highlightTopLevelMenuItem($elementToHighlight) { | |
| 680 | + var $elementToRemove = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; | |
| 681 | + var activeClasses = 'wp-has-current-submenu wp-menu-open current'; | |
| 682 | + $elementToHighlight.parent().addClass(activeClasses).removeClass('wp-not-current-submenu'); | |
| 683 | + | |
| 684 | + if ($elementToRemove) { | |
| 685 | + $elementToRemove.removeClass(activeClasses); | |
| 686 | + } | |
| 687 | + } | |
| 688 | + }, { | |
| 689 | + key: "onInit", | |
| 690 | + value: function onInit() { | |
| 691 | + (0, _get2.default)((0, _getPrototypeOf2.default)(AdminMenuHandler.prototype), "onInit", this).call(this); | |
| 692 | + var settings = this.getSettings(); | |
| 693 | + | |
| 694 | + if (window.location.href.includes(settings.path)) { | |
| 695 | + this.highlightSubMenuItem(); | |
| 696 | + } | |
| 697 | + } | |
| 698 | + }]); | |
| 699 | + return AdminMenuHandler; | |
| 700 | +}(elementorModules.ViewModule); | |
| 701 | + | |
| 702 | +exports.default = AdminMenuHandler; | |
| 703 | + | |
| 704 | +/***/ }), | |
| 705 | + | |
| 706 | +/***/ "../assets/dev/js/admin/maintenance-mode.js": | |
| 707 | +/*!**************************************************!*\ | |
| 708 | + !*** ../assets/dev/js/admin/maintenance-mode.js ***! | |
| 709 | + \**************************************************/ | |
| 710 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 711 | + | |
| 712 | +"use strict"; | |
| 713 | + | |
| 714 | + | |
| 715 | +__webpack_require__(/*! core-js/modules/es6.array.find.js */ "../node_modules/core-js/modules/es6.array.find.js"); | |
| 716 | + | |
| 717 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 718 | + | |
| 719 | +module.exports = elementorModules.ViewModule.extend({ | |
| 720 | + getDefaultSettings: function getDefaultSettings() { | |
| 721 | + return { | |
| 722 | + selectors: { | |
| 723 | + modeSelect: '.elementor_maintenance_mode_mode select', | |
| 724 | + maintenanceModeTable: '#tab-maintenance_mode table', | |
| 725 | + maintenanceModeDescriptions: '.elementor-maintenance-mode-description', | |
| 726 | + excludeModeSelect: '.elementor_maintenance_mode_exclude_mode select', | |
| 727 | + excludeRolesArea: '.elementor_maintenance_mode_exclude_roles', | |
| 728 | + templateSelect: '.elementor_maintenance_mode_template_id select', | |
| 729 | + editTemplateButton: '.elementor-edit-template', | |
| 730 | + maintenanceModeError: '.elementor-maintenance-mode-error' | |
| 731 | + }, | |
| 732 | + classes: { | |
| 733 | + isEnabled: 'elementor-maintenance-mode-is-enabled' | |
| 734 | + } | |
| 735 | + }; | |
| 736 | + }, | |
| 737 | + getDefaultElements: function getDefaultElements() { | |
| 738 | + var elements = {}, | |
| 739 | + selectors = this.getSettings('selectors'); | |
| 740 | + elements.$modeSelect = jQuery(selectors.modeSelect); | |
| 741 | + elements.$maintenanceModeTable = elements.$modeSelect.parents(selectors.maintenanceModeTable); | |
| 742 | + elements.$excludeModeSelect = elements.$maintenanceModeTable.find(selectors.excludeModeSelect); | |
| 743 | + elements.$excludeRolesArea = elements.$maintenanceModeTable.find(selectors.excludeRolesArea); | |
| 744 | + elements.$templateSelect = elements.$maintenanceModeTable.find(selectors.templateSelect); | |
| 745 | + elements.$editTemplateButton = elements.$maintenanceModeTable.find(selectors.editTemplateButton); | |
| 746 | + elements.$maintenanceModeDescriptions = elements.$maintenanceModeTable.find(selectors.maintenanceModeDescriptions); | |
| 747 | + elements.$maintenanceModeError = elements.$maintenanceModeTable.find(selectors.maintenanceModeError); | |
| 748 | + return elements; | |
| 749 | + }, | |
| 750 | + handleModeSelectChange: function handleModeSelectChange() { | |
| 751 | + var settings = this.getSettings(), | |
| 752 | + elements = this.elements; | |
| 753 | + elements.$maintenanceModeTable.toggleClass(settings.classes.isEnabled, !!elements.$modeSelect.val()); | |
| 754 | + elements.$maintenanceModeDescriptions.hide(); | |
| 755 | + elements.$maintenanceModeDescriptions.filter('[data-value="' + elements.$modeSelect.val() + '"]').show(); | |
| 756 | + }, | |
| 757 | + handleExcludeModeSelectChange: function handleExcludeModeSelectChange() { | |
| 758 | + var elements = this.elements; | |
| 759 | + elements.$excludeRolesArea.toggle('custom' === elements.$excludeModeSelect.val()); | |
| 760 | + }, | |
| 761 | + handleTemplateSelectChange: function handleTemplateSelectChange() { | |
| 762 | + var elements = this.elements; | |
| 763 | + var templateID = elements.$templateSelect.val(); | |
| 764 | + | |
| 765 | + if (!templateID) { | |
| 766 | + elements.$editTemplateButton.hide(); | |
| 767 | + elements.$maintenanceModeError.show(); | |
| 768 | + return; | |
| 769 | + } | |
| 770 | + | |
| 771 | + var editUrl = elementorAdmin.config.home_url + '?p=' + templateID + '&elementor'; | |
| 772 | + elements.$editTemplateButton.prop('href', editUrl).show(); | |
| 773 | + elements.$maintenanceModeError.hide(); | |
| 774 | + }, | |
| 775 | + bindEvents: function bindEvents() { | |
| 776 | + var elements = this.elements; | |
| 777 | + elements.$modeSelect.on('change', this.handleModeSelectChange.bind(this)); | |
| 778 | + elements.$excludeModeSelect.on('change', this.handleExcludeModeSelectChange.bind(this)); | |
| 779 | + elements.$templateSelect.on('change', this.handleTemplateSelectChange.bind(this)); | |
| 780 | + }, | |
| 781 | + onAdminInit: function onAdminInit() { | |
| 782 | + this.handleModeSelectChange(); | |
| 783 | + this.handleExcludeModeSelectChange(); | |
| 784 | + this.handleTemplateSelectChange(); | |
| 785 | + }, | |
| 786 | + onInit: function onInit() { | |
| 787 | + elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 788 | + elementorCommon.elements.$window.on('elementor/admin/init', this.onAdminInit); | |
| 789 | + } | |
| 790 | +}); | |
| 791 | + | |
| 792 | +/***/ }), | |
| 793 | + | |
| 794 | +/***/ "../core/common/assets/js/utils/environment.js": | |
| 795 | +/*!*****************************************************!*\ | |
| 796 | + !*** ../core/common/assets/js/utils/environment.js ***! | |
| 797 | + \*****************************************************/ | |
| 798 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 799 | + | |
| 800 | +"use strict"; | |
| 801 | + | |
| 802 | + | |
| 803 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 804 | + | |
| 805 | +_Object$defineProperty(exports, "__esModule", { | |
| 806 | + value: true | |
| 807 | +}); | |
| 808 | + | |
| 809 | +exports.default = void 0; | |
| 810 | + | |
| 811 | +__webpack_require__(/*! core-js/modules/es6.object.to-string.js */ "../node_modules/core-js/modules/es6.object.to-string.js"); | |
| 812 | + | |
| 813 | +__webpack_require__(/*! core-js/modules/es6.regexp.to-string.js */ "../node_modules/core-js/modules/es6.regexp.to-string.js"); | |
| 814 | + | |
| 815 | +var matchUserAgent = function matchUserAgent(UserAgentStr) { | |
| 816 | + return userAgent.indexOf(UserAgentStr) >= 0; | |
| 817 | +}, | |
| 818 | + userAgent = navigator.userAgent, | |
| 819 | + // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser | |
| 820 | +// Opera 8.0+ | |
| 821 | +isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'), | |
| 822 | + // Firefox 1.0+ | |
| 823 | +isFirefox = matchUserAgent('Firefox'), | |
| 824 | + // Safari 3.0+ "[object HTMLElementConstructor]" | |
| 825 | +isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || function (p) { | |
| 826 | + return '[object SafariRemoteNotification]' === p.toString(); | |
| 827 | +}(!window.safari || typeof safari !== 'undefined' && safari.pushNotification), | |
| 828 | + // Internet Explorer 6-11 | |
| 829 | +isIE = /Trident|MSIE/.test(userAgent) && ( | |
| 830 | +/*@cc_on!@*/ | |
| 831 | + false || !!document.documentMode), | |
| 832 | + // Edge 20+ | |
| 833 | +isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'), | |
| 834 | + // Google Chrome (Not accurate) | |
| 835 | +isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera), | |
| 836 | + // Blink engine | |
| 837 | +isBlink = matchUserAgent('Chrome') && !!window.CSS, | |
| 838 | + // Apple Webkit engine | |
| 839 | +isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink, | |
| 840 | + environment = { | |
| 841 | + appleWebkit: isAppleWebkit, | |
| 842 | + blink: isBlink, | |
| 843 | + chrome: isChrome, | |
| 844 | + edge: isEdge, | |
| 845 | + firefox: isFirefox, | |
| 846 | + ie: isIE, | |
| 847 | + mac: matchUserAgent('Macintosh'), | |
| 848 | + opera: isOpera, | |
| 849 | + safari: isSafari, | |
| 850 | + webkit: matchUserAgent('AppleWebKit') | |
| 851 | +}; | |
| 852 | + | |
| 853 | +var _default = environment; | |
| 854 | +exports.default = _default; | |
| 855 | + | |
| 856 | +/***/ }), | |
| 857 | + | |
| 858 | +/***/ "../core/experiments/assets/js/admin/module.js": | |
| 859 | +/*!*****************************************************!*\ | |
| 860 | + !*** ../core/experiments/assets/js/admin/module.js ***! | |
| 861 | + \*****************************************************/ | |
| 862 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 863 | + | |
| 864 | +"use strict"; | |
| 865 | + | |
| 866 | + | |
| 867 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 868 | + | |
| 869 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 870 | + | |
| 871 | +_Object$defineProperty(exports, "__esModule", { | |
| 872 | + value: true | |
| 873 | +}); | |
| 874 | + | |
| 875 | +exports.default = void 0; | |
| 876 | + | |
| 877 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 878 | + | |
| 879 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 880 | + | |
| 881 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 882 | + | |
| 883 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 884 | + | |
| 885 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 886 | + | |
| 887 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 888 | + | |
| 889 | +var ExperimentsModule = /*#__PURE__*/function (_elementorModules$Vie) { | |
| 890 | + (0, _inherits2.default)(ExperimentsModule, _elementorModules$Vie); | |
| 891 | + | |
| 892 | + var _super = (0, _createSuper2.default)(ExperimentsModule); | |
| 893 | + | |
| 894 | + function ExperimentsModule() { | |
| 895 | + (0, _classCallCheck2.default)(this, ExperimentsModule); | |
| 896 | + return _super.apply(this, arguments); | |
| 897 | + } | |
| 898 | + | |
| 899 | + (0, _createClass2.default)(ExperimentsModule, [{ | |
| 900 | + key: "getDefaultSettings", | |
| 901 | + value: function getDefaultSettings() { | |
| 902 | + return { | |
| 903 | + selectors: { | |
| 904 | + experimentIndicators: '.e-experiment__title__indicator' | |
| 905 | + } | |
| 906 | + }; | |
| 907 | + } | |
| 908 | + }, { | |
| 909 | + key: "getDefaultElements", | |
| 910 | + value: function getDefaultElements() { | |
| 911 | + return { | |
| 912 | + $experimentIndicators: jQuery(this.getSettings('selectors.experimentIndicators')) | |
| 913 | + }; | |
| 914 | + } | |
| 915 | + }, { | |
| 916 | + key: "addTipsy", | |
| 917 | + value: function addTipsy($element) { | |
| 918 | + $element.tipsy({ | |
| 919 | + gravity: 's', | |
| 920 | + offset: 8, | |
| 921 | + title: function title() { | |
| 922 | + return this.getAttribute('data-tooltip'); | |
| 923 | + } | |
| 924 | + }); | |
| 925 | + } | |
| 926 | + }, { | |
| 927 | + key: "addIndicatorsTooltips", | |
| 928 | + value: function addIndicatorsTooltips() { | |
| 929 | + var _this = this; | |
| 930 | + | |
| 931 | + this.elements.$experimentIndicators.each(function (index, experimentIndicator) { | |
| 932 | + return _this.addTipsy(jQuery(experimentIndicator)); | |
| 933 | + }); | |
| 934 | + } | |
| 935 | + }, { | |
| 936 | + key: "onInit", | |
| 937 | + value: function onInit() { | |
| 938 | + var _this2 = this; | |
| 939 | + | |
| 940 | + (0, _get2.default)((0, _getPrototypeOf2.default)(ExperimentsModule.prototype), "onInit", this).call(this); | |
| 941 | + | |
| 942 | + if (this.elements.$experimentIndicators.length) { | |
| 943 | + import( | |
| 944 | + /* webpackIgnore: true */ | |
| 945 | + "".concat(elementorCommon.config.urls.assets, "lib/tipsy/tipsy.min.js?ver=1.0.0")).then(function () { | |
| 946 | + return _this2.addIndicatorsTooltips(); | |
| 947 | + }); | |
| 948 | + } | |
| 949 | + } | |
| 950 | + }]); | |
| 951 | + return ExperimentsModule; | |
| 952 | +}(elementorModules.ViewModule); | |
| 953 | + | |
| 954 | +exports.default = ExperimentsModule; | |
| 955 | + | |
| 956 | +/***/ }), | |
| 957 | + | |
| 958 | +/***/ "../modules/landing-pages/assets/js/admin/landing-pages.js": | |
| 959 | +/*!*****************************************************************!*\ | |
| 960 | + !*** ../modules/landing-pages/assets/js/admin/landing-pages.js ***! | |
| 961 | + \*****************************************************************/ | |
| 962 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 963 | + | |
| 964 | +"use strict"; | |
| 965 | + | |
| 966 | + | |
| 967 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 968 | + | |
| 969 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 970 | + | |
| 971 | +_Object$defineProperty(exports, "__esModule", { | |
| 972 | + value: true | |
| 973 | +}); | |
| 974 | + | |
| 975 | +exports.default = void 0; | |
| 976 | + | |
| 977 | +__webpack_require__(/*! core-js/modules/es6.string.includes.js */ "../node_modules/core-js/modules/es6.string.includes.js"); | |
| 978 | + | |
| 979 | +__webpack_require__(/*! core-js/modules/es7.array.includes.js */ "../node_modules/core-js/modules/es7.array.includes.js"); | |
| 980 | + | |
| 981 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 982 | + | |
| 983 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 984 | + | |
| 985 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 986 | + | |
| 987 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 988 | + | |
| 989 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 990 | + | |
| 991 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 992 | + | |
| 993 | +var _adminMenu = _interopRequireDefault(__webpack_require__(/*! elementor-admin/admin-menu */ "../assets/dev/js/admin/admin-menu.js")); | |
| 994 | + | |
| 995 | +var LandingPagesHandler = /*#__PURE__*/function (_AdminMenuHandler) { | |
| 996 | + (0, _inherits2.default)(LandingPagesHandler, _AdminMenuHandler); | |
| 997 | + | |
| 998 | + var _super = (0, _createSuper2.default)(LandingPagesHandler); | |
| 999 | + | |
| 1000 | + function LandingPagesHandler() { | |
| 1001 | + (0, _classCallCheck2.default)(this, LandingPagesHandler); | |
| 1002 | + return _super.apply(this, arguments); | |
| 1003 | + } | |
| 1004 | + | |
| 1005 | + (0, _createClass2.default)(LandingPagesHandler, [{ | |
| 1006 | + key: "getDefaultSettings", | |
| 1007 | + value: function getDefaultSettings() { | |
| 1008 | + var pageName = 'e-landing-page', | |
| 1009 | + adminMenuSelectors = { | |
| 1010 | + // The escaping is done because jQuery requires it for selectors. | |
| 1011 | + landingPagesTablePage: 'a[href=\"edit.php?post_type=' + pageName + '\"]', | |
| 1012 | + landingPagesAddNewPage: 'a[href=\"edit.php?post_type=elementor_library&page=' + pageName + '\"]' | |
| 1013 | + }; | |
| 1014 | + return { | |
| 1015 | + selectors: { | |
| 1016 | + addButton: '.page-title-action:first', | |
| 1017 | + pagesMenuItemAndLink: '#menu-pages, #menu-pages > a', | |
| 1018 | + landingPagesMenuItem: "".concat(adminMenuSelectors.landingPagesTablePage, ", ").concat(adminMenuSelectors.landingPagesAddNewPage), | |
| 1019 | + templatesMenuItem: '.menu-icon-elementor_library' | |
| 1020 | + } | |
| 1021 | + }; | |
| 1022 | + } | |
| 1023 | + }, { | |
| 1024 | + key: "getDefaultElements", | |
| 1025 | + value: function getDefaultElements() { | |
| 1026 | + var selectors = this.getSettings('selectors'), | |
| 1027 | + elements = (0, _get2.default)((0, _getPrototypeOf2.default)(LandingPagesHandler.prototype), "getDefaultElements", this).call(this); | |
| 1028 | + elements.$landingPagesMenuItem = jQuery(selectors.landingPagesMenuItem); | |
| 1029 | + elements.$templatesMenuItem = jQuery(selectors.templatesMenuItem); | |
| 1030 | + elements.$pagesMenuItemAndLink = jQuery(selectors.pagesMenuItemAndLink); | |
| 1031 | + return elements; | |
| 1032 | + } | |
| 1033 | + }, { | |
| 1034 | + key: "onInit", | |
| 1035 | + value: function onInit() { | |
| 1036 | + (0, _get2.default)((0, _getPrototypeOf2.default)(LandingPagesHandler.prototype), "onInit", this).call(this); | |
| 1037 | + var settings = this.getSettings(), | |
| 1038 | + isLandingPagesTablePage = !!window.location.href.includes(settings.paths.landingPagesTablePage), | |
| 1039 | + isLandingPagesTrashPage = !!window.location.href.includes(settings.paths.landingPagesTrashPage), | |
| 1040 | + isLandingPagesCreateYourFirstPage = !!window.location.href.includes(settings.paths.landingPagesAddNewPage); // If the current page is a Landing Pages Page (the Posts Table page, "Create Your First.." page, or a native | |
| 1041 | + // WordPress dashboard page edit screen when using WordPress' Classic Editor). | |
| 1042 | + | |
| 1043 | + if (isLandingPagesTablePage || isLandingPagesTrashPage || isLandingPagesCreateYourFirstPage || settings.isLandingPageAdminEdit) { | |
| 1044 | + // Make sure the active admin top level menu item is 'Templates', and not 'Pages'. | |
| 1045 | + this.highlightTopLevelMenuItem(this.elements.$templatesMenuItem, this.elements.$pagesMenuItemAndLink); | |
| 1046 | + this.highlightSubMenuItem(this.elements.$landingPagesMenuItem); // Overwrite the 'Add New' button at the top of the page to open in Elementor with the library module open. | |
| 1047 | + | |
| 1048 | + jQuery(settings.selectors.addButton).attr('href', elementorAdminConfig.urls.addNewLandingPageUrl); | |
| 1049 | + } | |
| 1050 | + } | |
| 1051 | + }]); | |
| 1052 | + return LandingPagesHandler; | |
| 1053 | +}(_adminMenu.default); | |
| 1054 | + | |
| 1055 | +exports.default = LandingPagesHandler; | |
| 1056 | + | |
| 1057 | +/***/ }), | |
| 1058 | + | |
| 1059 | +/***/ "../modules/landing-pages/assets/js/admin/module.js": | |
| 1060 | +/*!**********************************************************!*\ | |
| 1061 | + !*** ../modules/landing-pages/assets/js/admin/module.js ***! | |
| 1062 | + \**********************************************************/ | |
| 1063 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1064 | + | |
| 1065 | +"use strict"; | |
| 1066 | + | |
| 1067 | + | |
| 1068 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1069 | + | |
| 1070 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1071 | + | |
| 1072 | +_Object$defineProperty(exports, "__esModule", { | |
| 1073 | + value: true | |
| 1074 | +}); | |
| 1075 | + | |
| 1076 | +exports.default = void 0; | |
| 1077 | + | |
| 1078 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1079 | + | |
| 1080 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 1081 | + | |
| 1082 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 1083 | + | |
| 1084 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 1085 | + | |
| 1086 | +var _landingPages = _interopRequireDefault(__webpack_require__(/*! ./landing-pages */ "../modules/landing-pages/assets/js/admin/landing-pages.js")); | |
| 1087 | + | |
| 1088 | +var _default = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 1089 | + (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 1090 | + | |
| 1091 | + var _super = (0, _createSuper2.default)(_default); | |
| 1092 | + | |
| 1093 | + function _default() { | |
| 1094 | + var _this; | |
| 1095 | + | |
| 1096 | + (0, _classCallCheck2.default)(this, _default); | |
| 1097 | + _this = _super.call(this); | |
| 1098 | + elementorCommon.elements.$window.on('elementor/admin/init', function () { | |
| 1099 | + _this.runHandler(); | |
| 1100 | + }); | |
| 1101 | + return _this; | |
| 1102 | + } | |
| 1103 | + | |
| 1104 | + (0, _createClass2.default)(_default, [{ | |
| 1105 | + key: "runHandler", | |
| 1106 | + value: function runHandler() { | |
| 1107 | + var _elementorAdmin$confi, _elementorAdmin$confi2; | |
| 1108 | + | |
| 1109 | + var pageName = 'e-landing-page', | |
| 1110 | + paths = { | |
| 1111 | + landingPagesTablePage: 'edit.php?post_type=' + pageName, | |
| 1112 | + landingPagesAddNewPage: 'edit.php?post_type=elementor_library&page=' + pageName, | |
| 1113 | + landingPagesTrashPage: 'edit.php?post_status=trash&post_type=' + pageName | |
| 1114 | + }, | |
| 1115 | + args = { | |
| 1116 | + path: (_elementorAdmin$confi = elementorAdmin.config.landingPages) !== null && _elementorAdmin$confi !== void 0 && _elementorAdmin$confi.landingPagesHasPages ? paths.landingPagesTablePage : paths.landingPagesAddNewPage, | |
| 1117 | + isLandingPageAdminEdit: (_elementorAdmin$confi2 = elementorAdmin.config.landingPages) === null || _elementorAdmin$confi2 === void 0 ? void 0 : _elementorAdmin$confi2.isLandingPageAdminEdit, | |
| 1118 | + paths: paths | |
| 1119 | + }; // This class modifies elements in the WordPress admin that are rendered "wrong" by the WordPress core | |
| 1120 | + // and could not be modified in the backend. | |
| 1121 | + | |
| 1122 | + new _landingPages.default(args); | |
| 1123 | + } | |
| 1124 | + }]); | |
| 1125 | + return _default; | |
| 1126 | +}(elementorModules.Module); | |
| 1127 | + | |
| 1128 | +exports.default = _default; | |
| 1129 | + | |
| 1130 | +/***/ }), | |
| 1131 | + | |
| 1132 | +/***/ "../node_modules/core-js/library/fn/array/from.js": | |
| 1133 | +/*!********************************************************!*\ | |
| 1134 | + !*** ../node_modules/core-js/library/fn/array/from.js ***! | |
| 1135 | + \********************************************************/ | |
| 1136 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1137 | + | |
| 1138 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 1139 | +__webpack_require__(/*! ../../modules/es6.array.from */ "../node_modules/core-js/library/modules/es6.array.from.js"); | |
| 1140 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.from; | |
| 1141 | + | |
| 1142 | + | |
| 1143 | +/***/ }), | |
| 1144 | + | |
| 1145 | +/***/ "../node_modules/core-js/library/fn/array/is-array.js": | |
| 1146 | +/*!************************************************************!*\ | |
| 1147 | + !*** ../node_modules/core-js/library/fn/array/is-array.js ***! | |
| 1148 | + \************************************************************/ | |
| 1149 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1150 | + | |
| 1151 | +__webpack_require__(/*! ../../modules/es6.array.is-array */ "../node_modules/core-js/library/modules/es6.array.is-array.js"); | |
| 1152 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.isArray; | |
| 1153 | + | |
| 1154 | + | |
| 1155 | +/***/ }), | |
| 1156 | + | |
| 1157 | +/***/ "../node_modules/core-js/library/fn/object/create.js": | |
| 1158 | +/*!***********************************************************!*\ | |
| 1159 | + !*** ../node_modules/core-js/library/fn/object/create.js ***! | |
| 1160 | + \***********************************************************/ | |
| 1161 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1162 | + | |
| 1163 | +__webpack_require__(/*! ../../modules/es6.object.create */ "../node_modules/core-js/library/modules/es6.object.create.js"); | |
| 1164 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 1165 | +module.exports = function create(P, D) { | |
| 1166 | + return $Object.create(P, D); | |
| 1167 | +}; | |
| 1168 | + | |
| 1169 | + | |
| 1170 | +/***/ }), | |
| 1171 | + | |
| 1172 | +/***/ "../node_modules/core-js/library/fn/object/define-property.js": | |
| 1173 | +/*!********************************************************************!*\ | |
| 1174 | + !*** ../node_modules/core-js/library/fn/object/define-property.js ***! | |
| 1175 | + \********************************************************************/ | |
| 1176 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1177 | + | |
| 1178 | +__webpack_require__(/*! ../../modules/es6.object.define-property */ "../node_modules/core-js/library/modules/es6.object.define-property.js"); | |
| 1179 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 1180 | +module.exports = function defineProperty(it, key, desc) { | |
| 1181 | + return $Object.defineProperty(it, key, desc); | |
| 1182 | +}; | |
| 1183 | + | |
| 1184 | + | |
| 1185 | +/***/ }), | |
| 1186 | + | |
| 1187 | +/***/ "../node_modules/core-js/library/fn/object/entries.js": | |
| 1188 | +/*!************************************************************!*\ | |
| 1189 | + !*** ../node_modules/core-js/library/fn/object/entries.js ***! | |
| 1190 | + \************************************************************/ | |
| 1191 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1192 | + | |
| 1193 | +__webpack_require__(/*! ../../modules/es7.object.entries */ "../node_modules/core-js/library/modules/es7.object.entries.js"); | |
| 1194 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.entries; | |
| 1195 | + | |
| 1196 | + | |
| 1197 | +/***/ }), | |
| 1198 | + | |
| 1199 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js": | |
| 1200 | +/*!********************************************************************************!*\ | |
| 1201 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***! | |
| 1202 | + \********************************************************************************/ | |
| 1203 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1204 | + | |
| 1205 | +__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js"); | |
| 1206 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 1207 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 1208 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 1209 | +}; | |
| 1210 | + | |
| 1211 | + | |
| 1212 | +/***/ }), | |
| 1213 | + | |
| 1214 | +/***/ "../node_modules/core-js/library/fn/object/get-prototype-of.js": | |
| 1215 | +/*!*********************************************************************!*\ | |
| 1216 | + !*** ../node_modules/core-js/library/fn/object/get-prototype-of.js ***! | |
| 1217 | + \*********************************************************************/ | |
| 1218 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1219 | + | |
| 1220 | +__webpack_require__(/*! ../../modules/es6.object.get-prototype-of */ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js"); | |
| 1221 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getPrototypeOf; | |
| 1222 | + | |
| 1223 | + | |
| 1224 | +/***/ }), | |
| 1225 | + | |
| 1226 | +/***/ "../node_modules/core-js/library/fn/object/set-prototype-of.js": | |
| 1227 | +/*!*********************************************************************!*\ | |
| 1228 | + !*** ../node_modules/core-js/library/fn/object/set-prototype-of.js ***! | |
| 1229 | + \*********************************************************************/ | |
| 1230 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1231 | + | |
| 1232 | +__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js"); | |
| 1233 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.setPrototypeOf; | |
| 1234 | + | |
| 1235 | + | |
| 1236 | +/***/ }), | |
| 1237 | + | |
| 1238 | +/***/ "../node_modules/core-js/library/fn/reflect/construct.js": | |
| 1239 | +/*!***************************************************************!*\ | |
| 1240 | + !*** ../node_modules/core-js/library/fn/reflect/construct.js ***! | |
| 1241 | + \***************************************************************/ | |
| 1242 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1243 | + | |
| 1244 | +__webpack_require__(/*! ../../modules/es6.reflect.construct */ "../node_modules/core-js/library/modules/es6.reflect.construct.js"); | |
| 1245 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.construct; | |
| 1246 | + | |
| 1247 | + | |
| 1248 | +/***/ }), | |
| 1249 | + | |
| 1250 | +/***/ "../node_modules/core-js/library/fn/reflect/get.js": | |
| 1251 | +/*!*********************************************************!*\ | |
| 1252 | + !*** ../node_modules/core-js/library/fn/reflect/get.js ***! | |
| 1253 | + \*********************************************************/ | |
| 1254 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1255 | + | |
| 1256 | +__webpack_require__(/*! ../../modules/es6.reflect.get */ "../node_modules/core-js/library/modules/es6.reflect.get.js"); | |
| 1257 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.get; | |
| 1258 | + | |
| 1259 | + | |
| 1260 | +/***/ }), | |
| 1261 | + | |
| 1262 | +/***/ "../node_modules/core-js/library/fn/symbol/index.js": | |
| 1263 | +/*!**********************************************************!*\ | |
| 1264 | + !*** ../node_modules/core-js/library/fn/symbol/index.js ***! | |
| 1265 | + \**********************************************************/ | |
| 1266 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1267 | + | |
| 1268 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 1269 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 1270 | +__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js"); | |
| 1271 | +__webpack_require__(/*! ../../modules/es7.symbol.observable */ "../node_modules/core-js/library/modules/es7.symbol.observable.js"); | |
| 1272 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Symbol; | |
| 1273 | + | |
| 1274 | + | |
| 1275 | +/***/ }), | |
| 1276 | + | |
| 1277 | +/***/ "../node_modules/core-js/library/fn/symbol/iterator.js": | |
| 1278 | +/*!*************************************************************!*\ | |
| 1279 | + !*** ../node_modules/core-js/library/fn/symbol/iterator.js ***! | |
| 1280 | + \*************************************************************/ | |
| 1281 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1282 | + | |
| 1283 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 1284 | +__webpack_require__(/*! ../../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 1285 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('iterator'); | |
| 1286 | + | |
| 1287 | + | |
| 1288 | +/***/ }), | |
| 1289 | + | |
| 1290 | +/***/ "../node_modules/core-js/library/modules/_a-function.js": | |
| 1291 | +/*!**************************************************************!*\ | |
| 1292 | + !*** ../node_modules/core-js/library/modules/_a-function.js ***! | |
| 1293 | + \**************************************************************/ | |
| 1294 | +/***/ ((module) => { | |
| 1295 | + | |
| 1296 | +module.exports = function (it) { | |
| 1297 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 1298 | + return it; | |
| 1299 | +}; | |
| 1300 | + | |
| 1301 | + | |
| 1302 | +/***/ }), | |
| 1303 | + | |
| 1304 | +/***/ "../node_modules/core-js/library/modules/_add-to-unscopables.js": | |
| 1305 | +/*!**********************************************************************!*\ | |
| 1306 | + !*** ../node_modules/core-js/library/modules/_add-to-unscopables.js ***! | |
| 1307 | + \**********************************************************************/ | |
| 1308 | +/***/ ((module) => { | |
| 1309 | + | |
| 1310 | +module.exports = function () { /* empty */ }; | |
| 1311 | + | |
| 1312 | + | |
| 1313 | +/***/ }), | |
| 1314 | + | |
| 1315 | +/***/ "../node_modules/core-js/library/modules/_an-object.js": | |
| 1316 | +/*!*************************************************************!*\ | |
| 1317 | + !*** ../node_modules/core-js/library/modules/_an-object.js ***! | |
| 1318 | + \*************************************************************/ | |
| 1319 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1320 | + | |
| 1321 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 1322 | +module.exports = function (it) { | |
| 1323 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 1324 | + return it; | |
| 1325 | +}; | |
| 1326 | + | |
| 1327 | + | |
| 1328 | +/***/ }), | |
| 1329 | + | |
| 1330 | +/***/ "../node_modules/core-js/library/modules/_array-includes.js": | |
| 1331 | +/*!******************************************************************!*\ | |
| 1332 | + !*** ../node_modules/core-js/library/modules/_array-includes.js ***! | |
| 1333 | + \******************************************************************/ | |
| 1334 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1335 | + | |
| 1336 | +// false -> Array#indexOf | |
| 1337 | +// true -> Array#includes | |
| 1338 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 1339 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 1340 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/library/modules/_to-absolute-index.js"); | |
| 1341 | +module.exports = function (IS_INCLUDES) { | |
| 1342 | + return function ($this, el, fromIndex) { | |
| 1343 | + var O = toIObject($this); | |
| 1344 | + var length = toLength(O.length); | |
| 1345 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 1346 | + var value; | |
| 1347 | + // Array#includes uses SameValueZero equality algorithm | |
| 1348 | + // eslint-disable-next-line no-self-compare | |
| 1349 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 1350 | + value = O[index++]; | |
| 1351 | + // eslint-disable-next-line no-self-compare | |
| 1352 | + if (value != value) return true; | |
| 1353 | + // Array#indexOf ignores holes, Array#includes - not | |
| 1354 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 1355 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 1356 | + } return !IS_INCLUDES && -1; | |
| 1357 | + }; | |
| 1358 | +}; | |
| 1359 | + | |
| 1360 | + | |
| 1361 | +/***/ }), | |
| 1362 | + | |
| 1363 | +/***/ "../node_modules/core-js/library/modules/_bind.js": | |
| 1364 | +/*!********************************************************!*\ | |
| 1365 | + !*** ../node_modules/core-js/library/modules/_bind.js ***! | |
| 1366 | + \********************************************************/ | |
| 1367 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1368 | + | |
| 1369 | +"use strict"; | |
| 1370 | + | |
| 1371 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 1372 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 1373 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 1374 | +var arraySlice = [].slice; | |
| 1375 | +var factories = {}; | |
| 1376 | + | |
| 1377 | +var construct = function (F, len, args) { | |
| 1378 | + if (!(len in factories)) { | |
| 1379 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 1380 | + // eslint-disable-next-line no-new-func | |
| 1381 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 1382 | + } return factories[len](F, args); | |
| 1383 | +}; | |
| 1384 | + | |
| 1385 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 1386 | + var fn = aFunction(this); | |
| 1387 | + var partArgs = arraySlice.call(arguments, 1); | |
| 1388 | + var bound = function (/* args... */) { | |
| 1389 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 1390 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 1391 | + }; | |
| 1392 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 1393 | + return bound; | |
| 1394 | +}; | |
| 1395 | + | |
| 1396 | + | |
| 1397 | +/***/ }), | |
| 1398 | + | |
| 1399 | +/***/ "../node_modules/core-js/library/modules/_classof.js": | |
| 1400 | +/*!***********************************************************!*\ | |
| 1401 | + !*** ../node_modules/core-js/library/modules/_classof.js ***! | |
| 1402 | + \***********************************************************/ | |
| 1403 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1404 | + | |
| 1405 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 1406 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 1407 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 1408 | +// ES3 wrong here | |
| 1409 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 1410 | + | |
| 1411 | +// fallback for IE11 Script Access Denied error | |
| 1412 | +var tryGet = function (it, key) { | |
| 1413 | + try { | |
| 1414 | + return it[key]; | |
| 1415 | + } catch (e) { /* empty */ } | |
| 1416 | +}; | |
| 1417 | + | |
| 1418 | +module.exports = function (it) { | |
| 1419 | + var O, T, B; | |
| 1420 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 1421 | + // @@toStringTag case | |
| 1422 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 1423 | + // builtinTag case | |
| 1424 | + : ARG ? cof(O) | |
| 1425 | + // ES3 arguments fallback | |
| 1426 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 1427 | +}; | |
| 1428 | + | |
| 1429 | + | |
| 1430 | +/***/ }), | |
| 1431 | + | |
| 1432 | +/***/ "../node_modules/core-js/library/modules/_cof.js": | |
| 1433 | +/*!*******************************************************!*\ | |
| 1434 | + !*** ../node_modules/core-js/library/modules/_cof.js ***! | |
| 1435 | + \*******************************************************/ | |
| 1436 | +/***/ ((module) => { | |
| 1437 | + | |
| 1438 | +var toString = {}.toString; | |
| 1439 | + | |
| 1440 | +module.exports = function (it) { | |
| 1441 | + return toString.call(it).slice(8, -1); | |
| 1442 | +}; | |
| 1443 | + | |
| 1444 | + | |
| 1445 | +/***/ }), | |
| 1446 | + | |
| 1447 | +/***/ "../node_modules/core-js/library/modules/_core.js": | |
| 1448 | +/*!********************************************************!*\ | |
| 1449 | + !*** ../node_modules/core-js/library/modules/_core.js ***! | |
| 1450 | + \********************************************************/ | |
| 1451 | +/***/ ((module) => { | |
| 1452 | + | |
| 1453 | +var core = module.exports = { version: '2.6.12' }; | |
| 1454 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 1455 | + | |
| 1456 | + | |
| 1457 | +/***/ }), | |
| 1458 | + | |
| 1459 | +/***/ "../node_modules/core-js/library/modules/_create-property.js": | |
| 1460 | +/*!*******************************************************************!*\ | |
| 1461 | + !*** ../node_modules/core-js/library/modules/_create-property.js ***! | |
| 1462 | + \*******************************************************************/ | |
| 1463 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1464 | + | |
| 1465 | +"use strict"; | |
| 1466 | + | |
| 1467 | +var $defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 1468 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 1469 | + | |
| 1470 | +module.exports = function (object, index, value) { | |
| 1471 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 1472 | + else object[index] = value; | |
| 1473 | +}; | |
| 1474 | + | |
| 1475 | + | |
| 1476 | +/***/ }), | |
| 1477 | + | |
| 1478 | +/***/ "../node_modules/core-js/library/modules/_ctx.js": | |
| 1479 | +/*!*******************************************************!*\ | |
| 1480 | + !*** ../node_modules/core-js/library/modules/_ctx.js ***! | |
| 1481 | + \*******************************************************/ | |
| 1482 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1483 | + | |
| 1484 | +// optional / simple context binding | |
| 1485 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 1486 | +module.exports = function (fn, that, length) { | |
| 1487 | + aFunction(fn); | |
| 1488 | + if (that === undefined) return fn; | |
| 1489 | + switch (length) { | |
| 1490 | + case 1: return function (a) { | |
| 1491 | + return fn.call(that, a); | |
| 1492 | + }; | |
| 1493 | + case 2: return function (a, b) { | |
| 1494 | + return fn.call(that, a, b); | |
| 1495 | + }; | |
| 1496 | + case 3: return function (a, b, c) { | |
| 1497 | + return fn.call(that, a, b, c); | |
| 1498 | + }; | |
| 1499 | + } | |
| 1500 | + return function (/* ...args */) { | |
| 1501 | + return fn.apply(that, arguments); | |
| 1502 | + }; | |
| 1503 | +}; | |
| 1504 | + | |
| 1505 | + | |
| 1506 | +/***/ }), | |
| 1507 | + | |
| 1508 | +/***/ "../node_modules/core-js/library/modules/_defined.js": | |
| 1509 | +/*!***********************************************************!*\ | |
| 1510 | + !*** ../node_modules/core-js/library/modules/_defined.js ***! | |
| 1511 | + \***********************************************************/ | |
| 1512 | +/***/ ((module) => { | |
| 1513 | + | |
| 1514 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 1515 | +module.exports = function (it) { | |
| 1516 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 1517 | + return it; | |
| 1518 | +}; | |
| 1519 | + | |
| 1520 | + | |
| 1521 | +/***/ }), | |
| 1522 | + | |
| 1523 | +/***/ "../node_modules/core-js/library/modules/_descriptors.js": | |
| 1524 | +/*!***************************************************************!*\ | |
| 1525 | + !*** ../node_modules/core-js/library/modules/_descriptors.js ***! | |
| 1526 | + \***************************************************************/ | |
| 1527 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1528 | + | |
| 1529 | +// Thank's IE8 for his funny defineProperty | |
| 1530 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 1531 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 1532 | +}); | |
| 1533 | + | |
| 1534 | + | |
| 1535 | +/***/ }), | |
| 1536 | + | |
| 1537 | +/***/ "../node_modules/core-js/library/modules/_dom-create.js": | |
| 1538 | +/*!**************************************************************!*\ | |
| 1539 | + !*** ../node_modules/core-js/library/modules/_dom-create.js ***! | |
| 1540 | + \**************************************************************/ | |
| 1541 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1542 | + | |
| 1543 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 1544 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 1545 | +// typeof document.createElement is 'object' in old IE | |
| 1546 | +var is = isObject(document) && isObject(document.createElement); | |
| 1547 | +module.exports = function (it) { | |
| 1548 | + return is ? document.createElement(it) : {}; | |
| 1549 | +}; | |
| 1550 | + | |
| 1551 | + | |
| 1552 | +/***/ }), | |
| 1553 | + | |
| 1554 | +/***/ "../node_modules/core-js/library/modules/_enum-bug-keys.js": | |
| 1555 | +/*!*****************************************************************!*\ | |
| 1556 | + !*** ../node_modules/core-js/library/modules/_enum-bug-keys.js ***! | |
| 1557 | + \*****************************************************************/ | |
| 1558 | +/***/ ((module) => { | |
| 1559 | + | |
| 1560 | +// IE 8- don't enum bug keys | |
| 1561 | +module.exports = ( | |
| 1562 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 1563 | +).split(','); | |
| 1564 | + | |
| 1565 | + | |
| 1566 | +/***/ }), | |
| 1567 | + | |
| 1568 | +/***/ "../node_modules/core-js/library/modules/_enum-keys.js": | |
| 1569 | +/*!*************************************************************!*\ | |
| 1570 | + !*** ../node_modules/core-js/library/modules/_enum-keys.js ***! | |
| 1571 | + \*************************************************************/ | |
| 1572 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1573 | + | |
| 1574 | +// all enumerable object keys, includes symbols | |
| 1575 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 1576 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 1577 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 1578 | +module.exports = function (it) { | |
| 1579 | + var result = getKeys(it); | |
| 1580 | + var getSymbols = gOPS.f; | |
| 1581 | + if (getSymbols) { | |
| 1582 | + var symbols = getSymbols(it); | |
| 1583 | + var isEnum = pIE.f; | |
| 1584 | + var i = 0; | |
| 1585 | + var key; | |
| 1586 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 1587 | + } return result; | |
| 1588 | +}; | |
| 1589 | + | |
| 1590 | + | |
| 1591 | +/***/ }), | |
| 1592 | + | |
| 1593 | +/***/ "../node_modules/core-js/library/modules/_export.js": | |
| 1594 | +/*!**********************************************************!*\ | |
| 1595 | + !*** ../node_modules/core-js/library/modules/_export.js ***! | |
| 1596 | + \**********************************************************/ | |
| 1597 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1598 | + | |
| 1599 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 1600 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 1601 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 1602 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 1603 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 1604 | +var PROTOTYPE = 'prototype'; | |
| 1605 | + | |
| 1606 | +var $export = function (type, name, source) { | |
| 1607 | + var IS_FORCED = type & $export.F; | |
| 1608 | + var IS_GLOBAL = type & $export.G; | |
| 1609 | + var IS_STATIC = type & $export.S; | |
| 1610 | + var IS_PROTO = type & $export.P; | |
| 1611 | + var IS_BIND = type & $export.B; | |
| 1612 | + var IS_WRAP = type & $export.W; | |
| 1613 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 1614 | + var expProto = exports[PROTOTYPE]; | |
| 1615 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 1616 | + var key, own, out; | |
| 1617 | + if (IS_GLOBAL) source = name; | |
| 1618 | + for (key in source) { | |
| 1619 | + // contains in native | |
| 1620 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 1621 | + if (own && has(exports, key)) continue; | |
| 1622 | + // export native or passed | |
| 1623 | + out = own ? target[key] : source[key]; | |
| 1624 | + // prevent global pollution for namespaces | |
| 1625 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 1626 | + // bind timers to global for call from export context | |
| 1627 | + : IS_BIND && own ? ctx(out, global) | |
| 1628 | + // wrap global constructors for prevent change them in library | |
| 1629 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 1630 | + var F = function (a, b, c) { | |
| 1631 | + if (this instanceof C) { | |
| 1632 | + switch (arguments.length) { | |
| 1633 | + case 0: return new C(); | |
| 1634 | + case 1: return new C(a); | |
| 1635 | + case 2: return new C(a, b); | |
| 1636 | + } return new C(a, b, c); | |
| 1637 | + } return C.apply(this, arguments); | |
| 1638 | + }; | |
| 1639 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 1640 | + return F; | |
| 1641 | + // make static versions for prototype methods | |
| 1642 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 1643 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 1644 | + if (IS_PROTO) { | |
| 1645 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 1646 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 1647 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 1648 | + } | |
| 1649 | + } | |
| 1650 | +}; | |
| 1651 | +// type bitmap | |
| 1652 | +$export.F = 1; // forced | |
| 1653 | +$export.G = 2; // global | |
| 1654 | +$export.S = 4; // static | |
| 1655 | +$export.P = 8; // proto | |
| 1656 | +$export.B = 16; // bind | |
| 1657 | +$export.W = 32; // wrap | |
| 1658 | +$export.U = 64; // safe | |
| 1659 | +$export.R = 128; // real proto method for `library` | |
| 1660 | +module.exports = $export; | |
| 1661 | + | |
| 1662 | + | |
| 1663 | +/***/ }), | |
| 1664 | + | |
| 1665 | +/***/ "../node_modules/core-js/library/modules/_fails.js": | |
| 1666 | +/*!*********************************************************!*\ | |
| 1667 | + !*** ../node_modules/core-js/library/modules/_fails.js ***! | |
| 1668 | + \*********************************************************/ | |
| 1669 | +/***/ ((module) => { | |
| 1670 | + | |
| 1671 | +module.exports = function (exec) { | |
| 1672 | + try { | |
| 1673 | + return !!exec(); | |
| 1674 | + } catch (e) { | |
| 1675 | + return true; | |
| 1676 | + } | |
| 1677 | +}; | |
| 1678 | + | |
| 1679 | + | |
| 1680 | +/***/ }), | |
| 1681 | + | |
| 1682 | +/***/ "../node_modules/core-js/library/modules/_global.js": | |
| 1683 | +/*!**********************************************************!*\ | |
| 1684 | + !*** ../node_modules/core-js/library/modules/_global.js ***! | |
| 1685 | + \**********************************************************/ | |
| 1686 | +/***/ ((module) => { | |
| 1687 | + | |
| 1688 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 1689 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 1690 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 1691 | + // eslint-disable-next-line no-new-func | |
| 1692 | + : Function('return this')(); | |
| 1693 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 1694 | + | |
| 1695 | + | |
| 1696 | +/***/ }), | |
| 1697 | + | |
| 1698 | +/***/ "../node_modules/core-js/library/modules/_has.js": | |
| 1699 | +/*!*******************************************************!*\ | |
| 1700 | + !*** ../node_modules/core-js/library/modules/_has.js ***! | |
| 1701 | + \*******************************************************/ | |
| 1702 | +/***/ ((module) => { | |
| 1703 | + | |
| 1704 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 1705 | +module.exports = function (it, key) { | |
| 1706 | + return hasOwnProperty.call(it, key); | |
| 1707 | +}; | |
| 1708 | + | |
| 1709 | + | |
| 1710 | +/***/ }), | |
| 1711 | + | |
| 1712 | +/***/ "../node_modules/core-js/library/modules/_hide.js": | |
| 1713 | +/*!********************************************************!*\ | |
| 1714 | + !*** ../node_modules/core-js/library/modules/_hide.js ***! | |
| 1715 | + \********************************************************/ | |
| 1716 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1717 | + | |
| 1718 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 1719 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 1720 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { | |
| 1721 | + return dP.f(object, key, createDesc(1, value)); | |
| 1722 | +} : function (object, key, value) { | |
| 1723 | + object[key] = value; | |
| 1724 | + return object; | |
| 1725 | +}; | |
| 1726 | + | |
| 1727 | + | |
| 1728 | +/***/ }), | |
| 1729 | + | |
| 1730 | +/***/ "../node_modules/core-js/library/modules/_html.js": | |
| 1731 | +/*!********************************************************!*\ | |
| 1732 | + !*** ../node_modules/core-js/library/modules/_html.js ***! | |
| 1733 | + \********************************************************/ | |
| 1734 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1735 | + | |
| 1736 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 1737 | +module.exports = document && document.documentElement; | |
| 1738 | + | |
| 1739 | + | |
| 1740 | +/***/ }), | |
| 1741 | + | |
| 1742 | +/***/ "../node_modules/core-js/library/modules/_ie8-dom-define.js": | |
| 1743 | +/*!******************************************************************!*\ | |
| 1744 | + !*** ../node_modules/core-js/library/modules/_ie8-dom-define.js ***! | |
| 1745 | + \******************************************************************/ | |
| 1746 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1747 | + | |
| 1748 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 1749 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 1750 | +}); | |
| 1751 | + | |
| 1752 | + | |
| 1753 | +/***/ }), | |
| 1754 | + | |
| 1755 | +/***/ "../node_modules/core-js/library/modules/_invoke.js": | |
| 1756 | +/*!**********************************************************!*\ | |
| 1757 | + !*** ../node_modules/core-js/library/modules/_invoke.js ***! | |
| 1758 | + \**********************************************************/ | |
| 1759 | +/***/ ((module) => { | |
| 1760 | + | |
| 1761 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 1762 | +module.exports = function (fn, args, that) { | |
| 1763 | + var un = that === undefined; | |
| 1764 | + switch (args.length) { | |
| 1765 | + case 0: return un ? fn() | |
| 1766 | + : fn.call(that); | |
| 1767 | + case 1: return un ? fn(args[0]) | |
| 1768 | + : fn.call(that, args[0]); | |
| 1769 | + case 2: return un ? fn(args[0], args[1]) | |
| 1770 | + : fn.call(that, args[0], args[1]); | |
| 1771 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 1772 | + : fn.call(that, args[0], args[1], args[2]); | |
| 1773 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 1774 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 1775 | + } return fn.apply(that, args); | |
| 1776 | +}; | |
| 1777 | + | |
| 1778 | + | |
| 1779 | +/***/ }), | |
| 1780 | + | |
| 1781 | +/***/ "../node_modules/core-js/library/modules/_iobject.js": | |
| 1782 | +/*!***********************************************************!*\ | |
| 1783 | + !*** ../node_modules/core-js/library/modules/_iobject.js ***! | |
| 1784 | + \***********************************************************/ | |
| 1785 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1786 | + | |
| 1787 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 1788 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 1789 | +// eslint-disable-next-line no-prototype-builtins | |
| 1790 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 1791 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 1792 | +}; | |
| 1793 | + | |
| 1794 | + | |
| 1795 | +/***/ }), | |
| 1796 | + | |
| 1797 | +/***/ "../node_modules/core-js/library/modules/_is-array-iter.js": | |
| 1798 | +/*!*****************************************************************!*\ | |
| 1799 | + !*** ../node_modules/core-js/library/modules/_is-array-iter.js ***! | |
| 1800 | + \*****************************************************************/ | |
| 1801 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1802 | + | |
| 1803 | +// check on default Array iterator | |
| 1804 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 1805 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 1806 | +var ArrayProto = Array.prototype; | |
| 1807 | + | |
| 1808 | +module.exports = function (it) { | |
| 1809 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 1810 | +}; | |
| 1811 | + | |
| 1812 | + | |
| 1813 | +/***/ }), | |
| 1814 | + | |
| 1815 | +/***/ "../node_modules/core-js/library/modules/_is-array.js": | |
| 1816 | +/*!************************************************************!*\ | |
| 1817 | + !*** ../node_modules/core-js/library/modules/_is-array.js ***! | |
| 1818 | + \************************************************************/ | |
| 1819 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1820 | + | |
| 1821 | +// 7.2.2 IsArray(argument) | |
| 1822 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 1823 | +module.exports = Array.isArray || function isArray(arg) { | |
| 1824 | + return cof(arg) == 'Array'; | |
| 1825 | +}; | |
| 1826 | + | |
| 1827 | + | |
| 1828 | +/***/ }), | |
| 1829 | + | |
| 1830 | +/***/ "../node_modules/core-js/library/modules/_is-object.js": | |
| 1831 | +/*!*************************************************************!*\ | |
| 1832 | + !*** ../node_modules/core-js/library/modules/_is-object.js ***! | |
| 1833 | + \*************************************************************/ | |
| 1834 | +/***/ ((module) => { | |
| 1835 | + | |
| 1836 | +module.exports = function (it) { | |
| 1837 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 1838 | +}; | |
| 1839 | + | |
| 1840 | + | |
| 1841 | +/***/ }), | |
| 1842 | + | |
| 1843 | +/***/ "../node_modules/core-js/library/modules/_iter-call.js": | |
| 1844 | +/*!*************************************************************!*\ | |
| 1845 | + !*** ../node_modules/core-js/library/modules/_iter-call.js ***! | |
| 1846 | + \*************************************************************/ | |
| 1847 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1848 | + | |
| 1849 | +// call something on iterator step with safe closing on error | |
| 1850 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 1851 | +module.exports = function (iterator, fn, value, entries) { | |
| 1852 | + try { | |
| 1853 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 1854 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 1855 | + } catch (e) { | |
| 1856 | + var ret = iterator['return']; | |
| 1857 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 1858 | + throw e; | |
| 1859 | + } | |
| 1860 | +}; | |
| 1861 | + | |
| 1862 | + | |
| 1863 | +/***/ }), | |
| 1864 | + | |
| 1865 | +/***/ "../node_modules/core-js/library/modules/_iter-create.js": | |
| 1866 | +/*!***************************************************************!*\ | |
| 1867 | + !*** ../node_modules/core-js/library/modules/_iter-create.js ***! | |
| 1868 | + \***************************************************************/ | |
| 1869 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1870 | + | |
| 1871 | +"use strict"; | |
| 1872 | + | |
| 1873 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 1874 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 1875 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 1876 | +var IteratorPrototype = {}; | |
| 1877 | + | |
| 1878 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 1879 | +__webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'), function () { return this; }); | |
| 1880 | + | |
| 1881 | +module.exports = function (Constructor, NAME, next) { | |
| 1882 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 1883 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 1884 | +}; | |
| 1885 | + | |
| 1886 | + | |
| 1887 | +/***/ }), | |
| 1888 | + | |
| 1889 | +/***/ "../node_modules/core-js/library/modules/_iter-define.js": | |
| 1890 | +/*!***************************************************************!*\ | |
| 1891 | + !*** ../node_modules/core-js/library/modules/_iter-define.js ***! | |
| 1892 | + \***************************************************************/ | |
| 1893 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1894 | + | |
| 1895 | +"use strict"; | |
| 1896 | + | |
| 1897 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 1898 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 1899 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 1900 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 1901 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 1902 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/library/modules/_iter-create.js"); | |
| 1903 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 1904 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 1905 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 1906 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 1907 | +var FF_ITERATOR = '@@iterator'; | |
| 1908 | +var KEYS = 'keys'; | |
| 1909 | +var VALUES = 'values'; | |
| 1910 | + | |
| 1911 | +var returnThis = function () { return this; }; | |
| 1912 | + | |
| 1913 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 1914 | + $iterCreate(Constructor, NAME, next); | |
| 1915 | + var getMethod = function (kind) { | |
| 1916 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 1917 | + switch (kind) { | |
| 1918 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 1919 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 1920 | + } return function entries() { return new Constructor(this, kind); }; | |
| 1921 | + }; | |
| 1922 | + var TAG = NAME + ' Iterator'; | |
| 1923 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 1924 | + var VALUES_BUG = false; | |
| 1925 | + var proto = Base.prototype; | |
| 1926 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 1927 | + var $default = $native || getMethod(DEFAULT); | |
| 1928 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 1929 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 1930 | + var methods, key, IteratorPrototype; | |
| 1931 | + // Fix native | |
| 1932 | + if ($anyNative) { | |
| 1933 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 1934 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 1935 | + // Set @@toStringTag to native iterators | |
| 1936 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 1937 | + // fix for some old engines | |
| 1938 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 1939 | + } | |
| 1940 | + } | |
| 1941 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 1942 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 1943 | + VALUES_BUG = true; | |
| 1944 | + $default = function values() { return $native.call(this); }; | |
| 1945 | + } | |
| 1946 | + // Define iterator | |
| 1947 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 1948 | + hide(proto, ITERATOR, $default); | |
| 1949 | + } | |
| 1950 | + // Plug for library | |
| 1951 | + Iterators[NAME] = $default; | |
| 1952 | + Iterators[TAG] = returnThis; | |
| 1953 | + if (DEFAULT) { | |
| 1954 | + methods = { | |
| 1955 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 1956 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 1957 | + entries: $entries | |
| 1958 | + }; | |
| 1959 | + if (FORCED) for (key in methods) { | |
| 1960 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 1961 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 1962 | + } | |
| 1963 | + return methods; | |
| 1964 | +}; | |
| 1965 | + | |
| 1966 | + | |
| 1967 | +/***/ }), | |
| 1968 | + | |
| 1969 | +/***/ "../node_modules/core-js/library/modules/_iter-detect.js": | |
| 1970 | +/*!***************************************************************!*\ | |
| 1971 | + !*** ../node_modules/core-js/library/modules/_iter-detect.js ***! | |
| 1972 | + \***************************************************************/ | |
| 1973 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1974 | + | |
| 1975 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 1976 | +var SAFE_CLOSING = false; | |
| 1977 | + | |
| 1978 | +try { | |
| 1979 | + var riter = [7][ITERATOR](); | |
| 1980 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 1981 | + // eslint-disable-next-line no-throw-literal | |
| 1982 | + Array.from(riter, function () { throw 2; }); | |
| 1983 | +} catch (e) { /* empty */ } | |
| 1984 | + | |
| 1985 | +module.exports = function (exec, skipClosing) { | |
| 1986 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 1987 | + var safe = false; | |
| 1988 | + try { | |
| 1989 | + var arr = [7]; | |
| 1990 | + var iter = arr[ITERATOR](); | |
| 1991 | + iter.next = function () { return { done: safe = true }; }; | |
| 1992 | + arr[ITERATOR] = function () { return iter; }; | |
| 1993 | + exec(arr); | |
| 1994 | + } catch (e) { /* empty */ } | |
| 1995 | + return safe; | |
| 1996 | +}; | |
| 1997 | + | |
| 1998 | + | |
| 1999 | +/***/ }), | |
| 2000 | + | |
| 2001 | +/***/ "../node_modules/core-js/library/modules/_iter-step.js": | |
| 2002 | +/*!*************************************************************!*\ | |
| 2003 | + !*** ../node_modules/core-js/library/modules/_iter-step.js ***! | |
| 2004 | + \*************************************************************/ | |
| 2005 | +/***/ ((module) => { | |
| 2006 | + | |
| 2007 | +module.exports = function (done, value) { | |
| 2008 | + return { value: value, done: !!done }; | |
| 2009 | +}; | |
| 2010 | + | |
| 2011 | + | |
| 2012 | +/***/ }), | |
| 2013 | + | |
| 2014 | +/***/ "../node_modules/core-js/library/modules/_iterators.js": | |
| 2015 | +/*!*************************************************************!*\ | |
| 2016 | + !*** ../node_modules/core-js/library/modules/_iterators.js ***! | |
| 2017 | + \*************************************************************/ | |
| 2018 | +/***/ ((module) => { | |
| 2019 | + | |
| 2020 | +module.exports = {}; | |
| 2021 | + | |
| 2022 | + | |
| 2023 | +/***/ }), | |
| 2024 | + | |
| 2025 | +/***/ "../node_modules/core-js/library/modules/_library.js": | |
| 2026 | +/*!***********************************************************!*\ | |
| 2027 | + !*** ../node_modules/core-js/library/modules/_library.js ***! | |
| 2028 | + \***********************************************************/ | |
| 2029 | +/***/ ((module) => { | |
| 2030 | + | |
| 2031 | +module.exports = true; | |
| 2032 | + | |
| 2033 | + | |
| 2034 | +/***/ }), | |
| 2035 | + | |
| 2036 | +/***/ "../node_modules/core-js/library/modules/_meta.js": | |
| 2037 | +/*!********************************************************!*\ | |
| 2038 | + !*** ../node_modules/core-js/library/modules/_meta.js ***! | |
| 2039 | + \********************************************************/ | |
| 2040 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2041 | + | |
| 2042 | +var META = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js")('meta'); | |
| 2043 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 2044 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 2045 | +var setDesc = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 2046 | +var id = 0; | |
| 2047 | +var isExtensible = Object.isExtensible || function () { | |
| 2048 | + return true; | |
| 2049 | +}; | |
| 2050 | +var FREEZE = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 2051 | + return isExtensible(Object.preventExtensions({})); | |
| 2052 | +}); | |
| 2053 | +var setMeta = function (it) { | |
| 2054 | + setDesc(it, META, { value: { | |
| 2055 | + i: 'O' + ++id, // object ID | |
| 2056 | + w: {} // weak collections IDs | |
| 2057 | + } }); | |
| 2058 | +}; | |
| 2059 | +var fastKey = function (it, create) { | |
| 2060 | + // return primitive with prefix | |
| 2061 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 2062 | + if (!has(it, META)) { | |
| 2063 | + // can't set metadata to uncaught frozen object | |
| 2064 | + if (!isExtensible(it)) return 'F'; | |
| 2065 | + // not necessary to add metadata | |
| 2066 | + if (!create) return 'E'; | |
| 2067 | + // add missing metadata | |
| 2068 | + setMeta(it); | |
| 2069 | + // return object ID | |
| 2070 | + } return it[META].i; | |
| 2071 | +}; | |
| 2072 | +var getWeak = function (it, create) { | |
| 2073 | + if (!has(it, META)) { | |
| 2074 | + // can't set metadata to uncaught frozen object | |
| 2075 | + if (!isExtensible(it)) return true; | |
| 2076 | + // not necessary to add metadata | |
| 2077 | + if (!create) return false; | |
| 2078 | + // add missing metadata | |
| 2079 | + setMeta(it); | |
| 2080 | + // return hash weak collections IDs | |
| 2081 | + } return it[META].w; | |
| 2082 | +}; | |
| 2083 | +// add metadata on freeze-family methods calling | |
| 2084 | +var onFreeze = function (it) { | |
| 2085 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 2086 | + return it; | |
| 2087 | +}; | |
| 2088 | +var meta = module.exports = { | |
| 2089 | + KEY: META, | |
| 2090 | + NEED: false, | |
| 2091 | + fastKey: fastKey, | |
| 2092 | + getWeak: getWeak, | |
| 2093 | + onFreeze: onFreeze | |
| 2094 | +}; | |
| 2095 | + | |
| 2096 | + | |
| 2097 | +/***/ }), | |
| 2098 | + | |
| 2099 | +/***/ "../node_modules/core-js/library/modules/_object-create.js": | |
| 2100 | +/*!*****************************************************************!*\ | |
| 2101 | + !*** ../node_modules/core-js/library/modules/_object-create.js ***! | |
| 2102 | + \*****************************************************************/ | |
| 2103 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2104 | + | |
| 2105 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 2106 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 2107 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/library/modules/_object-dps.js"); | |
| 2108 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 2109 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 2110 | +var Empty = function () { /* empty */ }; | |
| 2111 | +var PROTOTYPE = 'prototype'; | |
| 2112 | + | |
| 2113 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 2114 | +var createDict = function () { | |
| 2115 | + // Thrash, waste and sodomy: IE GC bug | |
| 2116 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('iframe'); | |
| 2117 | + var i = enumBugKeys.length; | |
| 2118 | + var lt = '<'; | |
| 2119 | + var gt = '>'; | |
| 2120 | + var iframeDocument; | |
| 2121 | + iframe.style.display = 'none'; | |
| 2122 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js").appendChild(iframe); | |
| 2123 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 2124 | + // createDict = iframe.contentWindow.Object; | |
| 2125 | + // html.removeChild(iframe); | |
| 2126 | + iframeDocument = iframe.contentWindow.document; | |
| 2127 | + iframeDocument.open(); | |
| 2128 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 2129 | + iframeDocument.close(); | |
| 2130 | + createDict = iframeDocument.F; | |
| 2131 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 2132 | + return createDict(); | |
| 2133 | +}; | |
| 2134 | + | |
| 2135 | +module.exports = Object.create || function create(O, Properties) { | |
| 2136 | + var result; | |
| 2137 | + if (O !== null) { | |
| 2138 | + Empty[PROTOTYPE] = anObject(O); | |
| 2139 | + result = new Empty(); | |
| 2140 | + Empty[PROTOTYPE] = null; | |
| 2141 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 2142 | + result[IE_PROTO] = O; | |
| 2143 | + } else result = createDict(); | |
| 2144 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 2145 | +}; | |
| 2146 | + | |
| 2147 | + | |
| 2148 | +/***/ }), | |
| 2149 | + | |
| 2150 | +/***/ "../node_modules/core-js/library/modules/_object-dp.js": | |
| 2151 | +/*!*************************************************************!*\ | |
| 2152 | + !*** ../node_modules/core-js/library/modules/_object-dp.js ***! | |
| 2153 | + \*************************************************************/ | |
| 2154 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2155 | + | |
| 2156 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 2157 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 2158 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 2159 | +var dP = Object.defineProperty; | |
| 2160 | + | |
| 2161 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 2162 | + anObject(O); | |
| 2163 | + P = toPrimitive(P, true); | |
| 2164 | + anObject(Attributes); | |
| 2165 | + if (IE8_DOM_DEFINE) try { | |
| 2166 | + return dP(O, P, Attributes); | |
| 2167 | + } catch (e) { /* empty */ } | |
| 2168 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 2169 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 2170 | + return O; | |
| 2171 | +}; | |
| 2172 | + | |
| 2173 | + | |
| 2174 | +/***/ }), | |
| 2175 | + | |
| 2176 | +/***/ "../node_modules/core-js/library/modules/_object-dps.js": | |
| 2177 | +/*!**************************************************************!*\ | |
| 2178 | + !*** ../node_modules/core-js/library/modules/_object-dps.js ***! | |
| 2179 | + \**************************************************************/ | |
| 2180 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2181 | + | |
| 2182 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 2183 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 2184 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 2185 | + | |
| 2186 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 2187 | + anObject(O); | |
| 2188 | + var keys = getKeys(Properties); | |
| 2189 | + var length = keys.length; | |
| 2190 | + var i = 0; | |
| 2191 | + var P; | |
| 2192 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 2193 | + return O; | |
| 2194 | +}; | |
| 2195 | + | |
| 2196 | + | |
| 2197 | +/***/ }), | |
| 2198 | + | |
| 2199 | +/***/ "../node_modules/core-js/library/modules/_object-gopd.js": | |
| 2200 | +/*!***************************************************************!*\ | |
| 2201 | + !*** ../node_modules/core-js/library/modules/_object-gopd.js ***! | |
| 2202 | + \***************************************************************/ | |
| 2203 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2204 | + | |
| 2205 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 2206 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 2207 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2208 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 2209 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 2210 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 2211 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 2212 | + | |
| 2213 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 2214 | + O = toIObject(O); | |
| 2215 | + P = toPrimitive(P, true); | |
| 2216 | + if (IE8_DOM_DEFINE) try { | |
| 2217 | + return gOPD(O, P); | |
| 2218 | + } catch (e) { /* empty */ } | |
| 2219 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 2220 | +}; | |
| 2221 | + | |
| 2222 | + | |
| 2223 | +/***/ }), | |
| 2224 | + | |
| 2225 | +/***/ "../node_modules/core-js/library/modules/_object-gopn-ext.js": | |
| 2226 | +/*!*******************************************************************!*\ | |
| 2227 | + !*** ../node_modules/core-js/library/modules/_object-gopn-ext.js ***! | |
| 2228 | + \*******************************************************************/ | |
| 2229 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2230 | + | |
| 2231 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 2232 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2233 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f; | |
| 2234 | +var toString = {}.toString; | |
| 2235 | + | |
| 2236 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 2237 | + ? Object.getOwnPropertyNames(window) : []; | |
| 2238 | + | |
| 2239 | +var getWindowNames = function (it) { | |
| 2240 | + try { | |
| 2241 | + return gOPN(it); | |
| 2242 | + } catch (e) { | |
| 2243 | + return windowNames.slice(); | |
| 2244 | + } | |
| 2245 | +}; | |
| 2246 | + | |
| 2247 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 2248 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 2249 | +}; | |
| 2250 | + | |
| 2251 | + | |
| 2252 | +/***/ }), | |
| 2253 | + | |
| 2254 | +/***/ "../node_modules/core-js/library/modules/_object-gopn.js": | |
| 2255 | +/*!***************************************************************!*\ | |
| 2256 | + !*** ../node_modules/core-js/library/modules/_object-gopn.js ***! | |
| 2257 | + \***************************************************************/ | |
| 2258 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2259 | + | |
| 2260 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 2261 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 2262 | +var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js").concat('length', 'prototype'); | |
| 2263 | + | |
| 2264 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 2265 | + return $keys(O, hiddenKeys); | |
| 2266 | +}; | |
| 2267 | + | |
| 2268 | + | |
| 2269 | +/***/ }), | |
| 2270 | + | |
| 2271 | +/***/ "../node_modules/core-js/library/modules/_object-gops.js": | |
| 2272 | +/*!***************************************************************!*\ | |
| 2273 | + !*** ../node_modules/core-js/library/modules/_object-gops.js ***! | |
| 2274 | + \***************************************************************/ | |
| 2275 | +/***/ ((__unused_webpack_module, exports) => { | |
| 2276 | + | |
| 2277 | +exports.f = Object.getOwnPropertySymbols; | |
| 2278 | + | |
| 2279 | + | |
| 2280 | +/***/ }), | |
| 2281 | + | |
| 2282 | +/***/ "../node_modules/core-js/library/modules/_object-gpo.js": | |
| 2283 | +/*!**************************************************************!*\ | |
| 2284 | + !*** ../node_modules/core-js/library/modules/_object-gpo.js ***! | |
| 2285 | + \**************************************************************/ | |
| 2286 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2287 | + | |
| 2288 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 2289 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 2290 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 2291 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 2292 | +var ObjectProto = Object.prototype; | |
| 2293 | + | |
| 2294 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 2295 | + O = toObject(O); | |
| 2296 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 2297 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 2298 | + return O.constructor.prototype; | |
| 2299 | + } return O instanceof Object ? ObjectProto : null; | |
| 2300 | +}; | |
| 2301 | + | |
| 2302 | + | |
| 2303 | +/***/ }), | |
| 2304 | + | |
| 2305 | +/***/ "../node_modules/core-js/library/modules/_object-keys-internal.js": | |
| 2306 | +/*!************************************************************************!*\ | |
| 2307 | + !*** ../node_modules/core-js/library/modules/_object-keys-internal.js ***! | |
| 2308 | + \************************************************************************/ | |
| 2309 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2310 | + | |
| 2311 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 2312 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2313 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/library/modules/_array-includes.js")(false); | |
| 2314 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 2315 | + | |
| 2316 | +module.exports = function (object, names) { | |
| 2317 | + var O = toIObject(object); | |
| 2318 | + var i = 0; | |
| 2319 | + var result = []; | |
| 2320 | + var key; | |
| 2321 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 2322 | + // Don't enum bug & hidden keys | |
| 2323 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 2324 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 2325 | + } | |
| 2326 | + return result; | |
| 2327 | +}; | |
| 2328 | + | |
| 2329 | + | |
| 2330 | +/***/ }), | |
| 2331 | + | |
| 2332 | +/***/ "../node_modules/core-js/library/modules/_object-keys.js": | |
| 2333 | +/*!***************************************************************!*\ | |
| 2334 | + !*** ../node_modules/core-js/library/modules/_object-keys.js ***! | |
| 2335 | + \***************************************************************/ | |
| 2336 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2337 | + | |
| 2338 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 2339 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 2340 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 2341 | + | |
| 2342 | +module.exports = Object.keys || function keys(O) { | |
| 2343 | + return $keys(O, enumBugKeys); | |
| 2344 | +}; | |
| 2345 | + | |
| 2346 | + | |
| 2347 | +/***/ }), | |
| 2348 | + | |
| 2349 | +/***/ "../node_modules/core-js/library/modules/_object-pie.js": | |
| 2350 | +/*!**************************************************************!*\ | |
| 2351 | + !*** ../node_modules/core-js/library/modules/_object-pie.js ***! | |
| 2352 | + \**************************************************************/ | |
| 2353 | +/***/ ((__unused_webpack_module, exports) => { | |
| 2354 | + | |
| 2355 | +exports.f = {}.propertyIsEnumerable; | |
| 2356 | + | |
| 2357 | + | |
| 2358 | +/***/ }), | |
| 2359 | + | |
| 2360 | +/***/ "../node_modules/core-js/library/modules/_object-sap.js": | |
| 2361 | +/*!**************************************************************!*\ | |
| 2362 | + !*** ../node_modules/core-js/library/modules/_object-sap.js ***! | |
| 2363 | + \**************************************************************/ | |
| 2364 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2365 | + | |
| 2366 | +// most Object methods by ES6 should accept primitives | |
| 2367 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2368 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 2369 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 2370 | +module.exports = function (KEY, exec) { | |
| 2371 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 2372 | + var exp = {}; | |
| 2373 | + exp[KEY] = exec(fn); | |
| 2374 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 2375 | +}; | |
| 2376 | + | |
| 2377 | + | |
| 2378 | +/***/ }), | |
| 2379 | + | |
| 2380 | +/***/ "../node_modules/core-js/library/modules/_object-to-array.js": | |
| 2381 | +/*!*******************************************************************!*\ | |
| 2382 | + !*** ../node_modules/core-js/library/modules/_object-to-array.js ***! | |
| 2383 | + \*******************************************************************/ | |
| 2384 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2385 | + | |
| 2386 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 2387 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 2388 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2389 | +var isEnum = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f; | |
| 2390 | +module.exports = function (isEntries) { | |
| 2391 | + return function (it) { | |
| 2392 | + var O = toIObject(it); | |
| 2393 | + var keys = getKeys(O); | |
| 2394 | + var length = keys.length; | |
| 2395 | + var i = 0; | |
| 2396 | + var result = []; | |
| 2397 | + var key; | |
| 2398 | + while (length > i) { | |
| 2399 | + key = keys[i++]; | |
| 2400 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 2401 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 2402 | + } | |
| 2403 | + } | |
| 2404 | + return result; | |
| 2405 | + }; | |
| 2406 | +}; | |
| 2407 | + | |
| 2408 | + | |
| 2409 | +/***/ }), | |
| 2410 | + | |
| 2411 | +/***/ "../node_modules/core-js/library/modules/_property-desc.js": | |
| 2412 | +/*!*****************************************************************!*\ | |
| 2413 | + !*** ../node_modules/core-js/library/modules/_property-desc.js ***! | |
| 2414 | + \*****************************************************************/ | |
| 2415 | +/***/ ((module) => { | |
| 2416 | + | |
| 2417 | +module.exports = function (bitmap, value) { | |
| 2418 | + return { | |
| 2419 | + enumerable: !(bitmap & 1), | |
| 2420 | + configurable: !(bitmap & 2), | |
| 2421 | + writable: !(bitmap & 4), | |
| 2422 | + value: value | |
| 2423 | + }; | |
| 2424 | +}; | |
| 2425 | + | |
| 2426 | + | |
| 2427 | +/***/ }), | |
| 2428 | + | |
| 2429 | +/***/ "../node_modules/core-js/library/modules/_redefine.js": | |
| 2430 | +/*!************************************************************!*\ | |
| 2431 | + !*** ../node_modules/core-js/library/modules/_redefine.js ***! | |
| 2432 | + \************************************************************/ | |
| 2433 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2434 | + | |
| 2435 | +module.exports = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 2436 | + | |
| 2437 | + | |
| 2438 | +/***/ }), | |
| 2439 | + | |
| 2440 | +/***/ "../node_modules/core-js/library/modules/_set-proto.js": | |
| 2441 | +/*!*************************************************************!*\ | |
| 2442 | + !*** ../node_modules/core-js/library/modules/_set-proto.js ***! | |
| 2443 | + \*************************************************************/ | |
| 2444 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2445 | + | |
| 2446 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 2447 | +/* eslint-disable no-proto */ | |
| 2448 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 2449 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 2450 | +var check = function (O, proto) { | |
| 2451 | + anObject(O); | |
| 2452 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 2453 | +}; | |
| 2454 | +module.exports = { | |
| 2455 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 2456 | + function (test, buggy, set) { | |
| 2457 | + try { | |
| 2458 | + set = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); | |
| 2459 | + set(test, []); | |
| 2460 | + buggy = !(test instanceof Array); | |
| 2461 | + } catch (e) { buggy = true; } | |
| 2462 | + return function setPrototypeOf(O, proto) { | |
| 2463 | + check(O, proto); | |
| 2464 | + if (buggy) O.__proto__ = proto; | |
| 2465 | + else set(O, proto); | |
| 2466 | + return O; | |
| 2467 | + }; | |
| 2468 | + }({}, false) : undefined), | |
| 2469 | + check: check | |
| 2470 | +}; | |
| 2471 | + | |
| 2472 | + | |
| 2473 | +/***/ }), | |
| 2474 | + | |
| 2475 | +/***/ "../node_modules/core-js/library/modules/_set-to-string-tag.js": | |
| 2476 | +/*!*********************************************************************!*\ | |
| 2477 | + !*** ../node_modules/core-js/library/modules/_set-to-string-tag.js ***! | |
| 2478 | + \*********************************************************************/ | |
| 2479 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2480 | + | |
| 2481 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 2482 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 2483 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 2484 | + | |
| 2485 | +module.exports = function (it, tag, stat) { | |
| 2486 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 2487 | +}; | |
| 2488 | + | |
| 2489 | + | |
| 2490 | +/***/ }), | |
| 2491 | + | |
| 2492 | +/***/ "../node_modules/core-js/library/modules/_shared-key.js": | |
| 2493 | +/*!**************************************************************!*\ | |
| 2494 | + !*** ../node_modules/core-js/library/modules/_shared-key.js ***! | |
| 2495 | + \**************************************************************/ | |
| 2496 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2497 | + | |
| 2498 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('keys'); | |
| 2499 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 2500 | +module.exports = function (key) { | |
| 2501 | + return shared[key] || (shared[key] = uid(key)); | |
| 2502 | +}; | |
| 2503 | + | |
| 2504 | + | |
| 2505 | +/***/ }), | |
| 2506 | + | |
| 2507 | +/***/ "../node_modules/core-js/library/modules/_shared.js": | |
| 2508 | +/*!**********************************************************!*\ | |
| 2509 | + !*** ../node_modules/core-js/library/modules/_shared.js ***! | |
| 2510 | + \**********************************************************/ | |
| 2511 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2512 | + | |
| 2513 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 2514 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 2515 | +var SHARED = '__core-js_shared__'; | |
| 2516 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 2517 | + | |
| 2518 | +(module.exports = function (key, value) { | |
| 2519 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 2520 | +})('versions', []).push({ | |
| 2521 | + version: core.version, | |
| 2522 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js") ? 'pure' : 'global', | |
| 2523 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 2524 | +}); | |
| 2525 | + | |
| 2526 | + | |
| 2527 | +/***/ }), | |
| 2528 | + | |
| 2529 | +/***/ "../node_modules/core-js/library/modules/_string-at.js": | |
| 2530 | +/*!*************************************************************!*\ | |
| 2531 | + !*** ../node_modules/core-js/library/modules/_string-at.js ***! | |
| 2532 | + \*************************************************************/ | |
| 2533 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2534 | + | |
| 2535 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 2536 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 2537 | +// true -> String#at | |
| 2538 | +// false -> String#codePointAt | |
| 2539 | +module.exports = function (TO_STRING) { | |
| 2540 | + return function (that, pos) { | |
| 2541 | + var s = String(defined(that)); | |
| 2542 | + var i = toInteger(pos); | |
| 2543 | + var l = s.length; | |
| 2544 | + var a, b; | |
| 2545 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 2546 | + a = s.charCodeAt(i); | |
| 2547 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 2548 | + ? TO_STRING ? s.charAt(i) : a | |
| 2549 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 2550 | + }; | |
| 2551 | +}; | |
| 2552 | + | |
| 2553 | + | |
| 2554 | +/***/ }), | |
| 2555 | + | |
| 2556 | +/***/ "../node_modules/core-js/library/modules/_to-absolute-index.js": | |
| 2557 | +/*!*********************************************************************!*\ | |
| 2558 | + !*** ../node_modules/core-js/library/modules/_to-absolute-index.js ***! | |
| 2559 | + \*********************************************************************/ | |
| 2560 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2561 | + | |
| 2562 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 2563 | +var max = Math.max; | |
| 2564 | +var min = Math.min; | |
| 2565 | +module.exports = function (index, length) { | |
| 2566 | + index = toInteger(index); | |
| 2567 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 2568 | +}; | |
| 2569 | + | |
| 2570 | + | |
| 2571 | +/***/ }), | |
| 2572 | + | |
| 2573 | +/***/ "../node_modules/core-js/library/modules/_to-integer.js": | |
| 2574 | +/*!**************************************************************!*\ | |
| 2575 | + !*** ../node_modules/core-js/library/modules/_to-integer.js ***! | |
| 2576 | + \**************************************************************/ | |
| 2577 | +/***/ ((module) => { | |
| 2578 | + | |
| 2579 | +// 7.1.4 ToInteger | |
| 2580 | +var ceil = Math.ceil; | |
| 2581 | +var floor = Math.floor; | |
| 2582 | +module.exports = function (it) { | |
| 2583 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 2584 | +}; | |
| 2585 | + | |
| 2586 | + | |
| 2587 | +/***/ }), | |
| 2588 | + | |
| 2589 | +/***/ "../node_modules/core-js/library/modules/_to-iobject.js": | |
| 2590 | +/*!**************************************************************!*\ | |
| 2591 | + !*** ../node_modules/core-js/library/modules/_to-iobject.js ***! | |
| 2592 | + \**************************************************************/ | |
| 2593 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2594 | + | |
| 2595 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 2596 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 2597 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 2598 | +module.exports = function (it) { | |
| 2599 | + return IObject(defined(it)); | |
| 2600 | +}; | |
| 2601 | + | |
| 2602 | + | |
| 2603 | +/***/ }), | |
| 2604 | + | |
| 2605 | +/***/ "../node_modules/core-js/library/modules/_to-length.js": | |
| 2606 | +/*!*************************************************************!*\ | |
| 2607 | + !*** ../node_modules/core-js/library/modules/_to-length.js ***! | |
| 2608 | + \*************************************************************/ | |
| 2609 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2610 | + | |
| 2611 | +// 7.1.15 ToLength | |
| 2612 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 2613 | +var min = Math.min; | |
| 2614 | +module.exports = function (it) { | |
| 2615 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 2616 | +}; | |
| 2617 | + | |
| 2618 | + | |
| 2619 | +/***/ }), | |
| 2620 | + | |
| 2621 | +/***/ "../node_modules/core-js/library/modules/_to-object.js": | |
| 2622 | +/*!*************************************************************!*\ | |
| 2623 | + !*** ../node_modules/core-js/library/modules/_to-object.js ***! | |
| 2624 | + \*************************************************************/ | |
| 2625 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2626 | + | |
| 2627 | +// 7.1.13 ToObject(argument) | |
| 2628 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 2629 | +module.exports = function (it) { | |
| 2630 | + return Object(defined(it)); | |
| 2631 | +}; | |
| 2632 | + | |
| 2633 | + | |
| 2634 | +/***/ }), | |
| 2635 | + | |
| 2636 | +/***/ "../node_modules/core-js/library/modules/_to-primitive.js": | |
| 2637 | +/*!****************************************************************!*\ | |
| 2638 | + !*** ../node_modules/core-js/library/modules/_to-primitive.js ***! | |
| 2639 | + \****************************************************************/ | |
| 2640 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2641 | + | |
| 2642 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 2643 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 2644 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 2645 | +// and the second argument - flag - preferred type is a string | |
| 2646 | +module.exports = function (it, S) { | |
| 2647 | + if (!isObject(it)) return it; | |
| 2648 | + var fn, val; | |
| 2649 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2650 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2651 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 2652 | + throw TypeError("Can't convert object to primitive value"); | |
| 2653 | +}; | |
| 2654 | + | |
| 2655 | + | |
| 2656 | +/***/ }), | |
| 2657 | + | |
| 2658 | +/***/ "../node_modules/core-js/library/modules/_uid.js": | |
| 2659 | +/*!*******************************************************!*\ | |
| 2660 | + !*** ../node_modules/core-js/library/modules/_uid.js ***! | |
| 2661 | + \*******************************************************/ | |
| 2662 | +/***/ ((module) => { | |
| 2663 | + | |
| 2664 | +var id = 0; | |
| 2665 | +var px = Math.random(); | |
| 2666 | +module.exports = function (key) { | |
| 2667 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 2668 | +}; | |
| 2669 | + | |
| 2670 | + | |
| 2671 | +/***/ }), | |
| 2672 | + | |
| 2673 | +/***/ "../node_modules/core-js/library/modules/_wks-define.js": | |
| 2674 | +/*!**************************************************************!*\ | |
| 2675 | + !*** ../node_modules/core-js/library/modules/_wks-define.js ***! | |
| 2676 | + \**************************************************************/ | |
| 2677 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2678 | + | |
| 2679 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 2680 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 2681 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 2682 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 2683 | +var defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 2684 | +module.exports = function (name) { | |
| 2685 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 2686 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 2687 | +}; | |
| 2688 | + | |
| 2689 | + | |
| 2690 | +/***/ }), | |
| 2691 | + | |
| 2692 | +/***/ "../node_modules/core-js/library/modules/_wks-ext.js": | |
| 2693 | +/*!***********************************************************!*\ | |
| 2694 | + !*** ../node_modules/core-js/library/modules/_wks-ext.js ***! | |
| 2695 | + \***********************************************************/ | |
| 2696 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2697 | + | |
| 2698 | +exports.f = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 2699 | + | |
| 2700 | + | |
| 2701 | +/***/ }), | |
| 2702 | + | |
| 2703 | +/***/ "../node_modules/core-js/library/modules/_wks.js": | |
| 2704 | +/*!*******************************************************!*\ | |
| 2705 | + !*** ../node_modules/core-js/library/modules/_wks.js ***! | |
| 2706 | + \*******************************************************/ | |
| 2707 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2708 | + | |
| 2709 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('wks'); | |
| 2710 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 2711 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Symbol; | |
| 2712 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 2713 | + | |
| 2714 | +var $exports = module.exports = function (name) { | |
| 2715 | + return store[name] || (store[name] = | |
| 2716 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 2717 | +}; | |
| 2718 | + | |
| 2719 | +$exports.store = store; | |
| 2720 | + | |
| 2721 | + | |
| 2722 | +/***/ }), | |
| 2723 | + | |
| 2724 | +/***/ "../node_modules/core-js/library/modules/core.get-iterator-method.js": | |
| 2725 | +/*!***************************************************************************!*\ | |
| 2726 | + !*** ../node_modules/core-js/library/modules/core.get-iterator-method.js ***! | |
| 2727 | + \***************************************************************************/ | |
| 2728 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2729 | + | |
| 2730 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 2731 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 2732 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 2733 | +module.exports = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js").getIteratorMethod = function (it) { | |
| 2734 | + if (it != undefined) return it[ITERATOR] | |
| 2735 | + || it['@@iterator'] | |
| 2736 | + || Iterators[classof(it)]; | |
| 2737 | +}; | |
| 2738 | + | |
| 2739 | + | |
| 2740 | +/***/ }), | |
| 2741 | + | |
| 2742 | +/***/ "../node_modules/core-js/library/modules/es6.array.from.js": | |
| 2743 | +/*!*****************************************************************!*\ | |
| 2744 | + !*** ../node_modules/core-js/library/modules/es6.array.from.js ***! | |
| 2745 | + \*****************************************************************/ | |
| 2746 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2747 | + | |
| 2748 | +"use strict"; | |
| 2749 | + | |
| 2750 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 2751 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2752 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 2753 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 2754 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 2755 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 2756 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 2757 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 2758 | + | |
| 2759 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { | |
| 2760 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 2761 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 2762 | + var O = toObject(arrayLike); | |
| 2763 | + var C = typeof this == 'function' ? this : Array; | |
| 2764 | + var aLen = arguments.length; | |
| 2765 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 2766 | + var mapping = mapfn !== undefined; | |
| 2767 | + var index = 0; | |
| 2768 | + var iterFn = getIterFn(O); | |
| 2769 | + var length, result, step, iterator; | |
| 2770 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 2771 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 2772 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 2773 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 2774 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 2775 | + } | |
| 2776 | + } else { | |
| 2777 | + length = toLength(O.length); | |
| 2778 | + for (result = new C(length); length > index; index++) { | |
| 2779 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 2780 | + } | |
| 2781 | + } | |
| 2782 | + result.length = index; | |
| 2783 | + return result; | |
| 2784 | + } | |
| 2785 | +}); | |
| 2786 | + | |
| 2787 | + | |
| 2788 | +/***/ }), | |
| 2789 | + | |
| 2790 | +/***/ "../node_modules/core-js/library/modules/es6.array.is-array.js": | |
| 2791 | +/*!*********************************************************************!*\ | |
| 2792 | + !*** ../node_modules/core-js/library/modules/es6.array.is-array.js ***! | |
| 2793 | + \*********************************************************************/ | |
| 2794 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2795 | + | |
| 2796 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 2797 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2798 | + | |
| 2799 | +$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js") }); | |
| 2800 | + | |
| 2801 | + | |
| 2802 | +/***/ }), | |
| 2803 | + | |
| 2804 | +/***/ "../node_modules/core-js/library/modules/es6.array.iterator.js": | |
| 2805 | +/*!*********************************************************************!*\ | |
| 2806 | + !*** ../node_modules/core-js/library/modules/es6.array.iterator.js ***! | |
| 2807 | + \*********************************************************************/ | |
| 2808 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2809 | + | |
| 2810 | +"use strict"; | |
| 2811 | + | |
| 2812 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/library/modules/_add-to-unscopables.js"); | |
| 2813 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 2814 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 2815 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2816 | + | |
| 2817 | +// 22.1.3.4 Array.prototype.entries() | |
| 2818 | +// 22.1.3.13 Array.prototype.keys() | |
| 2819 | +// 22.1.3.29 Array.prototype.values() | |
| 2820 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 2821 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 2822 | + this._t = toIObject(iterated); // target | |
| 2823 | + this._i = 0; // next index | |
| 2824 | + this._k = kind; // kind | |
| 2825 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 2826 | +}, function () { | |
| 2827 | + var O = this._t; | |
| 2828 | + var kind = this._k; | |
| 2829 | + var index = this._i++; | |
| 2830 | + if (!O || index >= O.length) { | |
| 2831 | + this._t = undefined; | |
| 2832 | + return step(1); | |
| 2833 | + } | |
| 2834 | + if (kind == 'keys') return step(0, index); | |
| 2835 | + if (kind == 'values') return step(0, O[index]); | |
| 2836 | + return step(0, [index, O[index]]); | |
| 2837 | +}, 'values'); | |
| 2838 | + | |
| 2839 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 2840 | +Iterators.Arguments = Iterators.Array; | |
| 2841 | + | |
| 2842 | +addToUnscopables('keys'); | |
| 2843 | +addToUnscopables('values'); | |
| 2844 | +addToUnscopables('entries'); | |
| 2845 | + | |
| 2846 | + | |
| 2847 | +/***/ }), | |
| 2848 | + | |
| 2849 | +/***/ "../node_modules/core-js/library/modules/es6.object.create.js": | |
| 2850 | +/*!********************************************************************!*\ | |
| 2851 | + !*** ../node_modules/core-js/library/modules/es6.object.create.js ***! | |
| 2852 | + \********************************************************************/ | |
| 2853 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2854 | + | |
| 2855 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2856 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 2857 | +$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js") }); | |
| 2858 | + | |
| 2859 | + | |
| 2860 | +/***/ }), | |
| 2861 | + | |
| 2862 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-property.js": | |
| 2863 | +/*!*****************************************************************************!*\ | |
| 2864 | + !*** ../node_modules/core-js/library/modules/es6.object.define-property.js ***! | |
| 2865 | + \*****************************************************************************/ | |
| 2866 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2867 | + | |
| 2868 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2869 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 2870 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f }); | |
| 2871 | + | |
| 2872 | + | |
| 2873 | +/***/ }), | |
| 2874 | + | |
| 2875 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js": | |
| 2876 | +/*!*****************************************************************************************!*\ | |
| 2877 | + !*** ../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***! | |
| 2878 | + \*****************************************************************************************/ | |
| 2879 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2880 | + | |
| 2881 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 2882 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 2883 | +var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f; | |
| 2884 | + | |
| 2885 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { | |
| 2886 | + return function getOwnPropertyDescriptor(it, key) { | |
| 2887 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 2888 | + }; | |
| 2889 | +}); | |
| 2890 | + | |
| 2891 | + | |
| 2892 | +/***/ }), | |
| 2893 | + | |
| 2894 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js": | |
| 2895 | +/*!******************************************************************************!*\ | |
| 2896 | + !*** ../node_modules/core-js/library/modules/es6.object.get-prototype-of.js ***! | |
| 2897 | + \******************************************************************************/ | |
| 2898 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2899 | + | |
| 2900 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 2901 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 2902 | +var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 2903 | + | |
| 2904 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getPrototypeOf', function () { | |
| 2905 | + return function getPrototypeOf(it) { | |
| 2906 | + return $getPrototypeOf(toObject(it)); | |
| 2907 | + }; | |
| 2908 | +}); | |
| 2909 | + | |
| 2910 | + | |
| 2911 | +/***/ }), | |
| 2912 | + | |
| 2913 | +/***/ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js": | |
| 2914 | +/*!******************************************************************************!*\ | |
| 2915 | + !*** ../node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***! | |
| 2916 | + \******************************************************************************/ | |
| 2917 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2918 | + | |
| 2919 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 2920 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2921 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "../node_modules/core-js/library/modules/_set-proto.js").set }); | |
| 2922 | + | |
| 2923 | + | |
| 2924 | +/***/ }), | |
| 2925 | + | |
| 2926 | +/***/ "../node_modules/core-js/library/modules/es6.object.to-string.js": | |
| 2927 | +/*!***********************************************************************!*\ | |
| 2928 | + !*** ../node_modules/core-js/library/modules/es6.object.to-string.js ***! | |
| 2929 | + \***********************************************************************/ | |
| 2930 | +/***/ (() => { | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
| 2934 | +/***/ }), | |
| 2935 | + | |
| 2936 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.construct.js": | |
| 2937 | +/*!************************************************************************!*\ | |
| 2938 | + !*** ../node_modules/core-js/library/modules/es6.reflect.construct.js ***! | |
| 2939 | + \************************************************************************/ | |
| 2940 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2941 | + | |
| 2942 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 2943 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 2944 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 2945 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 2946 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 2947 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 2948 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 2949 | +var bind = __webpack_require__(/*! ./_bind */ "../node_modules/core-js/library/modules/_bind.js"); | |
| 2950 | +var rConstruct = (__webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect || {}).construct; | |
| 2951 | + | |
| 2952 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 2953 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 2954 | +var NEW_TARGET_BUG = fails(function () { | |
| 2955 | + function F() { /* empty */ } | |
| 2956 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 2957 | +}); | |
| 2958 | +var ARGS_BUG = !fails(function () { | |
| 2959 | + rConstruct(function () { /* empty */ }); | |
| 2960 | +}); | |
| 2961 | + | |
| 2962 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 2963 | + construct: function construct(Target, args /* , newTarget */) { | |
| 2964 | + aFunction(Target); | |
| 2965 | + anObject(args); | |
| 2966 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 2967 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 2968 | + if (Target == newTarget) { | |
| 2969 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 2970 | + switch (args.length) { | |
| 2971 | + case 0: return new Target(); | |
| 2972 | + case 1: return new Target(args[0]); | |
| 2973 | + case 2: return new Target(args[0], args[1]); | |
| 2974 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 2975 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 2976 | + } | |
| 2977 | + // w/o altered newTarget, lot of arguments case | |
| 2978 | + var $args = [null]; | |
| 2979 | + $args.push.apply($args, args); | |
| 2980 | + return new (bind.apply(Target, $args))(); | |
| 2981 | + } | |
| 2982 | + // with altered newTarget, not support built-in constructors | |
| 2983 | + var proto = newTarget.prototype; | |
| 2984 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 2985 | + var result = Function.apply.call(Target, instance, args); | |
| 2986 | + return isObject(result) ? result : instance; | |
| 2987 | + } | |
| 2988 | +}); | |
| 2989 | + | |
| 2990 | + | |
| 2991 | +/***/ }), | |
| 2992 | + | |
| 2993 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.get.js": | |
| 2994 | +/*!******************************************************************!*\ | |
| 2995 | + !*** ../node_modules/core-js/library/modules/es6.reflect.get.js ***! | |
| 2996 | + \******************************************************************/ | |
| 2997 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 2998 | + | |
| 2999 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 3000 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 3001 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 3002 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 3003 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 3004 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 3005 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 3006 | + | |
| 3007 | +function get(target, propertyKey /* , receiver */) { | |
| 3008 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 3009 | + var desc, proto; | |
| 3010 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 3011 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 3012 | + ? desc.value | |
| 3013 | + : desc.get !== undefined | |
| 3014 | + ? desc.get.call(receiver) | |
| 3015 | + : undefined; | |
| 3016 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 3017 | +} | |
| 3018 | + | |
| 3019 | +$export($export.S, 'Reflect', { get: get }); | |
| 3020 | + | |
| 3021 | + | |
| 3022 | +/***/ }), | |
| 3023 | + | |
| 3024 | +/***/ "../node_modules/core-js/library/modules/es6.string.iterator.js": | |
| 3025 | +/*!**********************************************************************!*\ | |
| 3026 | + !*** ../node_modules/core-js/library/modules/es6.string.iterator.js ***! | |
| 3027 | + \**********************************************************************/ | |
| 3028 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3029 | + | |
| 3030 | +"use strict"; | |
| 3031 | + | |
| 3032 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/library/modules/_string-at.js")(true); | |
| 3033 | + | |
| 3034 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 3035 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 3036 | + this._t = String(iterated); // target | |
| 3037 | + this._i = 0; // next index | |
| 3038 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 3039 | +}, function () { | |
| 3040 | + var O = this._t; | |
| 3041 | + var index = this._i; | |
| 3042 | + var point; | |
| 3043 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 3044 | + point = $at(O, index); | |
| 3045 | + this._i += point.length; | |
| 3046 | + return { value: point, done: false }; | |
| 3047 | +}); | |
| 3048 | + | |
| 3049 | + | |
| 3050 | +/***/ }), | |
| 3051 | + | |
| 3052 | +/***/ "../node_modules/core-js/library/modules/es6.symbol.js": | |
| 3053 | +/*!*************************************************************!*\ | |
| 3054 | + !*** ../node_modules/core-js/library/modules/es6.symbol.js ***! | |
| 3055 | + \*************************************************************/ | |
| 3056 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3057 | + | |
| 3058 | +"use strict"; | |
| 3059 | + | |
| 3060 | +// ECMAScript 6 symbols shim | |
| 3061 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 3062 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 3063 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 3064 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 3065 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 3066 | +var META = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").KEY; | |
| 3067 | +var $fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 3068 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js"); | |
| 3069 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 3070 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 3071 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 3072 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 3073 | +var wksDefine = __webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js"); | |
| 3074 | +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "../node_modules/core-js/library/modules/_enum-keys.js"); | |
| 3075 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 3076 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 3077 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 3078 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 3079 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 3080 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 3081 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 3082 | +var _create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 3083 | +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "../node_modules/core-js/library/modules/_object-gopn-ext.js"); | |
| 3084 | +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 3085 | +var $GOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 3086 | +var $DP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 3087 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 3088 | +var gOPD = $GOPD.f; | |
| 3089 | +var dP = $DP.f; | |
| 3090 | +var gOPN = gOPNExt.f; | |
| 3091 | +var $Symbol = global.Symbol; | |
| 3092 | +var $JSON = global.JSON; | |
| 3093 | +var _stringify = $JSON && $JSON.stringify; | |
| 3094 | +var PROTOTYPE = 'prototype'; | |
| 3095 | +var HIDDEN = wks('_hidden'); | |
| 3096 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 3097 | +var isEnum = {}.propertyIsEnumerable; | |
| 3098 | +var SymbolRegistry = shared('symbol-registry'); | |
| 3099 | +var AllSymbols = shared('symbols'); | |
| 3100 | +var OPSymbols = shared('op-symbols'); | |
| 3101 | +var ObjectProto = Object[PROTOTYPE]; | |
| 3102 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 3103 | +var QObject = global.QObject; | |
| 3104 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 3105 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 3106 | + | |
| 3107 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 3108 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 3109 | + return _create(dP({}, 'a', { | |
| 3110 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 3111 | + })).a != 7; | |
| 3112 | +}) ? function (it, key, D) { | |
| 3113 | + var protoDesc = gOPD(ObjectProto, key); | |
| 3114 | + if (protoDesc) delete ObjectProto[key]; | |
| 3115 | + dP(it, key, D); | |
| 3116 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 3117 | +} : dP; | |
| 3118 | + | |
| 3119 | +var wrap = function (tag) { | |
| 3120 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 3121 | + sym._k = tag; | |
| 3122 | + return sym; | |
| 3123 | +}; | |
| 3124 | + | |
| 3125 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 3126 | + return typeof it == 'symbol'; | |
| 3127 | +} : function (it) { | |
| 3128 | + return it instanceof $Symbol; | |
| 3129 | +}; | |
| 3130 | + | |
| 3131 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 3132 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 3133 | + anObject(it); | |
| 3134 | + key = toPrimitive(key, true); | |
| 3135 | + anObject(D); | |
| 3136 | + if (has(AllSymbols, key)) { | |
| 3137 | + if (!D.enumerable) { | |
| 3138 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 3139 | + it[HIDDEN][key] = true; | |
| 3140 | + } else { | |
| 3141 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 3142 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 3143 | + } return setSymbolDesc(it, key, D); | |
| 3144 | + } return dP(it, key, D); | |
| 3145 | +}; | |
| 3146 | +var $defineProperties = function defineProperties(it, P) { | |
| 3147 | + anObject(it); | |
| 3148 | + var keys = enumKeys(P = toIObject(P)); | |
| 3149 | + var i = 0; | |
| 3150 | + var l = keys.length; | |
| 3151 | + var key; | |
| 3152 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 3153 | + return it; | |
| 3154 | +}; | |
| 3155 | +var $create = function create(it, P) { | |
| 3156 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 3157 | +}; | |
| 3158 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 3159 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 3160 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 3161 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 3162 | +}; | |
| 3163 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 3164 | + it = toIObject(it); | |
| 3165 | + key = toPrimitive(key, true); | |
| 3166 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 3167 | + var D = gOPD(it, key); | |
| 3168 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 3169 | + return D; | |
| 3170 | +}; | |
| 3171 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 3172 | + var names = gOPN(toIObject(it)); | |
| 3173 | + var result = []; | |
| 3174 | + var i = 0; | |
| 3175 | + var key; | |
| 3176 | + while (names.length > i) { | |
| 3177 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 3178 | + } return result; | |
| 3179 | +}; | |
| 3180 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 3181 | + var IS_OP = it === ObjectProto; | |
| 3182 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 3183 | + var result = []; | |
| 3184 | + var i = 0; | |
| 3185 | + var key; | |
| 3186 | + while (names.length > i) { | |
| 3187 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 3188 | + } return result; | |
| 3189 | +}; | |
| 3190 | + | |
| 3191 | +// 19.4.1.1 Symbol([description]) | |
| 3192 | +if (!USE_NATIVE) { | |
| 3193 | + $Symbol = function Symbol() { | |
| 3194 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 3195 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 3196 | + var $set = function (value) { | |
| 3197 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 3198 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 3199 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 3200 | + }; | |
| 3201 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 3202 | + return wrap(tag); | |
| 3203 | + }; | |
| 3204 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 3205 | + return this._k; | |
| 3206 | + }); | |
| 3207 | + | |
| 3208 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 3209 | + $DP.f = $defineProperty; | |
| 3210 | + __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; | |
| 3211 | + __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f = $propertyIsEnumerable; | |
| 3212 | + $GOPS.f = $getOwnPropertySymbols; | |
| 3213 | + | |
| 3214 | + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js")) { | |
| 3215 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 3216 | + } | |
| 3217 | + | |
| 3218 | + wksExt.f = function (name) { | |
| 3219 | + return wrap(wks(name)); | |
| 3220 | + }; | |
| 3221 | +} | |
| 3222 | + | |
| 3223 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 3224 | + | |
| 3225 | +for (var es6Symbols = ( | |
| 3226 | + // 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 | |
| 3227 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 3228 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 3229 | + | |
| 3230 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 3231 | + | |
| 3232 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 3233 | + // 19.4.2.1 Symbol.for(key) | |
| 3234 | + 'for': function (key) { | |
| 3235 | + return has(SymbolRegistry, key += '') | |
| 3236 | + ? SymbolRegistry[key] | |
| 3237 | + : SymbolRegistry[key] = $Symbol(key); | |
| 3238 | + }, | |
| 3239 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 3240 | + keyFor: function keyFor(sym) { | |
| 3241 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 3242 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 3243 | + }, | |
| 3244 | + useSetter: function () { setter = true; }, | |
| 3245 | + useSimple: function () { setter = false; } | |
| 3246 | +}); | |
| 3247 | + | |
| 3248 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 3249 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 3250 | + create: $create, | |
| 3251 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 3252 | + defineProperty: $defineProperty, | |
| 3253 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 3254 | + defineProperties: $defineProperties, | |
| 3255 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 3256 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 3257 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 3258 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 3259 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 3260 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 3261 | +}); | |
| 3262 | + | |
| 3263 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 3264 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 3265 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 3266 | + | |
| 3267 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 3268 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 3269 | + return $GOPS.f(toObject(it)); | |
| 3270 | + } | |
| 3271 | +}); | |
| 3272 | + | |
| 3273 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 3274 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 3275 | + var S = $Symbol(); | |
| 3276 | + // MS Edge converts symbol values to JSON as {} | |
| 3277 | + // WebKit converts symbol values to JSON as null | |
| 3278 | + // V8 throws on boxed symbols | |
| 3279 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 3280 | +})), 'JSON', { | |
| 3281 | + stringify: function stringify(it) { | |
| 3282 | + var args = [it]; | |
| 3283 | + var i = 1; | |
| 3284 | + var replacer, $replacer; | |
| 3285 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 3286 | + $replacer = replacer = args[1]; | |
| 3287 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 3288 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 3289 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 3290 | + if (!isSymbol(value)) return value; | |
| 3291 | + }; | |
| 3292 | + args[1] = replacer; | |
| 3293 | + return _stringify.apply($JSON, args); | |
| 3294 | + } | |
| 3295 | +}); | |
| 3296 | + | |
| 3297 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 3298 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 3299 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 3300 | +setToStringTag($Symbol, 'Symbol'); | |
| 3301 | +// 20.2.1.9 Math[@@toStringTag] | |
| 3302 | +setToStringTag(Math, 'Math', true); | |
| 3303 | +// 24.3.3 JSON[@@toStringTag] | |
| 3304 | +setToStringTag(global.JSON, 'JSON', true); | |
| 3305 | + | |
| 3306 | + | |
| 3307 | +/***/ }), | |
| 3308 | + | |
| 3309 | +/***/ "../node_modules/core-js/library/modules/es7.object.entries.js": | |
| 3310 | +/*!*********************************************************************!*\ | |
| 3311 | + !*** ../node_modules/core-js/library/modules/es7.object.entries.js ***! | |
| 3312 | + \*********************************************************************/ | |
| 3313 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3314 | + | |
| 3315 | +// https://github.com/tc39/proposal-object-values-entries | |
| 3316 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 3317 | +var $entries = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(true); | |
| 3318 | + | |
| 3319 | +$export($export.S, 'Object', { | |
| 3320 | + entries: function entries(it) { | |
| 3321 | + return $entries(it); | |
| 3322 | + } | |
| 3323 | +}); | |
| 3324 | + | |
| 3325 | + | |
| 3326 | +/***/ }), | |
| 3327 | + | |
| 3328 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js": | |
| 3329 | +/*!****************************************************************************!*\ | |
| 3330 | + !*** ../node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***! | |
| 3331 | + \****************************************************************************/ | |
| 3332 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3333 | + | |
| 3334 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('asyncIterator'); | |
| 3335 | + | |
| 3336 | + | |
| 3337 | +/***/ }), | |
| 3338 | + | |
| 3339 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.observable.js": | |
| 3340 | +/*!************************************************************************!*\ | |
| 3341 | + !*** ../node_modules/core-js/library/modules/es7.symbol.observable.js ***! | |
| 3342 | + \************************************************************************/ | |
| 3343 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3344 | + | |
| 3345 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('observable'); | |
| 3346 | + | |
| 3347 | + | |
| 3348 | +/***/ }), | |
| 3349 | + | |
| 3350 | +/***/ "../node_modules/core-js/library/modules/web.dom.iterable.js": | |
| 3351 | +/*!*******************************************************************!*\ | |
| 3352 | + !*** ../node_modules/core-js/library/modules/web.dom.iterable.js ***! | |
| 3353 | + \*******************************************************************/ | |
| 3354 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3355 | + | |
| 3356 | +__webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/library/modules/es6.array.iterator.js"); | |
| 3357 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 3358 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 3359 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 3360 | +var TO_STRING_TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 3361 | + | |
| 3362 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 3363 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 3364 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 3365 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 3366 | + 'TextTrackList,TouchList').split(','); | |
| 3367 | + | |
| 3368 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 3369 | + var NAME = DOMIterables[i]; | |
| 3370 | + var Collection = global[NAME]; | |
| 3371 | + var proto = Collection && Collection.prototype; | |
| 3372 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 3373 | + Iterators[NAME] = Iterators.Array; | |
| 3374 | +} | |
| 3375 | + | |
| 3376 | + | |
| 3377 | +/***/ }), | |
| 3378 | + | |
| 3379 | +/***/ "../node_modules/core-js/modules/_a-function.js": | |
| 3380 | +/*!******************************************************!*\ | |
| 3381 | + !*** ../node_modules/core-js/modules/_a-function.js ***! | |
| 3382 | + \******************************************************/ | |
| 3383 | +/***/ ((module) => { | |
| 3384 | + | |
| 3385 | +module.exports = function (it) { | |
| 3386 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 3387 | + return it; | |
| 3388 | +}; | |
| 3389 | + | |
| 3390 | + | |
| 3391 | +/***/ }), | |
| 3392 | + | |
| 3393 | +/***/ "../node_modules/core-js/modules/_add-to-unscopables.js": | |
| 3394 | +/*!**************************************************************!*\ | |
| 3395 | + !*** ../node_modules/core-js/modules/_add-to-unscopables.js ***! | |
| 3396 | + \**************************************************************/ | |
| 3397 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3398 | + | |
| 3399 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 3400 | +var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('unscopables'); | |
| 3401 | +var ArrayProto = Array.prototype; | |
| 3402 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); | |
| 3403 | +module.exports = function (key) { | |
| 3404 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 3405 | +}; | |
| 3406 | + | |
| 3407 | + | |
| 3408 | +/***/ }), | |
| 3409 | + | |
| 3410 | +/***/ "../node_modules/core-js/modules/_advance-string-index.js": | |
| 3411 | +/*!****************************************************************!*\ | |
| 3412 | + !*** ../node_modules/core-js/modules/_advance-string-index.js ***! | |
| 3413 | + \****************************************************************/ | |
| 3414 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3415 | + | |
| 3416 | +"use strict"; | |
| 3417 | + | |
| 3418 | +var at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 3419 | + | |
| 3420 | + // `AdvanceStringIndex` abstract operation | |
| 3421 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 3422 | +module.exports = function (S, index, unicode) { | |
| 3423 | + return index + (unicode ? at(S, index).length : 1); | |
| 3424 | +}; | |
| 3425 | + | |
| 3426 | + | |
| 3427 | +/***/ }), | |
| 3428 | + | |
| 3429 | +/***/ "../node_modules/core-js/modules/_an-object.js": | |
| 3430 | +/*!*****************************************************!*\ | |
| 3431 | + !*** ../node_modules/core-js/modules/_an-object.js ***! | |
| 3432 | + \*****************************************************/ | |
| 3433 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3434 | + | |
| 3435 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 3436 | +module.exports = function (it) { | |
| 3437 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 3438 | + return it; | |
| 3439 | +}; | |
| 3440 | + | |
| 3441 | + | |
| 3442 | +/***/ }), | |
| 3443 | + | |
| 3444 | +/***/ "../node_modules/core-js/modules/_array-includes.js": | |
| 3445 | +/*!**********************************************************!*\ | |
| 3446 | + !*** ../node_modules/core-js/modules/_array-includes.js ***! | |
| 3447 | + \**********************************************************/ | |
| 3448 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3449 | + | |
| 3450 | +// false -> Array#indexOf | |
| 3451 | +// true -> Array#includes | |
| 3452 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 3453 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 3454 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 3455 | +module.exports = function (IS_INCLUDES) { | |
| 3456 | + return function ($this, el, fromIndex) { | |
| 3457 | + var O = toIObject($this); | |
| 3458 | + var length = toLength(O.length); | |
| 3459 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 3460 | + var value; | |
| 3461 | + // Array#includes uses SameValueZero equality algorithm | |
| 3462 | + // eslint-disable-next-line no-self-compare | |
| 3463 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 3464 | + value = O[index++]; | |
| 3465 | + // eslint-disable-next-line no-self-compare | |
| 3466 | + if (value != value) return true; | |
| 3467 | + // Array#indexOf ignores holes, Array#includes - not | |
| 3468 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 3469 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 3470 | + } return !IS_INCLUDES && -1; | |
| 3471 | + }; | |
| 3472 | +}; | |
| 3473 | + | |
| 3474 | + | |
| 3475 | +/***/ }), | |
| 3476 | + | |
| 3477 | +/***/ "../node_modules/core-js/modules/_array-methods.js": | |
| 3478 | +/*!*********************************************************!*\ | |
| 3479 | + !*** ../node_modules/core-js/modules/_array-methods.js ***! | |
| 3480 | + \*********************************************************/ | |
| 3481 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3482 | + | |
| 3483 | +// 0 -> Array#forEach | |
| 3484 | +// 1 -> Array#map | |
| 3485 | +// 2 -> Array#filter | |
| 3486 | +// 3 -> Array#some | |
| 3487 | +// 4 -> Array#every | |
| 3488 | +// 5 -> Array#find | |
| 3489 | +// 6 -> Array#findIndex | |
| 3490 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 3491 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 3492 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 3493 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 3494 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/modules/_array-species-create.js"); | |
| 3495 | +module.exports = function (TYPE, $create) { | |
| 3496 | + var IS_MAP = TYPE == 1; | |
| 3497 | + var IS_FILTER = TYPE == 2; | |
| 3498 | + var IS_SOME = TYPE == 3; | |
| 3499 | + var IS_EVERY = TYPE == 4; | |
| 3500 | + var IS_FIND_INDEX = TYPE == 6; | |
| 3501 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 3502 | + var create = $create || asc; | |
| 3503 | + return function ($this, callbackfn, that) { | |
| 3504 | + var O = toObject($this); | |
| 3505 | + var self = IObject(O); | |
| 3506 | + var f = ctx(callbackfn, that, 3); | |
| 3507 | + var length = toLength(self.length); | |
| 3508 | + var index = 0; | |
| 3509 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 3510 | + var val, res; | |
| 3511 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 3512 | + val = self[index]; | |
| 3513 | + res = f(val, index, O); | |
| 3514 | + if (TYPE) { | |
| 3515 | + if (IS_MAP) result[index] = res; // map | |
| 3516 | + else if (res) switch (TYPE) { | |
| 3517 | + case 3: return true; // some | |
| 3518 | + case 5: return val; // find | |
| 3519 | + case 6: return index; // findIndex | |
| 3520 | + case 2: result.push(val); // filter | |
| 3521 | + } else if (IS_EVERY) return false; // every | |
| 3522 | + } | |
| 3523 | + } | |
| 3524 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 3525 | + }; | |
| 3526 | +}; | |
| 3527 | + | |
| 3528 | + | |
| 3529 | +/***/ }), | |
| 3530 | + | |
| 3531 | +/***/ "../node_modules/core-js/modules/_array-species-constructor.js": | |
| 3532 | +/*!*********************************************************************!*\ | |
| 3533 | + !*** ../node_modules/core-js/modules/_array-species-constructor.js ***! | |
| 3534 | + \*********************************************************************/ | |
| 3535 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3536 | + | |
| 3537 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 3538 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/modules/_is-array.js"); | |
| 3539 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 3540 | + | |
| 3541 | +module.exports = function (original) { | |
| 3542 | + var C; | |
| 3543 | + if (isArray(original)) { | |
| 3544 | + C = original.constructor; | |
| 3545 | + // cross-realm fallback | |
| 3546 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 3547 | + if (isObject(C)) { | |
| 3548 | + C = C[SPECIES]; | |
| 3549 | + if (C === null) C = undefined; | |
| 3550 | + } | |
| 3551 | + } return C === undefined ? Array : C; | |
| 3552 | +}; | |
| 3553 | + | |
| 3554 | + | |
| 3555 | +/***/ }), | |
| 3556 | + | |
| 3557 | +/***/ "../node_modules/core-js/modules/_array-species-create.js": | |
| 3558 | +/*!****************************************************************!*\ | |
| 3559 | + !*** ../node_modules/core-js/modules/_array-species-create.js ***! | |
| 3560 | + \****************************************************************/ | |
| 3561 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3562 | + | |
| 3563 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 3564 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/modules/_array-species-constructor.js"); | |
| 3565 | + | |
| 3566 | +module.exports = function (original, length) { | |
| 3567 | + return new (speciesConstructor(original))(length); | |
| 3568 | +}; | |
| 3569 | + | |
| 3570 | + | |
| 3571 | +/***/ }), | |
| 3572 | + | |
| 3573 | +/***/ "../node_modules/core-js/modules/_classof.js": | |
| 3574 | +/*!***************************************************!*\ | |
| 3575 | + !*** ../node_modules/core-js/modules/_classof.js ***! | |
| 3576 | + \***************************************************/ | |
| 3577 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3578 | + | |
| 3579 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 3580 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 3581 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 3582 | +// ES3 wrong here | |
| 3583 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 3584 | + | |
| 3585 | +// fallback for IE11 Script Access Denied error | |
| 3586 | +var tryGet = function (it, key) { | |
| 3587 | + try { | |
| 3588 | + return it[key]; | |
| 3589 | + } catch (e) { /* empty */ } | |
| 3590 | +}; | |
| 3591 | + | |
| 3592 | +module.exports = function (it) { | |
| 3593 | + var O, T, B; | |
| 3594 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 3595 | + // @@toStringTag case | |
| 3596 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 3597 | + // builtinTag case | |
| 3598 | + : ARG ? cof(O) | |
| 3599 | + // ES3 arguments fallback | |
| 3600 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 3601 | +}; | |
| 3602 | + | |
| 3603 | + | |
| 3604 | +/***/ }), | |
| 3605 | + | |
| 3606 | +/***/ "../node_modules/core-js/modules/_cof.js": | |
| 3607 | +/*!***********************************************!*\ | |
| 3608 | + !*** ../node_modules/core-js/modules/_cof.js ***! | |
| 3609 | + \***********************************************/ | |
| 3610 | +/***/ ((module) => { | |
| 3611 | + | |
| 3612 | +var toString = {}.toString; | |
| 3613 | + | |
| 3614 | +module.exports = function (it) { | |
| 3615 | + return toString.call(it).slice(8, -1); | |
| 3616 | +}; | |
| 3617 | + | |
| 3618 | + | |
| 3619 | +/***/ }), | |
| 3620 | + | |
| 3621 | +/***/ "../node_modules/core-js/modules/_core.js": | |
| 3622 | +/*!************************************************!*\ | |
| 3623 | + !*** ../node_modules/core-js/modules/_core.js ***! | |
| 3624 | + \************************************************/ | |
| 3625 | +/***/ ((module) => { | |
| 3626 | + | |
| 3627 | +var core = module.exports = { version: '2.6.12' }; | |
| 3628 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 3629 | + | |
| 3630 | + | |
| 3631 | +/***/ }), | |
| 3632 | + | |
| 3633 | +/***/ "../node_modules/core-js/modules/_ctx.js": | |
| 3634 | +/*!***********************************************!*\ | |
| 3635 | + !*** ../node_modules/core-js/modules/_ctx.js ***! | |
| 3636 | + \***********************************************/ | |
| 3637 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3638 | + | |
| 3639 | +// optional / simple context binding | |
| 3640 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 3641 | +module.exports = function (fn, that, length) { | |
| 3642 | + aFunction(fn); | |
| 3643 | + if (that === undefined) return fn; | |
| 3644 | + switch (length) { | |
| 3645 | + case 1: return function (a) { | |
| 3646 | + return fn.call(that, a); | |
| 3647 | + }; | |
| 3648 | + case 2: return function (a, b) { | |
| 3649 | + return fn.call(that, a, b); | |
| 3650 | + }; | |
| 3651 | + case 3: return function (a, b, c) { | |
| 3652 | + return fn.call(that, a, b, c); | |
| 3653 | + }; | |
| 3654 | + } | |
| 3655 | + return function (/* ...args */) { | |
| 3656 | + return fn.apply(that, arguments); | |
| 3657 | + }; | |
| 3658 | +}; | |
| 3659 | + | |
| 3660 | + | |
| 3661 | +/***/ }), | |
| 3662 | + | |
| 3663 | +/***/ "../node_modules/core-js/modules/_defined.js": | |
| 3664 | +/*!***************************************************!*\ | |
| 3665 | + !*** ../node_modules/core-js/modules/_defined.js ***! | |
| 3666 | + \***************************************************/ | |
| 3667 | +/***/ ((module) => { | |
| 3668 | + | |
| 3669 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 3670 | +module.exports = function (it) { | |
| 3671 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 3672 | + return it; | |
| 3673 | +}; | |
| 3674 | + | |
| 3675 | + | |
| 3676 | +/***/ }), | |
| 3677 | + | |
| 3678 | +/***/ "../node_modules/core-js/modules/_descriptors.js": | |
| 3679 | +/*!*******************************************************!*\ | |
| 3680 | + !*** ../node_modules/core-js/modules/_descriptors.js ***! | |
| 3681 | + \*******************************************************/ | |
| 3682 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3683 | + | |
| 3684 | +// Thank's IE8 for his funny defineProperty | |
| 3685 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 3686 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 3687 | +}); | |
| 3688 | + | |
| 3689 | + | |
| 3690 | +/***/ }), | |
| 3691 | + | |
| 3692 | +/***/ "../node_modules/core-js/modules/_dom-create.js": | |
| 3693 | +/*!******************************************************!*\ | |
| 3694 | + !*** ../node_modules/core-js/modules/_dom-create.js ***! | |
| 3695 | + \******************************************************/ | |
| 3696 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3697 | + | |
| 3698 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 3699 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 3700 | +// typeof document.createElement is 'object' in old IE | |
| 3701 | +var is = isObject(document) && isObject(document.createElement); | |
| 3702 | +module.exports = function (it) { | |
| 3703 | + return is ? document.createElement(it) : {}; | |
| 3704 | +}; | |
| 3705 | + | |
| 3706 | + | |
| 3707 | +/***/ }), | |
| 3708 | + | |
| 3709 | +/***/ "../node_modules/core-js/modules/_export.js": | |
| 3710 | +/*!**************************************************!*\ | |
| 3711 | + !*** ../node_modules/core-js/modules/_export.js ***! | |
| 3712 | + \**************************************************/ | |
| 3713 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3714 | + | |
| 3715 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 3716 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 3717 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 3718 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 3719 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 3720 | +var PROTOTYPE = 'prototype'; | |
| 3721 | + | |
| 3722 | +var $export = function (type, name, source) { | |
| 3723 | + var IS_FORCED = type & $export.F; | |
| 3724 | + var IS_GLOBAL = type & $export.G; | |
| 3725 | + var IS_STATIC = type & $export.S; | |
| 3726 | + var IS_PROTO = type & $export.P; | |
| 3727 | + var IS_BIND = type & $export.B; | |
| 3728 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 3729 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 3730 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 3731 | + var key, own, out, exp; | |
| 3732 | + if (IS_GLOBAL) source = name; | |
| 3733 | + for (key in source) { | |
| 3734 | + // contains in native | |
| 3735 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 3736 | + // export native or passed | |
| 3737 | + out = (own ? target : source)[key]; | |
| 3738 | + // bind timers to global for call from export context | |
| 3739 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 3740 | + // extend global | |
| 3741 | + if (target) redefine(target, key, out, type & $export.U); | |
| 3742 | + // export | |
| 3743 | + if (exports[key] != out) hide(exports, key, exp); | |
| 3744 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 3745 | + } | |
| 3746 | +}; | |
| 3747 | +global.core = core; | |
| 3748 | +// type bitmap | |
| 3749 | +$export.F = 1; // forced | |
| 3750 | +$export.G = 2; // global | |
| 3751 | +$export.S = 4; // static | |
| 3752 | +$export.P = 8; // proto | |
| 3753 | +$export.B = 16; // bind | |
| 3754 | +$export.W = 32; // wrap | |
| 3755 | +$export.U = 64; // safe | |
| 3756 | +$export.R = 128; // real proto method for `library` | |
| 3757 | +module.exports = $export; | |
| 3758 | + | |
| 3759 | + | |
| 3760 | +/***/ }), | |
| 3761 | + | |
| 3762 | +/***/ "../node_modules/core-js/modules/_fails-is-regexp.js": | |
| 3763 | +/*!***********************************************************!*\ | |
| 3764 | + !*** ../node_modules/core-js/modules/_fails-is-regexp.js ***! | |
| 3765 | + \***********************************************************/ | |
| 3766 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3767 | + | |
| 3768 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 3769 | +module.exports = function (KEY) { | |
| 3770 | + var re = /./; | |
| 3771 | + try { | |
| 3772 | + '/./'[KEY](re); | |
| 3773 | + } catch (e) { | |
| 3774 | + try { | |
| 3775 | + re[MATCH] = false; | |
| 3776 | + return !'/./'[KEY](re); | |
| 3777 | + } catch (f) { /* empty */ } | |
| 3778 | + } return true; | |
| 3779 | +}; | |
| 3780 | + | |
| 3781 | + | |
| 3782 | +/***/ }), | |
| 3783 | + | |
| 3784 | +/***/ "../node_modules/core-js/modules/_fails.js": | |
| 3785 | +/*!*************************************************!*\ | |
| 3786 | + !*** ../node_modules/core-js/modules/_fails.js ***! | |
| 3787 | + \*************************************************/ | |
| 3788 | +/***/ ((module) => { | |
| 3789 | + | |
| 3790 | +module.exports = function (exec) { | |
| 3791 | + try { | |
| 3792 | + return !!exec(); | |
| 3793 | + } catch (e) { | |
| 3794 | + return true; | |
| 3795 | + } | |
| 3796 | +}; | |
| 3797 | + | |
| 3798 | + | |
| 3799 | +/***/ }), | |
| 3800 | + | |
| 3801 | +/***/ "../node_modules/core-js/modules/_fix-re-wks.js": | |
| 3802 | +/*!******************************************************!*\ | |
| 3803 | + !*** ../node_modules/core-js/modules/_fix-re-wks.js ***! | |
| 3804 | + \******************************************************/ | |
| 3805 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3806 | + | |
| 3807 | +"use strict"; | |
| 3808 | + | |
| 3809 | +__webpack_require__(/*! ./es6.regexp.exec */ "../node_modules/core-js/modules/es6.regexp.exec.js"); | |
| 3810 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 3811 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 3812 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 3813 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 3814 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 3815 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 3816 | + | |
| 3817 | +var SPECIES = wks('species'); | |
| 3818 | + | |
| 3819 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 3820 | + // #replace needs built-in support for named groups. | |
| 3821 | + // #match works fine because it just return the exec results, even if it has | |
| 3822 | + // a "grops" property. | |
| 3823 | + var re = /./; | |
| 3824 | + re.exec = function () { | |
| 3825 | + var result = []; | |
| 3826 | + result.groups = { a: '7' }; | |
| 3827 | + return result; | |
| 3828 | + }; | |
| 3829 | + return ''.replace(re, '$<a>') !== '7'; | |
| 3830 | +}); | |
| 3831 | + | |
| 3832 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 3833 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 3834 | + var re = /(?:)/; | |
| 3835 | + var originalExec = re.exec; | |
| 3836 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 3837 | + var result = 'ab'.split(re); | |
| 3838 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 3839 | +})(); | |
| 3840 | + | |
| 3841 | +module.exports = function (KEY, length, exec) { | |
| 3842 | + var SYMBOL = wks(KEY); | |
| 3843 | + | |
| 3844 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 3845 | + // String methods call symbol-named RegEp methods | |
| 3846 | + var O = {}; | |
| 3847 | + O[SYMBOL] = function () { return 7; }; | |
| 3848 | + return ''[KEY](O) != 7; | |
| 3849 | + }); | |
| 3850 | + | |
| 3851 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 3852 | + // Symbol-named RegExp methods call .exec | |
| 3853 | + var execCalled = false; | |
| 3854 | + var re = /a/; | |
| 3855 | + re.exec = function () { execCalled = true; return null; }; | |
| 3856 | + if (KEY === 'split') { | |
| 3857 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 3858 | + // a new one. We need to return the patched regex when creating the new one. | |
| 3859 | + re.constructor = {}; | |
| 3860 | + re.constructor[SPECIES] = function () { return re; }; | |
| 3861 | + } | |
| 3862 | + re[SYMBOL](''); | |
| 3863 | + return !execCalled; | |
| 3864 | + }) : undefined; | |
| 3865 | + | |
| 3866 | + if ( | |
| 3867 | + !DELEGATES_TO_SYMBOL || | |
| 3868 | + !DELEGATES_TO_EXEC || | |
| 3869 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 3870 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 3871 | + ) { | |
| 3872 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 3873 | + var fns = exec( | |
| 3874 | + defined, | |
| 3875 | + SYMBOL, | |
| 3876 | + ''[KEY], | |
| 3877 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 3878 | + if (regexp.exec === regexpExec) { | |
| 3879 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 3880 | + // The native String method already delegates to @@method (this | |
| 3881 | + // polyfilled function), leasing to infinite recursion. | |
| 3882 | + // We avoid it by directly calling the native @@method method. | |
| 3883 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 3884 | + } | |
| 3885 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 3886 | + } | |
| 3887 | + return { done: false }; | |
| 3888 | + } | |
| 3889 | + ); | |
| 3890 | + var strfn = fns[0]; | |
| 3891 | + var rxfn = fns[1]; | |
| 3892 | + | |
| 3893 | + redefine(String.prototype, KEY, strfn); | |
| 3894 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 3895 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 3896 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 3897 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 3898 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 3899 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 3900 | + : function (string) { return rxfn.call(string, this); } | |
| 3901 | + ); | |
| 3902 | + } | |
| 3903 | +}; | |
| 3904 | + | |
| 3905 | + | |
| 3906 | +/***/ }), | |
| 3907 | + | |
| 3908 | +/***/ "../node_modules/core-js/modules/_flags.js": | |
| 3909 | +/*!*************************************************!*\ | |
| 3910 | + !*** ../node_modules/core-js/modules/_flags.js ***! | |
| 3911 | + \*************************************************/ | |
| 3912 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3913 | + | |
| 3914 | +"use strict"; | |
| 3915 | + | |
| 3916 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 3917 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 3918 | +module.exports = function () { | |
| 3919 | + var that = anObject(this); | |
| 3920 | + var result = ''; | |
| 3921 | + if (that.global) result += 'g'; | |
| 3922 | + if (that.ignoreCase) result += 'i'; | |
| 3923 | + if (that.multiline) result += 'm'; | |
| 3924 | + if (that.unicode) result += 'u'; | |
| 3925 | + if (that.sticky) result += 'y'; | |
| 3926 | + return result; | |
| 3927 | +}; | |
| 3928 | + | |
| 3929 | + | |
| 3930 | +/***/ }), | |
| 3931 | + | |
| 3932 | +/***/ "../node_modules/core-js/modules/_function-to-string.js": | |
| 3933 | +/*!**************************************************************!*\ | |
| 3934 | + !*** ../node_modules/core-js/modules/_function-to-string.js ***! | |
| 3935 | + \**************************************************************/ | |
| 3936 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3937 | + | |
| 3938 | +module.exports = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); | |
| 3939 | + | |
| 3940 | + | |
| 3941 | +/***/ }), | |
| 3942 | + | |
| 3943 | +/***/ "../node_modules/core-js/modules/_global.js": | |
| 3944 | +/*!**************************************************!*\ | |
| 3945 | + !*** ../node_modules/core-js/modules/_global.js ***! | |
| 3946 | + \**************************************************/ | |
| 3947 | +/***/ ((module) => { | |
| 3948 | + | |
| 3949 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 3950 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 3951 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 3952 | + // eslint-disable-next-line no-new-func | |
| 3953 | + : Function('return this')(); | |
| 3954 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 3955 | + | |
| 3956 | + | |
| 3957 | +/***/ }), | |
| 3958 | + | |
| 3959 | +/***/ "../node_modules/core-js/modules/_has.js": | |
| 3960 | +/*!***********************************************!*\ | |
| 3961 | + !*** ../node_modules/core-js/modules/_has.js ***! | |
| 3962 | + \***********************************************/ | |
| 3963 | +/***/ ((module) => { | |
| 3964 | + | |
| 3965 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 3966 | +module.exports = function (it, key) { | |
| 3967 | + return hasOwnProperty.call(it, key); | |
| 3968 | +}; | |
| 3969 | + | |
| 3970 | + | |
| 3971 | +/***/ }), | |
| 3972 | + | |
| 3973 | +/***/ "../node_modules/core-js/modules/_hide.js": | |
| 3974 | +/*!************************************************!*\ | |
| 3975 | + !*** ../node_modules/core-js/modules/_hide.js ***! | |
| 3976 | + \************************************************/ | |
| 3977 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3978 | + | |
| 3979 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 3980 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 3981 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { | |
| 3982 | + return dP.f(object, key, createDesc(1, value)); | |
| 3983 | +} : function (object, key, value) { | |
| 3984 | + object[key] = value; | |
| 3985 | + return object; | |
| 3986 | +}; | |
| 3987 | + | |
| 3988 | + | |
| 3989 | +/***/ }), | |
| 3990 | + | |
| 3991 | +/***/ "../node_modules/core-js/modules/_html.js": | |
| 3992 | +/*!************************************************!*\ | |
| 3993 | + !*** ../node_modules/core-js/modules/_html.js ***! | |
| 3994 | + \************************************************/ | |
| 3995 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3996 | + | |
| 3997 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 3998 | +module.exports = document && document.documentElement; | |
| 3999 | + | |
| 4000 | + | |
| 4001 | +/***/ }), | |
| 4002 | + | |
| 4003 | +/***/ "../node_modules/core-js/modules/_ie8-dom-define.js": | |
| 4004 | +/*!**********************************************************!*\ | |
| 4005 | + !*** ../node_modules/core-js/modules/_ie8-dom-define.js ***! | |
| 4006 | + \**********************************************************/ | |
| 4007 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4008 | + | |
| 4009 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 4010 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 4011 | +}); | |
| 4012 | + | |
| 4013 | + | |
| 4014 | +/***/ }), | |
| 4015 | + | |
| 4016 | +/***/ "../node_modules/core-js/modules/_iobject.js": | |
| 4017 | +/*!***************************************************!*\ | |
| 4018 | + !*** ../node_modules/core-js/modules/_iobject.js ***! | |
| 4019 | + \***************************************************/ | |
| 4020 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4021 | + | |
| 4022 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 4023 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 4024 | +// eslint-disable-next-line no-prototype-builtins | |
| 4025 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 4026 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 4027 | +}; | |
| 4028 | + | |
| 4029 | + | |
| 4030 | +/***/ }), | |
| 4031 | + | |
| 4032 | +/***/ "../node_modules/core-js/modules/_is-array.js": | |
| 4033 | +/*!****************************************************!*\ | |
| 4034 | + !*** ../node_modules/core-js/modules/_is-array.js ***! | |
| 4035 | + \****************************************************/ | |
| 4036 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4037 | + | |
| 4038 | +// 7.2.2 IsArray(argument) | |
| 4039 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 4040 | +module.exports = Array.isArray || function isArray(arg) { | |
| 4041 | + return cof(arg) == 'Array'; | |
| 4042 | +}; | |
| 4043 | + | |
| 4044 | + | |
| 4045 | +/***/ }), | |
| 4046 | + | |
| 4047 | +/***/ "../node_modules/core-js/modules/_is-object.js": | |
| 4048 | +/*!*****************************************************!*\ | |
| 4049 | + !*** ../node_modules/core-js/modules/_is-object.js ***! | |
| 4050 | + \*****************************************************/ | |
| 4051 | +/***/ ((module) => { | |
| 4052 | + | |
| 4053 | +module.exports = function (it) { | |
| 4054 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 4055 | +}; | |
| 4056 | + | |
| 4057 | + | |
| 4058 | +/***/ }), | |
| 4059 | + | |
| 4060 | +/***/ "../node_modules/core-js/modules/_is-regexp.js": | |
| 4061 | +/*!*****************************************************!*\ | |
| 4062 | + !*** ../node_modules/core-js/modules/_is-regexp.js ***! | |
| 4063 | + \*****************************************************/ | |
| 4064 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4065 | + | |
| 4066 | +// 7.2.8 IsRegExp(argument) | |
| 4067 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 4068 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 4069 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 4070 | +module.exports = function (it) { | |
| 4071 | + var isRegExp; | |
| 4072 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 4073 | +}; | |
| 4074 | + | |
| 4075 | + | |
| 4076 | +/***/ }), | |
| 4077 | + | |
| 4078 | +/***/ "../node_modules/core-js/modules/_library.js": | |
| 4079 | +/*!***************************************************!*\ | |
| 4080 | + !*** ../node_modules/core-js/modules/_library.js ***! | |
| 4081 | + \***************************************************/ | |
| 4082 | +/***/ ((module) => { | |
| 4083 | + | |
| 4084 | +module.exports = false; | |
| 4085 | + | |
| 4086 | + | |
| 4087 | +/***/ }), | |
| 4088 | + | |
| 4089 | +/***/ "../node_modules/core-js/modules/_object-dp.js": | |
| 4090 | +/*!*****************************************************!*\ | |
| 4091 | + !*** ../node_modules/core-js/modules/_object-dp.js ***! | |
| 4092 | + \*****************************************************/ | |
| 4093 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 4094 | + | |
| 4095 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 4096 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/modules/_ie8-dom-define.js"); | |
| 4097 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/modules/_to-primitive.js"); | |
| 4098 | +var dP = Object.defineProperty; | |
| 4099 | + | |
| 4100 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 4101 | + anObject(O); | |
| 4102 | + P = toPrimitive(P, true); | |
| 4103 | + anObject(Attributes); | |
| 4104 | + if (IE8_DOM_DEFINE) try { | |
| 4105 | + return dP(O, P, Attributes); | |
| 4106 | + } catch (e) { /* empty */ } | |
| 4107 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 4108 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 4109 | + return O; | |
| 4110 | +}; | |
| 4111 | + | |
| 4112 | + | |
| 4113 | +/***/ }), | |
| 4114 | + | |
| 4115 | +/***/ "../node_modules/core-js/modules/_property-desc.js": | |
| 4116 | +/*!*********************************************************!*\ | |
| 4117 | + !*** ../node_modules/core-js/modules/_property-desc.js ***! | |
| 4118 | + \*********************************************************/ | |
| 4119 | +/***/ ((module) => { | |
| 4120 | + | |
| 4121 | +module.exports = function (bitmap, value) { | |
| 4122 | + return { | |
| 4123 | + enumerable: !(bitmap & 1), | |
| 4124 | + configurable: !(bitmap & 2), | |
| 4125 | + writable: !(bitmap & 4), | |
| 4126 | + value: value | |
| 4127 | + }; | |
| 4128 | +}; | |
| 4129 | + | |
| 4130 | + | |
| 4131 | +/***/ }), | |
| 4132 | + | |
| 4133 | +/***/ "../node_modules/core-js/modules/_redefine.js": | |
| 4134 | +/*!****************************************************!*\ | |
| 4135 | + !*** ../node_modules/core-js/modules/_redefine.js ***! | |
| 4136 | + \****************************************************/ | |
| 4137 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4138 | + | |
| 4139 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 4140 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 4141 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 4142 | +var SRC = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js")('src'); | |
| 4143 | +var $toString = __webpack_require__(/*! ./_function-to-string */ "../node_modules/core-js/modules/_function-to-string.js"); | |
| 4144 | +var TO_STRING = 'toString'; | |
| 4145 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 4146 | + | |
| 4147 | +__webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js").inspectSource = function (it) { | |
| 4148 | + return $toString.call(it); | |
| 4149 | +}; | |
| 4150 | + | |
| 4151 | +(module.exports = function (O, key, val, safe) { | |
| 4152 | + var isFunction = typeof val == 'function'; | |
| 4153 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 4154 | + if (O[key] === val) return; | |
| 4155 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 4156 | + if (O === global) { | |
| 4157 | + O[key] = val; | |
| 4158 | + } else if (!safe) { | |
| 4159 | + delete O[key]; | |
| 4160 | + hide(O, key, val); | |
| 4161 | + } else if (O[key]) { | |
| 4162 | + O[key] = val; | |
| 4163 | + } else { | |
| 4164 | + hide(O, key, val); | |
| 4165 | + } | |
| 4166 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 4167 | +})(Function.prototype, TO_STRING, function toString() { | |
| 4168 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 4169 | +}); | |
| 4170 | + | |
| 4171 | + | |
| 4172 | +/***/ }), | |
| 4173 | + | |
| 4174 | +/***/ "../node_modules/core-js/modules/_regexp-exec-abstract.js": | |
| 4175 | +/*!****************************************************************!*\ | |
| 4176 | + !*** ../node_modules/core-js/modules/_regexp-exec-abstract.js ***! | |
| 4177 | + \****************************************************************/ | |
| 4178 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4179 | + | |
| 4180 | +"use strict"; | |
| 4181 | + | |
| 4182 | + | |
| 4183 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 4184 | +var builtinExec = RegExp.prototype.exec; | |
| 4185 | + | |
| 4186 | + // `RegExpExec` abstract operation | |
| 4187 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 4188 | +module.exports = function (R, S) { | |
| 4189 | + var exec = R.exec; | |
| 4190 | + if (typeof exec === 'function') { | |
| 4191 | + var result = exec.call(R, S); | |
| 4192 | + if (typeof result !== 'object') { | |
| 4193 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 4194 | + } | |
| 4195 | + return result; | |
| 4196 | + } | |
| 4197 | + if (classof(R) !== 'RegExp') { | |
| 4198 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 4199 | + } | |
| 4200 | + return builtinExec.call(R, S); | |
| 4201 | +}; | |
| 4202 | + | |
| 4203 | + | |
| 4204 | +/***/ }), | |
| 4205 | + | |
| 4206 | +/***/ "../node_modules/core-js/modules/_regexp-exec.js": | |
| 4207 | +/*!*******************************************************!*\ | |
| 4208 | + !*** ../node_modules/core-js/modules/_regexp-exec.js ***! | |
| 4209 | + \*******************************************************/ | |
| 4210 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4211 | + | |
| 4212 | +"use strict"; | |
| 4213 | + | |
| 4214 | + | |
| 4215 | +var regexpFlags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 4216 | + | |
| 4217 | +var nativeExec = RegExp.prototype.exec; | |
| 4218 | +// This always refers to the native implementation, because the | |
| 4219 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 4220 | +// which loads this file before patching the method. | |
| 4221 | +var nativeReplace = String.prototype.replace; | |
| 4222 | + | |
| 4223 | +var patchedExec = nativeExec; | |
| 4224 | + | |
| 4225 | +var LAST_INDEX = 'lastIndex'; | |
| 4226 | + | |
| 4227 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 4228 | + var re1 = /a/, | |
| 4229 | + re2 = /b*/g; | |
| 4230 | + nativeExec.call(re1, 'a'); | |
| 4231 | + nativeExec.call(re2, 'a'); | |
| 4232 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 4233 | +})(); | |
| 4234 | + | |
| 4235 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 4236 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 4237 | + | |
| 4238 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 4239 | + | |
| 4240 | +if (PATCH) { | |
| 4241 | + patchedExec = function exec(str) { | |
| 4242 | + var re = this; | |
| 4243 | + var lastIndex, reCopy, match, i; | |
| 4244 | + | |
| 4245 | + if (NPCG_INCLUDED) { | |
| 4246 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 4247 | + } | |
| 4248 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 4249 | + | |
| 4250 | + match = nativeExec.call(re, str); | |
| 4251 | + | |
| 4252 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 4253 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 4254 | + } | |
| 4255 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 4256 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 4257 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 4258 | + // eslint-disable-next-line no-loop-func | |
| 4259 | + nativeReplace.call(match[0], reCopy, function () { | |
| 4260 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 4261 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 4262 | + } | |
| 4263 | + }); | |
| 4264 | + } | |
| 4265 | + | |
| 4266 | + return match; | |
| 4267 | + }; | |
| 4268 | +} | |
| 4269 | + | |
| 4270 | +module.exports = patchedExec; | |
| 4271 | + | |
| 4272 | + | |
| 4273 | +/***/ }), | |
| 4274 | + | |
| 4275 | +/***/ "../node_modules/core-js/modules/_same-value.js": | |
| 4276 | +/*!******************************************************!*\ | |
| 4277 | + !*** ../node_modules/core-js/modules/_same-value.js ***! | |
| 4278 | + \******************************************************/ | |
| 4279 | +/***/ ((module) => { | |
| 4280 | + | |
| 4281 | +// 7.2.9 SameValue(x, y) | |
| 4282 | +module.exports = Object.is || function is(x, y) { | |
| 4283 | + // eslint-disable-next-line no-self-compare | |
| 4284 | + return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; | |
| 4285 | +}; | |
| 4286 | + | |
| 4287 | + | |
| 4288 | +/***/ }), | |
| 4289 | + | |
| 4290 | +/***/ "../node_modules/core-js/modules/_shared.js": | |
| 4291 | +/*!**************************************************!*\ | |
| 4292 | + !*** ../node_modules/core-js/modules/_shared.js ***! | |
| 4293 | + \**************************************************/ | |
| 4294 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4295 | + | |
| 4296 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 4297 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 4298 | +var SHARED = '__core-js_shared__'; | |
| 4299 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 4300 | + | |
| 4301 | +(module.exports = function (key, value) { | |
| 4302 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 4303 | +})('versions', []).push({ | |
| 4304 | + version: core.version, | |
| 4305 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js") ? 'pure' : 'global', | |
| 4306 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 4307 | +}); | |
| 4308 | + | |
| 4309 | + | |
| 4310 | +/***/ }), | |
| 4311 | + | |
| 4312 | +/***/ "../node_modules/core-js/modules/_species-constructor.js": | |
| 4313 | +/*!***************************************************************!*\ | |
| 4314 | + !*** ../node_modules/core-js/modules/_species-constructor.js ***! | |
| 4315 | + \***************************************************************/ | |
| 4316 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4317 | + | |
| 4318 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 4319 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 4320 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 4321 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 4322 | +module.exports = function (O, D) { | |
| 4323 | + var C = anObject(O).constructor; | |
| 4324 | + var S; | |
| 4325 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 4326 | +}; | |
| 4327 | + | |
| 4328 | + | |
| 4329 | +/***/ }), | |
| 4330 | + | |
| 4331 | +/***/ "../node_modules/core-js/modules/_strict-method.js": | |
| 4332 | +/*!*********************************************************!*\ | |
| 4333 | + !*** ../node_modules/core-js/modules/_strict-method.js ***! | |
| 4334 | + \*********************************************************/ | |
| 4335 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4336 | + | |
| 4337 | +"use strict"; | |
| 4338 | + | |
| 4339 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 4340 | + | |
| 4341 | +module.exports = function (method, arg) { | |
| 4342 | + return !!method && fails(function () { | |
| 4343 | + // eslint-disable-next-line no-useless-call | |
| 4344 | + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); | |
| 4345 | + }); | |
| 4346 | +}; | |
| 4347 | + | |
| 4348 | + | |
| 4349 | +/***/ }), | |
| 4350 | + | |
| 4351 | +/***/ "../node_modules/core-js/modules/_string-at.js": | |
| 4352 | +/*!*****************************************************!*\ | |
| 4353 | + !*** ../node_modules/core-js/modules/_string-at.js ***! | |
| 4354 | + \*****************************************************/ | |
| 4355 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4356 | + | |
| 4357 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 4358 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 4359 | +// true -> String#at | |
| 4360 | +// false -> String#codePointAt | |
| 4361 | +module.exports = function (TO_STRING) { | |
| 4362 | + return function (that, pos) { | |
| 4363 | + var s = String(defined(that)); | |
| 4364 | + var i = toInteger(pos); | |
| 4365 | + var l = s.length; | |
| 4366 | + var a, b; | |
| 4367 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 4368 | + a = s.charCodeAt(i); | |
| 4369 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 4370 | + ? TO_STRING ? s.charAt(i) : a | |
| 4371 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 4372 | + }; | |
| 4373 | +}; | |
| 4374 | + | |
| 4375 | + | |
| 4376 | +/***/ }), | |
| 4377 | + | |
| 4378 | +/***/ "../node_modules/core-js/modules/_string-context.js": | |
| 4379 | +/*!**********************************************************!*\ | |
| 4380 | + !*** ../node_modules/core-js/modules/_string-context.js ***! | |
| 4381 | + \**********************************************************/ | |
| 4382 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4383 | + | |
| 4384 | +// helper for String#{startsWith, endsWith, includes} | |
| 4385 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 4386 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 4387 | + | |
| 4388 | +module.exports = function (that, searchString, NAME) { | |
| 4389 | + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); | |
| 4390 | + return String(defined(that)); | |
| 4391 | +}; | |
| 4392 | + | |
| 4393 | + | |
| 4394 | +/***/ }), | |
| 4395 | + | |
| 4396 | +/***/ "../node_modules/core-js/modules/_to-absolute-index.js": | |
| 4397 | +/*!*************************************************************!*\ | |
| 4398 | + !*** ../node_modules/core-js/modules/_to-absolute-index.js ***! | |
| 4399 | + \*************************************************************/ | |
| 4400 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4401 | + | |
| 4402 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 4403 | +var max = Math.max; | |
| 4404 | +var min = Math.min; | |
| 4405 | +module.exports = function (index, length) { | |
| 4406 | + index = toInteger(index); | |
| 4407 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 4408 | +}; | |
| 4409 | + | |
| 4410 | + | |
| 4411 | +/***/ }), | |
| 4412 | + | |
| 4413 | +/***/ "../node_modules/core-js/modules/_to-integer.js": | |
| 4414 | +/*!******************************************************!*\ | |
| 4415 | + !*** ../node_modules/core-js/modules/_to-integer.js ***! | |
| 4416 | + \******************************************************/ | |
| 4417 | +/***/ ((module) => { | |
| 4418 | + | |
| 4419 | +// 7.1.4 ToInteger | |
| 4420 | +var ceil = Math.ceil; | |
| 4421 | +var floor = Math.floor; | |
| 4422 | +module.exports = function (it) { | |
| 4423 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 4424 | +}; | |
| 4425 | + | |
| 4426 | + | |
| 4427 | +/***/ }), | |
| 4428 | + | |
| 4429 | +/***/ "../node_modules/core-js/modules/_to-iobject.js": | |
| 4430 | +/*!******************************************************!*\ | |
| 4431 | + !*** ../node_modules/core-js/modules/_to-iobject.js ***! | |
| 4432 | + \******************************************************/ | |
| 4433 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4434 | + | |
| 4435 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 4436 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 4437 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 4438 | +module.exports = function (it) { | |
| 4439 | + return IObject(defined(it)); | |
| 4440 | +}; | |
| 4441 | + | |
| 4442 | + | |
| 4443 | +/***/ }), | |
| 4444 | + | |
| 4445 | +/***/ "../node_modules/core-js/modules/_to-length.js": | |
| 4446 | +/*!*****************************************************!*\ | |
| 4447 | + !*** ../node_modules/core-js/modules/_to-length.js ***! | |
| 4448 | + \*****************************************************/ | |
| 4449 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4450 | + | |
| 4451 | +// 7.1.15 ToLength | |
| 4452 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 4453 | +var min = Math.min; | |
| 4454 | +module.exports = function (it) { | |
| 4455 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 4456 | +}; | |
| 4457 | + | |
| 4458 | + | |
| 4459 | +/***/ }), | |
| 4460 | + | |
| 4461 | +/***/ "../node_modules/core-js/modules/_to-object.js": | |
| 4462 | +/*!*****************************************************!*\ | |
| 4463 | + !*** ../node_modules/core-js/modules/_to-object.js ***! | |
| 4464 | + \*****************************************************/ | |
| 4465 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4466 | + | |
| 4467 | +// 7.1.13 ToObject(argument) | |
| 4468 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 4469 | +module.exports = function (it) { | |
| 4470 | + return Object(defined(it)); | |
| 4471 | +}; | |
| 4472 | + | |
| 4473 | + | |
| 4474 | +/***/ }), | |
| 4475 | + | |
| 4476 | +/***/ "../node_modules/core-js/modules/_to-primitive.js": | |
| 4477 | +/*!********************************************************!*\ | |
| 4478 | + !*** ../node_modules/core-js/modules/_to-primitive.js ***! | |
| 4479 | + \********************************************************/ | |
| 4480 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4481 | + | |
| 4482 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 4483 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 4484 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 4485 | +// and the second argument - flag - preferred type is a string | |
| 4486 | +module.exports = function (it, S) { | |
| 4487 | + if (!isObject(it)) return it; | |
| 4488 | + var fn, val; | |
| 4489 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4490 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4491 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 4492 | + throw TypeError("Can't convert object to primitive value"); | |
| 4493 | +}; | |
| 4494 | + | |
| 4495 | + | |
| 4496 | +/***/ }), | |
| 4497 | + | |
| 4498 | +/***/ "../node_modules/core-js/modules/_uid.js": | |
| 4499 | +/*!***********************************************!*\ | |
| 4500 | + !*** ../node_modules/core-js/modules/_uid.js ***! | |
| 4501 | + \***********************************************/ | |
| 4502 | +/***/ ((module) => { | |
| 4503 | + | |
| 4504 | +var id = 0; | |
| 4505 | +var px = Math.random(); | |
| 4506 | +module.exports = function (key) { | |
| 4507 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 4508 | +}; | |
| 4509 | + | |
| 4510 | + | |
| 4511 | +/***/ }), | |
| 4512 | + | |
| 4513 | +/***/ "../node_modules/core-js/modules/_wks.js": | |
| 4514 | +/*!***********************************************!*\ | |
| 4515 | + !*** ../node_modules/core-js/modules/_wks.js ***! | |
| 4516 | + \***********************************************/ | |
| 4517 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4518 | + | |
| 4519 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('wks'); | |
| 4520 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 4521 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").Symbol; | |
| 4522 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 4523 | + | |
| 4524 | +var $exports = module.exports = function (name) { | |
| 4525 | + return store[name] || (store[name] = | |
| 4526 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 4527 | +}; | |
| 4528 | + | |
| 4529 | +$exports.store = store; | |
| 4530 | + | |
| 4531 | + | |
| 4532 | +/***/ }), | |
| 4533 | + | |
| 4534 | +/***/ "../node_modules/core-js/modules/es6.array.filter.js": | |
| 4535 | +/*!***********************************************************!*\ | |
| 4536 | + !*** ../node_modules/core-js/modules/es6.array.filter.js ***! | |
| 4537 | + \***********************************************************/ | |
| 4538 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4539 | + | |
| 4540 | +"use strict"; | |
| 4541 | + | |
| 4542 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 4543 | +var $filter = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/modules/_array-methods.js")(2); | |
| 4544 | + | |
| 4545 | +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "../node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { | |
| 4546 | + // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) | |
| 4547 | + filter: function filter(callbackfn /* , thisArg */) { | |
| 4548 | + return $filter(this, callbackfn, arguments[1]); | |
| 4549 | + } | |
| 4550 | +}); | |
| 4551 | + | |
| 4552 | + | |
| 4553 | +/***/ }), | |
| 4554 | + | |
| 4555 | +/***/ "../node_modules/core-js/modules/es6.array.find.js": | |
| 4556 | +/*!*********************************************************!*\ | |
| 4557 | + !*** ../node_modules/core-js/modules/es6.array.find.js ***! | |
| 4558 | + \*********************************************************/ | |
| 4559 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4560 | + | |
| 4561 | +"use strict"; | |
| 4562 | + | |
| 4563 | +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) | |
| 4564 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 4565 | +var $find = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/modules/_array-methods.js")(5); | |
| 4566 | +var KEY = 'find'; | |
| 4567 | +var forced = true; | |
| 4568 | +// Shouldn't skip holes | |
| 4569 | +if (KEY in []) Array(1)[KEY](function () { forced = false; }); | |
| 4570 | +$export($export.P + $export.F * forced, 'Array', { | |
| 4571 | + find: function find(callbackfn /* , that = undefined */) { | |
| 4572 | + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); | |
| 4573 | + } | |
| 4574 | +}); | |
| 4575 | +__webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js")(KEY); | |
| 4576 | + | |
| 4577 | + | |
| 4578 | +/***/ }), | |
| 4579 | + | |
| 4580 | +/***/ "../node_modules/core-js/modules/es6.array.slice.js": | |
| 4581 | +/*!**********************************************************!*\ | |
| 4582 | + !*** ../node_modules/core-js/modules/es6.array.slice.js ***! | |
| 4583 | + \**********************************************************/ | |
| 4584 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4585 | + | |
| 4586 | +"use strict"; | |
| 4587 | + | |
| 4588 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 4589 | +var html = __webpack_require__(/*! ./_html */ "../node_modules/core-js/modules/_html.js"); | |
| 4590 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 4591 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 4592 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 4593 | +var arraySlice = [].slice; | |
| 4594 | + | |
| 4595 | +// fallback for not array-like ES3 strings and DOM objects | |
| 4596 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 4597 | + if (html) arraySlice.call(html); | |
| 4598 | +}), 'Array', { | |
| 4599 | + slice: function slice(begin, end) { | |
| 4600 | + var len = toLength(this.length); | |
| 4601 | + var klass = cof(this); | |
| 4602 | + end = end === undefined ? len : end; | |
| 4603 | + if (klass == 'Array') return arraySlice.call(this, begin, end); | |
| 4604 | + var start = toAbsoluteIndex(begin, len); | |
| 4605 | + var upTo = toAbsoluteIndex(end, len); | |
| 4606 | + var size = toLength(upTo - start); | |
| 4607 | + var cloned = new Array(size); | |
| 4608 | + var i = 0; | |
| 4609 | + for (; i < size; i++) cloned[i] = klass == 'String' | |
| 4610 | + ? this.charAt(start + i) | |
| 4611 | + : this[start + i]; | |
| 4612 | + return cloned; | |
| 4613 | + } | |
| 4614 | +}); | |
| 4615 | + | |
| 4616 | + | |
| 4617 | +/***/ }), | |
| 4618 | + | |
| 4619 | +/***/ "../node_modules/core-js/modules/es6.object.to-string.js": | |
| 4620 | +/*!***************************************************************!*\ | |
| 4621 | + !*** ../node_modules/core-js/modules/es6.object.to-string.js ***! | |
| 4622 | + \***************************************************************/ | |
| 4623 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4624 | + | |
| 4625 | +"use strict"; | |
| 4626 | + | |
| 4627 | +// 19.1.3.6 Object.prototype.toString() | |
| 4628 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 4629 | +var test = {}; | |
| 4630 | +test[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; | |
| 4631 | +if (test + '' != '[object z]') { | |
| 4632 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { | |
| 4633 | + return '[object ' + classof(this) + ']'; | |
| 4634 | + }, true); | |
| 4635 | +} | |
| 4636 | + | |
| 4637 | + | |
| 4638 | +/***/ }), | |
| 4639 | + | |
| 4640 | +/***/ "../node_modules/core-js/modules/es6.regexp.exec.js": | |
| 4641 | +/*!**********************************************************!*\ | |
| 4642 | + !*** ../node_modules/core-js/modules/es6.regexp.exec.js ***! | |
| 4643 | + \**********************************************************/ | |
| 4644 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4645 | + | |
| 4646 | +"use strict"; | |
| 4647 | + | |
| 4648 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 4649 | +__webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js")({ | |
| 4650 | + target: 'RegExp', | |
| 4651 | + proto: true, | |
| 4652 | + forced: regexpExec !== /./.exec | |
| 4653 | +}, { | |
| 4654 | + exec: regexpExec | |
| 4655 | +}); | |
| 4656 | + | |
| 4657 | + | |
| 4658 | +/***/ }), | |
| 4659 | + | |
| 4660 | +/***/ "../node_modules/core-js/modules/es6.regexp.flags.js": | |
| 4661 | +/*!***********************************************************!*\ | |
| 4662 | + !*** ../node_modules/core-js/modules/es6.regexp.flags.js ***! | |
| 4663 | + \***********************************************************/ | |
| 4664 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4665 | + | |
| 4666 | +// 21.2.5.3 get RegExp.prototype.flags() | |
| 4667 | +if (__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { | |
| 4668 | + configurable: true, | |
| 4669 | + get: __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js") | |
| 4670 | +}); | |
| 4671 | + | |
| 4672 | + | |
| 4673 | +/***/ }), | |
| 4674 | + | |
| 4675 | +/***/ "../node_modules/core-js/modules/es6.regexp.replace.js": | |
| 4676 | +/*!*************************************************************!*\ | |
| 4677 | + !*** ../node_modules/core-js/modules/es6.regexp.replace.js ***! | |
| 4678 | + \*************************************************************/ | |
| 4679 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4680 | + | |
| 4681 | +"use strict"; | |
| 4682 | + | |
| 4683 | + | |
| 4684 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 4685 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 4686 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 4687 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 4688 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 4689 | +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 4690 | +var max = Math.max; | |
| 4691 | +var min = Math.min; | |
| 4692 | +var floor = Math.floor; | |
| 4693 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 4694 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 4695 | + | |
| 4696 | +var maybeToString = function (it) { | |
| 4697 | + return it === undefined ? it : String(it); | |
| 4698 | +}; | |
| 4699 | + | |
| 4700 | +// @@replace logic | |
| 4701 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 4702 | + return [ | |
| 4703 | + // `String.prototype.replace` method | |
| 4704 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 4705 | + function replace(searchValue, replaceValue) { | |
| 4706 | + var O = defined(this); | |
| 4707 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 4708 | + return fn !== undefined | |
| 4709 | + ? fn.call(searchValue, O, replaceValue) | |
| 4710 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 4711 | + }, | |
| 4712 | + // `RegExp.prototype[@@replace]` method | |
| 4713 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 4714 | + function (regexp, replaceValue) { | |
| 4715 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 4716 | + if (res.done) return res.value; | |
| 4717 | + | |
| 4718 | + var rx = anObject(regexp); | |
| 4719 | + var S = String(this); | |
| 4720 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 4721 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 4722 | + var global = rx.global; | |
| 4723 | + if (global) { | |
| 4724 | + var fullUnicode = rx.unicode; | |
| 4725 | + rx.lastIndex = 0; | |
| 4726 | + } | |
| 4727 | + var results = []; | |
| 4728 | + while (true) { | |
| 4729 | + var result = regExpExec(rx, S); | |
| 4730 | + if (result === null) break; | |
| 4731 | + results.push(result); | |
| 4732 | + if (!global) break; | |
| 4733 | + var matchStr = String(result[0]); | |
| 4734 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 4735 | + } | |
| 4736 | + var accumulatedResult = ''; | |
| 4737 | + var nextSourcePosition = 0; | |
| 4738 | + for (var i = 0; i < results.length; i++) { | |
| 4739 | + result = results[i]; | |
| 4740 | + var matched = String(result[0]); | |
| 4741 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 4742 | + var captures = []; | |
| 4743 | + // NOTE: This is equivalent to | |
| 4744 | + // captures = result.slice(1).map(maybeToString) | |
| 4745 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 4746 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 4747 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 4748 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 4749 | + var namedCaptures = result.groups; | |
| 4750 | + if (functionalReplace) { | |
| 4751 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 4752 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 4753 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 4754 | + } else { | |
| 4755 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 4756 | + } | |
| 4757 | + if (position >= nextSourcePosition) { | |
| 4758 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 4759 | + nextSourcePosition = position + matched.length; | |
| 4760 | + } | |
| 4761 | + } | |
| 4762 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 4763 | + } | |
| 4764 | + ]; | |
| 4765 | + | |
| 4766 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 4767 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 4768 | + var tailPos = position + matched.length; | |
| 4769 | + var m = captures.length; | |
| 4770 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 4771 | + if (namedCaptures !== undefined) { | |
| 4772 | + namedCaptures = toObject(namedCaptures); | |
| 4773 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 4774 | + } | |
| 4775 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 4776 | + var capture; | |
| 4777 | + switch (ch.charAt(0)) { | |
| 4778 | + case '$': return '$'; | |
| 4779 | + case '&': return matched; | |
| 4780 | + case '`': return str.slice(0, position); | |
| 4781 | + case "'": return str.slice(tailPos); | |
| 4782 | + case '<': | |
| 4783 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 4784 | + break; | |
| 4785 | + default: // \d\d? | |
| 4786 | + var n = +ch; | |
| 4787 | + if (n === 0) return match; | |
| 4788 | + if (n > m) { | |
| 4789 | + var f = floor(n / 10); | |
| 4790 | + if (f === 0) return match; | |
| 4791 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 4792 | + return match; | |
| 4793 | + } | |
| 4794 | + capture = captures[n - 1]; | |
| 4795 | + } | |
| 4796 | + return capture === undefined ? '' : capture; | |
| 4797 | + }); | |
| 4798 | + } | |
| 4799 | +}); | |
| 4800 | + | |
| 4801 | + | |
| 4802 | +/***/ }), | |
| 4803 | + | |
| 4804 | +/***/ "../node_modules/core-js/modules/es6.regexp.search.js": | |
| 4805 | +/*!************************************************************!*\ | |
| 4806 | + !*** ../node_modules/core-js/modules/es6.regexp.search.js ***! | |
| 4807 | + \************************************************************/ | |
| 4808 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4809 | + | |
| 4810 | +"use strict"; | |
| 4811 | + | |
| 4812 | + | |
| 4813 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 4814 | +var sameValue = __webpack_require__(/*! ./_same-value */ "../node_modules/core-js/modules/_same-value.js"); | |
| 4815 | +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 4816 | + | |
| 4817 | +// @@search logic | |
| 4818 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('search', 1, function (defined, SEARCH, $search, maybeCallNative) { | |
| 4819 | + return [ | |
| 4820 | + // `String.prototype.search` method | |
| 4821 | + // https://tc39.github.io/ecma262/#sec-string.prototype.search | |
| 4822 | + function search(regexp) { | |
| 4823 | + var O = defined(this); | |
| 4824 | + var fn = regexp == undefined ? undefined : regexp[SEARCH]; | |
| 4825 | + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); | |
| 4826 | + }, | |
| 4827 | + // `RegExp.prototype[@@search]` method | |
| 4828 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search | |
| 4829 | + function (regexp) { | |
| 4830 | + var res = maybeCallNative($search, regexp, this); | |
| 4831 | + if (res.done) return res.value; | |
| 4832 | + var rx = anObject(regexp); | |
| 4833 | + var S = String(this); | |
| 4834 | + var previousLastIndex = rx.lastIndex; | |
| 4835 | + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; | |
| 4836 | + var result = regExpExec(rx, S); | |
| 4837 | + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; | |
| 4838 | + return result === null ? -1 : result.index; | |
| 4839 | + } | |
| 4840 | + ]; | |
| 4841 | +}); | |
| 4842 | + | |
| 4843 | + | |
| 4844 | +/***/ }), | |
| 4845 | + | |
| 4846 | +/***/ "../node_modules/core-js/modules/es6.regexp.split.js": | |
| 4847 | +/*!***********************************************************!*\ | |
| 4848 | + !*** ../node_modules/core-js/modules/es6.regexp.split.js ***! | |
| 4849 | + \***********************************************************/ | |
| 4850 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4851 | + | |
| 4852 | +"use strict"; | |
| 4853 | + | |
| 4854 | + | |
| 4855 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 4856 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 4857 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/modules/_species-constructor.js"); | |
| 4858 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 4859 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 4860 | +var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 4861 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 4862 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 4863 | +var $min = Math.min; | |
| 4864 | +var $push = [].push; | |
| 4865 | +var $SPLIT = 'split'; | |
| 4866 | +var LENGTH = 'length'; | |
| 4867 | +var LAST_INDEX = 'lastIndex'; | |
| 4868 | +var MAX_UINT32 = 0xffffffff; | |
| 4869 | + | |
| 4870 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 4871 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 4872 | + | |
| 4873 | +// @@split logic | |
| 4874 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 4875 | + var internalSplit; | |
| 4876 | + if ( | |
| 4877 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 4878 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 4879 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 4880 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 4881 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 4882 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 4883 | + ) { | |
| 4884 | + // based on es5-shim implementation, need to rework it | |
| 4885 | + internalSplit = function (separator, limit) { | |
| 4886 | + var string = String(this); | |
| 4887 | + if (separator === undefined && limit === 0) return []; | |
| 4888 | + // If `separator` is not a regex, use native split | |
| 4889 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 4890 | + var output = []; | |
| 4891 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 4892 | + (separator.multiline ? 'm' : '') + | |
| 4893 | + (separator.unicode ? 'u' : '') + | |
| 4894 | + (separator.sticky ? 'y' : ''); | |
| 4895 | + var lastLastIndex = 0; | |
| 4896 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 4897 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 4898 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 4899 | + var match, lastIndex, lastLength; | |
| 4900 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 4901 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 4902 | + if (lastIndex > lastLastIndex) { | |
| 4903 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 4904 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 4905 | + lastLength = match[0][LENGTH]; | |
| 4906 | + lastLastIndex = lastIndex; | |
| 4907 | + if (output[LENGTH] >= splitLimit) break; | |
| 4908 | + } | |
| 4909 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 4910 | + } | |
| 4911 | + if (lastLastIndex === string[LENGTH]) { | |
| 4912 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 4913 | + } else output.push(string.slice(lastLastIndex)); | |
| 4914 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 4915 | + }; | |
| 4916 | + // Chakra, V8 | |
| 4917 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 4918 | + internalSplit = function (separator, limit) { | |
| 4919 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 4920 | + }; | |
| 4921 | + } else { | |
| 4922 | + internalSplit = $split; | |
| 4923 | + } | |
| 4924 | + | |
| 4925 | + return [ | |
| 4926 | + // `String.prototype.split` method | |
| 4927 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 4928 | + function split(separator, limit) { | |
| 4929 | + var O = defined(this); | |
| 4930 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 4931 | + return splitter !== undefined | |
| 4932 | + ? splitter.call(separator, O, limit) | |
| 4933 | + : internalSplit.call(String(O), separator, limit); | |
| 4934 | + }, | |
| 4935 | + // `RegExp.prototype[@@split]` method | |
| 4936 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 4937 | + // | |
| 4938 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 4939 | + // the 'y' flag. | |
| 4940 | + function (regexp, limit) { | |
| 4941 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 4942 | + if (res.done) return res.value; | |
| 4943 | + | |
| 4944 | + var rx = anObject(regexp); | |
| 4945 | + var S = String(this); | |
| 4946 | + var C = speciesConstructor(rx, RegExp); | |
| 4947 | + | |
| 4948 | + var unicodeMatching = rx.unicode; | |
| 4949 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 4950 | + (rx.multiline ? 'm' : '') + | |
| 4951 | + (rx.unicode ? 'u' : '') + | |
| 4952 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 4953 | + | |
| 4954 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 4955 | + // simulate the 'y' flag. | |
| 4956 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 4957 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 4958 | + if (lim === 0) return []; | |
| 4959 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 4960 | + var p = 0; | |
| 4961 | + var q = 0; | |
| 4962 | + var A = []; | |
| 4963 | + while (q < S.length) { | |
| 4964 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 4965 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 4966 | + var e; | |
| 4967 | + if ( | |
| 4968 | + z === null || | |
| 4969 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 4970 | + ) { | |
| 4971 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 4972 | + } else { | |
| 4973 | + A.push(S.slice(p, q)); | |
| 4974 | + if (A.length === lim) return A; | |
| 4975 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 4976 | + A.push(z[i]); | |
| 4977 | + if (A.length === lim) return A; | |
| 4978 | + } | |
| 4979 | + q = p = e; | |
| 4980 | + } | |
| 4981 | + } | |
| 4982 | + A.push(S.slice(p)); | |
| 4983 | + return A; | |
| 4984 | + } | |
| 4985 | + ]; | |
| 4986 | +}); | |
| 4987 | + | |
| 4988 | + | |
| 4989 | +/***/ }), | |
| 4990 | + | |
| 4991 | +/***/ "../node_modules/core-js/modules/es6.regexp.to-string.js": | |
| 4992 | +/*!***************************************************************!*\ | |
| 4993 | + !*** ../node_modules/core-js/modules/es6.regexp.to-string.js ***! | |
| 4994 | + \***************************************************************/ | |
| 4995 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 4996 | + | |
| 4997 | +"use strict"; | |
| 4998 | + | |
| 4999 | +__webpack_require__(/*! ./es6.regexp.flags */ "../node_modules/core-js/modules/es6.regexp.flags.js"); | |
| 5000 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 5001 | +var $flags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 5002 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js"); | |
| 5003 | +var TO_STRING = 'toString'; | |
| 5004 | +var $toString = /./[TO_STRING]; | |
| 5005 | + | |
| 5006 | +var define = function (fn) { | |
| 5007 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); | |
| 5008 | +}; | |
| 5009 | + | |
| 5010 | +// 21.2.5.14 RegExp.prototype.toString() | |
| 5011 | +if (__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { | |
| 5012 | + define(function toString() { | |
| 5013 | + var R = anObject(this); | |
| 5014 | + return '/'.concat(R.source, '/', | |
| 5015 | + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); | |
| 5016 | + }); | |
| 5017 | +// FF44- RegExp#toString has a wrong name | |
| 5018 | +} else if ($toString.name != TO_STRING) { | |
| 5019 | + define(function toString() { | |
| 5020 | + return $toString.call(this); | |
| 5021 | + }); | |
| 5022 | +} | |
| 5023 | + | |
| 5024 | + | |
| 5025 | +/***/ }), | |
| 5026 | + | |
| 5027 | +/***/ "../node_modules/core-js/modules/es6.string.includes.js": | |
| 5028 | +/*!**************************************************************!*\ | |
| 5029 | + !*** ../node_modules/core-js/modules/es6.string.includes.js ***! | |
| 5030 | + \**************************************************************/ | |
| 5031 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 5032 | + | |
| 5033 | +"use strict"; | |
| 5034 | +// 21.1.3.7 String.prototype.includes(searchString, position = 0) | |
| 5035 | + | |
| 5036 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 5037 | +var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); | |
| 5038 | +var INCLUDES = 'includes'; | |
| 5039 | + | |
| 5040 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { | |
| 5041 | + includes: function includes(searchString /* , position = 0 */) { | |
| 5042 | + return !!~context(this, searchString, INCLUDES) | |
| 5043 | + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); | |
| 5044 | + } | |
| 5045 | +}); | |
| 5046 | + | |
| 5047 | + | |
| 5048 | +/***/ }), | |
| 5049 | + | |
| 5050 | +/***/ "../node_modules/core-js/modules/es7.array.includes.js": | |
| 5051 | +/*!*************************************************************!*\ | |
| 5052 | + !*** ../node_modules/core-js/modules/es7.array.includes.js ***! | |
| 5053 | + \*************************************************************/ | |
| 5054 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 5055 | + | |
| 5056 | +"use strict"; | |
| 5057 | + | |
| 5058 | +// https://github.com/tc39/Array.prototype.includes | |
| 5059 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 5060 | +var $includes = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/modules/_array-includes.js")(true); | |
| 5061 | + | |
| 5062 | +$export($export.P, 'Array', { | |
| 5063 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 5064 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 5065 | + } | |
| 5066 | +}); | |
| 5067 | + | |
| 5068 | +__webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js")('includes'); | |
| 5069 | + | |
| 5070 | + | |
| 5071 | +/***/ }), | |
| 5072 | + | |
| 5073 | +/***/ "@wordpress/i18n": | |
| 5074 | +/*!**************************!*\ | |
| 5075 | + !*** external "wp.i18n" ***! | |
| 5076 | + \**************************/ | |
| 5077 | +/***/ ((module) => { | |
| 5078 | + | |
| 5079 | +"use strict"; | |
| 5080 | +module.exports = wp.i18n; | |
| 5081 | + | |
| 5082 | +/***/ }) | |
| 5083 | + | |
| 5084 | +/******/ }); | |
| 5085 | +/************************************************************************/ | |
| 5086 | +/******/ // The module cache | |
| 5087 | +/******/ var __webpack_module_cache__ = {}; | |
| 5088 | +/******/ | |
| 5089 | +/******/ // The require function | |
| 5090 | +/******/ function __webpack_require__(moduleId) { | |
| 5091 | +/******/ // Check if module is in cache | |
| 5092 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 5093 | +/******/ if (cachedModule !== undefined) { | |
| 5094 | +/******/ return cachedModule.exports; | |
| 5095 | +/******/ } | |
| 5096 | +/******/ // Create a new module (and put it into the cache) | |
| 5097 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 5098 | +/******/ // no module.id needed | |
| 5099 | +/******/ // no module.loaded needed | |
| 5100 | +/******/ exports: {} | |
| 5101 | +/******/ }; | |
| 5102 | +/******/ | |
| 5103 | +/******/ // Execute the module function | |
| 5104 | +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
| 5105 | +/******/ | |
| 5106 | +/******/ // Return the exports of the module | |
| 5107 | +/******/ return module.exports; | |
| 5108 | +/******/ } | |
| 5109 | +/******/ | |
| 5110 | +/************************************************************************/ | |
| 5111 | +var __webpack_exports__ = {}; | |
| 5112 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 5113 | +(() => { | |
| 5114 | +"use strict"; | |
| 5115 | +/*!***************************************!*\ | |
| 5116 | + !*** ../assets/dev/js/admin/admin.js ***! | |
| 5117 | + \***************************************/ | |
| 5118 | +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; | |
| 5119 | + | |
| 5120 | + | |
| 5121 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 5122 | + | |
| 5123 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/slicedToArray */ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js")); | |
| 5124 | + | |
| 5125 | +var _entries = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/entries */ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js")); | |
| 5126 | + | |
| 5127 | +__webpack_require__(/*! core-js/modules/es6.array.find.js */ "../node_modules/core-js/modules/es6.array.find.js"); | |
| 5128 | + | |
| 5129 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 5130 | + | |
| 5131 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 5132 | + | |
| 5133 | +__webpack_require__(/*! core-js/modules/es6.regexp.search.js */ "../node_modules/core-js/modules/es6.regexp.search.js"); | |
| 5134 | + | |
| 5135 | +__webpack_require__(/*! core-js/modules/es6.regexp.replace.js */ "../node_modules/core-js/modules/es6.regexp.replace.js"); | |
| 5136 | + | |
| 5137 | +__webpack_require__(/*! core-js/modules/es6.array.slice.js */ "../node_modules/core-js/modules/es6.array.slice.js"); | |
| 5138 | + | |
| 5139 | +var _module = _interopRequireDefault(__webpack_require__(/*! elementor/modules/landing-pages/assets/js/admin/module */ "../modules/landing-pages/assets/js/admin/module.js")); | |
| 5140 | + | |
| 5141 | +var _module2 = _interopRequireDefault(__webpack_require__(/*! elementor/core/experiments/assets/js/admin/module */ "../core/experiments/assets/js/admin/module.js")); | |
| 5142 | + | |
| 5143 | +var _environment = _interopRequireDefault(__webpack_require__(/*! ../../../../core/common/assets/js/utils/environment */ "../core/common/assets/js/utils/environment.js")); | |
| 5144 | + | |
| 5145 | +(function ($) { | |
| 5146 | + var ElementorAdmin = elementorModules.ViewModule.extend({ | |
| 5147 | + maintenanceMode: null, | |
| 5148 | + config: elementorAdminConfig, | |
| 5149 | + getDefaultElements: function getDefaultElements() { | |
| 5150 | + var elements = { | |
| 5151 | + $switchMode: $('#elementor-switch-mode'), | |
| 5152 | + $goToEditLink: $('#elementor-go-to-edit-page-link'), | |
| 5153 | + $switchModeInput: $('#elementor-switch-mode-input'), | |
| 5154 | + $switchModeButton: $('#elementor-switch-mode-button'), | |
| 5155 | + $elementorLoader: $('.elementor-loader'), | |
| 5156 | + $builderEditor: $('#elementor-editor'), | |
| 5157 | + $importButton: $('#elementor-import-template-trigger'), | |
| 5158 | + $importArea: $('#elementor-import-template-area'), | |
| 5159 | + $settingsForm: $('#elementor-settings-form'), | |
| 5160 | + $settingsTabsWrapper: $('#elementor-settings-tabs-wrapper'), | |
| 5161 | + $menuGetHelpLink: $('a[href="admin.php?page=go_knowledge_base_site"]'), | |
| 5162 | + $reMigrateGlobalsButton: $('.elementor-re-migrate-globals-button') | |
| 5163 | + }; | |
| 5164 | + elements.$settingsFormPages = elements.$settingsForm.find('.elementor-settings-form-page'); | |
| 5165 | + elements.$activeSettingsPage = elements.$settingsFormPages.filter('.elementor-active'); | |
| 5166 | + elements.$settingsTabs = elements.$settingsTabsWrapper.children(); | |
| 5167 | + elements.$activeSettingsTab = elements.$settingsTabs.filter('.nav-tab-active'); | |
| 5168 | + return elements; | |
| 5169 | + }, | |
| 5170 | + toggleStatus: function toggleStatus() { | |
| 5171 | + var isElementorMode = this.isElementorMode(); | |
| 5172 | + elementorCommon.elements.$body.toggleClass('elementor-editor-active', isElementorMode).toggleClass('elementor-editor-inactive', !isElementorMode); | |
| 5173 | + }, | |
| 5174 | + bindEvents: function bindEvents() { | |
| 5175 | + var self = this; | |
| 5176 | + self.elements.$switchModeButton.on('click', function (event) { | |
| 5177 | + event.preventDefault(); | |
| 5178 | + | |
| 5179 | + if (self.isElementorMode()) { | |
| 5180 | + elementorCommon.dialogsManager.createWidget('confirm', { | |
| 5181 | + message: __('Please note that you are switching to WordPress default editor. Your current layout, design and content might break.', 'elementor'), | |
| 5182 | + headerMessage: __('Back to WordPress Editor', 'elementor'), | |
| 5183 | + strings: { | |
| 5184 | + confirm: __('Continue', 'elementor'), | |
| 5185 | + cancel: __('Cancel', 'elementor') | |
| 5186 | + }, | |
| 5187 | + defaultOption: 'confirm', | |
| 5188 | + onConfirm: function onConfirm() { | |
| 5189 | + self.elements.$switchModeInput.val(''); | |
| 5190 | + self.toggleStatus(); | |
| 5191 | + } | |
| 5192 | + }).show(); | |
| 5193 | + } else { | |
| 5194 | + self.elements.$switchModeInput.val(true); | |
| 5195 | + var $wpTitle = $('#title'); | |
| 5196 | + | |
| 5197 | + if (!$wpTitle.val()) { | |
| 5198 | + $wpTitle.val('Elementor #' + $('#post_ID').val()); | |
| 5199 | + } | |
| 5200 | + | |
| 5201 | + if (wp.autosave) { | |
| 5202 | + wp.autosave.server.triggerSave(); | |
| 5203 | + } | |
| 5204 | + | |
| 5205 | + self.animateLoader(); | |
| 5206 | + $(document).on('heartbeat-tick.autosave', function () { | |
| 5207 | + elementorCommon.elements.$window.off('beforeunload.edit-post'); | |
| 5208 | + location.href = self.elements.$goToEditLink.attr('href'); | |
| 5209 | + }); | |
| 5210 | + self.toggleStatus(); | |
| 5211 | + } | |
| 5212 | + }); | |
| 5213 | + self.elements.$goToEditLink.on('click', function () { | |
| 5214 | + self.animateLoader(); | |
| 5215 | + }); | |
| 5216 | + $('.e-notice--dismissible').on('click', '.e-notice__dismiss, .e-notice-dismiss', function (event) { | |
| 5217 | + event.preventDefault(); | |
| 5218 | + var $wrapperElm = $(this).closest('.e-notice--dismissible'); | |
| 5219 | + $.post(ajaxurl, { | |
| 5220 | + action: 'elementor_set_admin_notice_viewed', | |
| 5221 | + notice_id: $wrapperElm.data('notice_id') | |
| 5222 | + }); | |
| 5223 | + $wrapperElm.fadeTo(100, 0, function () { | |
| 5224 | + $wrapperElm.slideUp(100, function () { | |
| 5225 | + $wrapperElm.remove(); | |
| 5226 | + }); | |
| 5227 | + }); | |
| 5228 | + }); | |
| 5229 | + $('#elementor-clear-cache-button').on('click', function (event) { | |
| 5230 | + event.preventDefault(); | |
| 5231 | + var $thisButton = $(this); | |
| 5232 | + $thisButton.removeClass('success').addClass('loading'); | |
| 5233 | + $.post(ajaxurl, { | |
| 5234 | + action: 'elementor_clear_cache', | |
| 5235 | + _nonce: $thisButton.data('nonce') | |
| 5236 | + }).done(function () { | |
| 5237 | + $thisButton.removeClass('loading').addClass('success'); | |
| 5238 | + }); | |
| 5239 | + }); | |
| 5240 | + $('#elementor-library-sync-button').on('click', function (event) { | |
| 5241 | + event.preventDefault(); | |
| 5242 | + var $thisButton = $(this); | |
| 5243 | + $thisButton.removeClass('success').addClass('loading'); | |
| 5244 | + $.post(ajaxurl, { | |
| 5245 | + action: 'elementor_reset_library', | |
| 5246 | + _nonce: $thisButton.data('nonce') | |
| 5247 | + }).done(function () { | |
| 5248 | + $thisButton.removeClass('loading').addClass('success'); | |
| 5249 | + }); | |
| 5250 | + }); | |
| 5251 | + $('#elementor-recreate-kit-button').on('click', function (event) { | |
| 5252 | + event.preventDefault(); | |
| 5253 | + var $thisButton = $(this); | |
| 5254 | + $thisButton.removeClass('success error').addClass('loading').next('.e-recreate-kit-error-message').remove(); | |
| 5255 | + $.post(ajaxurl, { | |
| 5256 | + action: 'elementor_recreate_kit', | |
| 5257 | + _nonce: $thisButton.data('nonce') | |
| 5258 | + }).done(function () { | |
| 5259 | + $thisButton.removeClass('loading').addClass('success'); | |
| 5260 | + }).fail(function (_ref) { | |
| 5261 | + var _responseJSON$data; | |
| 5262 | + | |
| 5263 | + var responseJSON = _ref.responseJSON; | |
| 5264 | + $thisButton.removeClass('loading').addClass('error'); | |
| 5265 | + | |
| 5266 | + if ((_responseJSON$data = responseJSON.data) !== null && _responseJSON$data !== void 0 && _responseJSON$data.message) { | |
| 5267 | + $thisButton.after("<div class=\"e-recreate-kit-error-message\">".concat(responseJSON.data.message, "</div>")); | |
| 5268 | + } | |
| 5269 | + }); | |
| 5270 | + }); | |
| 5271 | + $('#elementor-replace-url-button').on('click', function (event) { | |
| 5272 | + event.preventDefault(); | |
| 5273 | + var $this = $(this), | |
| 5274 | + $tr = $this.parents('tr'), | |
| 5275 | + $from = $tr.find('[name="from"]'), | |
| 5276 | + $to = $tr.find('[name="to"]'); | |
| 5277 | + $this.removeClass('success').addClass('loading'); | |
| 5278 | + $.post(ajaxurl, { | |
| 5279 | + action: 'elementor_replace_url', | |
| 5280 | + from: $from.val(), | |
| 5281 | + to: $to.val(), | |
| 5282 | + _nonce: $this.data('nonce') | |
| 5283 | + }).done(function (response) { | |
| 5284 | + $this.removeClass('loading'); | |
| 5285 | + | |
| 5286 | + if (response.success) { | |
| 5287 | + $this.addClass('success'); | |
| 5288 | + } | |
| 5289 | + | |
| 5290 | + elementorCommon.dialogsManager.createWidget('alert', { | |
| 5291 | + message: response.data | |
| 5292 | + }).show(); | |
| 5293 | + }); | |
| 5294 | + }); | |
| 5295 | + $('#elementor_upgrade_fa_button').on('click', function (event) { | |
| 5296 | + event.preventDefault(); | |
| 5297 | + var $updateButton = $(this); | |
| 5298 | + $updateButton.addClass('loading'); | |
| 5299 | + elementorCommon.dialogsManager.createWidget('confirm', { | |
| 5300 | + id: 'confirm_fa_migration_admin_modal', | |
| 5301 | + message: __('I understand that by upgrading to Font Awesome 5,', 'elementor') + '<br>' + __('I acknowledge that some changes may affect my website and that this action cannot be undone.', 'elementor'), | |
| 5302 | + headerMessage: __('Font Awesome 5 Migration', 'elementor'), | |
| 5303 | + strings: { | |
| 5304 | + confirm: __('Continue', 'elementor'), | |
| 5305 | + cancel: __('Cancel', 'elementor') | |
| 5306 | + }, | |
| 5307 | + defaultOption: 'confirm', | |
| 5308 | + onConfirm: function onConfirm() { | |
| 5309 | + $updateButton.removeClass('error').addClass('loading'); | |
| 5310 | + $.post(ajaxurl, $updateButton.data()).done(function (response) { | |
| 5311 | + $updateButton.removeClass('loading').addClass('success'); | |
| 5312 | + $('#elementor_upgrade_fa_button').parent().append(response.data.message); | |
| 5313 | + var redirectTo = (location.search.split('redirect_to=')[1] || '').split('&')[0]; | |
| 5314 | + | |
| 5315 | + if (redirectTo) { | |
| 5316 | + location.href = decodeURIComponent(redirectTo); | |
| 5317 | + return; | |
| 5318 | + } | |
| 5319 | + | |
| 5320 | + history.go(-1); | |
| 5321 | + }).fail(function () { | |
| 5322 | + $updateButton.removeClass('loading').addClass('error'); | |
| 5323 | + }); | |
| 5324 | + }, | |
| 5325 | + onCancel: function onCancel() { | |
| 5326 | + $updateButton.removeClass('loading').addClass('error'); | |
| 5327 | + } | |
| 5328 | + }).show(); | |
| 5329 | + }); | |
| 5330 | + self.elements.$settingsTabs.on({ | |
| 5331 | + click: function click(event) { | |
| 5332 | + event.preventDefault(); | |
| 5333 | + event.currentTarget.focus(); // Safari does not focus the tab automatically | |
| 5334 | + }, | |
| 5335 | + focus: function focus() { | |
| 5336 | + // Using focus event to enable navigation by tab key | |
| 5337 | + var hrefWithoutHash = location.href.replace(/#.*/, ''); | |
| 5338 | + history.pushState({}, '', hrefWithoutHash + this.hash); | |
| 5339 | + self.goToSettingsTabFromHash(); | |
| 5340 | + } | |
| 5341 | + }); | |
| 5342 | + $('select.elementor-rollback-select').on('change', function () { | |
| 5343 | + var $this = $(this), | |
| 5344 | + $rollbackButton = $this.next('.elementor-rollback-button'), | |
| 5345 | + placeholderText = $rollbackButton.data('placeholder-text'), | |
| 5346 | + placeholderUrl = $rollbackButton.data('placeholder-url'); | |
| 5347 | + $rollbackButton.html(placeholderText.replace('{VERSION}', $this.val())); | |
| 5348 | + $rollbackButton.attr('href', placeholderUrl.replace('VERSION', $this.val())); | |
| 5349 | + }).trigger('change'); | |
| 5350 | + $('.elementor-rollback-button').on('click', function (event) { | |
| 5351 | + event.preventDefault(); | |
| 5352 | + var $this = $(this); | |
| 5353 | + elementorCommon.dialogsManager.createWidget('confirm', { | |
| 5354 | + headerMessage: __('Rollback to Previous Version', 'elementor'), | |
| 5355 | + message: __('Are you sure you want to reinstall previous version?', 'elementor'), | |
| 5356 | + strings: { | |
| 5357 | + confirm: __('Continue', 'elementor'), | |
| 5358 | + cancel: __('Cancel', 'elementor') | |
| 5359 | + }, | |
| 5360 | + onConfirm: function onConfirm() { | |
| 5361 | + $this.addClass('loading'); | |
| 5362 | + location.href = $this.attr('href'); | |
| 5363 | + } | |
| 5364 | + }).show(); | |
| 5365 | + }); | |
| 5366 | + self.elements.$reMigrateGlobalsButton.on('click', function (event) { | |
| 5367 | + event.preventDefault(); | |
| 5368 | + var $this = $(event.currentTarget); | |
| 5369 | + elementorCommon.dialogsManager.createWidget('confirm', { | |
| 5370 | + headerMessage: __('Migrate to v3.0', 'elementor'), | |
| 5371 | + message: __('Please note that this process will revert all changes made to Global Colors and Fonts since upgrading to v3.x.', 'elementor'), | |
| 5372 | + strings: { | |
| 5373 | + confirm: __('Continue', 'elementor'), | |
| 5374 | + cancel: __('Cancel', 'elementor') | |
| 5375 | + }, | |
| 5376 | + onConfirm: function onConfirm() { | |
| 5377 | + $this.removeClass('success').addClass('loading'); | |
| 5378 | + elementorCommon.ajax.addRequest('re_migrate_globals', { | |
| 5379 | + success: function success() { | |
| 5380 | + return $this.removeClass('loading').addClass('success'); | |
| 5381 | + } | |
| 5382 | + }); | |
| 5383 | + } | |
| 5384 | + }).show(); | |
| 5385 | + }); | |
| 5386 | + $('.elementor_css_print_method select').on('change', function () { | |
| 5387 | + var $descriptions = $('.elementor-css-print-method-description'); | |
| 5388 | + $descriptions.hide(); | |
| 5389 | + $descriptions.filter('[data-value="' + $(this).val() + '"]').show(); | |
| 5390 | + }).trigger('change'); | |
| 5391 | + }, | |
| 5392 | + onInit: function onInit() { | |
| 5393 | + elementorModules.ViewModule.prototype.onInit.apply(this, arguments); | |
| 5394 | + this.initTemplatesImport(); | |
| 5395 | + this.initMaintenanceMode(); | |
| 5396 | + this.goToSettingsTabFromHash(); | |
| 5397 | + this.openGetHelpInNewTab(); | |
| 5398 | + this.addUserAgentClasses(); | |
| 5399 | + this.roleManager.init(); | |
| 5400 | + | |
| 5401 | + if (elementorCommon.config.experimentalFeatures['landing-pages']) { | |
| 5402 | + new _module.default(); | |
| 5403 | + } | |
| 5404 | + | |
| 5405 | + new _module2.default(); | |
| 5406 | + }, | |
| 5407 | + addUserAgentClasses: function addUserAgentClasses() { | |
| 5408 | + var body = document.querySelector('body'); | |
| 5409 | + (0, _entries.default)(_environment.default).forEach(function (_ref2) { | |
| 5410 | + var _ref3 = (0, _slicedToArray2.default)(_ref2, 2), | |
| 5411 | + key = _ref3[0], | |
| 5412 | + value = _ref3[1]; | |
| 5413 | + | |
| 5414 | + if (!value) { | |
| 5415 | + return; | |
| 5416 | + } | |
| 5417 | + | |
| 5418 | + body.classList.add('e--ua-' + key); | |
| 5419 | + }); | |
| 5420 | + }, | |
| 5421 | + openGetHelpInNewTab: function openGetHelpInNewTab() { | |
| 5422 | + this.elements.$menuGetHelpLink.attr('target', '_blank'); | |
| 5423 | + }, | |
| 5424 | + initTemplatesImport: function initTemplatesImport() { | |
| 5425 | + if (!elementorCommon.elements.$body.hasClass('post-type-elementor_library')) { | |
| 5426 | + return; | |
| 5427 | + } | |
| 5428 | + | |
| 5429 | + var self = this, | |
| 5430 | + $importButton = self.elements.$importButton, | |
| 5431 | + $importArea = self.elements.$importArea; | |
| 5432 | + self.elements.$formAnchor = $('.wp-header-end'); | |
| 5433 | + $('#wpbody-content').find('.page-title-action').last().after($importButton); | |
| 5434 | + self.elements.$formAnchor.after($importArea); | |
| 5435 | + $importButton.on('click', function () { | |
| 5436 | + $('#elementor-import-template-area').toggle(); | |
| 5437 | + }); | |
| 5438 | + }, | |
| 5439 | + initMaintenanceMode: function initMaintenanceMode() { | |
| 5440 | + var MaintenanceMode = __webpack_require__(/*! elementor-admin/maintenance-mode */ "../assets/dev/js/admin/maintenance-mode.js"); | |
| 5441 | + | |
| 5442 | + this.maintenanceMode = new MaintenanceMode(); | |
| 5443 | + }, | |
| 5444 | + isElementorMode: function isElementorMode() { | |
| 5445 | + return !!this.elements.$switchModeInput.val(); | |
| 5446 | + }, | |
| 5447 | + animateLoader: function animateLoader() { | |
| 5448 | + this.elements.$goToEditLink.addClass('elementor-animate'); | |
| 5449 | + }, | |
| 5450 | + goToSettingsTabFromHash: function goToSettingsTabFromHash() { | |
| 5451 | + var hash = location.hash.slice(1); | |
| 5452 | + | |
| 5453 | + if (hash) { | |
| 5454 | + this.goToSettingsTab(hash); | |
| 5455 | + } | |
| 5456 | + }, | |
| 5457 | + goToSettingsTab: function goToSettingsTab(tabName) { | |
| 5458 | + var $pages = this.elements.$settingsFormPages; | |
| 5459 | + | |
| 5460 | + if (!$pages.length) { | |
| 5461 | + return; | |
| 5462 | + } | |
| 5463 | + | |
| 5464 | + var $activePage = $pages.filter('#' + tabName); | |
| 5465 | + this.elements.$activeSettingsPage.removeClass('elementor-active'); | |
| 5466 | + this.elements.$activeSettingsTab.removeClass('nav-tab-active'); | |
| 5467 | + var $activeTab = this.elements.$settingsTabs.filter('#elementor-settings-' + tabName); | |
| 5468 | + $activePage.addClass('elementor-active'); | |
| 5469 | + $activeTab.addClass('nav-tab-active'); | |
| 5470 | + this.elements.$settingsForm.attr('action', 'options.php#' + tabName); | |
| 5471 | + this.elements.$activeSettingsPage = $activePage; | |
| 5472 | + this.elements.$activeSettingsTab = $activeTab; | |
| 5473 | + }, | |
| 5474 | + translate: function translate(stringKey, templateArgs) { | |
| 5475 | + return elementorCommon.translate(stringKey, null, templateArgs, this.config.i18n); | |
| 5476 | + }, | |
| 5477 | + roleManager: { | |
| 5478 | + selectors: { | |
| 5479 | + body: 'elementor-role-manager', | |
| 5480 | + row: '.elementor-role-row', | |
| 5481 | + label: '.elementor-role-label', | |
| 5482 | + excludedIndicator: '.elementor-role-excluded-indicator', | |
| 5483 | + excludedField: 'input[name="elementor_exclude_user_roles[]"]', | |
| 5484 | + controlsContainer: '.elementor-role-controls', | |
| 5485 | + toggleHandle: '.elementor-role-toggle', | |
| 5486 | + arrowUp: 'dashicons-arrow-up', | |
| 5487 | + arrowDown: 'dashicons-arrow-down' | |
| 5488 | + }, | |
| 5489 | + toggle: function toggle($trigger) { | |
| 5490 | + var self = this, | |
| 5491 | + $row = $trigger.closest(self.selectors.row), | |
| 5492 | + $toggleHandleIcon = $row.find(self.selectors.toggleHandle).find('.dashicons'), | |
| 5493 | + $controls = $row.find(self.selectors.controlsContainer); | |
| 5494 | + $controls.toggleClass('hidden'); | |
| 5495 | + | |
| 5496 | + if ($controls.hasClass('hidden')) { | |
| 5497 | + $toggleHandleIcon.removeClass(self.selectors.arrowUp).addClass(self.selectors.arrowDown); | |
| 5498 | + } else { | |
| 5499 | + $toggleHandleIcon.removeClass(self.selectors.arrowDown).addClass(self.selectors.arrowUp); | |
| 5500 | + } | |
| 5501 | + | |
| 5502 | + self.updateLabel($row); | |
| 5503 | + }, | |
| 5504 | + updateLabel: function updateLabel($row) { | |
| 5505 | + var self = this, | |
| 5506 | + $indicator = $row.find(self.selectors.excludedIndicator), | |
| 5507 | + excluded = $row.find(self.selectors.excludedField).is(':checked'); | |
| 5508 | + | |
| 5509 | + if (excluded) { | |
| 5510 | + $indicator.html($indicator.data('excluded-label')); | |
| 5511 | + } else { | |
| 5512 | + $indicator.html(''); | |
| 5513 | + } | |
| 5514 | + | |
| 5515 | + self.setAdvancedState($row, excluded); | |
| 5516 | + }, | |
| 5517 | + setAdvancedState: function setAdvancedState($row, state) { | |
| 5518 | + var self = this, | |
| 5519 | + $controls = $row.find('input[type="checkbox"]').not(self.selectors.excludedField); | |
| 5520 | + $controls.each(function (index, input) { | |
| 5521 | + $(input).prop('disabled', state); | |
| 5522 | + }); | |
| 5523 | + }, | |
| 5524 | + bind: function bind() { | |
| 5525 | + var self = this; | |
| 5526 | + $(document).on('click', self.selectors.label + ',' + self.selectors.toggleHandle, function (event) { | |
| 5527 | + event.stopPropagation(); | |
| 5528 | + event.preventDefault(); | |
| 5529 | + self.toggle($(this)); | |
| 5530 | + }).on('change', self.selectors.excludedField, function () { | |
| 5531 | + self.updateLabel($(this).closest(self.selectors.row)); | |
| 5532 | + }); | |
| 5533 | + }, | |
| 5534 | + init: function init() { | |
| 5535 | + var self = this; | |
| 5536 | + | |
| 5537 | + if (!$('body[class*="' + self.selectors.body + '"]').length) { | |
| 5538 | + return; | |
| 5539 | + } | |
| 5540 | + | |
| 5541 | + self.bind(); | |
| 5542 | + $(self.selectors.row).each(function (index, row) { | |
| 5543 | + self.updateLabel($(row)); | |
| 5544 | + }); | |
| 5545 | + } | |
| 5546 | + } | |
| 5547 | + }); | |
| 5548 | + $(function () { | |
| 5549 | + window.elementorAdmin = new ElementorAdmin(); | |
| 5550 | + elementorCommon.elements.$window.trigger('elementor/admin/init'); | |
| 5551 | + }); | |
| 5552 | +})(jQuery); | |
| 5553 | +})(); | |
| 5554 | + | |
| 5555 | +/******/ })() | |
| 5556 | +; | |
| 3718 | 5557 | //# sourceMappingURL=admin.js.map |