vendor: 3,613 bytes, lines 1-88
1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 40/******/ } 41/******/ }; 42/******/ 43/******/ // define __esModule on exports 44/******/ __webpack_require__.r = function(exports) { 45/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 46/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 47/******/ } 48/******/ Object.defineProperty(exports, '__esModule', { value: true }); 49/******/ }; 50/******/ 51/******/ // create a fake namespace object 52/******/ // mode & 1: value is a module id, require it 53/******/ // mode & 2: merge all properties of value into the ns 54/******/ // mode & 4: return value when already ns object 55/******/ // mode & 8|1: behave like require 56/******/ __webpack_require__.t = function(value, mode) { 57/******/ if(mode & 1) value = __webpack_require__(value); 58/******/ if(mode & 8) return value; 59/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; 60/******/ var ns = Object.create(null); 61/******/ __webpack_require__.r(ns); 62/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 63/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 64/******/ return ns; 65/******/ }; 66/******/ 67/******/ // getDefaultExport function for compatibility with non-harmony modules 68/******/ __webpack_require__.n = function(module) { 69/******/ var getter = module && module.__esModule ? 70/******/ function getDefault() { return module['default']; } : 71/******/ function getModuleExports() { return module; }; 72/******/ __webpack_require__.d(getter, 'a', getter); 73/******/ return getter; 74/******/ }; 75/******/ 76/******/ // Object.prototype.hasOwnProperty.call 77/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 78/******/ 79/******/ // __webpack_public_path__ 80/******/ __webpack_require__.p = ""; 81/******/ 82/******/ 83/******/ // Load entry module and return exports 84/******/ return __webpack_require__(__webpack_require__.s = "./js/src/custom.js"); 85/******/ }) 86/************************************************************************/ 87/******/ ({ 88
89/***/ "./core/admin/js/frame-helpers.js": 90/*!****************************************!*\ 91 !*** ./core/admin/js/frame-helpers.js ***! 92 \****************************************/ 93/*! exports provided: top_window, is_iframe */ 94/***/ (function(module, __webpack_exports__, __webpack_require__) { 95 96"use strict"; 97__webpack_require__.r(__webpack_exports__); 98/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "top_window", function() { return top_window; }); 99/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "is_iframe", function() { return is_iframe; }); 100/* ,-,- 101 / / | 102 ,-' _/ / / 103 (-_ _,-' `Z_/ 104 "#: ,-'_,-. \ _ 105 #' _(_-'_()\ \" | 106 ,--_,--' | 107 / "" L-'\ 108 \,--^---v--v-._ / \ | 109 \_________________,-' | 110 \ 111 \ 112 \ 113 NOTE: The code in this file will be executed multiple times! */ 114var top_window = window; 115var is_iframe = false; 116var top; 117 118try { 119 // Have to access top window's prop (document) to trigger same-origin DOMException 120 // so we can catch it and act accordingly. 121 top = window.top.document ? window.top : false; 122} catch (e) { 123 // Can't access top, it means we're inside a different domain iframe. 124 top = false; 125} 126 127if (top && top.__Cypress__) { 128 if (window.parent === top) { 129 top_window = window; 130 is_iframe = false; 131 } else { 132 top_window = window.parent; 133 is_iframe = true; 134 } 135} else if (top) { 136 top_window = top; 137 is_iframe = top !== window.self; 138} 139 140 141 142/***/ }), 143
vendor: 1,442 bytes, lines 144-186
144/***/ "./includes/builder/node_modules/lodash/_Hash.js": 145/*!*******************************************************!*\ 146 !*** ./includes/builder/node_modules/lodash/_Hash.js ***! 147 \*******************************************************/ 148/*! no static exports found */ 149/***/ (function(module, exports, __webpack_require__) { 150 151var hashClear = __webpack_require__(/*! ./_hashClear */ "./includes/builder/node_modules/lodash/_hashClear.js"), 152 hashDelete = __webpack_require__(/*! ./_hashDelete */ "./includes/builder/node_modules/lodash/_hashDelete.js"), 153 hashGet = __webpack_require__(/*! ./_hashGet */ "./includes/builder/node_modules/lodash/_hashGet.js"), 154 hashHas = __webpack_require__(/*! ./_hashHas */ "./includes/builder/node_modules/lodash/_hashHas.js"), 155 hashSet = __webpack_require__(/*! ./_hashSet */ "./includes/builder/node_modules/lodash/_hashSet.js"); 156 157/** 158 * Creates a hash object. 159 * 160 * @private 161 * @constructor 162 * @param {Array} [entries] The key-value pairs to cache. 163 */ 164function Hash(entries) { 165 var index = -1, 166 length = entries == null ? 0 : entries.length; 167 168 this.clear(); 169 while (++index < length) { 170 var entry = entries[index]; 171 this.set(entry[0], entry[1]); 172 } 173} 174 175// Add methods to `Hash`. 176Hash.prototype.clear = hashClear; 177Hash.prototype['delete'] = hashDelete; 178Hash.prototype.get = hashGet; 179Hash.prototype.has = hashHas; 180Hash.prototype.set = hashSet; 181 182module.exports = Hash; 183 184 185/***/ }), 186
vendor: 1,609 bytes, lines 187-229
187/***/ "./includes/builder/node_modules/lodash/_ListCache.js": 188/*!************************************************************!*\ 189 !*** ./includes/builder/node_modules/lodash/_ListCache.js ***! 190 \************************************************************/ 191/*! no static exports found */ 192/***/ (function(module, exports, __webpack_require__) { 193 194var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ "./includes/builder/node_modules/lodash/_listCacheClear.js"), 195 listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ "./includes/builder/node_modules/lodash/_listCacheDelete.js"), 196 listCacheGet = __webpack_require__(/*! ./_listCacheGet */ "./includes/builder/node_modules/lodash/_listCacheGet.js"), 197 listCacheHas = __webpack_require__(/*! ./_listCacheHas */ "./includes/builder/node_modules/lodash/_listCacheHas.js"), 198 listCacheSet = __webpack_require__(/*! ./_listCacheSet */ "./includes/builder/node_modules/lodash/_listCacheSet.js"); 199 200/** 201 * Creates an list cache object. 202 * 203 * @private 204 * @constructor 205 * @param {Array} [entries] The key-value pairs to cache. 206 */ 207function ListCache(entries) { 208 var index = -1, 209 length = entries == null ? 0 : entries.length; 210 211 this.clear(); 212 while (++index < length) { 213 var entry = entries[index]; 214 this.set(entry[0], entry[1]); 215 } 216} 217 218// Add methods to `ListCache`. 219ListCache.prototype.clear = listCacheClear; 220ListCache.prototype['delete'] = listCacheDelete; 221ListCache.prototype.get = listCacheGet; 222ListCache.prototype.has = listCacheHas; 223ListCache.prototype.set = listCacheSet; 224 225module.exports = ListCache; 226 227 228/***/ }), 229
vendor: 670 bytes, lines 230-247
230/***/ "./includes/builder/node_modules/lodash/_Map.js": 231/*!******************************************************!*\ 232 !*** ./includes/builder/node_modules/lodash/_Map.js ***! 233 \******************************************************/ 234/*! no static exports found */ 235/***/ (function(module, exports, __webpack_require__) { 236 237var getNative = __webpack_require__(/*! ./_getNative */ "./includes/builder/node_modules/lodash/_getNative.js"), 238 root = __webpack_require__(/*! ./_root */ "./includes/builder/node_modules/lodash/_root.js"); 239 240/* Built-in method references that are verified to be native. */ 241var Map = getNative(root, 'Map'); 242 243module.exports = Map; 244 245 246/***/ }), 247
vendor: 1,600 bytes, lines 248-290
248/***/ "./includes/builder/node_modules/lodash/_MapCache.js": 249/*!***********************************************************!*\ 250 !*** ./includes/builder/node_modules/lodash/_MapCache.js ***! 251 \***********************************************************/ 252/*! no static exports found */ 253/***/ (function(module, exports, __webpack_require__) { 254 255var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ "./includes/builder/node_modules/lodash/_mapCacheClear.js"), 256 mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ "./includes/builder/node_modules/lodash/_mapCacheDelete.js"), 257 mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ "./includes/builder/node_modules/lodash/_mapCacheGet.js"), 258 mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ "./includes/builder/node_modules/lodash/_mapCacheHas.js"), 259 mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ "./includes/builder/node_modules/lodash/_mapCacheSet.js"); 260 261/** 262 * Creates a map cache object to store key-value pairs. 263 * 264 * @private 265 * @constructor 266 * @param {Array} [entries] The key-value pairs to cache. 267 */ 268function MapCache(entries) { 269 var index = -1, 270 length = entries == null ? 0 : entries.length; 271 272 this.clear(); 273 while (++index < length) { 274 var entry = entries[index]; 275 this.set(entry[0], entry[1]); 276 } 277} 278 279// Add methods to `MapCache`. 280MapCache.prototype.clear = mapCacheClear; 281MapCache.prototype['delete'] = mapCacheDelete; 282MapCache.prototype.get = mapCacheGet; 283MapCache.prototype.has = mapCacheHas; 284MapCache.prototype.set = mapCacheSet; 285 286module.exports = MapCache; 287 288 289/***/ }), 290
vendor: 533 bytes, lines 291-307
291/***/ "./includes/builder/node_modules/lodash/_Symbol.js": 292/*!*********************************************************!*\ 293 !*** ./includes/builder/node_modules/lodash/_Symbol.js ***! 294 \*********************************************************/ 295/*! no static exports found */ 296/***/ (function(module, exports, __webpack_require__) { 297 298var root = __webpack_require__(/*! ./_root */ "./includes/builder/node_modules/lodash/_root.js"); 299 300/** Built-in value references. */ 301var Symbol = root.Symbol; 302 303module.exports = Symbol; 304 305 306/***/ }), 307
vendor: 2,582 bytes, lines 308-367
308/***/ "./includes/builder/node_modules/lodash/_arrayLikeKeys.js": 309/*!****************************************************************!*\ 310 !*** ./includes/builder/node_modules/lodash/_arrayLikeKeys.js ***! 311 \****************************************************************/ 312/*! no static exports found */ 313/***/ (function(module, exports, __webpack_require__) { 314 315var baseTimes = __webpack_require__(/*! ./_baseTimes */ "./includes/builder/node_modules/lodash/_baseTimes.js"), 316 isArguments = __webpack_require__(/*! ./isArguments */ "./includes/builder/node_modules/lodash/isArguments.js"), 317 isArray = __webpack_require__(/*! ./isArray */ "./includes/builder/node_modules/lodash/isArray.js"), 318 isBuffer = __webpack_require__(/*! ./isBuffer */ "./includes/builder/node_modules/lodash/isBuffer.js"), 319 isIndex = __webpack_require__(/*! ./_isIndex */ "./includes/builder/node_modules/lodash/_isIndex.js"), 320 isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./includes/builder/node_modules/lodash/isTypedArray.js"); 321 322/** Used for built-in method references. */ 323var objectProto = Object.prototype; 324 325/** Used to check objects for own properties. */ 326var hasOwnProperty = objectProto.hasOwnProperty; 327 328/** 329 * Creates an array of the enumerable property names of the array-like `value`. 330 * 331 * @private 332 * @param {*} value The value to query. 333 * @param {boolean} inherited Specify returning inherited property names. 334 * @returns {Array} Returns the array of property names. 335 */ 336function arrayLikeKeys(value, inherited) { 337 var isArr = isArray(value), 338 isArg = !isArr && isArguments(value), 339 isBuff = !isArr && !isArg && isBuffer(value), 340 isType = !isArr && !isArg && !isBuff && isTypedArray(value), 341 skipIndexes = isArr || isArg || isBuff || isType, 342 result = skipIndexes ? baseTimes(value.length, String) : [], 343 length = result.length; 344 345 for (var key in value) { 346 if ((inherited || hasOwnProperty.call(value, key)) && 347 !(skipIndexes && ( 348 // Safari 9 has enumerable `arguments.length` in strict mode. 349 key == 'length' || 350 // Node.js 0.10 has enumerable non-index properties on buffers. 351 (isBuff && (key == 'offset' || key == 'parent')) || 352 // PhantomJS 2 has enumerable non-index properties on typed arrays. 353 (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || 354 // Skip index properties. 355 isIndex(key, length) 356 ))) { 357 result.push(key); 358 } 359 } 360 return result; 361} 362 363module.exports = arrayLikeKeys; 364 365 366/***/ }), 367
vendor: 891 bytes, lines 368-399
368/***/ "./includes/builder/node_modules/lodash/_arrayMap.js": 369/*!***********************************************************!*\ 370 !*** ./includes/builder/node_modules/lodash/_arrayMap.js ***! 371 \***********************************************************/ 372/*! no static exports found */ 373/***/ (function(module, exports) { 374 375/** 376 * A specialized version of `_.map` for arrays without support for iteratee 377 * shorthands. 378 * 379 * @private 380 * @param {Array} [array] The array to iterate over. 381 * @param {Function} iteratee The function invoked per iteration. 382 * @returns {Array} Returns the new mapped array. 383 */ 384function arrayMap(array, iteratee) { 385 var index = -1, 386 length = array == null ? 0 : array.length, 387 result = Array(length); 388 389 while (++index < length) { 390 result[index] = iteratee(array[index], index, array); 391 } 392 return result; 393} 394 395module.exports = arrayMap; 396 397 398/***/ }), 399
vendor: 923 bytes, lines 400-431
400/***/ "./includes/builder/node_modules/lodash/_assocIndexOf.js": 401/*!***************************************************************!*\ 402 !*** ./includes/builder/node_modules/lodash/_assocIndexOf.js ***! 403 \***************************************************************/ 404/*! no static exports found */ 405/***/ (function(module, exports, __webpack_require__) { 406 407var eq = __webpack_require__(/*! ./eq */ "./includes/builder/node_modules/lodash/eq.js"); 408 409/** 410 * Gets the index at which the `key` is found in `array` of key-value pairs. 411 * 412 * @private 413 * @param {Array} array The array to inspect. 414 * @param {*} key The key to search for. 415 * @returns {number} Returns the index of the matched value, else `-1`. 416 */ 417function assocIndexOf(array, key) { 418 var length = array.length; 419 while (length--) { 420 if (eq(array[length][0], key)) { 421 return length; 422 } 423 } 424 return -1; 425} 426 427module.exports = assocIndexOf; 428 429 430/***/ }), 431
vendor: 1,121 bytes, lines 432-466
432/***/ "./includes/builder/node_modules/lodash/_baseFindIndex.js": 433/*!****************************************************************!*\ 434 !*** ./includes/builder/node_modules/lodash/_baseFindIndex.js ***! 435 \****************************************************************/ 436/*! no static exports found */ 437/***/ (function(module, exports) { 438 439/** 440 * The base implementation of `_.findIndex` and `_.findLastIndex` without 441 * support for iteratee shorthands. 442 * 443 * @private 444 * @param {Array} array The array to inspect. 445 * @param {Function} predicate The function invoked per iteration. 446 * @param {number} fromIndex The index to search from. 447 * @param {boolean} [fromRight] Specify iterating from right to left. 448 * @returns {number} Returns the index of the matched value, else `-1`. 449 */ 450function baseFindIndex(array, predicate, fromIndex, fromRight) { 451 var length = array.length, 452 index = fromIndex + (fromRight ? 1 : -1); 453 454 while ((fromRight ? index-- : ++index < length)) { 455 if (predicate(array[index], index, array)) { 456 return index; 457 } 458 } 459 return -1; 460} 461 462module.exports = baseFindIndex; 463 464 465/***/ }), 466
vendor: 1,107 bytes, lines 467-501
467/***/ "./includes/builder/node_modules/lodash/_baseGet.js": 468/*!**********************************************************!*\ 469 !*** ./includes/builder/node_modules/lodash/_baseGet.js ***! 470 \**********************************************************/ 471/*! no static exports found */ 472/***/ (function(module, exports, __webpack_require__) { 473 474var castPath = __webpack_require__(/*! ./_castPath */ "./includes/builder/node_modules/lodash/_castPath.js"), 475 toKey = __webpack_require__(/*! ./_toKey */ "./includes/builder/node_modules/lodash/_toKey.js"); 476 477/** 478 * The base implementation of `_.get` without support for default values. 479 * 480 * @private 481 * @param {Object} object The object to query. 482 * @param {Array|string} path The path of the property to get. 483 * @returns {*} Returns the resolved value. 484 */ 485function baseGet(object, path) { 486 path = castPath(path, object); 487 488 var index = 0, 489 length = path.length; 490 491 while (object != null && index < length) { 492 object = object[toKey(path[index++])]; 493 } 494 return (index && index == length) ? object : undefined; 495} 496 497module.exports = baseGet; 498 499 500/***/ }), 501
vendor: 1,374 bytes, lines 502-540
502/***/ "./includes/builder/node_modules/lodash/_baseGetTag.js": 503/*!*************************************************************!*\ 504 !*** ./includes/builder/node_modules/lodash/_baseGetTag.js ***! 505 \*************************************************************/ 506/*! no static exports found */ 507/***/ (function(module, exports, __webpack_require__) { 508 509var Symbol = __webpack_require__(/*! ./_Symbol */ "./includes/builder/node_modules/lodash/_Symbol.js"), 510 getRawTag = __webpack_require__(/*! ./_getRawTag */ "./includes/builder/node_modules/lodash/_getRawTag.js"), 511 objectToString = __webpack_require__(/*! ./_objectToString */ "./includes/builder/node_modules/lodash/_objectToString.js"); 512 513/** `Object#toString` result references. */ 514var nullTag = '[object Null]', 515 undefinedTag = '[object Undefined]'; 516 517/** Built-in value references. */ 518var symToStringTag = Symbol ? Symbol.toStringTag : undefined; 519 520/** 521 * The base implementation of `getTag` without fallbacks for buggy environments. 522 * 523 * @private 524 * @param {*} value The value to query. 525 * @returns {string} Returns the `toStringTag`. 526 */ 527function baseGetTag(value) { 528 if (value == null) { 529 return value === undefined ? undefinedTag : nullTag; 530 } 531 return (symToStringTag && symToStringTag in Object(value)) 532 ? getRawTag(value) 533 : objectToString(value); 534} 535 536module.exports = baseGetTag; 537 538 539/***/ }), 540
vendor: 1,251 bytes, lines 541-571
541/***/ "./includes/builder/node_modules/lodash/_baseIndexOf.js": 542/*!**************************************************************!*\ 543 !*** ./includes/builder/node_modules/lodash/_baseIndexOf.js ***! 544 \**************************************************************/ 545/*! no static exports found */ 546/***/ (function(module, exports, __webpack_require__) { 547 548var baseFindIndex = __webpack_require__(/*! ./_baseFindIndex */ "./includes/builder/node_modules/lodash/_baseFindIndex.js"), 549 baseIsNaN = __webpack_require__(/*! ./_baseIsNaN */ "./includes/builder/node_modules/lodash/_baseIsNaN.js"), 550 strictIndexOf = __webpack_require__(/*! ./_strictIndexOf */ "./includes/builder/node_modules/lodash/_strictIndexOf.js"); 551 552/** 553 * The base implementation of `_.indexOf` without `fromIndex` bounds checks. 554 * 555 * @private 556 * @param {Array} array The array to inspect. 557 * @param {*} value The value to search for. 558 * @param {number} fromIndex The index to search from. 559 * @returns {number} Returns the index of the matched value, else `-1`. 560 */ 561function baseIndexOf(array, value, fromIndex) { 562 return value === value 563 ? strictIndexOf(array, value, fromIndex) 564 : baseFindIndex(array, baseIsNaN, fromIndex); 565} 566 567module.exports = baseIndexOf; 568 569 570/***/ }), 571
vendor: 1,019 bytes, lines 572-600
572/***/ "./includes/builder/node_modules/lodash/_baseIsArguments.js": 573/*!******************************************************************!*\ 574 !*** ./includes/builder/node_modules/lodash/_baseIsArguments.js ***! 575 \******************************************************************/ 576/*! no static exports found */ 577/***/ (function(module, exports, __webpack_require__) { 578 579var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./includes/builder/node_modules/lodash/_baseGetTag.js"), 580 isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./includes/builder/node_modules/lodash/isObjectLike.js"); 581 582/** `Object#toString` result references. */ 583var argsTag = '[object Arguments]'; 584 585/** 586 * The base implementation of `_.isArguments`. 587 * 588 * @private 589 * @param {*} value The value to check. 590 * @returns {boolean} Returns `true` if `value` is an `arguments` object, 591 */ 592function baseIsArguments(value) { 593 return isObjectLike(value) && baseGetTag(value) == argsTag; 594} 595 596module.exports = baseIsArguments; 597 598 599/***/ }), 600
vendor: 635 bytes, lines 601-623
601/***/ "./includes/builder/node_modules/lodash/_baseIsNaN.js": 602/*!************************************************************!*\ 603 !*** ./includes/builder/node_modules/lodash/_baseIsNaN.js ***! 604 \************************************************************/ 605/*! no static exports found */ 606/***/ (function(module, exports) { 607 608/** 609 * The base implementation of `_.isNaN` without support for number objects. 610 * 611 * @private 612 * @param {*} value The value to check. 613 * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. 614 */ 615function baseIsNaN(value) { 616 return value !== value; 617} 618 619module.exports = baseIsNaN; 620 621 622/***/ }), 623
vendor: 2,073 bytes, lines 624-681
624/***/ "./includes/builder/node_modules/lodash/_baseIsNative.js": 625/*!***************************************************************!*\ 626 !*** ./includes/builder/node_modules/lodash/_baseIsNative.js ***! 627 \***************************************************************/ 628/*! no static exports found */ 629/***/ (function(module, exports, __webpack_require__) { 630 631var isFunction = __webpack_require__(/*! ./isFunction */ "./includes/builder/node_modules/lodash/isFunction.js"), 632 isMasked = __webpack_require__(/*! ./_isMasked */ "./includes/builder/node_modules/lodash/_isMasked.js"), 633 isObject = __webpack_require__(/*! ./isObject */ "./includes/builder/node_modules/lodash/isObject.js"), 634 toSource = __webpack_require__(/*! ./_toSource */ "./includes/builder/node_modules/lodash/_toSource.js"); 635 636/** 637 * Used to match `RegExp` 638 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). 639 */ 640var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; 641 642/** Used to detect host constructors (Safari). */ 643var reIsHostCtor = /^\[object .+?Constructor\]$/; 644 645/** Used for built-in method references. */ 646var funcProto = Function.prototype, 647 objectProto = Object.prototype; 648 649/** Used to resolve the decompiled source of functions. */ 650var funcToString = funcProto.toString; 651 652/** Used to check objects for own properties. */ 653var hasOwnProperty = objectProto.hasOwnProperty; 654 655/** Used to detect if a method is native. */ 656var reIsNative = RegExp('^' + 657 funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') 658 .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' 659); 660 661/** 662 * The base implementation of `_.isNative` without bad shim checks. 663 * 664 * @private 665 * @param {*} value The value to check. 666 * @returns {boolean} Returns `true` if `value` is a native function, 667 * else `false`. 668 */ 669function baseIsNative(value) { 670 if (!isObject(value) || isMasked(value)) { 671 return false; 672 } 673 var pattern = isFunction(value) ? reIsNative : reIsHostCtor; 674 return pattern.test(toSource(value)); 675} 676 677module.exports = baseIsNative; 678 679 680/***/ }), 681
vendor: 2,827 bytes, lines 682-752
682/***/ "./includes/builder/node_modules/lodash/_baseIsTypedArray.js": 683/*!*******************************************************************!*\ 684 !*** ./includes/builder/node_modules/lodash/_baseIsTypedArray.js ***! 685 \*******************************************************************/ 686/*! no static exports found */ 687/***/ (function(module, exports, __webpack_require__) { 688 689var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./includes/builder/node_modules/lodash/_baseGetTag.js"), 690 isLength = __webpack_require__(/*! ./isLength */ "./includes/builder/node_modules/lodash/isLength.js"), 691 isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./includes/builder/node_modules/lodash/isObjectLike.js"); 692 693/** `Object#toString` result references. */ 694var argsTag = '[object Arguments]', 695 arrayTag = '[object Array]', 696 boolTag = '[object Boolean]', 697 dateTag = '[object Date]', 698 errorTag = '[object Error]', 699 funcTag = '[object Function]', 700 mapTag = '[object Map]', 701 numberTag = '[object Number]', 702 objectTag = '[object Object]', 703 regexpTag = '[object RegExp]', 704 setTag = '[object Set]', 705 stringTag = '[object String]', 706 weakMapTag = '[object WeakMap]'; 707 708var arrayBufferTag = '[object ArrayBuffer]', 709 dataViewTag = '[object DataView]', 710 float32Tag = '[object Float32Array]', 711 float64Tag = '[object Float64Array]', 712 int8Tag = '[object Int8Array]', 713 int16Tag = '[object Int16Array]', 714 int32Tag = '[object Int32Array]', 715 uint8Tag = '[object Uint8Array]', 716 uint8ClampedTag = '[object Uint8ClampedArray]', 717 uint16Tag = '[object Uint16Array]', 718 uint32Tag = '[object Uint32Array]'; 719 720/** Used to identify `toStringTag` values of typed arrays. */ 721var typedArrayTags = {}; 722typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = 723typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = 724typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = 725typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = 726typedArrayTags[uint32Tag] = true; 727typedArrayTags[argsTag] = typedArrayTags[arrayTag] = 728typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = 729typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = 730typedArrayTags[errorTag] = typedArrayTags[funcTag] = 731typedArrayTags[mapTag] = typedArrayTags[numberTag] = 732typedArrayTags[objectTag] = typedArrayTags[regexpTag] = 733typedArrayTags[setTag] = typedArrayTags[stringTag] = 734typedArrayTags[weakMapTag] = false; 735 736/** 737 * The base implementation of `_.isTypedArray` without Node.js optimizations. 738 * 739 * @private 740 * @param {*} value The value to check. 741 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. 742 */ 743function baseIsTypedArray(value) { 744 return isObjectLike(value) && 745 isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; 746} 747 748module.exports = baseIsTypedArray; 749 750 751/***/ }), 752
vendor: 1,279 bytes, lines 753-793
753/***/ "./includes/builder/node_modules/lodash/_baseKeys.js": 754/*!***********************************************************!*\ 755 !*** ./includes/builder/node_modules/lodash/_baseKeys.js ***! 756 \***********************************************************/ 757/*! no static exports found */ 758/***/ (function(module, exports, __webpack_require__) { 759 760var isPrototype = __webpack_require__(/*! ./_isPrototype */ "./includes/builder/node_modules/lodash/_isPrototype.js"), 761 nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "./includes/builder/node_modules/lodash/_nativeKeys.js"); 762 763/** Used for built-in method references. */ 764var objectProto = Object.prototype; 765 766/** Used to check objects for own properties. */ 767var hasOwnProperty = objectProto.hasOwnProperty; 768 769/** 770 * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. 771 * 772 * @private 773 * @param {Object} object The object to query. 774 * @returns {Array} Returns the array of property names. 775 */ 776function baseKeys(object) { 777 if (!isPrototype(object)) { 778 return nativeKeys(object); 779 } 780 var result = []; 781 for (var key in Object(object)) { 782 if (hasOwnProperty.call(object, key) && key != 'constructor') { 783 result.push(key); 784 } 785 } 786 return result; 787} 788 789module.exports = baseKeys; 790 791 792/***/ }), 793
vendor: 843 bytes, lines 794-824
794/***/ "./includes/builder/node_modules/lodash/_baseTimes.js": 795/*!************************************************************!*\ 796 !*** ./includes/builder/node_modules/lodash/_baseTimes.js ***! 797 \************************************************************/ 798/*! no static exports found */ 799/***/ (function(module, exports) { 800 801/** 802 * The base implementation of `_.times` without support for iteratee shorthands 803 * or max array length checks. 804 * 805 * @private 806 * @param {number} n The number of times to invoke `iteratee`. 807 * @param {Function} iteratee The function invoked per iteration. 808 * @returns {Array} Returns the array of results. 809 */ 810function baseTimes(n, iteratee) { 811 var index = -1, 812 result = Array(n); 813 814 while (++index < n) { 815 result[index] = iteratee(index); 816 } 817 return result; 818} 819 820module.exports = baseTimes; 821 822 823/***/ }), 824
vendor: 1,805 bytes, lines 825-872
825/***/ "./includes/builder/node_modules/lodash/_baseToString.js": 826/*!***************************************************************!*\ 827 !*** ./includes/builder/node_modules/lodash/_baseToString.js ***! 828 \***************************************************************/ 829/*! no static exports found */ 830/***/ (function(module, exports, __webpack_require__) { 831 832var Symbol = __webpack_require__(/*! ./_Symbol */ "./includes/builder/node_modules/lodash/_Symbol.js"), 833 arrayMap = __webpack_require__(/*! ./_arrayMap */ "./includes/builder/node_modules/lodash/_arrayMap.js"), 834 isArray = __webpack_require__(/*! ./isArray */ "./includes/builder/node_modules/lodash/isArray.js"), 835 isSymbol = __webpack_require__(/*! ./isSymbol */ "./includes/builder/node_modules/lodash/isSymbol.js"); 836 837/** Used as references for various `Number` constants. */ 838var INFINITY = 1 / 0; 839 840/** Used to convert symbols to primitives and strings. */ 841var symbolProto = Symbol ? Symbol.prototype : undefined, 842 symbolToString = symbolProto ? symbolProto.toString : undefined; 843 844/** 845 * The base implementation of `_.toString` which doesn't convert nullish 846 * values to empty strings. 847 * 848 * @private 849 * @param {*} value The value to process. 850 * @returns {string} Returns the string. 851 */ 852function baseToString(value) { 853 // Exit early for strings to avoid a performance hit in some environments. 854 if (typeof value == 'string') { 855 return value; 856 } 857 if (isArray(value)) { 858 // Recursively convert values (susceptible to call stack limits). 859 return arrayMap(value, baseToString) + ''; 860 } 861 if (isSymbol(value)) { 862 return symbolToString ? symbolToString.call(value) : ''; 863 } 864 var result = (value + ''); 865 return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; 866} 867 868module.exports = baseToString; 869 870 871/***/ }), 872
vendor: 671 bytes, lines 873-897
873/***/ "./includes/builder/node_modules/lodash/_baseUnary.js": 874/*!************************************************************!*\ 875 !*** ./includes/builder/node_modules/lodash/_baseUnary.js ***! 876 \************************************************************/ 877/*! no static exports found */ 878/***/ (function(module, exports) { 879 880/** 881 * The base implementation of `_.unary` without support for storing metadata. 882 * 883 * @private 884 * @param {Function} func The function to cap arguments for. 885 * @returns {Function} Returns the new capped function. 886 */ 887function baseUnary(func) { 888 return function(value) { 889 return func(value); 890 }; 891} 892 893module.exports = baseUnary; 894 895 896/***/ }), 897
vendor: 969 bytes, lines 898-927
898/***/ "./includes/builder/node_modules/lodash/_baseValues.js": 899/*!*************************************************************!*\ 900 !*** ./includes/builder/node_modules/lodash/_baseValues.js ***! 901 \*************************************************************/ 902/*! no static exports found */ 903/***/ (function(module, exports, __webpack_require__) { 904 905var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./includes/builder/node_modules/lodash/_arrayMap.js"); 906 907/** 908 * The base implementation of `_.values` and `_.valuesIn` which creates an 909 * array of `object` property values corresponding to the property names 910 * of `props`. 911 * 912 * @private 913 * @param {Object} object The object to query. 914 * @param {Array} props The property names to get values for. 915 * @returns {Object} Returns the array of property values. 916 */ 917function baseValues(object, props) { 918 return arrayMap(props, function(key) { 919 return object[key]; 920 }); 921} 922 923module.exports = baseValues; 924 925 926/***/ }), 927
vendor: 1,207 bytes, lines 928-959
928/***/ "./includes/builder/node_modules/lodash/_castPath.js": 929/*!***********************************************************!*\ 930 !*** ./includes/builder/node_modules/lodash/_castPath.js ***! 931 \***********************************************************/ 932/*! no static exports found */ 933/***/ (function(module, exports, __webpack_require__) { 934 935var isArray = __webpack_require__(/*! ./isArray */ "./includes/builder/node_modules/lodash/isArray.js"), 936 isKey = __webpack_require__(/*! ./_isKey */ "./includes/builder/node_modules/lodash/_isKey.js"), 937 stringToPath = __webpack_require__(/*! ./_stringToPath */ "./includes/builder/node_modules/lodash/_stringToPath.js"), 938 toString = __webpack_require__(/*! ./toString */ "./includes/builder/node_modules/lodash/toString.js"); 939 940/** 941 * Casts `value` to a path array if it's not one. 942 * 943 * @private 944 * @param {*} value The value to inspect. 945 * @param {Object} [object] The object to query keys on. 946 * @returns {Array} Returns the cast property path array. 947 */ 948function castPath(value, object) { 949 if (isArray(value)) { 950 return value; 951 } 952 return isKey(value, object) ? [value] : stringToPath(toString(value)); 953} 954 955module.exports = castPath; 956 957 958/***/ }), 959
vendor: 588 bytes, lines 960-976
960/***/ "./includes/builder/node_modules/lodash/_coreJsData.js": 961/*!*************************************************************!*\ 962 !*** ./includes/builder/node_modules/lodash/_coreJsData.js ***! 963 \*************************************************************/ 964/*! no static exports found */ 965/***/ (function(module, exports, __webpack_require__) { 966 967var root = __webpack_require__(/*! ./_root */ "./includes/builder/node_modules/lodash/_root.js"); 968 969/** Used to detect overreaching core-js shims. */ 970var coreJsData = root['__core-js_shared__']; 971 972module.exports = coreJsData; 973 974 975/***/ }), 976
vendor: 749 bytes, lines 977-992
977/***/ "./includes/builder/node_modules/lodash/_freeGlobal.js": 978/*!*************************************************************!*\ 979 !*** ./includes/builder/node_modules/lodash/_freeGlobal.js ***! 980 \*************************************************************/ 981/*! no static exports found */ 982/***/ (function(module, exports, __webpack_require__) { 983 984/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ 985var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; 986 987module.exports = freeGlobal; 988 989/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"))) 990 991/***/ }), 992
vendor: 836 bytes, lines 993-1021
993/***/ "./includes/builder/node_modules/lodash/_getMapData.js": 994/*!*************************************************************!*\ 995 !*** ./includes/builder/node_modules/lodash/_getMapData.js ***! 996 \*************************************************************/ 997/*! no static exports found */ 998/***/ (function(module, exports, __webpack_require__) { 999 1000var isKeyable = __webpack_require__(/*! ./_isKeyable */ "./includes/builder/node_modules/lodash/_isKeyable.js"); 1001 1002/** 1003 * Gets the data for `map`. 1004 * 1005 * @private 1006 * @param {Object} map The map to query. 1007 * @param {string} key The reference key. 1008 * @returns {*} Returns the map data. 1009 */ 1010function getMapData(map, key) { 1011 var data = map.__data__; 1012 return isKeyable(key) 1013 ? data[typeof key == 'string' ? 'string' : 'hash'] 1014 : data.map; 1015} 1016 1017module.exports = getMapData; 1018 1019 1020/***/ }), 1021
vendor: 989 bytes, lines 1022-1049
1022/***/ "./includes/builder/node_modules/lodash/_getNative.js": 1023/*!************************************************************!*\ 1024 !*** ./includes/builder/node_modules/lodash/_getNative.js ***! 1025 \************************************************************/ 1026/*! no static exports found */ 1027/***/ (function(module, exports, __webpack_require__) { 1028 1029var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ "./includes/builder/node_modules/lodash/_baseIsNative.js"), 1030 getValue = __webpack_require__(/*! ./_getValue */ "./includes/builder/node_modules/lodash/_getValue.js"); 1031 1032/** 1033 * Gets the native function at `key` of `object`. 1034 * 1035 * @private 1036 * @param {Object} object The object to query. 1037 * @param {string} key The key of the method to get. 1038 * @returns {*} Returns the function if it's native, else `undefined`. 1039 */ 1040function getNative(object, key) { 1041 var value = getValue(object, key); 1042 return baseIsNative(value) ? value : undefined; 1043} 1044 1045module.exports = getNative; 1046 1047 1048/***/ }), 1049
vendor: 1,568 bytes, lines 1050-1106
1050/***/ "./includes/builder/node_modules/lodash/_getRawTag.js": 1051/*!************************************************************!*\ 1052 !*** ./includes/builder/node_modules/lodash/_getRawTag.js ***! 1053 \************************************************************/ 1054/*! no static exports found */ 1055/***/ (function(module, exports, __webpack_require__) { 1056 1057var Symbol = __webpack_require__(/*! ./_Symbol */ "./includes/builder/node_modules/lodash/_Symbol.js"); 1058 1059/** Used for built-in method references. */ 1060var objectProto = Object.prototype; 1061 1062/** Used to check objects for own properties. */ 1063var hasOwnProperty = objectProto.hasOwnProperty; 1064 1065/** 1066 * Used to resolve the 1067 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) 1068 * of values. 1069 */ 1070var nativeObjectToString = objectProto.toString; 1071 1072/** Built-in value references. */ 1073var symToStringTag = Symbol ? Symbol.toStringTag : undefined; 1074 1075/** 1076 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. 1077 * 1078 * @private 1079 * @param {*} value The value to query. 1080 * @returns {string} Returns the raw `toStringTag`. 1081 */ 1082function getRawTag(value) { 1083 var isOwn = hasOwnProperty.call(value, symToStringTag), 1084 tag = value[symToStringTag]; 1085 1086 try { 1087 value[symToStringTag] = undefined; 1088 var unmasked = true; 1089 } catch (e) {} 1090 1091 var result = nativeObjectToString.call(value); 1092 if (unmasked) { 1093 if (isOwn) { 1094 value[symToStringTag] = tag; 1095 } else { 1096 delete value[symToStringTag]; 1097 } 1098 } 1099 return result; 1100} 1101 1102module.exports = getRawTag; 1103 1104 1105/***/ }), 1106
vendor: 660 bytes, lines 1107-1130
1107/***/ "./includes/builder/node_modules/lodash/_getValue.js": 1108/*!***********************************************************!*\ 1109 !*** ./includes/builder/node_modules/lodash/_getValue.js ***! 1110 \***********************************************************/ 1111/*! no static exports found */ 1112/***/ (function(module, exports) { 1113 1114/** 1115 * Gets the value at `key` of `object`. 1116 * 1117 * @private 1118 * @param {Object} [object] The object to query. 1119 * @param {string} key The key of the property to get. 1120 * @returns {*} Returns the property value. 1121 */ 1122function getValue(object, key) { 1123 return object == null ? undefined : object[key]; 1124} 1125 1126module.exports = getValue; 1127 1128 1129/***/ }), 1130
vendor: 716 bytes, lines 1131-1156
1131/***/ "./includes/builder/node_modules/lodash/_hashClear.js": 1132/*!************************************************************!*\ 1133 !*** ./includes/builder/node_modules/lodash/_hashClear.js ***! 1134 \************************************************************/ 1135/*! no static exports found */ 1136/***/ (function(module, exports, __webpack_require__) { 1137 1138var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./includes/builder/node_modules/lodash/_nativeCreate.js"); 1139 1140/** 1141 * Removes all key-value entries from the hash. 1142 * 1143 * @private 1144 * @name clear 1145 * @memberOf Hash 1146 */ 1147function hashClear() { 1148 this.__data__ = nativeCreate ? nativeCreate(null) : {}; 1149 this.size = 0; 1150} 1151 1152module.exports = hashClear; 1153 1154 1155/***/ }), 1156
vendor: 788 bytes, lines 1157-1184
1157/***/ "./includes/builder/node_modules/lodash/_hashDelete.js": 1158/*!*************************************************************!*\ 1159 !*** ./includes/builder/node_modules/lodash/_hashDelete.js ***! 1160 \*************************************************************/ 1161/*! no static exports found */ 1162/***/ (function(module, exports) { 1163 1164/** 1165 * Removes `key` and its value from the hash. 1166 * 1167 * @private 1168 * @name delete 1169 * @memberOf Hash 1170 * @param {Object} hash The hash to modify. 1171 * @param {string} key The key of the value to remove. 1172 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 1173 */ 1174function hashDelete(key) { 1175 var result = this.has(key) && delete this.__data__[key]; 1176 this.size -= result ? 1 : 0; 1177 return result; 1178} 1179 1180module.exports = hashDelete; 1181 1182 1183/***/ }), 1184
vendor: 1,199 bytes, lines 1185-1225
1185/***/ "./includes/builder/node_modules/lodash/_hashGet.js": 1186/*!**********************************************************!*\ 1187 !*** ./includes/builder/node_modules/lodash/_hashGet.js ***! 1188 \**********************************************************/ 1189/*! no static exports found */ 1190/***/ (function(module, exports, __webpack_require__) { 1191 1192var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./includes/builder/node_modules/lodash/_nativeCreate.js"); 1193 1194/** Used to stand-in for `undefined` hash values. */ 1195var HASH_UNDEFINED = '__lodash_hash_undefined__'; 1196 1197/** Used for built-in method references. */ 1198var objectProto = Object.prototype; 1199 1200/** Used to check objects for own properties. */ 1201var hasOwnProperty = objectProto.hasOwnProperty; 1202 1203/** 1204 * Gets the hash value for `key`. 1205 * 1206 * @private 1207 * @name get 1208 * @memberOf Hash 1209 * @param {string} key The key of the value to get. 1210 * @returns {*} Returns the entry value. 1211 */ 1212function hashGet(key) { 1213 var data = this.__data__; 1214 if (nativeCreate) { 1215 var result = data[key]; 1216 return result === HASH_UNDEFINED ? undefined : result; 1217 } 1218 return hasOwnProperty.call(data, key) ? data[key] : undefined; 1219} 1220 1221module.exports = hashGet; 1222 1223 1224/***/ }), 1225
vendor: 1,053 bytes, lines 1226-1259
1226/***/ "./includes/builder/node_modules/lodash/_hashHas.js": 1227/*!**********************************************************!*\ 1228 !*** ./includes/builder/node_modules/lodash/_hashHas.js ***! 1229 \**********************************************************/ 1230/*! no static exports found */ 1231/***/ (function(module, exports, __webpack_require__) { 1232 1233var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./includes/builder/node_modules/lodash/_nativeCreate.js"); 1234 1235/** Used for built-in method references. */ 1236var objectProto = Object.prototype; 1237 1238/** Used to check objects for own properties. */ 1239var hasOwnProperty = objectProto.hasOwnProperty; 1240 1241/** 1242 * Checks if a hash value for `key` exists. 1243 * 1244 * @private 1245 * @name has 1246 * @memberOf Hash 1247 * @param {string} key The key of the entry to check. 1248 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 1249 */ 1250function hashHas(key) { 1251 var data = this.__data__; 1252 return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); 1253} 1254 1255module.exports = hashHas; 1256 1257 1258/***/ }), 1259
vendor: 1,025 bytes, lines 1260-1293
1260/***/ "./includes/builder/node_modules/lodash/_hashSet.js": 1261/*!**********************************************************!*\ 1262 !*** ./includes/builder/node_modules/lodash/_hashSet.js ***! 1263 \**********************************************************/ 1264/*! no static exports found */ 1265/***/ (function(module, exports, __webpack_require__) { 1266 1267var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./includes/builder/node_modules/lodash/_nativeCreate.js"); 1268 1269/** Used to stand-in for `undefined` hash values. */ 1270var HASH_UNDEFINED = '__lodash_hash_undefined__'; 1271 1272/** 1273 * Sets the hash `key` to `value`. 1274 * 1275 * @private 1276 * @name set 1277 * @memberOf Hash 1278 * @param {string} key The key of the value to set. 1279 * @param {*} value The value to set. 1280 * @returns {Object} Returns the hash instance. 1281 */ 1282function hashSet(key, value) { 1283 var data = this.__data__; 1284 this.size += this.has(key) ? 0 : 1; 1285 data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; 1286 return this; 1287} 1288 1289module.exports = hashSet; 1290 1291 1292/***/ }), 1293
vendor: 1,090 bytes, lines 1294-1329
1294/***/ "./includes/builder/node_modules/lodash/_isIndex.js": 1295/*!**********************************************************!*\ 1296 !*** ./includes/builder/node_modules/lodash/_isIndex.js ***! 1297 \**********************************************************/ 1298/*! no static exports found */ 1299/***/ (function(module, exports) { 1300 1301/** Used as references for various `Number` constants. */ 1302var MAX_SAFE_INTEGER = 9007199254740991; 1303 1304/** Used to detect unsigned integer values. */ 1305var reIsUint = /^(?:0|[1-9]\d*)$/; 1306 1307/** 1308 * Checks if `value` is a valid array-like index. 1309 * 1310 * @private 1311 * @param {*} value The value to check. 1312 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. 1313 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. 1314 */ 1315function isIndex(value, length) { 1316 var type = typeof value; 1317 length = length == null ? MAX_SAFE_INTEGER : length; 1318 1319 return !!length && 1320 (type == 'number' || 1321 (type != 'symbol' && reIsUint.test(value))) && 1322 (value > -1 && value % 1 == 0 && value < length); 1323} 1324 1325module.exports = isIndex; 1326 1327 1328/***/ }), 1329
vendor: 1,363 bytes, lines 1330-1369
1330/***/ "./includes/builder/node_modules/lodash/_isKey.js": 1331/*!********************************************************!*\ 1332 !*** ./includes/builder/node_modules/lodash/_isKey.js ***! 1333 \********************************************************/ 1334/*! no static exports found */ 1335/***/ (function(module, exports, __webpack_require__) { 1336 1337var isArray = __webpack_require__(/*! ./isArray */ "./includes/builder/node_modules/lodash/isArray.js"), 1338 isSymbol = __webpack_require__(/*! ./isSymbol */ "./includes/builder/node_modules/lodash/isSymbol.js"); 1339 1340/** Used to match property names within property paths. */ 1341var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, 1342 reIsPlainProp = /^\w*$/; 1343 1344/** 1345 * Checks if `value` is a property name and not a property path. 1346 * 1347 * @private 1348 * @param {*} value The value to check. 1349 * @param {Object} [object] The object to query keys on. 1350 * @returns {boolean} Returns `true` if `value` is a property name, else `false`. 1351 */ 1352function isKey(value, object) { 1353 if (isArray(value)) { 1354 return false; 1355 } 1356 var type = typeof value; 1357 if (type == 'number' || type == 'symbol' || type == 'boolean' || 1358 value == null || isSymbol(value)) { 1359 return true; 1360 } 1361 return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || 1362 (object != null && value in Object(object)); 1363} 1364 1365module.exports = isKey; 1366 1367 1368/***/ }), 1369
vendor: 769 bytes, lines 1370-1395
1370/***/ "./includes/builder/node_modules/lodash/_isKeyable.js": 1371/*!************************************************************!*\ 1372 !*** ./includes/builder/node_modules/lodash/_isKeyable.js ***! 1373 \************************************************************/ 1374/*! no static exports found */ 1375/***/ (function(module, exports) { 1376 1377/** 1378 * Checks if `value` is suitable for use as unique object key. 1379 * 1380 * @private 1381 * @param {*} value The value to check. 1382 * @returns {boolean} Returns `true` if `value` is suitable, else `false`. 1383 */ 1384function isKeyable(value) { 1385 var type = typeof value; 1386 return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') 1387 ? (value !== '__proto__') 1388 : (value === null); 1389} 1390 1391module.exports = isKeyable; 1392 1393 1394/***/ }), 1395
vendor: 993 bytes, lines 1396-1426
1396/***/ "./includes/builder/node_modules/lodash/_isMasked.js": 1397/*!***********************************************************!*\ 1398 !*** ./includes/builder/node_modules/lodash/_isMasked.js ***! 1399 \***********************************************************/ 1400/*! no static exports found */ 1401/***/ (function(module, exports, __webpack_require__) { 1402 1403var coreJsData = __webpack_require__(/*! ./_coreJsData */ "./includes/builder/node_modules/lodash/_coreJsData.js"); 1404 1405/** Used to detect methods masquerading as native. */ 1406var maskSrcKey = (function() { 1407 var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); 1408 return uid ? ('Symbol(src)_1.' + uid) : ''; 1409}()); 1410 1411/** 1412 * Checks if `func` has its source masked. 1413 * 1414 * @private 1415 * @param {Function} func The function to check. 1416 * @returns {boolean} Returns `true` if `func` is masked, else `false`. 1417 */ 1418function isMasked(func) { 1419 return !!maskSrcKey && (maskSrcKey in func); 1420} 1421 1422module.exports = isMasked; 1423 1424 1425/***/ }), 1426
vendor: 827 bytes, lines 1427-1455
1427/***/ "./includes/builder/node_modules/lodash/_isPrototype.js": 1428/*!**************************************************************!*\ 1429 !*** ./includes/builder/node_modules/lodash/_isPrototype.js ***! 1430 \**************************************************************/ 1431/*! no static exports found */ 1432/***/ (function(module, exports) { 1433 1434/** Used for built-in method references. */ 1435var objectProto = Object.prototype; 1436 1437/** 1438 * Checks if `value` is likely a prototype object. 1439 * 1440 * @private 1441 * @param {*} value The value to check. 1442 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. 1443 */ 1444function isPrototype(value) { 1445 var Ctor = value && value.constructor, 1446 proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; 1447 1448 return value === proto; 1449} 1450 1451module.exports = isPrototype; 1452 1453 1454/***/ }), 1455
vendor: 577 bytes, lines 1456-1479
1456/***/ "./includes/builder/node_modules/lodash/_listCacheClear.js": 1457/*!*****************************************************************!*\ 1458 !*** ./includes/builder/node_modules/lodash/_listCacheClear.js ***! 1459 \*****************************************************************/ 1460/*! no static exports found */ 1461/***/ (function(module, exports) { 1462 1463/** 1464 * Removes all key-value entries from the list cache. 1465 * 1466 * @private 1467 * @name clear 1468 * @memberOf ListCache 1469 */ 1470function listCacheClear() { 1471 this.__data__ = []; 1472 this.size = 0; 1473} 1474 1475module.exports = listCacheClear; 1476 1477 1478/***/ }), 1479
vendor: 1,234 bytes, lines 1480-1525
1480/***/ "./includes/builder/node_modules/lodash/_listCacheDelete.js": 1481/*!******************************************************************!*\ 1482 !*** ./includes/builder/node_modules/lodash/_listCacheDelete.js ***! 1483 \******************************************************************/ 1484/*! no static exports found */ 1485/***/ (function(module, exports, __webpack_require__) { 1486 1487var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./includes/builder/node_modules/lodash/_assocIndexOf.js"); 1488 1489/** Used for built-in method references. */ 1490var arrayProto = Array.prototype; 1491 1492/** Built-in value references. */ 1493var splice = arrayProto.splice; 1494 1495/** 1496 * Removes `key` and its value from the list cache. 1497 * 1498 * @private 1499 * @name delete 1500 * @memberOf ListCache 1501 * @param {string} key The key of the value to remove. 1502 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 1503 */ 1504function listCacheDelete(key) { 1505 var data = this.__data__, 1506 index = assocIndexOf(data, key); 1507 1508 if (index < 0) { 1509 return false; 1510 } 1511 var lastIndex = data.length - 1; 1512 if (index == lastIndex) { 1513 data.pop(); 1514 } else { 1515 splice.call(data, index, 1); 1516 } 1517 --this.size; 1518 return true; 1519} 1520 1521module.exports = listCacheDelete; 1522 1523 1524/***/ }), 1525
vendor: 867 bytes, lines 1526-1555
1526/***/ "./includes/builder/node_modules/lodash/_listCacheGet.js": 1527/*!***************************************************************!*\ 1528 !*** ./includes/builder/node_modules/lodash/_listCacheGet.js ***! 1529 \***************************************************************/ 1530/*! no static exports found */ 1531/***/ (function(module, exports, __webpack_require__) { 1532 1533var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./includes/builder/node_modules/lodash/_assocIndexOf.js"); 1534 1535/** 1536 * Gets the list cache value for `key`. 1537 * 1538 * @private 1539 * @name get 1540 * @memberOf ListCache 1541 * @param {string} key The key of the value to get. 1542 * @returns {*} Returns the entry value. 1543 */ 1544function listCacheGet(key) { 1545 var data = this.__data__, 1546 index = assocIndexOf(data, key); 1547 1548 return index < 0 ? undefined : data[index][1]; 1549} 1550 1551module.exports = listCacheGet; 1552 1553 1554/***/ }), 1555
vendor: 850 bytes, lines 1556-1582
1556/***/ "./includes/builder/node_modules/lodash/_listCacheHas.js": 1557/*!***************************************************************!*\ 1558 !*** ./includes/builder/node_modules/lodash/_listCacheHas.js ***! 1559 \***************************************************************/ 1560/*! no static exports found */ 1561/***/ (function(module, exports, __webpack_require__) { 1562 1563var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./includes/builder/node_modules/lodash/_assocIndexOf.js"); 1564 1565/** 1566 * Checks if a list cache value for `key` exists. 1567 * 1568 * @private 1569 * @name has 1570 * @memberOf ListCache 1571 * @param {string} key The key of the entry to check. 1572 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 1573 */ 1574function listCacheHas(key) { 1575 return assocIndexOf(this.__data__, key) > -1; 1576} 1577 1578module.exports = listCacheHas; 1579 1580 1581/***/ }), 1582
vendor: 1,000 bytes, lines 1583-1619
1583/***/ "./includes/builder/node_modules/lodash/_listCacheSet.js": 1584/*!***************************************************************!*\ 1585 !*** ./includes/builder/node_modules/lodash/_listCacheSet.js ***! 1586 \***************************************************************/ 1587/*! no static exports found */ 1588/***/ (function(module, exports, __webpack_require__) { 1589 1590var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./includes/builder/node_modules/lodash/_assocIndexOf.js"); 1591 1592/** 1593 * Sets the list cache `key` to `value`. 1594 * 1595 * @private 1596 * @name set 1597 * @memberOf ListCache 1598 * @param {string} key The key of the value to set. 1599 * @param {*} value The value to set. 1600 * @returns {Object} Returns the list cache instance. 1601 */ 1602function listCacheSet(key, value) { 1603 var data = this.__data__, 1604 index = assocIndexOf(data, key); 1605 1606 if (index < 0) { 1607 ++this.size; 1608 data.push([key, value]); 1609 } else { 1610 data[index][1] = value; 1611 } 1612 return this; 1613} 1614 1615module.exports = listCacheSet; 1616 1617 1618/***/ }), 1619
vendor: 974 bytes, lines 1620-1651
1620/***/ "./includes/builder/node_modules/lodash/_mapCacheClear.js": 1621/*!****************************************************************!*\ 1622 !*** ./includes/builder/node_modules/lodash/_mapCacheClear.js ***! 1623 \****************************************************************/ 1624/*! no static exports found */ 1625/***/ (function(module, exports, __webpack_require__) { 1626 1627var Hash = __webpack_require__(/*! ./_Hash */ "./includes/builder/node_modules/lodash/_Hash.js"), 1628 ListCache = __webpack_require__(/*! ./_ListCache */ "./includes/builder/node_modules/lodash/_ListCache.js"), 1629 Map = __webpack_require__(/*! ./_Map */ "./includes/builder/node_modules/lodash/_Map.js"); 1630 1631/** 1632 * Removes all key-value entries from the map. 1633 * 1634 * @private 1635 * @name clear 1636 * @memberOf MapCache 1637 */ 1638function mapCacheClear() { 1639 this.size = 0; 1640 this.__data__ = { 1641 'hash': new Hash, 1642 'map': new (Map || ListCache), 1643 'string': new Hash 1644 }; 1645} 1646 1647module.exports = mapCacheClear; 1648 1649 1650/***/ }), 1651
vendor: 903 bytes, lines 1652-1680
1652/***/ "./includes/builder/node_modules/lodash/_mapCacheDelete.js": 1653/*!*****************************************************************!*\ 1654 !*** ./includes/builder/node_modules/lodash/_mapCacheDelete.js ***! 1655 \*****************************************************************/ 1656/*! no static exports found */ 1657/***/ (function(module, exports, __webpack_require__) { 1658 1659var getMapData = __webpack_require__(/*! ./_getMapData */ "./includes/builder/node_modules/lodash/_getMapData.js"); 1660 1661/** 1662 * Removes `key` and its value from the map. 1663 * 1664 * @private 1665 * @name delete 1666 * @memberOf MapCache 1667 * @param {string} key The key of the value to remove. 1668 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 1669 */ 1670function mapCacheDelete(key) { 1671 var result = getMapData(this, key)['delete'](key); 1672 this.size -= result ? 1 : 0; 1673 return result; 1674} 1675 1676module.exports = mapCacheDelete; 1677 1678 1679/***/ }), 1680
vendor: 771 bytes, lines 1681-1707
1681/***/ "./includes/builder/node_modules/lodash/_mapCacheGet.js": 1682/*!**************************************************************!*\ 1683 !*** ./includes/builder/node_modules/lodash/_mapCacheGet.js ***! 1684 \**************************************************************/ 1685/*! no static exports found */ 1686/***/ (function(module, exports, __webpack_require__) { 1687 1688var getMapData = __webpack_require__(/*! ./_getMapData */ "./includes/builder/node_modules/lodash/_getMapData.js"); 1689 1690/** 1691 * Gets the map value for `key`. 1692 * 1693 * @private 1694 * @name get 1695 * @memberOf MapCache 1696 * @param {string} key The key of the value to get. 1697 * @returns {*} Returns the entry value. 1698 */ 1699function mapCacheGet(key) { 1700 return getMapData(this, key).get(key); 1701} 1702 1703module.exports = mapCacheGet; 1704 1705 1706/***/ }), 1707
vendor: 823 bytes, lines 1708-1734
1708/***/ "./includes/builder/node_modules/lodash/_mapCacheHas.js": 1709/*!**************************************************************!*\ 1710 !*** ./includes/builder/node_modules/lodash/_mapCacheHas.js ***! 1711 \**************************************************************/ 1712/*! no static exports found */ 1713/***/ (function(module, exports, __webpack_require__) { 1714 1715var getMapData = __webpack_require__(/*! ./_getMapData */ "./includes/builder/node_modules/lodash/_getMapData.js"); 1716 1717/** 1718 * Checks if a map value for `key` exists. 1719 * 1720 * @private 1721 * @name has 1722 * @memberOf MapCache 1723 * @param {string} key The key of the entry to check. 1724 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 1725 */ 1726function mapCacheHas(key) { 1727 return getMapData(this, key).has(key); 1728} 1729 1730module.exports = mapCacheHas; 1731 1732 1733/***/ }), 1734
vendor: 930 bytes, lines 1735-1767
1735/***/ "./includes/builder/node_modules/lodash/_mapCacheSet.js": 1736/*!**************************************************************!*\ 1737 !*** ./includes/builder/node_modules/lodash/_mapCacheSet.js ***! 1738 \**************************************************************/ 1739/*! no static exports found */ 1740/***/ (function(module, exports, __webpack_require__) { 1741 1742var getMapData = __webpack_require__(/*! ./_getMapData */ "./includes/builder/node_modules/lodash/_getMapData.js"); 1743 1744/** 1745 * Sets the map `key` to `value`. 1746 * 1747 * @private 1748 * @name set 1749 * @memberOf MapCache 1750 * @param {string} key The key of the value to set. 1751 * @param {*} value The value to set. 1752 * @returns {Object} Returns the map cache instance. 1753 */ 1754function mapCacheSet(key, value) { 1755 var data = getMapData(this, key), 1756 size = data.size; 1757 1758 data.set(key, value); 1759 this.size += data.size == size ? 0 : 1; 1760 return this; 1761} 1762 1763module.exports = mapCacheSet; 1764 1765 1766/***/ }), 1767
vendor: 1,078 bytes, lines 1768-1804
1768/***/ "./includes/builder/node_modules/lodash/_memoizeCapped.js": 1769/*!****************************************************************!*\ 1770 !*** ./includes/builder/node_modules/lodash/_memoizeCapped.js ***! 1771 \****************************************************************/ 1772/*! no static exports found */ 1773/***/ (function(module, exports, __webpack_require__) { 1774 1775var memoize = __webpack_require__(/*! ./memoize */ "./includes/builder/node_modules/lodash/memoize.js"); 1776 1777/** Used as the maximum memoize cache size. */ 1778var MAX_MEMOIZE_SIZE = 500; 1779 1780/** 1781 * A specialized version of `_.memoize` which clears the memoized function's 1782 * cache when it exceeds `MAX_MEMOIZE_SIZE`. 1783 * 1784 * @private 1785 * @param {Function} func The function to have its output memoized. 1786 * @returns {Function} Returns the new memoized function. 1787 */ 1788function memoizeCapped(func) { 1789 var result = memoize(func, function(key) { 1790 if (cache.size === MAX_MEMOIZE_SIZE) { 1791 cache.clear(); 1792 } 1793 return key; 1794 }); 1795 1796 var cache = result.cache; 1797 return result; 1798} 1799 1800module.exports = memoizeCapped; 1801 1802 1803/***/ }), 1804
vendor: 631 bytes, lines 1805-1821
1805/***/ "./includes/builder/node_modules/lodash/_nativeCreate.js": 1806/*!***************************************************************!*\ 1807 !*** ./includes/builder/node_modules/lodash/_nativeCreate.js ***! 1808 \***************************************************************/ 1809/*! no static exports found */ 1810/***/ (function(module, exports, __webpack_require__) { 1811 1812var getNative = __webpack_require__(/*! ./_getNative */ "./includes/builder/node_modules/lodash/_getNative.js"); 1813 1814/* Built-in method references that are verified to be native. */ 1815var nativeCreate = getNative(Object, 'create'); 1816 1817module.exports = nativeCreate; 1818 1819 1820/***/ }), 1821
vendor: 638 bytes, lines 1822-1838
1822/***/ "./includes/builder/node_modules/lodash/_nativeKeys.js": 1823/*!*************************************************************!*\ 1824 !*** ./includes/builder/node_modules/lodash/_nativeKeys.js ***! 1825 \*************************************************************/ 1826/*! no static exports found */ 1827/***/ (function(module, exports, __webpack_require__) { 1828 1829var overArg = __webpack_require__(/*! ./_overArg */ "./includes/builder/node_modules/lodash/_overArg.js"); 1830 1831/* Built-in method references for those with the same name as other `lodash` methods. */ 1832var nativeKeys = overArg(Object.keys, Object); 1833 1834module.exports = nativeKeys; 1835 1836 1837/***/ }), 1838
vendor: 1,623 bytes, lines 1839-1880
1839/***/ "./includes/builder/node_modules/lodash/_nodeUtil.js": 1840/*!***********************************************************!*\ 1841 !*** ./includes/builder/node_modules/lodash/_nodeUtil.js ***! 1842 \***********************************************************/ 1843/*! no static exports found */ 1844/***/ (function(module, exports, __webpack_require__) { 1845 1846/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./includes/builder/node_modules/lodash/_freeGlobal.js"); 1847 1848/** Detect free variable `exports`. */ 1849var freeExports = true && exports && !exports.nodeType && exports; 1850 1851/** Detect free variable `module`. */ 1852var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; 1853 1854/** Detect the popular CommonJS extension `module.exports`. */ 1855var moduleExports = freeModule && freeModule.exports === freeExports; 1856 1857/** Detect free variable `process` from Node.js. */ 1858var freeProcess = moduleExports && freeGlobal.process; 1859 1860/** Used to access faster Node.js helpers. */ 1861var nodeUtil = (function() { 1862 try { 1863 // Use `util.types` for Node.js 10+. 1864 var types = freeModule && freeModule.require && freeModule.require('util').types; 1865 1866 if (types) { 1867 return types; 1868 } 1869 1870 // Legacy `process.binding('util')` for Node.js < 10. 1871 return freeProcess && freeProcess.binding && freeProcess.binding('util'); 1872 } catch (e) {} 1873}()); 1874 1875module.exports = nodeUtil; 1876 1877/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module))) 1878 1879/***/ }), 1880
vendor: 924 bytes, lines 1881-1913
1881/***/ "./includes/builder/node_modules/lodash/_objectToString.js": 1882/*!*****************************************************************!*\ 1883 !*** ./includes/builder/node_modules/lodash/_objectToString.js ***! 1884 \*****************************************************************/ 1885/*! no static exports found */ 1886/***/ (function(module, exports) { 1887 1888/** Used for built-in method references. */ 1889var objectProto = Object.prototype; 1890 1891/** 1892 * Used to resolve the 1893 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) 1894 * of values. 1895 */ 1896var nativeObjectToString = objectProto.toString; 1897 1898/** 1899 * Converts `value` to a string using `Object.prototype.toString`. 1900 * 1901 * @private 1902 * @param {*} value The value to convert. 1903 * @returns {string} Returns the converted string. 1904 */ 1905function objectToString(value) { 1906 return nativeObjectToString.call(value); 1907} 1908 1909module.exports = objectToString; 1910 1911 1912/***/ }), 1913
vendor: 713 bytes, lines 1914-1939
1914/***/ "./includes/builder/node_modules/lodash/_overArg.js": 1915/*!**********************************************************!*\ 1916 !*** ./includes/builder/node_modules/lodash/_overArg.js ***! 1917 \**********************************************************/ 1918/*! no static exports found */ 1919/***/ (function(module, exports) { 1920 1921/** 1922 * Creates a unary function that invokes `func` with its argument transformed. 1923 * 1924 * @private 1925 * @param {Function} func The function to wrap. 1926 * @param {Function} transform The argument transform. 1927 * @returns {Function} Returns the new function. 1928 */ 1929function overArg(func, transform) { 1930 return function(arg) { 1931 return func(transform(arg)); 1932 }; 1933} 1934 1935module.exports = overArg; 1936 1937 1938/***/ }), 1939
vendor: 713 bytes, lines 1940-1959
1940/***/ "./includes/builder/node_modules/lodash/_root.js": 1941/*!*******************************************************!*\ 1942 !*** ./includes/builder/node_modules/lodash/_root.js ***! 1943 \*******************************************************/ 1944/*! no static exports found */ 1945/***/ (function(module, exports, __webpack_require__) { 1946 1947var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./includes/builder/node_modules/lodash/_freeGlobal.js"); 1948 1949/** Detect free variable `self`. */ 1950var freeSelf = typeof self == 'object' && self && self.Object === Object && self; 1951 1952/** Used as a reference to the global object. */ 1953var root = freeGlobal || freeSelf || Function('return this')(); 1954 1955module.exports = root; 1956 1957 1958/***/ }), 1959
vendor: 955 bytes, lines 1960-1993
1960/***/ "./includes/builder/node_modules/lodash/_strictIndexOf.js": 1961/*!****************************************************************!*\ 1962 !*** ./includes/builder/node_modules/lodash/_strictIndexOf.js ***! 1963 \****************************************************************/ 1964/*! no static exports found */ 1965/***/ (function(module, exports) { 1966 1967/** 1968 * A specialized version of `_.indexOf` which performs strict equality 1969 * comparisons of values, i.e. `===`. 1970 * 1971 * @private 1972 * @param {Array} array The array to inspect. 1973 * @param {*} value The value to search for. 1974 * @param {number} fromIndex The index to search from. 1975 * @returns {number} Returns the index of the matched value, else `-1`. 1976 */ 1977function strictIndexOf(array, value, fromIndex) { 1978 var index = fromIndex - 1, 1979 length = array.length; 1980 1981 while (++index < length) { 1982 if (array[index] === value) { 1983 return index; 1984 } 1985 } 1986 return -1; 1987} 1988 1989module.exports = strictIndexOf; 1990 1991 1992/***/ }), 1993
vendor: 1,288 bytes, lines 1994-2031
1994/***/ "./includes/builder/node_modules/lodash/_stringToPath.js": 1995/*!***************************************************************!*\ 1996 !*** ./includes/builder/node_modules/lodash/_stringToPath.js ***! 1997 \***************************************************************/ 1998/*! no static exports found */ 1999/***/ (function(module, exports, __webpack_require__) { 2000 2001var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "./includes/builder/node_modules/lodash/_memoizeCapped.js"); 2002 2003/** Used to match property names within property paths. */ 2004var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; 2005 2006/** Used to match backslashes in property paths. */ 2007var reEscapeChar = /\\(\\)?/g; 2008 2009/** 2010 * Converts `string` to a property path array. 2011 * 2012 * @private 2013 * @param {string} string The string to convert. 2014 * @returns {Array} Returns the property path array. 2015 */ 2016var stringToPath = memoizeCapped(function(string) { 2017 var result = []; 2018 if (string.charCodeAt(0) === 46 /* . */) { 2019 result.push(''); 2020 } 2021 string.replace(rePropName, function(match, number, quote, subString) { 2022 result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); 2023 }); 2024 return result; 2025}); 2026 2027module.exports = stringToPath; 2028 2029 2030/***/ }), 2031
vendor: 937 bytes, lines 2032-2063
2032/***/ "./includes/builder/node_modules/lodash/_toKey.js": 2033/*!********************************************************!*\ 2034 !*** ./includes/builder/node_modules/lodash/_toKey.js ***! 2035 \********************************************************/ 2036/*! no static exports found */ 2037/***/ (function(module, exports, __webpack_require__) { 2038 2039var isSymbol = __webpack_require__(/*! ./isSymbol */ "./includes/builder/node_modules/lodash/isSymbol.js"); 2040 2041/** Used as references for various `Number` constants. */ 2042var INFINITY = 1 / 0; 2043 2044/** 2045 * Converts `value` to a string key if it's not a string or symbol. 2046 * 2047 * @private 2048 * @param {*} value The value to inspect. 2049 * @returns {string|symbol} Returns the key. 2050 */ 2051function toKey(value) { 2052 if (typeof value == 'string' || isSymbol(value)) { 2053 return value; 2054 } 2055 var result = (value + ''); 2056 return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; 2057} 2058 2059module.exports = toKey; 2060 2061 2062/***/ }), 2063
vendor: 891 bytes, lines 2064-2100
2064/***/ "./includes/builder/node_modules/lodash/_toSource.js": 2065/*!***********************************************************!*\ 2066 !*** ./includes/builder/node_modules/lodash/_toSource.js ***! 2067 \***********************************************************/ 2068/*! no static exports found */ 2069/***/ (function(module, exports) { 2070 2071/** Used for built-in method references. */ 2072var funcProto = Function.prototype; 2073 2074/** Used to resolve the decompiled source of functions. */ 2075var funcToString = funcProto.toString; 2076 2077/** 2078 * Converts `func` to its source code. 2079 * 2080 * @private 2081 * @param {Function} func The function to convert. 2082 * @returns {string} Returns the source code. 2083 */ 2084function toSource(func) { 2085 if (func != null) { 2086 try { 2087 return funcToString.call(func); 2088 } catch (e) {} 2089 try { 2090 return (func + ''); 2091 } catch (e) {} 2092 } 2093 return ''; 2094} 2095 2096module.exports = toSource; 2097 2098 2099/***/ }), 2100
vendor: 1,106 bytes, lines 2101-2148
2101/***/ "./includes/builder/node_modules/lodash/eq.js": 2102/*!****************************************************!*\ 2103 !*** ./includes/builder/node_modules/lodash/eq.js ***! 2104 \****************************************************/ 2105/*! no static exports found */ 2106/***/ (function(module, exports) { 2107 2108/** 2109 * Performs a 2110 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) 2111 * comparison between two values to determine if they are equivalent. 2112 * 2113 * @static 2114 * @memberOf _ 2115 * @since 4.0.0 2116 * @category Lang 2117 * @param {*} value The value to compare. 2118 * @param {*} other The other value to compare. 2119 * @returns {boolean} Returns `true` if the values are equivalent, else `false`. 2120 * @example 2121 * 2122 * var object = { 'a': 1 }; 2123 * var other = { 'a': 1 }; 2124 * 2125 * _.eq(object, object); 2126 * // => true 2127 * 2128 * _.eq(object, other); 2129 * // => false 2130 * 2131 * _.eq('a', 'a'); 2132 * // => true 2133 * 2134 * _.eq('a', Object('a')); 2135 * // => false 2136 * 2137 * _.eq(NaN, NaN); 2138 * // => true 2139 */ 2140function eq(value, other) { 2141 return value === other || (value !== value && other !== other); 2142} 2143 2144module.exports = eq; 2145 2146 2147/***/ }), 2148
vendor: 1,286 bytes, lines 2149-2192
2149/***/ "./includes/builder/node_modules/lodash/get.js": 2150/*!*****************************************************!*\ 2151 !*** ./includes/builder/node_modules/lodash/get.js ***! 2152 \*****************************************************/ 2153/*! no static exports found */ 2154/***/ (function(module, exports, __webpack_require__) { 2155 2156var baseGet = __webpack_require__(/*! ./_baseGet */ "./includes/builder/node_modules/lodash/_baseGet.js"); 2157 2158/** 2159 * Gets the value at `path` of `object`. If the resolved value is 2160 * `undefined`, the `defaultValue` is returned in its place. 2161 * 2162 * @static 2163 * @memberOf _ 2164 * @since 3.7.0 2165 * @category Object 2166 * @param {Object} object The object to query. 2167 * @param {Array|string} path The path of the property to get. 2168 * @param {*} [defaultValue] The value returned for `undefined` resolved values. 2169 * @returns {*} Returns the resolved value. 2170 * @example 2171 * 2172 * var object = { 'a': [{ 'b': { 'c': 3 } }] }; 2173 * 2174 * _.get(object, 'a[0].b.c'); 2175 * // => 3 2176 * 2177 * _.get(object, ['a', '0', 'b', 'c']); 2178 * // => 3 2179 * 2180 * _.get(object, 'a.b.c', 'default'); 2181 * // => 'default' 2182 */ 2183function get(object, path, defaultValue) { 2184 var result = object == null ? undefined : baseGet(object, path); 2185 return result === undefined ? defaultValue : result; 2186} 2187 2188module.exports = get; 2189 2190 2191/***/ }), 2192
vendor: 2,480 bytes, lines 2193-2256
2193/***/ "./includes/builder/node_modules/lodash/includes.js": 2194/*!**********************************************************!*\ 2195 !*** ./includes/builder/node_modules/lodash/includes.js ***! 2196 \**********************************************************/ 2197/*! no static exports found */ 2198/***/ (function(module, exports, __webpack_require__) { 2199 2200var baseIndexOf = __webpack_require__(/*! ./_baseIndexOf */ "./includes/builder/node_modules/lodash/_baseIndexOf.js"), 2201 isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./includes/builder/node_modules/lodash/isArrayLike.js"), 2202 isString = __webpack_require__(/*! ./isString */ "./includes/builder/node_modules/lodash/isString.js"), 2203 toInteger = __webpack_require__(/*! ./toInteger */ "./includes/builder/node_modules/lodash/toInteger.js"), 2204 values = __webpack_require__(/*! ./values */ "./includes/builder/node_modules/lodash/values.js"); 2205 2206/* Built-in method references for those with the same name as other `lodash` methods. */ 2207var nativeMax = Math.max; 2208 2209/** 2210 * Checks if `value` is in `collection`. If `collection` is a string, it's 2211 * checked for a substring of `value`, otherwise 2212 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) 2213 * is used for equality comparisons. If `fromIndex` is negative, it's used as 2214 * the offset from the end of `collection`. 2215 * 2216 * @static 2217 * @memberOf _ 2218 * @since 0.1.0 2219 * @category Collection 2220 * @param {Array|Object|string} collection The collection to inspect. 2221 * @param {*} value The value to search for. 2222 * @param {number} [fromIndex=0] The index to search from. 2223 * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. 2224 * @returns {boolean} Returns `true` if `value` is found, else `false`. 2225 * @example 2226 * 2227 * _.includes([1, 2, 3], 1); 2228 * // => true 2229 * 2230 * _.includes([1, 2, 3], 1, 2); 2231 * // => false 2232 * 2233 * _.includes({ 'a': 1, 'b': 2 }, 1); 2234 * // => true 2235 * 2236 * _.includes('abcd', 'bc'); 2237 * // => true 2238 */ 2239function includes(collection, value, fromIndex, guard) { 2240 collection = isArrayLike(collection) ? collection : values(collection); 2241 fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; 2242 2243 var length = collection.length; 2244 if (fromIndex < 0) { 2245 fromIndex = nativeMax(length + fromIndex, 0); 2246 } 2247 return isString(collection) 2248 ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) 2249 : (!!length && baseIndexOf(collection, value, fromIndex) > -1); 2250} 2251 2252module.exports = includes; 2253 2254 2255/***/ }), 2256
vendor: 1,542 bytes, lines 2257-2303
2257/***/ "./includes/builder/node_modules/lodash/isArguments.js": 2258/*!*************************************************************!*\ 2259 !*** ./includes/builder/node_modules/lodash/isArguments.js ***! 2260 \*************************************************************/ 2261/*! no static exports found */ 2262/***/ (function(module, exports, __webpack_require__) { 2263 2264var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ "./includes/builder/node_modules/lodash/_baseIsArguments.js"), 2265 isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./includes/builder/node_modules/lodash/isObjectLike.js"); 2266 2267/** Used for built-in method references. */ 2268var objectProto = Object.prototype; 2269 2270/** Used to check objects for own properties. */ 2271var hasOwnProperty = objectProto.hasOwnProperty; 2272 2273/** Built-in value references. */ 2274var propertyIsEnumerable = objectProto.propertyIsEnumerable; 2275 2276/** 2277 * Checks if `value` is likely an `arguments` object. 2278 * 2279 * @static 2280 * @memberOf _ 2281 * @since 0.1.0 2282 * @category Lang 2283 * @param {*} value The value to check. 2284 * @returns {boolean} Returns `true` if `value` is an `arguments` object, 2285 * else `false`. 2286 * @example 2287 * 2288 * _.isArguments(function() { return arguments; }()); 2289 * // => true 2290 * 2291 * _.isArguments([1, 2, 3]); 2292 * // => false 2293 */ 2294var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { 2295 return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && 2296 !propertyIsEnumerable.call(value, 'callee'); 2297}; 2298 2299module.exports = isArguments; 2300 2301 2302/***/ }), 2303
vendor: 815 bytes, lines 2304-2340
2304/***/ "./includes/builder/node_modules/lodash/isArray.js": 2305/*!*********************************************************!*\ 2306 !*** ./includes/builder/node_modules/lodash/isArray.js ***! 2307 \*********************************************************/ 2308/*! no static exports found */ 2309/***/ (function(module, exports) { 2310 2311/** 2312 * Checks if `value` is classified as an `Array` object. 2313 * 2314 * @static 2315 * @memberOf _ 2316 * @since 0.1.0 2317 * @category Lang 2318 * @param {*} value The value to check. 2319 * @returns {boolean} Returns `true` if `value` is an array, else `false`. 2320 * @example 2321 * 2322 * _.isArray([1, 2, 3]); 2323 * // => true 2324 * 2325 * _.isArray(document.body.children); 2326 * // => false 2327 * 2328 * _.isArray('abc'); 2329 * // => false 2330 * 2331 * _.isArray(_.noop); 2332 * // => false 2333 */ 2334var isArray = Array.isArray; 2335 2336module.exports = isArray; 2337 2338 2339/***/ }), 2340
vendor: 1,336 bytes, lines 2341-2384
2341/***/ "./includes/builder/node_modules/lodash/isArrayLike.js": 2342/*!*************************************************************!*\ 2343 !*** ./includes/builder/node_modules/lodash/isArrayLike.js ***! 2344 \*************************************************************/ 2345/*! no static exports found */ 2346/***/ (function(module, exports, __webpack_require__) { 2347 2348var isFunction = __webpack_require__(/*! ./isFunction */ "./includes/builder/node_modules/lodash/isFunction.js"), 2349 isLength = __webpack_require__(/*! ./isLength */ "./includes/builder/node_modules/lodash/isLength.js"); 2350 2351/** 2352 * Checks if `value` is array-like. A value is considered array-like if it's 2353 * not a function and has a `value.length` that's an integer greater than or 2354 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. 2355 * 2356 * @static 2357 * @memberOf _ 2358 * @since 4.0.0 2359 * @category Lang 2360 * @param {*} value The value to check. 2361 * @returns {boolean} Returns `true` if `value` is array-like, else `false`. 2362 * @example 2363 * 2364 * _.isArrayLike([1, 2, 3]); 2365 * // => true 2366 * 2367 * _.isArrayLike(document.body.children); 2368 * // => true 2369 * 2370 * _.isArrayLike('abc'); 2371 * // => true 2372 * 2373 * _.isArrayLike(_.noop); 2374 * // => false 2375 */ 2376function isArrayLike(value) { 2377 return value != null && isLength(value.length) && !isFunction(value); 2378} 2379 2380module.exports = isArrayLike; 2381 2382 2383/***/ }), 2384
vendor: 1,803 bytes, lines 2385-2434
2385/***/ "./includes/builder/node_modules/lodash/isBuffer.js": 2386/*!**********************************************************!*\ 2387 !*** ./includes/builder/node_modules/lodash/isBuffer.js ***! 2388 \**********************************************************/ 2389/*! no static exports found */ 2390/***/ (function(module, exports, __webpack_require__) { 2391 2392/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ "./includes/builder/node_modules/lodash/_root.js"), 2393 stubFalse = __webpack_require__(/*! ./stubFalse */ "./includes/builder/node_modules/lodash/stubFalse.js"); 2394 2395/** Detect free variable `exports`. */ 2396var freeExports = true && exports && !exports.nodeType && exports; 2397 2398/** Detect free variable `module`. */ 2399var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; 2400 2401/** Detect the popular CommonJS extension `module.exports`. */ 2402var moduleExports = freeModule && freeModule.exports === freeExports; 2403 2404/** Built-in value references. */ 2405var Buffer = moduleExports ? root.Buffer : undefined; 2406 2407/* Built-in method references for those with the same name as other `lodash` methods. */ 2408var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; 2409 2410/** 2411 * Checks if `value` is a buffer. 2412 * 2413 * @static 2414 * @memberOf _ 2415 * @since 4.3.0 2416 * @category Lang 2417 * @param {*} value The value to check. 2418 * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. 2419 * @example 2420 * 2421 * _.isBuffer(new Buffer(2)); 2422 * // => true 2423 * 2424 * _.isBuffer(new Uint8Array(2)); 2425 * // => false 2426 */ 2427var isBuffer = nativeIsBuffer || stubFalse; 2428 2429module.exports = isBuffer; 2430 2431/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module))) 2432 2433/***/ }), 2434
vendor: 1,496 bytes, lines 2435-2482
2435/***/ "./includes/builder/node_modules/lodash/isFunction.js": 2436/*!************************************************************!*\ 2437 !*** ./includes/builder/node_modules/lodash/isFunction.js ***! 2438 \************************************************************/ 2439/*! no static exports found */ 2440/***/ (function(module, exports, __webpack_require__) { 2441 2442var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./includes/builder/node_modules/lodash/_baseGetTag.js"), 2443 isObject = __webpack_require__(/*! ./isObject */ "./includes/builder/node_modules/lodash/isObject.js"); 2444 2445/** `Object#toString` result references. */ 2446var asyncTag = '[object AsyncFunction]', 2447 funcTag = '[object Function]', 2448 genTag = '[object GeneratorFunction]', 2449 proxyTag = '[object Proxy]'; 2450 2451/** 2452 * Checks if `value` is classified as a `Function` object. 2453 * 2454 * @static 2455 * @memberOf _ 2456 * @since 0.1.0 2457 * @category Lang 2458 * @param {*} value The value to check. 2459 * @returns {boolean} Returns `true` if `value` is a function, else `false`. 2460 * @example 2461 * 2462 * _.isFunction(_); 2463 * // => true 2464 * 2465 * _.isFunction(/abc/); 2466 * // => false 2467 */ 2468function isFunction(value) { 2469 if (!isObject(value)) { 2470 return false; 2471 } 2472 // The use of `Object#toString` avoids issues with the `typeof` operator 2473 // in Safari 9 which returns 'object' for typed arrays and other constructors. 2474 var tag = baseGetTag(value); 2475 return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; 2476} 2477 2478module.exports = isFunction; 2479 2480 2481/***/ }), 2482
vendor: 1,133 bytes, lines 2483-2528
2483/***/ "./includes/builder/node_modules/lodash/isLength.js": 2484/*!**********************************************************!*\ 2485 !*** ./includes/builder/node_modules/lodash/isLength.js ***! 2486 \**********************************************************/ 2487/*! no static exports found */ 2488/***/ (function(module, exports) { 2489 2490/** Used as references for various `Number` constants. */ 2491var MAX_SAFE_INTEGER = 9007199254740991; 2492 2493/** 2494 * Checks if `value` is a valid array-like length. 2495 * 2496 * **Note:** This method is loosely based on 2497 * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). 2498 * 2499 * @static 2500 * @memberOf _ 2501 * @since 4.0.0 2502 * @category Lang 2503 * @param {*} value The value to check. 2504 * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 2505 * @example 2506 * 2507 * _.isLength(3); 2508 * // => true 2509 * 2510 * _.isLength(Number.MIN_VALUE); 2511 * // => false 2512 * 2513 * _.isLength(Infinity); 2514 * // => false 2515 * 2516 * _.isLength('3'); 2517 * // => false 2518 */ 2519function isLength(value) { 2520 return typeof value == 'number' && 2521 value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; 2522} 2523 2524module.exports = isLength; 2525 2526 2527/***/ }), 2528
vendor: 1,064 bytes, lines 2529-2570
2529/***/ "./includes/builder/node_modules/lodash/isObject.js": 2530/*!**********************************************************!*\ 2531 !*** ./includes/builder/node_modules/lodash/isObject.js ***! 2532 \**********************************************************/ 2533/*! no static exports found */ 2534/***/ (function(module, exports) { 2535 2536/** 2537 * Checks if `value` is the 2538 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) 2539 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) 2540 * 2541 * @static 2542 * @memberOf _ 2543 * @since 0.1.0 2544 * @category Lang 2545 * @param {*} value The value to check. 2546 * @returns {boolean} Returns `true` if `value` is an object, else `false`. 2547 * @example 2548 * 2549 * _.isObject({}); 2550 * // => true 2551 * 2552 * _.isObject([1, 2, 3]); 2553 * // => true 2554 * 2555 * _.isObject(_.noop); 2556 * // => true 2557 * 2558 * _.isObject(null); 2559 * // => false 2560 */ 2561function isObject(value) { 2562 var type = typeof value; 2563 return value != null && (type == 'object' || type == 'function'); 2564} 2565 2566module.exports = isObject; 2567 2568 2569/***/ }), 2570
vendor: 961 bytes, lines 2571-2610
2571/***/ "./includes/builder/node_modules/lodash/isObjectLike.js": 2572/*!**************************************************************!*\ 2573 !*** ./includes/builder/node_modules/lodash/isObjectLike.js ***! 2574 \**************************************************************/ 2575/*! no static exports found */ 2576/***/ (function(module, exports) { 2577 2578/** 2579 * Checks if `value` is object-like. A value is object-like if it's not `null` 2580 * and has a `typeof` result of "object". 2581 * 2582 * @static 2583 * @memberOf _ 2584 * @since 4.0.0 2585 * @category Lang 2586 * @param {*} value The value to check. 2587 * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 2588 * @example 2589 * 2590 * _.isObjectLike({}); 2591 * // => true 2592 * 2593 * _.isObjectLike([1, 2, 3]); 2594 * // => true 2595 * 2596 * _.isObjectLike(_.noop); 2597 * // => false 2598 * 2599 * _.isObjectLike(null); 2600 * // => false 2601 */ 2602function isObjectLike(value) { 2603 return value != null && typeof value == 'object'; 2604} 2605 2606module.exports = isObjectLike; 2607 2608 2609/***/ }), 2610
vendor: 1,291 bytes, lines 2611-2651
2611/***/ "./includes/builder/node_modules/lodash/isString.js": 2612/*!**********************************************************!*\ 2613 !*** ./includes/builder/node_modules/lodash/isString.js ***! 2614 \**********************************************************/ 2615/*! no static exports found */ 2616/***/ (function(module, exports, __webpack_require__) { 2617 2618var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./includes/builder/node_modules/lodash/_baseGetTag.js"), 2619 isArray = __webpack_require__(/*! ./isArray */ "./includes/builder/node_modules/lodash/isArray.js"), 2620 isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./includes/builder/node_modules/lodash/isObjectLike.js"); 2621 2622/** `Object#toString` result references. */ 2623var stringTag = '[object String]'; 2624 2625/** 2626 * Checks if `value` is classified as a `String` primitive or object. 2627 * 2628 * @static 2629 * @since 0.1.0 2630 * @memberOf _ 2631 * @category Lang 2632 * @param {*} value The value to check. 2633 * @returns {boolean} Returns `true` if `value` is a string, else `false`. 2634 * @example 2635 * 2636 * _.isString('abc'); 2637 * // => true 2638 * 2639 * _.isString(1); 2640 * // => false 2641 */ 2642function isString(value) { 2643 return typeof value == 'string' || 2644 (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); 2645} 2646 2647module.exports = isString; 2648 2649 2650/***/ }), 2651
vendor: 1,181 bytes, lines 2652-2691
2652/***/ "./includes/builder/node_modules/lodash/isSymbol.js": 2653/*!**********************************************************!*\ 2654 !*** ./includes/builder/node_modules/lodash/isSymbol.js ***! 2655 \**********************************************************/ 2656/*! no static exports found */ 2657/***/ (function(module, exports, __webpack_require__) { 2658 2659var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./includes/builder/node_modules/lodash/_baseGetTag.js"), 2660 isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./includes/builder/node_modules/lodash/isObjectLike.js"); 2661 2662/** `Object#toString` result references. */ 2663var symbolTag = '[object Symbol]'; 2664 2665/** 2666 * Checks if `value` is classified as a `Symbol` primitive or object. 2667 * 2668 * @static 2669 * @memberOf _ 2670 * @since 4.0.0 2671 * @category Lang 2672 * @param {*} value The value to check. 2673 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. 2674 * @example 2675 * 2676 * _.isSymbol(Symbol.iterator); 2677 * // => true 2678 * 2679 * _.isSymbol('abc'); 2680 * // => false 2681 */ 2682function isSymbol(value) { 2683 return typeof value == 'symbol' || 2684 (isObjectLike(value) && baseGetTag(value) == symbolTag); 2685} 2686 2687module.exports = isSymbol; 2688 2689 2690/***/ }), 2691
vendor: 1,285 bytes, lines 2692-2729
2692/***/ "./includes/builder/node_modules/lodash/isTypedArray.js": 2693/*!**************************************************************!*\ 2694 !*** ./includes/builder/node_modules/lodash/isTypedArray.js ***! 2695 \**************************************************************/ 2696/*! no static exports found */ 2697/***/ (function(module, exports, __webpack_require__) { 2698 2699var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ "./includes/builder/node_modules/lodash/_baseIsTypedArray.js"), 2700 baseUnary = __webpack_require__(/*! ./_baseUnary */ "./includes/builder/node_modules/lodash/_baseUnary.js"), 2701 nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./includes/builder/node_modules/lodash/_nodeUtil.js"); 2702 2703/* Node.js helper references. */ 2704var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; 2705 2706/** 2707 * Checks if `value` is classified as a typed array. 2708 * 2709 * @static 2710 * @memberOf _ 2711 * @since 3.0.0 2712 * @category Lang 2713 * @param {*} value The value to check. 2714 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. 2715 * @example 2716 * 2717 * _.isTypedArray(new Uint8Array); 2718 * // => true 2719 * 2720 * _.isTypedArray([]); 2721 * // => false 2722 */ 2723var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; 2724 2725module.exports = isTypedArray; 2726 2727 2728/***/ }), 2729
vendor: 1,440 bytes, lines 2730-2777
2730/***/ "./includes/builder/node_modules/lodash/keys.js": 2731/*!******************************************************!*\ 2732 !*** ./includes/builder/node_modules/lodash/keys.js ***! 2733 \******************************************************/ 2734/*! no static exports found */ 2735/***/ (function(module, exports, __webpack_require__) { 2736 2737var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./includes/builder/node_modules/lodash/_arrayLikeKeys.js"), 2738 baseKeys = __webpack_require__(/*! ./_baseKeys */ "./includes/builder/node_modules/lodash/_baseKeys.js"), 2739 isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./includes/builder/node_modules/lodash/isArrayLike.js"); 2740 2741/** 2742 * Creates an array of the own enumerable property names of `object`. 2743 * 2744 * **Note:** Non-object values are coerced to objects. See the 2745 * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) 2746 * for more details. 2747 * 2748 * @static 2749 * @since 0.1.0 2750 * @memberOf _ 2751 * @category Object 2752 * @param {Object} object The object to query. 2753 * @returns {Array} Returns the array of property names. 2754 * @example 2755 * 2756 * function Foo() { 2757 * this.a = 1; 2758 * this.b = 2; 2759 * } 2760 * 2761 * Foo.prototype.c = 3; 2762 * 2763 * _.keys(new Foo); 2764 * // => ['a', 'b'] (iteration order is not guaranteed) 2765 * 2766 * _.keys('hi'); 2767 * // => ['0', '1'] 2768 */ 2769function keys(object) { 2770 return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); 2771} 2772 2773module.exports = keys; 2774 2775 2776/***/ }), 2777
vendor: 2,643 bytes, lines 2778-2861
2778/***/ "./includes/builder/node_modules/lodash/memoize.js": 2779/*!*********************************************************!*\ 2780 !*** ./includes/builder/node_modules/lodash/memoize.js ***! 2781 \*********************************************************/ 2782/*! no static exports found */ 2783/***/ (function(module, exports, __webpack_require__) { 2784 2785var MapCache = __webpack_require__(/*! ./_MapCache */ "./includes/builder/node_modules/lodash/_MapCache.js"); 2786 2787/** Error message constants. */ 2788var FUNC_ERROR_TEXT = 'Expected a function'; 2789 2790/** 2791 * Creates a function that memoizes the result of `func`. If `resolver` is 2792 * provided, it determines the cache key for storing the result based on the 2793 * arguments provided to the memoized function. By default, the first argument 2794 * provided to the memoized function is used as the map cache key. The `func` 2795 * is invoked with the `this` binding of the memoized function. 2796 * 2797 * **Note:** The cache is exposed as the `cache` property on the memoized 2798 * function. Its creation may be customized by replacing the `_.memoize.Cache` 2799 * constructor with one whose instances implement the 2800 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) 2801 * method interface of `clear`, `delete`, `get`, `has`, and `set`. 2802 * 2803 * @static 2804 * @memberOf _ 2805 * @since 0.1.0 2806 * @category Function 2807 * @param {Function} func The function to have its output memoized. 2808 * @param {Function} [resolver] The function to resolve the cache key. 2809 * @returns {Function} Returns the new memoized function. 2810 * @example 2811 * 2812 * var object = { 'a': 1, 'b': 2 }; 2813 * var other = { 'c': 3, 'd': 4 }; 2814 * 2815 * var values = _.memoize(_.values); 2816 * values(object); 2817 * // => [1, 2] 2818 * 2819 * values(other); 2820 * // => [3, 4] 2821 * 2822 * object.a = 2; 2823 * values(object); 2824 * // => [1, 2] 2825 * 2826 * // Modify the result cache. 2827 * values.cache.set(object, ['a', 'b']); 2828 * values(object); 2829 * // => ['a', 'b'] 2830 * 2831 * // Replace `_.memoize.Cache`. 2832 * _.memoize.Cache = WeakMap; 2833 */ 2834function memoize(func, resolver) { 2835 if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { 2836 throw new TypeError(FUNC_ERROR_TEXT); 2837 } 2838 var memoized = function() { 2839 var args = arguments, 2840 key = resolver ? resolver.apply(this, args) : args[0], 2841 cache = memoized.cache; 2842 2843 if (cache.has(key)) { 2844 return cache.get(key); 2845 } 2846 var result = func.apply(this, args); 2847 memoized.cache = cache.set(key, result) || cache; 2848 return result; 2849 }; 2850 memoized.cache = new (memoize.Cache || MapCache); 2851 return memoized; 2852} 2853 2854// Expose `MapCache`. 2855memoize.Cache = MapCache; 2856 2857module.exports = memoize; 2858 2859 2860/***/ }), 2861
vendor: 615 bytes, lines 2862-2890
2862/***/ "./includes/builder/node_modules/lodash/stubFalse.js": 2863/*!***********************************************************!*\ 2864 !*** ./includes/builder/node_modules/lodash/stubFalse.js ***! 2865 \***********************************************************/ 2866/*! no static exports found */ 2867/***/ (function(module, exports) { 2868 2869/** 2870 * This method returns `false`. 2871 * 2872 * @static 2873 * @memberOf _ 2874 * @since 4.13.0 2875 * @category Util 2876 * @returns {boolean} Returns `false`. 2877 * @example 2878 * 2879 * _.times(2, _.stubFalse); 2880 * // => [false, false] 2881 */ 2882function stubFalse() { 2883 return false; 2884} 2885 2886module.exports = stubFalse; 2887 2888 2889/***/ }), 2890
vendor: 1,290 bytes, lines 2891-2943
2891/***/ "./includes/builder/node_modules/lodash/toFinite.js": 2892/*!**********************************************************!*\ 2893 !*** ./includes/builder/node_modules/lodash/toFinite.js ***! 2894 \**********************************************************/ 2895/*! no static exports found */ 2896/***/ (function(module, exports, __webpack_require__) { 2897 2898var toNumber = __webpack_require__(/*! ./toNumber */ "./includes/builder/node_modules/lodash/toNumber.js"); 2899 2900/** Used as references for various `Number` constants. */ 2901var INFINITY = 1 / 0, 2902 MAX_INTEGER = 1.7976931348623157e+308; 2903 2904/** 2905 * Converts `value` to a finite number. 2906 * 2907 * @static 2908 * @memberOf _ 2909 * @since 4.12.0 2910 * @category Lang 2911 * @param {*} value The value to convert. 2912 * @returns {number} Returns the converted number. 2913 * @example 2914 * 2915 * _.toFinite(3.2); 2916 * // => 3.2 2917 * 2918 * _.toFinite(Number.MIN_VALUE); 2919 * // => 5e-324 2920 * 2921 * _.toFinite(Infinity); 2922 * // => 1.7976931348623157e+308 2923 * 2924 * _.toFinite('3.2'); 2925 * // => 3.2 2926 */ 2927function toFinite(value) { 2928 if (!value) { 2929 return value === 0 ? value : 0; 2930 } 2931 value = toNumber(value); 2932 if (value === INFINITY || value === -INFINITY) { 2933 var sign = (value < 0 ? -1 : 1); 2934 return sign * MAX_INTEGER; 2935 } 2936 return value === value ? value : 0; 2937} 2938 2939module.exports = toFinite; 2940 2941 2942/***/ }), 2943
vendor: 1,186 bytes, lines 2944-2990
2944/***/ "./includes/builder/node_modules/lodash/toInteger.js": 2945/*!***********************************************************!*\ 2946 !*** ./includes/builder/node_modules/lodash/toInteger.js ***! 2947 \***********************************************************/ 2948/*! no static exports found */ 2949/***/ (function(module, exports, __webpack_require__) { 2950 2951var toFinite = __webpack_require__(/*! ./toFinite */ "./includes/builder/node_modules/lodash/toFinite.js"); 2952 2953/** 2954 * Converts `value` to an integer. 2955 * 2956 * **Note:** This method is loosely based on 2957 * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). 2958 * 2959 * @static 2960 * @memberOf _ 2961 * @since 4.0.0 2962 * @category Lang 2963 * @param {*} value The value to convert. 2964 * @returns {number} Returns the converted integer. 2965 * @example 2966 * 2967 * _.toInteger(3.2); 2968 * // => 3 2969 * 2970 * _.toInteger(Number.MIN_VALUE); 2971 * // => 0 2972 * 2973 * _.toInteger(Infinity); 2974 * // => 1.7976931348623157e+308 2975 * 2976 * _.toInteger('3.2'); 2977 * // => 3 2978 */ 2979function toInteger(value) { 2980 var result = toFinite(value), 2981 remainder = result % 1; 2982 2983 return result === result ? (remainder ? result - remainder : result) : 0; 2984} 2985 2986module.exports = toInteger; 2987 2988 2989/***/ }), 2990
vendor: 2,064 bytes, lines 2991-3067
2991/***/ "./includes/builder/node_modules/lodash/toNumber.js": 2992/*!**********************************************************!*\ 2993 !*** ./includes/builder/node_modules/lodash/toNumber.js ***! 2994 \**********************************************************/ 2995/*! no static exports found */ 2996/***/ (function(module, exports, __webpack_require__) { 2997 2998var isObject = __webpack_require__(/*! ./isObject */ "./includes/builder/node_modules/lodash/isObject.js"), 2999 isSymbol = __webpack_require__(/*! ./isSymbol */ "./includes/builder/node_modules/lodash/isSymbol.js"); 3000 3001/** Used as references for various `Number` constants. */ 3002var NAN = 0 / 0; 3003 3004/** Used to match leading and trailing whitespace. */ 3005var reTrim = /^\s+|\s+$/g; 3006 3007/** Used to detect bad signed hexadecimal string values. */ 3008var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; 3009 3010/** Used to detect binary string values. */ 3011var reIsBinary = /^0b[01]+$/i; 3012 3013/** Used to detect octal string values. */ 3014var reIsOctal = /^0o[0-7]+$/i; 3015 3016/** Built-in method references without a dependency on `root`. */ 3017var freeParseInt = parseInt; 3018 3019/** 3020 * Converts `value` to a number. 3021 * 3022 * @static 3023 * @memberOf _ 3024 * @since 4.0.0 3025 * @category Lang 3026 * @param {*} value The value to process. 3027 * @returns {number} Returns the number. 3028 * @example 3029 * 3030 * _.toNumber(3.2); 3031 * // => 3.2 3032 * 3033 * _.toNumber(Number.MIN_VALUE); 3034 * // => 5e-324 3035 * 3036 * _.toNumber(Infinity); 3037 * // => Infinity 3038 * 3039 * _.toNumber('3.2'); 3040 * // => 3.2 3041 */ 3042function toNumber(value) { 3043 if (typeof value == 'number') { 3044 return value; 3045 } 3046 if (isSymbol(value)) { 3047 return NAN; 3048 } 3049 if (isObject(value)) { 3050 var other = typeof value.valueOf == 'function' ? value.valueOf() : value; 3051 value = isObject(other) ? (other + '') : other; 3052 } 3053 if (typeof value != 'string') { 3054 return value === 0 ? value : +value; 3055 } 3056 value = value.replace(reTrim, ''); 3057 var isBinary = reIsBinary.test(value); 3058 return (isBinary || reIsOctal.test(value)) 3059 ? freeParseInt(value.slice(2), isBinary ? 2 : 8) 3060 : (reIsBadHex.test(value) ? NAN : +value); 3061} 3062 3063module.exports = toNumber; 3064 3065 3066/***/ }), 3067
vendor: 1,007 bytes, lines 3068-3106
3068/***/ "./includes/builder/node_modules/lodash/toString.js": 3069/*!**********************************************************!*\ 3070 !*** ./includes/builder/node_modules/lodash/toString.js ***! 3071 \**********************************************************/ 3072/*! no static exports found */ 3073/***/ (function(module, exports, __webpack_require__) { 3074 3075var baseToString = __webpack_require__(/*! ./_baseToString */ "./includes/builder/node_modules/lodash/_baseToString.js"); 3076 3077/** 3078 * Converts `value` to a string. An empty string is returned for `null` 3079 * and `undefined` values. The sign of `-0` is preserved. 3080 * 3081 * @static 3082 * @memberOf _ 3083 * @since 4.0.0 3084 * @category Lang 3085 * @param {*} value The value to convert. 3086 * @returns {string} Returns the converted string. 3087 * @example 3088 * 3089 * _.toString(null); 3090 * // => '' 3091 * 3092 * _.toString(-0); 3093 * // => '-0' 3094 * 3095 * _.toString([1, 2, 3]); 3096 * // => '1,2,3' 3097 */ 3098function toString(value) { 3099 return value == null ? '' : baseToString(value); 3100} 3101 3102module.exports = toString; 3103 3104 3105/***/ }), 3106
vendor: 1,216 bytes, lines 3107-3151
3107/***/ "./includes/builder/node_modules/lodash/values.js": 3108/*!********************************************************!*\ 3109 !*** ./includes/builder/node_modules/lodash/values.js ***! 3110 \********************************************************/ 3111/*! no static exports found */ 3112/***/ (function(module, exports, __webpack_require__) { 3113 3114var baseValues = __webpack_require__(/*! ./_baseValues */ "./includes/builder/node_modules/lodash/_baseValues.js"), 3115 keys = __webpack_require__(/*! ./keys */ "./includes/builder/node_modules/lodash/keys.js"); 3116 3117/** 3118 * Creates an array of the own enumerable string keyed property values of `object`. 3119 * 3120 * **Note:** Non-object values are coerced to objects. 3121 * 3122 * @static 3123 * @since 0.1.0 3124 * @memberOf _ 3125 * @category Object 3126 * @param {Object} object The object to query. 3127 * @returns {Array} Returns the array of property values. 3128 * @example 3129 * 3130 * function Foo() { 3131 * this.a = 1; 3132 * this.b = 2; 3133 * } 3134 * 3135 * Foo.prototype.c = 3; 3136 * 3137 * _.values(new Foo); 3138 * // => [1, 2] (iteration order is not guaranteed) 3139 * 3140 * _.values('hi'); 3141 * // => ['h', 'i'] 3142 */ 3143function values(object) { 3144 return object == null ? [] : baseValues(object, keys(object)); 3145} 3146 3147module.exports = values; 3148 3149 3150/***/ }), 3151
3152/***/ "./includes/builder/scripts/utils/utils.js": 3153/*!*************************************************!*\ 3154 !*** ./includes/builder/scripts/utils/utils.js ***! 3155 \*************************************************/ 3156/*! exports provided: isBuilderType, is, isFE, isVB, isBFB, isTB, isLBB, isDiviTheme, isExtraTheme, isLBP, isBlockEditor, isBuilder, getOffsets, maybeIncreaseEmitterMaxListeners, maybeDecreaseEmitterMaxListeners, registerFrontendComponent, setImportantInlineValue */ 3157/***/ (function(module, __webpack_exports__, __webpack_require__) { 3158 3159"use strict"; 3160__webpack_require__.r(__webpack_exports__); 3161/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBuilderType", function() { return isBuilderType; }); 3162/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "is", function() { return is; }); 3163/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isFE", function() { return isFE; }); 3164/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isVB", function() { return isVB; }); 3165/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBFB", function() { return isBFB; }); 3166/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isTB", function() { return isTB; }); 3167/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isLBB", function() { return isLBB; }); 3168/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isDiviTheme", function() { return isDiviTheme; }); 3169/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isExtraTheme", function() { return isExtraTheme; }); 3170/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isLBP", function() { return isLBP; }); 3171/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBlockEditor", function() { return isBlockEditor; }); 3172/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBuilder", function() { return isBuilder; }); 3173/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOffsets", function() { return getOffsets; }); 3174/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "maybeIncreaseEmitterMaxListeners", function() { return maybeIncreaseEmitterMaxListeners; }); 3175/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "maybeDecreaseEmitterMaxListeners", function() { return maybeDecreaseEmitterMaxListeners; }); 3176/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerFrontendComponent", function() { return registerFrontendComponent; }); 3177/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setImportantInlineValue", function() { return setImportantInlineValue; }); 3178/* harmony import */ var lodash_includes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/includes */ "./includes/builder/node_modules/lodash/includes.js"); 3179/* harmony import */ var lodash_includes__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_0__); 3180/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/get */ "./includes/builder/node_modules/lodash/get.js"); 3181/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_1__); 3182/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! jquery */ "jquery"); 3183/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_2__); 3184/* harmony import */ var _core_admin_js_frame_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/admin/js/frame-helpers */ "./core/admin/js/frame-helpers.js"); 3185function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } 3186 3187/** 3188 * IMPORTANT: Keep external dependencies as low as possible since this utils might be 3189 * imported by various frontend scripts; need to keep frontend script size low. 3190 */ 3191// External dependencies 3192 3193 3194 // Internal dependencies 3195 3196 3197/** 3198 * Check current page's builder Type. 3199 * 3200 * @since 4.6.0 3201 * 3202 * @param {string} builderType Fe|vb|bfb|tb|lbb|lbp. 3203 * 3204 * @returns {bool} 3205 */ 3206 3207var isBuilderType = function isBuilderType(builderType) { 3208 return builderType === window.et_builder_utils_params.builderType; 3209}; 3210/** 3211 * Return condition value. 3212 * 3213 * @since 4.6.0 3214 * 3215 * @param {string} conditionName 3216 * 3217 * @returns {bool} 3218 */ 3219 3220var is = function is(conditionName) { 3221 return window.et_builder_utils_params.condition[conditionName]; 3222}; 3223/** 3224 * Is current page Frontend. 3225 * 3226 * @since 4.6.0 3227 * 3228 * @type {bool} 3229 */ 3230 3231var isFE = isBuilderType('fe'); 3232/** 3233 * Is current page Visual Builder. 3234 * 3235 * @since 4.6.0 3236 * 3237 * @type {bool} 3238 */ 3239 3240var isVB = isBuilderType('vb'); 3241/** 3242 * Is current page BFB / New Builder Experience. 3243 * 3244 * @since 4.6.0 3245 * 3246 * @type {bool} 3247 */ 3248 3249var isBFB = isBuilderType('bfb'); 3250/** 3251 * Is current page Theme Builder. 3252 * 3253 * @since 4.6.0 3254 * 3255 * @type {bool} 3256 */ 3257 3258var isTB = isBuilderType('tb'); 3259/** 3260 * Is current page Layout Block Builder. 3261 * 3262 * @type {bool} 3263 */ 3264 3265var isLBB = isBuilderType('lbb'); 3266/** 3267 * Is current page uses Divi Theme. 3268 * 3269 * @since 4.6.0 3270 * 3271 * @type {bool} 3272 */ 3273 3274var isDiviTheme = is('diviTheme'); 3275/** 3276 * Is current page uses Extra Theme. 3277 * 3278 * @since 4.6.0 3279 * 3280 * @type {bool} 3281 */ 3282 3283var isExtraTheme = is('extraTheme'); 3284/** 3285 * Is current page Layout Block Preview. 3286 * 3287 * @since 4.6.0 3288 * 3289 * @type {bool} 3290 */ 3291 3292var isLBP = isBuilderType('lbp'); 3293/** 3294 * Check if current window is block editor window (gutenberg editing page). 3295 * 3296 * @since 4.6.0 3297 * 3298 * @type {bool} 3299 */ 3300 3301var isBlockEditor = 0 < jquery__WEBPACK_IMPORTED_MODULE_2___default()(_core_admin_js_frame_helpers__WEBPACK_IMPORTED_MODULE_3__["top_window"].document).find('.edit-post-layout__content').length; 3302/** 3303 * Check if current window is builder window (VB, BFB, TB, LBB). 3304 * 3305 * @since 4.6.0 3306 * 3307 * @type {bool} 3308 */ 3309 3310var isBuilder = lodash_includes__WEBPACK_IMPORTED_MODULE_0___default()(['vb', 'bfb', 'tb', 'lbb'], window.et_builder_utils_params.builderType); 3311/** 3312 * Get offsets value of all sides. 3313 * 3314 * @since 4.6.0 3315 * 3316 * @param {object} $selector JQuery selector instance. 3317 * @param {number} height 3318 * @param {number} width 3319 * 3320 * @returns {object} 3321 */ 3322 3323var getOffsets = function getOffsets($selector) { 3324 var width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; 3325 var height = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; 3326 // Return previously saved offset if sticky tab is active; retrieving actual offset contain risk 3327 // of incorrect offsets if sticky horizontal / vertical offset of relative position is modified. 3328 var isStickyTabActive = isBuilder && $selector.hasClass('et_pb_sticky') && 'fixed' !== $selector.css('position'); 3329 var cachedOffsets = $selector.data('et-offsets'); 3330 var cachedDevice = $selector.data('et-offsets-device'); 3331 var currentDevice = lodash_get__WEBPACK_IMPORTED_MODULE_1___default()(window.ET_FE, 'stores.window.breakpoint', ''); // Only return cachedOffsets if sticky tab is active and cachedOffsets is not undefined and 3332 // cachedDevice equal to currentDevice. 3333 3334 if (isStickyTabActive && cachedOffsets !== undefined && cachedDevice === currentDevice) { 3335 return cachedOffsets; 3336 } // Get top & left offsets 3337 3338 3339 var offsets = $selector.offset(); // If no offsets found, return empty object 3340 3341 if ('undefined' === typeof offsets) { 3342 return {}; 3343 } // FE sets the flag for sticky module which uses transform as classname on module wrapper while 3344 // VB, BFB, TB, and LB sets the flag on CSS output's <style> element because it can't modify 3345 // its parent. This compromises avoids the needs to extract transform rendering logic 3346 3347 3348 var hasTransform = isBuilder ? $selector.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length > 0 : $selector.hasClass('et_pb_sticky--has-transform'); 3349 var top = 'undefined' === typeof offsets.top ? 0 : offsets.top; 3350 var left = 'undefined' === typeof offsets.left ? 0 : offsets.left; // If module is sticky module that uses transform, its offset calculation needs to be adju
3350sted 3351 // because transform tends to modify the positioning of the module 3352 3353 if (hasTransform) { 3354 // Calculate offset (relative to selector's parent) AFTER it is affected by transform 3355 // NOTE: Can't use jQuery's position() because it considers margin-left `auto` which causes issue 3356 // on row thus this manually calculate the difference between element and its parent's offset 3357 // @see https://github.com/jquery/jquery/blob/1.12-stable/src/offset.js#L149-L155 3358 var parentOffsets = $selector.parent().offset(); 3359 var transformedPosition = { 3360 top: offsets.top - parentOffsets.top, 3361 left: offsets.left - parentOffsets.left 3362 }; // Calculate offset (relative to selector's parent) BEFORE it is affected by transform 3363 3364 var preTransformedPosition = { 3365 top: $selector[0].offsetTop, 3366 left: $selector[0].offsetLeft 3367 }; // Update offset's top value 3368 3369 top += preTransformedPosition.top - transformedPosition.top; 3370 offsets.top = top; // Update offset's left value 3371 3372 left += preTransformedPosition.left - transformedPosition.left; 3373 offsets.left = left; 3374 } // Manually calculate right & bottom offsets 3375 3376 3377 offsets.right = left + width; 3378 offsets.bottom = top + height; // Save copy of the offset on element's .data() in case of scenario where retrieving actual 3379 // offset value will lead to incorrect offset value (eg. sticky tab active with position offset) 3380 3381 $selector.data('et-offsets', offsets); // Add current device to cache 3382 3383 if ('' !== currentDevice) { 3384 $selector.data('et-offsets-device', offsets); 3385 } 3386 3387 return offsets; 3388}; 3389/** 3390 * Increase EventEmitter's max listeners if lister count is about to surpass the max listeners limit 3391 * IMPORTANT: Need to be placed BEFORE `.on()`. 3392 * 3393 * @since 4.6.0 3394 * @param {EventEmitter} emitter 3395 * @param eventName 3396 * @param {string} EventName 3397 */ 3398 3399var maybeIncreaseEmitterMaxListeners = function maybeIncreaseEmitterMaxListeners(emitter, eventName) { 3400 var currentCount = emitter.listenerCount(eventName); 3401 var maxListeners = emitter.getMaxListeners(); 3402 3403 if (currentCount === maxListeners) { 3404 emitter.setMaxListeners(maxListeners + 1); 3405 } 3406}; 3407/** 3408 * Decrease EventEmitter's max listeners if listener count is less than max listener limit and above 3409 * 10 (default max listener limit). If listener count is less than 10, max listener limit will 3410 * remain at 10 3411 * IMPORTANT: Need to be placed AFTER `.removeListener()`. 3412 * 3413 * @since 4.6.0 3414 * 3415 * @param {EventEmitter} emitter 3416 * @param {string} eventName 3417 */ 3418 3419var maybeDecreaseEmitterMaxListeners = function maybeDecreaseEmitterMaxListeners(emitter, eventName) { 3420 var currentCount = emitter.listenerCount(eventName); 3421 var maxListeners = emitter.getMaxListeners(); 3422 3423 if (maxListeners > 10) { 3424 emitter.setMaxListeners(currentCount); 3425 } 3426}; 3427/** 3428 * Expose frontend (FE) component via global object so it can be accessed and reused externally 3429 * Note: window.ET_Builder is for builder app's component; window.ET_FE is for frontend component. 3430 * 3431 * @since 4.6.0 3432 * 3433 * @param {string} type 3434 * @param {string} name 3435 * @param {mixed} component 3436 */ 3437 3438var registerFrontendComponent = function registerFrontendComponent(type, name, component) { 3439 // Make sure that ET_FE is available 3440 if ('undefined' === typeof window.ET_FE) { 3441 window.ET_FE = {}; 3442 } 3443 3444 if ('object' !== _typeof(window.ET_FE[type])) { 3445 window.ET_FE[type] = {}; 3446 } 3447 3448 window.ET_FE[type][name] = component; 3449}; 3450/** 3451 * Set inline style with !important tag. JQuery's .css() can't set value with `!important` tag so 3452 * here it is. 3453 * 3454 * @since 4.6.2 3455 * 3456 * @param {object} $element 3457 * @param {string} cssProp 3458 * @param {string} value 3459 */ 3460 3461var setImportantInlineValue = function setImportantInlineValue($element, cssProp, value) { 3462 // Remove prop from current inline style in case the prop is already exist 3463 $element.css(cssProp, ''); // Get current inline style 3464 3465 var inlineStyle = $element.attr('style'); // Re-insert inline style + property with important tag 3466 3467 $element.attr('style', "".concat(inlineStyle, " ").concat(cssProp, ": ").concat(value, " !important;")); 3468}; 3469 3470/***/ }), 3471
3472/***/ "./js/src/custom.js": 3473/*!**************************!*\ 3474 !*** ./js/src/custom.js ***! 3475 \**************************/ 3476/*! no exports provided */ 3477/***/ (function(module, __webpack_exports__, __webpack_require__) { 3478 3479"use strict"; 3480__webpack_require__.r(__webpack_exports__); 3481/* harmony import */ var builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! builder/scripts/utils/utils */ "./includes/builder/scripts/utils/utils.js"); 3482// Internal dependencies 3483 3484/*! ET custom.js */ 3485 3486(function ($) { 3487 window.et_calculating_scroll_position = false; 3488 window.et_side_nav_links_initialized = false; 3489 var top_window = builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"] ? ET_Builder.Frames.top : window; 3490 3491 function et_get_first_section() { 3492 return $('.et-l:not(.et-l--footer) .et_pb_section:visible:first'); 3493 } 3494 3495 function et_get_first_module() { 3496 return $('.et-l .et_pb_module:visible:first'); 3497 } 3498 3499 var $et_pb_post_fullwidth = $('.single.et_pb_pagebuilder_layout.et_full_width_page'), 3500 et_is_mobile_device = navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/), 3501 et_is_ipad = navigator.userAgent.match(/iPad/), 3502 $et_container = $('.container'), 3503 et_container_width = $et_container.width(), 3504 et_is_fixed_nav = $('body').hasClass('et_fixed_nav') || $('body').hasClass('et_vertical_fixed'), 3505 et_is_vertical_fixed_nav = $('body').hasClass('et_vertical_fixed'), 3506 et_is_rtl = $('body').hasClass('rtl'), 3507 et_hide_nav = $('body').hasClass('et_hide_nav'), 3508 et_header_style_left = $('body').hasClass('et_header_style_left'), 3509 $top_header = $('#top-header'), 3510 $main_header = $('#main-header'), 3511 $main_container_wrapper = $('#page-container'), 3512 $et_main_content_first_row = $('#main-content .container:first-child'), 3513 $et_main_content_first_row_meta_wrapper = $et_main_content_first_row.find('.et_post_meta_wrapper:first'), 3514 $et_main_content_first_row_meta_wrapper_title = $et_main_content_first_row_meta_wrapper.find('h1.entry-title'), 3515 $et_main_content_first_row_content = $et_main_content_first_row.find('.entry-content:first'), 3516 $et_single_post = $('body.single'), 3517 $et_window = $(window), 3518 etRecalculateOffset = false, 3519 et_header_height = 0, 3520 et_header_modifier, 3521 et_header_offset, 3522 et_primary_header_top, 3523 $et_header_style_split = $('.et_header_style_split'), 3524 $et_top_navigation = $('#et-top-navigation'), 3525 $logo = $('#logo'), 3526 $et_pb_first_row = et_get_first_section(), 3527 et_is_touch_device = 'ontouchstart' in window || navigator.maxTouchPoints, 3528 $et_top_cart = $('#et-secondary-menu a.et-cart-info'); // Modification of underscore's _.debounce() 3529 // Underscore.js 1.8.3 3530 // http://underscorejs.org 3531 // (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 3532 // Underscore may be freely distributed under the MIT license. 3533 3534 function et_debounce(func, wait, immediate) { 3535 var timeout, args, context, timestamp, result; 3536 var now = Date.now || new Date().getTime(); 3537 3538 var later = function later() { 3539 var last = now - timestamp; 3540 3541 if (last < wait && last >= 0) { 3542 timeout = setTimeout(later, wait - last); 3543 } else { 3544 timeout = null; 3545 3546 if (!immediate) { 3547 result = func.apply(context, args); 3548 if (!timeout) context = args = null; 3549 } 3550 } 3551 }; 3552 3553 return function () { 3554 context = this; 3555 args = arguments; 3556 timestamp = now; 3557 var callNow = immediate && !timeout; 3558 if (!timeout) timeout = setTimeout(later, wait); 3559 3560 if (callNow) { 3561 result = func.apply(context, args); 3562 context = args = null; 3563 } 3564 3565 return result; 3566 }; 3567 } 3568 3569 ; 3570 3571 function et_preload_image(src, callback) { 3572 var img = new Image(); 3573 img.onLoad = callback; 3574 img.onload = callback; 3575 img.src = src; 3576 } // We need to check first to see if we are on a woocommerce single product. 3577 3578 3579 if ($(".woocommerce .woocommerce-product-gallery").length > 0) { 3580 // get the gallery container. 3581 var gal = $(".woocommerce-product-gallery")[0]; // let's replace the data attribute since Salvatorre reconfigures 3582 // data-columns on the resize event. 3583 3584 var newstr = gal.outerHTML.replace('data-columns', 'data-cols'); // finally we re-insert. 3585 3586 gal.outerHTML = newstr; 3587 } // update the cart item on the secondary menu. 3588 3589 3590 if ($et_top_cart.length > 0 && $('.shop_table.cart').length > 0) { 3591 $(document.body).on('updated_wc_div', function () { 3592 var new_total = 0; 3593 var new_text; 3594 $('.shop_table.cart').find('.product-quantity input').each(function () { 3595 new_total = new_total + parseInt($(this).val()); 3596 }); 3597 3598 if (new_total === 1) { 3599 new_text = DIVI.item_count; 3600 } else { 3601 new_text = DIVI.items_count; 3602 } 3603 3604 new_text = new_text.replace('%d', new_total); 3605 $et_top_cart.find('span').text(new_text); 3606 }); 3607 } 3608 3609 document.addEventListener('DOMContentLoaded', function () { 3610 var $et_top_menu = $('ul.nav, ul.menu'), 3611 $et_search_icon = $('#et_search_icon'), 3612 et_parent_menu_longpress_limit = 300, 3613 et_parent_menu_longpress_start, 3614 et_parent_menu_click = true, 3615 is_customize_preview = $('body').hasClass('et_is_customize_preview'); 3616 window.et_pb_init_nav_menu($et_top_menu); 3617 3618 function et_header_menu_split() { 3619 var $logo_container = $('#main-header > .container > .logo_container'), 3620 $logo_container_splitted = $('.centered-inline-logo-wrap > .logo_container'), 3621 et_top_navigation_li_size = $et_top_navigation.children('nav').children('ul').children('li').size(), 3622 et_top_navigation_li_break_index = Math.round(et_top_navigation_li_size / 2) - 1, 3623 window_width = window.innerWidth || $et_window.width(); 3624 3625 if (window_width > 980 && $logo_container.length && $('body').hasClass('et_header_style_split')) { 3626 $('<li class="centered-inline-logo-wrap"></li>').insertAfter($et_top_navigation.find('nav > ul >li:nth(' + et_top_navigation_li_break_index + ')')); 3627 $logo_container.appendTo($et_top_navigation.find('.centered-inline-logo-wrap')); 3628 } 3629 3630 if (window_width <= 980 && $logo_container_splitted.length) { 3631 $logo_container_splitted.prependTo('#main-header > .container'); 3632 $('#main-header .centered-inline-logo-wrap').remove(); 3633 } 3634 } 3635
3636 function et_set_right_vertical_menu() { 3637 var $body = $('body'); 3638 3639 if ($body.hasClass('et_boxed_layout') && $body.hasClass('et_vertical_fixed') && $body.hasClass('et_vertical_right')) { 3640 var header_offset = parseFloat($('#page-container').css('margin-right')); 3641 header_offset += parseFloat($('#et-main-area').css('margin-right')) - 225; 3642 header_offset = 0 > header_offset ? 0 : header_offset; 3643 $('#main-header').addClass('et_vertical_menu_set').css({ 3644 'left': '', 3645 'right': header_offset 3646 }); 3647 } 3648 } 3649 3650 if ($et_header_style_split.length && !window.et_is_vertical_nav || is_customize_preview) { 3651 et_header_menu_split(); 3652 $(window).resize(function () { 3653 et_header_menu_split(); 3654 }); 3655 } 3656 3657 if (window.et_is_vertical_nav) { 3658 if ($('#main-header').height() < $('#et-top-navigation').height()) { 3659 $('#main-header').height($('#et-top-navigation').height() + $('#logo').height() + 100); 3660 } 3661 3662 et_set_right_vertical_menu(); 3663 } 3664 3665 window.et_calculate_header_values = function () { 3666 var $top_header = $('#top-header'), 3667 secondary_nav_height = $top_header.length && $top_header.is(':visible') ? parseInt($top_header.innerHeight()) : 0, 3668 admin_bar_height = $('#wpadminbar').length ? parseInt($('#wpadminbar').innerHeight()) : 0, 3669 $slide_menu_container = $('.et_header_style_slide .et_slide_in_menu_container'), 3670 is_rtl = $('body').hasClass('rtl'); 3671 et_header_height = parseInt($('#main-header').innerHeight()) + secondary_nav_height; 3672 et_header_modifier = et_header_height <= 90 ? et_header_height - 29 : et_header_height - 56; 3673 et_header_offset = et_header_modifier + admin_bar_height; 3674 et_primary_header_top = secondary_nav_height + admin_bar_height; 3675 3676 if ($slide_menu_container.length && !$('body').hasClass('et_pb_slide_menu_active')) { 3677 if (is_rtl) { 3678 $slide_menu_container.css({ 3679 left: '-' + parseInt($slide_menu_container.innerWidth()) + 'px', 3680 'display': 'none' 3681 }); 3682 } else { 3683 $slide_menu_container.css({ 3684 right: '-' + parseInt($slide_menu_container.innerWidth()) + 'px', 3685 'display': 'none' 3686 }); 3687 } 3688 3689 if ($('body').hasClass('et_boxed_layout')) { 3690 if (is_rtl) { 3691 var page_container_margin = $main_container_wrapper.css('margin-right'); 3692 $main_header.css({ 3693 right: page_container_margin 3694 }); 3695 } else { 3696 var page_container_margin = $main_container_wrapper.css('margin-left'); 3697 $main_header.css({ 3698 left: page_container_margin 3699 }); 3700 } 3701 } 3702 } 3703 }; 3704 3705 var $comment_form = $('#commentform'); 3706 et_pb_form_placeholders_init($comment_form); 3707 $comment_form.submit(function () { 3708 et_pb_remove_placeholder_text($comment_form); 3709 }); 3710 et_duplicate_menu($('#et-top-navigation ul.nav'), $('#et-top-navigation .mobile_nav'), 'mobile_menu', 'et_mobile_menu'); 3711 et_duplicate_menu('', $('.et_pb_fullscreen_nav_container'), 'mobile_menu_slide', 'et_mobile_menu', 'no_click_event'); // Handle `Disable top tier dropdown menu links` Theme Option. 3712 3713 if ($('ul.et_disable_top_tier').length) { 3714 var $disbaled_top_tier_links = $("ul.et_disable_top_tier > li > ul").prev('a'); 3715 $disbaled_top_tier_links.attr('href', '#'); 3716 $disbaled_top_tier_links.on('click', function (e) { 3717 e.preventDefault(); 3718 }); // Handle top tier links in cloned mobile menu 3719 3720 var $disbaled_top_tier_links_mobile = $("ul#mobile_menu > li > ul").prev('a'); 3721 $disbaled_top_tier_links_mobile.attr('href', '#'); 3722 $disbaled_top_tier_links_mobile.on('click', function (e) { 3723 e.preventDefault(); 3724 }); 3725 } 3726 3727 if ($('#et-secondary-nav').length) { 3728 $('#et-top-navigation #mobile_menu').append($('#et-secondary-nav').clone().html()); 3729 } // adding arrows for the slide/fullscreen menus 3730 3731 3732 if ($('.et_slide_in_menu_container').length) { 3733 var $item_with_sub = $('.et_slide_in_menu_container').find('.menu-item-has-children > a'); // add arrows for each menu item which has submenu 3734 3735 if ($item_with_sub.length) { 3736 $item_with_sub.append('<span class="et_mobile_menu_arrow"></span>'); 3737 } 3738 } 3739 3740 function et_change_primary_nav_position(delay) { 3741 setTimeout(function () { 3742 var etPrimaryHeaderTop = 0; 3743 var $body = $('body'); 3744 var $wpadminbar = builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"] ? top_window.jQuery('#wpadminbar') : $('#wpadminbar'); 3745 var $topHTML = top_window.jQuery('html'); 3746 var $topHeader = $('#top-header'); 3747 var isPreviewMode = $topHTML.is('.et-fb-preview--zoom:not(.et-fb-preview--desktop)'); 3748 isPreviewMode = isPreviewMode || $topHTML.is('.et-fb-preview--tablet'); 3749 isPreviewMode = isPreviewMode || $topHTML.is('.et-fb-preview--phone'); 3750 3751 if ($wpadminbar.length && !Number.isNaN($wpadminbar.innerHe
3751ight())) { 3752 var adminbarHeight = parseFloat($wpadminbar.innerHeight()); // Adjust admin bar height for builder's preview mode 3753 // since admin bar is rendered on top window in these modes. 3754 3755 etPrimaryHeaderTop += builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"] && isPreviewMode ? 0 : adminbarHeight; 3756 } 3757 3758 if ($topHeader.length && $topHeader.is(':visible')) { 3759 etPrimaryHeaderTop += $topHeader.innerHeight(); 3760 } 3761 3762 var isFixedNav = $body.hasClass('et_fixed_nav'); 3763 var isAbsolutePrimaryNav = !isFixedNav && $body.hasClass('et_transparent_nav') && $body.hasClass('et_secondary_nav_enabled'); 3764 3765 if (!window.et_is_vertical_nav && (isFixedNav || isAbsolutePrimaryNav)) { 3766 $('#main-header').css('top', etPrimaryHeaderTop); 3767 } 3768 }, delay); 3769 } 3770 3771 window.et_change_primary_nav_position = et_change_primary_nav_position; 3772 3773 function et_hide_nav_transform() { 3774 var $body = $('body'), 3775 $body_height = $(document).height(), 3776 $viewport_height = $(window).height() + et_header_height + 200; // Do nothing when Vertical Navigation is Enabled 3777 3778 if ($body.hasClass('et_vertical_nav')) { 3779 return; 3780 } 3781 3782 if ($body.hasClass('et_hide_nav') || $body.hasClass('et_hide_nav_disabled') && $body.hasClass('et_fixed_nav')) { 3783 if ($body_height > $viewport_height) { 3784 if ($body.hasClass('et_hide_nav_disabled')) { 3785 $body.addClass('et_hide_nav'); 3786 $body.removeClass('et_hide_nav_disabled'); 3787 } 3788 3789 $('#main-header').css('transform', 'translateY(-' + et_header_height + 'px)'); 3790 $('#top-header').css('transform', 'translateY(-' + et_header_height + 'px)'); 3791 } else { 3792 $('#main-header').css({ 3793 'transform': 'translateY(0)', 3794 'opacity': '1' 3795 }); 3796 $('#top-header').css({ 3797 'transform': 'translateY(0)', 3798 'opacity': '1' 3799 }); 3800 $body.removeClass('et_hide_nav'); 3801 $body.addClass('et_hide_nav_disabled'); 3802 } // Run fix page container again, needed when body height is not tall enough and 3803 // adjustment has been aded 3804 3805 3806 et_fix_page_container_position(); 3807 } 3808 } // Saving current styling for the next resize cycle 3809 3810 3811 function et_save_initial_page_container_style($selector, property) { 3812 var styling = {}; 3813 styling[property] = $selector.css(property); 3814 $selector.attr({ 3815 'data-fix-page-container': 'on' 3816 }).data({ 3817 'fix_page_container_style': styling 3818 }); 3819 } 3820 3821 function et_page_load_scroll_to_anchor() { 3822 var location_hash = window.et_location_hash.replace(/(\|)/g, "\\$1"); 3823 3824 if ($(location_hash).length === 0) { 3825 return; 3826 } 3827 3828 var $map_container = $(location_hash + ' .et_pb_map_container'); 3829 var $map = $map_container.children('.et_pb_map'); 3830 var $target = $(location_hash); // Make the target element visible again 3831 3832 if ('undefined' !== typeof window.et_location_hash_style) { 3833 $target.css('display', window.et_location_hash_style); 3834 } 3835 3836 var distance = 'undefined' !== typeof $target.offset().top ? $target.offset().top : 0; 3837 var speed = distance > 4000 ? 1600 : 800; 3838 3839 if ($map_container.length) { 3840 google.maps.event.trigger($map[0], 'resize'); 3841 } // Workaround for reviews tab in woo tabs. 3842 3843 3844 if ($target.parents().hasClass('commentlist')) { 3845 $('.reviews_tab').click().animate({ 3846 scrollTop: $target.offset().top 3847 }, 700); 3848 } // Allow the header sizing functions enough time to finish before scrolling the page 3849 3850 3851 setTimeout(function () { 3852 et_pb_smooth_scroll($target, false, speed, 'swing'); // During the page scroll animation, the header's height might change. 3853 // Do the scroll animation again to ensure its accuracy. 3854 3855 setTimeout(function () { 3856 et_pb_smooth_scroll($target, false, 150, 'linear'); 3857 }, speed + 25); 3858 }, 700); 3859 } // Retrieving padding/margin value based on formatted saved padding/margin strings 3860 3861 3862 function et_get_saved_padding_margin_value(saved_value, order) { 3863 if (typeof saved_value === 'undefined') { 3864 return false;
3865 } 3866 3867 var values = saved_value.split('|'); 3868 return typeof values[order] !== 'undefined' ? values[order] : false; 3869 } 3870 3871 function et_fix_page_container_position() { 3872 var et_window_width = parseInt($et_window.width()), 3873 $top_header = $('#top-header'), 3874 $et_pb_first_row = et_get_first_section(), 3875 secondary_nav_height = $top_header.length && $top_header.is(':visible') ? parseInt($top_header.innerHeight()) : 0, 3876 main_header_fixed_height = 0, 3877 header_height, 3878 et_pb_first_row_padding_top; 3879 var $mainHeaderClone = $main_header.clone().addClass('et-disabled-animations main-header-clone').css({ 3880 opacity: 0, 3881 position: 'fixed', 3882 top: 'auto', 3883 right: 0, 3884 bottom: 0, 3885 left: 0 3886 }).appendTo($('body')); // Replace previous resize cycle's adjustment 3887 3888 if (!$('body').hasClass('et-bfb')) { 3889 $('*[data-fix-page-container="on"]').each(function () { 3890 var $adjusted_element = $(this), 3891 styling = $adjusted_element.data(); 3892 3893 if (styling && styling.fix_page_container_style) { 3894 // Reapply previous styling 3895 $adjusted_element.css(styling.fix_page_container_style); 3896 } 3897 }); 3898 } // Set data-height-onload for header if the page is loaded on large screen 3899 // If the page is loaded from small screen, rely on data-height-onload printed on the markup, 3900 // prevent window resizing issue from small to large 3901 // ignore data-height-loaded in VB to make sure it calculated correctly. 3902 3903 3904 if (et_window_width > 980 && (!$main_header.attr('data-height-loaded') || $('body').is('.et-fb'))) { 3905 var mainHeaderHeight = 0; 3906 3907 if ($main_header.hasClass('et-fixed-header')) { 3908 $mainHeaderClone.removeClass('et-fixed-header'); 3909 mainHeaderHeight = $mainHeaderClone.height(); 3910 $mainHeaderClone.addClass('et-fixed-header'); 3911 } else { 3912 mainHeaderHeight = $main_header.height(); 3913 } 3914 3915 $main_header.attr({ 3916 'data-height-onload': parseInt(mainHeaderHeight), 3917 'data-height-loaded': true 3918 }); 3919 } // Use on page load calculation for large screen. Use on the fly calculation for small screen (980px below) 3920 3921 3922 if (et_window_width <= 980) { 3923 header_height = parseInt($main_header.innerHeight()) + secondary_nav_height - ($('body').hasClass('et-fb') ? 0 : 1); // If transparent is detected, #main-content .container's padding-top needs to be added to header_height 3924 // And NOT a pagebuilder page 3925 3926 if (window.et_is_transparent_nav && !$et_pb_first_row.length) { 3927 header_height += 58; 3928 } 3929 } else { 3930 // Get header height from header attribute 3931 header_height = parseInt($main_header.attr('data-height-onload')) + secondary_nav_height; // Non page builder page needs to be added by #main-content .container's fixed height 3932 3933 if (window.et_is_transparent_nav && !window.et_is_vertical_nav && $et_main_content_first_row.length) { 3934 header_height += 58; 3935 } // Calculate fixed header height by cloning, emulating, and calculating its height 3936 3937 3938 main_header_fixed_height = $mainHeaderClone.height(); 3939 } 3940 3941 if (et_hide_nav) { 3942 var topNavHeightDiff = parseInt($et_top_navigation.data('height')) - parseInt($et_top_navigation.data('fixed-height')); 3943 main_header_fixed_height = parseInt($main_header.data('height-onload')) - topNavHeightDiff; 3944 } // Saved fixed main header height calculation 3945 3946 3947 $main_header.attr({ 3948 'data-fixed-height-onload': main_header_fixed_height 3949 }); 3950 var $wooCommerceNotice = $('.et_fixed_nav.et_transparent_nav.et-db.et_full_width_page #left-area > .woocommerce-notices-wrapper'); 3951 3952 if ($wooCommerceNotice.length > 0 && 'yes' !== $wooCommerceNotice.attr('data-position-set')) { 3953 var wooNoticeMargin = main_header_fixed_height; 3954 3955 if (0 === wooNoticeMargin && $main_header.attr('data-height-onload')) { 3956 wooNoticeMargin = $main_header.attr('data-height-onload'); 3957 } 3958 3959 $wooCommerceNotice.css('marginTop', parseFloat(wooNoticeMargin)); 3960 $wooCommerceNotice.animate({ 3961 'opacity': '1' 3962 }); 3963 $wooCommerceNotice.attr('data-position-set', 'yes'); 3964 } // Specific adjustment required for transparent nav + not vertical nav + (not hidden n
3964av 3965 // OR hidden nav but document height is shorter than "viewport" height) 3966 // NOTES: 3967 // 1. hidden nav: nav is initially hidden then appears as the window is scrolled) 3968 // 2. in hidden nav, nav is displayed as window is scrolled. If document height is 3969 // shorter than viewport, vertical scroll doesn't exist and nav is directly rendered. 3970 // Thus, transparent nav adjustment need to be applied if body is shorter than window 3971 // 3. Hidden nav only works on desktop breakpoint. Nav is always displayed on tablet 3972 // and smaller breakpoints 3973 // 4. "viewport" height calculation needs to be identical with viewport calculation used 3974 // at `et_hide_nav_transform()` to make sure that when nav is displayed due to short 3975 // document height, the padding gets added 3976 3977 3978 var bodyHeight = $(document).height(); 3979 var viewportHeight = $(window).height() + et_header_height + 200; 3980 var isBodyShorterThanViewport = viewportHeight > bodyHeight; 3981 var isDesktop = parseInt($(window).width()) > 980; 3982 var isHideNavDesktop = isDesktop && et_hide_nav; 3983 3984 if (window.et_is_transparent_nav && !window.et_is_vertical_nav && (!isHideNavDesktop || isBodyShorterThanViewport)) { 3985 if (!$('body').hasClass('et-bfb')) { 3986 // Add class for first row for custom section padding purpose 3987 $et_pb_first_row.addClass('et_pb_section_first'); 3988 } // List of conditionals 3989 3990 3991 var is_pb = $et_pb_first_row.length, 3992 is_post_pb = is_pb && $et_single_post.length, 3993 is_post_pb_full_layout_has_title = $et_pb_post_fullwidth.length && $et_main_content_first_row_meta_wrapper_title.length, 3994 is_post_pb_full_layout_no_title = $et_pb_post_fullwidth.length && 0 === $et_main_content_first_row_meta_wrapper_title.length, 3995 is_post_with_tb_body = is_post_pb && $('.et-l--body').length, 3996 is_pb_fullwidth_section_first = $et_pb_first_row.is('.et_pb_fullwidth_section'), 3997 is_no_pb_mobile = et_window_width <= 980 && $et_main_content_first_row.length, 3998 isProject = $('body').hasClass('single-project'); 3999 4000 if (!is_post_with_tb_body && is_post_pb && !(is_post_pb_full_layout_no_title && is_pb_fullwidth_section_first) && !isProject) { 4001 /* Desktop / Mobile + Single Post */ 4002 4003 /* 4004 * EXCEPT for fullwidth layout + fullwidth section ( at the first row ). 4005 * It is basically the same as page + fullwidth section with few quirk. 4006 * Instead of duplicating the conditional for each module, it'll be simpler to negate 4007 * fullwidth layout + fullwidth section in is_post_pb and rely it to is_pb_fullwidth_section_first 4008 */ 4009 // Remove main content's inline padding to styling to prevent looping padding-top calculation 4010 $et_main_content_first_row.css({ 4011 'paddingTop': '' 4012 }); 4013 4014 if (et_window_width < 980) { 4015 header_height += 40; 4016 } 4017 4018 if (is_pb_fullwidth_section_first) { 4019 // If the first section is fullwidth, restore the padding-top modified area at first section 4020 $et_pb_first_row.css({ 4021 'paddingTop': '0' 4022 }); 4023 } 4024 4025 if (is_post_pb_full_layout_has_title) { 4026 // Add header height to post meta wrapper as padding top 4027 $et_main_content_first_row_meta_wrapper.css({ 4028 'paddingTop': header_height 4029 }); 4030 } else if (is_post_pb_full_layout_no_title) { 4031 // Save current styling for the next resize cycle 4032 et_save_initial_page_container_style($et_pb_first_row, 'paddingTop'); // Reset any inline padding-top. 4033 4034 $et_pb_first_row.css({ 4035 paddingTop: '' 4036 }); 4037 $et_pb_first_row.css({ 4038 // Ignore the extra 58px added to header height previously. 4039 'paddingTop': 'calc(' + (header_height - 58) + 'px + ' + $et_pb_first_row.css('paddingTop') + ')' 4040 }); 4041 } else { 4042 // Save current styling for the next resize cycle 4043 et_save_initial_page_container_style($et_main_content_first_row, 'paddingTop'); // Add header height to first row content as padding top 4044 4045 $et_main_content_first_row.css({ 4046 'paddingTop': header_height 4047 }); 4048 } 4049 } else if (is_pb_fullwidth_section_first) { 4050 /* Desktop / Mobile + Pagebuilder + Fullwidth Section */ 4051 var $et_pb_first_row_first_module = $et_pb_first_row.children('.et_pb_module:visible:first'); // Quirks: If this is post with fullwidth layout + no title + fullwidth section at first row, 4052 // Remove the added height at line 2656 4053 4054 if (is_post_pb_full_layout_no_title && is_pb_fullwidth_section_first && et_window_width > 980) { 4055 header_height = header_height - 58; 4056 } 4057 4058 if ($et_pb_first_row_first_module.is('.et_pb_slider')) { 4059 /* Desktop / Mobile + Pagebuilder + Fullwidth slider */ 4060 var $et_pb_first_row_first_module_slide_image = $et_pb_first_row_first_module.find('.et_pb_slide_image'), 4061 $et_pb_first_row_first_module_slide = $et_pb_first_row_first_module.find('.et_pb_slide'), 4062 $et_pb_first_row_first_module_slide_container = $et_pb_first_row_first_module.find('.et_pb_slide .et_pb_container'), 4063 et_pb_slide_image_margin_top = 0 - parseInt($et_pb_first_row_first_module_slide_image.height()) / 2, 4064 et_pb_slide_container_height = 0, 4065 $et_pb_first_row_first_module_slider_arrow = $et_pb_first_row_first_module.find('.et-pb-slider-arrows a'), 4066 et_pb_first_row_slider_arrow_height = $et_pb_first_row_first_module_slider_arrow.height(); // Save current styling for the next resize cycle 4067 4068 et_save_initial_page_container_style($et_pb_first_row_first_module_slide, 'paddingTop'); // Adding padding top to each slide so the transparency become useful 4069 4070 $et_pb_first_row_first_module_slide.css({ 4071 'paddingTop': header_height 4072 }); // delete container's min-height 4073 4074 $et_pb_first_row_first_module_slide_container.css({ 4075 'min-height': '' 4076 }); // Save current styling for the next resize cycle 4077 4078 et_save_initial_page_container_style($et_pb_first_row_first_module_slide_image, 'marginTop'); // Adjusting slider's image, considering additional top padding of slideshow 4079 4080 $et_pb_first_row_first_module_slide_image.css({ 4081 'marginTop': et_pb_slide_image_margin_top 4082 }); // Save current styling for the next resize cycle 4083 4084 et_save_initial_page_container_style($et_pb_first_row_first_module_slider_arrow, 'marginTop'); // Adjusting slider's arrow, considering additional top padding of slideshow 4085 4086 $et_pb_first_row_first_module_slider_arrow.css({ 4087 'marginTop': header_height / 2 - et_pb_first_row_slider_arrow_height / 2 4088 }); // Looping the slide and get the highest height of slide 4089 4090 var et_pb_first_row_slide_container_height_new = 0; 4091 $et_pb_first_row_first_module.find('.et_pb_slide').each(function () { 4092 var $et_pb_first_row_first_module_slide_item = $(this), 4093 $et_pb_first_row_first_module_slide_container = $et_pb_first_row_first_module_slide_item.find('.et_pb_container'); // Make sure that the slide is visible to calculate correct height 4094 4095 $et_pb_first_row_first_module_slide_item.show(); // Remove existing inline css to make sure that it calculates the height 4096 4097 $et_pb_first_row_first_module_slide_container.css({ 4098 'min-height': '' 4099 }); 4100 var et_pb_first_row_slide_container_height = $et_pb_first_row_first_module_slide_container.innerHe
4100ight(); 4101 4102 if (et_pb_first_row_slide_container_height_new < et_pb_first_row_slide_container_height) { 4103 et_pb_first_row_slide_container_height_new = et_pb_first_row_slide_container_height; 4104 } // Hide the slide back if it isn't active slide 4105 4106 4107 if ($et_pb_first_row_first_module_slide_item.is(':not(".et-pb-active-slide")')) { 4108 $et_pb_first_row_first_module_slide_item.hide(); 4109 } 4110 }); // Save current styling for the next resize cycle 4111 4112 et_save_initial_page_container_style($et_pb_first_row_first_module_slide_container, 'min-height'); // Setting appropriate min-height, considering additional top padding of slideshow 4113 4114 $et_pb_first_row_first_module_slide_container.css({ 4115 'min-height': et_pb_first_row_slide_container_height_new 4116 }); 4117 } else if ($et_pb_first_row_first_module.is('.et_pb_fullwidth_header')) { 4118 /* Desktop / Mobile + Pagebuilder + Fullwidth header */ 4119 // Remove existing inline stylesheet to prevent looping padding 4120 $et_pb_first_row_first_module.removeAttr('style'); // Get paddingTop from stylesheet 4121 4122 var et_pb_first_row_first_module_fullwidth_header_padding_top = parseInt($et_pb_first_row_first_module.css('paddingTop')); // Save current styling for the next resize cycle 4123 4124 et_save_initial_page_container_style($et_pb_first_row_first_module, 'paddingTop'); // Implement stylesheet's padding-top + header_height 4125 4126 $et_pb_first_row_first_module.css({ 4127 'paddingTop': header_height + et_pb_first_row_first_module_fullwidth_header_padding_top 4128 }); 4129 } else if ($et_pb_first_row_first_module.is('.et_pb_fullwidth_portfolio')) { 4130 /* Desktop / Mobile + Pagebuilder + Fullwidth Portfolio */ 4131 // Save current styling for the next resize cycle 4132 et_save_initial_page_container_style($et_pb_first_row_first_module, 'paddingTop'); 4133 $et_pb_first_row_first_module.css({ 4134 'paddingTop': header_height 4135 }); 4136 } else if ($et_pb_first_row_first_module.is('.et_pb_map_container')) { 4137 /* Desktop / Mobile + Pagebuilder + Fullwidth Map */ 4138 var $et_pb_first_row_map = $et_pb_first_row_first_module.find('.et_pb_map'); // Remove existing inline height to prevent looping height calculation 4139 4140 $et_pb_first_row_map.css({ 4141 'height': '' 4142 }); // Implement map height + header height 4143 4144 $et_pb_first_row_first_module.find('.et_pb_map').css({ 4145 'height': header_height + parseInt($et_pb_first_row_map.css('height')) 4146 }); // Adding specific class to mark the map as first row section element 4147 4148 $et_pb_first_row_first_module.addClass('et_beneath_transparent_nav'); 4149 } else if ($et_pb_first_row_first_module.is('.et_pb_menu') || $et_pb_first_row_first_module.is('.et_pb_fullwidth_menu')) { 4150 /* Desktop / Mobile + Pagebuilder + Fullwidth Menu */ 4151 // Save current styling for the next resize cycle 4152 et_save_initial_page_container_style($et_pb_first_row_first_module, 'marginTop'); 4153 $et_pb_first_row_first_module.css({ 4154 'marginTop': header_height 4155 }); 4156 } else if ($et_pb_first_row_first_module.is('.et_pb_fullwidth_code')) { 4157 /* Desktop / Mobile + Pagebuilder + Fullwidth code */ 4158 var $et_pb_first_row_first_module_code = $et_pb_first_row_first_module; 4159 $et_pb_first_row_first_module_code.css({ 4160 'paddingTop': '' 4161 }); 4162 var et_pb_first_row_first_module_code_padding_top = parseInt($et_pb_first_row_first_module_code.css('paddingTop')); // Save current styling for the next resize cycle 4163 4164 et_save_initial_page_container_style($et_pb_first_row_first_module_code, 'paddingTop'); 4165 $et_pb_first_row_first_module_code.css({ 4166 'paddingTop': header_height + et_pb_first_row_first_module_code_padding_top 4167 }); 4168 } else if ($et_pb_first_row_first_module.is('.et_pb_post_title')) { 4169 /* Desktop / Mobile + Pagebuilder + Fullwidth Post Title */ 4170 var $et_pb_first_row_first_module_title = $et_pb_first_row_first_module; // Save current styling for the next resize cycle 4171 4172 et_save_initial_page_container_style($et_pb_first_row_first_module_title, 'paddingTop'); 4173 $et_pb_first_row_first_module.css({ 4174 'paddingTop': header_height + 50 4175 }); 4176 } else if (!$et_pb_first_row_first_module.length) { 4177 // Get current padding top 4178 et_pb_first_row_padding_top = parseFloat($et_pb_first_row.css('paddingTop')); // Save current styling for the next resize cycle 4179 4180 et_save_initial_page_container_style($et_pb_first_row, 'paddingTop'); // Keep the state of previous cycle. The padding top is reset to the first 4181 // cycle by default (padding-top: 0px) so if previous cycle didn't hide the 4182 // nav, automatically add the additional padding top 4183 4184 if (!$et_pb_first_row.data('is_hide_nav')) { 4185 $et_pb_first_row.css({ 4186 'paddingTop': et_pb_first_row_padding_top + header_height 4187 }); 4188 } // Use timeout to avoid flickering padding top when window is resized vertically
4189 // and hidden nav is transitioned to visible nav, vice versa. 4190 4191 4192 clearTimeout(window.et_fallback_transparent_adjustment_timeout); 4193 window.et_fallback_transparent_adjustment_timeout = setTimeout(function () { 4194 // Hidden nav can be decided by the existance of et_hide_nav class AND 4195 // the css transform attribute value because the visibility of nav is 4196 // modified by CSS transition 4197 var is_hide_nav = $('body').hasClass('et_hide_nav') && $('#main-header').css('transform') !== 'matrix(1, 0, 0, 1, 0, 0)'; // Add / remove additional top padding accordingly 4198 4199 if (is_hide_nav) { 4200 $et_pb_first_row.css({ 4201 'paddingTop': '' 4202 }); 4203 } else { 4204 $et_pb_first_row.css({ 4205 'paddingTop': et_pb_first_row_padding_top + header_height 4206 }); 4207 } // Save current nav state for next cycle assessment 4208 4209 4210 $et_pb_first_row.data('is_hide_nav', is_hide_nav); 4211 }, 300); 4212 } 4213 } else if (is_pb) { 4214 /* Desktop / Mobile + Pagebuilder + Regular section */ 4215 // Remove first row's inline padding top styling to prevent looping padding-top calculation 4216 $et_pb_first_row.css({ 4217 'paddingTop': '' 4218 }); // Get saved custom padding from data-* attributes. Builder automatically adds 4219 // saved custom paddings to data-* attributes on first section 4220 4221 var saved_custom_padding = $et_pb_first_row.attr('data-padding'), 4222 saved_custom_padding_top = et_get_saved_padding_margin_value(saved_custom_padding, 0), 4223 saved_custom_padding_tablet = $et_pb_first_row.attr('data-padding-tablet'), 4224 saved_custom_padding_tablet_top = et_get_saved_padding_margin_value(saved_custom_padding_tablet, 0), 4225 saved_custom_padding_phone = $et_pb_first_row.attr('data-padding-phone'), 4226 saved_custom_padding_phone_top = et_get_saved_padding_margin_value(saved_custom_padding_phone, 0), 4227 applied_saved_custom_padding; 4228 4229 if (saved_custom_padding_top || saved_custom_padding_tablet_top || saved_custom_padding_phone_top) { 4230 // Applies padding top to first section to automatically convert saved unit into px 4231 if (et_window_width > 980 && saved_custom_padding_top) { 4232 $et_pb_first_row.css({ 4233 paddingTop: saved_custom_padding_top 4234 }); 4235 } else if (et_window_width > 767 && saved_custom_padding_tablet_top) { 4236 $et_pb_first_row.css({ 4237 paddingTop: saved_custom_padding_tablet_top 4238 }); 4239 } else if (saved_custom_padding_phone_top) { 4240 $et_pb_first_row.css({ 4241 paddingTop: saved_custom_padding_phone_top 4242 }); 4243 } // Get converted custom padding top value 4244 4245 4246 applied_saved_custom_padding = parseInt($et_pb_first_row.css('paddingTop')); // Implemented saved & converted padding top + header height 4247 4248 $et_pb_first_row.css({ 4249 paddingTop: header_height + applied_saved_custom_padding 4250 }); 4251 } else { 4252 // Pagebuilder ignores #main-content .container's fixed height and uses its row's padding 4253 // Anticipate the use of custom section padding. 4254 et_pb_first_row_padding_top = header_height + parseInt($et_pb_first_row.css('paddingTop')); // Save current styling for the next resize cycle 4255 4256 et_save_initial_page_container_style($et_pb_first_row, 'paddingTop'); // Implementing padding-top + header_height 4257 4258 $et_pb_first_row.css({ 4259 'paddingTop': et_pb_first_row_padding_top 4260 }); 4261 } 4262 } else if (is_no_pb_mobile) { 4263 // Mobile + not pagebuilder 4264 $et_main_content_first_row.css({ 4265 'paddingTop': header_height 4266 }); 4267 } else { 4268 $('#main-content .container:first-child').css({ 4269 'paddingTop': header_height 4270 }); 4271 } // Set #page-container's padding-top to zero after inline styling first row's content has been added 4272 4273 4274 if (!$('#et_fix_page_container_position').length) { 4275 $('<style />', { 4276 'id': 'et_fix_page_container_position', 4277 'text': '#page-container{ padding-top: 0 !important;}' 4278 }).appendTo('head'); 4279 } // If the first visible (visibility is significant for for cached split test) section/row/module has 4280 // parallax background, trigger parallax height resize so the parallax location is correctly rendered 4281 // due to addition of first section/row/module margin-top/padding-top which is needed for transparent 4282 // primary nav 4283 4284 4285 var $firstSection = $('.et_pb_section:visible:first'); 4286 var $firstRow = $firstSection.find('.et_pb_row:visible:first'); 4287 var $firstModule = $firstSection.find('.et_pb_module:visible:first'); 4288 var firstSectionHasParallax = $firstSection.hasClass('et_pb_section_parallax');
4289 var firstRowHasParallax = $firstRow.hasClass('et_pb_section_parallax'); 4290 var firstModuleHasParallax = $firstModule.hasClass('et_pb_section_parallax'); 4291 4292 if (firstSectionHasParallax || firstRowHasParallax || firstModuleHasParallax) { 4293 $(window).trigger('resize.etTrueParallaxBackground'); 4294 } 4295 } else if (et_is_fixed_nav) { 4296 $main_container_wrapper.css('paddingTop', header_height); 4297 } 4298 4299 $mainHeaderClone.remove(); 4300 et_change_primary_nav_position(0); 4301 $(document).trigger('et-pb-header-height-calculated'); 4302 } 4303 4304 window.et_fix_page_container_position = et_fix_page_container_position; // Save container width on page load for reference 4305 4306 $et_container.data('previous-width', parseInt($et_container.width())); 4307 var update_page_container_position = et_debounce(function () { 4308 et_fix_page_container_position(); 4309 4310 if (typeof et_fix_fullscreen_section === 'function') { 4311 et_fix_fullscreen_section(); 4312 } 4313 }, 200); 4314 $(window).resize(function () { 4315 var window_width = parseInt($et_window.width()), 4316 has_container = $et_container.length > 0, 4317 et_container_previous_width = !has_container ? 0 : parseInt($et_container.data('previous-width')) || 0, 4318 et_container_css_width = $et_container.css('width'), 4319 et_container_width_in_pixel = typeof et_container_css_width !== 'undefined' ? et_container_css_width.substr(-1, 1) !== '%' : '', 4320 et_container_actual_width = !has_container ? 0 : et_container_width_in_pixel ? parseInt($et_container.width()) : parseInt((parseInt($et_container.width()) / 100).toFixed(0)) * window_width, 4321 // $et_container.width() doesn't recognize pixel or percentage unit. It's our duty to understand what it returns and convert it properly 4322 containerWidthChanged = $et_container.length && et_container_previous_width !== et_container_actual_width, 4323 $slide_menu_container = $('.et_slide_in_menu_container'), 4324 $adminbar = builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"] ? top_window.jQuery('#wpadminbar') : $('#wpadminbar'), 4325 is_rtl = $('body').hasClass('rtl'), 4326 page_container_margin; 4327 4328 if (et_is_fixed_nav && containerWidthChanged) { 4329 update_page_container_position(); // Update container width data for future resizing reference 4330 4331 $et_container.data('previous-width', et_container_actual_width); 4332 } 4333 4334 if (et_hide_nav) { 4335 et_hide_nav_transform(); 4336 } // Update header and primary adjustment when transitioning across breakpoints or inside visual builder 4337 4338 4339 if ($adminbar.length && et_is_fixed_nav && window_width >= 740 && window_width <= 782 || builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"]) { 4340 et_calculate_header_values(); 4341 et_change_primary_nav_position(0); 4342 } 4343 4344 et_set_search_form_css(); 4345 4346 if ($slide_menu_container.length && !$('body').hasClass('et_pb_slide_menu_active')) { 4347 if (is_rtl) { 4348 $slide_menu_container.css({ 4349 left: '-' + parseInt($slide_menu_container.innerWidth()) + 'px', 4350 right: 'unset' 4351 }); 4352 } else { 4353 $slide_menu_container.css({ 4354 right: '-' + parseInt($slide_menu_container.innerWidth()) + 'px' 4355 }); 4356 } 4357 4358 if ($('body').hasClass('et_boxed_layout') && et_is_fixed_nav) { 4359 if (is_rtl) { 4360 page_container_margin = $main_container_wrapper.css('margin-right'); 4361 $main_header.css({ 4362 right: page_container_margin 4363 }); 4364 } else { 4365 page_container_margin = $main_container_wrapper.css('margin-left'); 4366 $main_header.css({ 4367 left: page_container_margin 4368 }); 4369 } 4370 } 4371 } 4372 4373 if ($slide_menu_container.length && $('body').hasClass('et_pb_slide_menu_active')) { 4374 if ($('body').hasClass('et_boxed_layout')) { 4375 var left_position; 4376 page_container_margin = parseFloat($main_container_wrapper.css('margin-left')); 4377 $main_container_wrapper.css({ 4378 left: '-' + (parseInt($slide_menu_container.innerWidth()) - page_container_margin) + 'px' 4379 }); 4380 4381 if (et_is_fixed_nav) { 4382 left_position = 0 > parseInt($slide_menu_container.innerWidth()) - page_container_margin * 2 ? Math.abs($slide_menu_container.innerWidth() - page_container_margin * 2) : '-' + ($slide_menu_container.innerWidth() - page_container_margin * 2); 4383 4384 if (left_position < parseInt($slide_menu_container.innerWidth())) { 4385 $main_header.css({ 4386 left: left_position + 'px' 4387 }); 4388 } 4389 } 4390 } else { 4391 if (is_rtl) { 4392 $('#page-container, .et_fixed_nav #main-header').css({ 4393 right: '-' + parseInt($slide_menu_container.innerWidth()) + 'px' 4394 }); 4395 } else { 4396 $('#page-container, .et_fixed_nav #main-header').css({ 4397 left: '-' + parseInt($slide_menu_container.innerWidth()) + 'px' 4398 }); 4399 } 4400 } 4401 } // adjust the padding in fullscreen menu 4402 4403 4404 if ($slide_menu_container.length && $('body').hasClass('et_header_style_fullscreen')) { 4405 var top_bar_height = parseInt($slide_menu_container.find('.et_slide_menu_top').innerHeight()); 4406 $slide_menu_container.css({ 4407 'padding-top': top_bar_height + 20 4408 }); 4409 } 4410
4411 et_set_right_vertical_menu(); 4412 }); 4413 4414 if (builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"] && jQuery('.et_header_style_fullscreen .et_slide_in_menu_container').length > 0) { 4415 jQuery(window).resize(et_pb_resize_fullscreen_menu); 4416 } 4417 4418 $(window).ready(function () { 4419 if ($.fn.fitVids) { 4420 $('#main-content').fitVids({ 4421 customSelector: "iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']" 4422 }); 4423 } 4424 }); 4425 4426 function et_all_elements_loaded() { 4427 if (et_is_fixed_nav) { 4428 et_calculate_header_values(); 4429 } // Run container position calculation with 0 timeout to make sure all elements are ready for proper calculation. 4430 4431 4432 setTimeout(function () { 4433 et_fix_page_container_position(); 4434 }, 0); // Minified JS is ordered differently to avoid jquery-migrate to cause js error. 4435 // This might cause hiccup on some specific configuration (ie. parallax of first module on transparent nav) 4436 // Triggerring resize, in most case, re-calculate the UI correctly 4437 4438 if (window.et_is_minified_js && window.et_is_transparent_nav && !window.et_is_vertical_nav) { 4439 $(window).trigger('resize'); 4440 } 4441 4442 if (window.hasOwnProperty('et_location_hash') && '' !== window.et_location_hash) { 4443 // Handle the page scroll that we prevented earlier in the <head> 4444 et_page_load_scroll_to_anchor(); 4445 } 4446 4447 if (et_header_style_left && !window.et_is_vertical_nav) { 4448 var $logo_width = parseInt($('#logo').width()); 4449 4450 if (et_is_rtl) { 4451 $et_top_navigation.css('padding-right', $logo_width + 30); 4452 } else { 4453 $et_top_navigation.css('padding-left', $logo_width + 30); 4454 } 4455 } 4456 4457 if ($('p.demo_store').length && $('p.demo_store').is(':visible')) { 4458 $('#footer-bottom').css('margin-bottom', $('p.demo_store').innerHeight()); 4459 $('.woocommerce-store-notice__dismiss-link').click(function () { 4460 $('#footer-bottom').css('margin-bottom', ''); 4461 }); 4462 } 4463 4464 if ($.fn.waypoint) { 4465 var $waypoint_selector; 4466 4467 if (et_is_vertical_fixed_nav) { 4468 $waypoint_selector = $('#main-content'); 4469 $waypoint_selector.waypoint({ 4470 handler: function handler(direction) { 4471 et_fix_logo_transition(); 4472 4473 if (direction === 'down') { 4474 $('#main-header').addClass('et-fixed-header'); 4475 } else { 4476 $('#main-header').removeClass('et-fixed-header'); 4477 } 4478 } 4479 }); 4480 } 4481 4482 if (et_is_fixed_nav) { 4483 // Changing waypoint selector to first section's row / module when transparent 4484 // nav is used only valid if the first section position is on offset top = 0 4485 // (or 32 when admin bar exist) to avoid `et-fixed-nav` classname being added 4486 // too late when the window is scrolled too way down 4487 var firstRowOffsetTop = $et_pb_first_row.length > 0 ? $et_pb_first_row.offset().top : 0; 4488 var maxFirstRowOffsetTop = $('#wpadminbar').length ? $('#wpadminbar').height() : 0; 4489 var isFirstRowOnTop = firstRowOffsetTop <= maxFirstRowOffsetTop; 4490 4491 if (isFirstRowOnTop && window.et_is_transparent_nav && !window.et_is_vertical_nav && $et_pb_first_row.length) { 4492 // Fullscreen section at the first row requires specific adjustment 4493 if ($et_pb_first_row.is('.et_pb_fullwidth_section')) { 4494 $waypoint_selector = $et_pb_first_row.children('.et_pb_module:visible:first'); 4495 } else { 4496 $waypoint_selector = $et_pb_first_row.find('.et_pb_row:visible:first'); 4497 } // Fallback for a less likely but possible scenario: a) fullwidth section 4498 // has no module OR b) other section has no row. When this happened, 4499 // the safest option is look for the first visible module and use it 4500 // as waypoint selector 4501 4502
4503 if (!$waypoint_selector.length) { 4504 $waypoint_selector = et_get_first_module(); 4505 } 4506 } else if (isFirstRowOnTop && window.et_is_transparent_nav && !window.et_is_vertical_nav && $et_main_content_first_row.length) { 4507 $waypoint_selector = $('#content-area'); 4508 } else { 4509 $waypoint_selector = $('#main-content'); 4510 } // Disabled section/row/module can cause waypoint to trigger 'down' event during its setup even if 4511 // no scrolling happened, which would result in 'et-fixed-header' class being prematurely added. 4512 // Since this only happens when page is loaded, we add an extra check that is no longer needed 4513 // as soon as waypoint initialization is finished. 4514 4515 4516 var checkIfScrolled = true; 4517 setTimeout(function () { 4518 checkIfScrolled = false; 4519 }, 0); 4520 $waypoint_selector.waypoint({ 4521 offset: function offset() { 4522 if (etRecalculateOffset) { 4523 setTimeout(function () { 4524 et_calculate_header_values(); 4525 }, 200); 4526 etRecalculateOffset = false; 4527 } 4528 4529 if (et_hide_nav) { 4530 return et_header_offset - et_header_height - 200; 4531 } else { 4532 // Transparent nav modification: #page-container's offset is set to 0. Modify et_header_offset's according to header height 4533 var waypoint_selector_offset = $waypoint_selector.offset(); 4534 4535 if (waypoint_selector_offset.top < et_header_offset) { 4536 et_header_offset = 0 - (et_header_offset - waypoint_selector_offset.top); 4537 } 4538 4539 return et_header_offset; 4540 } 4541 }, 4542 handler: function handler(direction) { 4543 et_fix_logo_transition(); 4544 4545 if (direction === 'down') { 4546 if (checkIfScrolled && $et_window.scrollTop() === 0) { 4547 return; 4548 } 4549 4550 $main_header.addClass('et-fixed-header'); 4551 $main_container_wrapper.addClass('et-animated-content'); 4552 $top_header.addClass('et-fixed-header'); 4553 4554 if (!et_hide_nav && !window.et_is_transparent_nav && !$('.mobile_menu_bar_toggle').is(':visible')) { 4555 var secondary_nav_height = $top_header.length ? parseInt($top_header.height()) : 0, 4556 $clone_header, 4557 clone_header_height, 4558 fix_padding; 4559 $clone_header = $main_header.clone().addClass('et-fixed-header, et_header_clone').css({ 4560 'transition': 'none', 4561 'display': 'none' 4562 }); 4563 clone_header_height = parseInt($clone_header.prependTo('body').height()); // Vertical nav doesn't need #page-container margin-top adjustment 4564 4565 if (!window.et_is_vertical_nav) { 4566 fix_padding = parseInt($main_container_wrapper.css('padding-top')) - clone_header_height - secondary_nav_height + 1; 4567 $main_container_wrapper.css('margin-top', -fix_padding); 4568 } 4569 4570 $('.et_header_clone').remove(); 4571 } 4572 } else { 4573 fix_padding = 1; 4574 $main_header.removeClass('et-fixed-header'); 4575 $top_header.removeClass('et-fixed-header'); 4576 $main_container_wrapper.css('margin-top', -fix_padding); 4577 } // Dispatch event when fixed header height transition starts 4578 4579 4580 window.dispatchEvent(new CustomEvent('ETDiviFixedHeaderTransitionStart', { 4581 detail: { 4582 marginTop: -fix_padding 4583 } 4584 })); 4585 setTimeout(function () { 4586 et_set_search_form_css(); // Dispatch another event when fixed header height transition ends 4587 4588 window.dispatchEvent(new CustomEvent('ETDiviFixedHeaderTransitionEnd', { 4589 detail: { 4590 marginTop: -fix_padding 4591 } 4592 })); 4593 }, 400); 4594 } 4595 }); 4596 } 4597 4598 if (et_hide_nav) { 4599 et_hide_nav_transform(); 4600 } 4601 } 4602 } 4603 4604 $('a[href*="#"]:not([href="#"]), .mobile_nav').on('click', function (e) { 4605 var $this_link = $(this), 4606 has_closest_smooth_scroll_disabled = $this_link.closest('.et_smooth_scroll_disabled').length, 4607 has_closest_woocommerce_tabs = $this_link.closest('.woocommerce-tabs').length && $this_link.closest('.tabs').length, 4608 has_closest_timetable_tab = $this_link.closest('.tt_tabs_navigation').length, 4609 has_closest_eab_cal_link = $this_link.closest('.eab-shortcode_calendar-navigation-link').length, 4610 has_closest_ee_cart_link = $this_link.closest('.view-cart-lnk').length, 4611 has_acomment_reply = $this_link.hasClass('acomment-reply'), 4612 is_woocommerce_review_link = $this_link.hasClass('woocommerce-review-link'), 4613 disable_scroll = has_closest_smooth_scroll_disabled || has_closest_ee_cart_link || has_closest_woocommerce_tabs || has_closest_eab_cal_link || has_acomment_reply || is_woocommerce_review_link || has_closest_timetable_tab; 4614
4615 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname && !disable_scroll) { 4616 var target = $(this.hash); // Workaround for empty target in mobile menu. 4617 4618 if ($this_link.hasClass('mobile_nav')) { 4619 target = $('#' + e.target.hash.slice(1)); 4620 } 4621 4622 target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 4623 4624 if (target.length) { 4625 // Workaround for reviews tab in woo tabs. 4626 if ($(this).parents().hasClass('widget_recent_reviews')) { 4627 $('.reviews_tab').click().animate({ 4628 scrollTop: target.offset().top 4629 }, 700); 4630 } // automatically close fullscreen menu if clicked from there 4631 4632 4633 if ($this_link.closest('.et_pb_fullscreen_menu_opened').length > 0) { 4634 et_pb_toggle_fullscreen_menu(); 4635 } 4636 4637 setTimeout(function () { 4638 et_pb_smooth_scroll(target, false, 800); 4639 }, 0); 4640 4641 if (!$('#main-header').hasClass('et-fixed-header') && $('body').hasClass('et_fixed_nav') && $(window).width() > 980) { 4642 setTimeout(function () { 4643 et_pb_smooth_scroll(target, false, 40, 'linear'); 4644 }, 780); 4645 } 4646 4647 return false; 4648 } 4649 } 4650 }); // Marking elements which has attached event already 4651 4652 $('a[href*="#"]:not([href="#"])').each(function (index, element) { 4653 $(element).attr('data-et-has-event-already', 'true'); 4654 }); 4655 4656 var et_pb_window_side_nav_get_sections = function et_pb_window_side_nav_get_sections() { 4657 var $postRoot = $('.et-l--post'); 4658 var $inTBBody = $('.et-l--body .et_pb_section').not('.et-l--post .et_pb_section'); 4659 var $inPost; 4660 4661 if (builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"]) { 4662 $inPost = $postRoot.find('.et-fb-post-content > .et_pb_section'); 4663 } else { 4664 $inPost = $postRoot.find('.et_builder_inner_content > .et_pb_section'); 4665 } 4666 4667 if (0 === $inTBBody.length || $inPost.length > 1) { 4668 return $inPost; 4669 } 4670 4671 return $inTBBody; 4672 }; 4673 4674 window.et_pb_window_side_nav_scroll_init = function () { 4675 if (true === window.et_calculating_scroll_position || false === window.et_side_nav_links_initialized) { 4676 return; 4677 } 4678 4679 var $sections = et_pb_window_side_nav_get_sections(); 4680 window.et_calculating_scroll_position = true; 4681 var is_tb_layout_used = $('.et-l--header').length || $('.et-l--body').length || !$('#main-header').length; 4682 var add_offset_default = is_tb_layout_used ? 0 : -90; 4683 var add_offset = $('body').hasClass('et_fixed_nav') ? 20 : add_offset_default; 4684 var top_header_height = $('#top-header').length > 0 ? parseInt($('#top-header').height()) : 0; 4685 var main_header_height = $('#main-header').length > 0 ? parseInt($('#main-header').height()) : 0; 4686 var side_offset; 4687 4688 if ($('#wpadminbar').length > 0 && parseInt($(window).width()) > 600) { 4689 add_offset += parseInt($('#wpadminbar').outerHeight()); 4690 } 4691 4692 if (window.et_is_vertical_nav) { 4693 side_offset = top_header_height + add_offset + 60; 4694 } else { 4695 side_offset = top_header_height + main_header_height + add_offset; 4696 } 4697 4698 var window_height = parseInt($(window).height()); 4699 var scroll_position = parseInt($(window).scrollTop()); 4700 var document_height = parseInt($(document).height()); 4701 var at_bottom_of_page = window_height + scroll_position === document_height; 4702 var total_links = $('.side_nav_item a').length - 1; 4703 4704 for (var link = 0; link <= total_links; link++) { 4705 var $target_section = $sections.eq(link); 4706 var at_top_of_page = 'undefined' === typeof $target_section.offset(); 4707 var current_active = $('.side_nav_item a.active').parent().index(); 4708 var next_active = null; 4709 var target_offset = false === at_top_of_page ? $target_section.offset().top - side_offset : 0; 4710 4711 if (at_top_of_page) { 4712 next_active = 0; 4713 } else if (at_bottom_of_page) { 4714 next_active = total_links; 4715 } else if (scroll_position >= target_offset) { 4716 next_active = link; 4717 } 4718 4719 if (null !== next_active && next_active !== current_active) { 4720 $('.side_nav_item a').removeClass('active'); 4721 $('a#side_nav_item_id_' + next_active).addClass('active'); 4722 } 4723 } 4724 4725 window.et_calculating_scroll_position = false;
4726 }; 4727 4728 window.et_pb_side_nav_page_init = function () { 4729 var $sections = et_pb_window_side_nav_get_sections(); 4730 var total_sections = $sections.length; 4731 var side_nav_offset = parseInt((total_sections * 20 + 40) / 2); 4732 window.et_side_nav_links_initialized = false; 4733 window.et_calculating_scroll_position = false; 4734 4735 if (total_sections > 1 && $('.et_pb_side_nav_page').length) { 4736 $('#main-content').append('<ul class="et_pb_side_nav"></ul>'); 4737 $sections.each(function (index, element) { 4738 var active_class = 0 === index ? 'active' : ''; 4739 $('.et_pb_side_nav').append('<li class="side_nav_item"><a href="#" id="side_nav_item_id_' + index + '" class= "' + active_class + '">' + index + '</a></li>'); 4740 4741 if (total_sections - 1 === index) { 4742 window.et_side_nav_links_initialized = true; 4743 } 4744 }); 4745 $('ul.et_pb_side_nav').css('marginTop', '-' + side_nav_offset + 'px'); 4746 $('.et_pb_side_nav').addClass('et-visible'); 4747 $('.et_pb_side_nav a').click(function () { 4748 // We use the index position of the sections to locate them instead of custom classes so 4749 // that we have the same implementation for the frontend website and the Visual Builder. 4750 var index = parseInt($(this).text()); 4751 var $target = $sections.eq(index); 4752 var top_section = $(this).text() == "0" && !$('.et-l--body').length; 4753 et_pb_smooth_scroll($target, top_section, 800); 4754 4755 if (!$('#main-header').hasClass('et-fixed-header') && $('body').hasClass('et_fixed_nav') && parseInt($(window).width()) > 980) { 4756 setTimeout(function () { 4757 et_pb_smooth_scroll($target, top_section, 200); 4758 }, 500); 4759 } 4760 4761 return false; 4762 }); 4763 $(window).on('scroll', et_pb_window_side_nav_scroll_init); 4764 } 4765 }; 4766 4767 if ($('body').is('.et-fb, .et-bfb')) { 4768 // Debounce slow function 4769 window.et_pb_side_nav_page_init = et_debounce(window.et_pb_side_nav_page_init, 200); 4770 } 4771 4772 et_pb_side_nav_page_init(); 4773 4774 if ($('.et_pb_scroll_top').length) { 4775 $(window).scroll(function () { 4776 if ($(this).scrollTop() > 800) { 4777 $('.et_pb_scroll_top').show().removeClass('et-hidden').addClass('et-visible'); 4778 } else { 4779 $('.et_pb_scroll_top').removeClass('et-visible').addClass('et-hidden'); 4780 } 4781 }); //Click event to scroll to top 4782 4783 $('.et_pb_scroll_top').click(function () { 4784 $('html, body').animate({ 4785 scrollTop: 0 4786 }, 800); 4787 }); 4788 } 4789 4790 if ($('.comment-reply-link').length) { 4791 $('.comment-reply-link').addClass('et_pb_button'); 4792 } 4793 4794 $('#et_top_search').click(function () { 4795 var $search_container = $('.et_search_form_container'); 4796 4797 if ($search_container.hasClass('et_pb_is_animating')) { 4798 return; 4799 } 4800 4801 $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); 4802 $search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); 4803 setTimeout(function () { 4804 $('.et_menu_container').addClass('et_pb_no_animation'); 4805 $search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); 4806 }, 1000); 4807 $search_container.find('input').focus(); 4808 et_set_search_form_css(); 4809 }); 4810 4811 function et_hide_search() { 4812 if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { 4813 return; 4814 } 4815 4816 $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); 4817 $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); 4818 setTimeout(function () { 4819 $('.et_menu_container').addClass('et_pb_no_animation'); 4820 $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); 4821 }, 1000); 4822 } 4823 4824 function et_set_search_form_css() { 4825 var $search_container = $('.et_search_form_container'); 4826 var $body = $('body'); 4827 4828 if ($search_container.hasClass('et_pb_search_visible')) { 4829 var header_height = $('#main-header').innerHeight(), 4830 menu_width = $('#top-menu').width(), 4831 font_size = $('#top-menu li a').css('font-size'); 4832 $search_container.css({ 4833 'height': header_height + 'px' 4834 }); 4835 $search_container.find('input').css('font-size', font_size); 4836 4837 if (!$body.hasClass('et_header_style_left')) { 4838 $search_container.css('max-width', menu_width + 60); 4839 } else { 4840 $search_container.find('form').css('max-width', menu_width + 60); 4841 } 4842 } 4843 } 4844 4845 $('.et_close_search_field').click(function () { 4846 et_hide_search(); 4847 }); 4848 $(document).mouseup(function (e) { 4849 var $header = $('#main-header'); 4850 4851 if ($('.et_menu_container').hasClass('et_pb_menu_hidden')) { 4852 if (!$header.is(e.target) && $header.has(e.target).length === 0) { 4853 et_hide_search(); 4854 } 4855 } 4856 }); // Detect actual logo dimension, used for tricky fixed navigation transition 4857 4858 function et_define_logo_dimension() { 4859 var $logo = $('#logo'), 4860 logo_src = $logo.attr('src'), 4861 is_svg = logo_src.substr(-3, 3) === 'svg' ? true : false, 4862 $logo_wrap, 4863 logo_width, 4864 logo_height; // Append invisible wrapper at the bottom of the page 4865 4866 $('body').append($('<div />', { 4867 'id': 'et-define-logo-wrap', 4868 'style': 'position: fixed; bottom: 0; opacity: 0;' 4869 })); // Define logo wrap 4870 4871 $logo_wrap = $('#et-define-logo-wrap'); 4872 4873 if (is_svg) { 4874 $logo_wrap.addClass('svg-logo'); 4875 } // Clone logo to invisible wrapper 4876 4877 4878 $logo_wrap.html($logo.clone().css({ 4879 'display': 'block' 4880 }).removeAttr('id')); // Get dimension 4881 4882 logo_width = $logo_wrap.find('img').width(); 4883 logo_height = $logo_wrap.find('img').height(); // Add data attribute to $logo 4884 4885 $logo.attr({ 4886 'data-actual-width': logo_width, 4887 'data-actual-height': logo_height 4888 }); // Destroy invisible wrapper 4889 4890 $logo_wrap.remove(); // Init logo transition onload 4891 4892 et_fix_logo_transition(true); 4893 } 4894 4895 if ($('#logo').length) { 4896 // Wait until logo is loaded before performing logo dimension fix 4897 // This comes handy when the page is heavy due to the use of images or other assets 4898 et_preload_image($('#logo').attr('src'), et_define_logo_dimension); 4899 } // Set width for adsense in footer widget 4900 4901 4902 $('.footer-widget').each(function () { 4903 var $footer_widget = $(this), 4904 footer_widget_width = $footer_widget.width(), 4905 $adsense_ins = $footer_widget.find('.widget_adsensewidget ins'); 4906 4907 if ($adsense_ins.length) { 4908 $adsense_ins.width(footer_widget_width); 4909 } 4910 }); 4911 /** 4912 * Visual Builder adjustment 4913 */ 4914 4915 function et_fb_side_nav_page_init() { 4916 $(window).off('scroll', window.et_pb_window_side_nav_scroll_init); 4917 $('#main-content .et_pb_side_nav').off('click', '.et_pb_side_nav a'); 4918 $('#main-content .et_pb_side_nav').remove(); 4919 et_pb_side_nav_page_init(); 4920 } 4921 4922 if ($('body').is('.et-fb')) { 4923 $(window).on('et_fb_root_did_mount', function () { 4924 et_fb_side_nav_page_init(); 4925 et_all_elements_loaded(); 4926 }); 4927 $(window).on('et_fb_section_content_change', et_fb_side_nav_page_init); 4928 } else { 4929 window.addEventListener('load', et_all_elements_loaded); 4930 } 4931 }); // Fixing logo size transition in tricky header style 4932 4933 function et_fix_logo_transition(is_onload) { 4934 var $body = $('body'), 4935 $logo = $('#logo'), 4936 logo_actual_width = parseInt($logo.attr('data-actual-width')), 4937 logo_actual_height = parseInt($logo.attr('data-actual-height')), 4938 logo_height_percentage = parseInt($logo.attr('data-height-percentage')), 4939 $top_nav = $('#et-top-navigation'), 4940 top_nav_height = parseInt($top_nav.attr('data-height')), 4941 top_nav_fixed_height = parseInt($top_nav.attr('data-fixed-height')), 4942 $main_header = $('#main-header'), 4943 is_header_split = $body.hasClass('et_header_style_split'), 4944 is_fixed_nav = $main_header.hasClass('et-fixed-header'), 4945 is_hide_primary_logo = $body.hasClass('et_hide_primary_logo'), 4946 is_hide_fixed_logo = $body.hasClass('et_hide_fixed_logo'), 4947 logo_height_base = is_fixed_nav ? top_nav_height : top_nav_fixed_height, 4948 logo_wrapper_width, 4949 logo_wrapper_height; 4950 is_onload = typeof is_onload === 'undefined' ? false : is_onload; // Fix for inline centered logo in horizontal nav 4951 4952 if (is_header_split && !window.et_is_vertical_nav) { 4953 // On page load, logo_height_base should be top_nav_height 4954 if (is_onload) { 4955 logo_height_base = top_nav_height; 4956 } // Calculate logo wrapper height 4957 4958 4959 logo_wrapper_height = logo_height_base * (logo_height_percentage / 100) + 22; // Calculate logo wrapper width 4960 4961 logo_wrapper_width = logo_actual_width * (logo_wrapper_height / logo_actual_height); // Override logo wrapper width to 0 if it is hidden 4962 4963 if (is_hide_primary_logo && (is_fixed_nav || is_onload)) { 4964 logo_wrapper_width = 0; 4965 } 4966 4967 if (is_hide_fixed_logo && !is_fixed_nav && !is_onload) { 4968 logo_wrapper_width = 0; 4969 }
4969 // Set fixed width for logo wrapper to force correct dimension 4970 4971 4972 $('.et_header_style_split .centered-inline-logo-wrap').css({ 4973 'width': logo_wrapper_width 4974 }); 4975 } 4976 } 4977 4978 function et_toggle_slide_menu(force_state) { 4979 var $slide_menu_container = $('.et_header_style_slide .et_slide_in_menu_container'), 4980 $page_container = $('.et_header_style_slide #page-container, .et_header_style_slide.et_fixed_nav #main-header'), 4981 $header_container = $('.et_header_style_slide #main-header'), 4982 is_menu_opened = $slide_menu_container.hasClass('et_pb_slide_menu_opened'), 4983 set_to = typeof force_state !== 'undefined' ? force_state : 'auto', 4984 is_boxed_layout = $('body').hasClass('et_boxed_layout'), 4985 page_container_margin = is_boxed_layout ? parseFloat($('#page-container').css('margin-left')) : 0, 4986 slide_container_width = $slide_menu_container.innerWidth(), 4987 is_rtl = $('body').hasClass('rtl'); 4988 4989 if ('auto' !== set_to && (is_menu_opened && 'open' === set_to || !is_menu_opened && 'close' === set_to)) { 4990 return; 4991 } 4992 4993 if (is_menu_opened) { 4994 if (is_rtl) { 4995 $slide_menu_container.css({ 4996 left: '-' + slide_container_width + 'px' 4997 }); 4998 $page_container.css({ 4999 right: '0' 5000 }); 5001 } else { 5002 $slide_menu_container.css({ 5003 right: '-' + slide_container_width + 'px' 5004 }); 5005 $page_container.css({ 5006 left: '0' 5007 }); 5008 } 5009 5010 if (is_boxed_layout && et_is_fixed_nav) { 5011 if (is_rtl) { 5012 $header_container.css({ 5013 right: page_container_margin + 'px' 5014 }); 5015 } else { 5016 $header_container.css({ 5017 left: page_container_margin + 'px' 5018 }); 5019 } 5020 } // hide the menu after animation completed 5021 5022 5023 setTimeout(function () { 5024 $slide_menu_container.css({ 5025 'display': 'none' 5026 }); 5027 }, 700); 5028 } else { 5029 $slide_menu_container.css({ 5030 'display': 'block' 5031 }); // add some delay to make sure css animation applied correctly 5032 5033 setTimeout(function () { 5034 if (is_rtl) { 5035 $slide_menu_container.css({ 5036 left: '0' 5037 }); 5038 $page_container.css({ 5039 right: '-' + (slide_container_width - page_container_margin) + 'px' 5040 }); 5041 } else { 5042 $slide_menu_container.css({ 5043 right: '0' 5044 }); 5045 $page_container.css({ 5046 left: '-' + (slide_container_width - page_container_margin) + 'px' 5047 }); 5048 } 5049 5050 if (is_boxed_layout && et_is_fixed_nav) { 5051 var left_position = 0 > slide_container_width - page_container_margin * 2 ? Math.abs(slide_container_width - page_container_margin * 2) : '-' + (slide_container_width - page_container_margin * 2); 5052 5053 if (left_position < slide_container_width) { 5054 if (is_rtl) { 5055 $header_container.css({ 5056 right: left_position + 'px' 5057 }); 5058 } else { 5059 $header_container.css({ 5060 left: left_position + 'px' 5061 }); 5062 } 5063 } 5064 } 5065 }, 50); 5066 } 5067 5068 $('body').toggleClass('et_pb_slide_menu_active'); 5069 $slide_menu_container.toggleClass('et_pb_slide_menu_opened'); 5070 } // Scrolling to the correct place on page if Fixed Nav enabled 5071 5072 5073 function et_adjust_woocommerce_checkout_scroll() { 5074 if (!et_is_fixed_nav) { 5075 return; 5076 } 5077 5078 var window_width = parseInt($et_window.width()); 5079 5080 if (980 >= window_width) { 5081 return; 5082 } 5083 5084 var headerHeight = parseInt($('#main-header').innerHeight()); // scroll to the top of checkout form taking into account fixed header height 5085 5086 $('html, body').animate({ 5087 scrollTop: $('form.checkout').offset().top - 100 - headerHeight 5088 }, 1000); 5089 } 5090 5091 $('#main-header').on('click', '.et_toggle_slide_menu', function () { 5092 et_toggle_slide_menu(); 5093 }); 5094 5095 if (et_is_touch_device) { 5096 // open slide menu on swipe left 5097 $et_window.on('swipeleft', function (event) { 5098 var window_width = parseInt($et_window.width()),
5099 swipe_start = parseInt(event.swipestart.coords[0]); // horizontal coordinates of the swipe start 5100 // if swipe started from the right edge of screen then open slide menu 5101 5102 if (30 >= window_width - swipe_start) { 5103 et_toggle_slide_menu('open'); 5104 } 5105 }); // close slide menu on swipe right 5106 5107 $et_window.on('swiperight', function (event) { 5108 if ($('body').hasClass('et_pb_slide_menu_active')) { 5109 et_toggle_slide_menu('close'); 5110 } 5111 }); 5112 } 5113 5114 $('#page-container').on('click', '.et_toggle_fullscreen_menu', function () { 5115 et_pb_toggle_fullscreen_menu(); 5116 }); 5117 5118 function et_pb_toggle_fullscreen_menu() { 5119 var $menu_container = $('.et_header_style_fullscreen .et_slide_in_menu_container'), 5120 top_bar_height = $menu_container.find('.et_slide_menu_top').innerHeight(); 5121 $menu_container.toggleClass('et_pb_fullscreen_menu_opened'); 5122 $('body').toggleClass('et_pb_fullscreen_menu_active'); 5123 et_pb_resize_fullscreen_menu(); 5124 5125 if ($menu_container.hasClass('et_pb_fullscreen_menu_opened')) { 5126 $menu_container.addClass('et_pb_fullscreen_menu_animated'); // adjust the padding in fullscreen menu 5127 5128 $menu_container.css({ 5129 'padding-top': top_bar_height + 20 5130 }); 5131 } else { 5132 setTimeout(function () { 5133 $menu_container.removeClass('et_pb_fullscreen_menu_animated'); 5134 }, 1000); 5135 } 5136 } 5137 5138 function et_pb_resize_fullscreen_menu(e) { 5139 if (builder_scripts_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isBuilder"]) { 5140 var $menu = jQuery('.et_header_style_fullscreen .et_slide_in_menu_container.et_pb_fullscreen_menu_opened'); 5141 5142 if ($menu.length > 0) { 5143 var height = jQuery(top_window).height(); // Account for padding 5144 5145 height -= parseInt($menu.css('padding-top'), 10); // and AdminBar 5146 5147 if ($menu.closest('.admin-bar').length > 0) { 5148 height -= 32; 5149 } 5150 5151 $menu.find('.et_pb_fullscreen_nav_container').css('max-height', height); 5152 } 5153 } 5154 } 5155 5156 $(window).unload(function () { 5157 /** 5158 * Fix the issue with Fullscreen menu, that remains open, 5159 * when back button is clicked in Firefox 5160 */ 5161 if ($('body').hasClass('et_pb_fullscreen_menu_active')) { 5162 $('.et_toggle_fullscreen_menu').trigger('click'); 5163 } 5164 }); 5165 $('.et_pb_fullscreen_nav_container').on('click', 'li.menu-item-has-children > a', function () { 5166 var $this_parent = $(this).closest('li'), 5167 $this_arrow = $this_parent.find('>a .et_mobile_menu_arrow'), 5168 $closest_submenu = $this_parent.find('>ul'), 5169 is_opened_submenu = $this_arrow.hasClass('et_pb_submenu_opened'), 5170 sub_menu_max_height; 5171 $this_arrow.toggleClass('et_pb_submenu_opened'); 5172 5173 if (is_opened_submenu) { 5174 $closest_submenu.removeClass('et_pb_slide_dropdown_opened'); 5175 $closest_submenu.slideToggle(700, 'easeInOutCubic'); 5176 } else { 5177 $closest_submenu.slideToggle(700, 'easeInOutCubic'); 5178 $closest_submenu.addClass('et_pb_slide_dropdown_opened'); 5179 } 5180 5181 return false; 5182 }); // define initial padding-top for fullscreen menu container 5183 5184 if ($('body').hasClass('et_header_style_fullscreen')) { 5185 var $menu_container = $('.et_header_style_fullscreen .et_slide_in_menu_container'); 5186 5187 if ($menu_container.length) { 5188 var top_bar_height = $menu_container.find('.et_slide_menu_top').innerHeight(); 5189 $menu_container.css({ 5190 'padding-top': top_bar_height + 20 5191 }); 5192 } 5193 } // adjust the scrolling position on Woocommerce checkout page in case of error 5194 5195 5196 $(document.body).on('checkout_error', function () { 5197 et_adjust_woocommerce_checkout_scroll(); 5198 }); 5199 $(document.body).on('updated_checkout', function (data) { 5200 if ('failure' !== data.result) { 5201 return; 5202 } 5203 5204 et_adjust_woocommerce_checkout_scroll(); 5205 }); // Override row selector in VB 5206 5207 $et_window.on('et_fb_init', function () { 5208 var wp = top_window.wp; 5209 5210 if (wp && wp.hooks && wp.hooks.addFilter) { 5211 var replacement = window.DIVI.row_selector; 5212 wp.hooks.addFilter('et.pb.row.css.selector', 'divi.et.pb.row.css.selector', function (selector) { 5213 return selector.replace('%%row_selector%%', replacement); 5214 }); 5215 } 5216 }); 5217})(jQuery); 5218 5219/***/ }), 5220
vendor: 724 bytes, lines 5221-5251
5221/***/ "./node_modules/webpack/buildin/global.js": 5222/*!***********************************!*\ 5223 !*** (webpack)/buildin/global.js ***! 5224 \***********************************/ 5225/*! no static exports found */ 5226/***/ (function(module, exports) { 5227 5228var g; 5229 5230// This works in non-strict mode 5231g = (function() { 5232 return this; 5233})(); 5234 5235try { 5236 // This works if eval is allowed (see CSP) 5237 g = g || new Function("return this")(); 5238} catch (e) { 5239 // This works if the window reference is available 5240 if (typeof window === "object") g = window; 5241} 5242 5243// g can still be undefined, but nothing to do about it... 5244// We return undefined, instead of nothing here, so it's 5245// easier to handle this case. if(!global) { ...} 5246 5247module.exports = g; 5248 5249 5250/***/ }), 5251
vendor: 746 bytes, lines 5252-5283
5252/***/ "./node_modules/webpack/buildin/module.js": 5253/*!***********************************!*\ 5254 !*** (webpack)/buildin/module.js ***! 5255 \***********************************/ 5256/*! no static exports found */ 5257/***/ (function(module, exports) { 5258 5259module.exports = function(module) { 5260 if (!module.webpackPolyfill) { 5261 module.deprecate = function() {}; 5262 module.paths = []; 5263 // module.parent = undefined by default 5264 if (!module.children) module.children = []; 5265 Object.defineProperty(module, "loaded", { 5266 enumerable: true, 5267 get: function() { 5268 return module.l; 5269 } 5270 }); 5271 Object.defineProperty(module, "id", { 5272 enumerable: true, 5273 get: function() { 5274 return module.i; 5275 } 5276 }); 5277 module.webpackPolyfill = 1; 5278 } 5279 return module; 5280}; 5281 5282 5283/***/ })
5283, 5284 5285/***/ "jquery": 5286/*!*************************!*\ 5287 !*** external "jQuery" ***! 5288 \*************************/ 5289/*! no static exports found */ 5290/***/ (function(module, exports) { 5291 5292module.exports = jQuery; 5293 5294/***/ }) 5295 5296/******/ }); 5297//# sourceMappingURL=custom.js.map 5298//# sourceMappingURL=custom.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.