| 1 |
/*! elementor - v3.0.0 - 23-08-2020 */ |
| 2 |
/******/ (function(modules) { // webpackBootstrap |
| 3 |
/******/ // The module cache |
| 4 |
/******/ var installedModules = {}; |
| 5 |
/******/ |
| 6 |
/******/ // The require function |
| 7 |
/******/ function __webpack_require__(moduleId) { |
| 8 |
/******/ |
| 9 |
/******/ // Check if module is in cache |
| 10 |
/******/ if(installedModules[moduleId]) { |
| 11 |
/******/ return installedModules[moduleId].exports; |
| 12 |
/******/ } |
| 13 |
/******/ // Create a new module (and put it into the cache) |
| 14 |
/******/ var module = installedModules[moduleId] = { |
| 15 |
/******/ i: moduleId, |
| 16 |
/******/ l: false, |
| 17 |
/******/ exports: {} |
| 18 |
/******/ }; |
| 19 |
/******/ |
| 20 |
/******/ // Execute the module function |
| 21 |
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| 22 |
/******/ |
| 23 |
/******/ // Flag the module as loaded |
| 24 |
/******/ module.l = true; |
| 25 |
/******/ |
| 26 |
/******/ // Return the exports of the module |
| 27 |
/******/ return module.exports; |
| 28 |
/******/ } |
| 29 |
/******/ |
| 30 |
/******/ |
| 31 |
/******/ // expose the modules object (__webpack_modules__) |
| 32 |
/******/ __webpack_require__.m = modules; |
| 33 |
/******/ |
| 34 |
/******/ // expose the module cache |
| 35 |
/******/ __webpack_require__.c = installedModules; |
| 36 |
/******/ |
| 37 |
/******/ // define getter function for harmony exports |
| 38 |
/******/ __webpack_require__.d = function(exports, name, getter) { |
| 39 |
/******/ if(!__webpack_require__.o(exports, name)) { |
| 40 |
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| 41 |
/******/ } |
| 42 |
/******/ }; |
| 43 |
/******/ |
| 44 |
/******/ // define __esModule on exports |
| 45 |
/******/ __webpack_require__.r = function(exports) { |
| 46 |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 47 |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 48 |
/******/ } |
| 49 |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 50 |
/******/ }; |
| 51 |
/******/ |
| 52 |
/******/ // create a fake namespace object |
| 53 |
/******/ // mode & 1: value is a module id, require it |
| 54 |
/******/ // mode & 2: merge all properties of value into the ns |
| 55 |
/******/ // mode & 4: return value when already ns object |
| 56 |
/******/ // mode & 8|1: behave like require |
| 57 |
/******/ __webpack_require__.t = function(value, mode) { |
| 58 |
/******/ if(mode & 1) value = __webpack_require__(value); |
| 59 |
/******/ if(mode & 8) return value; |
| 60 |
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| 61 |
/******/ var ns = Object.create(null); |
| 62 |
/******/ __webpack_require__.r(ns); |
| 63 |
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| 64 |
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| 65 |
/******/ return ns; |
| 66 |
/******/ }; |
| 67 |
/******/ |
| 68 |
/******/ // getDefaultExport function for compatibility with non-harmony modules |
| 69 |
/******/ __webpack_require__.n = function(module) { |
| 70 |
/******/ var getter = module && module.__esModule ? |
| 71 |
/******/ function getDefault() { return module['default']; } : |
| 72 |
/******/ function getModuleExports() { return module; }; |
| 73 |
/******/ __webpack_require__.d(getter, 'a', getter); |
| 74 |
/******/ return getter; |
| 75 |
/******/ }; |
| 76 |
/******/ |
| 77 |
/******/ // Object.prototype.hasOwnProperty.call |
| 78 |
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| 79 |
/******/ |
| 80 |
/******/ // __webpack_public_path__ |
| 81 |
/******/ __webpack_require__.p = ""; |
| 82 |
/******/ |
| 83 |
/******/ |
| 84 |
/******/ // Load entry module and return exports |
| 85 |
/******/ return __webpack_require__(__webpack_require__.s = 728); |
| 86 |
/******/ }) |
| 87 |
/************************************************************************/ |
| 88 |
/******/ ({ |
| 89 |
|
| 90 |
/***/ 107: |
| 91 |
/***/ (function(module, exports, __webpack_require__) { |
| 92 |
|
| 93 |
var isObject = __webpack_require__(29); |
| 94 |
var document = __webpack_require__(17).document; |
| 95 |
// typeof document.createElement is 'object' in old IE |
| 96 |
var is = isObject(document) && isObject(document.createElement); |
| 97 |
module.exports = function (it) { |
| 98 |
return is ? document.createElement(it) : {}; |
| 99 |
}; |
| 100 |
|
| 101 |
|
| 102 |
/***/ }), |
| 103 |
|
| 104 |
/***/ 109: |
| 105 |
/***/ (function(module, exports) { |
| 106 |
|
| 107 |
module.exports = false; |
| 108 |
|
| 109 |
|
| 110 |
/***/ }), |
| 111 |
|
| 112 |
/***/ 11: |
| 113 |
/***/ (function(module, exports, __webpack_require__) { |
| 114 |
|
| 115 |
var store = __webpack_require__(66)('wks'); |
| 116 |
var uid = __webpack_require__(67); |
| 117 |
var Symbol = __webpack_require__(17).Symbol; |
| 118 |
var USE_SYMBOL = typeof Symbol == 'function'; |
| 119 |
|
| 120 |
var $exports = module.exports = function (name) { |
| 121 |
return store[name] || (store[name] = |
| 122 |
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); |
| 123 |
}; |
| 124 |
|
| 125 |
$exports.store = store; |
| 126 |
|
| 127 |
|
| 128 |
/***/ }), |
| 129 |
|
| 130 |
/***/ 121: |
| 131 |
/***/ (function(module, exports, __webpack_require__) { |
| 132 |
|
| 133 |
// 7.1.1 ToPrimitive(input [, PreferredType]) |
| 134 |
var isObject = __webpack_require__(29); |
| 135 |
// instead of the ES6 spec version, we didn't implement @@toPrimitive case |
| 136 |
// and the second argument - flag - preferred type is a string |
| 137 |
module.exports = function (it, S) { |
| 138 |
if (!isObject(it)) return it; |
| 139 |
var fn, val; |
| 140 |
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; |
| 141 |
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; |
| 142 |
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; |
| 143 |
throw TypeError("Can't convert object to primitive value"); |
| 144 |
}; |
| 145 |
|
| 146 |
|
| 147 |
/***/ }), |
| 148 |
|
| 149 |
/***/ 124: |
| 150 |
/***/ (function(module, exports, __webpack_require__) { |
| 151 |
|
| 152 |
// fallback for non-array-like ES3 and non-enumerable old V8 strings |
| 153 |
var cof = __webpack_require__(45); |
| 154 |
// eslint-disable-next-line no-prototype-builtins |
| 155 |
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { |
| 156 |
return cof(it) == 'String' ? it.split('') : Object(it); |
| 157 |
}; |
| 158 |
|
| 159 |
|
| 160 |
/***/ }), |
| 161 |
|
| 162 |
/***/ 125: |
| 163 |
/***/ (function(module, exports, __webpack_require__) { |
| 164 |
|
| 165 |
module.exports = !__webpack_require__(27) && !__webpack_require__(33)(function () { |
| 166 |
return Object.defineProperty(__webpack_require__(107)('div'), 'a', { get: function () { return 7; } }).a != 7; |
| 167 |
}); |
| 168 |
|
| 169 |
|
| 170 |
/***/ }), |
| 171 |
|
| 172 |
/***/ 138: |
| 173 |
/***/ (function(module, exports, __webpack_require__) { |
| 174 |
|
| 175 |
module.exports = __webpack_require__(66)('native-function-to-string', Function.toString); |
| 176 |
|
| 177 |
|
| 178 |
/***/ }), |
| 179 |
|
| 180 |
/***/ 17: |
| 181 |
/***/ (function(module, exports) { |
| 182 |
|
| 183 |
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 |
| 184 |
var global = module.exports = typeof window != 'undefined' && window.Math == Math |
| 185 |
? window : typeof self != 'undefined' && self.Math == Math ? self |
| 186 |
// eslint-disable-next-line no-new-func |
| 187 |
: Function('return this')(); |
| 188 |
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef |
| 189 |
|
| 190 |
|
| 191 |
/***/ }), |
| 192 |
|
| 193 |
/***/ 18: |
| 194 |
/***/ (function(module, exports, __webpack_require__) { |
| 195 |
|
| 196 |
var isObject = __webpack_require__(29); |
| 197 |
module.exports = function (it) { |
| 198 |
if (!isObject(it)) throw TypeError(it + ' is not an object!'); |
| 199 |
return it; |
| 200 |
}; |
| 201 |
|
| 202 |
|
| 203 |
/***/ }), |
| 204 |
|
| 205 |
/***/ 181: |
| 206 |
/***/ (function(module, exports, __webpack_require__) { |
| 207 |
|
| 208 |
// 0 -> Array#forEach |
| 209 |
// 1 -> Array#map |
| 210 |
// 2 -> Array#filter |
| 211 |
// 3 -> Array#some |
| 212 |
// 4 -> Array#every |
| 213 |
// 5 -> Array#find |
| 214 |
// 6 -> Array#findIndex |
| 215 |
var ctx = __webpack_require__(70); |
| 216 |
var IObject = __webpack_require__(124); |
| 217 |
var toObject = __webpack_require__(92); |
| 218 |
var toLength = __webpack_require__(42); |
| 219 |
var asc = __webpack_require__(208); |
| 220 |
module.exports = function (TYPE, $create) { |
| 221 |
var IS_MAP = TYPE == 1; |
| 222 |
var IS_FILTER = TYPE == 2; |
| 223 |
var IS_SOME = TYPE == 3; |
| 224 |
var IS_EVERY = TYPE == 4; |
| 225 |
var IS_FIND_INDEX = TYPE == 6; |
| 226 |
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; |
| 227 |
var create = $create || asc; |
| 228 |
return function ($this, callbackfn, that) { |
| 229 |
var O = toObject($this); |
| 230 |
var self = IObject(O); |
| 231 |
var f = ctx(callbackfn, that, 3); |
| 232 |
var length = toLength(self.length); |
| 233 |
var index = 0; |
| 234 |
var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; |
| 235 |
var val, res; |
| 236 |
for (;length > index; index++) if (NO_HOLES || index in self) { |
| 237 |
val = self[index]; |
| 238 |
res = f(val, index, O); |
| 239 |
if (TYPE) { |
| 240 |
if (IS_MAP) result[index] = res; // map |
| 241 |
else if (res) switch (TYPE) { |
| 242 |
case 3: return true; // some |
| 243 |
case 5: return val; // find |
| 244 |
case 6: return index; // findIndex |
| 245 |
case 2: result.push(val); // filter |
| 246 |
} else if (IS_EVERY) return false; // every |
| 247 |
} |
| 248 |
} |
| 249 |
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; |
| 250 |
}; |
| 251 |
}; |
| 252 |
|
| 253 |
|
| 254 |
/***/ }), |
| 255 |
|
| 256 |
/***/ 208: |
| 257 |
/***/ (function(module, exports, __webpack_require__) { |
| 258 |
|
| 259 |
// 9.4.2.3 ArraySpeciesCreate(originalArray, length) |
| 260 |
var speciesConstructor = __webpack_require__(209); |
| 261 |
|
| 262 |
module.exports = function (original, length) { |
| 263 |
return new (speciesConstructor(original))(length); |
| 264 |
}; |
| 265 |
|
| 266 |
|
| 267 |
/***/ }), |
| 268 |
|
| 269 |
/***/ 209: |
| 270 |
/***/ (function(module, exports, __webpack_require__) { |
| 271 |
|
| 272 |
var isObject = __webpack_require__(29); |
| 273 |
var isArray = __webpack_require__(210); |
| 274 |
var SPECIES = __webpack_require__(11)('species'); |
| 275 |
|
| 276 |
module.exports = function (original) { |
| 277 |
var C; |
| 278 |
if (isArray(original)) { |
| 279 |
C = original.constructor; |
| 280 |
// cross-realm fallback |
| 281 |
if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; |
| 282 |
if (isObject(C)) { |
| 283 |
C = C[SPECIES]; |
| 284 |
if (C === null) C = undefined; |
| 285 |
} |
| 286 |
} return C === undefined ? Array : C; |
| 287 |
}; |
| 288 |
|
| 289 |
|
| 290 |
/***/ }), |
| 291 |
|
| 292 |
/***/ 210: |
| 293 |
/***/ (function(module, exports, __webpack_require__) { |
| 294 |
|
| 295 |
// 7.2.2 IsArray(argument) |
| 296 |
var cof = __webpack_require__(45); |
| 297 |
module.exports = Array.isArray || function isArray(arg) { |
| 298 |
return cof(arg) == 'Array'; |
| 299 |
}; |
| 300 |
|
| 301 |
|
| 302 |
/***/ }), |
| 303 |
|
| 304 |
/***/ 26: |
| 305 |
/***/ (function(module, exports, __webpack_require__) { |
| 306 |
|
| 307 |
"use strict"; |
| 308 |
|
| 309 |
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) |
| 310 |
var $export = __webpack_require__(37); |
| 311 |
var $find = __webpack_require__(181)(5); |
| 312 |
var KEY = 'find'; |
| 313 |
var forced = true; |
| 314 |
// Shouldn't skip holes |
| 315 |
if (KEY in []) Array(1)[KEY](function () { forced = false; }); |
| 316 |
$export($export.P + $export.F * forced, 'Array', { |
| 317 |
find: function find(callbackfn /* , that = undefined */) { |
| 318 |
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); |
| 319 |
} |
| 320 |
}); |
| 321 |
__webpack_require__(91)(KEY); |
| 322 |
|
| 323 |
|
| 324 |
/***/ }), |
| 325 |
|
| 326 |
/***/ 27: |
| 327 |
/***/ (function(module, exports, __webpack_require__) { |
| 328 |
|
| 329 |
// Thank's IE8 for his funny defineProperty |
| 330 |
module.exports = !__webpack_require__(33)(function () { |
| 331 |
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; |
| 332 |
}); |
| 333 |
|
| 334 |
|
| 335 |
/***/ }), |
| 336 |
|
| 337 |
/***/ 29: |
| 338 |
/***/ (function(module, exports) { |
| 339 |
|
| 340 |
module.exports = function (it) { |
| 341 |
return typeof it === 'object' ? it !== null : typeof it === 'function'; |
| 342 |
}; |
| 343 |
|
| 344 |
|
| 345 |
/***/ }), |
| 346 |
|
| 347 |
/***/ 30: |
| 348 |
/***/ (function(module, exports, __webpack_require__) { |
| 349 |
|
| 350 |
var dP = __webpack_require__(44); |
| 351 |
var createDesc = __webpack_require__(99); |
| 352 |
module.exports = __webpack_require__(27) ? function (object, key, value) { |
| 353 |
return dP.f(object, key, createDesc(1, value)); |
| 354 |
} : function (object, key, value) { |
| 355 |
object[key] = value; |
| 356 |
return object; |
| 357 |
}; |
| 358 |
|
| 359 |
|
| 360 |
/***/ }), |
| 361 |
|
| 362 |
/***/ 33: |
| 363 |
/***/ (function(module, exports) { |
| 364 |
|
| 365 |
module.exports = function (exec) { |
| 366 |
try { |
| 367 |
return !!exec(); |
| 368 |
} catch (e) { |
| 369 |
return true; |
| 370 |
} |
| 371 |
}; |
| 372 |
|
| 373 |
|
| 374 |
/***/ }), |
| 375 |
|
| 376 |
/***/ 35: |
| 377 |
/***/ (function(module, exports, __webpack_require__) { |
| 378 |
|
| 379 |
var global = __webpack_require__(17); |
| 380 |
var hide = __webpack_require__(30); |
| 381 |
var has = __webpack_require__(61); |
| 382 |
var SRC = __webpack_require__(67)('src'); |
| 383 |
var $toString = __webpack_require__(138); |
| 384 |
var TO_STRING = 'toString'; |
| 385 |
var TPL = ('' + $toString).split(TO_STRING); |
| 386 |
|
| 387 |
__webpack_require__(52).inspectSource = function (it) { |
| 388 |
return $toString.call(it); |
| 389 |
}; |
| 390 |
|
| 391 |
(module.exports = function (O, key, val, safe) { |
| 392 |
var isFunction = typeof val == 'function'; |
| 393 |
if (isFunction) has(val, 'name') || hide(val, 'name', key); |
| 394 |
if (O[key] === val) return; |
| 395 |
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); |
| 396 |
if (O === global) { |
| 397 |
O[key] = val; |
| 398 |
} else if (!safe) { |
| 399 |
delete O[key]; |
| 400 |
hide(O, key, val); |
| 401 |
} else if (O[key]) { |
| 402 |
O[key] = val; |
| 403 |
} else { |
| 404 |
hide(O, key, val); |
| 405 |
} |
| 406 |
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative |
| 407 |
})(Function.prototype, TO_STRING, function toString() { |
| 408 |
return typeof this == 'function' && this[SRC] || $toString.call(this); |
| 409 |
}); |
| 410 |
|
| 411 |
|
| 412 |
/***/ }), |
| 413 |
|
| 414 |
/***/ 37: |
| 415 |
/***/ (function(module, exports, __webpack_require__) { |
| 416 |
|
| 417 |
var global = __webpack_require__(17); |
| 418 |
var core = __webpack_require__(52); |
| 419 |
var hide = __webpack_require__(30); |
| 420 |
var redefine = __webpack_require__(35); |
| 421 |
var ctx = __webpack_require__(70); |
| 422 |
var PROTOTYPE = 'prototype'; |
| 423 |
|
| 424 |
var $export = function (type, name, source) { |
| 425 |
var IS_FORCED = type & $export.F; |
| 426 |
var IS_GLOBAL = type & $export.G; |
| 427 |
var IS_STATIC = type & $export.S; |
| 428 |
var IS_PROTO = type & $export.P; |
| 429 |
var IS_BIND = type & $export.B; |
| 430 |
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; |
| 431 |
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); |
| 432 |
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); |
| 433 |
var key, own, out, exp; |
| 434 |
if (IS_GLOBAL) source = name; |
| 435 |
for (key in source) { |
| 436 |
// contains in native |
| 437 |
own = !IS_FORCED && target && target[key] !== undefined; |
| 438 |
// export native or passed |
| 439 |
out = (own ? target : source)[key]; |
| 440 |
// bind timers to global for call from export context |
| 441 |
exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; |
| 442 |
// extend global |
| 443 |
if (target) redefine(target, key, out, type & $export.U); |
| 444 |
// export |
| 445 |
if (exports[key] != out) hide(exports, key, exp); |
| 446 |
if (IS_PROTO && expProto[key] != out) expProto[key] = out; |
| 447 |
} |
| 448 |
}; |
| 449 |
global.core = core; |
| 450 |
// type bitmap |
| 451 |
$export.F = 1; // forced |
| 452 |
$export.G = 2; // global |
| 453 |
$export.S = 4; // static |
| 454 |
$export.P = 8; // proto |
| 455 |
$export.B = 16; // bind |
| 456 |
$export.W = 32; // wrap |
| 457 |
$export.U = 64; // safe |
| 458 |
$export.R = 128; // real proto method for `library` |
| 459 |
module.exports = $export; |
| 460 |
|
| 461 |
|
| 462 |
/***/ }), |
| 463 |
|
| 464 |
/***/ 41: |
| 465 |
/***/ (function(module, exports) { |
| 466 |
|
| 467 |
// 7.2.1 RequireObjectCoercible(argument) |
| 468 |
module.exports = function (it) { |
| 469 |
if (it == undefined) throw TypeError("Can't call method on " + it); |
| 470 |
return it; |
| 471 |
}; |
| 472 |
|
| 473 |
|
| 474 |
/***/ }), |
| 475 |
|
| 476 |
/***/ 42: |
| 477 |
/***/ (function(module, exports, __webpack_require__) { |
| 478 |
|
| 479 |
// 7.1.15 ToLength |
| 480 |
var toInteger = __webpack_require__(59); |
| 481 |
var min = Math.min; |
| 482 |
module.exports = function (it) { |
| 483 |
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 |
| 484 |
}; |
| 485 |
|
| 486 |
|
| 487 |
/***/ }), |
| 488 |
|
| 489 |
/***/ 44: |
| 490 |
/***/ (function(module, exports, __webpack_require__) { |
| 491 |
|
| 492 |
var anObject = __webpack_require__(18); |
| 493 |
var IE8_DOM_DEFINE = __webpack_require__(125); |
| 494 |
var toPrimitive = __webpack_require__(121); |
| 495 |
var dP = Object.defineProperty; |
| 496 |
|
| 497 |
exports.f = __webpack_require__(27) ? Object.defineProperty : function defineProperty(O, P, Attributes) { |
| 498 |
anObject(O); |
| 499 |
P = toPrimitive(P, true); |
| 500 |
anObject(Attributes); |
| 501 |
if (IE8_DOM_DEFINE) try { |
| 502 |
return dP(O, P, Attributes); |
| 503 |
} catch (e) { /* empty */ } |
| 504 |
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); |
| 505 |
if ('value' in Attributes) O[P] = Attributes.value; |
| 506 |
return O; |
| 507 |
}; |
| 508 |
|
| 509 |
|
| 510 |
/***/ }), |
| 511 |
|
| 512 |
/***/ 45: |
| 513 |
/***/ (function(module, exports) { |
| 514 |
|
| 515 |
var toString = {}.toString; |
| 516 |
|
| 517 |
module.exports = function (it) { |
| 518 |
return toString.call(it).slice(8, -1); |
| 519 |
}; |
| 520 |
|
| 521 |
|
| 522 |
/***/ }), |
| 523 |
|
| 524 |
/***/ 52: |
| 525 |
/***/ (function(module, exports) { |
| 526 |
|
| 527 |
var core = module.exports = { version: '2.6.11' }; |
| 528 |
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef |
| 529 |
|
| 530 |
|
| 531 |
/***/ }), |
| 532 |
|
| 533 |
/***/ 59: |
| 534 |
/***/ (function(module, exports) { |
| 535 |
|
| 536 |
// 7.1.4 ToInteger |
| 537 |
var ceil = Math.ceil; |
| 538 |
var floor = Math.floor; |
| 539 |
module.exports = function (it) { |
| 540 |
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); |
| 541 |
}; |
| 542 |
|
| 543 |
|
| 544 |
/***/ }), |
| 545 |
|
| 546 |
/***/ 61: |
| 547 |
/***/ (function(module, exports) { |
| 548 |
|
| 549 |
var hasOwnProperty = {}.hasOwnProperty; |
| 550 |
module.exports = function (it, key) { |
| 551 |
return hasOwnProperty.call(it, key); |
| 552 |
}; |
| 553 |
|
| 554 |
|
| 555 |
/***/ }), |
| 556 |
|
| 557 |
/***/ 66: |
| 558 |
/***/ (function(module, exports, __webpack_require__) { |
| 559 |
|
| 560 |
var core = __webpack_require__(52); |
| 561 |
var global = __webpack_require__(17); |
| 562 |
var SHARED = '__core-js_shared__'; |
| 563 |
var store = global[SHARED] || (global[SHARED] = {}); |
| 564 |
|
| 565 |
(module.exports = function (key, value) { |
| 566 |
return store[key] || (store[key] = value !== undefined ? value : {}); |
| 567 |
})('versions', []).push({ |
| 568 |
version: core.version, |
| 569 |
mode: __webpack_require__(109) ? 'pure' : 'global', |
| 570 |
copyright: '© 2019 Denis Pushkarev (zloirock.ru)' |
| 571 |
}); |
| 572 |
|
| 573 |
|
| 574 |
/***/ }), |
| 575 |
|
| 576 |
/***/ 67: |
| 577 |
/***/ (function(module, exports) { |
| 578 |
|
| 579 |
var id = 0; |
| 580 |
var px = Math.random(); |
| 581 |
module.exports = function (key) { |
| 582 |
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); |
| 583 |
}; |
| 584 |
|
| 585 |
|
| 586 |
/***/ }), |
| 587 |
|
| 588 |
/***/ 70: |
| 589 |
/***/ (function(module, exports, __webpack_require__) { |
| 590 |
|
| 591 |
// optional / simple context binding |
| 592 |
var aFunction = __webpack_require__(89); |
| 593 |
module.exports = function (fn, that, length) { |
| 594 |
aFunction(fn); |
| 595 |
if (that === undefined) return fn; |
| 596 |
switch (length) { |
| 597 |
case 1: return function (a) { |
| 598 |
return fn.call(that, a); |
| 599 |
}; |
| 600 |
case 2: return function (a, b) { |
| 601 |
return fn.call(that, a, b); |
| 602 |
}; |
| 603 |
case 3: return function (a, b, c) { |
| 604 |
return fn.call(that, a, b, c); |
| 605 |
}; |
| 606 |
} |
| 607 |
return function (/* ...args */) { |
| 608 |
return fn.apply(that, arguments); |
| 609 |
}; |
| 610 |
}; |
| 611 |
|
| 612 |
|
| 613 |
/***/ }), |
| 614 |
|
| 615 |
/***/ 728: |
| 616 |
/***/ (function(module, exports, __webpack_require__) { |
| 617 |
|
| 618 |
"use strict"; |
| 619 |
|
| 620 |
|
| 621 |
__webpack_require__(26); |
| 622 |
|
| 623 |
/* global jQuery, ElementorGutenbergSettings */ |
| 624 |
(function ($) { |
| 625 |
'use strict'; |
| 626 |
|
| 627 |
var ElementorGutenbergApp = { |
| 628 |
cacheElements: function cacheElements() { |
| 629 |
var self = this; |
| 630 |
self.isElementorMode = ElementorGutenbergSettings.isElementorMode; |
| 631 |
self.cache = {}; |
| 632 |
self.cache.$gutenberg = $('#editor'); |
| 633 |
self.cache.$switchMode = $($('#elementor-gutenberg-button-switch-mode').html()); |
| 634 |
self.cache.$switchModeButton = self.cache.$switchMode.find('#elementor-switch-mode-button'); |
| 635 |
self.bindEvents(); |
| 636 |
self.toggleStatus(); |
| 637 |
wp.data.subscribe(function () { |
| 638 |
setTimeout(function () { |
| 639 |
self.buildPanel(); |
| 640 |
}, 1); |
| 641 |
}); |
| 642 |
}, |
| 643 |
buildPanel: function buildPanel() { |
| 644 |
var self = this; |
| 645 |
|
| 646 |
if (!self.cache.$gutenberg.find('#elementor-switch-mode').length) { |
| 647 |
self.cache.$gutenberg.find('.edit-post-header-toolbar').append(self.cache.$switchMode); |
| 648 |
} |
| 649 |
|
| 650 |
if (!$('#elementor-editor').length) { |
| 651 |
self.cache.$editorPanel = $($('#elementor-gutenberg-panel').html()); // TODO: `editor-block-list__layout` class for WP < 5.3 support. |
| 652 |
|
| 653 |
self.cache.$gurenbergBlockList = self.cache.$gutenberg.find('.editor-block-list__layout, .editor-post-text-editor, .block-editor-block-list__layout'); |
| 654 |
self.cache.$gurenbergBlockList.after(self.cache.$editorPanel); |
| 655 |
self.cache.$editorPanelButton = self.cache.$editorPanel.find('#elementor-go-to-edit-page-link'); |
| 656 |
self.cache.$editorPanelButton.on('click', function (event) { |
| 657 |
event.preventDefault(); |
| 658 |
self.animateLoader(); |
| 659 |
var documentTitle = wp.data.select('core/editor').getEditedPostAttribute('title'); |
| 660 |
|
| 661 |
if (!documentTitle) { |
| 662 |
wp.data.dispatch('core/editor').editPost({ |
| 663 |
title: 'Elementor #' + $('#post_ID').val() |
| 664 |
}); |
| 665 |
} |
| 666 |
|
| 667 |
wp.data.dispatch('core/editor').savePost(); |
| 668 |
self.redirectWhenSave(); |
| 669 |
}); |
| 670 |
} |
| 671 |
}, |
| 672 |
bindEvents: function bindEvents() { |
| 673 |
var self = this; |
| 674 |
self.cache.$switchModeButton.on('click', function () { |
| 675 |
if (self.isElementorMode) { |
| 676 |
elementorCommon.dialogsManager.createWidget('confirm', { |
| 677 |
message: elementorAdmin.translate('back_to_wordpress_editor_message'), |
| 678 |
headerMessage: elementorAdmin.translate('back_to_wordpress_editor_header'), |
| 679 |
strings: { |
| 680 |
confirm: elementorAdmin.translate('yes'), |
| 681 |
cancel: elementorAdmin.translate('cancel') |
| 682 |
}, |
| 683 |
defaultOption: 'confirm', |
| 684 |
onConfirm: function onConfirm() { |
| 685 |
var wpEditor = wp.data.dispatch('core/editor'); |
| 686 |
wpEditor.editPost({ |
| 687 |
gutenberg_elementor_mode: false |
| 688 |
}); |
| 689 |
wpEditor.savePost(); |
| 690 |
self.isElementorMode = !self.isElementorMode; |
| 691 |
self.toggleStatus(); |
| 692 |
} |
| 693 |
}).show(); |
| 694 |
} else { |
| 695 |
self.isElementorMode = !self.isElementorMode; |
| 696 |
self.toggleStatus(); |
| 697 |
self.cache.$editorPanelButton.trigger('click'); |
| 698 |
} |
| 699 |
}); |
| 700 |
}, |
| 701 |
redirectWhenSave: function redirectWhenSave() { |
| 702 |
var self = this; |
| 703 |
setTimeout(function () { |
| 704 |
if (wp.data.select('core/editor').isSavingPost()) { |
| 705 |
self.redirectWhenSave(); |
| 706 |
} else { |
| 707 |
location.href = ElementorGutenbergSettings.editLink; |
| 708 |
} |
| 709 |
}, 300); |
| 710 |
}, |
| 711 |
animateLoader: function animateLoader() { |
| 712 |
this.cache.$editorPanelButton.addClass('elementor-animate'); |
| 713 |
}, |
| 714 |
toggleStatus: function toggleStatus() { |
| 715 |
jQuery('body').toggleClass('elementor-editor-active', this.isElementorMode).toggleClass('elementor-editor-inactive', !this.isElementorMode); |
| 716 |
}, |
| 717 |
init: function init() { |
| 718 |
this.cacheElements(); |
| 719 |
} |
| 720 |
}; |
| 721 |
$(function () { |
| 722 |
ElementorGutenbergApp.init(); |
| 723 |
}); |
| 724 |
})(jQuery); |
| 725 |
|
| 726 |
/***/ }), |
| 727 |
|
| 728 |
/***/ 89: |
| 729 |
/***/ (function(module, exports) { |
| 730 |
|
| 731 |
module.exports = function (it) { |
| 732 |
if (typeof it != 'function') throw TypeError(it + ' is not a function!'); |
| 733 |
return it; |
| 734 |
}; |
| 735 |
|
| 736 |
|
| 737 |
/***/ }), |
| 738 |
|
| 739 |
/***/ 91: |
| 740 |
/***/ (function(module, exports, __webpack_require__) { |
| 741 |
|
| 742 |
// 22.1.3.31 Array.prototype[@@unscopables] |
| 743 |
var UNSCOPABLES = __webpack_require__(11)('unscopables'); |
| 744 |
var ArrayProto = Array.prototype; |
| 745 |
if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(30)(ArrayProto, UNSCOPABLES, {}); |
| 746 |
module.exports = function (key) { |
| 747 |
ArrayProto[UNSCOPABLES][key] = true; |
| 748 |
}; |
| 749 |
|
| 750 |
|
| 751 |
/***/ }), |
| 752 |
|
| 753 |
/***/ 92: |
| 754 |
/***/ (function(module, exports, __webpack_require__) { |
| 755 |
|
| 756 |
// 7.1.13 ToObject(argument) |
| 757 |
var defined = __webpack_require__(41); |
| 758 |
module.exports = function (it) { |
| 759 |
return Object(defined(it)); |
| 760 |
}; |
| 761 |
|
| 762 |
|
| 763 |
/***/ }), |
| 764 |
|
| 765 |
/***/ 99: |
| 766 |
/***/ (function(module, exports) { |
| 767 |
|
| 768 |
module.exports = function (bitmap, value) { |
| 769 |
return { |
| 770 |
enumerable: !(bitmap & 1), |
| 771 |
configurable: !(bitmap & 2), |
| 772 |
writable: !(bitmap & 4), |
| 773 |
value: value |
| 774 |
}; |
| 775 |
}; |
| 776 |
|
| 777 |
|
| 778 |
/***/ }) |
| 779 |
|
| 780 |
/******/ }); |
| 781 |
//# sourceMappingURL=gutenberg.js.map |