vendor: 3,645 bytes, lines 1-89
1var ajaxloadmore = 2/******/ (function(modules) { // webpackBootstrap 3/******/ // The module cache 4/******/ var installedModules = {}; 5/******/ 6/******/ // The require function 7/******/ function __webpack_require__(moduleId) { 8/******/ 9/******/ // Check if module is in cache 10/******/ if(installedModules[moduleId]) { 11/******/ return installedModules[moduleId].exports; 12/******/ } 13/******/ // Create a new module (and put it into the cache) 14/******/ var module = installedModules[moduleId] = { 15/******/ i: moduleId, 16/******/ l: false, 17/******/ exports: {} 18/******/ }; 19/******/ 20/******/ // Execute the module function 21/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 22/******/ 23/******/ // Flag the module as loaded 24/******/ module.l = true; 25/******/ 26/******/ // Return the exports of the module 27/******/ return module.exports; 28/******/ } 29/******/ 30/******/ 31/******/ // expose the modules object (__webpack_modules__) 32/******/ __webpack_require__.m = modules; 33/******/ 34/******/ // expose the module cache 35/******/ __webpack_require__.c = installedModules; 36/******/ 37/******/ // define getter function for harmony exports 38/******/ __webpack_require__.d = function(exports, name, getter) { 39/******/ if(!__webpack_require__.o(exports, name)) { 40/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 41/******/ } 42/******/ }; 43/******/ 44/******/ // define __esModule on exports 45/******/ __webpack_require__.r = function(exports) { 46/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 47/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 48/******/ } 49/******/ Object.defineProperty(exports, '__esModule', { value: true }); 50/******/ }; 51/******/ 52/******/ // create a fake namespace object 53/******/ // mode & 1: value is a module id, require it 54/******/ // mode & 2: merge all properties of value into the ns 55/******/ // mode & 4: return value when already ns object 56/******/ // mode & 8|1: behave like require 57/******/ __webpack_require__.t = function(value, mode) { 58/******/ if(mode & 1) value = __webpack_require__(value); 59/******/ if(mode & 8) return value; 60/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; 61/******/ var ns = Object.create(null); 62/******/ __webpack_require__.r(ns); 63/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 64/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 65/******/ return ns; 66/******/ }; 67/******/ 68/******/ // getDefaultExport function for compatibility with non-harmony modules 69/******/ __webpack_require__.n = function(module) { 70/******/ var getter = module && module.__esModule ? 71/******/ function getDefault() { return module['default']; } : 72/******/ function getModuleExports() { return module; }; 73/******/ __webpack_require__.d(getter, 'a', getter); 74/******/ return getter; 75/******/ }; 76/******/ 77/******/ // Object.prototype.hasOwnProperty.call 78/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 79/******/ 80/******/ // __webpack_public_path__ 81/******/ __webpack_require__.p = ""; 82/******/ 83/******/ 84/******/ // Load entry module and return exports 85/******/ return __webpack_require__(__webpack_require__.s = "./core/src/js/ajax-load-more.js"); 86/******/ }) 87/************************************************************************/ 88/******/ ({ 89
90/***/ "./core/src/js/addons/cache.js": 91/*!*************************************!*\ 92 !*** ./core/src/js/addons/cache.js ***! 93 \*************************************/ 94/*! no static exports found */ 95/***/ (function(module, exports, __webpack_require__) { 96 97"use strict"; 98 99 100Object.defineProperty(exports, "__esModule", { 101 value: true 102}); 103exports.createCacheFile = createCacheFile; 104exports.wooCache = wooCache; 105 106var _axios = __webpack_require__(/*! axios */ "./node_modules/axios/index.js"); 107 108var _axios2 = _interopRequireDefault(_axios); 109 110function _interopRequireDefault(obj) { 111 return obj && obj.__esModule ? obj : { default: obj }; 112} 113 114/** 115 * Create a single post cache file. 116 * 117 * @param {object} alm The ALM object. 118 * @param {string} content The content to cache. 119 * @param {string} type The type of cache to create. 120 * @since 5.3.1 121 */ 122function createCacheFile(alm, content) { 123 var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'standard'; 124 125 if (alm.addons.cache !== 'true' || !content || content === '') { 126 return false; 127 } 128 var name = type === 'single' ? alm.addons.single_post_id : 'page-' + (alm.page + 1); 129 130 var formData = new FormData(); 131 formData.append('action', 'alm_cache_from_html'); 132 formData.append('security', alm_localize.alm_nonce); 133 formData.append('cache_id', alm.addons.cache_id); 134 formData.append('cache_logged_in', alm.addons.cache_logged_in); 135 formData.append('canonical_url', alm.canonical_url); 136 formData.append('name', name); 137 formData.append('html', content.trim()); 138 139 _axios2.default.post(alm_localize.ajaxurl, formData).then(function (response) { 140 console.log('Cache created for: ' + alm.canonical_url); 141 }); 142} 143 144/** 145 * Create a WooCommerce cache file. 146 * 147 * @param {Object} alm 148 * @param {String} content 149 * @since 5.3.1 150 */ 151function wooCache(alm, content) { 152 if (alm.addons.cache !== 'true' || !content || content === '') { 153 return false; 154 } 155 156 var formData = new FormData(); 157 formData.append('action', 'alm_cache_from_html'); 158 formData.append('security', alm_localize.alm_nonce); 159 formData.append('cache_id', alm.addons.cache_id); 160 formData.append('cache_logged_in', alm.addons.cache_logged_in); 161 formData.append('canonical_url', alm.canonical_url); 162 formData.append('name', 'page-' + alm.page); 163 formData.append('html', content.trim()); 164 165 _axios2.default.post(alm_localize.ajaxurl, formData).then(function () { 166 console.log('Cache created for post: ' + alm.canonical_url); 167 //console.log(response); 168 }); 169} 170 171/***/ }), 172
173/***/ "./core/src/js/addons/elementor.js": 174/*!*****************************************!*\ 175 !*** ./core/src/js/addons/elementor.js ***! 176 \*****************************************/ 177/*! no static exports found */ 178/***/ (function(module, exports, __webpack_require__) { 179 180"use strict"; 181 182 183Object.defineProperty(exports, "__esModule", { 184 value: true 185}); 186exports.elementorInit = elementorInit; 187exports.elementor = elementor; 188exports.elementorLoaded = elementorLoaded; 189exports.elementorGetContent = elementorGetContent; 190exports.elementorCreateParams = elementorCreateParams; 191 192var _getButtonURL = __webpack_require__(/*! ../modules/getButtonURL */ "./core/src/js/modules/getButtonURL.js"); 193 194var _lazyImages = __webpack_require__(/*! ../modules/lazyImages */ "./core/src/js/modules/lazyImages.js"); 195 196var _loadItems = __webpack_require__(/*! ../modules/loadItems */ "./core/src/js/modules/loadItems.js"); 197 198var _loadItems2 = _interopRequireDefault(_loadItems); 199 200function _interopRequireDefault(obj) { 201 return obj && obj.__esModule ? obj : { default: obj }; 202} 203 204function _asyncToGenerator(fn) { 205 return function () { 206 var gen = fn.apply(this, arguments);return new Promise(function (resolve, reject) { 207 function step(key, arg) { 208 try { 209 var info = gen[key](arg);var value = info.value; 210 } catch (error) { 211 reject(error);return; 212 }if (info.done) { 213 resolve(value); 214 } else { 215 return Promise.resolve(value).then(function (value) { 216 step("next", value); 217 }, function (err) { 218 step("throw", err); 219 }); 220 } 221 }return step("next"); 222 }); 223 }; 224} 225 226/** 227 * Set up the instance on Elementor 228 * 229 * @param {object} alm 230 * @since 5.3.0 231 */ 232 233function elementorInit(alm) { 234 if (!alm.addons.elementor || !alm.addons.elementor_type || !alm.addons.elementor_type === 'posts') { 235 return false; 236 } 237 var target = alm.addons.elementor_element; 238 239 if (target) { 240 // Set button data attributes 241 alm.button.dataset.page = alm.addons.elementor_paged; 242 243 // Set button URL 244 var nextPage = alm.addons.elementor_next_page_url; 245 alm.button.dataset.url = nextPage ? nextPage : ''; 246 247 // Set a11y attributes 248 target.setAttribute('aria-live', 'polite'); 249 target.setAttribute('aria-atomic', 'true'); 250 251 alm.listing.removeAttribute('aria-live'); 252 alm.listing.removeAttribute('aria-atomic'); 253 254 // Set data atts on 1st grid item 255 var item = target.querySelector('.' + alm.addons.elementor_item_class); // Get first `.product` item 256 if (item) { 257 item.classList.add('alm-elementor'); 258 item.dataset.url = window.location; 259 item.dataset.page = alm.addons.elementor_paged; 260 item.dataset.pageTitle = document.title; 261 } 262 263 if (alm.addons.elementor_paged > 1) {} 264 // maybe soon 265 //almElementorResultsTextInit(alm); 266 267 268 // Masonry Window Resize. Delay for masonry to be added via Elementor. 269 if (alm.addons.elementor_masonry) { 270 var resizeTimeout = void 0; 271 setTimeout(function () { 272 window.addEventListener('resize', function () { 273 clearTimeout(resizeTimeout); 274 resizeTimeout = setTimeout(function () { 275 positionMasonryItems(alm, '.' + alm.addons.elementor_container_
275class, '.' + alm.addons.elementor_item_class); 276 }, 100); 277 }); 278 }, 250); 279 } 280 } 281} 282 283/** 284 * Core ALM Elementor loader. 285 * 286 * @param {HTMLElement} content 287 * @param {object} alm 288 * @param {string} pageTitle 289 * @since 5.3.0 290 */ 291function elementor(content, alm) { 292 var pageTitle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.title; 293 294 if (!content || !alm) { 295 return false; 296 } 297 298 return new Promise(function (resolve) { 299 var container = alm.addons.elementor_element.querySelector('.' + alm.addons.elementor_container_class); // Get post container 300 var items = content.querySelectorAll('.' + alm.addons.elementor_item_class); // Get all items in container 301 var url = alm.addons.elementor_current_url; // Current Page URL 302 303 if (container && items && url) { 304 // Convert NodeList to Array 305 items = Array.prototype.slice.call(items); 306 307 // Trigger almElementorLoaded callback. 308 if (typeof almElementorLoaded === 'function') { 309 window.almElementorLoaded(items); 310 } 311 312 // Load the items 313 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { 314 return regeneratorRuntime.wrap(function _callee$(_context) { 315 while (1) { 316 switch (_context.prev = _context.next) { 317 case 0: 318 _context.next = 2; 319 return (0, _loadItems2.default)(container, items, alm, pageTitle, url, 'alm-elementor'); 320 321 case 2: 322 if (alm.addons.elementor_masonry) { 323 setTimeout(function () { 324 positionMasonryItems(alm, '.' + alm.addons.elementor_container_
324class, '.' + alm.addons.elementor_item_class); 325 }, 125); 326 } 327 328 resolve(true); 329 330 case 4: 331 case 'end': 332 return _context.stop(); 333 } 334 } 335 }, _callee, this); 336 }))().catch(function (e) { 337 console.log(e, 'There was an error with Elementor'); 338 }); 339 } else { 340 resolve(false); 341 } 342 }); 343} 344 345/** 346 * Handle Elementor loaded functionality and dispatch actions. 347 * 348 * @param {object} alm 349 * @since 5.5.0 350 */ 351function elementorLoaded(alm) { 352 var nextPageNum = alm.page + 1; 353 var nextPage = alm.addons.elementor_next_page_url; // Get URL. 354 355 // Set button data attributes. 356 (0, _getButtonURL.setButtonAtts)(alm.button, nextPageNum, nextPage); 357 358 // Lazy load images if necessary. 359 (0, _lazyImages.lazyImages)(alm); 360 361 // Trigger almComplete. 362 if (typeof almComplete === 'function' && alm.transition !== 'masonry') { 363 window.almComplete(alm); 364 } 365 366 // End transitions. 367 alm.AjaxLoadMore.transitionEnd(); 368 369 // ALM Done 370 if (!nextPage) { 371 alm.AjaxLoadMore.triggerDone(); 372 } 373} 374 375/** 376 * Get the content, title and results text from the Ajax response. 377 * 378 * @param {*} response 379 * @param {object} alm 380 * @since 5.4.0 381 */ 382function elementorGetContent(response, alm) { 383 var data = { 384 html: '', 385 meta: { 386 postcount: 1, 387 totalposts: alm.localize.total_posts, 388 debug: false 389 } 390 }; 391 if (response.status === 200 && response.data) { 392 var div = document.createElement('div'); 393 div.innerHTML = response.data; 394 395 // Get Page Title 396 var title = div.querySelector('title').innerHTML; 397 data.pageTitle = title; 398 399 // Get Elementor Items HTML 400 var items = div.querySelector(alm.addons.elementor_target + ' .' + alm.addons.elementor_container_
400class); 401 data.html = items ? items.innerHTML : ''; 402 403 // Set Page URL Params 404 alm.addons.elementor_current_url = alm.addons.elementor_next_page_url; // Set current to previous page URL 405 alm.addons.elementor_next_page_url = elementorGetNextPage(div, alm.addons.elementor_pagination_class); 406 407 // Results Text 408 //almElementorResultsText(div, alm); 409 } 410 411 return data; 412} 413 414/** 415 * Create Elementor Params for ALM. 416 * 417 * @param Object alm 418 * @return alm 419 */ 420function elementorCreateParams(alm) { 421 // Get Settings 422 alm.addons.elementor_type = 'posts'; 423 alm.addons.elementor_settings = JSON.parse(alm.listing.dataset.elementorSettings); 424 425 // Parse Container Settings 426 alm.addons.elementor_target = alm.addons.elementor_settings.target; 427 alm.addons.elementor_element = alm.addons.elementor_settings.target ? document.querySelector('.elementor-widget-wrap ' + alm.addons.elementor_settings.target) : ''; 428 alm.addons.elementor_widget = elementorGetWidgetType(alm.addons.elementor_element); 429 430 // Masonry 431 alm = setElementorClasses(alm, alm.addons.elementor_widget); 432 433 // Pagination Element 434 alm.addons.elementor_pagination = alm.addons.elementor_element.querySelector(alm.addons.elementor_pagination_class) || alm.addons.elementor_element.querySelector('.' + alm.addons.elementor_settings.pagination_class); 435 alm.addons.elementor_pagination = alm.addons.elementor_pagination ? alm.addons.elementor_pagination : false; 436 437 alm.addons.elementor_controls = alm.addons.elementor_settings.controls; 438 alm.addons.elementor_controls = alm.addons.elementor_controls === 'true' ? true : false; 439 alm.addons.elementor_scrolltop = parseInt(alm.addons.elementor_settings.scrolltop); 440 441 // Set Page & URL params 442 alm.addons.elementor_current_url = window.location.href; 443 alm.addons.elementor_next_page_url = elementorGetNextUrl(alm.addons.elementor_pagination); 444 alm.addons.elementor_paged = alm.addons.elementor_settings.paged ? parseInt(alm.addons.elementor_settings.paged) : 1; 445 alm.page = parseInt(alm.page) + alm.addons.elementor_paged; 446 447 // Masonry 448 alm = parseMasonryConfig(alm); 449 450 if (!alm.addons.elementor_element) { 451 console.warn("Ajax Load More: Unable to locate Elementor Widget. Are you sure you've set up your target parameter correctly?"); 452 } 453 if (!alm.addons.elementor_pagination) { 454 console.warn('Ajax Load More: Unable to locate Elementor pagination. There are either no results or Ajax Load More is unable to locate the pagination widget?'); 455 } 456 return alm; 457} 458 459/** 460 * Set the required classnames for parsing data and injecting content into the Elementor listing 461 * 462 * @param {*} alm 463 * @param {*} type 464 */ 465function setElementorClasses(alm) { 466 var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'posts'; 467 468 // Container Class
469 alm.addons.elementor_container_class = type === 'woocommerce' ? alm.addons.elementor_settings.woo_container_class : alm.addons.elementor_settings.posts_container_class; 470 471 // Item Class 472 alm.addons.elementor_item_class = type === 'woocommerce' ? alm.addons.elementor_settings.woo_item_class : alm.addons.elementor_settings.posts_item_class; 473 474 // Pagination Class 475 alm.addons.elementor_pagination_class = type === 'woocommerce' ? '.' + alm.addons.elementor_settings.woo_pagination_class : '.' + alm.addons.elementor_settings.posts_pagination_class; 476 477 return alm; 478} 479 480/** 481 * Parse Masonry Settings from Elementor Data atts 482 * 483 * @param {*} alm 484 */ 485function parseMasonryConfig(alm) { 486 if (!alm.addons.elementor_element) { 487 return alm; // Exit if not found. 488 } 489 490 var target = alm.addons.elementor_element; 491 492 var settings = target.dataset.settings ? JSON.parse(target.dataset.settings) : ''; 493 if (!settings) { 494 return alm; // Exit if not found. 495 } 496 497 alm.addons.elementor_masonry = settings.hasOwnProperty('cards_masonry') || settings.hasOwnProperty('classic_masonry'); 498 if (alm.addons.elementor_masonry) { 499 alm.addons.elementor_masonry_columns = parseInt(settings.cards_columns) || parseInt(settings.classic_columns); 500 alm.addons.elementor_masonry_columns_mobile = parseInt(settings.cards_columns_mobile) || parseInt(settings.classic_columns_mobile); 501 alm.addons.elementor_masonry_columns_tablet = parseInt(settings.cards_columns_tablet) || parseInt(settings.classic_columns_tablet); 502 alm.addons.elementor_masonry_gap = parseInt(settings.cards_row_gap.size); 503 } 504 505 return alm; 506} 507 508/** 509 * Position Elementor Masonry Items 510 * 511 * @param {*} alm 512 * @param {*} container_class 513 * @param {*} item_class 514 */ 515function positionMasonryItems(alm, container_class, item_class) { 516 var heights = []; 517 518 // Get Elementor Settings 519 var columnsCount = alm.addons.elementor_masonry_columns; 520 var columnsCountTablet = alm.addons.elementor_masonry_columns_tablet; 521 var columnsCountMobile = alm.addons.elementor_masonry_columns_mobile; 522 var verticalSpaceBetween = alm.addons.elementor_masonry_gap; 523 var columns = columnsCount; 524 525 // Get Elementor Breakpoints 526 var breakpoints = window.elementorFrontendConfig && window.elementorFrontendConfig.breakpoints ? window.elementorFrontendConfig.breakpoints : 0; 527 var windowW = window.innerWidth; 528 529 // Set Columns 530 if (windowW > breakpoints.lg) { 531 columns = columnsCount; 532 } else if (windowW > breakpoints.md) { 533 columns = columnsCountTablet; 534 } else { 535 columns = columnsCountMobile; 536 } 537 538 // Get Containers 539 var container = document.querySelector(container_class); 540 if (!container) { 541 return false; 542 } 543 var items = container.querySelectorAll(item_class); 544 if (!items) { 545 return false; 546 } 547 548 // Loop items 549 items.forEach(function (item, index) { 550 var row = Math.floor(index / columns); 551 var itemHeight = item.getBoundingClientRect().height + verticalSpaceBetween; 552 553 if (row) { 554 var itemPosition = jQuery(item).position(); 555 var indexAtRow = index % columns; 556 var pullHeight = Math.round(itemPosition.top) - heights[indexAtRow]; 557 558 pullHeight *= -1; 559 item.style.marginTop = Math.round(pullHeight) + 'px'; 560 heights[indexAtRow] += itemHeight; 561 } else { 562 heights.push(itemHeight); 563 } 564 }); 565} 566 567/** 568 * Determine the type of elementor widget (woocommerce || posts) 569 * 570 * @param {*} target 571 * @param {*} classname 572 */ 573function elementorGetWidgetType(target) { 574 if (!target) { 575 return false; 576 } 577 // If container contains the woocommerce elementor class 578 var type = target.classList.contains('elementor-wc-products') ? 'woocommerce' : 'posts'; 579 return type; 580} 581 582/** 583 * Get the upcoming URL from the a.next link from the HTML 584 * 585 * @param {HTMLElement} element 586 * @param {String} classname 587 * @return {string} href 588 */ 589function elementorGetNextPage(element, classname) { 590 var pagination = element.querySelector(classname); 591 return pagination ? elementorGetNextUrl(pagination) : ''; 592} 593 594/** 595 * Get the URL of the next page to load from the a.next href 596 * 597 * @param {HTMLElement} element 598 * @return {String} url 599 */ 600function elementorGetNextUrl(element) { 601 if (!element) { 602 return ''; 603 } 604 return element.querySelector('a.next') ? element.querySelector('a.next').href : ''; 605} 606 607/***/ }), 608
609/***/ "./core/src/js/addons/filters.js": 610/*!***************************************!*\ 611 !*** ./core/src/js/addons/filters.js ***! 612 \***************************************/ 613/*! no static exports found */ 614/***/ (function(module, exports, __webpack_require__) { 615 616"use strict"; 617 618 619Object.defineProperty(exports, "__esModule", { 620 value: true 621}); 622exports.parseQuerystring = parseQuerystring; 623exports.buildFilterURL = buildFilterURL; 624exports.createMasonryFiltersPage = createMasonryFiltersPage; 625exports.createMasonryFiltersPages = createMasonryFiltersPages; 626 627var _getQueryVariable = __webpack_require__(/*! ../helpers/getQueryVariable */ "./core/src/js/helpers/getQueryVariable.js"); 628 629var _getQueryVariable2 = _interopRequireDefault(_getQueryVariable); 630 631function _interopRequireDefault(obj) { 632 return obj && obj.__esModule ? obj : { default: obj }; 633} 634 635var FILTERS_CLASSNAME = 'alm-filters'; 636 637/** 638 * parseQuerystring 639 * Parse a filter querystring for returning caches directories 640 * 641 * @param {Object} alm 642 * @param {Array} elements 643 * @since 5.3.1 644 */ 645function parseQuerystring(path) { 646 // Get querystring 647 var query = window.location.search.substring(1); 648 var obj = ''; 649 var cache_dir = ''; 650 651 // Parse querystring into object 652 if (query) { 653 obj = JSON.parse('{"' + query.replace(/&/g, '","').replace(/=/g, '":"') + '"}', function (key, value) { 654 // Replace + with - in URL 655 return key === '' ? value : decodeURIComponent(value.replace(/\+/g, '-')); 656 }); 657 658 // Remove the following properties from the object as they should not be included in the cache ID 659 660 if (obj.pg) { 661 // `pg` object prop 662 delete obj.pg; 663 } 664 665 if (obj.auto) { 666 // `auto` object prop 667 delete obj.auto; 668 } 669 } 670 671 if (obj) { 672 cache_dir += '/'; 673 Object.keys(obj).forEach(function (key, index) { 674 cache_dir += index > 0 ? '--' : ''; 675 cache_dir += key + '--' + obj[key]; 676 }); 677 } 678 679 return path + cache_dir; 680} 681 682/** 683 * Build new paging URL for filters 684 * 685 * @param {Object} alm 686 * @param {String} querystring 687 * @param {Int} page 688 * @since 5.3.5 689 */ 690function buildFilterURL(alm) { 691 var querystring = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; 692 var page = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; 693 694 var qs = querystring; 695 696 if (alm.addons.filters_paging) { 697 if (page > 1) { 698 // Paged 699 if (qs) { 700 // If already has `pg` in querystring 701 if ((0, _getQueryVariable2.default)('pg')) { 702 qs = querystring.replace(/(pg=)[^\&]+/, '$1' + page); 703 } else { 704 qs = querystring + '&pg=' + page; 705 } 706 } else { 707 qs = '?pg=' + page; 708 } 709 } else { 710 // Not Paged 711 qs = querystring.replace(/(pg=)[^\&]+/, ''); 712 qs = qs === '?' ? '' : qs; // Remove `?` if only symbol in querystring 713 qs = qs[qs.length - 1] === '&' ? qs.slice(0, -1) : qs; // Remove trailing `&` symbols 714 } 715 } 716 717 return qs; 718} 719 720/** 721 * Create data attributes for Filters paged results 722 * 723 * @param {Object} alm 724 * @param {Array} elements 725 * @since 5.3.1 726 */ 727function createMasonryFiltersPage(alm, element) { 728 if (!alm.addons.filters) { 729 return element; 730 } 731 732 var querystring = window.location.search; 733 var page = alm.page + 1; 734 page = alm.addons.preloaded === 'true' ? page + 1 : page; 735 element = masonryFiltersAtts(alm, element, querystring, page); 736 737 return element; 738} 739 740/** 741 * Create data attributes for Filters - used when ?pg=2, ?pg=3 etc are hit on page load 742 * 743 * @param {Object} alm 744 * @param {Array} elements 745 * @since 5.3.1 746 */ 747function createMasonryFiltersPages(alm, elements) { 748 if (!alm.addons.filters) { 749 return elements; 750 } 751 752 var pagenum = 1; 753 var page = alm.page; 754 var querystring = window.location.search; 755 756 if (alm.addons.filters_startpage > 1) { 757 // Create pages 758 var posts_per_page = parseInt(alm.posts_per_page); 759 var return_data = []; 760 761 // Slice data array into individual pages 762 for (var i = 0; i < elements.length; i += posts_per_page) { 763 return_data.push(elements.slice(i, posts_per_page + i)); 764 } 765 766 // Loop new data array 767 for (var k = 0; k < return_data.length; k++) { 768 var target = k > 0 ? k * posts_per_page : 0; 769 pagenum = k + 1; 770 771 if (elements[target]) { 772 elements[target] = masonryFiltersAtts(alm, elements[target], querystring, pagenum); 773 } 774 } 775 } else { 776 pagenum = page; 777 if (elements && elements[0]) { 778 elements[0] = masonryFiltersAtts(alm, elements[0], querystring, pagenum); 779 } 780 } 781 782 return elements; 783} 784 785// Create the attributes (page, url, classes) for the masonry items 786function masonryFiltersAtts(alm, element, querystring, pagenum) { 787 element.classList.add(FILTERS_CLASSNAME); 788 element.dataset.page = pagenum; 789 if (pagenum > 1) { 790 element.dataset.url = alm.canonical_url + buildFilterURL(alm, querystring, pagenum); 791 } else { 792 var updatedQS = querystring.replace(/(pg=)[^\&]+/, ''); // Remove `pg` from querysting 793 updatedQS = updatedQS === '?' ? '' : updatedQS; // Remove empty querysting 794 795 element.dataset.url = alm.canonical_url + updatedQS; 796 } 797 798 return element; 799}
vendor: 22 bytes, lines 799-803
799 800 801/***/ }), 802 803/***/ "./
803core/src/js/addons/seo.js": 804/*!***********************************!*\ 805 !*** ./core/src/js/addons/seo.js ***! 806 \***********************************/ 807/*! no static exports found */ 808/***/ (function(module, exports, __webpack_require__) { 809 810"use strict"; 811 812 813Object.defineProperty(exports, "__esModule", { 814 value: true 815}); 816exports.createMasonrySEOPage = createMasonrySEOPage; 817exports.createMasonrySEOPages = createMasonrySEOPages; 818exports.createSEOAttributes = createSEOAttributes; 819exports.getSEOPageNum = getSEOPageNum; 820/** 821 * createMasonrySEOPage 822 * Create data attributes for SEO paged results 823 * 824 * @param {object} alm 825 * @param {array} elements 826 * @since 5.3.1 827 */ 828function createMasonrySEOPage(alm, element) { 829 if (!alm.addons.seo) { 830 return element; 831 } 832 833 var querystring = window.location.search; 834 var seo_class = 'alm-seo'; 835 var page = alm.page + 1; 836 page = alm.addons.preloaded === 'true' ? page + 1 : page; 837 element = masonrySEOAtts(alm, element, querystring, seo_class, page); 838 839 return element; 840} 841 842/** 843 * createMasonrySEOPages 844 * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load 845 * 846 * @param {object} alm 847 * @param {array} elements 848 * @since 5.3.1 849 */ 850function createMasonrySEOPages(alm, elements) { 851 if (!alm.addons.seo) { 852 return elements; 853 } 854 855 var pagenum = 1; 856 var page = alm.page; 857 var seo_class = 'alm-seo'; 858 var querystring = window.location.search; 859 860 if (alm.start_page > 1) { 861 // Create pages 862 var posts_per_page = parseInt(alm.posts_per_page); 863 var return_data = []; 864 865 // Slice data array into individual pages 866 for (var i = 0; i < elements.length; i += posts_per_page) { 867 return_data.push(elements.slice(i, posts_per_page + i)); 868 } 869 870 // Loop new data array 871 for (var k = 0; k < return_data.length; k++) { 872 var target = k > 0 ? k * posts_per_page : 0; 873 pagenum = k + 1; 874 if (elements[target]) { 875 elements[target] = masonrySEOAtts(alm, elements[target], querystring, seo_class, pagenum); 876 } 877 } 878 } else { 879 pagenum = page; 880 elements[0] = masonrySEOAtts(alm, elements[0], querystring, seo_class, pagenum); 881 } 882 883 return elements; 884} 885 886/** 887 * Create the attributes (page, url, classes) for the masonry items. 888 * 889 * @param {object} alm 890 * @param {object} element 891 * @param {string} querystring 892 * @param {string} seo_class 893 * @param {int} pagenum 894 * @returns 895 */ 896function masonrySEOAtts(alm, element, querystring, seo_class, pagenum) { 897 element.classList.add(seo_class); 898 element.dataset.page = pagenum; 899 900 if (alm.addons.seo_permalink === 'default') { 901 // Default Permalinks 902 if (pagenum > 1) { 903 element.dataset.url = alm.canonical_url + querystring + '&paged=' + pagenum; 904 } else { 905 element.dataset.url = alm.canonical_url + querystring; 906 } 907 } else { 908 // Pretty Permalinks 909 if (pagenum > 1) { 910 element.dataset.url = alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring; 911 } else { 912 element.dataset.url = alm.canonical_url + querystring; 913 } 914 } 915 916 return element; 917} 918 919/** 920 * Create data attributes for SEO - used when /page/2/, /page/3/ etc are hit on page load. 921 * 922 * @param {object} alm The ALM object. 923 * @param {HTLElement} element The div element. 924 * @param {string} querystring The current querystring. 925 * @param {string} seo_class The classname to add to element. 926 * @param {Number} pagenum The current page number. 927 * @return {HTMLElement} The modified HTML element. 928 * @since 5.3.1 929 */ 930function createSEOAttributes(alm, element, querystring, seo_class, pagenum) { 931 element.setAttribute('class', 'alm-reveal' + seo_class + alm.tcc); 932 element.dataset.page = pagenum; 933 934 if (alm.addons.seo_permalink === 'default') { 935 // Default Permalinks 936 element.dataset.url = pagenum > 1 ? alm.canonical_url + querystring + '&paged=' + pagenum : alm.canonical_url + querystring; 937 } else { 938 // Pretty Permalinks 939 element.dataset.url = pagenum > 1 ? alm.canonical_url + alm.addons.seo_leading_slash + 'page/' + pagenum + alm.addons.seo_trailing_slash + querystring : alm.canonical_url + querystring; 940 } 941 942 return element; 943} 944
945/** 946 * Get the current page number. 947 * 948 * @param {string} seo_offset Is this an SEO offset. 949 * @param {Number} page The page number, 950 * @return {Number} The page number. 951 */ 952function getSEOPageNum(seo_offset, page) { 953 if (seo_offset === 'true') { 954 return parseInt(page) + 1; 955 } else { 956 return page; 957 } 958} 959 960/***/ }), 961
962/***/ "./core/src/js/addons/singleposts.js": 963/*!*******************************************!*\ 964 !*** ./core/src/js/addons/singleposts.js ***! 965 \*******************************************/ 966/*! no static exports found */ 967/***/ (function(module, exports, __webpack_require__) { 968 969"use strict"; 970 971 972Object.defineProperty(exports, "__esModule", { 973 value: true 974}); 975exports.singlePostHTML = singlePostHTML; 976/** 977 * Create the HTML for loading Single Posts. 978 * 979 * @param {Object} response Query response 980 * @param {HTMLElement} target The target div 981 * @since 5.1.8.1 982 */ 983function singlePostHTML(response) { 984 var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 985 986 var data = { 987 html: '', 988 meta: { 989 postcount: 1, 990 totalposts: 1, 991 debug: 'Single Posts Query' 992 } 993 }; 994 995 if (response.status === 200 && response.data && target) { 996 // Create temp div to hold Ajax response data. 997 var div = document.createElement('div'); 998 div.innerHTML = response.data; 999 1000 // Get target element. 1001 var html = div.querySelector(target); 1002 1003 // Get any custom target elements. 1004 var customElements = window && window.almSinglePostsCustomElements; 1005 if (customElements) { 1006 html.appendChild(singlePostsGetCustomElements(div, customElements)); 1007 } 1008 1009 if (html) { 1010 data.html = html.innerHTML; 1011 } else { 1012 console.warn('Ajax Load More: Unable to find ' + target + ' element.'); 1013 } 1014 } 1015 return data; 1016} 1017exports.default = singlePostHTML; 1018 1019/** 1020 * Collect custom target elements and append them to the returned HTML. 1021 * 1022 * This function is useful to get elements from outside the ALM target and bring them into the returned HTML. 1023 * Useful for when CSS or JS may be loaded in the <head/> and we need it brought into the HTML for Single Posts. 1024 * 1025 * e.g. window.almSinglePostsCustomElements = ['#woocommerce-inline-inline-css', '#wc-block-style-css']; 1026 * 1027 * @param {object} content The HTML element. 1028 * @param {array|string} customElements The elements to search for in content. 1029 * @return {object} HTML elements. 1030 */ 1031 1032function singlePostsGetCustomElements() { 1033 var content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 1034 var customElements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; 1035 1036 // Create container element to hold elements. 1037 var container = document.createElement('div'); 1038 container.classList.add('alm-custom-elements'); 1039 1040 // Exit if empty. 1041 if (!content || !customElements) { 1042 return container; 1043 } 1044 1045 // Convert customElements to an Array. 1046 customElements = !Array.isArray(customElements) ? [customElements] : customElements; 1047 1048 // Loop Array to extract elements and append to container. 1049 for (var i = 0; i < customElements.length; i++) { 1050 var element = content.querySelector(customElements[i]); 1051 if (element) { 1052 container.appendChild(element); 1053 } 1054 } 1055 1056 return container; 1057} 1058 1059/***/ }), 1060
1061/***/ "./core/src/js/addons/woocommerce.js": 1062/*!*******************************************!*\ 1063 !*** ./core/src/js/addons/woocommerce.js ***! 1064 \*******************************************/ 1065/*! no static exports found */ 1066/***/ (function(module, exports, __webpack_require__) { 1067 1068"use strict"; 1069 1070 1071Object.defineProperty(exports, "__esModule", { 1072 value: true 1073}); 1074exports.wooInit = wooInit; 1075exports.woocommerce = woocommerce; 1076exports.woocommerceLoaded = woocommerceLoaded; 1077exports.wooReset = wooReset; 1078exports.wooGetContent = wooGetContent; 1079 1080var _axios = __webpack_require__(/*! axios */ "./node_modules/axios/index.js"); 1081 1082var _axios2 = _interopRequireDefault(_axios); 1083 1084var _dispatchScrollEvent = __webpack_require__(/*! ../helpers/dispatchScrollEvent */ "./core/src/js/helpers/dispatchScrollEvent.js"); 1085 1086var _dispatchScrollEvent2 = _interopRequireDefault(_dispatchScrollEvent); 1087 1088var _getButtonURL = __webpack_require__(/*! ../modules/getButtonURL */ "./core/src/js/modules/getButtonURL.js"); 1089 1090var _lazyImages = __webpack_require__(/*! ../modules/lazyImages */ "./core/src/js/modules/lazyImages.js"); 1091 1092var _loadItems = __webpack_require__(/*! ../modules/loadItems */ "./core/src/js/modules/loadItems.js"); 1093 1094var _loadItems2 = _interopRequireDefault(_loadItems); 1095 1096var _loadPrevious = __webpack_require__(/*! ../modules/loadPrevious */ "./core/src/js/modules/loadPrevious.js"); 1097 1098function _interopRequireDefault(obj) { 1099 return obj && obj.__esModule ? obj : { default: obj }; 1100} 1101 1102function _asyncToGenerator(fn) { 1103 return function () { 1104 var gen = fn.apply(this, arguments);return new Promise(function (resolve, reject) { 1105 function step(key, arg) { 1106 try { 1107 var info = gen[key](arg);var value = info.value; 1108 } catch (error) { 1109 reject(error);return; 1110 }if (info.done) { 1111 resolve(value); 1112 } else { 1113 return Promise.resolve(value).then(function (value) { 1114 step("next", value); 1115 }, function (err) { 1116 step("throw", err); 1117 }); 1118 } 1119 }return step("next"); 1120 }); 1121 }; 1122} 1123 1124/** 1125 * Set up the instance of ALM WooCommerce 1126 * 1127 * @param {object} alm 1128 * @since 5.3.0 1129 */ 1130function wooInit(alm) { 1131 if (!alm || !alm.addons.woocommerce) { 1132 return false; 1133 } 1134 1135 alm.button.dataset.page = alm.addons.woocommerce_settings.paged + 1; // Page 1136 1137 // URL 1138 var nextPage = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged]; 1139 if (nextPage) { 1140 alm.button.dataset.url = nextPage; 1141 } else { 1142 alm.button.dataset.url = ''; 1143 } 1144 1145 // Set up URL and class parameters on first item in product listing 1146 var container = document.querySelector(alm.addons.woocommerce_settings.container); // Get `ul.products` 1147 if (container) { 1148 var count = getContainerCount(alm.addons.woocommerce_settings.container); 1149 var currentPage = alm.addons.woocommerce_settings.paged; 1150 1151 if (count > 1) { 1152 // Display warning if multiple containers were found. 1153 console.warn('ALM WooCommerce: Multiple containers with the same classname or ID found. The WooCommerce add-on requires a single container to be defined. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/'); 1154 } 1155 1156 container.setAttribute('aria-live', 'polite'); 1157 container.setAttribute('aria-atomic', 'true'); 1158 1159 alm.listing.removeAttribute('aria-live'); 1160 alm.listing.removeAttribute('aria-atomic'); 1161 1162 var products = container.querySelector(alm.addons.woocommerce_settings.products); // Get first `.product` item 1163 if (products) { 1164 products.classList.add('alm-woocommerce'); 1165 products.dataset.url = alm.addons.woocommerce_settings.paged_urls[alm.addons.woocommerce_settings.paged - 1]; 1166 products.dataset.page = alm.page; 1167 products.dataset.pageTitle = document.title; 1168 } else { 1169 console.warn('ALM WooCommerce: Unable to locate products. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_products'); 1170 } 1171 1172 // Paged URL: Create previous button. 1173 if (currentPage > 1) { 1174 // almWooCommerceResultsTextInit(alm); 1175 1176 if (alm.addons.woocommerce_settings.settings.previous_products) { 1177 var prevURL = alm.addons.woocommerce_settings.paged_urls[currentPage - 2]; 1178 var label = alm.addons.woocommerce_settings.settings.previous_products; 1179 (0, _loadPrevious.createLoadPreviousButton)(alm, container, currentPage - 1, prevURL, label); 1180 } 1181 } 1182 } else { 1183 console.warn('ALM WooCommerce: Unable to locate container element. Get more information -> https://connekthq.com/plugins/ajax-load-more/docs/add-ons/woocommerce/#alm_woocommerce_container'); 1184 } 1185} 1186 1187/**
1188 * Core ALM WooCommerce product loader 1189 * 1190 * @param {HTMLElement} content 1191 * @param {object} alm 1192 * @param {String} pageTitle 1193 * @since 5.3.0 1194 */ 1195function woocommerce(content, alm) { 1196 var pageTitle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.title; 1197 1198 if (!content || !alm) { 1199 return false; 1200 } 1201 1202 return new Promise(function (resolve) { 1203 var container = document.querySelector(alm.addons.woocommerce_settings.container); // Get `ul.products` 1204 var products = content.querySelectorAll(alm.addons.woocommerce_settings.products); // Get all `.products` 1205 var page = alm.rel === 'prev' ? alm.pagePrev - 1 : alm.page; 1206 var url = alm.addons.woocommerce_settings.paged_urls[page]; 1207 1208 if (container && products && url) { 1209 // Convert NodeList to Array. 1210 products = Array.prototype.slice.call(products); 1211 1212 // Trigger almWooCommerceLoaded callback. 1213 if (typeof almWooCommerceLoaded === 'function') { 1214 window.almWooCommerceLoaded(products); 1215 } 1216 1217 // Load the Products 1218 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { 1219 return regeneratorRuntime.wrap(function _callee$(_context) { 1220 while (1) { 1221 switch (_context.prev = _context.next) { 1222 case 0: 1223 _context.next = 2; 1224 return (0, _loadItems2.default)(container, products, alm, pageTitle, url, 'alm-woocommerce'); 1225 1226 case 2: 1227 resolve(true); 1228 1229 case 3: 1230 case 'end': 1231 return _context.stop(); 1232 } 1233 } 1234 }, _callee, this); 1235 }))().catch(function (e) { 1236 console.log(e, 'There was an error with WooCommerce'); 1237 }); 1238 } 1239 }); 1240} 1241 1242/** 1243 * Handle WooCommerce loaded functionality and dispatch actions. 1244 * 1245 * @param {object} alm 1246 * @since 5.5.0 1247 */ 1248function woocommerceLoaded(alm) { 1249 var nextPageNum = alm.page + 2; 1250 var nextPage = alm.addons.woocommerce_settings.paged_urls[nextPageNum - 1]; // Get URL. 1251 1252 // Set button data attributes. 1253 if (alm.rel === 'prev' && alm.buttonPrev) { 1254 var prevPageNum = alm.pagePrev - 1; 1255 var prevPage = alm.addons.woocommerce_settings.paged_urls[alm.pagePrev - 2]; 1256 (0, _getButtonURL.setButtonAtts)(alm.buttonPrev, prevPageNum, prevPage); 1257 (0, _dispatchScrollEvent2.default)(true); 1258 } else { 1259 (0, _getButtonURL.setButtonAtts)(alm.button, nextPageNum, nextPage); 1260 } 1261 1262 // Lazy load images if necessary. 1263 (0, _lazyImages.lazyImages)(alm); 1264 1265 // Trigger almComplete. 1266 if (typeof almComplete === 'function' && alm.transition !== 'masonry') { 1267 window.almComplete(alm); 1268 } 1269 1270 // End transitions. 1271 alm.AjaxLoadMore.transitionEnd(); 1272 1273 // ALM Done. 1274 if (alm.rel === 'prev' && alm.pagePrev <= 1) { 1275 alm.AjaxLoadMore.triggerDonePrev(); 1276 } 1277 if (alm.rel === 'next' && nextPageNum > parseInt(alm.addons.woocommerce_settings.pages)) { 1278 alm.AjaxLoadMore.triggerDone(); 1279 } 1280} 1281 1282/** 1283 * Reset a WooCommerce Instance by hitting the updated site URL. 1284 * 1285 * @since 5.3.8 1286 */ 1287function wooReset() { 1288 return new Promise(function (resolve) { 1289 var url = window.location; 1290 _axios2.default.get(url).then(function (response) { 1291 if (response.status === 200 && response.data) { 1292 var div = document.createElement('div'); 1293 div.innerHTML = response.data; // Add data to div 1294 1295 var alm = div.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'); // Get ALM instance 1296 var settings = alm ? alm.dataset.wooSettings : ''; // Get settings data 1297 resolve(settings); 1298 } else { 1299 resolve(false); 1300 } 1301 }).catch(function (error) { 1302 resolve(false); 1303 }); 1304 }); 1305} 1306 1307/** 1308 * Get the content, title and results text from the Ajax response 1309 * 1310 * @param {object} alm The Ajax Load More object. 1311 * @since 5.3.0 1312 */ 1313function wooGetContent(response, alm) { 1314 var data = { 1315 html: '', 1316 meta: { 1317 postcount: 1, 1318 totalposts: alm.localize.total_posts, 1319 debug: false 1320 } 1321 }; 1322 if (response.status === 200 && response.data) { 1323 var div = document.createElement('div'); 1324 div.innerHTML = response.data; 1325 1326 // Get Page Title 1327 var title = div.querySelector('title').innerHTML; 1328 data.pageTitle = title; 1329 1330 // Get Products HTML 1331 var products = div.querySelector(alm.addons.woocommerce_settings.container); 1332 data.html = products ? products.innerHTML : ''; 1333 1334 // Results Text 1335 almWooCommerceResultsText(div, alm); 1336 } 1337 1338 return data; 1339} 1340 1341/** 1342 * Set results text for WooCommerce Add-on. 1343 * 1344 * @param {HTMLElement} target 1345 * @param {Object} alm The Ajax Load More object. 1346 * @since 5.3 1347 */ 1348function almWooCommerceResultsText() { 1349 var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 1350 var alm = arguments[1]; 1351 1352 if (target && alm && alm.addons.woocommerce_settings.results_text) { 1353 var currentResults = target.querySelector(alm.addons.woocommerce_settings.results); 1354 1355 if (alm.addons.woocommerce_settings.results_text) { 1356 //let link = alm.addons.woocommerce_settings.settings.previous_page_link; 1357 //let label = alm.addons.woocommerce_settings.settings.previous_page_label; 1358 //let sep = alm.addons.woocommerce_settings.settings.previous_page_sep; 1359 alm.addons.woocommerce_settings.results_text.forEach(function (element) { 1360 element.innerHTML = currentResults.innerHTML; 1361 // if (link && label) { 1362 // element.innerHTML = returnButton(currentResults, link, label, sep); 1363 // } else { 1364 // element.innerHTML = currentResults.innerHTML; 1365 // } 1366 }); 1367 } 1368 } 1369} 1370 1371/** 1372 * Initiate Results text. 1373 * 1374 * @param {Object} alm The Ajax Load More object. 1375 * @since 5.3 1376 * @deprecated 5.5 1377 */ 1378function almWooCommerceResultsTextInit(alm) { 1379 if (alm && alm.addons.woocommerce_settings.results_text) { 1380 var results = document.querySelectorAll(alm.addons.woocommerce_settings.results); 1381 if (results.length < 1) { 1382 return false;
1383 } 1384 var link = alm.addons.woocommerce_settings.settings.previous_page_link; 1385 var label = alm.addons.woocommerce_settings.settings.previous_page_label; 1386 var sep = alm.addons.woocommerce_settings.settings.previous_page_sep; 1387 // Loop all result text elements 1388 results.forEach(function (element) { 1389 if (link && label) { 1390 element.innerHTML = returnButton(element, link, label, sep); 1391 } 1392 }); 1393 } 1394} 1395 1396/** 1397 * Create button text for returning to the first page 1398 * 1399 * @param {*} text 1400 * @param {*} link 1401 * @param {*} label 1402 * @param {*} seperator 1403 */ 1404function returnButton(text, link, label, seperator) { 1405 var button = ' ' + seperator + ' <a href="' + link + '">' + label + '</a>'; 1406 return text.innerHTML + button; 1407} 1408 1409/** 1410 * Get total count of WooCommerce containers. 1411 * 1412 * @param {string} container The container class. 1413 * @return {Number} The total umber of containers. 1414 */ 1415function getContainerCount(container) { 1416 if (!container) { 1417 return 0; 1418 } 1419 var containers = document.querySelectorAll(container); // Get all containers.
1420 if (containers) { 1421 return containers.length; 1422 } else { 1423 return 0; 1424 } 1425} 1426 1427/***/ }), 1428
1429/***/ "./core/src/js/ajax-load-more.js": 1430/*!***************************************!*\ 1431 !*** ./core/src/js/ajax-load-more.js ***! 1432 \***************************************/ 1433/*! no static exports found */ 1434/***/ (function(module, exports, __webpack_require__) { 1435 1436"use strict"; 1437 1438 1439Object.defineProperty(exports, "__esModule", { 1440 value: true 1441}); 1442exports.render = exports.getOffset = exports.almScroll = exports.start = exports.tracking = exports.tab = exports.reset = exports.filter = undefined; 1443 1444var _axios = __webpack_require__(/*! axios */ "./node_modules/axios/index.js"); 1445 1446var _axios2 = _interopRequireDefault(_axios); 1447 1448var _smoothscrollPolyfill = __webpack_require__(/*! smoothscroll-polyfill */ "./node_modules/smoothscroll-polyfill/dist/smoothscroll.js"); 1449 1450var _smoothscrollPolyfill2 = _interopRequireDefault(_smoothscrollPolyfill); 1451 1452__webpack_require__(/*! ./helpers/helpers */ "./core/src/js/helpers/helpers.js"); 1453 1454var _getParameterByName = __webpack_require__(/*! ./helpers/getParameterByName */ "./core/src/js/helpers/getParameterByName.js"); 1455 1456var _getParameterByName2 = _interopRequireDefault(_getParameterByName); 1457 1458var _almAppendChildren = __webpack_require__(/*! ./helpers/almAppendChildren */ "./core/src/js/helpers/almAppendChildren.js"); 1459 1460var _almAppendChildren2 = _interopRequireDefault(_almAppendChildren); 1461 1462var _tableWrap = __webpack_require__(/*! ./helpers/tableWrap */ "./core/src/js/helpers/tableWrap.js"); 1463 1464var _tableWrap2 = _interopRequireDefault(_tableWrap); 1465 1466var _getCacheUrl = __webpack_require__(/*! ./helpers/getCacheUrl */ "./core/src/js/helpers/getCacheUrl.js"); 1467 1468var _getCacheUrl2 = _interopRequireDefault(_getCacheUrl); 1469 1470var _almDomParser = __webpack_require__(/*! ./helpers/almDomParser */ "./core/src/js/helpers/almDomParser.js"); 1471 1472var _almDomParser2 = _interopRequireDefault(_almDomParser); 1473 1474var _stripEmptyNodes = __webpack_require__(/*! ./helpers/stripEmptyNodes */ "./core/src/js/helpers/stripEmptyNodes.js"); 1475 1476var _stripEmptyNodes2 = _interopRequireDefault(_stripEmptyNodes); 1477 1478var _queryParams = __webpack_require__(/*! ./helpers/queryParams */ "./core/src/js/helpers/queryParams.js"); 1479 1480var queryParams = _interopRequireWildcard(_queryParams); 1481 1482var _resultsText = __webpack_require__(/*! ./modules/resultsText */ "./core/src/js/modules/resultsText.js"); 1483 1484var resultsText = _interopRequireWildcard(_resultsText); 1485 1486var _tableofcontents = __webpack_require__(/*! ./modules/tableofcontents */ "./core/src/js/modules/tableofcontents.js"); 1487
vendor: 4,813 bytes, lines 1488-1623
1488var _setLocalizedVars = __webpack_require__(/*! ./modules/setLocalizedVars */ "./core/src/js/modules/setLocalizedVars.js"); 1489 1490var _setLocalizedVars2 = _interopRequireDefault(_setLocalizedVars); 1491 1492var _insertScript = __webpack_require__(/*! ./modules/insertScript */ "./core/src/js/modules/insertScript.js"); 1493 1494var _insertScript2 = _interopRequireDefault(_insertScript); 1495 1496var _setFocus = __webpack_require__(/*! ./modules/setFocus */ "./core/src/js/modules/setFocus.js"); 1497 1498var _setFocus2 = _interopRequireDefault(_setFocus); 1499 1500var _getButtonURL = __webpack_require__(/*! ./modules/getButtonURL */ "./core/src/js/modules/getButtonURL.js"); 1501 1502var _masonry = __webpack_require__(/*! ./modules/masonry */ "./core/src/js/modules/masonry.js"); 1503 1504var _fadeIn = __webpack_require__(/*! ./modules/fadeIn */ "./core/src/js/modules/fadeIn.js"); 1505 1506var _fadeIn2 = _interopRequireDefault(_fadeIn); 1507 1508var _fadeOut = __webpack_require__(/*! ./modules/fadeOut */ "./core/src/js/modules/fadeOut.js"); 1509 1510var _fadeOut2 = _interopRequireDefault(_fadeOut); 1511 1512var _filtering = __webpack_require__(/*! ./modules/filtering */ "./core/src/js/modules/filtering.js"); 1513 1514var _filtering2 = _interopRequireDefault(_filtering); 1515 1516var _noResults = __webpack_require__(/*! ./modules/noResults */ "./core/src/js/modules/noResults.js"); 1517 1518var _noResults2 = _interopRequireDefault(_noResults); 1519 1520var _almDebug = __webpack_require__(/*! ./modules/almDebug */ "./core/src/js/modules/almDebug.js"); 1521 1522var _almDebug2 = _interopRequireDefault(_almDebug); 1523 1524var _getScrollPercentage = __webpack_require__(/*! ./modules/getScrollPercentage */ "./core/src/js/modules/getScrollPercentage.js"); 1525 1526var _getScrollPercentage2 = _interopRequireDefault(_getScrollPercentage); 1527 1528var _srcsetPolyfill = __webpack_require__(/*! ./helpers/srcsetPolyfill */ "./core/src/js/helpers/srcsetPolyfill.js"); 1529 1530var _srcsetPolyfill2 = _interopRequireDefault(_srcsetPolyfill); 1531 1532var _placeholder = __webpack_require__(/*! ./modules/placeholder */ "./core/src/js/modules/placeholder.js"); 1533 1534var _lazyImages = __webpack_require__(/*! ./modules/lazyImages */ "./core/src/js/modules/lazyImages.js"); 1535 1536var _singleposts = __webpack_require__(/*! ./addons/singleposts */ "./core/src/js/addons/singleposts.js"); 1537 1538var _cache = __webpack_require__(/*! ./addons/cache */ "./core/src/js/addons/cache.js"); 1539 1540var _woocommerce = __webpack_require__(/*! ./addons/woocommerce */ "./core/src/js/addons/woocommerce.js"); 1541 1542var _elementor = __webpack_require__(/*! ./addons/elementor */ "./core/src/js/addons/elementor.js"); 1543 1544var _filters = __webpack_require__(/*! ./addons/filters */ "./core/src/js/addons/filters.js"); 1545 1546var _seo = __webpack_require__(/*! ./addons/seo */ "./core/src/js/addons/seo.js"); 1547 1548function _interopRequireWildcard(obj) { 1549 if (obj && obj.__esModule) { 1550 return obj; 1551 } else { 1552 var newObj = {};if (obj != null) { 1553 for (var key in obj) { 1554 if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; 1555 } 1556 }newObj.default = obj;return newObj; 1557 } 1558} 1559 1560function _interopRequireDefault(obj) { 1561 return obj && obj.__esModule ? obj : { default: obj }; 1562} 1563 1564function _toConsumableArray(arr) { 1565 if (Array.isArray(arr)) { 1566 for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { 1567 arr2[i] = arr[i]; 1568 }return arr2; 1569 } else { 1570 return Array.from(arr); 1571 } 1572} 1573 1574function _asyncToGenerator(fn) { 1575 return function () { 1576 var gen = fn.apply(this, arguments);return new Promise(function (resolve, reject) { 1577 function step(key, arg) { 1578 try { 1579 var info = gen[key](arg);var value = info.value; 1580 } catch (error) { 1581 reject(error);return; 1582 }if (info.done) { 1583 resolve(value); 1584 } else { 1585 return Promise.resolve(value).then(function (value) { 1586 step("next", value); 1587 }, function (err) { 1588 step("throw", err); 1589 }); 1590 } 1591 }return step("next"); 1592 }); 1593 }; 1594} 1595 1596/* 1597 * Ajax Load More 1598 * https://connekthq.com/plugins/ajax-load-more/ 1599 * Author: Darren Cooney 1600 * Twitter: @KaptonKaos, @ajaxloadmore, @connekthq 1601 * Copyright Connekt Media - https://connekthq.com 1602 */ 1603 1604// Polyfills 1605__webpack_require__(/*! @babel/polyfill/noConflict */ "./node_modules/@babel/polyfill/noConflict.js"); 1606__webpack_require__(/*! focus-options-polyfill */ "./node_modules/focus-options-polyfill/index.js"); 1607__webpack_require__(/*! ./helpers/polyfills.js */ "./core/src/js/helpers/polyfills.js"); 1608 1609// External Modules 1610var qs = __webpack_require__(/*! qs */ "./node_modules/qs/lib/index.js"); 1611var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/imagesloaded/imagesloaded.js"); 1612 1613_axios2.default.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 1614// Smooth scrolling polyfill 1615_smoothscrollPolyfill2.default.polyfill(); 1616 1617// ALM Modules 1618 1619//import commentReplyFix from './helpers/commentReplyFix'; 1620 1621 1622// Global filtering var 1623var alm_is_filtering = false;
1624 1625// Start ALM 1626(function () { 1627 'use strict'; 1628 1629 /** 1630 * Initiate Ajax Load More. 1631 * 1632 * @param {HTMLElement} el The Ajax Load More DOM element/container. 1633 * @param {Number} index The current index number of the Ajax Load More instance. 1634 */ 1635 1636 var ajaxloadmore = function ajaxloadmore(el, index) { 1637 // Move user to top of page to prevent loading of unnessasry posts 1638 if (alm_localize && alm_localize.scrolltop === 'true') { 1639 window.scrollTo(0, 0); 1640 } 1641 1642 //Set ALM Variables 1643 var alm = this; 1644 alm.AjaxLoadMore = {}; 1645 alm.addons = {}; 1646 alm.extensions = {}; 1647 alm.integration = {}; 1648 alm.window = window; 1649 alm.page = 0; 1650 alm.posts = 0; 1651 alm.totalposts = 0; 1652 alm.proceed = false; 1653 alm.disable_ajax = false; 1654 alm.init = true; 1655 alm.loading = true; 1656 alm.finished = false; 1657 alm.timer = null; 1658 alm.rel = 'next'; 1659 1660 alm.ua = window.navigator.userAgent ? window.navigator.userAgent : ''; // Browser User Agent 1661 alm.vendor = window.navigator.vendor ? window.navigator.vendor : ''; // Browser Vendor 1662 alm.isSafari = /Safari/i.test(alm.ua) && /Apple Computer/.test(alm.vendor) && !/Mobi|Android/i.test(alm.ua); 1663 1664 alm.master_id = el.dataset.id ? 'ajax-load-more-' + el.dataset.id : el.id; // The defined or generated ID of the ALM instance 1665 el.classList.add('alm-' + index); // Add unique classname. 1666 el.setAttribute('data-alm-id', index); // Add unique data id. 1667 1668 // Get localized <script/> variables 1669 alm.master_id = alm.master_id.replace(/-/g, '_'); // Convert dashes to underscores for the var name 1670 alm.localize = window[alm.master_id + '_vars']; // Get localize vars 1671 1672 // ALM Element Containers 1673 alm.main = el; // Top level DOM element 1674 alm.listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments'); 1675 alm.content = alm.listing; 1676 alm.el = alm.content; 1677 alm.ajax = el.querySelector('.alm-ajax'); 1678 alm.container_type = alm.listing.dataset.containerType; 1679 alm.loading_style = alm.listing.dataset.loadingStyle; 1680 1681 // Instance Params 1682 alm.canonical_url = el.dataset.canonicalUrl; 1683 alm.nested = el.dataset.nested ? el.dataset.nested : null; 1684 alm.is_search = el.dataset.search; 1685 alm.slug = el.dataset.slug; 1686 alm.post_id = el.dataset.postId; 1687 alm.id = el.dataset.id ? el.dataset.id : ''; 1688 1689 // No results template 1690 var alm_no_results = el.querySelector('.alm-no-results'); 1691 alm.no_results = alm_no_results ? alm_no_results.innerHTML : ''; 1692 1693 // Shortcode Params 1694 alm.repeater = alm.listing.dataset.repeater; // Repeaters 1695 alm.theme_repeater = alm.listing.dataset.themeRepeater; 1696 1697 alm.post_type = alm.listing.dataset.postType ? alm.listing.dataset.postType : 'post'; 1698 alm.sticky_posts = alm.listing.dataset.stickyPosts ? alm.listing.dataset.stickyPosts : null; 1699 1700 alm.btnWrap = el.querySelectorAll('.alm-btn-wrap'); // Get all `.alm-button-wrap` divs 1701 alm.btnWrap = Array.prototype.slice.call(alm.btnWrap); // Convert NodeList to array 1702 alm.btnWrap[alm.btnWrap.length - 1].style.visibility = 'visible'; // Get last element (used for nesting) 1703 alm.trigger = alm.btnWrap[alm.btnWrap.length - 1]; 1704 alm.button = alm.trigger.querySelector('button.alm-load-more-btn'); 1705 1706 alm.button_label = alm.listing.dataset.buttonLabel; 1707 alm.button_loading_label = alm.listing.dataset.buttonLoadingLabel; 1708 alm.button_done_label = alm.listing.dataset.buttonDoneLabel; 1709 1710 alm.placeholder = alm.main.querySelector('.alm-placeholder'); 1711 1712 alm.scroll_distance = alm.listing.dataset.scrollDistance; 1713 alm.scroll_distance = alm.scroll_distance ? alm.scroll_distance : 100; 1714 alm.scroll_container = alm.listing.dataset.scrollContainer; 1715 alm.scroll_direction = alm.listing.dataset.scrollDirection; 1716 alm.max_pages = alm.listing.dataset.maxPages ? parseInt(alm.listing.dataset.maxPages) : 0; 1717 alm.pause_override = alm.listing.dataset.pauseOverride; // true | false 1718 alm.pause = alm.listing.dataset.pause ? alm.listing.dataset.pause : false; // true | false 1719 alm.transition = alm.listing.dataset.transition; // Transition 1720 alm.transition_container = alm.listing.dataset.transitionContainer; // Transition Container 1721 alm.tcc = alm.listing.dataset.transitionContainerClasses; // Transition Container Classes 1722 alm.speed = alm_localize.speed ? parseInt(alm_localize.speed) : 150; 1723 alm.images_loaded = alm.listing.dataset.imagesLoaded ? alm.listing.dataset.imagesLoaded : false;
1724 alm.destroy_after = alm.listing.dataset.destroyAfter ? alm.listing.dataset.destroyAfter : ''; 1725 alm.orginal_posts_per_page = parseInt(alm.listing.dataset.postsPerPage); // Used for paging add-on 1726 alm.posts_per_page = alm.listing.dataset.postsPerPage; 1727 alm.offset = alm.listing.dataset.offset ? parseInt(alm.listing.dataset.offset) : 0; 1728 alm.lazy_images = alm.listing.dataset.lazyImages ? alm.listing.dataset.lazyImages : false; 1729 alm.integration.woocommerce = alm.listing.dataset.woocommerce ? alm.listing.dataset.woocommerce : false; 1730 alm.integration.woocommerce = alm.integration.woocommerce === 'true' ? true : false; 1731 alm.is_search = alm.is_search === undefined ? false : alm.is_search; 1732 alm.search_value = alm.is_search === 'true' ? alm.slug : ''; // Convert to value of slug for appending to seo url 1733 1734 // Add-on Shortcode Params 1735 1736 // Elementor add-on 1737 alm.addons.elementor = alm.listing.dataset.elementor === 'posts' && alm.listing.dataset.elementorSettings ? true : false; 1738 if (alm.addons.elementor) { 1739 alm = (0, _elementor.elementorCreateParams)(alm); 1740 } 1741 1742 // WooCommerce add-on 1743 alm.addons.woocommerce = alm.listing.dataset.woo && alm.listing.dataset.woo === 'true' ? true : false; 1744 if (alm.addons.woocommerce && alm.listing.dataset.wooSettings) { 1745 alm.addons.woocommerce_settings = JSON.parse(alm.listing.dataset.wooSettings); 1746 alm.addons.woocommerce_settings.results_text = document.querySelectorAll(alm.addons.woocommerce_settings.results); // Add Results Text 1747 alm.page = parseInt(alm.page) + parseInt(alm.addons.woocommerce_settings.paged); 1748 } 1749 1750 // Cache add-on 1751 alm.addons.cache = alm.listing.dataset.cache; 1752 alm.addons.cache = alm.addons.cache === undefined ? false : alm.addons.cache; 1753 if (alm.addons.cache === 'true') { 1754 alm.addons.cache_id = alm.listing.dataset.cacheId; 1755 alm.addons.cache_path = alm.listing.dataset.cachePath; 1756 alm.addons.cache_logged_in = alm.listing.dataset.cacheLoggedIn; 1757 alm.addons.cache_logged_in = alm.addons.cache_logged_in === undefined ? false : alm.addons.cache_logged_in; 1758 } 1759 1760 // CTA add-on 1761 alm.addons.cta = alm.listing.dataset.cta ? alm.listing.dataset.cta : false; 1762 if (alm.addons.cta === 'true') { 1763 alm.addons.cta_position = alm.listing.dataset.ctaPosition; 1764 alm.addons.cta_repeater = alm.listing.dataset.ctaRepeater; 1765 alm.addons.cta_theme_repeater = alm.listing.dataset.ctaThemeRepeater; 1766 } 1767 1768 // Nextpage add-on 1769 alm.addons.nextpage = alm.listing.dataset.nextpage; 1770 if (alm.addons.nextpage === 'true') { 1771 alm.addons.nextpage_urls = alm.listing.dataset.nextpageUrls; 1772 alm.addons.nextpage_scroll = alm.listing.dataset.nextpageScroll; 1773 alm.addons.nextpage_pageviews = alm.listing.dataset.nextpagePageviews; 1774 alm.addons.nextpage_post_id = alm.listing.dataset.nextpagePostId; 1775 alm.addons.nextpage_startpage = alm.listing.dataset.nextpageStartpage; 1776 alm.addons.nextpage_title_template = alm.listing.dataset.nextpageTitleTemplate; 1777 } 1778 1779 // Single Posts add-on 1780 alm.addons.single_post = alm.listing.dataset.singlePost; 1781 if (alm.addons.single_post === 'true') { 1782 alm.addons.single_post_id = alm.listing.dataset.singlePostId; 1783 alm.addons.single_post_query = alm.listing.dataset.singlePostQuery; 1784 alm.addons.single_post_order = alm.listing.dataset.singlePostOrder === undefined ? 'previous' : alm.listing.dataset.singlePostOrder; 1785 alm.addons.single_post_init_id = alm.listing.dataset.singlePostId; 1786 alm.addons.single_post_taxonomy = alm.listing.dataset.singlePostTaxonomy === undefined ? '' : alm.listing.dataset.singlePostTaxonomy; 1787 alm.addons.single_post_excluded_terms = alm.listing.dataset.singlePostExcludedTerms === undefined ? '' : alm.listing.dataset.singlePostExcludedTerms; 1788 alm.addons.single_post_progress_bar = alm.listing.dataset.singlePostProgressBar === undefined ? '' : alm.listing.dataset.singlePostProgressBar; 1789 alm.addons.single_post_target = alm.listing.dataset.singlePostTarget === undefined ? '' : alm.listing.dataset.singlePostTarget; 1790 alm.addons.single_post_preview = alm.listing.dataset.singlePostPreview === undefined ? false : true; 1791 if (alm.addons.single_post_preview) { 1792 var singlePostPreviewData = alm.listing.dataset.singlePostPreview.split(':'); 1793 alm.addons.single_post_preview_data = { 1794 button_label: singlePostPreviewData[0] ? singlePostPreviewData[0] : 'Continue Reading', 1795 height: singlePostPreviewData[1] ? singlePostPreviewData[1] : 500, 1796 element: singlePostPreviewData[2] ? singlePostPreviewData[2] : 'default', 1797 className: 'alm-single-post--preview' 1798 }; 1799 } 1800 } 1801 1802 // Comments add-on 1803 alm.addons.comments = alm.listing.dataset.comments ? alm.listing.dataset.comments : false;
1804 if (alm.addons.comments === 'true') { 1805 alm.addons.comments_post_id = alm.listing.dataset.comments_post_id; // current post id 1806 alm.addons.comments_per_page = alm.listing.dataset.comments_per_page; 1807 alm.addons.comments_per_page = alm.addons.comments_per_page === undefined ? '5' : alm.addons.comments_per_page; 1808 alm.addons.comments_type = alm.listing.dataset.comments_type; 1809 alm.addons.comments_style = alm.listing.dataset.comments_style; 1810 alm.addons.comments_template = alm.listing.dataset.comments_template; 1811 alm.addons.comments_callback = alm.listing.dataset.comments_callback; 1812 } 1813 1814 alm.addons.tabs = alm.listing.dataset.tabs; 1815 alm.addons.filters = alm.listing.dataset.filters; 1816 alm.addons.seo = alm.listing.dataset.seo; 1817 alm.addons.seo_offset = alm.listing.dataset.seoOffset; 1818 1819 // Preloaded 1820 alm.addons.preloaded = alm.listing.dataset.preloaded; // Preloaded add-on 1821 alm.addons.preloaded_amount = alm.listing.dataset.preloadedAmount ? alm.listing.dataset.preloadedAmount : 0; 1822 alm.is_preloaded = alm.listing.dataset.isPreloaded === 'true' ? true : false; 1823 1824 // Users 1825 alm.addons.users = alm.listing.dataset.users === 'true' ? true : false; // Users add-on 1826 if (alm.addons.users) { 1827 // Override paging params for users 1828 alm.orginal_posts_per_page = alm.listing.dataset.usersPerPage; 1829 alm.posts_per_page = alm.listing.dataset.usersPerPage; 1830 } 1831 1832 // Extension Shortcode Params 1833 1834 // REST API. 1835 alm.extensions.restapi = alm.listing.dataset.restapi; 1836 if (alm.extensions.restapi === 'true') { 1837 alm.extensions.restapi_base_url = alm.listing.dataset.restapiBaseUrl; 1838 alm.extensions.restapi_namespace = alm.listing.dataset.restapiNamespace; 1839 alm.extensions.restapi_endpoint = alm.listing.dataset.restapiEndpoint; 1840 alm.extensions.restapi_template_id = alm.listing.dataset.restapiTemplateId; 1841 alm.extensions.restapi_debug = alm.listing.dataset.restapiDebug; 1842 } 1843 1844 // ACF. 1845 alm.extensions.acf = alm.listing.dataset.acf; 1846 if (alm.extensions.acf === 'true') { 1847 alm.extensions.acf_field_type = alm.listing.dataset.acfFieldType; 1848 alm.extensions.acf_field_name = alm.listing.dataset.acfFieldName; 1849 alm.extensions.acf_parent_field_name = alm.listing.dataset.acfParentFieldName; 1850 alm.extensions.acf_post_id = alm.listing.dataset.acfPostId; 1851 alm.extensions.acf = alm.extensions.acf === 'true' ? true : false; 1852 // if field type, name or post ID is empty 1853 if (alm.extensions.acf_field_type === undefined || alm.extensions.acf_field_name === undefined || alm.extensions.acf_post_id === undefined) { 1854 alm.extensions.acf = false; 1855 } 1856 } 1857 1858 // Term Query. 1859 alm.extensions.term_query = alm.listing.dataset.termQuery; 1860 if (alm.extensions.term_query === 'true') { 1861 alm.extensions.term_query_taxonomy = alm.listing.dataset.termQueryTaxonomy; 1862 alm.extensions.term_query_hide_empty = alm.listing.dataset.termQueryHideEmpty; 1863 alm.extensions.term_query_number = alm.listing.dataset.termQueryNumber; 1864 alm.extensions.term_query = alm.extensions.term_query === 'true' ? true : false; 1865 } 1866 1867 // Paging. 1868 alm.addons.paging = alm.listing.dataset.paging; // Paging add-on 1869 if (alm.addons.paging === 'true') { 1870 alm.addons.paging = true; 1871 alm.addons.paging_init = true; 1872 alm.addons.paging_controls = alm.listing.dataset.pagingControls === 'true' ? true : false; 1873 alm.addons.paging_show_at_most = alm.listing.dataset.pagingShowAtMost; 1874 alm.addons.paging_classes = alm.listing.dataset.pagingClasses; 1875 alm.addons.paging_show_at_most = alm.addons.paging_show_at_most === undefined ? 7 : alm.addons.paging_show_at_most; 1876 1877 alm.addons.paging_first_label = alm.listing.dataset.pagingFirstLabel; 1878 alm.addons.paging_previous_label = alm.listing.dataset.pagingPreviousLabel; 1879 alm.addons.paging_next_label = alm.listing.dataset.pagingNextLabel; 1880 alm.addons.paging_last_label = alm.listing.dataset.pagingLastLabel; 1881 1882 alm.addons.paging_scroll = alm.listing.dataset.pagingScroll ? alm.listing.dataset.pagingScroll : false; 1883 alm.addons.paging_scrolltop = alm.listing.dataset.pagingScrolltop ? parseInt(alm.listing.dataset.pagingScrolltop) : 100; 1884 1885 // If preloaded, pause ALM 1886 alm.pause = alm.addons.preloaded === 'true' ? true : alm.pause; 1887 } else { 1888 alm.addons.paging = false;
1889 } 1890 1891 // Filters 1892 if (alm.addons.filters === 'true') { 1893 alm.addons.filters = true; 1894 alm.addons.filters_url = alm.listing.dataset.filtersUrl === 'true' ? true : false; 1895 alm.addons.filters_target = alm.listing.dataset.filtersTarget ? alm.listing.dataset.filtersTarget : false; 1896 alm.addons.filters_paging = alm.listing.dataset.filtersPaging === 'true' ? true : false; 1897 alm.addons.filters_scroll = alm.listing.dataset.filtersScroll === 'true' ? true : false; 1898 alm.addons.filters_scrolltop = alm.listing.dataset.filtersScrolltop ? alm.listing.dataset.filtersScrolltop : '30'; 1899 alm.addons.filters_analtyics = alm.listing.dataset.filtersAnalytics; 1900 alm.addons.filters_debug = alm.listing.dataset.filtersDebug; 1901 alm.addons.filters_startpage = 0; 1902 1903 // Display warning if `filters_target` parameter is missing. 1904 if (!alm.addons.filters_target) { 1905 console.warn('Ajax Load More: Unable to locate target for Filters. Make sure you set a filters_target in core Ajax Load More.'); 1906 } 1907 1908 // Get Paged Querystring Val 1909 var page = (0, _getParameterByName2.default)('pg'); 1910 alm.addons.filters_startpage = page !== null ? parseInt(page) : 0; 1911 1912 // If not Paging add-on 1913 if (!alm.addons.paging && alm.addons.filters_startpage > 0) { 1914 alm.posts_per_page = alm.posts_per_page * alm.addons.filters_startpage; 1915 alm.isPaged = alm.addons.filters_startpage > 0 ? true : false; 1916 } 1917 } else { 1918 alm.addons.filters = false; 1919 } 1920 1921 // Tabs. 1922 if (alm.addons.tabs === 'true') { 1923 alm.addons.tabs = true; 1924 alm.addons.tab_template = alm.listing.dataset.tabTemplate ? alm.listing.dataset.tabTemplate : ''; 1925 alm.addons.tab_onload = alm.listing.dataset.tabOnload ? alm.listing.dataset.tabOnload : ''; 1926 alm.addons.tabs_resturl = alm.listing.dataset.tabsRestUrl ? alm.listing.dataset.tabsRestUrl : ''; 1927 1928 // Locate active template (deeplinks) 1929 if (alm.addons.tab_onload !== '') { 1930 var tabNav = document.querySelector('.alm-tab-nav li [data-tab-url=' + alm.addons.tab_onload + ']'); 1931 alm.addons.tab_template = tabNav ? tabNav.dataset.tabTemplate : alm.addons.tab_template; 1932 alm.listing.dataset.tabOnload = ''; // Clear tabOnload param 1933 // Set selected tab 1934 if (tabNav) { 1935 var activeTab = document.querySelector('.alm-tab-nav li .active'); 1936 if (activeTab) { 1937 activeTab.classList.remove('active'); 1938 } 1939 } 1940 } 1941 } else { 1942 alm.addons.tabs = false; 1943 } 1944 /* End Tabs */ 1945 1946 /* REST API */ 1947 if (alm.extensions.restapi === 'true') { 1948 alm.extensions.restapi = true; 1949 alm.extensions.restapi_debug = alm.extensions.restapi_debug === undefined ? false : alm.extensions.restapi_debug; 1950 alm.extensions.restapi = alm.extensions.restapi_template_id === '' ? false : alm.extensions.restapi; 1951 } else { 1952 alm.extensions.restapi = false; 1953 } 1954 /* End REST API */ 1955 1956 /* Preloaded */ 1957 if (alm.addons.preloaded === 'true') { 1958 // Preloaded Amount 1959 alm.addons.preloaded_amount = alm.addons.preloaded_amount === undefined ? alm.posts_per_page : alm.addons.preloaded_amount; 1960 // Disable ALM if total_posts is less than or equal to preloaded_amount 1961 if (alm.localize && alm.localize.total_posts) { 1962 if (parseInt(alm.localize.total_posts) <= parseInt(alm.addons.preloaded_amount)) { 1963 alm.addons.preloaded_total_posts = alm.localize.total_posts; 1964 alm.disable_ajax = true; 1965 } 1966 } 1967 } else { 1968 alm.addons.preloaded = 'false'; 1969 } 1970 /* End Preloaded */ 1971 1972 /* SEO */ 1973 alm.addons.seo = alm.addons.seo === undefined ? false : alm.addons.seo; 1974 alm.addons.seo = alm.addons.seo === 'true' ? true : alm.addons.seo; 1975 1976 if (alm.addons.seo) { 1977 alm.addons.seo_permalink = alm.listing.dataset.seoPermalink; 1978 alm.addons.seo_pageview = alm.listing.dataset.seoPageview; 1979 alm.addons.seo_trailing_slash = alm.listing.dataset.seoTrailingSlash === 'false' ? '' : '/'; 1980 alm.addons.seo_leading_slash = alm.listing.dataset.seoLeadingSlash === 'true' ? '/' : ''; 1981 } 1982 alm.start_page = alm.listing.dataset.seoStartPage; 1983 1984 if (alm.start_page) { 1985 alm.addons.seo_scroll = alm.listing.dataset.seoScroll; 1986 alm.addons.seo_scrolltop = alm.listing.dataset.seoScrolltop; 1987 alm.addons.seo_controls = alm.listing.dataset.seoControls; 1988 alm.isPaged = false;
1989 if (alm.start_page > 1) { 1990 alm.isPaged = true; // Is this a paged page > 1 ? 1991 alm.posts_per_page = alm.start_page * alm.posts_per_page; 1992 } 1993 if (alm.addons.paging) { 1994 // If paging, reset posts_per_page 1995 alm.posts_per_page = alm.orginal_posts_per_page; 1996 } 1997 } else { 1998 alm.start_page = 1; 1999 } 2000 /* End SEO */ 2001 2002 /* Nextpage */ 2003 if (alm.addons.nextpage === 'true') { 2004 alm.addons.nextpage = true; 2005 alm.posts_per_page = 1; 2006 2007 if (alm.addons.nextpage_urls === undefined) { 2008 alm.addons.nextpage_urls = 'true'; 2009 } 2010 if (alm.addons.nextpage_scroll === undefined) { 2011 alm.addons.nextpage_scroll = 'false:30'; 2012 } 2013 if (alm.addons.nextpage_pageviews === undefined) { 2014 alm.addons.nextpage_pageviews = 'true'; 2015 } 2016 if (alm.addons.nextpage_post_id === undefined) { 2017 alm.addons.nextpage = false; 2018 alm.addons.nextpage_post_id = null; 2019 } 2020 if (alm.addons.nextpage_startpage === undefined) { 2021 alm.addons.nextpage_startpage = 1; 2022 } 2023 if (alm.addons.nextpage_startpage > 1) { 2024 alm.isPaged = true; 2025 } 2026 alm.addons.nextpage_postTitle = alm.listing.dataset.nextpagePostTitle; 2027 } else { 2028 alm.addons.nextpage = false; 2029 } 2030 /* End Nextpage */ 2031 2032 /* Single Post */ 2033 if (alm.addons.single_post === 'true') { 2034 alm.addons.single_post = true; 2035 alm.addons.single_post_permalink = ''; 2036 alm.addons.single_post_title = ''; 2037 alm.addons.single_post_slug = ''; 2038 alm.addons.single_post_title_template = alm.listing.dataset.singlePostTitleTemplate; 2039 alm.addons.single_post_siteTitle = alm.listing.dataset.singlePostSiteTitle; 2040 alm.addons.single_post_siteTagline = alm.listing.dataset.singlePostSiteTagline; 2041 alm.addons.single_post_pageview = alm.listing.dataset.singlePostPageview; 2042 alm.addons.single_post_scroll = alm.listing.dataset.singlePostScroll; 2043 alm.addons.single_post_scroll_speed = alm.listing.dataset.singlePostScrollSpeed; 2044 alm.addons.single_post_scroll_top = alm.listing.dataset.singlePostScrolltop; 2045 alm.addons.single_post_controls = alm.listing.dataset.singlePostControls; 2046 } else { 2047 alm.addons.single_post = false; 2048 } 2049 if (alm.addons.single_post && alm.addons.single_post_id === undefined) { 2050 alm.addons.single_post_id = ''; 2051 alm.addons.single_post_init_id = ''; 2052 } 2053 /* End Single Post */ 2054 2055 /* Pause */ 2056 if (alm.pause === undefined || alm.addons.seo && alm.start_page > 1) { 2057 // SEO only 2058 alm.pause = false; 2059 } 2060 if (alm.addons.preloaded === 'true' && alm.addons.seo && alm.start_page > 0) { 2061 // SEO + Preloaded 2062 alm.pause = false; 2063 } 2064 if (alm.addons.filters && alm.addons.filters_startpage > 0) { 2065 // Filters 2066 alm.pause = false; 2067 } 2068 if (alm.addons.preloaded === 'true' && alm.addons.paging) { 2069 alm.pause = true; 2070 } 2071 2072 /* Repeater and Theme Repeater */ 2073 alm.repeater = alm.repeater === undefined ? 'default' : alm.repeater; 2074 alm.theme_repeater = alm.theme_repeater === undefined ? false : alm.theme_repeater; 2075 2076 /* Max Pages (while scrolling) */ 2077 alm.max_pages = alm.max_pages === undefined || alm.max_pages === 0 ? 9999 : alm.max_pages; 2078 2079 /* Scroll Distance */ 2080 alm.scroll_distance = alm.scroll_distance === undefined ? 100 : alm.scroll_distance; 2081 alm.scroll_distance_perc = false; 2082 if (alm.scroll_distance.toString().indexOf('%') == -1) { 2083 // Standard scroll_distance 2084 alm.scroll_distance = parseInt(alm.scroll_distance); 2085 } else { 2086 // Percentage scroll_distance 2087 alm.scroll_distance_perc = true; 2088 alm.scroll_distance_orig = parseInt(alm.scroll_distance); 2089 alm.scroll_distance = (0, _getScrollPercentage2.default)(alm); 2090 } 2091 2092 /* Scroll Container */ 2093 alm.scroll_container = alm.scroll_container === undefined ? '' : alm.scroll_container; 2094 2095 /* Scroll Direction */ 2096 alm.scroll_direction = alm.scroll_direction === undefined ? 'vertical' : alm.scroll_direction; 2097 2098 /* Transition */ 2099 alm.transition = alm.transition === undefined ? 'fade' : alm.transition; 2100 2101 /* Transition Container Class */ 2102 alm.tcc = alm.tcc === undefined ? '' : alm.tcc; 2103 2104 /* Masonry */ 2105 if (alm.transition === 'masonry') { 2106 alm = (0, _masonry.almMasonryConfig)(alm); 2107 } 2108 2109 /* Scroll */ 2110 if (alm.listing.dataset.scroll === undefined) { 2111 alm.scroll = true; 2112 } else if (alm.listing.dataset.scroll === 'false') { 2113 alm.scroll = false;
2114 } else { 2115 alm.scroll = true; 2116 } 2117 2118 /* Transition Container */ 2119 alm.transition_container = alm.transition_container === undefined || alm.transition_container === 'true' ? true : false; 2120 2121 /* Button Labels */ 2122 alm.button_label = alm.button_label === undefined ? 'Load More' : alm.button_label; 2123 alm.button_loading_label = alm.button_loading_label === undefined ? false : alm.button_loading_label; 2124 alm.button_done_label = alm.button_done_label === undefined ? false : alm.button_done_label; 2125 2126 /* Paging */ 2127 if (alm.addons.paging) { 2128 alm.main.classList.add('loading'); // add loading class to main container 2129 } else { 2130 var almChildren = el.childNodes; // Get child nodes of instance [nodeList] 2131 if (almChildren) { 2132 var almChildArray = Array.prototype.slice.call(almChildren); // Convert nodeList to array 2133 2134 // Filter array to find the `.alm-btn-wrap` div 2135 var btnWrap = almChildArray.filter(function (element) { 2136 if (!element.classList) { 2137 // If not element (#text node) 2138 return false; 2139 } 2140 return element.classList.contains('alm-btn-wrap'); 2141 }); 2142 alm.button = btnWrap ? btnWrap[0].querySelector('.alm-load-more-btn') : container.querySelector('.alm-btn-wrap .alm-load-more-btn'); 2143 } else { 2144 alm.button = container.querySelector('.alm-btn-wrap .alm-load-more-btn'); 2145 } 2146 2147 // Reset button state 2148 alm.button.disabled = false; 2149 alm.button.style.display = ''; 2150 } 2151 2152 // Results Text 2153 // Render "Showing x of y results" text. 2154 // If woocommerce, get the default woocommerce results block 2155 if (alm.integration.woocommerce) { 2156 alm.resultsText = document.querySelectorAll('.woocommerce-result-count'); 2157 if (alm.resultsText.length < 1) { 2158 alm.resultsText = document.querySelectorAll('.alm-results-text'); 2159 } 2160 } else { 2161 alm.resultsText = document.querySelectorAll('.alm-results-text'); 2162 } 2163 if (alm.resultsText) { 2164 alm.resultsText.forEach(function (results) { 2165 results.setAttribute('aria-live', 'polite'); 2166 results.setAttribute('aria-atomic', 'true'); 2167 }); 2168 } else { 2169 alm.resultsText = false; 2170 } 2171 2172 // Table of Contents 2173 // Render 1, 2, 3 etc. when pages are loaded 2174 alm.tableofcontents = document.querySelector('.alm-toc'); 2175 if (alm.tableofcontents) { 2176 alm.tableofcontents.setAttribute('aria-live', 'polite'); 2177 alm.tableofcontents.setAttribute('aria-atomic', 'true'); 2178 } else { 2179 alm.tableofcontents = false; 2180 } 2181 2182 /** 2183 * The function to get posts via Ajax. 2184 * 2185 * @since 2.0.0 2186 */ 2187 alm.AjaxLoadMore.loadPosts = function () { 2188 if (typeof almOnChange === 'function') { 2189 window.almOnChange(alm); 2190 } 2191 2192 // Check for ajax blocker. 2193 if (alm.disable_ajax) { 2194 return; 2195 } 2196 2197 alm.loading = true; 2198 (0, _placeholder.showPlaceholder)(alm); 2199 2200 // Add `.alm-loading` class to container. 2201 alm.main.classList.add('alm-loading'); 2202 2203 // Add loading styles to buttons. 2204 if (!alm.addons.paging) { 2205 if (alm.rel === 'prev') { 2206 alm.buttonPrev.classList.add('loading'); 2207 } else { 2208 alm.button.classList.add('loading'); 2209 if (alm.button_loading_label !== false) { 2210 alm.button.innerHTML = alm.button_loading_label; 2211 } 2212 } 2213 } 2214 2215 // Cache 2216 if (alm.addons.cache === 'true' && !alm.addons.cache_logged_in) { 2217 var cache_page = (0, _getCacheUrl2.default)(alm); 2218 if (cache_page) { 2219 _axios2.default.get(cache_page).then(function (response) { 2220 // Exists 2221 alm.AjaxLoadMore.success(response.data, true); 2222 }).catch(function (error) { 2223 // Error || Page does not yet exist 2224 console.log(error); 2225 alm.AjaxLoadMore.ajax(); 2226 }); 2227 } else { 2228 // Standard ALM query 2229 alm.AjaxLoadMore.ajax(); 2230 } 2231 } else { 2232 // Standard ALM query 2233 alm.AjaxLoadMore.ajax(); 2234 } 2235 }; 2236 2237 /** 2238 * The core Ajax Load More Ajax function. 2239 * 2240 * @param {string} queryType The type of Ajax request (standard/totalposts). 2241 * @since 2.6.0 2242 */ 2243 alm.AjaxLoadMore.ajax = function () { 2244 var queryType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'standard'; 2245 2246 // Default ALM action 2247 var action = 'alm_get_posts'; 2248 2249 // ACF Params 2250 alm.acf_array = ''; 2251 if (alm.extensions.acf) { 2252 // Custom query for the Repeater / Gallery / Flexible Content field types 2253 if (alm.extensions.acf_field_type !== 'relationship') { 2254 action = 'alm_acf'; 2255 } 2256 alm.acf_array = { 2257 acf: 'true', 2258 post_id: alm.extensions.acf_post_id, 2259 field_type: alm.extensions.acf_field_type, 2260 field_name: alm.extensions.acf_field_name, 2261 parent_field_name: alm.extensions.acf_parent_field_name 2262 }; 2263 } 2264 2265 // Term Query Params 2266 alm.term_query_array = ''; 2267 if (alm.extensions.term_query) { 2268 action = 'alm_get_terms'; 2269 alm.term_query_array = { 2270 term_query: 'true', 2271 taxonomy: alm.extensions.term_query_taxonomy, 2272 hide_empty: alm.extensions.term_query_hide_empty, 2273 number: alm.extensions.term_query_number 2274 }; 2275 } 2276 2277 // Nextpage Params 2278 alm.nextpage_array = ''; 2279 if (alm.addons.nextpage) { 2280 action = 'alm_nextpage'; 2281 alm.nextpage_array = { 2282 nextpage: 'true', 2283 urls: alm.addons.nextpage_urls, 2284 scroll: alm.addons.nextpage_scroll, 2285 pageviews: alm.addons.nextpage_pageviews, 2286 post_id: alm.addons.nextpage_post_id, 2287 startpage: alm.addons.nextpage_startpage, 2288 nested: alm.nested 2289 }; 2290 } 2291 2292 // Previous Post Params 2293 alm.single_post_array = ''; 2294 if (alm.addons.single_post) { 2295 alm.single_post_array = { 2296 single_post: 'true', 2297 id: alm.addons.single_post_id, 2298 slug: alm.addons.single_post_slug 2299 }; 2300 } 2301 2302 // Comment Params 2303 alm.comments_array = ''; 2304 if (alm.addons.comments === 'true') { 2305 action = 'alm_comments'; 2306 alm.posts_per_page = alm.addons.comments_per_page; 2307 alm.comments_array = { 2308 comments: 'true', 2309 post_id: alm.addons.comments_post_id, 2310 per_page: alm.addons.comments_per_page, 2311 type: alm.addons.comments_type, 2312 style: alm.addons.comments_style, 2313 template: alm.addons.comments_template, 2314 callback: alm.addons.comments_callback 2315 }; 2316 } 2317 2318 // Users Params 2319 alm.users_array = ''; 2320 if (alm.addons.users) { 2321 action = 'alm_users'; 2322 alm.users_array = { 2323 users: 'true', 2324 role: alm.listing.dataset.usersRole, 2325 include: alm.listing.dataset.usersInclude, 2326 exclude: alm.listing.dataset.usersExclude, 2327 per_page: alm.posts_per_page, 2328 order: alm.listing.dataset.usersOrder, 2329 orderby: alm.listing.dataset.usersOrderby 2330 }; 2331 } 2332 2333 // CTA Params 2334 alm.cta_array = ''; 2335 if (alm.addons.cta === 'true') { 2336 alm.cta_array = { 2337 cta: 'true', 2338 cta_position: alm.addons.cta_position, 2339 cta_repeater: alm.addons.cta_repeater, 2340 cta_theme_repeater: alm.addons.cta_theme_repeater 2341 }; 2342 } 2343 2344 // REST API
2345 if (alm.extensions.restapi) { 2346 alm.AjaxLoadMore.restapi(alm, action, queryType); 2347 } 2348 // Tabs 2349 else if (alm.addons.tabs) { 2350 alm.AjaxLoadMore.tabs(alm); 2351 } 2352 // Standard ALM 2353 else { 2354 alm.AjaxLoadMore.adminajax(alm, action, queryType); 2355 } 2356 }; 2357 2358 /** 2359 * Send request to the admin-ajax.php 2360 * 2361 * @param {object} alm The Ajax Load More object. 2362 * @param {string} action The Ajax action. 2363 * @param {string} queryType The type of Ajax request (standard/totalposts). 2364 * @since 5.0.0 2365 */ 2366 alm.AjaxLoadMore.adminajax = function (alm, action, queryType) { 2367 // Axios Interceptor for nested data objects 2368 _axios2.default.interceptors.request.use(function (config) { 2369 config.paramsSerializer = function (params) { 2370 // Qs is already included in the Axios package 2371 return qs.stringify(params, { 2372 arrayFormat: 'brackets', 2373 encode: false 2374 }); 2375 }; 2376 return config; 2377 }); 2378 2379 // Get Ajax URL 2380 var ajaxURL = alm_localize.ajaxurl; 2381 2382 // Get data params 2383 var params = queryParams.almGetAjaxParams(alm, action, queryType); // [./helpers/queryParams.js 2384 2385 // Single Posts Add-on 2386 // If has `single_post_target`, adjust the Ajax URL to the post URL. 2387 if (alm.addons.single_post && alm.addons.single_post_target) { 2388 ajaxURL = alm.addons.single_post_permalink + '?id=' + alm.addons.single_post_id + '&alm_page=' + (parseInt(alm.page) + 1); 2389 params = ''; 2390 } 2391 2392 // WooCommerce Add-on 2393 if (alm.addons.woocommerce) { 2394 ajaxURL = (0, _getButtonURL.getButtonURL)(alm, alm.rel); 2395 params = ''; 2396 } 2397 2398 // Elementor Add-on 2399 if (alm.addons.elementor && alm.addons.elementor_type && alm.addons.elementor_type === 'posts') { 2400 ajaxURL = (0, _getButtonURL.getButtonURL)(alm, alm.rel); 2401 params = ''; 2402 } 2403 2404 // Send HTTP request via axios 2405 _axios2.default.get(ajaxURL, { params: params }).then(function (response) { 2406 // Success 2407 var data = ''; 2408 2409 if (alm.addons.single_post && alm.addons.single_post_target) { 2410 // Single Posts 2411 data = (0, _singleposts.singlePostHTML)(response, alm.addons.single_post_target); 2412 (0, _cache.createCacheFile)(alm, data.html, 'single'); 2413 } else if (alm.addons.woocommerce) { 2414 // WooCommerce 2415 data = (0, _woocommerce.wooGetContent)(response, alm); 2416 (0, _cache.createCacheFile)(alm, data.html, 'woocommerce'); 2417 } else if (alm.addons.elementor) { 2418 // Elementor 2419 data = (0, _elementor.elementorGetContent)(response, alm); 2420 (0, _cache.createCacheFile)(alm, data.html, 'elementor'); 2421 } else { 2422 // Get data from response 2423 data = response.data; 2424 } 2425 2426 // Standard Query 2427 if (queryType === 'standard') { 2428 alm.AjaxLoadMore.success(data, false); 2429 } else if (queryType === 'totalpages' && alm.addons.paging && alm.addons.nextpage) { 2430 // Next Page and Paging 2431 if (typeof almBuildPagination === 'function') { 2432 window.almBuildPagination(data.totalpages, alm); 2433 alm.totalpages = data.totalpages; 2434 } 2435 } else if (queryType === 'totalposts' && alm.addons.paging) { 2436 // Paging 2437 if (typeof almBuildPagination === 'function') { 2438 window.almBuildPagination(data.totalposts, alm); 2439 } 2440 } 2441 }).catch(function (error) { 2442 // Error 2443 alm.AjaxLoadMore.error(error, 'adminajax'); 2444 }); 2445 }; 2446 2447 /** 2448 * Ajax Load More Tab functionality. 2449 * 2450 * @param {object} alm The Ajax Load More object. 2451 * @since 5.2.0 2452 */ 2453 alm.AjaxLoadMore.tabs = function (alm) { 2454 var alm_rest_url = alm.addons.tabs_resturl + 'ajaxloadmore/tab'; 2455 2456 var params = { 2457 post_id: alm.post_id, 2458 template: alm.addons.tab_template 2459 }; 2460 2461 // Axios Interceptor for nested data objects 2462 _axios2.default.interceptors.request.use(function (config) { 2463 config.paramsSerializer = function (params) { 2464 // Qs is already included in the Axios package 2465 return qs.stringify(params, { 2466 arrayFormat: 'brackets', 2467 encode: false 2468 }); 2469 }; 2470 return config; 2471 }); 2472 2473 // Send Ajax request 2474 _axios2.default.get(alm_rest_url, { params: params }).then(function (response) { 2475 // Success 2476 var results = response.data; // Get data from response 2477 var html = results.html; 2478 2479 // Create object to pass to success() 2480 var obj = { 2481 html: html, 2482 meta: { 2483 postcount: 1, 2484 totalposts: 1 2485 } 2486 }; 2487 alm.AjaxLoadMore.success(obj, false); // Send data 2488 2489 // Callback to Tabs add-on 2490 if (typeof almTabLoaded === 'function') { 2491 window.almTabLoaded(alm); 2492 } 2493 }).catch(function (error) { 2494 // Error 2495 alm.AjaxLoadMore.error(error, 'restapi'); 2496 }); 2497 }; 2498 2499 /** 2500 * Send request to the WP REST API 2501 * 2502 * @param {object} alm The Ajax Load More object. 2503 * @param {string} action The Ajax action. 2504 * @param {string} queryType The type of Ajax request (standard/totalposts). 2505 * @since 5.0.0 2506 */ 2507 alm.AjaxLoadMore.restapi = function (alm, action, queryType) { 2508 var alm_rest_template = wp.template(alm.extensions.restapi_template_id); 2509 var alm_rest_url = alm.extensions.restapi_base_url + '/' + alm.extensions.restapi_namespace + '/' + alm.extensions.restapi_endpoint; 2510 var params = queryParams.almGetRestParams(alm); // [./helpers/queryParams.js] 2511 2512 // Axios Interceptor for nested data objects 2513 _axios2.default.interceptors.request.use(function (config) { 2514 config.paramsSerializer = function (params) { 2515 // Qs is already included in the Axios package 2516 return qs.stringify(params, { 2517 arrayFormat: 'brackets', 2518 encode: false 2519 }); 2520 }; 2521 return config; 2522 }); 2523 2524 // Send Ajax request 2525 _axios2.default.get(alm_rest_url, { params: params }).then(function (response) { 2526 // Success 2527 var results = response.data; // Get data from response 2528 var data = ''; 2529 var html = results.html; 2530 var meta = results.meta; 2531 var postcount = meta && meta.postcount ? meta.postcount : 0; 2532 var totalposts = meta && meta.totalposts ? meta.totalposts : 0; 2533 2534 // loop results to get data from each 2535 for (var i = 0; i < html.length; i++) { 2536 var result = html[i]; 2537 if (alm.restapi_debug === 'true') { 2538 // If debug 2539 console.log(result); 2540 } 2541 data += alm_rest_template(result); 2542 } 2543 2544 // Create object to pass to success() 2545 var obj = { 2546 html: data, 2547 meta: { 2548 postcount: postcount, 2549 totalposts: totalposts 2550 } 2551 }; 2552 alm.AjaxLoadMore.success(obj, false); // Send data 2553 }).catch(function (error) { 2554 // Error 2555 alm.AjaxLoadMore.error(error, 'restapi'); 2556 }); 2557 }; 2558 2559 // If pagination enabled, run totalposts query 2560 if (alm.addons.paging) { 2561 if (alm.addons.nextpage) { 2562 alm.AjaxLoadMore.ajax('totalpages'); // Create paging menu and query for total pages 2563 } else { 2564 alm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts 2565 } 2566 } 2567 2568 /** 2569 * Success function after loading data. 2570 * 2571 * @param {object} data The results of the Ajax request. 2572 * @param {boolean} is_cache Are results of the Ajax request coming from cache? 2573 * @since 2.6.0 2574 */ 2575 alm.AjaxLoadMore.success = function (data, is_cache) { 2576 var _this = this; 2577
2578 if (alm.addons.single_post) { 2579 // Get previous page data 2580 alm.AjaxLoadMore.getSinglePost(); 2581 } 2582 2583 var isPaged = false; 2584 2585 // Create `.alm-reveal` element 2586 var reveal = alm.container_type === 'table' ? document.createElement('tbody') : document.createElement('div'); 2587 alm.el = reveal; 2588 reveal.style.opacity = 0; 2589 reveal.style.height = 0; 2590 reveal.style.outline = 'none'; 2591 2592 // Paging container 2593 var pagingContent = alm.listing.querySelector('.alm-paging-content'); 2594 2595 var html = void 0, 2596 meta = void 0, 2597 total = void 0; 2598 2599 if (is_cache) { 2600 // If Cache, do not look for json data as we won't be querying the DB. 2601 html = data; 2602 } else { 2603 // Standard ALM query results 2604 html = data.html; 2605 meta = data.meta; 2606 total = meta ? parseInt(meta.postcount) : parseInt(alm.posts_per_page); 2607 2608 var totalposts = typeof meta !== 'undefined' ? meta.totalposts : alm.posts_per_page * 5; 2609 alm.totalposts = alm.addons.preloaded === 'true' ? totalposts - alm.addons.preloaded_amount : totalposts; 2610 alm.posts = alm.addons.paging ? total : alm.posts + total; 2611 alm.debug = meta.debug ? meta.debug : ''; 2612 2613 if (!meta) { 2614 // Display warning if `meta` is missing. 2615 console.warn('Ajax Load More: Unable to access `meta` object in Ajax response. There may be an issue in your Repeater Template or another hook causing interference.'); 2616 } 2617 } 2618 2619 // Set alm.html as plain text return 2620 alm.html = html; 2621 2622 // If cache, get the length of the html object 2623 total = is_cache ? (0, _almDomParser2.default)(html).length : total; 2624 2625 // First Run Only 2626 if (alm.init) { 2627 // Set Meta 2628 if (meta) { 2629 alm.main.dataset.totalPosts = meta.totalposts ? meta.totalposts : 0; 2630 } 2631 // Paging 2632 if (alm.addons.paging && total > 0) { 2633 // Add paging containers and content 2634 alm.AjaxLoadMore.pagingInit(html, 'alm-reveal'); 2635 } 2636 // ALM Empty 2637 if (total === 0) { 2638 if (alm.addons.paging) { 2639 if (typeof almPagingEmpty === 'function') { 2640 window.almPagingEmpty(alm); 2641 } 2642 } 2643 if (typeof almEmpty === 'function') { 2644 window.almEmpty(alm); 2645 } 2646 if (alm.no_results) { 2647 setTimeout(function () { 2648 (0, _noResults2.default)(alm.content, alm.no_results); 2649 }, alm.speed + 10); 2650 } 2651 } 2652 2653 // isPaged 2654 if (alm.isPaged) { 2655 // Reset the posts_per_page parameter 2656 alm.posts_per_page = alm.addons.users ? alm.listing.dataset.usersPerPage : alm.listing.dataset.postsPerPage; // Users 2657 alm.posts_per_page = alm.addons.nextpage ? 1 : alm.posts_per_page; // NextPage 2658 2659 // SEO add-on 2660 alm.page = alm.start_page ? alm.start_page - 1 : alm.page; // Set new page # 2661 2662 // Filters add-on 2663 if (alm.addons.filters) { 2664 if (alm.addons.filters_startpage > 0) { 2665 alm.page = alm.addons.filters_startpage - 1; // Set new page # 2666 alm.posts_per_page = alm.listing.dataset.postsPerPage; // Reset `filters-startpage` data after the first run 2667 } 2668 } 2669 } 2670 } 2671 2672 /** 2673 * Display alm_debug results 2674 */ 2675 2676 (0, _almDebug2.default)(alm); 2677 2678 /** 2679 * Set localized variables and Results Text 2680 */ 2681 2682 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { 2683 return regeneratorRuntime.wrap(function _callee$(_context) { 2684 while (1) { 2685 switch (_context.prev = _context.next) { 2686 case 0: 2687 _context.next = 2; 2688 return (0, _setLocalizedVars2.default)(alm); 2689 2690 case 2: 2691 case 'end': 2692 return _context.stop(); 2693 } 2694 } 2695 }, _callee, _this); 2696 }))(); 2697 2698 /** 2699 * Render results 2700 */ 2701 2702 if (total > 0) { 2703 // We have results! 2704 2705 if (!alm.addons.paging) { 2706 // Single Posts. 2707 if (alm.addons.single_post) { 2708 reveal.setAttribute('class', 'alm-reveal alm-single-post post-' + alm.addons.single_post_id + (alm.tcc ? ' ' + alm.tcc : '')); 2709 reveal.dataset.url = alm.addons.single_post_permalink; 2710 if (alm.addons.single_post_target) { 2711 reveal.dataset.page = parseInt(alm.page) + 1; 2712 } else { 2713 reveal.dataset.page = alm.page; 2714 } 2715 reveal.dataset.id = alm.addons.single_post_id; 2716 reveal.dataset.title = alm.addons.single_post_title; 2717 reveal.innerHTML = alm.html; 2718 2719 // Single Post Preview 2720 if (alm.addons.single_post_preview && alm.addons.single_post_preview_data && typeof almSinglePostCreatePreview === 'function') { 2721 var singlePreview = window.almSinglePostCreatePreview(reveal, alm.addons.single_post_id, alm.addons.single_post_preview_data); 2722 reveal.replaceChildren(singlePreview ? singlePreview : reveal); 2723 } 2724 } else { 2725 if (!alm.transition_container) { 2726 // No transition container 2727 alm.el = alm.html; 2728 reveal = alm.container_type === 'table' ? (0, _tableWrap2.default)(alm.html) : (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(alm.html, 'text/html')); 2729 } else { 2730 // Standard container 2731 var pagenum = void 0; 2732 var querystring = window.location.search; 2733 var seo_class = alm.addons.seo ? ' alm-seo' : ''; 2734 var filters_class = alm.addons.filters ? ' alm-filters' : ''; 2735 var preloaded_class = alm.is_preloaded ? ' alm-preloaded' : ''; 2736 2737 // Init, SEO and Filter Paged 2738 if (alm.init && (alm.start_page > 1 || alm.addons.filters_startpage > 0)) { 2739 // loop through items and break into separate .alm-reveal divs for paging 2740 2741 var _data = []; 2742 var container_array = []; 2743 var posts_per_page = parseInt(alm.posts_per_page); 2744 var pages = Math.ceil(total / posts_per_page); 2745 isPaged = true; 2746 2747 // Call to Actions 2748 if (alm.addons.cta === 'true') { 2749 posts_per_page = posts_per_page + 1; // Add 1 to posts_per_page for CTAs 2750 pages = Math.ceil(total / posts_per_page); // Update pages let with new posts_per_page 2751 total = pages + total; // Get new total w/ CTAs added 2752 } 2753 2754 // Parse returned HTML and strip empty nodes 2755 var _html = (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(alm.html, 'text/html')); 2756 2757 // Split data into array of individual page 2758 for (var i = 0; i < total; i += posts_per_page) { 2759 _data.push(_html.slice(i, posts_per_page + i)); 2760 } 2761 2762 // Loop data array to build .alm-reveal containers 2763 for (var k = 0; k < _data.length; k++) { 2764 var p = alm.addons.preloaded === 'true' ? 1 : 0; // Add 1 page if items are preloaded. 2765 var alm_reveal = document.createElement('div'); 2766 2767 if (k > 0 || alm.addons.preloaded === 'true') { 2768 pagenum = k + 1 + p; // > Paged 2769 2770 if (alm.addons.seo) { 2771 // SEO
2772 alm_reveal = (0, _seo.createSEOAttributes)(alm, alm_reveal, querystring, seo_class, (0, _seo.getSEOPageNum)(alm.addons.seo_offset, pagenum)); 2773 } 2774 2775 if (alm.addons.filters) { 2776 // Filters 2777 alm_reveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc); 2778 alm_reveal.dataset.url = alm.canonical_url + (0, _filters.buildFilterURL)(alm, querystring, pagenum); 2779 alm_reveal.dataset.page = pagenum; 2780 } 2781 } else { 2782 // First Page 2783 if (alm.addons.seo) { 2784 // SEO 2785 alm_reveal = (0, _seo.createSEOAttributes)(alm, alm_reveal, querystring, seo_class + preloaded_class, (0, _seo.getSEOPageNum)(alm.addons.seo_offset, 1)); 2786 } 2787 if (alm.addons.filters) { 2788 // Filters 2789 alm_reveal.setAttribute('class', 'alm-reveal' + filters_class + preloaded_class + alm.tcc); 2790 alm_reveal.dataset.url = alm.canonical_url + (0, _filters.buildFilterURL)(alm, querystring, 0); 2791 alm_reveal.dataset.page = '1'; 2792 } 2793 } 2794 2795 // Append children to `.alm-reveal` element 2796 (0, _almAppendChildren2.default)(alm_reveal, _data[k]); 2797 2798 // Run srcSet polyfill 2799 (0, _srcsetPolyfill2.default)(alm_reveal, alm.ua); 2800 2801 // Push alm_reveal elements into container_array 2802 container_array.push(alm_reveal); 2803 } 2804 2805 // Set opacity and height of .alm-listing div to allow for fadein. 2806 alm.listing.style.opacity = 0; 2807 alm.listing.style.height = 0; 2808 2809 // Append container_array to `.alm-listing` 2810 (0, _almAppendChildren2.default)(alm.listing, container_array); 2811 2812 reveal = alm.listing; 2813 alm.el = reveal; 2814 } 2815 // End Init & SEO 2816 else { 2817 // Preloaded OR SEO (and Paged) 2818 if (alm.addons.seo && alm.page > 0 || alm.addons.preloaded === 'true') { 2819 var p2 = alm.addons.preloaded === 'true' ? 1 : 0; // Add 1 page if items are preloaded. 2820 2821 // SEO [Paged] 2822 pagenum = alm.page + 1 + p2; 2823 2824 if (alm.addons.seo) { 2825 // SEO 2826 reveal = (0, _seo.createSEOAttributes)(alm, reveal, querystring, seo_class, (0, _seo.getSEOPageNum)(alm.addons.seo_offset, pagenum)); 2827 } else if (alm.addons.filters) { 2828 // Filters 2829 reveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc); 2830 reveal.dataset.url = alm.canonical_url + (0, _filters.buildFilterURL)(alm, querystring, pagenum); 2831 reveal.dataset.page = pagenum; 2832 } else { 2833 // Basic ALM 2834 reveal.setAttribute('class', 'alm-reveal' + alm.tcc); 2835 } 2836 } else if (alm.addons.filters) { 2837 // Filters 2838 reveal.setAttribute('class', 'alm-reveal' + filters_class + alm.tcc); 2839 reveal.dataset.url = alm.canonical_url + (0, _filters.buildFilterURL)(alm, querystring, parseInt(alm.page) + 1); 2840 reveal.dataset.page = parseInt(alm.page) + 1; 2841 } else { 2842 if (alm.addons.seo) { 2843 // SEO [Page 1] 2844 reveal = (0, _seo.createSEOAttributes)(alm, reveal, querystring, seo_class, (0, _seo.getSEOPageNum)(alm.addons.seo_offset, 1)); 2845 } else { 2846 // Basic ALM 2847 reveal.setAttribute('class', 'alm-reveal' + alm.tcc); 2848 } 2849 } 2850 2851 reveal.innerHTML = alm.html; 2852 } 2853 } 2854 } 2855 2856 // WooCommerce Add-on 2857 if (alm.addons.woocommerce) { 2858 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { 2859 return regeneratorRuntime.wrap(function _callee2$(_context2) { 2860 while (1) { 2861 switch (_context2.prev = _context2.next) { 2862 case 0: 2863 _context2.next = 2; 2864 return (0, _woocommerce.woocommerce)(reveal, alm, data.pageTitle); 2865 2866 case 2: 2867 (0, _woocommerce.woocommerceLoaded)(alm); 2868 2869 case 3: 2870 case 'end': 2871 return _context2.stop(); 2872 } 2873 } 2874 }, _callee2, this); 2875 }))().catch(function (e) { 2876 console.log('Ajax Load More: There was an error loading woocommerce products.', e); 2877 }); 2878 2879 alm.init = false;
2880 return; // Exit 2881 } 2882 2883 // Elementor Add-on 2884 if (alm.addons.elementor) { 2885 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { 2886 return regeneratorRuntime.wrap(function _callee3$(_context3) { 2887 while (1) { 2888 switch (_context3.prev = _context3.next) { 2889 case 0: 2890 _context3.next = 2; 2891 return (0, _elementor.elementor)(reveal, alm, data.pageTitle); 2892 2893 case 2: 2894 (0, _elementor.elementorLoaded)(alm); 2895 2896 case 3: 2897 case 'end': 2898 return _context3.stop(); 2899 } 2900 } 2901 }, _callee3, this); 2902 }))().catch(function (e) { 2903 console.log('Ajax Load More: There was an error loading Elementor items.', e); 2904 }); 2905 2906 alm.init = false; 2907 return; // Exit 2908 } 2909 2910 // Append `reveal` div to ALM Listing container 2911 // Do not append when transtion == masonry OR init and !preloaded 2912 if (alm.transition !== 'masonry' || alm.init && alm.addons.preloaded !== 'true') { 2913 if (!isPaged) { 2914 if (!alm.transition_container) { 2915 // No transition container. 2916 if (alm.images_loaded === 'true') { 2917 imagesLoaded(reveal, function () { 2918 (0, _almAppendChildren2.default)(alm.listing, reveal); 2919 2920 // Run srcSet polyfill 2921 (0, _srcsetPolyfill2.default)(alm.listing, alm.ua); 2922 }); 2923 } else { 2924 (0, _almAppendChildren2.default)(alm.listing, reveal); 2925 2926 // Run srcSet polyfill. 2927 (0, _srcsetPolyfill2.default)(alm.listing, alm.ua); 2928 } 2929 } else { 2930 // Standard container. 2931 alm.listing.appendChild(reveal); 2932 } 2933 } 2934 } 2935 2936 /** 2937 * Transitions 2938 */ 2939 2940 // Masonry 2941 if (alm.transition === 'masonry') { 2942 alm.el = alm.listing; 2943 2944 // Wrap almMasonry in anonymous async/await function 2945 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() { 2946 return regeneratorRuntime.wrap(function _callee4$(_context4) { 2947 while (1) { 2948 switch (_context4.prev = _context4.next) { 2949 case 0: 2950 _context4.next = 2; 2951 return (0, _masonry.almMasonry)(alm, alm.init, alm_is_filtering); 2952 2953 case 2: 2954 alm.masonry.init = false; 2955 2956 alm.AjaxLoadMore.triggerWindowResize(); 2957 alm.AjaxLoadMore.transitionEnd(); 2958 2959 if (typeof almComplete === 'function') { 2960 window.almComplete(alm); 2961 } 2962 2963 // Lazy load images if necessary. 2964 (0, _lazyImages.lazyImages)(alm); 2965 2966 case 7: 2967 case 'end': 2968 return _context4.stop(); 2969 } 2970 } 2971 }, _callee4, this); 2972 }))().catch(function (e) { 2973 console.log('There was an error with ALM Masonry'); 2974 }); 2975 } 2976 2977 // None 2978 else if (alm.transition === 'none' && alm.transition_container) { 2979 if (alm.images_loaded === 'true') { 2980 imagesLoaded(reveal, function () { 2981 (0, _fadeIn2.default)(reveal, 0); 2982 alm.AjaxLoadMore.transitionEnd(); 2983 }); 2984 } else { 2985 (0, _fadeIn2.default)(reveal, 0); 2986 alm.AjaxLoadMore.transitionEnd(); 2987 } 2988 } 2989 2990 // Default (Fade) 2991 else { 2992 if (alm.images_loaded === 'true') { 2993 imagesLoaded(reveal, function () { 2994 if (alm.transition_container) { 2995 (0, _fadeIn2.default)(reveal, alm.speed); 2996 } 2997 alm.AjaxLoadMore.transitionEnd(); 2998 }); 2999 } else { 3000 if (alm.transition_container) { 3001 (0, _fadeIn2.default)(reveal, alm.speed); 3002 } 3003 alm.AjaxLoadMore.transitionEnd(); 3004 } 3005 } 3006 3007 // TABS - Trigger almTabsSetHeight callback in Tabs add-on 3008 if (alm.addons.tabs && typeof almTabsSetHeight === 'function') { 3009 imagesLoaded(reveal, function () { 3010 (0, _fadeIn2.default)(alm.listing, alm.speed); 3011 setTimeout(function () { 3012 window.almTabsSetHeight(alm); 3013 }, alm.speed); 3014 }); 3015 } 3016 } else { 3017 // Paging 3018 if (!alm.init) { 3019 if (pagingContent) {
3020 (0, _fadeOut2.default)(pagingContent, alm.speed); 3021 pagingContent.style.outline = 'none'; 3022 alm.main.classList.remove('alm-loading'); 3023 3024 setTimeout(function () { 3025 pagingContent.style.opacity = 0; 3026 pagingContent.innerHTML = alm.html; 3027 3028 imagesLoaded(pagingContent, function () { 3029 // Delay for effect 3030 alm.AjaxLoadMore.triggerAddons(alm); 3031 (0, _fadeIn2.default)(pagingContent, alm.speed); 3032 3033 // Remove opacity on element to fix CSS transition 3034 setTimeout(function () { 3035 pagingContent.style.opacity = ''; 3036 3037 // Insert Script 3038 _insertScript2.default.init(pagingContent); 3039 }, parseInt(alm.speed) + 10); 3040 3041 // Paging addon 3042 if (typeof almOnPagingComplete === 'function') { 3043 window.almOnPagingComplete(alm); 3044 } 3045 }); 3046 }, parseInt(alm.speed) + 25); 3047 } 3048 } else { 3049 setTimeout(function () { 3050 alm.main.classList.remove('alm-loading'); 3051 alm.AjaxLoadMore.triggerAddons(alm); 3052 }, alm.speed); 3053 } 3054 // End Paging 3055 } 3056 3057 // ALM Loaded, run complete callbacks 3058 imagesLoaded(reveal, function () { 3059 // Nested 3060 alm.AjaxLoadMore.nested(reveal); 3061 3062 // Insert Script 3063 _insertScript2.default.init(alm.el); 3064 3065 // Trigger almComplete 3066 if (typeof almComplete === 'function' && alm.transition !== 'masonry') { 3067 window.almComplete(alm); 3068 } 3069 3070 // Lazy load images if necessary 3071 (0, _lazyImages.lazyImages)(alm); 3072 3073 // Filters Add-on Complete 3074 if (alm_is_filtering && alm.addons.filters) { 3075 if (typeof almFiltersAddonComplete === 'function') { 3076 // Filters Add-on 3077 window.almFiltersAddonComplete(el); 3078 } 3079 } 3080 alm_is_filtering = false; 3081 3082 // Tabs Complete 3083 if (alm.addons.tabs) { 3084 // Tabs Complete 3085 if (typeof almTabsComplete === 'function') { 3086 // Standard Filtering 3087 window.almTabsComplete(); 3088 } 3089 } 3090 3091 // ALM Done 3092 if (!alm.addons.cache) { 3093 // Not Cache & Single Post 3094 if (alm.posts >= alm.totalposts && !alm.addons.single_post) { 3095 alm.AjaxLoadMore.triggerDone(); 3096 } 3097 } else { 3098 // Cache 3099 if (alm.addons.nextpage && alm.localize) { 3100 // Nextpage 3101 if (parseInt(alm.localize.page) === parseInt(alm.localize.total_posts)) { 3102 alm.AjaxLoadMore.triggerDone(); 3103 } 3104 } else { 3105 if (total < parseInt(alm.posts_per_page)) { 3106 alm.AjaxLoadMore.triggerDone(); 3107 } 3108 } 3109 } 3110 // End ALM Done 3111 }); 3112 // End ALM Loaded 3113 3114 // Filters onLoad 3115 if (typeof almFiltersOnload === 'function' && alm.init) { 3116 window.almFiltersOnload(alm); 3117 } 3118 } else { 3119 /** 3120 * No results from Ajax 3121 */ 3122 3123 alm.AjaxLoadMore.noresults(); 3124 } 3125 3126 // Destroy After 3127 if (alm.destroy_after !== undefined && alm.destroy_after !== '') { 3128 var currentPage = alm.page + 1; // Add 1 because alm.page starts at 0 3129 currentPage = alm.addons.preloaded === 'true' ? currentPage++ : currentPage; // Add 1 for preloaded 3130 if (currentPage == alm.destroy_after) { 3131 // Disable ALM if page = alm.destroy_after val 3132 alm.AjaxLoadMore.destroyed(); 3133 } 3134 } 3135 3136 /** 3137 * Display Table of Contents 3138 */ 3139 3140 (0, _tableofcontents.tableOfContents)(alm, alm.init); 3141 3142 /** 3143 * Set Focus for A11y 3144 */ 3145 3146 if (alm.transition !== 'masonry') { 3147 (0, _setFocus2.default)(alm, reveal, total, alm_is_filtering); 3148 } 3149 3150 // Remove filtering class 3151 if (alm.main.classList.contains('alm-is-filtering')) { 3152 alm.main.classList.remove('alm-is-filtering'); 3153 } 3154 3155 // Set init flag 3156 alm.init = false; 3157 }; 3158 3159 /** 3160 * Function runs when no results are returned. 3161 * 3162 * @since 5.3.1 3163 */ 3164 alm.AjaxLoadMore.noresults = function () { 3165 if (!alm.addons.paging) { 3166 // Add .done class, reset btn text 3167 setTimeout(function () { 3168 alm.button.classList.remove('loading'); 3169 alm.button.classList.add('done'); 3170 }, alm.speed); 3171 alm.AjaxLoadMore.resetBtnText(); 3172 } 3173 3174 // Trigger almComplete 3175 if (typeof almComplete === 'function' && alm.transition !== 'masonry') { 3176 window.almComplete(alm); 3177 } 3178 3179 // Filters Add-on Complete 3180 if (alm_is_filtering && alm.addons.filters) { 3181 if (typeof almFiltersAddonComplete === 'function') { 3182 // Filters Add-on 3183 almFiltersAddonComplete(el); 3184 } 3185 alm_is_filtering = false;
3186 } 3187 3188 // Tabs Complete 3189 if (alm.addons.tabs) { 3190 // Tabs Complete 3191 if (typeof almTabsComplete === 'function') { 3192 // Standard Filtering 3193 almTabsComplete(); 3194 } 3195 } 3196 3197 // Masonry, clear `alm-listing` height 3198 if (alm.transition === 'masonry') { 3199 alm.content.style.height = 'auto'; 3200 } 3201 3202 alm.AjaxLoadMore.triggerDone(); // ALM Done 3203 }; 3204 3205 /** 3206 * First run for Paging + Preloaded add-ons. 3207 * Moves preloaded content into ajax container. 3208 * 3209 * @param {data} Results of the Ajax request 3210 * @since 2.11.3 3211 */ 3212 alm.AjaxLoadMore.pagingPreloadedInit = function (data) { 3213 data = data == null ? '' : data; // Check for null data object 3214 3215 // Add paging containers and content 3216 alm.AjaxLoadMore.pagingInit(data, 'alm-reveal'); 3217 3218 if (data === '') { 3219 if (typeof almPagingEmpty === 'function') { 3220 window.almPagingEmpty(alm); 3221 } 3222 if (typeof almEmpty === 'function') { 3223 window.almEmpty(alm); 3224 } 3225 if (alm.no_results) { 3226 (0, _noResults2.default)(alm.content, alm.no_results); 3227 } 3228 } 3229 }; 3230 3231 /** 3232 * First run for Paging + Next Page add-ons. 3233 * Moves .alm-nextpage content into ajax container. 3234 * 3235 * @param {data} Results of Ajax request 3236 * @since 2.14.0 3237 */ 3238 alm.AjaxLoadMore.pagingNextpageInit = function (data) { 3239 data = data == null ? '' : data; // Check for null data object 3240 3241 // Add paging containers and content 3242 alm.AjaxLoadMore.pagingInit(data, 'alm-reveal alm-nextpage'); 3243 3244 // Set up Nextpage Vars 3245 if (typeof almSetNextPageVars === 'function') { 3246 window.almSetNextPageVars(alm); // Next Page Add-on 3247 } 3248 }; 3249 3250 /** 3251 * First run for Paging to create required containers. 3252 * 3253 * @param {data} Ajax results 3254 * @param {classes} added classes 3255 * @since 5.0 3256 */ 3257 alm.AjaxLoadMore.pagingInit = function (data) { 3258 var classes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'alm-reveal'; 3259 3260 data = data == null ? '' : data; // Check for null data object. 3261 3262 // Create `alm-reveal` container. 3263 var reveal = document.createElement('div'); 3264 reveal.setAttribute('class', classes); 3265 3266 // Create `alm-paging-loading` container. 3267 var content = document.createElement('div'); 3268 content.setAttribute('class', 'alm-paging-content' + alm.tcc); 3269 content.innerHTML = data; 3270 reveal.appendChild(content); 3271 3272 // Create `alm-paging-content` container. 3273 var loader = document.createElement('div'); 3274 loader.setAttribute('class', 'alm-paging-loading'); 3275 reveal.appendChild(loader); 3276 3277 // Add div to container. 3278 alm.listing.appendChild(reveal); 3279 3280 // Get/Set height of .alm-listing div. 3281 var styles = window.getComputedStyle(alm.listing); 3282 var pTop = parseInt(styles.getPropertyValue('padding-top').replace('px', '')); 3283 var pBtm = parseInt(styles.getPropertyValue('padding-bottom').replace('px', '')); 3284 var h = reveal.offsetHeight; 3285 3286 // Set initial `.alm-listing` height. 3287 alm.listing.style.height = h + pTop + pBtm + 'px'; 3288 3289 // Insert Script. 3290 _insertScript2.default.init(reveal); 3291 3292 // Reset button text. 3293 alm.AjaxLoadMore.resetBtnText(); 3294 3295 // Delay reveal of paging to avoid positioning issues. 3296 setTimeout(function () { 3297 if (typeof almFadePageControls === 'function') { 3298 window.almFadePageControls(alm.btnWrap); 3299 } 3300 if (typeof almOnWindowResize === 'function') { 3301 window.almOnWindowResize(alm); 3302 } 3303 // Remove loading class from main container. 3304 alm.main.classList.remove('loading'); 3305 }, alm.speed); 3306 }; 3307 3308 /** 3309 * Automatically trigger nested ALM instances (Requies `.alm-reveal` container. 3310 * 3311 * @param {object} instance 3312 * @since 5.0 3313 */ 3314 alm.AjaxLoadMore.nested = function (reveal) { 3315 if (!reveal || !alm.transition_container) { 3316 return false; // Exit if not `transition_container` 3317 } 3318 var nested = reveal.querySelectorAll('.ajax-load-more-wrap'); // Get all instances 3319 if (nested) { 3320 nested.forEach(function (element) { 3321 window.almInit(element); 3322 }); 3323 } 3324 }; 3325 3326 /** 3327 * Get the Single Posts post ID via ajax. 3328 * 3329 * @since 2.7.4 3330 */ 3331 if (alm.addons.single_post_id) { 3332 alm.fetchingPreviousPost = false;
3333 alm.addons.single_post_init = true; 3334 } 3335 3336 alm.AjaxLoadMore.getSinglePost = function () { 3337 var action = 'alm_get_single'; 3338 3339 if (alm.fetchingPreviousPost) { 3340 return false; 3341 } 3342 alm.fetchingPreviousPost = true; 3343 3344 // Get Ajax URL. 3345 var ajaxURL = alm_localize.ajaxurl; 3346 3347 // Get data params 3348 var params = { 3349 id: alm.addons.single_post_id, 3350 initial_id: alm.addons.single_post_init_id, 3351 order: alm.addons.single_post_order, 3352 taxonomy: alm.addons.single_post_taxonomy, 3353 excluded_terms: alm.addons.single_post_excluded_terms, 3354 post_type: alm.post_type, 3355 init: alm.addons.single_post_init, 3356 action: action 3357 }; 3358 3359 // Send HTTP request via Axios 3360 _axios2.default.get(ajaxURL, { params: params }).then(function (response) { 3361 // Success 3362 var data = response.data; // Get data from response 3363 3364 if (data.has_previous_post) { 3365 alm.listing.dataset.singlePostId = data.prev_id; // Update single-post-id on instance 3366 alm.addons.single_post_id = data.prev_id; 3367 alm.addons.single_post_permalink = data.prev_permalink; 3368 alm.addons.single_post_title = data.prev_title; 3369 alm.addons.single_post_slug = data.prev_slug; 3370 } else { 3371 if (!data.has_previous_post) { 3372 alm.AjaxLoadMore.triggerDone(); 3373 } 3374 } 3375 if (typeof window.almSetSinglePost === 'function') { 3376 window.almSetSinglePost(alm, data.current_id, data.permalink, data.title); 3377 } 3378 alm.fetchingPreviousPost = false; 3379 alm.addons.single_post_init = false; 3380 }).catch(function (error) { 3381 // Error 3382 alm.AjaxLoadMore.error(error, 'getSinglePost'); 3383 alm.fetchingPreviousPost = false; 3384 }); 3385 }; 3386 3387 /** 3388 * Triggers various add-on functions (if available) after load complete. 3389 * 3390 * @since 2.14.0 3391 */ 3392 alm.AjaxLoadMore.triggerAddons = function (alm) { 3393 if (typeof almSetNextPage === 'function' && alm.addons.nextpage) { 3394 // Next Page 3395 window.almSetNextPage(alm); 3396 } 3397 if (typeof almSEO === 'function' && alm.addons.seo) { 3398 // SEO 3399 window.almSEO(alm, false); 3400 } 3401 if (typeof almWooCommerce === 'function' && alm.addons.woocommerce) { 3402 // WooCommerce 3403 window.almWooCommerce(alm); 3404 } 3405 if (typeof almElementor === 'function' && alm.addons.elementor) { 3406 // Elementor 3407 window.almElementor(alm); 3408 } 3409 }; 3410 3411 /** 3412 * Fires a set of actions and functions when ALM has no other posts to load. 3413 * 3414 * @since 2.11.3 3415 */ 3416 alm.AjaxLoadMore.triggerDone = function () { 3417 alm.loading = false; 3418 alm.finished = true; 3419 (0, _placeholder.hidePlaceholder)(alm); 3420 3421 if (!alm.addons.paging) { 3422 // Update button text 3423 if (alm.button_done_label !== false) { 3424 setTimeout(function () { 3425 alm.button.innerHTML = alm.button_done_label; 3426 }, 75); 3427 } 3428 3429 alm.button.classList.add('done'); 3430 alm.button.removeAttribute('rel'); 3431 alm.button.disabled = true; 3432 } 3433 3434 // almDone 3435 if (typeof almDone === 'function') { 3436 // Delay done until animations complete 3437 setTimeout(function () { 3438 window.almDone(alm); 3439 }, alm.speed + 10); 3440 } 3441 }; 3442 3443 /** 3444 * Fires a set of actions once ALm Previous hits the first page. 3445 * 3446 * @since 5.5.0 3447 */ 3448 alm.AjaxLoadMore.triggerDonePrev = function () { 3449 alm.loading = false; 3450 (0, _placeholder.hidePlaceholder)(alm); 3451 3452 if (!alm.addons.paging) { 3453 // Update button text 3454 // if (alm.button_done_label !== false) { 3455 // setTimeout(function () { 3456 // alm.button.innerHTML = alm.button_done_label; 3457 // }, 75); 3458 // } 3459 3460 alm.buttonPrev.classList.add('done'); 3461 alm.buttonPrev.removeAttribute('rel'); 3462 alm.buttonPrev.disabled = true; 3463 } 3464 3465 // almDonePrev 3466 if (typeof almDonePrev === 'function') { 3467 // Delay done until animations complete 3468 setTimeout(function () { 3469 window.almDonePrev(alm); 3470 }, alm.speed + 10); 3471 } 3472 }; 3473 3474 /** 3475 * Resets the loading button text after loading has completed. 3476 * 3477 * @since 2.8.4 3478 */ 3479 alm.AjaxLoadMore.resetBtnText = function () { 3480 if (alm.button_loading_label !== false && !alm.addons.paging) { 3481 alm.button.innerHTML = alm.button_label; 3482 } 3483 }; 3484 3485 /** 3486 * Error function after failed data attempt. 3487 * 3488 * @since 2.6.0 3489 */ 3490 alm.AjaxLoadMore.error = function (error) { 3491 var location = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 3492 3493 alm.loading = false;
3494 if (!alm.addons.paging) { 3495 alm.button.classList.remove('loading'); 3496 alm.AjaxLoadMore.resetBtnText(); 3497 } 3498 3499 console.log('Error: ', error); 3500 if (error.response) { 3501 // The request was made and the server responded with a status code 3502 // that falls out of the range of 2xx 3503 //console.log(error.response.data); 3504 //console.log(error.response.status); 3505 //console.log(error.response.headers); 3506 console.log('Error Msg: ', error.message); 3507 } else if (error.request) { 3508 // The request was made but no response was received 3509 // `error.request` is an instance of XMLHttpRequest in the browser and an instance of 3510 // http.ClientRequest in node.js 3511 console.log(error.request); 3512 } else { 3513 // Something happened in setting up the request that triggered an Error 3514 console.log('Error Msg: ', error.message); 3515 } 3516 3517 if (location) { 3518 console.log('ALM Error started in ' + location); 3519 } 3520 3521 if (error.config) { 3522 console.log('ALM Error Debug: ', error.config); 3523 } 3524 }; 3525 3526 /** 3527 * Button click handler to load posts. 3528 * 3529 * @param {Object} e The target button element. 3530 * @since 4.2.0 3531 */ 3532 alm.AjaxLoadMore.click = function (e) { 3533 var button = e.target || e.currentTarget; 3534 alm.rel = 'next'; 3535 if (alm.pause === 'true') { 3536 alm.pause = false; 3537 alm.pause_override = false; 3538 alm.AjaxLoadMore.loadPosts(); 3539 } 3540 if (!alm.loading && !alm.finished && !button.classList.contains('done')) { 3541 alm.loading = true; 3542 alm.page++; 3543 alm.AjaxLoadMore.loadPosts(); 3544 } 3545 button.blur(); // Remove button focus 3546 }; 3547 3548 /** 3549 * Button click handler for previous load more. 3550 * 3551 * @param {Object} e The target button element. 3552 * @since 5.5.0 3553 */ 3554 alm.AjaxLoadMore.prevClick = function (e) { 3555 var button = e.target || e.currentTarget; 3556 e.preventDefault(); 3557 if (!alm.loading && !button.classList.contains('done')) { 3558 alm.loading = true; 3559 alm.pagePrev--; 3560 alm.rel = 'prev'; 3561 alm.AjaxLoadMore.loadPosts(); 3562 button.blur(); // Remove button focus 3563 } 3564 }; 3565 3566 /** 3567 * Set the Load Previous button to alm object. 3568 * 3569 * @param {HTMLElement} button The button element. 3570 * @since 5.5.0 3571 */ 3572 alm.AjaxLoadMore.setPreviousButton = function (button) { 3573 alm.pagePrev = alm.page; 3574 alm.buttonPrev = button; 3575 }; 3576 3577 /** 3578 * Load More button click event handler. 3579 * 3580 * @since 1.0.0 3581 */ 3582 if (!alm.addons.paging && !alm.fetchingPreviousPost) { 3583 alm.button.onclick = alm.AjaxLoadMore.click; 3584 } 3585 3586 /** 3587 * Window resize functions for Paging, Scroll Distance Percentage, Tabs etc. 3588 * 3589 * @since 2.1.2 3590 * @updated 5.2 3591 */ 3592 if (alm.addons.paging || alm.addons.tabs || alm.scroll_distance_perc || alm.scroll_direction === 'horizontal') { 3593 var resize = void 0; 3594 alm.window.onresize = function () { 3595 clearTimeout(resize); 3596 resize = setTimeout(function (e) { 3597 if (alm.addons.tabs) { 3598 // Tabs 3599 if (typeof almOnTabsWindowResize === 'function') { 3600 window.almOnTabsWindowResize(alm); 3601 } 3602 } 3603 if (alm.addons.paging) { 3604 // Paging 3605 if (typeof almOnWindowResize === 'function') { 3606 window.almOnWindowResize(alm); 3607 } 3608 } 3609 if (alm.scroll_distance_perc) { 3610 alm.scroll_distance = (0, _getScrollPercentage2.default)(alm); 3611 } 3612 if (alm.scroll_direction === 'horizontal') { 3613 alm.AjaxLoadMore.horizontal(); 3614 } 3615 }, alm.speed); 3616 }; 3617 } 3618 3619 /** 3620 * Check to see if element is visible before loading posts. 3621 * 3622 * @since 2.1.2 3623 */ 3624 alm.AjaxLoadMore.isVisible = function () { 3625 // Check for a width and height to determine visibility 3626 alm.visible = alm.main.clientWidth > 0 && alm.main.clientHeight > 0 ? true : false; 3627 return alm.visible; 3628 }; 3629 3630 /** 3631 * Trigger a window resize browser function. 3632 * 3633 * @since 5.3.1 3634 */ 3635 alm.AjaxLoadMore.triggerWindowResize = function () { 3636 if (typeof Event === 'function') { 3637 // modern browsers 3638 window.dispatchEvent(new Event('resize')); 3639 } else { 3640 //This will be executed on old browsers and especially IE 3641 var resizeEvent = window.document.createEvent('UIEvents'); 3642 resizeEvent.initUIEvent('resize', true, false, window, 0); 3643 window.dispatchEvent(resizeEvent); 3644 } 3645 }; 3646 3647 /** 3648 * Load posts as user scrolls the page. 3649 * 3650 * @since 1.0 3651 * @updated 4.2.0 3652 */ 3653 alm.AjaxLoadMore.scroll = function () { 3654 if (alm.timer) { 3655 clearTimeout(alm.timer); 3656 } 3657 3658 alm.timer = setTimeout(function () { 3659 if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) { 3660 var trigger = alm.trigger.getBoundingClientRect(); 3661 var btnPos = Math.round(trigger.top - alm.window.innerHeight) + alm.scroll_distance; 3662 var scrollTrigger = btnPos <= 0 ? true : false;
3663 3664 // Scroll Container 3665 if (alm.window !== window) { 3666 var scrollHeight = alm.main.offsetHeight; // ALM height 3667 var scrollWidth = alm.main.offsetWidth; // ALM Width 3668 var scrollPosition = ''; 3669 3670 if (alm.scroll_direction === 'horizontal') { 3671 // Left/Right 3672 alm.AjaxLoadMore.horizontal(); 3673 scrollPosition = Math.round(alm.window.scrollLeft + alm.window.offsetWidth - alm.scroll_distance); // How far user has scrolled 3674 scrollTrigger = scrollWidth <= scrollPosition ? true : false; 3675 } else { 3676 // Up/Down 3677 scrollPosition = Math.round(alm.window.scrollTop + alm.window.offsetHeight - alm.scroll_distance); // How far user has scrolled 3678 scrollTrigger = scrollHeight <= scrollPosition ? true : false; 3679 } 3680 } 3681 3682 // If Pause && Pause Override 3683 if (!alm.loading && !alm.finished && scrollTrigger && alm.page < alm.max_pages - 1 && alm.proceed && alm.pause === 'true' && alm.pause_override === 'true') { 3684 alm.button.click(); 3685 } 3686 3687 // Standard Scroll 3688 else { 3689 if (!alm.loading && !alm.finished && scrollTrigger && alm.page < alm.max_pages - 1 && alm.proceed && alm.pause !== 'true') { 3690 alm.button.click(); 3691 } 3692 } 3693 } 3694 }, 25); 3695 }; 3696 3697 /** 3698 * Add scroll eventlisteners, only when needed. 3699 * 3700 * @since 5.2.0 3701 */ 3702 alm.AjaxLoadMore.scrollSetup = function () { 3703 if (alm.scroll && !alm.addons.paging) { 3704 if (alm.scroll_container !== '') { 3705 // Scroll Container 3706 alm.window = document.querySelector(alm.scroll_container) ? document.querySelector(alm.scroll_container) : alm.window; 3707 setTimeout(function () { 3708 // Delay to allow for ALM container to resize on load. 3709 alm.AjaxLoadMore.horizontal(); 3710 }, 500); 3711 } 3712 alm.window.addEventListener('scroll', alm.AjaxLoadMore.scroll); // Scroll 3713 alm.window.addEventListener('touchstart', alm.AjaxLoadMore.scroll); // Touch Devices 3714 alm.window.addEventListener('wheel', function (e) { 3715 // Mousewheel 3716 var direction = Math.sign(e.deltaY); 3717 if (direction > 0) { 3718 alm.AjaxLoadMore.scroll(); 3719 } 3720 }); 3721 alm.window.addEventListener('keyup', function (e) { 3722 // End, Page Down 3723 var code = e.key ? e.key : e.code; 3724 switch (code) { 3725 case 35: 3726 case 34: 3727 alm.AjaxLoadMore.scroll(); 3728 break; 3729 } 3730 }); 3731 } 3732 }; 3733 3734 /** 3735 * Configure horizontal scroll settings. 3736 * 3737 * @since 5.3.6 3738 */ 3739 alm.AjaxLoadMore.horizontal = function () { 3740 if (alm.scroll_direction === 'horizontal') { 3741 alm.main.style.width = alm.listing.offsetWidth + 'px'; 3742 } 3743 }; 3744 3745 /** 3746 * Destroy Ajax Load More functionality. 3747 * 3748 * @since 3.4.2 3749 */ 3750 alm.AjaxLoadMore.destroyed = function () { 3751 alm.disable_ajax = true; 3752 if (!alm.addons.paging) { 3753 alm.button.style.display = 'none'; 3754 alm.AjaxLoadMore.triggerDone(); 3755 if (typeof almDestroyed === 'function') { 3756 window.almDestroyed(alm); 3757 } 3758 } 3759 }; 3760 3761 /** 3762 * Set variables after loading transiton completes. 3763 * 3764 * @since 3.5 3765 */ 3766 alm.AjaxLoadMore.transitionEnd = function () { 3767 setTimeout(function () { 3768 alm.AjaxLoadMore.resetBtnText(); 3769 alm.main.classList.remove('alm-loading'); 3770 // Loading button 3771 if (alm.rel === 'prev') { 3772 alm.buttonPrev.classList.remove('loading'); 3773 } else { 3774 alm.button.classList.remove('loading'); 3775 } 3776 alm.AjaxLoadMore.triggerAddons(alm); 3777 if (!alm.addons.paging) { 3778 setTimeout(function () { 3779 alm.loading = false; // Delay to prevent loading to fast 3780 }, alm.speed * 3); 3781 } 3782 }, 50); 3783 (0, _placeholder.hidePlaceholder)(alm); 3784 }; 3785 3786 /** 3787 * Set individual localized variable. 3788 * 3789 * @param {string} name 3790 * @param {string} value 3791 * @since 4.1 3792 */ 3793 alm.AjaxLoadMore.setLocalizedVar = function () { 3794 var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 3795 var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; 3796 3797 if (alm.localize && name !== '' && value !== '') { 3798 alm.localize[name] = value.toString(); // Set ALM localize var 3799 window[alm.master_id + '_vars'][name] = value.toString(); // Update global window obj vars 3800 } 3801 }; 3802 3803 /** 3804 * Init Ajax load More functionality and add-ons. 3805 * 3806 * @since 2.0 3807 */ 3808 alm.AjaxLoadMore.init = function () { 3809 // Preloaded and destroy_after is 1
3810 if (alm.addons.preloaded === 'true' && alm.destroy_after == 1) { 3811 alm.AjaxLoadMore.destroyed(); 3812 } 3813 3814 if (!alm.addons.paging && !alm.addons.single_post) { 3815 if (alm.disable_ajax) { 3816 alm.finished = true; 3817 alm.button.classList.add('done'); 3818 } else { 3819 // Set button label. 3820 alm.button.innerHTML = alm.button_label; 3821 // If Pause. 3822 if (alm.pause === 'true') { 3823 alm.loading = false; 3824 } else { 3825 alm.AjaxLoadMore.loadPosts(); 3826 } 3827 } 3828 } 3829 3830 // Single Post Add-on 3831 if (alm.addons.single_post) { 3832 alm.AjaxLoadMore.getSinglePost(); // Set next post on load 3833 alm.loading = false; 3834 3835 // Trigger done if custom query and no posts to render 3836 if (alm.addons.single_post_query && alm.addons.single_post_order === '') { 3837 alm.AjaxLoadMore.triggerDone(); 3838 } 3839 3840 // Display Table of Contents 3841 (0, _tableofcontents.tableOfContents)(alm, true, true); 3842 } 3843 3844 // Preloaded + SEO && !Paging 3845 if (alm.addons.preloaded === 'true' && alm.addons.seo && !alm.addons.paging) { 3846 // Delay for scripts to load 3847 setTimeout(function () { 3848 if (typeof almSEO === 'function' && alm.start_page < 1) { 3849 window.almSEO(alm, true); 3850 } 3851 }, alm.speed); 3852 } 3853 3854 // Preloaded && !Paging 3855 if (alm.addons.preloaded === 'true' && !alm.addons.paging) { 3856 // Delay for scripts to load 3857 setTimeout(function () { 3858 // triggerDone 3859 if (alm.addons.preloaded_total_posts <= parseInt(alm.addons.preloaded_amount)) { 3860 alm.AjaxLoadMore.triggerDone(); 3861 } 3862 // almEmpty 3863 if (alm.addons.preloaded_total_posts == 0) { 3864 if (typeof almEmpty === 'function') { 3865 window.almEmpty(alm); 3866 } 3867 if (alm.no_results) { 3868 (0, _noResults2.default)(alm.content, alm.no_results); 3869 } 3870 } 3871 }, alm.speed); 3872 } 3873 3874 // Preloaded Add-on ONLY 3875 if (alm.addons.preloaded === 'true') { 3876 if (alm.resultsText) { 3877 resultsText.almInitResultsText(alm, 'preloaded'); 3878 } 3879 3880 // Display Table of Contents 3881 (0, _tableofcontents.tableOfContents)(alm, alm.init, true); 3882 } 3883 3884 // Next Page Add-on 3885 if (alm.addons.nextpage) { 3886 // Check that posts remain on load 3887 if (alm.listing.querySelector('.alm-nextpage') && !alm.addons.paging) { 3888 var nextpage_pages = alm.listing.querySelectorAll('.alm-nextpage'); // All Next Page Items 3889 3890 if (nextpage_pages) { 3891 var nextpage_first = nextpage_pages[0]; 3892 var nextpage_total = nextpage_first.dataset.totalPosts ? parseInt(nextpage_first.dataset.totalPosts) : alm.localize.total_posts; 3893 3894 // Disable if last page loaded 3895 if (nextpage_pages.length === nextpage_total || parseInt(nextpage_first.dataset.id) === nextpage_total) { 3896 alm.AjaxLoadMore.triggerDone(); 3897 } 3898 } 3899 } 3900 3901 // Results Text. 3902 if (alm.resultsText) { 3903 resultsText.almInitResultsText(alm, 'nextpage'); 3904 } 3905 3906 // Display Table of Contents 3907 (0, _tableofcontents.tableOfContents)(alm, alm.init, true); 3908 } 3909 3910 // WooCommerce Add-on. 3911 if (alm.addons.woocommerce) { 3912 (0, _woocommerce.wooInit)(alm); 3913 3914 // Trigger `Done` if `paged is less than `pages`. 3915 if (alm.addons.woocommerce_settings.paged >= parseInt(alm.addons.woocommerce_settings.pages)) { 3916 alm.AjaxLoadMore.triggerDone(); 3917 } 3918 } 3919 3920 // Elementor Add-on. 3921 if (alm.addons.elementor && alm.addons.elementor_type && alm.addons.elementor_type === 'posts') { 3922 (0, _elementor.elementorInit)(alm); 3923 3924 // Trigger `Done` if `elementor_next_page_url` is empty 3925 if (alm.addons.elementor_next_page_url === '') { 3926 alm.AjaxLoadMore.triggerDone(); 3927 } 3928 } 3929 3930 // Window Load (Masonry + Preloaded). 3931 alm.window.addEventListener('load', function () { 3932 if (alm.transition === 'masonry' && alm.addons.preloaded === 'true') { 3933 // Wrap almMasonry in anonymous async/await function 3934 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() { 3935 return regeneratorRuntime.wrap(function _callee5$(_context5) { 3936 while (1) { 3937 switch (_context5.prev = _context5.next) { 3938 case 0: 3939 _context5.next = 2; 3940 return (0, _masonry.almMasonry)(alm, true, false); 3941 3942 case 2: 3943 alm.masonry.init = false;
3944 3945 case 3: 3946 case 'end': 3947 return _context5.stop(); 3948 } 3949 } 3950 }, _callee5, this); 3951 }))().catch(function (e) { 3952 console.log('There was an error with ALM Masonry'); 3953 }); 3954 } 3955 if (typeof almOnLoad === 'function') { 3956 window.almOnLoad(alm); 3957 } 3958 }); 3959 }; 3960 3961 /** 3962 * Update Current Page. 3963 * Callback function triggered from paging add-on. 3964 * 3965 * @since 2.7.0 3966 */ 3967 window.almUpdateCurrentPage = function (current, obj, alm) { 3968 alm.page = current; 3969 alm.page = alm.addons.nextpage && !alm.addons.paging ? alm.page - 1 : alm.page; // Next Page add-on 3970 3971 var data = ''; 3972 var target = ''; 3973 3974 if (alm.addons.paging_init && alm.addons.preloaded === 'true') { 3975 // Paging + Preloaded Firstrun 3976 target = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage'); 3977 if (target) { 3978 data = target.innerHTML; // Get content 3979 target.parentNode.removeChild(target); // Remove target 3980 alm.addons.preloaded_amount = 0; // Reset preloaded 3981 alm.AjaxLoadMore.pagingPreloadedInit(data); 3982 } 3983 alm.addons.paging_init = false; 3984 alm.init = false; 3985 } else if (alm.addons.paging_init && alm.addons.nextpage) { 3986 // Paging + Next Page on firstrun 3987 target = alm.listing.querySelector('.alm-reveal') || alm.listing.querySelector('.alm-nextpage'); 3988 if (target) { 3989 data = target.innerHTML; // Get content 3990 target.parentNode.removeChild(target); // Remove target 3991 alm.AjaxLoadMore.pagingNextpageInit(data); 3992 } 3993 alm.addons.paging_init = false; 3994 alm.init = false; 3995 } else { 3996 // Standard Paging 3997 alm.AjaxLoadMore.loadPosts(); 3998 } 3999 }; 4000 4001 /** 4002 * Get the parent ALM container. 4003 * 4004 * @since 2.7.0 4005 * @return element 4006 */ 4007 window.almGetParentContainer = function () { 4008 return alm.listing; 4009 }; 4010 4011 /** 4012 * Returns the current ALM obj. 4013 * 4014 * @param {string} specific obj 4015 * @since 2.7.0 4016 * @return object 4017 */ 4018 window.almGetObj = function () { 4019 var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 4020 4021 if (obj !== '') { 4022 return alm[obj]; // Return specific param 4023 } else { 4024 return alm; // Return the entire alm object 4025 } 4026 }; 4027 4028 /** 4029 * Trigger ajaxloadmore from any element on page. 4030 * 4031 * @since 2.12.0 4032 */ 4033 window.almTriggerClick = function () { 4034 alm.button.click(); 4035 }; 4036 4037 // Flag to prevent loading of posts on initial page load. 4038 setTimeout(function () { 4039 alm.proceed = true; 4040 alm.AjaxLoadMore.scrollSetup(); 4041 }, 500); 4042 4043 // Init Ajax Load More
4044 alm.AjaxLoadMore.init(); 4045 }; 4046 4047 // End ajaxloadmore 4048 4049 /** 4050 * Initiate instance of Ajax load More 4051 * 4052 * @since 5.0 4053 */ 4054 window.almInit = function (el) { 4055 var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; 4056 4057 new ajaxloadmore(el, id); 4058 }; 4059 4060 /** 4061 * Initiate Ajax load More if div is present on screen 4062 * 4063 * @since 2.1.2 4064 */ 4065 var alm_instances = document.querySelectorAll('.ajax-load-more-wrap'); 4066 if (alm_instances.length) { 4067 [].concat(_toConsumableArray(alm_instances)).forEach(function (alm, index) { 4068 new ajaxloadmore(alm, index); 4069 }); 4070 } 4071})(); 4072 4073/** 4074 * Filter an Ajax Load More instance. 4075 * 4076 * @since 5.0 4077 * @param {*} transition 4078 * @param {*} speed 4079 * @param {*} data 4080 */ 4081var filter = function filter() { 4082 var transition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fade'; 4083 var speed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '200'; 4084 var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; 4085 4086 if (!transition || !speed || !data) { 4087 return false; 4088 } 4089 alm_is_filtering = true; 4090 (0, _filtering2.default)(transition, speed, data, 'filter'); 4091}; 4092exports.filter = filter; 4093 4094/** 4095 * Reset an Ajax Load More instance. 4096 * 4097 * @since 5.3.8 4098 * @param {*} target 4099 */ 4100 4101var reset = function reset() { 4102 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; 4103 4104 var data = {}; 4105 alm_is_filtering = true; 4106 4107 if (props && props.target) { 4108 data = { 4109 target: target 4110 }; 4111 } 4112 4113 if (props && props.type === 'woocommerce') { 4114 // WooCommerce 4115 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() { 4116 var instance, settings; 4117 return regeneratorRuntime.wrap(function _callee6$(_context6) { 4118 while (1) { 4119 switch (_context6.prev = _context6.next) { 4120 case 0: 4121 instance = document.querySelector('.ajax-load-more-wrap .alm-listing[data-woo="true"]'); // Get ALM instance 4122 4123 _context6.next = 3; 4124 return (0, _woocommerce.wooReset)(); 4125 4126 case 3: 4127 settings = _context6.sent; 4128 // Get WooCommerce `settings` via Ajax 4129 if (settings) { 4130 instance.dataset.wooSettings = settings; // Update data atts 4131 (0, _filtering2.default)('fade', '100', data, 'filter'); 4132 } 4133 4134 case 5: 4135 case 'end': 4136 return _context6.stop(); 4137 } 4138 } 4139 }, _callee6, this); 4140 }))().catch(function () { 4141 console.warn('Ajax Load More: There was an resetting the Ajax Load More instance.'); 4142 }); 4143 } else { 4144 // Standard ALM 4145 (0, _filtering2.default)('fade', '200', data, 'filter'); 4146 } 4147}; 4148exports.reset = reset; 4149 4150/** 4151 * Tabbed content for Ajax Load More instance. 4152 * 4153 * @since 5.2 4154 * @param {*} data 4155 * @param {*} url 4156 */ 4157 4158var tab = function tab() { 4159 var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 4160 var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; 4161 4162 var transition = 'fade'; 4163 var speed = alm_localize.speed ? parseInt(alm_localize.speed) : 200; 4164 4165 if (!data) { 4166 return false; 4167 } 4168 4169 alm_is_filtering = true; 4170 (0, _filtering2.default)(transition, speed, data, 'tab'); 4171}; 4172exports.tab = tab; 4173 4174/** 4175 * Track Page Views in Google Analytics. 4176 * 4177 * @since 5.0 4178 * @param {*} path 4179 */ 4180 4181var tracking = function tracking(path) { 4182 setTimeout(function () { 4183 // Delay to allow for state change. 4184 path = path.replace(/\/\//g, '/'); // Replace instance of a double backslash. 4185 4186 if (typeof gtag === 'function') { 4187 // Gtag GA Tracking 4188 gtag('event', 'page_view', { 4189 page_title: document.title, 4190 page_location: window.location.href, 4191 page_path: window.location.pathname 4192 }); 4193 if (alm_localize.ga_debug) { 4194 console.log('Pageview sent to Google Analytics (gtag)'); 4195 } 4196 } 4197 4198 if (typeof ga === 'function') { 4199 // Deprecated GA Tracking 4200 ga('set', 'page', path); 4201 ga('send', 'pageview'); 4202 if (alm_localize.ga_debug) { 4203 console.log('Pageview sent to Google Analytics (ga)'); 4204 } 4205 } 4206 4207 if (typeof __gaTracker === 'function') { 4208 // Monster Insights 4209 __gaTracker('set', 'page', path); 4210 __gaTracker('send', 'pageview'); 4211 if (alm_localize.ga_debug) { 4212 console.log('Pageview sent to Google Analytics (__gaTracker)'); 4213 } 4214 } 4215 4216 // Dispatch global Analytics callback 4217 if (typeof almAnalytics === 'function') { 4218 window.almAnalytics(path); 4219 } 4220 }, 200); 4221}; 4222exports.tracking = tracking; 4223 4224/** 4225 * Trigger Ajax Load More from other events. 4226 * 4227 * @since 5.0 4228 * @param {*} el 4229 */ 4230 4231var start = function start(el) { 4232 if (!el) { 4233 return false;
4234 } 4235 window.almInit(el); 4236}; 4237exports.start = start; 4238 4239/** 4240 * Scroll window to position (global function). 4241 * 4242 * @since 5.0 4243 * @param {*} position 4244 */ 4245 4246var almScroll = function almScroll(position) { 4247 if (!position) { 4248 return false; 4249 } 4250 window.scrollTo({ 4251 top: position, 4252 behavior: 'smooth' 4253 }); 4254}; 4255exports.almScroll = almScroll; 4256 4257/** 4258 * Get the current top/left coordinates of an element relative to the document. 4259 * 4260 * @since 5.0 4261 * @param {*} el 4262 */ 4263 4264var getOffset = function getOffset() { 4265 var el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; 4266 4267 if (!el) { 4268 return false; 4269 } 4270 var rect = el.getBoundingClientRect(), 4271 scrollLeft = window.pageXOffset || document.documentElement.scrollLeft, 4272 scrollTop = window.pageYOffset || document.documentElement.scrollTop; 4273 return { top: rect.top + scrollTop, left: rect.left + scrollLeft }; 4274}; 4275exports.getOffset = getOffset; 4276 4277/** 4278 * ALM Render (in progress) 4279 * 4280 * @since 5.0 4281 */ 4282 4283var render = function render(el) { 4284 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 4285 4286 if (!el) { 4287 return false; 4288 } 4289 // console.log(el, options); 4290}; 4291exports.render = render; 4292 4293/***/ }), 4294
4295/***/ "./core/src/js/helpers/almAppendChild.js": 4296/*!***********************************************!*\ 4297 !*** ./core/src/js/helpers/almAppendChild.js ***! 4298 \***********************************************/ 4299/*! no static exports found */ 4300/***/ (function(module, exports, __webpack_require__) { 4301 4302"use strict"; 4303 4304 4305Object.defineProperty(exports, "__esModule", { 4306 value: true 4307}); 4308/** 4309 * Append a child element to a container 4310 * 4311 * @param {*} target | Target element to append items 4312 * @param {*} element | The element to append 4313 * @param {*} transition | The transiton 4314 * @since 5.0 4315 */ 4316 4317var nodeNameArray = ['#text', '#comment']; 4318 4319var almAppendChild = function almAppendChild() { 4320 var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; 4321 var element = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 4322 var transition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'fade'; 4323 4324 if (!target || !element) { 4325 return false; 4326 } 4327 4328 // Do not append elements that are not actual element nodes (i.e. #text node) 4329 // Add item if not in exclude array 4330 if (nodeNameArray.indexOf(element.nodeName.toLowerCase()) === -1) { 4331 if (transition === 'masonry') { 4332 // If Masonry, opacity = zero 4333 element.style.opacity = 0; 4334 } 4335 target.appendChild(element); 4336 } 4337}; 4338exports.default = almAppendChild; 4339 4340/***/ }), 4341
4342/***/ "./core/src/js/helpers/almAppendChildren.js": 4343/*!**************************************************!*\ 4344 !*** ./core/src/js/helpers/almAppendChildren.js ***! 4345 \**************************************************/ 4346/*! no static exports found */ 4347/***/ (function(module, exports, __webpack_require__) { 4348 4349"use strict"; 4350 4351 4352Object.defineProperty(exports, "__esModule", { 4353 value: true 4354}); 4355 4356var _almAppendChild = __webpack_require__(/*! ./almAppendChild */ "./core/src/js/helpers/almAppendChild.js"); 4357 4358var _almAppendChild2 = _interopRequireDefault(_almAppendChild); 4359 4360function _interopRequireDefault(obj) { 4361 return obj && obj.__esModule ? obj : { default: obj }; 4362} 4363 4364/** 4365 * Loop array of elements and append to target 4366 * 4367 * @param {*} target | Target element to append items 4368 * @param {*} array | An array of elements 4369 * @param {*} transition | The transiton 4370 * @since 5.0 4371 */ 4372 4373var almAppendChildren = function almAppendChildren() { 4374 var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; 4375 var array = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 4376 var transition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'fade'; 4377 4378 if (!target || !array) { 4379 return false; 4380 } 4381 for (var i = 0; i < array.length; i++) { 4382 var element = array[i]; 4383 (0, _almAppendChild2.default)(target, element, transition); 4384 } 4385}; 4386exports.default = almAppendChildren; 4387 4388/***/ }), 4389
4390/***/ "./core/src/js/helpers/almDomParser.js": 4391/*!*********************************************!*\ 4392 !*** ./core/src/js/helpers/almDomParser.js ***! 4393 \*********************************************/ 4394/*! no static exports found */ 4395/***/ (function(module, exports, __webpack_require__) { 4396 4397"use strict"; 4398 4399 4400Object.defineProperty(exports, "__esModule", { 4401 value: true 4402}); 4403/** 4404 * Convert a plain text string into an array of HTML nodes 4405 * 4406 * @param {*} html | The HTML string 4407 * @param {*} type 4408 * @return array 4409 * @since 5.0 4410 */ 4411var almDomParser = function almDomParser() { 4412 var html = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 4413 var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'text/html'; 4414 4415 if (!html) { 4416 return false; 4417 } 4418 var parser = new DOMParser(); 4419 var data = parser.parseFromString(html, type); 4420 return data ? Array.prototype.slice.call(data.body.childNodes) : data; 4421}; 4422exports.default = almDomParser; 4423 4424/***/ }), 4425
4426/***/ "./core/src/js/helpers/dispatchScrollEvent.js": 4427/*!****************************************************!*\ 4428 !*** ./core/src/js/helpers/dispatchScrollEvent.js ***! 4429 \****************************************************/ 4430/*! no static exports found */ 4431/***/ (function(module, exports, __webpack_require__) { 4432 4433"use strict"; 4434 4435 4436Object.defineProperty(exports, "__esModule", { 4437 value: true 4438}); 4439/** 4440 * Dispatch a window scroll event. 4441 * 4442 * @param {Boolean} delay Should this be delayed. 4443 * @since 5.5 4444 */ 4445var dispatchScrollEvent = function dispatchScrollEvent() { 4446 var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; 4447 4448 if (typeof Event === 'function') { 4449 setTimeout(function () { 4450 window.dispatchEvent(new CustomEvent('scroll')); 4451 }, delay ? 150 : 1); 4452 } 4453}; 4454 4455exports.default = dispatchScrollEvent; 4456 4457/***/ }), 4458
4459/***/ "./core/src/js/helpers/getCacheUrl.js": 4460/*!********************************************!*\ 4461 !*** ./core/src/js/helpers/getCacheUrl.js ***! 4462 \********************************************/ 4463/*! no static exports found */ 4464/***/ (function(module, exports, __webpack_require__) { 4465 4466"use strict"; 4467 4468 4469Object.defineProperty(exports, "__esModule", { 4470 value: true 4471}); 4472 4473var _filters = __webpack_require__(/*! ../addons/filters */ "./core/src/js/addons/filters.js"); 4474 4475/** 4476 * Generate the cache page URL for GET request 4477 * 4478 * @param {*} alm 4479 * @since 5.0 4480 * @supports Standard, SEO, Filters, Nextpage, Single Posts 4481 */ 4482var getCacheUrl = function getCacheUrl(alm) { 4483 if (!alm) { 4484 return false; 4485 } 4486 4487 var firstpage = '1'; 4488 var cache_url = ''; 4489 var ext = '.html'; 4490 var path = alm.addons.cache_path + alm.addons.cache_id; 4491 4492 // SEO Add-on 4493 if (alm.init && alm.addons.seo && alm.isPaged) { 4494 // If request is a paged URL (e.g. /page/3/) 4495 cache_url = path + '/page-' + firstpage + '-' + alm.start_page + ext; 4496 } 4497 4498 // Filters 4499 else if (alm.addons.filters) { 4500 var filtersPath = (0, _filters.parseQuerystring)(path); 4501 4502 if (alm.init && alm.isPaged) { 4503 // First run & Paged 4504 cache_url = filtersPath + '/page-' + firstpage + '-' + alm.addons.filters_startpage + ext; 4505 } else { 4506 var page = alm.page + 1; 4507 4508 if (alm.addons.preloaded === 'true') { 4509 // Preloaded + Filters 4510 page = alm.page + 2; 4511 } 4512 cache_url = filtersPath + '/page-' + page + ext; 4513 } 4514 } 4515 4516 // Nextpage 4517 else if (alm.addons.nextpage) { 4518 var nextpage_cache_url = void 0; 4519 if (alm.addons.paging) { 4520 nextpage_cache_url = parseInt(alm.page) + 1; 4521 } else { 4522 nextpage_cache_url = parseInt(alm.page) + 2; 4523 if (alm.isPaged) { 4524 // If the request a paged URL (/page/3/) 4525 nextpage_cache_url = parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1; 4526 } 4527 } 4528 4529 cache_url = path + '/page-' + nextpage_cache_url + ext; 4530 } 4531 4532 // Single Post 4533 else if (alm.addons.single_post) { 4534 cache_url = path + '/' + alm.addons.single_post_id + ext; 4535 } 4536 4537 // Comments & Preloaded 4538 else if (alm.addons.comments === 'true' && alm.addons.preloaded === 'true') { 4539 // When using comments we need to increase the current page by 2 4540 cache_url = path + '/page-' + (alm.page + 2) + ext; 4541 } 4542 4543 // Standard URL request 4544 else { 4545 cache_url = path + '/page-' + (alm.page + 1) + ext; 4546 } 4547 4548 return cache_url; 4549}; 4550 4551exports.default = getCacheUrl; 4552 4553/***/ }), 4554
4555/***/ "./core/src/js/helpers/getParameterByName.js": 4556/*!***************************************************!*\ 4557 !*** ./core/src/js/helpers/getParameterByName.js ***! 4558 \***************************************************/ 4559/*! no static exports found */ 4560/***/ (function(module, exports, __webpack_require__) { 4561 4562"use strict"; 4563 4564 4565Object.defineProperty(exports, "__esModule", { 4566 value: true 4567}); 4568var getParameterByName = function getParameterByName(name, url) { 4569 if (!url) url = window.location.href; 4570 name = name.replace(/[\[\]]/g, "\\$&"); 4571 var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), 4572 results = regex.exec(url); 4573 if (!results) return null; 4574 if (!results[2]) return ''; 4575 return decodeURIComponent(results[2].replace(/\+/g, " ")); 4576}; 4577exports.default = getParameterByName; 4578 4579/***/ }), 4580
4581/***/ "./core/src/js/helpers/getQueryVariable.js": 4582/*!*************************************************!*\ 4583 !*** ./core/src/js/helpers/getQueryVariable.js ***! 4584 \*************************************************/ 4585/*! no static exports found */ 4586/***/ (function(module, exports, __webpack_require__) { 4587 4588"use strict"; 4589 4590 4591Object.defineProperty(exports, "__esModule", { 4592 value: true 4593}); 4594/** 4595 * Get a query variable from location querystring 4596 * 4597 * @param {String} variable 4598 * @since 5.3.4 4599 */ 4600var getQueryVariable = function getQueryVariable(variable) { 4601 var query = window.location.search.substring(1); 4602 var vars = query.split("&"); 4603 for (var i = 0; i < vars.length; i++) { 4604 var pair = vars[i].split("="); 4605 if (decodeURIComponent(pair[0]) == variable) { 4606 return decodeURIComponent(pair[1]); 4607 } 4608 } 4609 return false; 4610}; 4611 4612exports.default = getQueryVariable; 4613 4614/***/ }), 4615
4616/***/ "./core/src/js/helpers/helpers.js": 4617/*!****************************************!*\ 4618 !*** ./core/src/js/helpers/helpers.js ***! 4619 \****************************************/ 4620/*! no static exports found */ 4621/***/ (function(module, exports, __webpack_require__) { 4622 4623"use strict"; 4624 4625 4626// Prevent native browser scrolling on popstate 4627// https://developer.mozilla.org/en-US/docs/Web/API/History#Browser_compatibility 4628 4629if ('scrollRestoration' in history) {} 4630//history.scrollRestoration = 'manual'; 4631 4632 4633// Object.entries 4634if (!Object.entries) { 4635 Object.entries = function (obj) { 4636 var ownProps = Object.keys(obj), 4637 i = ownProps.length, 4638 resArray = new Array(i); // preallocate the Array 4639 while (i--) { 4640 resArray[i] = [ownProps[i], obj[ownProps[i]]]; 4641 }return resArray; 4642 }; 4643} 4644 4645// isArray 4646if (typeof Array.isArray === 'undefined') { 4647 Array.isArray = function (obj) { 4648 return Object.prototype.toString.call(obj) === '[object Array]'; 4649 }; 4650}; 4651 4652// Array.from 4653if (!Array.from) { 4654 Array.from = function () { 4655 var toStr = Object.prototype.toString; 4656 var isCallable = function isCallable(fn) { 4657 return typeof fn === 'function' || toStr.call(fn) === '[object Function]'; 4658 }; 4659 var toInteger = function toInteger(value) { 4660 var number = Number(value); 4661 if (isNaN(number)) { 4662 return 0; 4663 } 4664 if (number === 0 || !isFinite(number)) { 4665 return number; 4666 } 4667 return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)); 4668 }; 4669 var maxSafeInteger = Math.pow(2, 53) - 1; 4670 var toLength = function toLength(value) { 4671 var len = toInteger(value); 4672 return Math.min(Math.max(len, 0), maxSafeInteger); 4673 }; 4674 4675 // The length property of the from method is 1. 4676 return function from(arrayLike /*, mapFn, thisArg */) { 4677 // 1. Let C be the this value. 4678 var C = this; 4679 4680 // 2. Let items be ToObject(arrayLike). 4681 var items = Object(arrayLike); 4682 4683 // 3. ReturnIfAbrupt(items). 4684 if (arrayLike == null) { 4685 throw new TypeError('Array.from requires an array-like object - not null or undefined'); 4686 } 4687 4688 // 4. If mapfn is undefined, then let mapping be false. 4689 var mapFn = arguments.length > 1 ? arguments[1] : void undefined; 4690 var T; 4691 if (typeof mapFn !== 'undefined') { 4692 // 5. else 4693 // 5. a If IsCallable(mapfn) is false, throw a TypeError exception. 4694 if (!isCallable(mapFn)) { 4695 throw new TypeError('Array.from: when provided, the second argument must be a function'); 4696 } 4697 4698 // 5. b. If thisArg was supplied, let T be thisArg; else let T be undefined. 4699 if (arguments.length > 2) { 4700 T = arguments[2]; 4701 } 4702 } 4703 4704 // 10. Let lenValue be Get(items, "length"). 4705 // 11. Let len be ToLength(lenValue). 4706 var len = toLength(items.length); 4707 4708 // 13. If IsConstructor(C) is true, then 4709 // 13. a. Let A be the result of calling the [[Construct]] internal method 4710 // of C with an argument list containing the single item len. 4711 // 14. a. Else, Let A be ArrayCreate(len). 4712 var A = isCallable(C) ? Object(new C(len)) : new Array(len); 4713 4714 // 16. Let k be 0. 4715 var k = 0; 4716 // 17. Repeat, while k < len… (also steps a - h) 4717 var kValue; 4718 while (k < len) { 4719 kValue = items[k]; 4720 if (mapFn) { 4721 A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k); 4722 } else { 4723 A[k] = kValue; 4724 } 4725 k += 1; 4726 } 4727 // 18. Let putStatus be Put(A, "length", len, true). 4728 A.length = len; 4729 // 20. Return A. 4730 return A; 4731 }; 4732 }(); 4733} 4734 4735// Nodelist 4736if (window.NodeList && !NodeList.prototype.forEach) { 4737 NodeList.prototype.forEach = function (callback, thisArg) { 4738 thisArg = thisArg || window; 4739 for (var i = 0; i < this.length; i++) { 4740 callback.call(thisArg, this[i], i, this); 4741 } 4742 }; 4743} 4744 4745// removeChild 4746// https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md 4747(function (arr) { 4748 arr.forEach(function (item) { 4749 if (item.hasOwnProperty('remove')) { 4750 return; 4751 } 4752 Object.defineProperty(item, 'remove', { 4753 configurable: true, 4754 enumerable: true, 4755 writable: true, 4756 value: function remove() { 4757 if (this.parentNode !== null) this.parentNode.removeChild(this); 4758 } 4759 }); 4760 }); 4761})([Element.prototype, CharacterData.prototype, DocumentType.prototype]); 4762 4763/***/ }), 4764
4765/***/ "./core/src/js/helpers/polyfills.js": 4766/*!******************************************!*\ 4767 !*** ./core/src/js/helpers/polyfills.js ***! 4768 \******************************************/ 4769/*! no static exports found */ 4770/***/ (function(module, exports, __webpack_require__) { 4771 4772"use strict"; 4773 4774 4775/** 4776 * Add dataset support to elements 4777 * No globals, no overriding prototype with non-standard methods, 4778 * handles CamelCase properly, attempts to use standard 4779 * Object.defineProperty() (and Function bind()) methods, 4780 * falls back to native implementation when existing 4781 * Inspired by http://code.eligrey.com/html5/dataset/ 4782 * (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js ) 4783 * Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (polyfills below) 4784 * All code below is Licensed under the X11/MIT License 4785*/ 4786 4787if (!Function.prototype.bind) { 4788 Function.prototype.bind = function (oThis) { 4789 'use strict'; 4790 4791 if (typeof this !== "function") { 4792 // closest thing possible to the ECMAScript 5 internal IsCallable function 4793 throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); 4794 } 4795 4796 var aArgs = Array.prototype.slice.call(arguments, 1), 4797 fToBind = this, 4798 FNOP = function FNOP() {}, 4799 fBound = function fBound() { 4800 return fToBind.apply(this instanceof FNOP && oThis ? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments))); 4801 }; 4802 4803 FNOP.prototype = this.prototype; 4804 fBound.prototype = new FNOP(); 4805 4806 return fBound; 4807 }; 4808} 4809 4810/* 4811 * Xccessors Standard: Cross-browser ECMAScript 5 accessors 4812 * http://purl.eligrey.com/github/Xccessors 4813 * 4814 * 2010-06-21 4815 * 4816 * By Eli Grey, http://eligrey.com 4817 * 4818 * A shim that partially implements Object.defineProperty, 4819 * Object.getOwnPropertyDescriptor, and Object.defineProperties in browsers that have 4820 * legacy __(define|lookup)[GS]etter__ support. 4821 * 4822 * Licensed under the X11/MIT License 4823 * See LICENSE.md 4824*/ 4825 4826(function () { 4827 'use strict'; 4828 4829 var ObjectProto = Object.prototype, 4830 defineGetter = ObjectProto.__defineGetter__, 4831 defineSetter = ObjectProto.__defineSetter__, 4832 lookupGetter = ObjectProto.__lookupGetter__, 4833 lookupSetter = ObjectProto.__lookupSetter__, 4834 hasOwnProp = ObjectProto.hasOwnProperty; 4835 4836 if (defineGetter && defineSetter && lookupGetter && lookupSetter) { 4837 4838 if (!Object.defineProperty) { 4839 Object.defineProperty = function (obj, prop, descriptor) { 4840 if (arguments.length < 3) { 4841 // all arguments required 4842 throw new TypeError("Arguments not optional"); 4843 } 4844 4845 prop += ""; // convert prop to string 4846 4847 if (hasOwnProp.call(descriptor, "value")) { 4848 if (!lookupGetter.call(obj, prop) && !lookupSetter.call(obj, prop)) { 4849 // data property defined and no pre-existing accessors 4850 obj[prop] = descriptor.value; 4851 } 4852 4853 if (hasOwnProp.call(descriptor, "get") || hasOwnProp.call(descriptor, "set")) { 4854 // descriptor has a value prop but accessor already exists 4855 throw new TypeError("Cannot specify an accessor and a value"); 4856 } 4857 } 4858 4859 // can't switch off these features in ECMAScript 3 4860 // so throw a TypeError if any are false 4861 if (!(descriptor.writable && descriptor.enumerable && descriptor.configurable)) { 4862 throw new TypeError("This implementation of Object.defineProperty does not support" + " false for configurable, enumerable, or writable."); 4863 } 4864 4865 if (descriptor.get) { 4866 defineGetter.call(obj, prop, descriptor.get); 4867 } 4868 if (descriptor.set) { 4869 defineSetter.call(obj, prop, descriptor.set); 4870 } 4871 4872 return obj; 4873 }; 4874 } 4875 4876 if (!Object.getOwnPropertyDescriptor) { 4877 Object.getOwnPropertyDescriptor = function (obj, prop) { 4878 if (arguments.length < 2) { 4879 // all arguments required 4880 throw new TypeError("Arguments not optional."); 4881 } 4882 4883 prop += ""; // convert prop to string 4884 4885 var descriptor = { 4886 configurable: true, 4887 enumerable: true, 4888 writable: true 4889 }, 4890 getter = lookupGetter.call(obj, prop), 4891 setter = lookupSetter.call(obj, prop); 4892 4893 if (!hasOwnProp.call(obj, prop)) { 4894 // property doesn't exist or is inherited 4895 return descriptor; 4896 } 4897 if (!getter && !setter) { 4898 // not an accessor so return prop 4899 descriptor.value = obj[prop]; 4900 return descriptor; 4901 } 4902 4903 // there is an accessor, remove descriptor.writable; 4904 // populate descriptor.get and descriptor.set (IE's behavior) 4905 delete descriptor.writable; 4906 descriptor.get = descriptor.set = undefined; 4907 4908 if (getter) { 4909 descriptor.get = getter; 4910 } 4911 if (setter) { 4912 descriptor.set = setter; 4913 } 4914 4915 return descriptor; 4916 }; 4917 } 4918 4919 if (!Object.defineProperties) { 4920 Object.defineProperties = function (obj, props) { 4921 var prop; 4922 for (prop in props) {
4923 if (hasOwnProp.call(props, prop)) { 4924 Object.defineProperty(obj, prop, props[prop]); 4925 } 4926 } 4927 }; 4928 } 4929 } 4930})(); 4931 4932// Begin dataset code 4933 4934if (!document.documentElement.dataset && ( 4935// FF is empty while IE gives empty object 4936!Object.getOwnPropertyDescriptor(Element.prototype, 'dataset') || !Object.getOwnPropertyDescriptor(Element.prototype, 'dataset').get)) { 4937 var propDescriptor = { 4938 enumerable: true, 4939 get: function get() { 4940 'use strict'; 4941 4942 var i, 4943 that = this, 4944 HTML5_DOMStringMap, 4945 attrVal, 4946 attrName, 4947 propName, 4948 attribute, 4949 attributes = this.attributes, 4950 attsLength = attributes.length, 4951 toUpperCase = function toUpperCase(n0) { 4952 return n0.charAt(1).toUpperCase(); 4953 }, 4954 getter = function getter() { 4955 return this; 4956 }, 4957 setter = function setter(attrName, value) { 4958 return typeof value !== 'undefined' ? this.setAttribute(attrName, value) : this.removeAttribute(attrName); 4959 }; 4960 try { 4961 // Simulate DOMStringMap w/accessor support 4962 // Test setting accessor on normal object 4963 ({}).__defineGetter__('test', function () {}); 4964 HTML5_DOMStringMap = {}; 4965 } catch (e1) { 4966 // Use a DOM object for IE8 4967 HTML5_DOMStringMap = document.createElement('div'); 4968 } 4969 for (i = 0; i < attsLength; i++) { 4970 attribute = attributes[i]; 4971 // Fix: This test really should allow any XML Name without 4972 // colons (and non-uppercase for XHTML) 4973 if (attribute && attribute.name && /^data-\w[\w\-]*$/.test(attribute.name)) { 4974 attrVal = attribute.value; 4975 attrName = attribute.name; 4976 // Change to CamelCase 4977 propName = attrName.substr(5).replace(/-./g, toUpperCase); 4978 try { 4979 Object.defineProperty(HTML5_DOMStringMap, propName, { 4980 enumerable: this.enumerable, 4981 get: getter.bind(attrVal || ''), 4982 set: setter.bind(that, attrName) 4983 }); 4984 } catch (e2) { 4985 // if accessors are not working 4986 HTML5_DOMStringMap[propName] = attrVal; 4987 } 4988 } 4989 } 4990 return HTML5_DOMStringMap; 4991 } 4992 }; 4993 try { 4994 // FF enumerates over element's dataset, but not 4995 // Element.prototype.dataset; IE9 iterates over both 4996 Object.defineProperty(Element.prototype, 'dataset', propDescriptor); 4997 } catch (e) { 4998 propDescriptor.enumerable = false; // IE8 does not allow setting to true 4999 Object.defineProperty(Element.prototype, 'dataset', propDescriptor); 5000 } 5001} 5002 5003/***/ }), 5004
5005/***/ "./core/src/js/helpers/queryParams.js": 5006/*!********************************************!*\ 5007 !*** ./core/src/js/helpers/queryParams.js ***! 5008 \********************************************/ 5009/*! no static exports found */ 5010/***/ (function(module, exports, __webpack_require__) { 5011 5012"use strict"; 5013 5014 5015Object.defineProperty(exports, "__esModule", { 5016 value: true 5017}); 5018exports.almGetAjaxParams = almGetAjaxParams; 5019exports.almGetRestParams = almGetRestParams; 5020/** 5021 * almGetAjaxParams 5022 * Build the data object to send with the Ajax request 5023 * 5024 * @param alm object 5025 * @param action string 5026 * @param queryType string 5027 * @since 3.6 5028 */ 5029 5030function almGetAjaxParams(alm, action, queryType) { 5031 // Defaults 5032 var data = { 5033 id: alm.id, 5034 post_id: alm.post_id, 5035 slug: alm.slug, 5036 canonical_url: encodeURIComponent(alm.canonical_url), 5037 posts_per_page: alm.posts_per_page, 5038 page: alm.page, 5039 offset: alm.offset, 5040 post_type: alm.post_type, 5041 repeater: alm.repeater, 5042 seo_start_page: alm.start_page 5043 }; 5044 5045 // Addons & Extensions 5046 5047 if (alm.theme_repeater) { 5048 data.theme_repeater = alm.theme_repeater; 5049 } 5050 if (alm.addons.filters) { 5051 data.filters = alm.addons.filters; 5052 data.filters_startpage = alm.addons.filters_startpage; 5053 } 5054 if (alm.addons.paging) { 5055 data.paging = alm.addons.paging; 5056 } 5057 if (alm.addons.preloaded) { 5058 data.preloaded = alm.addons.preloaded; 5059 data.preloaded_amount = alm.addons.preloaded_amount; 5060 } 5061 if (alm.addons.cache === 'true') { 5062 data.cache_id = alm.addons.cache_id; 5063 data.cache_logged_in = alm.addons.cache_logged_in; 5064 } 5065 if (alm.acf_array) { 5066 data.acf = alm.acf_array; 5067 } 5068 if (alm.term_query_array) { 5069 data.term_query = alm.term_query_array; 5070 } 5071 if (alm.cta_array) { 5072 data.cta = alm.cta_array; 5073 } 5074 if (alm.comments_array) { 5075 data.comments = alm.comments_array; 5076 } 5077 if (alm.nextpage_array) { 5078 data.nextpage = alm.nextpage_array; 5079 } 5080 if (alm.single_post_array) { 5081 data.single_post = alm.single_post_array; 5082 } 5083 if (alm.users_array) { 5084 data.users = alm.users_array; 5085 } 5086 5087 // Query data 5088 if (alm.listing.dataset.lang) { 5089 data.lang = alm.listing.dataset.lang; 5090 } 5091 if (alm.listing.dataset.stickyPosts) { 5092 data.sticky_posts = alm.listing.dataset.stickyPosts; 5093 } 5094 if (alm.listing.dataset.postFormat) { 5095 data.post_format = alm.listing.dataset.postFormat; 5096 } 5097 if (alm.listing.dataset.category) { 5098 data.category = alm.listing.dataset.category; 5099 } 5100 if (alm.listing.dataset.categoryAnd) { 5101 data.category__and = alm.listing.dataset.categoryAnd; 5102 } 5103 if (alm.listing.dataset.categoryNotIn) { 5104 data.category__not_in = alm.listing.dataset.categoryNotIn; 5105 } 5106 if (alm.listing.dataset.tag) { 5107 data.tag = alm.listing.dataset.tag; 5108 } 5109 if (alm.listing.dataset.tagAnd) { 5110 data.tag__and = alm.listing.dataset.tagAnd; 5111 } 5112 if (alm.listing.dataset.tagNotIn) { 5113 data.tag__not_in = alm.listing.dataset.tagNotIn; 5114 } 5115 if (alm.listing.dataset.taxonomy) { 5116 data.taxonomy = alm.listing.dataset.taxonomy; 5117 } 5118 if (alm.listing.dataset.taxonomyTerms) { 5119 data.taxonomy_terms = alm.listing.dataset.taxonomyTerms; 5120 } 5121 if (alm.listing.dataset.taxonomyOperator) { 5122 data.taxonomy_operator = alm.listing.dataset.taxonomyOperator; 5123 } 5124 if (alm.listing.dataset.taxonomyRelation) { 5125 data.taxonomy_relation = alm.listing.dataset.taxonomyRelation; 5126 } 5127 if (alm.listing.dataset.metaKey) { 5128 data.meta_key = alm.listing.dataset.metaKey; 5129 } 5130 if (alm.listing.dataset.metaValue) { 5131 data.meta_value = alm.listing.dataset.metaValue; 5132 } 5133 if (alm.listing.dataset.metaCompare) { 5134 data.meta_compare = alm.listing.dataset.metaCompare; 5135 } 5136 if (alm.listing.dataset.metaRelation) { 5137 data.meta_relation = alm.listing.dataset.metaRelation; 5138 } 5139 if (alm.listing.dataset.metaType) { 5140 data.meta_type = alm.listing.dataset.metaType; 5141 } 5142 if (alm.listing.dataset.author) { 5143 data.author = alm.listing.dataset.author; 5144 } 5145 if (alm.listing.dataset.year) { 5146 data.year = alm.listing.dataset.year; 5147 } 5148 if (alm.listing.dataset.month) { 5149 data.month = alm.listing.dataset.month; 5150 } 5151 if (alm.listing.dataset.day) { 5152 data.day = alm.listing.dataset.day; 5153 } 5154 if (alm.listing.dataset.order) { 5155 data.order = alm.listing.dataset.order; 5156 }
5157 if (alm.listing.dataset.orderby) { 5158 data.orderby = alm.listing.dataset.orderby; 5159 } 5160 if (alm.listing.dataset.postStatus) { 5161 data.post_status = alm.listing.dataset.postStatus; 5162 } 5163 if (alm.listing.dataset.postIn) { 5164 data.post__in = alm.listing.dataset.postIn; 5165 } 5166 if (alm.listing.dataset.postNotIn) { 5167 data.post__not_in = alm.listing.dataset.postNotIn; 5168 } 5169 if (alm.listing.dataset.exclude) { 5170 data.exclude = alm.listing.dataset.exclude; 5171 } 5172 if (alm.listing.dataset.search) { 5173 data.search = alm.listing.dataset.search; 5174 } 5175 if (alm.listing.dataset.s) { 5176 data.search = alm.listing.dataset.s; 5177 } 5178 if (alm.listing.dataset.customArgs) { 5179 data.custom_args = escape(alm.listing.dataset.customArgs); 5180 } 5181 if (alm.listing.dataset.vars) { 5182 data.vars = escape(alm.listing.dataset.vars); 5183 } 5184 5185 data.action = action; 5186 data.query_type = queryType; 5187 5188 return data; 5189} 5190 5191/** 5192 * almGetRestParams 5193 * Build the REST API data object to send with REST API request 5194 * 5195 * @param alm object 5196 * @since 3.6 5197 */ 5198function almGetRestParams(alm) { 5199 var data = { 5200 id: alm.id, 5201 post_id: alm.post_id, 5202 posts_per_page: alm.posts_per_page, 5203 page: alm.page, 5204 offset: alm.offset, 5205 slug: alm.slug, 5206 canonical_url: encodeURIComponent(alm.canonical_url), 5207 post_type: alm.post_type, 5208 post_format: alm.listing.dataset.postFormat, 5209 category: alm.listing.dataset.category, 5210 category__not_in: alm.listing.dataset.categoryNotIn, 5211 tag: alm.listing.dataset.tag, 5212 tag__not_in: alm.listing.dataset.tagNotIn, 5213 taxonomy: alm.listing.dataset.taxonomy, 5214 taxonomy_terms: alm.listing.dataset.taxonomyTerms, 5215 taxonomy_operator: alm.listing.dataset.taxonomyOperator, 5216 taxonomy_relation: alm.listing.dataset.taxonomyRelation, 5217 meta_key: alm.listing.dataset.metaKey, 5218 meta_value: alm.listing.dataset.metaValue, 5219 meta_compare: alm.listing.dataset.metaCompare, 5220 meta_relation: alm.listing.dataset.metaRelation, 5221 meta_type: alm.listing.dataset.metaType, 5222 author: alm.listing.dataset.author, 5223 year: alm.listing.dataset.year, 5224 month: alm.listing.dataset.month, 5225 day: alm.listing.dataset.day, 5226 post_status: alm.listing.dataset.postStatus, 5227 order: alm.listing.dataset.order, 5228 orderby: alm.listing.dataset.orderby, 5229 post__in: alm.listing.dataset.postIn, 5230 post__not_in: alm.listing.dataset.postNotIn, 5231 search: alm.listing.dataset.search, 5232 s: alm.listing.dataset.s, 5233 custom_args: alm.listing.dataset.customArgs, 5234 vars: alm.listing.dataset.vars, 5235 lang: alm.lang, 5236 preloaded: alm.addons.preloaded, 5237 preloaded_amount: alm.addons.preloaded_amount, 5238 seo_start_page: alm.start_page 5239 }; 5240 5241 return data; 5242} 5243 5244/***/ }), 5245
5246/***/ "./core/src/js/helpers/srcsetPolyfill.js": 5247/*!***********************************************!*\ 5248 !*** ./core/src/js/helpers/srcsetPolyfill.js ***! 5249 \***********************************************/ 5250/*! no static exports found */ 5251/***/ (function(module, exports, __webpack_require__) { 5252 5253"use strict"; 5254 5255 5256Object.defineProperty(exports, "__esModule", { 5257 value: true 5258}); 5259/** 5260 * srcsetPolyfill 5261 * A Safari srcset polyfill to get Masonry and ImagesLoaded working 5262 * 5263 * @param {*} container Element 5264 * @param {*} ua String 5265 * @since 5.0.2 5266 */ 5267var srcsetPolyfill = function srcsetPolyfill() { 5268 var container = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; 5269 var ua = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; 5270 5271 // Exit if no container 5272 if (!container) { 5273 return false; 5274 } 5275 5276 // Exit if useragent is Chrome, Safari or Windows 5277 if (ua.indexOf('Safari') > -1 && ua.indexOf('Chrome') != -1 || ua.indexOf('Firefox') > -1 || ua.indexOf('Windows') > -1) { 5278 return false; 5279 } 5280 5281 // Get the images 5282 var imgs = container.querySelectorAll('img[srcset]:not(.alm-loaded)'); 5283 5284 // Loop images 5285 for (var i = 0; i < imgs.length; i++) { 5286 var img = imgs[i]; 5287 img.classList.add('alm-loaded'); 5288 img.outerHTML = img.outerHTML; 5289 } 5290}; 5291exports.default = srcsetPolyfill; 5292 5293/***/ }), 5294
5295/***/ "./core/src/js/helpers/stripEmptyNodes.js": 5296/*!************************************************!*\ 5297 !*** ./core/src/js/helpers/stripEmptyNodes.js ***! 5298 \************************************************/ 5299/*! no static exports found */ 5300/***/ (function(module, exports, __webpack_require__) { 5301 5302"use strict"; 5303 5304 5305Object.defineProperty(exports, "__esModule", { 5306 value: true 5307}); 5308/** 5309 * Remove empty HTML nodes from array of nodes 5310 * Remove all empty text nodes from SEO and Filters return 5311 * 5312 * @param {*} nodes | Array of HTML nodes 5313 * @return array 5314 * @since 5.1.3 5315 */ 5316var stripEmptyNodes = function stripEmptyNodes() { 5317 var nodes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; 5318 5319 if (!nodes) { 5320 return false; 5321 } 5322 5323 // Exclude these nodeNames from being rendered 5324 var nodeNameArray = ['#text', '#comment']; 5325 5326 // Filter data by nodeName 5327 var results = nodes.filter(function (node) { 5328 return nodeNameArray.indexOf(node.nodeName.toLowerCase()) === -1; 5329 }); 5330 5331 // Send the results 5332 return results; 5333}; 5334exports.default = stripEmptyNodes; 5335 5336/***/ }), 5337
5338/***/ "./core/src/js/helpers/tableWrap.js": 5339/*!******************************************!*\ 5340 !*** ./core/src/js/helpers/tableWrap.js ***! 5341 \******************************************/ 5342/*! no static exports found */ 5343/***/ (function(module, exports, __webpack_require__) { 5344 5345"use strict"; 5346 5347 5348Object.defineProperty(exports, "__esModule", { 5349 value: true 5350}); 5351/** 5352 * Wrap `table` containers in tbody elements 5353 * innerHTML and DOMParser do not work with <tr/> <td/> elements etc. 5354 * 5355 * @param {*} html | Plain text 5356 * @since 5.0 5357 */ 5358var tableWrap = function tableWrap() { 5359 var html = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; 5360 5361 if (!html) { 5362 return false; 5363 } 5364 var table_reveal = document.createElement('tbody'); 5365 table_reveal.innerHTML = html; 5366 var table_reveal_array = [table_reveal]; 5367 return table_reveal_array; // Return new array 5368}; 5369exports.default = tableWrap; 5370 5371/***/ }), 5372
5373/***/ "./core/src/js/modules/almDebug.js": 5374/*!*****************************************!*\ 5375 !*** ./core/src/js/modules/almDebug.js ***! 5376 \*****************************************/ 5377/*! no static exports found */ 5378/***/ (function(module, exports, __webpack_require__) { 5379 5380"use strict"; 5381 5382 5383Object.defineProperty(exports, "__esModule", { 5384 value: true 5385}); 5386/** 5387 * Display Ajax Load More debug results. 5388 * 5389 * @see https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_debug 5390 * @param {object} alm Global alm object 5391 * @since 5.1.6 5392 */ 5393var almDebug = function almDebug(alm) { 5394 if (alm && alm.debug) { 5395 var obj = { 5396 query: alm.debug, 5397 localize: alm.localize 5398 }; 5399 console.log('ALM Debug:', obj); 5400 } 5401}; 5402 5403exports.default = almDebug; 5404 5405/***/ }), 5406
5407/***/ "./core/src/js/modules/fadeIn.js": 5408/*!***************************************!*\ 5409 !*** ./core/src/js/modules/fadeIn.js ***! 5410 \***************************************/ 5411/*! no static exports found */ 5412/***/ (function(module, exports, __webpack_require__) { 5413 5414"use strict"; 5415 5416 5417Object.defineProperty(exports, "__esModule", { 5418 value: true 5419}); 5420/** 5421 * Fade element in 5422 * @param {*} element 5423 * @param {*} speed 5424 */ 5425var almFadeIn = function almFadeIn(element, speed) { 5426 if (speed == 0) { 5427 element.style.opacity = 1; 5428 element.style.height = 'auto'; 5429 } else { 5430 speed = speed / 10; 5431 var op = 0; // initial opacity 5432 var timer = setInterval(function () { 5433 if (op > 0.9) { 5434 element.style.opacity = 1; 5435 clearInterval(timer); 5436 } 5437 element.style.opacity = op; 5438 op += 0.1; 5439 }, speed); 5440 element.style.height = 'auto'; 5441 } 5442}; 5443exports.default = almFadeIn; 5444 5445/***/ }), 5446
5447/***/ "./core/src/js/modules/fadeOut.js": 5448/*!****************************************!*\ 5449 !*** ./core/src/js/modules/fadeOut.js ***! 5450 \****************************************/ 5451/*! no static exports found */ 5452/***/ (function(module, exports, __webpack_require__) { 5453 5454"use strict"; 5455 5456 5457Object.defineProperty(exports, "__esModule", { 5458 value: true 5459}); 5460/** 5461 * Fade element out 5462 * @param {*} element 5463 * @param {*} speed 5464 */ 5465var almFadeOut = function almFadeOut(element, speed) { 5466 speed = speed / 10; 5467 element.style.opacity = 0.5; 5468 var fadeEffect = setInterval(function () { 5469 if (element.style.opacity < 0.1) { 5470 clearInterval(fadeEffect); 5471 } else { 5472 element.style.opacity -= 0.1; 5473 } 5474 }, speed); 5475}; 5476exports.default = almFadeOut; 5477 5478/***/ }), 5479
5480/***/ "./core/src/js/modules/filtering.js": 5481/*!******************************************!*\ 5482 !*** ./core/src/js/modules/filtering.js ***! 5483 \******************************************/ 5484/*! no static exports found */ 5485/***/ (function(module, exports, __webpack_require__) { 5486 5487"use strict"; 5488 5489 5490Object.defineProperty(exports, "__esModule", { 5491 value: true 5492}); 5493 5494var _slicedToArray = function () { 5495 function sliceIterator(arr, i) { 5496 var _arr = [];var _n = true;var _d = false;var _e = undefined;try { 5497 for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { 5498 _arr.push(_s.value);if (i && _arr.length === i) break; 5499 } 5500 } catch (err) { 5501 _d = true;_e = err; 5502 } finally { 5503 try { 5504 if (!_n && _i["return"]) _i["return"](); 5505 } finally { 5506 if (_d) throw _e; 5507 } 5508 }return _arr; 5509 }return function (arr, i) { 5510 if (Array.isArray(arr)) { 5511 return arr; 5512 } else if (Symbol.iterator in Object(arr)) { 5513 return sliceIterator(arr, i); 5514 } else { 5515 throw new TypeError("Invalid attempt to destructure non-iterable instance"); 5516 } 5517 }; 5518}(); 5519 5520var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js"); 5521 5522var _fadeIn2 = _interopRequireDefault(_fadeIn); 5523 5524var _fadeOut = __webpack_require__(/*! ./fadeOut */ "./core/src/js/modules/fadeOut.js"); 5525 5526var _fadeOut2 = _interopRequireDefault(_fadeOut); 5527 5528var _tableofcontents = __webpack_require__(/*! ./tableofcontents */ "./core/src/js/modules/tableofcontents.js"); 5529 5530function _interopRequireDefault(obj) { 5531 return obj && obj.__esModule ? obj : { default: obj }; 5532} 5533 5534function _toConsumableArray(arr) { 5535 if (Array.isArray(arr)) { 5536 for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { 5537 arr2[i] = arr[i]; 5538 }return arr2; 5539 } else { 5540 return Array.from(arr); 5541 } 5542} 5543 5544/** 5545 * Filter Ajax Load More 5546 * 5547 * @param {*} transition string; 5548 * @param {*} speed number; 5549 * @param {*} data obj; 5550 * @param {*} type string; 5551 * @since 2.6.1 5552 */ 5553 5554var almFilter = function almFilter(transition, speed, data) { 5555 var type = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'filter'; 5556 5557 if (data.target) { 5558 // if a target has been specified 5559 var target = document.querySelectorAll('.ajax-load-more-wrap[data-id="' + data.target + '"]'); 5560 target.forEach(function (element) { 5561 almFilterTransition(transition, speed, data, element, type); 5562 }); 5563 } else { 5564 // Target not specified 5565 var alm = document.querySelectorAll('.ajax-load-more-wrap'); 5566 alm.forEach(function (element) { 5567 almFilterTransition(transition, speed, data, element, type); 5568 }); 5569 } 5570 5571 // Clear table of contents if required 5572 (0, _tableofcontents.clearTOC)(); 5573}; 5574exports.default = almFilter; 5575 5576/** 5577 * Transition Ajax Load More 5578 * 5579 * @param {*} transition string; 5580 * @param {*} speed number; 5581 * @param {*} data obj; 5582 * @param {*} el element; 5583 * @param {*} type string; 5584 * @since 2.13.1 5585 */ 5586 5587var almFilterTransition = function almFilterTransition(transition, speed, data, el, type) { 5588 if (transition === 'fade' || transition === 'masonry') { 5589 // Fade, Masonry transition 5590 5591 switch (type) { 5592 case 'filter': 5593 el.classList.add('alm-is-filtering'); 5594 (0, _fadeOut2.default)(el, speed); 5595 5596 break; 5597 5598 case 'tab': 5599 el.classList.add('alm-loading'); 5600 var new_el = el.querySelector('.alm-listing'); 5601 el.style.height = new_el.offsetHeight + 'px'; 5602 (0, _fadeOut2.default)(new_el, speed); 5603 5604 break; 5605 } 5606 5607 // Move to next function 5608 setTimeout(function () { 5609 almCompleteFilterTransition(speed, data, el, type); 5610 }, speed); 5611 } else { 5612 // No transition 5613 el.classList.add('alm-is-filtering'); 5614 almCompleteFilterTransition(speed, data, el, type); 5615 } 5616}; 5617 5618/** 5619 * Complete the filter transition 5620 * 5621 * @param {*} speed number; 5622 * @param {*} data obj; 5623 * @param {*} el element; 5624 * @param {*} type string; 5625 * @since 3.3 5626 */ 5627var almCompleteFilterTransition = function almCompleteFilterTransition(speed, data, el, type) { 5628 // Get `.alm-btn-wrap` element 5629 var btnWrap = el.querySelector('.alm-btn-wrap'); 5630 5631 // Get `.alm-listing` element 5632 var listing = el.querySelectorAll('.alm-listing'); 5633 5634 // Loop over all .alm-listing divs
5635 [].concat(_toConsumableArray(listing)).forEach(function (e) { 5636 e.innerHTML = ''; // Clear listings 5637 }); 5638 5639 // Get Load More button 5640 var button = btnWrap.querySelector('.alm-load-more-btn'); 5641 if (button) { 5642 button.classList.remove('done'); // Reset Button 5643 } 5644 5645 // Clear paging navigation 5646 var paging = btnWrap.querySelector('.alm-paging'); 5647 if (paging) { 5648 paging.style.opacity = 0; 5649 } 5650 5651 // Reset Preloaded Amount 5652 data.preloadedAmount = 0; 5653 // Dispatch Filters 5654 almSetFilters(speed, data, el, type); 5655}; 5656 5657/** 5658 * Set filter parameters on .alm-listing element. 5659 * 5660 * @param {*} speed number; 5661 * @param {*} el element; 5662 * @param {*} data string; 5663 * @param {*} type string; 5664 * @updated 3.3 5665 * @since 2.6.1 5666 */ 5667var almSetFilters = function almSetFilters() { 5668 var speed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 150; 5669 var data = arguments[1]; 5670 var el = arguments[2]; 5671 var type = arguments[3]; 5672 5673 // Get `alm-listing` container 5674 var listing = el.querySelector('.alm-listing') || el.querySelector('.alm-comments'); 5675 if (!listing) { 5676 return false; 5677 } 5678 5679 switch (type) { 5680 case 'filter': 5681 // Update data attributes 5682 var _iteratorNormalCompletion = true; 5683 var _didIteratorError = false; 5684 var _iteratorError = undefined; 5685 5686 try { 5687 for (var _iterator = Object.entries(data)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { 5688 var _ref = _step.value; 5689 5690 var _ref2 = _slicedToArray(_ref, 2); 5691 5692 var key = _ref2[0]; 5693 var value = _ref2[1]; 5694 5695 // Convert camelCase data atts back to dashes (-). 5696 key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2').toLowerCase(); 5697 listing.setAttribute('data-' + key, value); 5698 } 5699 // Fade ALM back (Filters only) 5700 } catch (err) { 5701 _didIteratorError = true; 5702 _iteratorError = err; 5703 } finally { 5704 try { 5705 if (!_iteratorNormalCompletion && _iterator.return) { 5706 _iterator.return(); 5707 } 5708 } finally { 5709 if (_didIteratorError) { 5710 throw _iteratorError; 5711 } 5712 } 5713 } 5714 5715 (0, _fadeIn2.default)(el, speed); 5716 break; 5717 5718 case 'tab': 5719 // Update `data-tab-template` attribute 5720 listing.setAttribute('data-preloaded', 'false'); 5721 listing.setAttribute('data-pause', 'false'); 5722 listing.setAttribute('data-tab-template', data.tabTemplate); 5723 5724 break; 5725 } 5726 5727 // Re-initiate Ajax Load More 5728 var target = ''; 5729 if (data.target) { 5730 // Target has been specified 5731 target = document.querySelector('.ajax-load-more-wrap[data-id="' + data.target + '"]'); 5732 if (target) { 5733 window.almInit(target); 5734 } 5735 } else { 5736 // Target not specified 5737 target = document.querySelector('.ajax-load-more-wrap'); 5738 if (target) { 5739 window.almInit(target); 5740 } 5741 } 5742 5743 switch (type) { 5744 case 'filter': 5745 // Filters Complete (not the add-on) 5746 if (typeof almFilterComplete === 'function') { 5747 // Standard Filtering 5748 almFilterComplete(); 5749 } 5750 break; 5751 5752 case 'tab': 5753 // Tabs Complete 5754 if (typeof almTabsComplete === 'function') { 5755 // Standard Filtering 5756 almTabsComplete(); 5757 } 5758 break; 5759 } 5760}; 5761 5762/***/ }), 5763
5764/***/ "./core/src/js/modules/getButtonURL.js": 5765/*!*********************************************!*\ 5766 !*** ./core/src/js/modules/getButtonURL.js ***! 5767 \*********************************************/ 5768/*! no static exports found */ 5769/***/ (function(module, exports, __webpack_require__) { 5770 5771"use strict"; 5772 5773 5774Object.defineProperty(exports, "__esModule", { 5775 value: true 5776}); 5777/** 5778 * Get the URL for Load More button. 5779 * 5780 * @param {object} alm The Ajax Load More object. 5781 * @param {string} rel The type of load more, `next` or `previous`. 5782 * @since 5.4.0 5783 */ 5784var getButtonURL = exports.getButtonURL = function getButtonURL(alm) { 5785 var rel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'next'; 5786 5787 if (!alm || !alm.trigger) { 5788 return false; 5789 } 5790 var button = alm.trigger.querySelector('.alm-load-more-btn'); 5791 if (rel === 'prev') { 5792 button = document.querySelector('.alm-load-more-btn--prev'); 5793 } 5794 5795 var url = button ? button.dataset.url : ''; 5796 return url ? url : ''; 5797}; 5798 5799/** 5800 * Set button dataset attributes. 5801 * 5802 * @param {*} button The HTML element. 5803 * @param {*} page The current page number. 5804 * @param {*} url The URL for updating. 5805 */ 5806var setButtonAtts = exports.setButtonAtts = function setButtonAtts(button, page, url) { 5807 if (!button) { 5808 return; 5809 } 5810 5811 if (button.rel && button.rel === 'prev') { 5812 button.href = url; 5813 } 5814 5815 button.dataset.page = page; // Set Page. 5816 button.dataset.url = url ? url : ''; // Set URL. 5817}; 5818 5819/***/ }), 5820
5821/***/ "./core/src/js/modules/getScrollPercentage.js": 5822/*!****************************************************!*\ 5823 !*** ./core/src/js/modules/getScrollPercentage.js ***! 5824 \****************************************************/ 5825/*! no static exports found */ 5826/***/ (function(module, exports, __webpack_require__) { 5827 5828"use strict"; 5829 5830 5831Object.defineProperty(exports, "__esModule", { 5832 value: true 5833}); 5834/** 5835 * getScrollPercentage 5836 * Get the scroll distance in pixels from a percentage 5837 * 5838 * @param {Object} alm 5839 * @return {NUMBER} newdistance 5840 * @since 5.2 5841 */ 5842 5843var getScrollPercentage = function getScrollPercentage(alm) { 5844 if (!alm) { 5845 return false; 5846 } 5847 5848 var is_negative = alm.scroll_distance_orig.toString().indexOf("-") === -1 ? false : true; // Is this a negative number 5849 var raw_distance = alm.scroll_distance_orig.toString().replace("-", "").replace("%", ""); // Remove - and perc 5850 var wh = alm.window.innerHeight; // window height 5851 5852 var height = Math.floor(wh / 100 * parseInt(raw_distance)); // Do math to get distance 5853 5854 var newdistance = is_negative ? "-" + height : height; // Set the distance 5855 //console.log(parseInt(newdistance)); 5856 5857 return parseInt(newdistance); 5858}; 5859exports.default = getScrollPercentage; 5860 5861/***/ }), 5862
5863/***/ "./core/src/js/modules/insertScript.js": 5864/*!*********************************************!*\ 5865 !*** ./core/src/js/modules/insertScript.js ***! 5866 \*********************************************/ 5867/*! no static exports found */ 5868/***/ (function(module, exports, __webpack_require__) { 5869 5870"use strict"; 5871 5872 5873Object.defineProperty(exports, "__esModule", { 5874 value: true 5875}); 5876 5877var _almDomParser = __webpack_require__(/*! ../helpers/almDomParser */ "./core/src/js/helpers/almDomParser.js"); 5878 5879var _almDomParser2 = _interopRequireDefault(_almDomParser); 5880 5881function _interopRequireDefault(obj) { 5882 return obj && obj.__esModule ? obj : { default: obj }; 5883} 5884 5885/** 5886 * insertScript 5887 * Search nodes for <script/> tags and run scripts. 5888 * Scripts cannot run with appendChild or innerHTML so this is necessary to function. 5889 * 5890 * @since 5.0 5891 */ 5892var insertScript = { 5893 5894 init: function init(node) { 5895 if (this.isScript(node) === true) { 5896 node.parentNode.replaceChild(this.clone(node), node); 5897 } else { 5898 var i = 0; 5899 var children = node.childNodes; 5900 5901 if (children === undefined) { 5902 var parser = new DOMParser(); 5903 var data = parser.parseFromString(node, 'text/html'); 5904 if (data) { 5905 children = data.body.childNodes; 5906 } 5907 } 5908 while (i < children.length) { 5909 this.replace(children[i++]); 5910 } 5911 } 5912 return node; 5913 }, 5914 5915 replace: function replace(node) { 5916 if (this.isScript(node) === true) { 5917 node.parentNode.replaceChild(this.clone(node), node); 5918 } else { 5919 var i = 0; 5920 var children = node.childNodes; 5921 while (i < children.length) { 5922 this.replace(children[i++]); 5923 } 5924 } 5925 return node; 5926 }, 5927 5928 isScript: function isScript(node) { 5929 return node.tagName === 'SCRIPT'; 5930 }, 5931 5932 clone: function clone(node) { 5933 var script = document.createElement("script"); 5934 script.text = node.innerHTML; 5935 for (var i = node.attributes.length - 1; i >= 0; i--) { 5936 script.setAttribute(node.attributes[i].name, node.attributes[i].value); 5937 } 5938 return script; 5939 } 5940 5941}; 5942exports.default = insertScript; 5943 5944/***/ }), 5945
5946/***/ "./core/src/js/modules/lazyImages.js": 5947/*!*******************************************!*\ 5948 !*** ./core/src/js/modules/lazyImages.js ***! 5949 \*******************************************/ 5950/*! no static exports found */ 5951/***/ (function(module, exports, __webpack_require__) { 5952 5953"use strict"; 5954 5955 5956Object.defineProperty(exports, "__esModule", { 5957 value: true 5958}); 5959exports.lazyImages = lazyImages; 5960exports.lazyImagesReplace = lazyImagesReplace; 5961/** 5962 * Lazy load images helper. 5963 * When a plugin or 3rd party script has hooked into WP Post Thumbnails to provide a lazy load solution, images will not load via Ajax. 5964 * This helper provides a fix by grabbing the dataset value and making it the src. 5965 * 5966 * @param {Object} alm The Ajax Load More object. 5967 */ 5968function lazyImages(alm) { 5969 if (!alm || !alm.lazy_images) { 5970 return; 5971 } 5972 lazyImagesReplace(alm.el); 5973} 5974 5975/** 5976 * Loop all images in container and replace the src. 5977 * 5978 * @param {HTMLElement} container The element HTML. 5979 */ 5980function lazyImagesReplace(container) { 5981 var images = container.getElementsByTagName('img'); 5982 if (images) { 5983 // Loop all images. 5984 Array.prototype.forEach.call(images, function (img) { 5985 if (img) { 5986 replaceSrc(img); 5987 } 5988 }); 5989 } 5990} 5991 5992/** 5993 * Replace the image src with the value from data-src attributes. 5994 * 5995 * @param {HTMLElement} img The HTML image element. 5996 */ 5997function replaceSrc(img) { 5998 if (img) { 5999 if (img.dataset.src) { 6000 img.src = img.dataset.src; 6001 } 6002 if (img.dataset.srcset) { 6003 img.srcset = img.dataset.srcset; 6004 } 6005 } 6006} 6007 6008/***/ }), 6009
6010/***/ "./core/src/js/modules/loadImage.js": 6011/*!******************************************!*\ 6012 !*** ./core/src/js/modules/loadImage.js ***! 6013 \******************************************/ 6014/*! no static exports found */ 6015/***/ (function(module, exports, __webpack_require__) { 6016 6017"use strict"; 6018 6019 6020Object.defineProperty(exports, "__esModule", { 6021 value: true 6022}); 6023 6024var _srcsetPolyfill = __webpack_require__(/*! ../helpers/srcsetPolyfill */ "./core/src/js/helpers/srcsetPolyfill.js"); 6025 6026var _srcsetPolyfill2 = _interopRequireDefault(_srcsetPolyfill); 6027 6028var _lazyImages = __webpack_require__(/*! ./lazyImages */ "./core/src/js/modules/lazyImages.js"); 6029 6030function _interopRequireDefault(obj) { 6031 return obj && obj.__esModule ? obj : { default: obj }; 6032} 6033 6034var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/imagesloaded/imagesloaded.js"); 6035 6036/** 6037 * Load the image with imagesLoaded 6038 * 6039 * @param {HTMLElement} container The HTML container. 6040 * @param {HTMLElement} item The element to load. 6041 * @param {string} ua Browser user-agent. 6042 * @param {string} rel The loading direction, next or prev. 6043 */ 6044var loadImage = function loadImage(container, item, ua) { 6045 var rel = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'next'; 6046 6047 return new Promise(function (resolve) { 6048 imagesLoaded(item, function () { 6049 // Add CSS transition 6050 item.style.transition = 'all 0.4s ease'; 6051 // Append to container 6052 if (rel === 'prev') { 6053 container.insertBefore(item, container.childNodes[0]); 6054 } else { 6055 container.appendChild(item); 6056 } 6057 6058 // Lazy Load images 6059 (0, _lazyImages.lazyImagesReplace)(item); 6060 6061 // Run srcset fix 6062 (0, _srcsetPolyfill2.default)(item, ua); 6063 6064 // Send Promise callback 6065 resolve(true); 6066 }); 6067 }); 6068}; 6069exports.default = loadImage; 6070 6071/***/ }), 6072
6073/***/ "./core/src/js/modules/loadItems.js": 6074/*!******************************************!*\ 6075 !*** ./core/src/js/modules/loadItems.js ***! 6076 \******************************************/ 6077/*! no static exports found */ 6078/***/ (function(module, exports, __webpack_require__) { 6079 6080"use strict"; 6081 6082 6083Object.defineProperty(exports, "__esModule", { 6084 value: true 6085}); 6086 6087var _loadImage = __webpack_require__(/*! ./loadImage */ "./core/src/js/modules/loadImage.js"); 6088 6089var _loadImage2 = _interopRequireDefault(_loadImage); 6090 6091var _setFocus = __webpack_require__(/*! ./setFocus */ "./core/src/js/modules/setFocus.js"); 6092 6093var _setFocus2 = _interopRequireDefault(_setFocus); 6094 6095function _interopRequireDefault(obj) { 6096 return obj && obj.__esModule ? obj : { default: obj }; 6097} 6098 6099function _asyncToGenerator(fn) { 6100 return function () { 6101 var gen = fn.apply(this, arguments);return new Promise(function (resolve, reject) { 6102 function step(key, arg) { 6103 try { 6104 var info = gen[key](arg);var value = info.value; 6105 } catch (error) { 6106 reject(error);return; 6107 }if (info.done) { 6108 resolve(value); 6109 } else { 6110 return Promise.resolve(value).then(function (value) { 6111 step("next", value); 6112 }, function (err) { 6113 step("throw", err); 6114 }); 6115 } 6116 }return step("next"); 6117 }); 6118 }; 6119} 6120 6121/** 6122 * Load all items. 6123 * 6124 * @param {HTMLElement} container 6125 * @param {HTMLElement} items 6126 * @param {Object} alm 6127 * @param {string} pageTitle 6128 * @param {string} url 6129 * @param {string} className 6130 */ 6131var loadItems = function loadItems(container, items, alm, pageTitle) { 6132 var url = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : window.location; 6133 var className = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : ''; 6134 6135 return new Promise(function (resolve) { 6136 var total = items.length; 6137 var index = 0; 6138 var count = 1; 6139 6140 // Get load direction. 6141 var rel = alm.rel ? alm.rel : 'next'; 6142 6143 // Set load properties. 6144 var matchVal = rel === 'prev' ? total : 1; // The item to attach data attributes. 6145 var page = rel === 'prev' ? alm.pagePrev : alm.page + 1; // Get the page number. 6146 6147 // Reverse items array if rel is 'prev'. 6148 items = rel === 'prev' ? items.reverse() : items; 6149 6150 function loadItem() { 6151 if (count <= total) { 6152 _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { 6153 return regeneratorRuntime.wrap(function _callee$(_context) { 6154 while (1) { 6155 switch (_context.prev = _context.next) { 6156 case 0: 6157 items[index].style.opacity = 0; 6158 6159 // Add data attributes to first or last item for URL updates. 6160 if (count == matchVal) { 6161 items[index].classList.add(className); 6162 6163 // Set URL 6164 items[index].dataset.url = url; 6165 6166 // Set page num 6167 items[index].dataset.page = page; 6168 6169 // Set page title 6170 items[index].dataset.pageTitle = pageTitle; 6171 } 6172 6173 _context.next = 4; 6174 return (0, _loadImage2.default)(container, items[index], alm.ua, rel); 6175 6176 case 4: 6177 6178 count++; 6179 index++; 6180 6181 loadItem(); 6182 6183 case 7: 6184 case 'end': 6185 return _context.stop(); 6186 } 6187 } 6188 }, _callee, this); 6189 }))().catch(function (e) { 6190 console.log('There was an error loading the items'); 6191 }); 6192 } else { 6193 // Delay for effect only 6194 setTimeout(function () { 6195 items.map(function (item) { 6196 item.style.opacity = 1; 6197 }); 6198 if (items[0]) { 6199 // Get the item to focus. 6200 var focusItem = rel === 'prev' ? items[items.length - 1] : items[0]; 6201 6202 // Set the focus. 6203 (0, _setFocus2.default)(alm, focusItem, null, false); 6204 } 6205 }, 50); 6206 6207 resolve(true); 6208 } 6209 } 6210 6211 loadItem(); 6212 }); 6213}; 6214 6215exports.default = loadItems; 6216 6217/***/ }), 6218
6219/***/ "./core/src/js/modules/loadPrevious.js": 6220/*!*********************************************!*\ 6221 !*** ./core/src/js/modules/loadPrevious.js ***! 6222 \*********************************************/ 6223/*! no static exports found */ 6224/***/ (function(module, exports, __webpack_require__) { 6225 6226"use strict"; 6227 6228 6229Object.defineProperty(exports, "__esModule", { 6230 value: true 6231}); 6232exports.createLoadPreviousButton = createLoadPreviousButton; 6233/** 6234 * Create a Load Previous button. 6235 * 6236 * @param {HTMLElement} content 6237 * @param {object} alm The Ajax Load More object. 6238 * @param {object} container The container element. 6239 * @param {number} page The previous page number. 6240 * @param {string} url The previous page url. 6241 * @param {string} label The label for the button. 6242 * @since 5.5.0 6243 */ 6244function createLoadPreviousButton(alm, container) { 6245 var page = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; 6246 var url = arguments[3]; 6247 var label = arguments[4]; 6248 6249 if (!label) { 6250 return; 6251 } 6252 6253 // Create wrapper. 6254 var btnWrap = document.createElement('div'); 6255 btnWrap.classList.add('alm-btn-wrap--prev'); 6256 6257 // Create button. 6258 var button = document.createElement('a'); 6259 button.href = url; 6260 button.innerHTML = label; 6261 button.setAttribute('rel', 'prev'); 6262 button.dataset.page = page; 6263 button.dataset.url = url; 6264 button.setAttribute('class', 'alm-load-more-btn alm-load-more-btn--prev ' + alm.loading_style); 6265 6266 // Click event. 6267 button.addEventListener('click', function (e) { 6268 alm.AjaxLoadMore.prevClick(e); 6269 }); 6270 6271 // Set alm previous button to this button. 6272 alm.AjaxLoadMore.setPreviousButton(button); 6273 6274 // Append button to wrap. 6275 btnWrap.appendChild(button); 6276 6277 // Get parent element. 6278 var parent = container.parentNode; 6279 6280 // Append button before container. 6281 parent.insertBefore(btnWrap, container); 6282} 6283 6284/***/ }), 6285
6286/***/ "./core/src/js/modules/masonry.js": 6287/*!****************************************!*\ 6288 !*** ./core/src/js/modules/masonry.js ***! 6289 \****************************************/ 6290/*! no static exports found */ 6291/***/ (function(module, exports, __webpack_require__) { 6292 6293"use strict"; 6294 6295 6296Object.defineProperty(exports, "__esModule", { 6297 value: true 6298}); 6299exports.almMasonry = almMasonry; 6300exports.almMasonryConfig = almMasonryConfig; 6301 6302var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js"); 6303 6304var _fadeIn2 = _interopRequireDefault(_fadeIn); 6305 6306var _almAppendChildren = __webpack_require__(/*! ../helpers/almAppendChildren */ "./core/src/js/helpers/almAppendChildren.js"); 6307 6308var _almAppendChildren2 = _interopRequireDefault(_almAppendChildren); 6309 6310var _almDomParser = __webpack_require__(/*! ../helpers/almDomParser */ "./core/src/js/helpers/almDomParser.js"); 6311 6312var _almDomParser2 = _interopRequireDefault(_almDomParser); 6313 6314var _srcsetPolyfill = __webpack_require__(/*! ../helpers/srcsetPolyfill */ "./core/src/js/helpers/srcsetPolyfill.js"); 6315 6316var _srcsetPolyfill2 = _interopRequireDefault(_srcsetPolyfill); 6317 6318var _stripEmptyNodes = __webpack_require__(/*! ../helpers/stripEmptyNodes */ "./core/src/js/helpers/stripEmptyNodes.js"); 6319 6320var _stripEmptyNodes2 = _interopRequireDefault(_stripEmptyNodes); 6321 6322var _filters = __webpack_require__(/*! ../addons/filters */ "./core/src/js/addons/filters.js"); 6323 6324var _seo = __webpack_require__(/*! ../addons/seo */ "./core/src/js/addons/seo.js"); 6325 6326var _setFocus = __webpack_require__(/*! ./setFocus */ "./core/src/js/modules/setFocus.js"); 6327 6328var _setFocus2 = _interopRequireDefault(_setFocus); 6329 6330function _interopRequireDefault(obj) { 6331 return obj && obj.__esModule ? obj : { default: obj }; 6332} 6333 6334var imagesLoaded = __webpack_require__(/*! imagesloaded */ "./node_modules/imagesloaded/imagesloaded.js"); 6335 6336/** 6337 * Function to trigger built-in Ajax Load More Masonry. 6338 * 6339 * @param {object} alm 6340 * @param {boolean} init 6341 * @param {boolean} filtering 6342 * @since 3.1 6343 * @updated 5.0.2 6344 */ 6345function almMasonry(alm, init, filtering) { 6346 if (!alm.masonry) { 6347 console.warn('Ajax Load More: Unable to locate Masonry settings.'); 6348 } 6349 6350 return new Promise(function (resolve) { 6351 var container = alm.listing; 6352 var html = alm.html; 6353 6354 var selector = alm.masonry.selector; 6355 var columnWidth = alm.masonry.columnwidth; 6356 var animation = alm.masonry.animation; 6357 var horizontalOrder = alm.masonry.horizontalorder; 6358 var speed = alm.speed; 6359 var masonry_init = alm.masonry.init; 6360 6361 var duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay 6362 var hidden = 'scale(0.5)'; 6363 var visible = 'scale(1)'; 6364 6365 if (animation === 'zoom-out') { 6366 hidden = 'translateY(-20px) scale(1.25)'; 6367 visible = 'translateY(0) scale(1)'; 6368 } 6369 6370 if (animation === 'slide-up') { 6371 hidden = 'translateY(50px)'; 6372 visible = 'translateY(0)'; 6373 } 6374 6375 if (animation === 'slide-down') { 6376 hidden = 'translateY(-50px)'; 6377 visible = 'translateY(0)'; 6378 } 6379 6380 if (animation === 'none') { 6381 hidden = 'translateY(0)'; 6382 visible = 'translateY(0)'; 6383 } 6384 6385 // columnWidth 6386 if (columnWidth) { 6387 if (!isNaN(columnWidth)) { 6388 // Check if number 6389 columnWidth = parseInt(columnWidth); 6390 } 6391 } else { 6392 // No columnWidth, use the selector 6393 columnWidth = selector; 6394 } 6395 6396 // horizontalOrder 6397 horizontalOrder = horizontalOrder === 'true' ? true : false; 6398 6399 if (!filtering) { 6400 // First Run. 6401 if (masonry_init && init) { 6402 // Run srcSet polyfill. 6403 (0, _srcsetPolyfill2.default)(container, alm.ua); 6404 6405 imagesLoaded(container, function () { 6406 var defaults = { 6407 itemSelector: selector, 6408 transitionDuration: duration, 6409 columnWidth: columnWidth, 6410 horizontalOrder: horizontalOrder, 6411 hiddenStyle: { 6412 transform: hidden, 6413 opacity: 0 6414 }, 6415 visibleStyle: { 6416 transform: visible, 6417 opacity: 1 6418 } 6419 }; 6420 6421 // Get custom Masonry options (https://masonry.desandro.com/options.html). 6422 var alm_masonry_vars = window.alm_masonry_vars; 6423 if (alm_masonry_vars) { 6424 Object.keys(alm_masonry_vars).forEach(function (key) { 6425 // Loop object to create key:prop 6426 defaults[key] = alm_masonry_vars[key]; 6427 }); 6428 } 6429 6430 var data = container.querySelectorAll(selector); 6431 6432 // Create Filters URL, if required. 6433 if (alm.addons.filters) { 6434 data = (0, _filters.createMasonryFiltersPages)(alm, Array.prototype.slice.call(data)); 6435 } 6436 6437 // Create SEO URL, if required. 6438 if (alm.addons.seo) {
6439 data = (0, _seo.createMasonrySEOPages)(alm, Array.prototype.slice.call(data)); 6440 } 6441 6442 // Init Masonry, delay to allow time for items to be added to the page. 6443 setTimeout(function () { 6444 alm.msnry = new Masonry(container, defaults); 6445 6446 // Fade In 6447 (0, _fadeIn2.default)(container.parentNode, 125); 6448 6449 resolve(true); 6450 }, 1); 6451 }); 6452 } 6453 6454 // Standard / Append content. 6455 else { 6456 // Loop all items and create array of node elements 6457 var data = (0, _stripEmptyNodes2.default)((0, _almDomParser2.default)(html, 'text/html')); 6458 6459 if (data) { 6460 // Append elements listing. 6461 (0, _almAppendChildren2.default)(alm.listing, data, 'masonry'); 6462 6463 // Run srcSet polyfill. 6464 (0, _srcsetPolyfill2.default)(container, alm.ua); 6465 6466 // imagesLoaded & append. 6467 imagesLoaded(container, function () { 6468 alm.msnry.appended(data); 6469 6470 // Set Focus. 6471 (0, _setFocus2.default)(alm, data, data.length, false); 6472 6473 // Create Filters URL, if required. 6474 if (alm.addons.filters) { 6475 (0, _filters.createMasonryFiltersPage)(alm, data[0]); 6476 } 6477 6478 // Create SEO URL, if required. 6479 if (alm.addons.seo) { 6480 (0, _seo.createMasonrySEOPage)(alm, data[0]); 6481 } 6482 6483 resolve(true); 6484 }); 6485 } 6486 } 6487 } else { 6488 // Reset 6489 container.parentNode.style.opacity = 0; 6490 almMasonry(alm, true, false); 6491 resolve(true); 6492 } 6493 }); 6494} 6495 6496/** 6497 * Set up initial Masonry Configuration. 6498 * 6499 * @param {*} alm 6500 * @return object 6501 */ 6502function almMasonryConfig(alm) { 6503 alm.masonry = {}; 6504 alm.masonry.init = true; 6505 if (alm.msnry) { 6506 // destroy masonry if it currently exists. 6507 alm.msnry.destroy(); 6508 } else { 6509 alm.msnry = ''; 6510 } 6511 var masonry_config = JSON.parse(alm.listing.dataset.masonryConfig); 6512 if (masonry_config) { 6513 alm.masonry.selector = masonry_config.selector; 6514 alm.masonry.columnwidth = masonry_config.columnwidth; 6515 alm.masonry.animation = masonry_config.animation === '' ? 'standard' : masonry_config.animation; 6516 alm.masonry.horizontalorder = masonry_config.horizontalorder === '' ? 'true' : masonry_config.horizontalorder; 6517 alm.transition_container = false; 6518 alm.images_loaded = false; 6519 } else { 6520 console.warn('Ajax Load More: Unable to locate Masonry configuration settings.'); 6521 } 6522 6523 return alm; 6524} 6525 6526/***/ }), 6527
6528/***/ "./core/src/js/modules/noResults.js": 6529/*!******************************************!*\ 6530 !*** ./core/src/js/modules/noResults.js ***! 6531 \******************************************/ 6532/*! no static exports found */ 6533/***/ (function(module, exports, __webpack_require__) { 6534 6535"use strict"; 6536 6537 6538Object.defineProperty(exports, "__esModule", { 6539 value: true 6540}); 6541/** 6542 * Set the results text if required. 6543 * 6544 * @param {*} target The target HTML element 6545 * @param {*} html The HTML 6546 * @since 5.1 6547 */ 6548var almNoResults = function almNoResults(target) { 6549 var html = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; 6550 6551 if (html === '') { 6552 return false; // exit if empty 6553 } 6554 6555 // Remove empty <p/> tags 6556 html = html.replace(/(<p><\/p>)+/g, ''); 6557 6558 // Append to DOM 6559 target.innerHTML = html; 6560}; 6561 6562exports.default = almNoResults; 6563 6564/***/ }), 6565
6566/***/ "./core/src/js/modules/placeholder.js": 6567/*!********************************************!*\ 6568 !*** ./core/src/js/modules/placeholder.js ***! 6569 \********************************************/ 6570/*! no static exports found */ 6571/***/ (function(module, exports, __webpack_require__) { 6572 6573"use strict"; 6574 6575 6576Object.defineProperty(exports, "__esModule", { 6577 value: true 6578}); 6579exports.showPlaceholder = showPlaceholder; 6580exports.hidePlaceholder = hidePlaceholder; 6581 6582var _fadeIn = __webpack_require__(/*! ./fadeIn */ "./core/src/js/modules/fadeIn.js"); 6583 6584var _fadeIn2 = _interopRequireDefault(_fadeIn); 6585 6586var _fadeOut = __webpack_require__(/*! ./fadeOut */ "./core/src/js/modules/fadeOut.js"); 6587 6588var _fadeOut2 = _interopRequireDefault(_fadeOut); 6589 6590function _interopRequireDefault(obj) { 6591 return obj && obj.__esModule ? obj : { default: obj }; 6592} 6593 6594function showPlaceholder(alm) { 6595 if (!alm || !alm.main || alm.addons.paging || alm.rel === 'prev') { 6596 return false; 6597 } 6598 if (alm.placeholder) { 6599 alm.placeholder.style.display = 'block'; 6600 (0, _fadeIn2.default)(alm.placeholder, 150); 6601 } 6602} 6603 6604function hidePlaceholder(alm) { 6605 if (!alm || !alm.main || alm.addons.paging) { 6606 return false; 6607 } 6608 if (alm.placeholder) { 6609 (0, _fadeOut2.default)(alm.placeholder, 150); 6610 setTimeout(function () { 6611 alm.placeholder.style.display = 'none'; 6612 }, 75); 6613 } 6614} 6615 6616/***/ }), 6617
6618/***/ "./core/src/js/modules/resultsText.js": 6619/*!********************************************!*\ 6620 !*** ./core/src/js/modules/resultsText.js ***! 6621 \********************************************/ 6622/*! no static exports found */ 6623/***/ (function(module, exports, __webpack_require__) { 6624 6625"use strict"; 6626 6627 6628Object.defineProperty(exports, "__esModule", { 6629 value: true 6630}); 6631exports.almResultsText = almResultsText; 6632exports.almGetResultsText = almGetResultsText; 6633exports.almInitResultsText = almInitResultsText; 6634/** 6635 * Set the results text if required. 6636 * 6637 * @param {object} alm Global alm object 6638 * @param {string} type Type of results 6639 * @since 5.1 6640 */ 6641function almResultsText(alm) { 6642 var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard'; 6643 6644 if (!alm.resultsText || alm.nested === 'true') return false; 6645 var resultsType = type === 'nextpage' || type === 'woocommerce' ? type : 'standard'; 6646 6647 almGetResultsText(alm, resultsType); 6648} 6649 6650/** 6651 * Get values for showing results text. 6652 * 6653 * @param {Object} alm 6654 * @param {String} type 6655 * @since 4.1 6656 */ 6657function almGetResultsText(alm) { 6658 var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard'; 6659 6660 if (!alm.resultsText || !alm.localize || alm.nested === 'true') { 6661 return false; 6662 } 6663 6664 var page = 0; 6665 var pages = 0; 6666 var post_count = 0; 6667 var total_posts = 0; 6668 var preloaded = alm.addons.preloaded === 'true' ? true : false; 6669 var paging = alm.addons.paging ? true : false; 6670 var posts_per_page = alm.orginal_posts_per_page; 6671 6672 switch (type) { 6673 6674 // Nextpage 6675 case 'nextpage': 6676 6677 page = parseInt(alm.localize.page); 6678 post_count = page; 6679 pages = parseInt(alm.localize.total_posts); 6680 total_posts = parseInt(pages); 6681 almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts); 6682 6683 break; 6684 6685 // WooCommerce 6686 case 'woocommerce': 6687 // Don't do anything 6688 break; 6689 6690 default: 6691 6692 page = parseInt(alm.page) + 1; 6693 pages = Math.ceil(alm.localize.total_posts / posts_per_page); 6694 post_count = parseInt(alm.localize.post_count); 6695 total_posts = parseInt(alm.localize.total_posts); 6696 6697 // Add 1 page if Preloaded 6698 if (preloaded) { 6699 page = paging ? alm.page + 1 : page + 1; 6700 } 6701 6702 almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts); 6703 6704 } 6705} 6706 6707/** 6708 * Display `Showing {x} of {y} pages` text. 6709 * 6710 * @param {Object} alm 6711 * @param {String} type 6712 * @since 4.1 6713 */ 6714function almInitResultsText(alm) { 6715 var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'standard'; 6716 6717 if (!alm.resultsText || !alm.localize || alm.nested === 'true') return false; 6718 6719 var page = 0; 6720 var pages = Math.ceil(alm.localize.total_posts / alm.orginal_posts_per_page); 6721 var post_count = parseInt(alm.localize.post_count); 6722 var total_posts = parseInt(alm.localize.total_posts); 6723 6724 switch (type) { 6725 6726 // Nextpage 6727 case 'nextpage': 6728 page = alm.addons.nextpage_startpage; 6729 post_count = page; 6730 pages = total_posts; 6731 almRenderResultsText(alm.resultsText, page, total_posts, post_count, total_posts); 6732 break; 6733 6734 // Preloaded 6735 case 'preloaded': 6736 page = alm.addons.paging && alm.addons.seo ? parseInt(alm.start_page) + 1 : parseInt(alm.page) + 1; 6737 almRenderResultsText(alm.resultsText, page, pages, post_count, total_posts); 6738 break; 6739 6740 // WooCommerce 6741 case 'woocommerce': 6742 // Don't do anything 6743 break; 6744 6745 default: 6746 6747 console.log('No results to set.'); 6748 6749 } 6750} 6751 6752/** 6753 * Render `Showing {x} of {y} results` text. 6754 * 6755 * @param {Element} el 6756 * @param {String} page 6757 * @param {String} pages 6758 * @param {String} post_count 6759 * @param {String} total_posts 6760 * @since 4.1 6761 */ 6762var almRenderResultsText = function almRenderResultsText(el, page, pages, post_count, total_posts) { 6763 6764 el.forEach(function (result) { 6765 6766 pages = parseInt(pages); 6767 var text = pages > 0 ? alm_localize.results_text : alm_localize.no_results_text; 6768 6769 if (pages > 0) { 6770 text = text.replace('{num}', '<span class="alm-results-num">' + page + '</span>'); // Deprecated 6771 text = text.replace('{page}', '<span class="alm-results-page">' + page + '</span>'); 6772 text = text.replace('{total}', '<span class="alm-results-total">
6772' + pages + '</span>'); // Deprecated 6773 text = text.replace('{pages}', '<span class="alm-results-pages">' + pages + '</span>'); 6774 text = text.replace('{post_count}', '<span class="alm-results-post_count">' + post_count + '</span>'); 6775 text = text.replace('{total_posts}', '<span class="alm-results-total_posts">' + total_posts + '</span>'); 6776 result.innerHTML = text; 6777 } else { 6778 result.innerHTML = text; 6779 } 6780 }); 6781}; 6782 6783/***/ }), 6784
6785/***/ "./core/src/js/modules/setFocus.js": 6786/*!*****************************************!*\ 6787 !*** ./core/src/js/modules/setFocus.js ***! 6788 \*****************************************/ 6789/*! no static exports found */ 6790/***/ (function(module, exports, __webpack_require__) { 6791 6792"use strict"; 6793 6794 6795Object.defineProperty(exports, "__esModule", { 6796 value: true 6797}); 6798/** 6799 * setFocus 6800 * Set user focus to improve accessibility after load events 6801 * 6802 * @param {Object} alm 6803 * @param {HTMLElement} preloaded 6804 * @param {Number} total 6805 * @param {Boolean} is_filtering 6806 * @since 5.1 6807 */ 6808 6809var setFocus = function setFocus(alm) { 6810 var element = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 6811 var total = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; 6812 var is_filtering = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; 6813 6814 if (!alm_localize.a11y_focus) { 6815 return false; 6816 } 6817 6818 // WooCommerce Add-on 6819 if (alm.addons.woocommerce || alm.addons.elementor) { 6820 moveFocus(false, false, element, false, alm.isSafari); 6821 return; 6822 } 6823 6824 // Has Total 6825 if (alm.transition_container && total > 0) { 6826 if (alm.addons.paging) { 6827 // Paging 6828 moveFocus(alm.init, alm.addons.preloaded, alm.listing, is_filtering, alm.isSafari); 6829 } else if (alm.addons.single_post || alm.addons.nextpage) { 6830 // Single Posts OR Next Page, set `init` to false to trigger focus 6831 moveFocus(false, alm.addons.preloaded, element, is_filtering, alm.isSafari); 6832 } else { 6833 // Standard ALM 6834 moveFocus(alm.init, alm.addons.preloaded, element, is_filtering, alm.isSafari); 6835 } 6836 } else if (!alm.transition_container) { 6837 // Table Layout, no transition container 6838 moveFocus(alm.init, alm.addons.preloaded, element[0], is_filtering, alm.isSafari); 6839 } 6840}; 6841exports.default = setFocus; 6842 6843/** 6844 * moveFocus 6845 * Move user focus to alm-reveal div 6846 * 6847 * @param {Boolean} init 6848 * @param {String} preloaded 6849 * @param {HTMLElement} element 6850 * @param {Boolean} is_filtering 6851 * @param {Boolean} isSafari 6852 * @since 5.1 6853 */ 6854 6855var moveFocus = function moveFocus() { 6856 var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; 6857 var preloaded = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'false'; 6858 var element = arguments[2]; 6859 var is_filtering = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; 6860 var isSafari = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; 6861 6862 if (!is_filtering) { 6863 if ((init || !element) && preloaded !== 'true') { 6864 return false; // Exit if first run 6865 } 6866 } 6867 6868 // Check if element is an array. 6869 // If `transition_container="false"`, `element` will be an array. 6870 /* 6871 let is_array = Array.isArray(element); 6872 element = (is_array) ? element[0] : element; 6873 */ 6874 6875 // Set tabIndex and style on element 6876 element.setAttribute('tabIndex', '-1'); 6877 element.style.outline = 'none'; 6878 6879 // Get Parent container 6880 // If `.alm-listing` set parent to element 6881 var parent = !element.classList.contains('alm-listing') ? element.parentNode : element; 6882 6883 // Scroll Container 6884 var scrollContainer = parent.dataset.scrollContainer; 6885 6886 // If scroll container, move it, not the window. 6887 if (scrollContainer) { 6888 var container = document.querySelector(scrollContainer); 6889 if (container) { 6890 //let left = container.scrollLeft; 6891 //let top = container.scrollTop; 6892 //element.focus(); 6893 //container.scrollLeft = left; 6894 //container.scrollTop = top; 6895 setTimeout(function () { 6896 element.focus({ preventScroll: true }); 6897 }, 50); 6898 } 6899 } 6900 6901 // Move window 6902 else { 6903 setTimeout(function () { 6904 element.focus({ preventScroll: true }); 6905 }, 50); 6906 6907 //let x = window.scrollX; 6908 //let y = window.scrollY; 6909 6910 // Safari fix for window movement if Y = 0 6911 //if(isSafari){ 6912 //window.scrollTo(x, y); 6913 //y = (y === 0) ? 1 : y; 6914 //} 6915 //element.focus(); 6916 //window.scrollTo(x, y); 6917 } 6918}; 6919 6920/***/ }), 6921
6922/***/ "./core/src/js/modules/setLocalizedVars.js": 6923/*!*************************************************!*\ 6924 !*** ./core/src/js/modules/setLocalizedVars.js ***! 6925 \*************************************************/ 6926/*! no static exports found */ 6927/***/ (function(module, exports, __webpack_require__) { 6928 6929"use strict"; 6930 6931 6932Object.defineProperty(exports, "__esModule", { 6933 value: true 6934}); 6935 6936var _resultsText = __webpack_require__(/*! ./resultsText */ "./core/src/js/modules/resultsText.js"); 6937 6938var resultsText = _interopRequireWildcard(_resultsText); 6939 6940function _interopRequireWildcard(obj) { 6941 if (obj && obj.__esModule) { 6942 return obj; 6943 } else { 6944 var newObj = {};if (obj != null) { 6945 for (var key in obj) { 6946 if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; 6947 } 6948 }newObj.default = obj;return newObj; 6949 } 6950} 6951 6952/** 6953 * Set localized variables 6954 * 6955 * @param {object} alm Global alm object 6956 * @since 4.1 6957 */ 6958 6959var setLocalizedVars = function setLocalizedVars(alm) { 6960 6961 return new Promise(function (resolve) { 6962 6963 var type = 'standard'; 6964 6965 // Current Page `page` 6966 6967 // nextpage 6968 if (alm.addons.nextpage) { 6969 type = 'nextpage'; 6970 if (alm.addons.paging) { 6971 alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1); 6972 } else { 6973 alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + parseInt(alm.addons.nextpage_startpage) + 1); 6974 } 6975 } 6976 // woocommerce 6977 else if (alm.addons.woocommerce) { 6978 type = 'woocommerce'; 6979 alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1); 6980 } else { 6981 alm.AjaxLoadMore.setLocalizedVar('page', parseInt(alm.page) + 1); 6982 } 6983 6984 // Total Posts `total_posts`. 6985 // Only update if !preloaded && !nextpage && !woocommerce 6986 if (alm.addons.preloaded !== 'true' && !alm.addons.nextpage && !alm.addons.woocommerce) { 6987 alm.AjaxLoadMore.setLocalizedVar('total_posts', alm.totalposts); 6988 } 6989 6990 // Viewing 6991 alm.AjaxLoadMore.setLocalizedVar('post_count', almSetPostCount(alm)); 6992 6993 // Set Results Text (if required) 6994 resultsText.almResultsText(alm, type); 6995 6996 resolve(true); 6997 }); 6998}; 6999 7000exports.default = setLocalizedVars; 7001 7002/** 7003 * almSetViewing 7004 * Get total post_count 7005 */ 7006 7007function almSetPostCount(alm) { 7008 var pc = parseInt(alm.posts); 7009 var pa = parseInt(alm.addons.preloaded_amount); 7010 var count = pc + pa; 7011 count = alm.start_page > 1 ? count - pa : count; // SEO 7012 count = alm.addons.filters_startpage > 1 ? count - pa : count; // Filters 7013 count = alm.addons.single_post ? count + 1 : count; // Single Posts 7014 count = alm.addons.nextpage ? count + 1 : count; // Next Page 7015 7016 return count; 7017} 7018 7019/***/ }), 7020
7021/***/ "./core/src/js/modules/tableofcontents.js": 7022/*!************************************************!*\ 7023 !*** ./core/src/js/modules/tableofcontents.js ***! 7024 \************************************************/ 7025/*! no static exports found */ 7026/***/ (function(module, exports, __webpack_require__) { 7027 7028"use strict"; 7029 7030 7031Object.defineProperty(exports, "__esModule", { 7032 value: true 7033}); 7034exports.tableOfContents = tableOfContents; 7035exports.clearTOC = clearTOC; 7036 7037var _ajaxLoadMore = __webpack_require__(/*! ../ajax-load-more */ "./core/src/js/ajax-load-more.js"); 7038 7039var _setFocus = __webpack_require__(/*! ./setFocus */ "./core/src/js/modules/setFocus.js"); 7040 7041var _setFocus2 = _interopRequireDefault(_setFocus); 7042 7043function _interopRequireDefault(obj) { 7044 return obj && obj.__esModule ? obj : { default: obj }; 7045} 7046 7047/** 7048 * Create a numbered table of contents navigation 7049 * 7050 * @param {object} alm 7051 * @param {boolean} init 7052 * @since 5.2 7053 */ 7054function tableOfContents(alm) { 7055 var init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; 7056 var from_preloaded = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; 7057 7058 var totalPosts = alm.localize && alm.localize.post_count ? parseInt(alm.localize.post_count) : 0; 7059 if (totalPosts == 0 && !alm.addons.single_post) { 7060 // Exit if zero posts and not single posts 7061 return false; 7062 } 7063 7064 if (alm && alm.tableofcontents && alm.transition_container && alm.transition !== 'masonry') { 7065 var offset = alm.tableofcontents.dataset.offset ? parseInt(alm.tableofcontents.dataset.offset) : 30; 7066 var startPage = alm.start_page ? parseInt(alm.start_page) : 0; 7067 var filterStartPage = alm.addons.filters_startpage ? parseInt(alm.addons.filters_startpage) : 0; 7068 var nextpageStartPage = alm.addons.nextpage_startpage ? parseInt(alm.addons.nextpage_startpage) : 0; 7069 var page = parseInt(alm.page); 7070 var preloaded = alm.addons.preloaded === 'true' ? true : false; 7071 7072 // Exit if Paging or Next Page 7073 if (alm.addons.paging || alm.addons.nextpage) { 7074 return false; 7075 } 7076 7077 // Init 7078 7079 if (init) { 7080 setTimeout(function () { 7081 // Paged results 7082 if (alm.addons.seo && startPage > 1 || alm.addons.filters && filterStartPage > 1 || alm.addons.nextpage && nextpageStartPage > 1) { 7083 // SEO 7084 if (alm.addons.seo && startPage > 1) { 7085 for (var i = 0; i < startPage; i++) { 7086 createTOCButton(alm, i, offset); 7087 } 7088 } 7089 // Filters 7090 if (alm.addons.filters && filterStartPage > 1) { 7091 for (var _i = 0; _i < filterStartPage; _i++) { 7092 createTOCButton(alm, _i, offset); 7093 } 7094 } 7095 // Nextpage 7096 if (alm.addons.nextpage && nextpageStartPage > 1) { 7097 for (var _i2 = 0; _i2 < nextpageStartPage; _i2++) { 7098 createTOCButton(alm, _i2, offset); 7099 } 7100 } 7101 } else { 7102 if (!from_preloaded && preloaded) { 7103 page = page + 1; 7104 } 7105 createTOCButton(alm, page, offset); 7106 } 7107 }, 100); 7108 } else { 7109 // Preloaded 7110 if (preloaded) { 7111 if (alm.addons.seo && startPage > 0) { 7112 page = page; 7113 } else if (alm.addons.filters && filterStartPage > 0) { 7114 page = page; 7115 } else { 7116 page = page + 1; 7117 } 7118 } 7119 7120 createTOCButton(alm, page, offset); 7121 } 7122 } 7123} 7124 7125// Clear table of contents 7126function clearTOC() { 7127 var toc = document.querySelector('.alm-toc'); 7128 if (toc) { 7129 toc.innerHTML = ''; 7130 } 7131} 7132 7133// Create Standard Page Button 7134function createTOCButton(alm, page, offset) { 7135 if (!alm.tableofcontents) { 7136 return false; 7137 } 7138 7139 var button = document.createElement('button'); 7140 button.type = 'button'; 7141 7142 page = parseInt(page) + 1; 7143 button.innerHTML = getTOCLabel(alm, page); 7144 button.dataset.page = alm.addons.single_post_target && alm.init ? page - 1 : page; 7145 alm.tableofcontents.appendChild(button); 7146 7147 button.addEventListener('click', function (e) { 7148 var page = this.dataset.page; 7149 var target = document.querySelector('.alm-reveal:nth-child(' + page + ')') || document.querySelector('.alm-nextpage:nth-child(' + page + ')'); 7150 7151 // Single Posts 7152 if (alm.addons.single_post_target) { 7153 target = document.querySelector('.alm-reveal.alm-single-post[data-page="' + page + '"]'); 7154 } 7155 7156 if (!target) { 7157 return false;
7158 } 7159 var top = typeof _ajaxLoadMore.getOffset === 'function' ? (0, _ajaxLoadMore.getOffset)(target).top : target.offsetTop; 7160 (0, _ajaxLoadMore.almScroll)(top - offset); 7161 7162 // Set Focus for A11y 7163 setTimeout(function () { 7164 (0, _setFocus2.default)(alm, target, page, false); 7165 }, 1000); 7166 }); 7167} 7168 7169// Get Button Label 7170function getTOCLabel(alm, page) { 7171 var label = page; 7172 7173 // Single Posts 7174 if (alm.addons.single_post) { 7175 var thePage = page - 1; 7176 var element = void 0; 7177 if (alm.addons.single_post_target) { 7178 // Special functionality for Single Post with a loading target type 7179 if (alm.init) { 7180 thePage = thePage; 7181 } else { 7182 thePage = thePage + 1; 7183 } 7184 var posts = document.querySelectorAll('.alm-reveal.alm-single-post'); 7185 if (posts) { 7186 element = posts[thePage]; 7187 } 7188 } else { 7189 element = document.querySelector('.alm-reveal.alm-single-post[data-page=' + (page - 1) + ']'); 7190 } 7191 label = element ? element.dataset.title : label; 7192 } 7193 7194 // Dynamic function name 7195 var funcName = 'almTOCLabel_' + alm.id; 7196 if (typeof window[funcName] === 'function') { 7197 label = window[funcName](page, label); 7198 } 7199 7200 return label; 7201} 7202 7203/***/ }), 7204
vendor: 1,814 bytes, lines 7205-7244
7205/***/ "./node_modules/@babel/polyfill/lib/noConflict.js": 7206/*!********************************************************!*\ 7207 !*** ./node_modules/@babel/polyfill/lib/noConflict.js ***! 7208 \********************************************************/ 7209/*! no static exports found */ 7210/***/ (function(module, exports, __webpack_require__) { 7211 7212"use strict"; 7213 7214 7215__webpack_require__(/*! core-js/es6 */ "./node_modules/core-js/es6/index.js"); 7216 7217__webpack_require__(/*! core-js/fn/array/includes */ "./node_modules/core-js/fn/array/includes.js"); 7218 7219__webpack_require__(/*! core-js/fn/array/flat-map */ "./node_modules/core-js/fn/array/flat-map.js"); 7220 7221__webpack_require__(/*! core-js/fn/string/pad-start */ "./node_modules/core-js/fn/string/pad-start.js"); 7222 7223__webpack_require__(/*! core-js/fn/string/pad-end */ "./node_modules/core-js/fn/string/pad-end.js"); 7224 7225__webpack_require__(/*! core-js/fn/string/trim-start */ "./node_modules/core-js/fn/string/trim-start.js"); 7226 7227__webpack_require__(/*! core-js/fn/string/trim-end */ "./node_modules/core-js/fn/string/trim-end.js"); 7228 7229__webpack_require__(/*! core-js/fn/symbol/async-iterator */ "./node_modules/core-js/fn/symbol/async-iterator.js"); 7230 7231__webpack_require__(/*! core-js/fn/object/get-own-property-descriptors */ "./node_modules/core-js/fn/object/get-own-property-descriptors.js"); 7232 7233__webpack_require__(/*! core-js/fn/object/values */ "./node_modules/core-js/fn/object/values.js"); 7234 7235__webpack_require__(/*! core-js/fn/object/entries */ "./node_modules/core-js/fn/object/entries.js"); 7236 7237__webpack_require__(/*! core-js/fn/promise/finally */ "./node_modules/core-js/fn/promise/finally.js"); 7238 7239__webpack_require__(/*! core-js/web */ "./node_modules/core-js/web/index.js"); 7240 7241__webpack_require__(/*! regenerator-runtime/runtime */ "./node_modules/regenerator-runtime/runtime.js"); 7242 7243/***/ }), 7244
vendor: 425 bytes, lines 7245-7256
7245/***/ "./node_modules/@babel/polyfill/noConflict.js": 7246/*!****************************************************!*\ 7247 !*** ./node_modules/@babel/polyfill/noConflict.js ***! 7248 \****************************************************/ 7249/*! no static exports found */ 7250/***/ (function(module, exports, __webpack_require__) { 7251 7252__webpack_require__(/*! ./lib/noConflict */ "./node_modules/@babel/polyfill/lib/noConflict.js"); 7253 7254 7255/***/ }), 7256
vendor: 361 bytes, lines 7257-7267
7257/***/ "./node_modules/axios/index.js": 7258/*!*************************************!*\ 7259 !*** ./node_modules/axios/index.js ***! 7260 \*************************************/ 7261/*! no static exports found */ 7262/***/ (function(module, exports, __webpack_require__) { 7263 7264module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/axios/lib/axios.js"); 7265 7266/***/ }), 7267
vendor: 7,892 bytes, lines 7268-7491
7268/***/ "./node_modules/axios/lib/adapters/xhr.js": 7269/*!************************************************!*\ 7270 !*** ./node_modules/axios/lib/adapters/xhr.js ***! 7271 \************************************************/ 7272/*! no static exports found */ 7273/***/ (function(module, exports, __webpack_require__) { 7274 7275"use strict"; 7276 7277 7278var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 7279var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/axios/lib/core/settle.js"); 7280var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/axios/lib/helpers/cookies.js"); 7281var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js"); 7282var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/axios/lib/core/buildFullPath.js"); 7283var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/axios/lib/helpers/parseHeaders.js"); 7284var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js"); 7285var createError = __webpack_require__(/*! ../core/createError */ "./node_modules/axios/lib/core/createError.js"); 7286var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/axios/lib/defaults.js"); 7287var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); 7288 7289module.exports = function xhrAdapter(config) { 7290 return new Promise(function dispatchXhrRequest(resolve, reject) { 7291 var requestData = config.data; 7292 var requestHeaders = config.headers; 7293 var responseType = config.responseType; 7294 var onCanceled; 7295 function done() { 7296 if (config.cancelToken) { 7297 config.cancelToken.unsubscribe(onCanceled); 7298 } 7299 7300 if (config.signal) { 7301 config.signal.removeEventListener('abort', onCanceled); 7302 } 7303 } 7304 7305 if (utils.isFormData(requestData)) { 7306 delete requestHeaders['Content-Type']; // Let the browser set it 7307 } 7308 7309 var request = new XMLHttpRequest(); 7310 7311 // HTTP basic authentication 7312 if (config.auth) { 7313 var username = config.auth.username || ''; 7314 var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : ''; 7315 requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password); 7316 } 7317 7318 var fullPath = buildFullPath(config.baseURL, config.url); 7319 request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true); 7320 7321 // Set the request timeout in MS 7322 request.timeout = config.timeout; 7323 7324 function onloadend() { 7325 if (!request) { 7326 return; 7327 } 7328 // Prepare the response 7329 var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null; 7330 var responseData = !responseType || responseType === 'text' || responseType === 'json' ? 7331 request.responseText : request.response; 7332 var response = { 7333 data: responseData, 7334 status: request.status, 7335 statusText: request.statusText, 7336 headers: responseHeaders, 7337 config: config, 7338 request: request 7339 }; 7340 7341 settle(function _resolve(value) { 7342 resolve(value); 7343 done(); 7344 }, function _reject(err) { 7345 reject(err); 7346 done(); 7347 }, response); 7348 7349 // Clean up request 7350 request = null; 7351 } 7352 7353 if ('onloadend' in request) { 7354 // Use onloadend if available 7355 request.onloadend = onloadend; 7356 } else { 7357 // Listen for ready state to emulate onloadend 7358 request.onreadystatechange = function handleLoad() { 7359 if (!request || request.readyState !== 4) { 7360 return; 7361 } 7362 7363 // The request errored out and we didn't get a response, this will be 7364 // handled by onerror instead 7365 // With one exception: request that using file: protocol, most browsers 7366 // will return status as 0 even though it's a successful request 7367 if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) { 7368 return; 7369 } 7370 // readystate handler is calling before onerror or ontimeout handlers, 7371 // so we should call onloadend on the next 'tick' 7372 setTimeout(onloadend); 7373 }; 7374 } 7375 7376 // Handle browser request cancellation (as opposed to a manual cancellation) 7377 request.onabort = function handleAbort() { 7378 if (!request) { 7379 return; 7380 } 7381 7382 reject(createError('Request aborted', config, 'ECONNABORTED', request)); 7383 7384 // Clean up request 7385 request = null; 7386 }; 7387 7388 // Handle low level network errors 7389 request.onerror = function handleError() { 7390 // Real errors are hidden from us by the browser 7391 // onerror should only fire if it's a network error 7392 reject(createError('Network Error', config, null, request)); 7393 7394 // Clean up request 7395 request = null; 7396 }; 7397 7398 // Handle timeout 7399 request.ontimeout = function handleTimeout() { 7400 var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded'; 7401 var transitional = config.transitional || defaults.transitional; 7402 if (config.timeoutErrorMessage) { 7403 timeoutErrorMessage = config.timeoutErrorMessage; 7404 } 7405 reject(createError( 7406 timeoutErrorMessage, 7407 config, 7408 transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED', 7409 request)); 7410 7411 // Clean up request 7412 request = null; 7413 }; 7414 7415 // Add xsrf header 7416 // This is only done if running in a standard browser environment. 7417 // Specifically not if we're in a web worker, or react-native. 7418 if (utils.isStandardBrowserEnv()) { 7419 // Add xsrf header 7420 var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? 7421 cookies.read(config.xsrfCookieName) : 7422 undefined; 7423 7424 if (xsrfValue) { 7425 requestHeaders[config.xsrfHeaderName] = xsrfValue; 7426 } 7427 } 7428 7429 // Add headers to the request 7430 if ('setRequestHeader' in request) { 7431 utils.forEach(requestHeaders, function setRequestHeader(val, key) { 7432 if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') { 7433 // Remove Content-Type if data is undefined 7434 delete requestHeaders[key]; 7435 } else { 7436 // Otherwise add header to the request 7437 request.setRequestHeader(key, val); 7438 } 7439 }); 7440 } 7441 7442 // Add withCredentials to request if needed 7443 if (!utils.isUndefined(config.withCredentials)) { 7444 request.withCredentials = !!config.withCredentials; 7445 } 7446 7447 // Add responseType to request if needed 7448 if (responseType && responseType !== 'json') { 7449 request.responseType = config.responseType; 7450 } 7451 7452 // Handle progress if needed 7453 if (typeof config.onDownloadProgress === 'function') { 7454 request.addEventListener('progress', config.onDownloadProgress); 7455 } 7456 7457 // Not all browsers support upload events 7458 if (typeof config.onUploadProgress === 'function' && request.upload) { 7459 request.upload.addEventListener('progress', config.onUploadProgress); 7460 } 7461 7462 if (config.cancelToken || config.signal) { 7463 // Handle cancellation 7464 // eslint-disable-next-line func-names 7465 onCanceled = function(cancel) { 7466 if (!request) { 7467 return; 7468 } 7469 reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel); 7470 request.abort(); 7471 request = null; 7472 }; 7473 7474 config.cancelToken && config.cancelToken.subscribe(onCanceled); 7475 if (config.signal) { 7476 config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled); 7477 } 7478 } 7479 7480 if (!requestData) { 7481 requestData = null; 7482 } 7483 7484 // Send the request 7485 request.send(requestData); 7486 }); 7487}; 7488 7489 7490/***/ }), 7491
vendor: 2,512 bytes, lines 7492-7560
7492/***/ "./node_modules/axios/lib/axios.js": 7493/*!*****************************************!*\ 7494 !*** ./node_modules/axios/lib/axios.js ***! 7495 \*****************************************/ 7496/*! no static exports found */ 7497/***/ (function(module, exports, __webpack_require__) { 7498 7499"use strict"; 7500 7501 7502var utils = __webpack_require__(/*! ./utils */ "./node_modules/axios/lib/utils.js"); 7503var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js"); 7504var Axios = __webpack_require__(/*! ./core/Axios */ "./node_modules/axios/lib/core/Axios.js"); 7505var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js"); 7506var defaults = __webpack_require__(/*! ./defaults */ "./node_modules/axios/lib/defaults.js"); 7507 7508/** 7509 * Create an instance of Axios 7510 * 7511 * @param {Object} defaultConfig The default config for the instance 7512 * @return {Axios} A new instance of Axios 7513 */ 7514function createInstance(defaultConfig) { 7515 var context = new Axios(defaultConfig); 7516 var instance = bind(Axios.prototype.request, context); 7517 7518 // Copy axios.prototype to instance 7519 utils.extend(instance, Axios.prototype, context); 7520 7521 // Copy context to instance 7522 utils.extend(instance, context); 7523 7524 // Factory for creating new instances 7525 instance.create = function create(instanceConfig) { 7526 return createInstance(mergeConfig(defaultConfig, instanceConfig)); 7527 }; 7528 7529 return instance; 7530} 7531 7532// Create the default instance to be exported 7533var axios = createInstance(defaults); 7534 7535// Expose Axios class to allow class inheritance 7536axios.Axios = Axios; 7537 7538// Expose Cancel & CancelToken 7539axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); 7540axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./node_modules/axios/lib/cancel/CancelToken.js"); 7541axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js"); 7542axios.VERSION = __webpack_require__(/*! ./env/data */ "./node_modules/axios/lib/env/data.js").version; 7543 7544// Expose all/spread 7545axios.all = function all(promises) { 7546 return Promise.all(promises); 7547}; 7548axios.spread = __webpack_require__(/*! ./helpers/spread */ "./node_modules/axios/lib/helpers/spread.js"); 7549 7550// Expose isAxiosError 7551axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ "./node_modules/axios/lib/helpers/isAxiosError.js"); 7552 7553module.exports = axios; 7554 7555// Allow use of default import syntax in TypeScript 7556module.exports.default = axios; 7557 7558 7559/***/ }), 7560
vendor: 702 bytes, lines 7561-7591
7561/***/ "./node_modules/axios/lib/cancel/Cancel.js": 7562/*!*************************************************!*\ 7563 !*** ./node_modules/axios/lib/cancel/Cancel.js ***! 7564 \*************************************************/ 7565/*! no static exports found */ 7566/***/ (function(module, exports, __webpack_require__) { 7567 7568"use strict"; 7569 7570 7571/** 7572 * A `Cancel` is an object that is thrown when an operation is canceled. 7573 * 7574 * @class 7575 * @param {string=} message The message. 7576 */ 7577function Cancel(message) { 7578 this.message = message; 7579} 7580 7581Cancel.prototype.toString = function toString() { 7582 return 'Cancel' + (this.message ? ': ' + this.message : ''); 7583}; 7584 7585Cancel.prototype.__CANCEL__ = true; 7586 7587module.exports = Cancel; 7588 7589 7590/***/ }), 7591
vendor: 2,867 bytes, lines 7592-7722
7592/***/ "./node_modules/axios/lib/cancel/CancelToken.js": 7593/*!******************************************************!*\ 7594 !*** ./node_modules/axios/lib/cancel/CancelToken.js ***! 7595 \******************************************************/ 7596/*! no static exports found */ 7597/***/ (function(module, exports, __webpack_require__) { 7598 7599"use strict"; 7600 7601 7602var Cancel = __webpack_require__(/*! ./Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); 7603 7604/** 7605 * A `CancelToken` is an object that can be used to request cancellation of an operation. 7606 * 7607 * @class 7608 * @param {Function} executor The executor function. 7609 */ 7610function CancelToken(executor) { 7611 if (typeof executor !== 'function') { 7612 throw new TypeError('executor must be a function.'); 7613 } 7614 7615 var resolvePromise; 7616 7617 this.promise = new Promise(function promiseExecutor(resolve) { 7618 resolvePromise = resolve; 7619 }); 7620 7621 var token = this; 7622 7623 // eslint-disable-next-line func-names 7624 this.promise.then(function(cancel) { 7625 if (!token._listeners) return; 7626 7627 var i; 7628 var l = token._listeners.length; 7629 7630 for (i = 0; i < l; i++) { 7631 token._listeners[i](cancel); 7632 } 7633 token._listeners = null; 7634 }); 7635 7636 // eslint-disable-next-line func-names 7637 this.promise.then = function(onfulfilled) { 7638 var _resolve; 7639 // eslint-disable-next-line func-names 7640 var promise = new Promise(function(resolve) { 7641 token.subscribe(resolve); 7642 _resolve = resolve; 7643 }).then(onfulfilled); 7644 7645 promise.cancel = function reject() { 7646 token.unsubscribe(_resolve); 7647 }; 7648 7649 return promise; 7650 }; 7651 7652 executor(function cancel(message) { 7653 if (token.reason) { 7654 // Cancellation has already been requested 7655 return; 7656 } 7657 7658 token.reason = new Cancel(message); 7659 resolvePromise(token.reason); 7660 }); 7661} 7662 7663/** 7664 * Throws a `Cancel` if cancellation has been requested. 7665 */ 7666CancelToken.prototype.throwIfRequested = function throwIfRequested() { 7667 if (this.reason) { 7668 throw this.reason; 7669 } 7670}; 7671 7672/** 7673 * Subscribe to the cancel signal 7674 */ 7675 7676CancelToken.prototype.subscribe = function subscribe(listener) { 7677 if (this.reason) { 7678 listener(this.reason); 7679 return; 7680 } 7681 7682 if (this._listeners) { 7683 this._listeners.push(listener); 7684 } else { 7685 this._listeners = [listener]; 7686 } 7687}; 7688 7689/** 7690 * Unsubscribe from the cancel signal 7691 */ 7692 7693CancelToken.prototype.unsubscribe = function unsubscribe(listener) { 7694 if (!this._listeners) { 7695 return; 7696 } 7697 var index = this._listeners.indexOf(listener); 7698 if (index !== -1) { 7699 this._listeners.splice(index, 1); 7700 } 7701}; 7702 7703/** 7704 * Returns an object that contains a new `CancelToken` and a function that, when called, 7705 * cancels the `CancelToken`. 7706 */ 7707CancelToken.source = function source() { 7708 var cancel; 7709 var token = new CancelToken(function executor(c) { 7710 cancel = c; 7711 }); 7712 return { 7713 token: token, 7714 cancel: cancel 7715 }; 7716}; 7717 7718module.exports = CancelToken; 7719 7720 7721/***/ }), 7722
vendor: 427 bytes, lines 7723-7739
7723/***/ "./node_modules/axios/lib/cancel/isCancel.js": 7724/*!***************************************************!*\ 7725 !*** ./node_modules/axios/lib/cancel/isCancel.js ***! 7726 \***************************************************/ 7727/*! no static exports found */ 7728/***/ (function(module, exports, __webpack_require__) { 7729 7730"use strict"; 7731 7732 7733module.exports = function isCancel(value) { 7734 return !!(value && value.__CANCEL__); 7735}; 7736 7737 7738/***/ }), 7739
vendor: 4,911 bytes, lines 7740-7899
7740/***/ "./node_modules/axios/lib/core/Axios.js": 7741/*!**********************************************!*\ 7742 !*** ./node_modules/axios/lib/core/Axios.js ***! 7743 \**********************************************/ 7744/*! no static exports found */ 7745/***/ (function(module, exports, __webpack_require__) { 7746 7747"use strict"; 7748 7749 7750var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 7751var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js"); 7752var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./node_modules/axios/lib/core/InterceptorManager.js"); 7753var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./node_modules/axios/lib/core/dispatchRequest.js"); 7754var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js"); 7755var validator = __webpack_require__(/*! ../helpers/validator */ "./node_modules/axios/lib/helpers/validator.js"); 7756 7757var validators = validator.validators; 7758/** 7759 * Create a new instance of Axios 7760 * 7761 * @param {Object} instanceConfig The default config for the instance 7762 */ 7763function Axios(instanceConfig) { 7764 this.defaults = instanceConfig; 7765 this.interceptors = { 7766 request: new InterceptorManager(), 7767 response: new InterceptorManager() 7768 }; 7769} 7770 7771/** 7772 * Dispatch a request 7773 * 7774 * @param {Object} config The config specific for this request (merged with this.defaults) 7775 */ 7776Axios.prototype.request = function request(config) { 7777 /*eslint no-param-reassign:0*/ 7778 // Allow for axios('example/url'[, config]) a la fetch API 7779 if (typeof config === 'string') { 7780 config = arguments[1] || {}; 7781 config.url = arguments[0]; 7782 } else { 7783 config = config || {}; 7784 } 7785 7786 config = mergeConfig(this.defaults, config); 7787 7788 // Set config.method 7789 if (config.method) { 7790 config.method = config.method.toLowerCase(); 7791 } else if (this.defaults.method) { 7792 config.method = this.defaults.method.toLowerCase(); 7793 } else { 7794 config.method = 'get'; 7795 } 7796 7797 var transitional = config.transitional; 7798 7799 if (transitional !== undefined) { 7800 validator.assertOptions(transitional, { 7801 silentJSONParsing: validators.transitional(validators.boolean), 7802 forcedJSONParsing: validators.transitional(validators.boolean), 7803 clarifyTimeoutError: validators.transitional(validators.boolean) 7804 }, false); 7805 } 7806 7807 // filter out skipped interceptors 7808 var requestInterceptorChain = []; 7809 var synchronousRequestInterceptors = true; 7810 this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { 7811 if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) { 7812 return; 7813 } 7814 7815 synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; 7816 7817 requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected); 7818 }); 7819 7820 var responseInterceptorChain = []; 7821 this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) { 7822 responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected); 7823 }); 7824 7825 var promise; 7826 7827 if (!synchronousRequestInterceptors) { 7828 var chain = [dispatchRequest, undefined]; 7829 7830 Array.prototype.unshift.apply(chain, requestInterceptorChain); 7831 chain = chain.concat(responseInterceptorChain); 7832 7833 promise = Promise.resolve(config); 7834 while (chain.length) { 7835 promise = promise.then(chain.shift(), chain.shift()); 7836 } 7837 7838 return promise; 7839 } 7840 7841 7842 var newConfig = config; 7843 while (requestInterceptorChain.length) { 7844 var onFulfilled = requestInterceptorChain.shift(); 7845 var onRejected = requestInterceptorChain.shift(); 7846 try { 7847 newConfig = onFulfilled(newConfig); 7848 } catch (error) { 7849 onRejected(error); 7850 break; 7851 } 7852 } 7853 7854 try { 7855 promise = dispatchRequest(newConfig); 7856 } catch (error) { 7857 return Promise.reject(error); 7858 } 7859 7860 while (responseInterceptorChain.length) { 7861 promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift()); 7862 } 7863 7864 return promise; 7865}; 7866 7867Axios.prototype.getUri = function getUri(config) { 7868 config = mergeConfig(this.defaults, config); 7869 return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, ''); 7870}; 7871 7872// Provide aliases for supported request methods 7873utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) { 7874 /*eslint func-names:0*/ 7875 Axios.prototype[method] = function(url, config) { 7876 return this.request(mergeConfig(config || {}, { 7877 method: method, 7878 url: url, 7879 data: (config || {}).data 7880 })); 7881 }; 7882}); 7883 7884utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { 7885 /*eslint func-names:0*/ 7886 Axios.prototype[method] = function(url, data, config) { 7887 return this.request(mergeConfig(config || {}, { 7888 method: method, 7889 url: url, 7890 data: data 7891 })); 7892 }; 7893}); 7894 7895module.exports = Axios; 7896 7897 7898/***/ }), 7899
vendor: 1,773 bytes, lines 7900-7965
7900/***/ "./node_modules/axios/lib/core/InterceptorManager.js": 7901/*!***********************************************************!*\ 7902 !*** ./node_modules/axios/lib/core/InterceptorManager.js ***! 7903 \***********************************************************/ 7904/*! no static exports found */ 7905/***/ (function(module, exports, __webpack_require__) { 7906 7907"use strict"; 7908 7909 7910var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 7911 7912function InterceptorManager() { 7913 this.handlers = []; 7914} 7915 7916/** 7917 * Add a new interceptor to the stack 7918 * 7919 * @param {Function} fulfilled The function to handle `then` for a `Promise` 7920 * @param {Function} rejected The function to handle `reject` for a `Promise` 7921 * 7922 * @return {Number} An ID used to remove interceptor later 7923 */ 7924InterceptorManager.prototype.use = function use(fulfilled, rejected, options) { 7925 this.handlers.push({ 7926 fulfilled: fulfilled, 7927 rejected: rejected, 7928 synchronous: options ? options.synchronous : false, 7929 runWhen: options ? options.runWhen : null 7930 }); 7931 return this.handlers.length - 1; 7932}; 7933 7934/** 7935 * Remove an interceptor from the stack 7936 * 7937 * @param {Number} id The ID that was returned by `use` 7938 */ 7939InterceptorManager.prototype.eject = function eject(id) { 7940 if (this.handlers[id]) { 7941 this.handlers[id] = null; 7942 } 7943}; 7944 7945/** 7946 * Iterate over all the registered interceptors 7947 * 7948 * This method is particularly useful for skipping over any 7949 * interceptors that may have become `null` calling `eject`. 7950 * 7951 * @param {Function} fn The function to call for each interceptor 7952 */ 7953InterceptorManager.prototype.forEach = function forEach(fn) { 7954 utils.forEach(this.handlers, function forEachHandler(h) { 7955 if (h !== null) { 7956 fn(h); 7957 } 7958 }); 7959}; 7960 7961module.exports = InterceptorManager; 7962 7963 7964/***/ }), 7965
vendor: 1,168 bytes, lines 7966-7997
7966/***/ "./node_modules/axios/lib/core/buildFullPath.js": 7967/*!******************************************************!*\ 7968 !*** ./node_modules/axios/lib/core/buildFullPath.js ***! 7969 \******************************************************/ 7970/*! no static exports found */ 7971/***/ (function(module, exports, __webpack_require__) { 7972 7973"use strict"; 7974 7975 7976var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./node_modules/axios/lib/helpers/isAbsoluteURL.js"); 7977var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./node_modules/axios/lib/helpers/combineURLs.js"); 7978 7979/** 7980 * Creates a new URL by combining the baseURL with the requestedURL, 7981 * only when the requestedURL is not already an absolute URL. 7982 * If the requestURL is absolute, this function returns the requestedURL untouched. 7983 * 7984 * @param {string} baseURL The base URL 7985 * @param {string} requestedURL Absolute or relative URL to combine 7986 * @returns {string} The combined full path 7987 */ 7988module.exports = function buildFullPath(baseURL, requestedURL) { 7989 if (baseURL && !isAbsoluteURL(requestedURL)) { 7990 return combineURLs(baseURL, requestedURL); 7991 } 7992 return requestedURL; 7993}; 7994 7995 7996/***/ }), 7997
vendor: 1,019 bytes, lines 7998-8027
7998/***/ "./node_modules/axios/lib/core/createError.js": 7999/*!****************************************************!*\ 8000 !*** ./node_modules/axios/lib/core/createError.js ***! 8001 \****************************************************/ 8002/*! no static exports found */ 8003/***/ (function(module, exports, __webpack_require__) { 8004 8005"use strict"; 8006 8007 8008var enhanceError = __webpack_require__(/*! ./enhanceError */ "./node_modules/axios/lib/core/enhanceError.js"); 8009 8010/** 8011 * Create an Error with the specified message, config, error code, request and response. 8012 * 8013 * @param {string} message The error message. 8014 * @param {Object} config The config. 8015 * @param {string} [code] The error code (for example, 'ECONNABORTED'). 8016 * @param {Object} [request] The request. 8017 * @param {Object} [response] The response. 8018 * @returns {Error} The created error. 8019 */ 8020module.exports = function createError(message, config, code, request, response) { 8021 var error = new Error(message); 8022 return enhanceError(error, config, code, request, response); 8023}; 8024 8025 8026/***/ }), 8027
vendor: 2,766 bytes, lines 8028-8126
8028/***/ "./node_modules/axios/lib/core/dispatchRequest.js": 8029/*!********************************************************!*\ 8030 !*** ./node_modules/axios/lib/core/dispatchRequest.js ***! 8031 \********************************************************/ 8032/*! no static exports found */ 8033/***/ (function(module, exports, __webpack_require__) { 8034 8035"use strict"; 8036 8037 8038var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8039var transformData = __webpack_require__(/*! ./transformData */ "./node_modules/axios/lib/core/transformData.js"); 8040var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js"); 8041var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/axios/lib/defaults.js"); 8042var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "./node_modules/axios/lib/cancel/Cancel.js"); 8043 8044/** 8045 * Throws a `Cancel` if cancellation has been requested. 8046 */ 8047function throwIfCancellationRequested(config) { 8048 if (config.cancelToken) { 8049 config.cancelToken.throwIfRequested(); 8050 } 8051 8052 if (config.signal && config.signal.aborted) { 8053 throw new Cancel('canceled'); 8054 } 8055} 8056 8057/** 8058 * Dispatch a request to the server using the configured adapter. 8059 * 8060 * @param {object} config The config that is to be used for the request 8061 * @returns {Promise} The Promise to be fulfilled 8062 */ 8063module.exports = function dispatchRequest(config) { 8064 throwIfCancellationRequested(config); 8065 8066 // Ensure headers exist 8067 config.headers = config.headers || {}; 8068 8069 // Transform request data 8070 config.data = transformData.call( 8071 config, 8072 config.data, 8073 config.headers, 8074 config.transformRequest 8075 ); 8076 8077 // Flatten headers 8078 config.headers = utils.merge( 8079 config.headers.common || {}, 8080 config.headers[config.method] || {}, 8081 config.headers 8082 ); 8083 8084 utils.forEach( 8085 ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], 8086 function cleanHeaderConfig(method) { 8087 delete config.headers[method]; 8088 } 8089 ); 8090 8091 var adapter = config.adapter || defaults.adapter; 8092 8093 return adapter(config).then(function onAdapterResolution(response) { 8094 throwIfCancellationRequested(config); 8095 8096 // Transform response data 8097 response.data = transformData.call( 8098 config, 8099 response.data, 8100 response.headers, 8101 config.transformResponse 8102 ); 8103 8104 return response; 8105 }, function onAdapterRejection(reason) { 8106 if (!isCancel(reason)) { 8107 throwIfCancellationRequested(config); 8108 8109 // Transform response data 8110 if (reason && reason.response) { 8111 reason.response.data = transformData.call( 8112 config, 8113 reason.response.data, 8114 reason.response.headers, 8115 config.transformResponse 8116 ); 8117 } 8118 } 8119 8120 return Promise.reject(reason); 8121 }); 8122}; 8123 8124 8125/***/ }), 8126
vendor: 1,465 bytes, lines 8127-8181
8127/***/ "./node_modules/axios/lib/core/enhanceError.js": 8128/*!*****************************************************!*\ 8129 !*** ./node_modules/axios/lib/core/enhanceError.js ***! 8130 \*****************************************************/ 8131/*! no static exports found */ 8132/***/ (function(module, exports, __webpack_require__) { 8133 8134"use strict"; 8135 8136 8137/** 8138 * Update an Error with the specified config, error code, and response. 8139 * 8140 * @param {Error} error The error to update. 8141 * @param {Object} config The config. 8142 * @param {string} [code] The error code (for example, 'ECONNABORTED'). 8143 * @param {Object} [request] The request. 8144 * @param {Object} [response] The response. 8145 * @returns {Error} The error. 8146 */ 8147module.exports = function enhanceError(error, config, code, request, response) { 8148 error.config = config; 8149 if (code) { 8150 error.code = code; 8151 } 8152 8153 error.request = request; 8154 error.response = response; 8155 error.isAxiosError = true; 8156 8157 error.toJSON = function toJSON() { 8158 return { 8159 // Standard 8160 message: this.message, 8161 name: this.name, 8162 // Microsoft 8163 description: this.description, 8164 number: this.number, 8165 // Mozilla 8166 fileName: this.fileName, 8167 lineNumber: this.lineNumber, 8168 columnNumber: this.columnNumber, 8169 stack: this.stack, 8170 // Axios 8171 config: this.config, 8172 code: this.code, 8173 status: this.response && this.response.status ? this.response.status : null 8174 }; 8175 }; 8176 return error; 8177}; 8178 8179 8180/***/ }), 8181
vendor: 3,577 bytes, lines 8182-8292
8182/***/ "./node_modules/axios/lib/core/mergeConfig.js": 8183/*!****************************************************!*\ 8184 !*** ./node_modules/axios/lib/core/mergeConfig.js ***! 8185 \****************************************************/ 8186/*! no static exports found */ 8187/***/ (function(module, exports, __webpack_require__) { 8188 8189"use strict"; 8190 8191 8192var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js"); 8193 8194/** 8195 * Config-specific merge-function which creates a new config-object 8196 * by merging two configuration objects together. 8197 * 8198 * @param {Object} config1 8199 * @param {Object} config2 8200 * @returns {Object} New object resulting from merging config2 to config1 8201 */ 8202module.exports = function mergeConfig(config1, config2) { 8203 // eslint-disable-next-line no-param-reassign 8204 config2 = config2 || {}; 8205 var config = {}; 8206 8207 function getMergedValue(target, source) { 8208 if (utils.isPlainObject(target) && utils.isPlainObject(source)) { 8209 return utils.merge(target, source); 8210 } else if (utils.isPlainObject(source)) { 8211 return utils.merge({}, source); 8212 } else if (utils.isArray(source)) { 8213 return source.slice(); 8214 } 8215 return source; 8216 } 8217 8218 // eslint-disable-next-line consistent-return 8219 function mergeDeepProperties(prop) { 8220 if (!utils.isUndefined(config2[prop])) { 8221 return getMergedValue(config1[prop], config2[prop]); 8222 } else if (!utils.isUndefined(config1[prop])) { 8223 return getMergedValue(undefined, config1[prop]); 8224 } 8225 } 8226 8227 // eslint-disable-next-line consistent-return 8228 function valueFromConfig2(prop) { 8229 if (!utils.isUndefined(config2[prop])) { 8230 return getMergedValue(undefined, config2[prop]); 8231 } 8232 } 8233 8234 // eslint-disable-next-line consistent-return 8235 function defaultToConfig2(prop) { 8236 if (!utils.isUndefined(config2[prop])) { 8237 return getMergedValue(undefined, config2[prop]); 8238 } else if (!utils.isUndefined(config1[prop])) { 8239 return getMergedValue(undefined, config1[prop]); 8240 } 8241 } 8242 8243 // eslint-disable-next-line consistent-return 8244 function mergeDirectKeys(prop) { 8245 if (prop in config2) { 8246 return getMergedValue(config1[prop], config2[prop]); 8247 } else if (prop in config1) { 8248 return getMergedValue(undefined, config1[prop]); 8249 } 8250 } 8251 8252 var mergeMap = { 8253 'url': valueFromConfig2, 8254 'method': valueFromConfig2, 8255 'data': valueFromConfig2, 8256 'baseURL': defaultToConfig2, 8257 'transformRequest': defaultToConfig2, 8258 'transformResponse': defaultToConfig2, 8259 'paramsSerializer': defaultToConfig2, 8260 'timeout': defaultToConfig2, 8261 'timeoutMessage': defaultToConfig2, 8262 'withCredentials': defaultToConfig2, 8263 'adapter': defaultToConfig2, 8264 'responseType': defaultToConfig2, 8265 'xsrfCookieName': defaultToConfig2, 8266 'xsrfHeaderName': defaultToConfig2, 8267 'onUploadProgress': defaultToConfig2, 8268 'onDownloadProgress': defaultToConfig2, 8269 'decompress': defaultToConfig2, 8270 'maxContentLength': defaultToConfig2, 8271 'maxBodyLength': defaultToConfig2, 8272 'transport': defaultToConfig2, 8273 'httpAgent': defaultToConfig2, 8274 'httpsAgent': defaultToConfig2, 8275 'cancelToken': defaultToConfig2, 8276 'socketPath': defaultToConfig2, 8277 'responseEncoding': defaultToConfig2, 8278 'validateStatus': mergeDirectKeys 8279 }; 8280 8281 utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) { 8282 var merge = mergeMap[prop] || mergeDeepProperties; 8283 var configValue = merge(prop); 8284 (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue); 8285 }); 8286 8287 return config; 8288}; 8289 8290 8291/***/ }), 8292
vendor: 1,079 bytes, lines 8293-8329
8293/***/ "./node_modules/axios/lib/core/settle.js": 8294/*!***********************************************!*\ 8295 !*** ./node_modules/axios/lib/core/settle.js ***! 8296 \***********************************************/ 8297/*! no static exports found */ 8298/***/ (function(module, exports, __webpack_require__) { 8299 8300"use strict"; 8301 8302 8303var createError = __webpack_require__(/*! ./createError */ "./node_modules/axios/lib/core/createError.js"); 8304 8305/** 8306 * Resolve or reject a Promise based on response status. 8307 * 8308 * @param {Function} resolve A function that resolves the promise. 8309 * @param {Function} reject A function that rejects the promise. 8310 * @param {object} response The response. 8311 */ 8312module.exports = function settle(resolve, reject, response) { 8313 var validateStatus = response.config.validateStatus; 8314 if (!response.status || !validateStatus || validateStatus(response.status)) { 8315 resolve(response); 8316 } else { 8317 reject(createError( 8318 'Request failed with status code ' + response.status, 8319 response.config, 8320 null, 8321 response.request, 8322 response 8323 )); 8324 } 8325}; 8326 8327 8328/***/ }), 8329
vendor: 1,085 bytes, lines 8330-8363
8330/***/ "./node_modules/axios/lib/core/transformData.js": 8331/*!******************************************************!*\ 8332 !*** ./node_modules/axios/lib/core/transformData.js ***! 8333 \******************************************************/ 8334/*! no static exports found */ 8335/***/ (function(module, exports, __webpack_require__) { 8336 8337"use strict"; 8338 8339 8340var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8341var defaults = __webpack_require__(/*! ./../defaults */ "./node_modules/axios/lib/defaults.js"); 8342 8343/** 8344 * Transform the data for a request or a response 8345 * 8346 * @param {Object|String} data The data to be transformed 8347 * @param {Array} headers The headers for the request or response 8348 * @param {Array|Function} fns A single function or Array of functions 8349 * @returns {*} The resulting transformed data 8350 */ 8351module.exports = function transformData(data, headers, fns) { 8352 var context = this || defaults; 8353 /*eslint no-param-reassign:0*/ 8354 utils.forEach(fns, function transform(fn) { 8355 data = fn.call(context, data, headers); 8356 }); 8357 8358 return data; 8359}; 8360 8361 8362/***/ }), 8363
vendor: 4,372 bytes, lines 8364-8510
8364/***/ "./node_modules/axios/lib/defaults.js": 8365/*!********************************************!*\ 8366 !*** ./node_modules/axios/lib/defaults.js ***! 8367 \********************************************/ 8368/*! no static exports found */ 8369/***/ (function(module, exports, __webpack_require__) { 8370 8371"use strict"; 8372/* WEBPACK VAR INJECTION */(function(process) { 8373 8374var utils = __webpack_require__(/*! ./utils */ "./node_modules/axios/lib/utils.js"); 8375var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ "./node_modules/axios/lib/helpers/normalizeHeaderName.js"); 8376var enhanceError = __webpack_require__(/*! ./core/enhanceError */ "./node_modules/axios/lib/core/enhanceError.js"); 8377 8378var DEFAULT_CONTENT_TYPE = { 8379 'Content-Type': 'application/x-www-form-urlencoded' 8380}; 8381 8382function setContentTypeIfUnset(headers, value) { 8383 if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) { 8384 headers['Content-Type'] = value; 8385 } 8386} 8387 8388function getDefaultAdapter() { 8389 var adapter; 8390 if (typeof XMLHttpRequest !== 'undefined') { 8391 // For browsers use XHR adapter 8392 adapter = __webpack_require__(/*! ./adapters/xhr */ "./node_modules/axios/lib/adapters/xhr.js"); 8393 } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') { 8394 // For node use HTTP adapter 8395 adapter = __webpack_require__(/*! ./adapters/http */ "./node_modules/axios/lib/adapters/xhr.js"); 8396 } 8397 return adapter; 8398} 8399 8400function stringifySafely(rawValue, parser, encoder) { 8401 if (utils.isString(rawValue)) { 8402 try { 8403 (parser || JSON.parse)(rawValue); 8404 return utils.trim(rawValue); 8405 } catch (e) { 8406 if (e.name !== 'SyntaxError') { 8407 throw e; 8408 } 8409 } 8410 } 8411 8412 return (encoder || JSON.stringify)(rawValue); 8413} 8414 8415var defaults = { 8416 8417 transitional: { 8418 silentJSONParsing: true, 8419 forcedJSONParsing: true, 8420 clarifyTimeoutError: false 8421 }, 8422 8423 adapter: getDefaultAdapter(), 8424 8425 transformRequest: [function transformRequest(data, headers) { 8426 normalizeHeaderName(headers, 'Accept'); 8427 normalizeHeaderName(headers, 'Content-Type'); 8428 8429 if (utils.isFormData(data) || 8430 utils.isArrayBuffer(data) || 8431 utils.isBuffer(data) || 8432 utils.isStream(data) || 8433 utils.isFile(data) || 8434 utils.isBlob(data) 8435 ) { 8436 return data; 8437 } 8438 if (utils.isArrayBufferView(data)) { 8439 return data.buffer; 8440 } 8441 if (utils.isURLSearchParams(data)) { 8442 setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8'); 8443 return data.toString(); 8444 } 8445 if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) { 8446 setContentTypeIfUnset(headers, 'application/json'); 8447 return stringifySafely(data); 8448 } 8449 return data; 8450 }], 8451 8452 transformResponse: [function transformResponse(data) { 8453 var transitional = this.transitional || defaults.transitional; 8454 var silentJSONParsing = transitional && transitional.silentJSONParsing; 8455 var forcedJSONParsing = transitional && transitional.forcedJSONParsing; 8456 var strictJSONParsing = !silentJSONParsing && this.responseType === 'json'; 8457 8458 if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) { 8459 try { 8460 return JSON.parse(data); 8461 } catch (e) { 8462 if (strictJSONParsing) { 8463 if (e.name === 'SyntaxError') { 8464 throw enhanceError(e, this, 'E_JSON_PARSE'); 8465 } 8466 throw e; 8467 } 8468 } 8469 } 8470 8471 return data; 8472 }], 8473 8474 /** 8475 * A timeout in milliseconds to abort a request. If set to 0 (default) a 8476 * timeout is not created. 8477 */ 8478 timeout: 0, 8479 8480 xsrfCookieName: 'XSRF-TOKEN', 8481 xsrfHeaderName: 'X-XSRF-TOKEN', 8482 8483 maxContentLength: -1, 8484 maxBodyLength: -1, 8485 8486 validateStatus: function validateStatus(status) { 8487 return status >= 200 && status < 300; 8488 }, 8489 8490 headers: { 8491 common: { 8492 'Accept': 'application/json, text/plain, */*' 8493 } 8494 } 8495}; 8496 8497utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) { 8498 defaults.headers[method] = {}; 8499}); 8500 8501utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { 8502 defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE); 8503}); 8504 8505module.exports = defaults; 8506 8507/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ "./node_modules/process/browser.js"))) 8508 8509/***/ }), 8510
vendor: 318 bytes, lines 8511-8523
8511/***/ "./node_modules/axios/lib/env/data.js": 8512/*!********************************************!*\ 8513 !*** ./node_modules/axios/lib/env/data.js ***! 8514 \********************************************/ 8515/*! no static exports found */ 8516/***/ (function(module, exports) { 8517 8518module.exports = { 8519 "version": "0.24.0" 8520}; 8521 8522/***/ }), 8523
vendor: 569 bytes, lines 8524-8546
8524/***/ "./node_modules/axios/lib/helpers/bind.js": 8525/*!************************************************!*\ 8526 !*** ./node_modules/axios/lib/helpers/bind.js ***! 8527 \************************************************/ 8528/*! no static exports found */ 8529/***/ (function(module, exports, __webpack_require__) { 8530 8531"use strict"; 8532 8533 8534module.exports = function bind(fn, thisArg) { 8535 return function wrap() { 8536 var args = new Array(arguments.length); 8537 for (var i = 0; i < args.length; i++) { 8538 args[i] = arguments[i]; 8539 } 8540 return fn.apply(thisArg, args); 8541 }; 8542}; 8543 8544 8545/***/ }), 8546
vendor: 2,026 bytes, lines 8547-8628
8547/***/ "./node_modules/axios/lib/helpers/buildURL.js": 8548/*!****************************************************!*\ 8549 !*** ./node_modules/axios/lib/helpers/buildURL.js ***! 8550 \****************************************************/ 8551/*! no static exports found */ 8552/***/ (function(module, exports, __webpack_require__) { 8553 8554"use strict"; 8555 8556 8557var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8558 8559function encode(val) { 8560 return encodeURIComponent(val). 8561 replace(/%3A/gi, ':'). 8562 replace(/%24/g, '$'). 8563 replace(/%2C/gi, ','). 8564 replace(/%20/g, '+'). 8565 replace(/%5B/gi, '['). 8566 replace(/%5D/gi, ']'); 8567} 8568 8569/** 8570 * Build a URL by appending params to the end 8571 * 8572 * @param {string} url The base of the url (e.g., http://www.google.com) 8573 * @param {object} [params] The params to be appended 8574 * @returns {string} The formatted url 8575 */ 8576module.exports = function buildURL(url, params, paramsSerializer) { 8577 /*eslint no-param-reassign:0*/ 8578 if (!params) { 8579 return url; 8580 } 8581 8582 var serializedParams; 8583 if (paramsSerializer) { 8584 serializedParams = paramsSerializer(params); 8585 } else if (utils.isURLSearchParams(params)) { 8586 serializedParams = params.toString(); 8587 } else { 8588 var parts = []; 8589 8590 utils.forEach(params, function serialize(val, key) { 8591 if (val === null || typeof val === 'undefined') { 8592 return; 8593 } 8594 8595 if (utils.isArray(val)) { 8596 key = key + '[]'; 8597 } else { 8598 val = [val]; 8599 } 8600 8601 utils.forEach(val, function parseValue(v) { 8602 if (utils.isDate(v)) { 8603 v = v.toISOString(); 8604 } else if (utils.isObject(v)) { 8605 v = JSON.stringify(v); 8606 } 8607 parts.push(encode(key) + '=' + encode(v)); 8608 }); 8609 }); 8610 8611 serializedParams = parts.join('&'); 8612 } 8613 8614 if (serializedParams) { 8615 var hashmarkIndex = url.indexOf('#'); 8616 if (hashmarkIndex !== -1) { 8617 url = url.slice(0, hashmarkIndex); 8618 } 8619 8620 url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; 8621 } 8622 8623 return url; 8624}; 8625 8626 8627/***/ }), 8628
vendor: 721 bytes, lines 8629-8654
8629/***/ "./node_modules/axios/lib/helpers/combineURLs.js": 8630/*!*******************************************************!*\ 8631 !*** ./node_modules/axios/lib/helpers/combineURLs.js ***! 8632 \*******************************************************/ 8633/*! no static exports found */ 8634/***/ (function(module, exports, __webpack_require__) { 8635 8636"use strict"; 8637 8638 8639/** 8640 * Creates a new URL by combining the specified URLs 8641 * 8642 * @param {string} baseURL The base URL 8643 * @param {string} relativeURL The relative URL 8644 * @returns {string} The combined URL 8645 */ 8646module.exports = function combineURLs(baseURL, relativeURL) { 8647 return relativeURL 8648 ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') 8649 : baseURL; 8650}; 8651 8652 8653/***/ }), 8654
vendor: 1,813 bytes, lines 8655-8719
8655/***/ "./node_modules/axios/lib/helpers/cookies.js": 8656/*!***************************************************!*\ 8657 !*** ./node_modules/axios/lib/helpers/cookies.js ***! 8658 \***************************************************/ 8659/*! no static exports found */ 8660/***/ (function(module, exports, __webpack_require__) { 8661 8662"use strict"; 8663 8664 8665var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8666 8667module.exports = ( 8668 utils.isStandardBrowserEnv() ? 8669 8670 // Standard browser envs support document.cookie 8671 (function standardBrowserEnv() { 8672 return { 8673 write: function write(name, value, expires, path, domain, secure) { 8674 var cookie = []; 8675 cookie.push(name + '=' + encodeURIComponent(value)); 8676 8677 if (utils.isNumber(expires)) { 8678 cookie.push('expires=' + new Date(expires).toGMTString()); 8679 } 8680 8681 if (utils.isString(path)) { 8682 cookie.push('path=' + path); 8683 } 8684 8685 if (utils.isString(domain)) { 8686 cookie.push('domain=' + domain); 8687 } 8688 8689 if (secure === true) { 8690 cookie.push('secure'); 8691 } 8692 8693 document.cookie = cookie.join('; '); 8694 }, 8695 8696 read: function read(name) { 8697 var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)')); 8698 return (match ? decodeURIComponent(match[3]) : null); 8699 }, 8700 8701 remove: function remove(name) { 8702 this.write(name, '', Date.now() - 86400000); 8703 } 8704 }; 8705 })() : 8706 8707 // Non standard browser env (web workers, react-native) lack needed support. 8708 (function nonStandardBrowserEnv() { 8709 return { 8710 write: function write() {}, 8711 read: function read() { return null; }, 8712 remove: function remove() {} 8713 }; 8714 })() 8715); 8716 8717 8718/***/ }), 8719
vendor: 912 bytes, lines 8720-8745
8720/***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js": 8721/*!*********************************************************!*\ 8722 !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***! 8723 \*********************************************************/ 8724/*! no static exports found */ 8725/***/ (function(module, exports, __webpack_require__) { 8726 8727"use strict"; 8728 8729 8730/** 8731 * Determines whether the specified URL is absolute 8732 * 8733 * @param {string} url The URL to test 8734 * @returns {boolean} True if the specified URL is absolute, otherwise false 8735 */ 8736module.exports = function isAbsoluteURL(url) { 8737 // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL). 8738 // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed 8739 // by any combination of letters, digits, plus, period, or hyphen. 8740 return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url); 8741}; 8742 8743 8744/***/ }), 8745
vendor: 688 bytes, lines 8746-8768
8746/***/ "./node_modules/axios/lib/helpers/isAxiosError.js": 8747/*!********************************************************!*\ 8748 !*** ./node_modules/axios/lib/helpers/isAxiosError.js ***! 8749 \********************************************************/ 8750/*! no static exports found */ 8751/***/ (function(module, exports, __webpack_require__) { 8752 8753"use strict"; 8754 8755 8756/** 8757 * Determines whether the payload is an error thrown by Axios 8758 * 8759 * @param {*} payload The value to test 8760 * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false 8761 */ 8762module.exports = function isAxiosError(payload) { 8763 return (typeof payload === 'object') && (payload.isAxiosError === true); 8764}; 8765 8766 8767/***/ }), 8768
vendor: 2,715 bytes, lines 8769-8848
8769/***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js": 8770/*!***********************************************************!*\ 8771 !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***! 8772 \***********************************************************/ 8773/*! no static exports found */ 8774/***/ (function(module, exports, __webpack_require__) { 8775 8776"use strict"; 8777 8778 8779var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8780 8781module.exports = ( 8782 utils.isStandardBrowserEnv() ? 8783 8784 // Standard browser envs have full support of the APIs needed to test 8785 // whether the request URL is of the same origin as current location. 8786 (function standardBrowserEnv() { 8787 var msie = /(msie|trident)/i.test(navigator.userAgent); 8788 var urlParsingNode = document.createElement('a'); 8789 var originURL; 8790 8791 /** 8792 * Parse a URL to discover it's components 8793 * 8794 * @param {String} url The URL to be parsed 8795 * @returns {Object} 8796 */ 8797 function resolveURL(url) { 8798 var href = url; 8799 8800 if (msie) { 8801 // IE needs attribute set twice to normalize properties 8802 urlParsingNode.setAttribute('href', href); 8803 href = urlParsingNode.href; 8804 } 8805 8806 urlParsingNode.setAttribute('href', href); 8807 8808 // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils 8809 return { 8810 href: urlParsingNode.href, 8811 protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '', 8812 host: urlParsingNode.host, 8813 search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '', 8814 hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '', 8815 hostname: urlParsingNode.hostname, 8816 port: urlParsingNode.port, 8817 pathname: (urlParsingNode.pathname.charAt(0) === '/') ? 8818 urlParsingNode.pathname : 8819 '/' + urlParsingNode.pathname 8820 }; 8821 } 8822 8823 originURL = resolveURL(window.location.href); 8824 8825 /** 8826 * Determine if a URL shares the same origin as the current location 8827 * 8828 * @param {String} requestURL The URL to test 8829 * @returns {boolean} True if URL shares the same origin, otherwise false 8830 */ 8831 return function isURLSameOrigin(requestURL) { 8832 var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL; 8833 return (parsed.protocol === originURL.protocol && 8834 parsed.host === originURL.host); 8835 }; 8836 })() : 8837 8838 // Non standard browser envs (web workers, react-native) lack needed support. 8839 (function nonStandardBrowserEnv() { 8840 return function isURLSameOrigin() { 8841 return true; 8842 }; 8843 })() 8844); 8845 8846 8847/***/ }), 8848
vendor: 783 bytes, lines 8849-8872
8849/***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js": 8850/*!***************************************************************!*\ 8851 !*** ./node_modules/axios/lib/helpers/normalizeHeaderName.js ***! 8852 \***************************************************************/ 8853/*! no static exports found */ 8854/***/ (function(module, exports, __webpack_require__) { 8855 8856"use strict"; 8857 8858 8859var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js"); 8860 8861module.exports = function normalizeHeaderName(headers, normalizedName) { 8862 utils.forEach(headers, function processHeader(value, name) { 8863 if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) { 8864 headers[normalizedName] = value; 8865 delete headers[name]; 8866 } 8867 }); 8868}; 8869 8870 8871/***/ }), 8872
vendor: 1,791 bytes, lines 8873-8937
8873/***/ "./node_modules/axios/lib/helpers/parseHeaders.js": 8874/*!********************************************************!*\ 8875 !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***! 8876 \********************************************************/ 8877/*! no static exports found */ 8878/***/ (function(module, exports, __webpack_require__) { 8879 8880"use strict"; 8881 8882 8883var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); 8884 8885// Headers whose duplicates are ignored by node 8886// c.f. https://nodejs.org/api/http.html#http_message_headers 8887var ignoreDuplicateOf = [ 8888 'age', 'authorization', 'content-length', 'content-type', 'etag', 8889 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 8890 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 8891 'referer', 'retry-after', 'user-agent' 8892]; 8893 8894/** 8895 * Parse headers into an object 8896 * 8897 * ``` 8898 * Date: Wed, 27 Aug 2014 08:58:49 GMT 8899 * Content-Type: application/json 8900 * Connection: keep-alive 8901 * Transfer-Encoding: chunked 8902 * ``` 8903 * 8904 * @param {String} headers Headers needing to be parsed 8905 * @returns {Object} Headers parsed into an object 8906 */ 8907module.exports = function parseHeaders(headers) { 8908 var parsed = {}; 8909 var key; 8910 var val; 8911 var i; 8912 8913 if (!headers) { return parsed; } 8914 8915 utils.forEach(headers.split('\n'), function parser(line) { 8916 i = line.indexOf(':'); 8917 key = utils.trim(line.substr(0, i)).toLowerCase(); 8918 val = utils.trim(line.substr(i + 1)); 8919 8920 if (key) { 8921 if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) { 8922 return; 8923 } 8924 if (key === 'set-cookie') { 8925 parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]); 8926 } else { 8927 parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; 8928 } 8929 } 8930 }); 8931 8932 return parsed; 8933}; 8934 8935 8936/***/ }), 8937
vendor: 885 bytes, lines 8938-8976
8938/***/ "./node_modules/axios/lib/helpers/spread.js": 8939/*!**************************************************!*\ 8940 !*** ./node_modules/axios/lib/helpers/spread.js ***! 8941 \**************************************************/ 8942/*! no static exports found */ 8943/***/ (function(module, exports, __webpack_require__) { 8944 8945"use strict"; 8946 8947 8948/** 8949 * Syntactic sugar for invoking a function and expanding an array for arguments. 8950 * 8951 * Common use case would be to use `Function.prototype.apply`. 8952 * 8953 * ```js 8954 * function f(x, y, z) {} 8955 * var args = [1, 2, 3]; 8956 * f.apply(null, args); 8957 * ``` 8958 * 8959 * With `spread` this example can be re-written. 8960 * 8961 * ```js 8962 * spread(function(x, y, z) {})([1, 2, 3]); 8963 * ``` 8964 * 8965 * @param {Function} callback 8966 * @returns {Function} 8967 */ 8968module.exports = function spread(callback) { 8969 return function wrap(arr) { 8970 return callback.apply(null, arr); 8971 }; 8972}; 8973 8974 8975/***/ }), 8976
vendor: 2,736 bytes, lines 8977-9070
8977/***/ "./node_modules/axios/lib/helpers/validator.js": 8978/*!*****************************************************!*\ 8979 !*** ./node_modules/axios/lib/helpers/validator.js ***! 8980 \*****************************************************/ 8981/*! no static exports found */ 8982/***/ (function(module, exports, __webpack_require__) { 8983 8984"use strict"; 8985 8986 8987var VERSION = __webpack_require__(/*! ../env/data */ "./node_modules/axios/lib/env/data.js").version; 8988 8989var validators = {}; 8990 8991// eslint-disable-next-line func-names 8992['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) { 8993 validators[type] = function validator(thing) { 8994 return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type; 8995 }; 8996}); 8997 8998var deprecatedWarnings = {}; 8999 9000/** 9001 * Transitional option validator 9002 * @param {function|boolean?} validator - set to false if the transitional option has been removed 9003 * @param {string?} version - deprecated version / removed since version 9004 * @param {string?} message - some message with additional info 9005 * @returns {function} 9006 */ 9007validators.transitional = function transitional(validator, version, message) { 9008 function formatMessage(opt, desc) { 9009 return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : ''); 9010 } 9011 9012 // eslint-disable-next-line func-names 9013 return function(value, opt, opts) { 9014 if (validator === false) { 9015 throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : ''))); 9016 } 9017 9018 if (version && !deprecatedWarnings[opt]) { 9019 deprecatedWarnings[opt] = true; 9020 // eslint-disable-next-line no-console 9021 console.warn( 9022 formatMessage( 9023 opt, 9024 ' has been deprecated since v' + version + ' and will be removed in the near future' 9025 ) 9026 ); 9027 } 9028 9029 return validator ? validator(value, opt, opts) : true; 9030 }; 9031}; 9032 9033/** 9034 * Assert object's properties type 9035 * @param {object} options 9036 * @param {object} schema 9037 * @param {boolean?} allowUnknown 9038 */ 9039 9040function assertOptions(options, schema, allowUnknown) { 9041 if (typeof options !== 'object') { 9042 throw new TypeError('options must be an object'); 9043 } 9044 var keys = Object.keys(options); 9045 var i = keys.length; 9046 while (i-- > 0) { 9047 var opt = keys[i]; 9048 var validator = schema[opt]; 9049 if (validator) { 9050 var value = options[opt]; 9051 var result = value === undefined || validator(value, opt, options); 9052 if (result !== true) { 9053 throw new TypeError('option ' + opt + ' must be ' + result); 9054 } 9055 continue; 9056 } 9057 if (allowUnknown !== true) { 9058 throw Error('Unknown option ' + opt); 9059 } 9060 } 9061} 9062 9063module.exports = { 9064 assertOptions: assertOptions, 9065 validators: validators 9066}; 9067 9068 9069/***/ }), 9070
vendor: 9,276 bytes, lines 9071-9431
9071/***/ "./node_modules/axios/lib/utils.js": 9072/*!*****************************************!*\ 9073 !*** ./node_modules/axios/lib/utils.js ***! 9074 \*****************************************/ 9075/*! no static exports found */ 9076/***/ (function(module, exports, __webpack_require__) { 9077 9078"use strict"; 9079 9080 9081var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js"); 9082 9083// utils is a library of generic helper functions non-specific to axios 9084 9085var toString = Object.prototype.toString; 9086 9087/** 9088 * Determine if a value is an Array 9089 * 9090 * @param {Object} val The value to test 9091 * @returns {boolean} True if value is an Array, otherwise false 9092 */ 9093function isArray(val) { 9094 return toString.call(val) === '[object Array]'; 9095} 9096 9097/** 9098 * Determine if a value is undefined 9099 * 9100 * @param {Object} val The value to test 9101 * @returns {boolean} True if the value is undefined, otherwise false 9102 */ 9103function isUndefined(val) { 9104 return typeof val === 'undefined'; 9105} 9106 9107/** 9108 * Determine if a value is a Buffer 9109 * 9110 * @param {Object} val The value to test 9111 * @returns {boolean} True if value is a Buffer, otherwise false 9112 */ 9113function isBuffer(val) { 9114 return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) 9115 && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val); 9116} 9117 9118/** 9119 * Determine if a value is an ArrayBuffer 9120 * 9121 * @param {Object} val The value to test 9122 * @returns {boolean} True if value is an ArrayBuffer, otherwise false 9123 */ 9124function isArrayBuffer(val) { 9125 return toString.call(val) === '[object ArrayBuffer]'; 9126} 9127 9128/** 9129 * Determine if a value is a FormData 9130 * 9131 * @param {Object} val The value to test 9132 * @returns {boolean} True if value is an FormData, otherwise false 9133 */ 9134function isFormData(val) { 9135 return (typeof FormData !== 'undefined') && (val instanceof FormData); 9136} 9137 9138/** 9139 * Determine if a value is a view on an ArrayBuffer 9140 * 9141 * @param {Object} val The value to test 9142 * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false 9143 */ 9144function isArrayBufferView(val) { 9145 var result; 9146 if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) { 9147 result = ArrayBuffer.isView(val); 9148 } else { 9149 result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer); 9150 } 9151 return result; 9152} 9153 9154/** 9155 * Determine if a value is a String 9156 * 9157 * @param {Object} val The value to test 9158 * @returns {boolean} True if value is a String, otherwise false 9159 */ 9160function isString(val) { 9161 return typeof val === 'string'; 9162} 9163 9164/** 9165 * Determine if a value is a Number 9166 * 9167 * @param {Object} val The value to test 9168 * @returns {boolean} True if value is a Number, otherwise false 9169 */ 9170function isNumber(val) { 9171 return typeof val === 'number'; 9172} 9173 9174/** 9175 * Determine if a value is an Object 9176 * 9177 * @param {Object} val The value to test 9178 * @returns {boolean} True if value is an Object, otherwise false 9179 */ 9180function isObject(val) { 9181 return val !== null && typeof val === 'object'; 9182} 9183 9184/** 9185 * Determine if a value is a plain Object 9186 * 9187 * @param {Object} val The value to test 9188 * @return {boolean} True if value is a plain Object, otherwise false 9189 */ 9190function isPlainObject(val) { 9191 if (toString.call(val) !== '[object Object]') { 9192 return false; 9193 } 9194 9195 var prototype = Object.getPrototypeOf(val); 9196 return prototype === null || prototype === Object.prototype; 9197} 9198 9199/** 9200 * Determine if a value is a Date 9201 * 9202 * @param {Object} val The value to test 9203 * @returns {boolean} True if value is a Date, otherwise false 9204 */ 9205function isDate(val) { 9206 return toString.call(val) === '[object Date]'; 9207} 9208 9209/** 9210 * Determine if a value is a File 9211 * 9212 * @param {Object} val The value to test 9213 * @returns {boolean} True if value is a File, otherwise false 9214 */ 9215function isFile(val) { 9216 return toString.call(val) === '[object File]'; 9217} 9218 9219/** 9220 * Determine if a value is a Blob 9221 * 9222 * @param {Object} val The value to test 9223 * @returns {boolean} True if value is a Blob, otherwise false 9224 */ 9225function isBlob(val) { 9226 return toString.call(val) === '[object Blob]'; 9227} 9228 9229/** 9230 * Determine if a value is a Function 9231 * 9232 * @param {Object} val The value to test 9233 * @returns {boolean} True if value is a Function, otherwise false 9234 */ 9235function isFunction(val) { 9236 return toString.call(val) === '[object Function]'; 9237} 9238 9239/** 9240 * Determine if a value is a Stream 9241 * 9242 * @param {Object} val The value to test 9243 * @returns {boolean} True if value is a Stream, otherwise false 9244 */ 9245function isStream(val) { 9246 return isObject(val) && isFunction(val.pipe); 9247} 9248 9249/** 9250 * Determine if a value is a URLSearchParams object 9251 * 9252 * @param {Object} val The value to test 9253 * @returns {boolean} True if value is a URLSearchParams object, otherwise false 9254 */ 9255function isURLSearchParams(val) { 9256 return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams; 9257} 9258 9259/** 9260 * Trim excess whitespace off the beginning and end of a string 9261 * 9262 * @param {String} str The String to trim 9263 * @returns {String} The String freed of excess whitespace 9264 */ 9265function trim(str) { 9266 return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, ''); 9267} 9268 9269/** 9270 * Determine if we're running in a standard browser environment 9271 * 9272 * This allows axios to run in a web worker, and react-native. 9273 * Both environments support XMLHttpRequest, but not fully standard globals. 9274 * 9275 * web workers: 9276 * typeof window -> undefined 9277 * typeof document -> undefined 9278 * 9279 * react-native: 9280 * navigator.product -> 'ReactNative' 9281 * nativescript 9282 * navigator.product -> 'NativeScript' or 'NS' 9283 */ 9284function isStandardBrowserEnv() { 9285 if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' || 9286 navigator.product === 'NativeScript' || 9287 navigator.product === 'NS')) { 9288 return false; 9289 } 9290 return ( 9291 typeof window !== 'undefined' && 9292 typeof document !== 'undefined' 9293 ); 9294} 9295 9296/** 9297 * Iterate over an Array or an Object invoking a function for each item. 9298 * 9299 * If `obj` is an Array callback will be called passing 9300 * the value, index, and complete array for each item. 9301 * 9302 * If 'obj' is an Object callback will be called passing 9303 * the value, key, and complete object for each property. 9304 * 9305 * @param {Object|Array} obj The object to iterate 9306 * @param {Function} fn The callback to invoke for each item 9307 */ 9308function forEach(obj, fn) { 9309 // Don't bother if no value provided 9310 if (obj === null || typeof obj === 'undefined') { 9311 return; 9312 } 9313 9314 // Force an array if not already something iterable 9315 if (typeof obj !== 'object') { 9316 /*eslint no-param-reassign:0*/ 9317 obj = [obj]; 9318 } 9319 9320 if (isArray(obj)) { 9321 // Iterate over array values 9322 for (var i = 0, l = obj.length; i < l; i++) { 9323 fn.call(null, obj[i], i, obj); 9324 } 9325 } else { 9326 // Iterate over object keys 9327 for (var key in obj) { 9328 if (Object.prototype.hasOwnProperty.call(obj, key)) { 9329 fn.call(null, obj[key], key, obj); 9330 } 9331 } 9332 } 9333} 9334 9335/** 9336 * Accepts varargs expecting each argument to be an object, then 9337 * immutably merges the properties of each object and returns result. 9338 * 9339 * When multiple objects contain the same key the later object in 9340 * the arguments list will take precedence. 9341 * 9342 * Example: 9343 * 9344 * ```js 9345 * var result = merge({foo: 123}, {foo: 456}); 9346 * console.log(result.foo); // outputs 456 9347 * ``` 9348 * 9349 * @param {Object} obj1 Object to merge 9350 * @returns {Object} Result of all merge properties 9351 */ 9352function merge(/* obj1, obj2, obj3, ... */) { 9353 var result = {}; 9354 function assignValue(val, key) { 9355 if (isPlainObject(result[key]) && isPlainObject(val)) { 9356 result[key] = merge(result[key], val); 9357 } else if (isPlainObject(val)) { 9358 result[key] = merge({}, val); 9359 } else if (isArray(val)) { 9360 result[key] = val.slice(); 9361 } else { 9362 result[key] = val; 9363 } 9364 } 9365 9366 for (var i = 0, l = arguments.length; i < l; i++) { 9367 forEach(arguments[i], assignValue); 9368 } 9369 return result; 9370} 9371 9372/** 9373 * Extends object a by mutably adding to it the properties of object b. 9374 * 9375 * @param {Object} a The object to be extended 9376 * @param {Object} b The object to copy properties from 9377 * @param {Object} thisArg The object to bind function to 9378 * @return {Object} The resulting value of object a 9379 */ 9380function extend(a, b, thisArg) { 9381 forEach(b, function assignValue(val, key) { 9382 if (thisArg && typeof val === 'function') { 9383 a[key] = bind(val, thisArg); 9384 } else { 9385 a[key] = val; 9386 } 9387 }); 9388 return a; 9389} 9390 9391/** 9392 * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) 9393 * 9394 * @param {string} content with BOM 9395 * @return {string} content value without BOM 9396 */ 9397function stripBOM(content) { 9398 if (content.charCodeAt(0) === 0xFEFF) { 9399 content = content.slice(1); 9400 } 9401 return content; 9402} 9403 9404module.exports = { 9405 isArray: isArray, 9406 isArrayBuffer: isArrayBuffer, 9407 isBuffer: isBuffer, 9408 isFormData: isFormData, 9409 isArrayBufferView: isArrayBufferView, 9410 isString: isString, 9411 isNumber: isNumber, 9412 isObject: isObject, 9413 isPlainObject: isPlainObject, 9414 isUndefined: isUndefined, 9415 isDate: isDate, 9416 isFile: isFile, 9417 isBlob: isBlob, 9418 isFunction: isFunction, 9419 isStream: isStream, 9420 isURLSearchParams: isURLSearchParams, 9421 isStandardBrowserEnv: isStandardBrowserEnv, 9422 forEach: forEach, 9423 merge: merge, 9424 extend: extend, 9425 trim: trim, 9426 stripBOM: stripBOM 9427}; 9428 9429 9430/***/ }), 9431
vendor: 16,279 bytes, lines 9432-9581
9432/***/ "./node_modules/core-js/es6/index.js": 9433/*!*******************************************!*\ 9434 !*** ./node_modules/core-js/es6/index.js ***! 9435 \*******************************************/ 9436/*! no static exports found */ 9437/***/ (function(module, exports, __webpack_require__) { 9438 9439__webpack_require__(/*! ../modules/es6.symbol */ "./node_modules/core-js/modules/es6.symbol.js"); 9440__webpack_require__(/*! ../modules/es6.object.create */ "./node_modules/core-js/modules/es6.object.create.js"); 9441__webpack_require__(/*! ../modules/es6.object.define-property */ "./node_modules/core-js/modules/es6.object.define-property.js"); 9442__webpack_require__(/*! ../modules/es6.object.define-properties */ "./node_modules/core-js/modules/es6.object.define-properties.js"); 9443__webpack_require__(/*! ../modules/es6.object.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"); 9444__webpack_require__(/*! ../modules/es6.object.get-prototype-of */ "./node_modules/core-js/modules/es6.object.get-prototype-of.js"); 9445__webpack_require__(/*! ../modules/es6.object.keys */ "./node_modules/core-js/modules/es6.object.keys.js"); 9446__webpack_require__(/*! ../modules/es6.object.get-own-property-names */ "./node_modules/core-js/modules/es6.object.get-own-property-names.js"); 9447__webpack_require__(/*! ../modules/es6.object.freeze */ "./node_modules/core-js/modules/es6.object.freeze.js"); 9448__webpack_require__(/*! ../modules/es6.object.seal */ "./node_modules/core-js/modules/es6.object.seal.js"); 9449__webpack_require__(/*! ../modules/es6.object.prevent-extensions */ "./node_modules/core-js/modules/es6.object.prevent-extensions.js"); 9450__webpack_require__(/*! ../modules/es6.object.is-frozen */ "./node_modules/core-js/modules/es6.object.is-frozen.js"); 9451__webpack_require__(/*! ../modules/es6.object.is-sealed */ "./node_modules/core-js/modules/es6.object.is-sealed.js"); 9452__webpack_require__(/*! ../modules/es6.object.is-extensible */ "./node_modules/core-js/modules/es6.object.is-extensible.js"); 9453__webpack_require__(/*! ../modules/es6.object.assign */ "./node_modules/core-js/modules/es6.object.assign.js"); 9454__webpack_require__(/*! ../modules/es6.object.is */ "./node_modules/core-js/modules/es6.object.is.js"); 9455__webpack_require__(/*! ../modules/es6.object.set-prototype-of */ "./node_modules/core-js/modules/es6.object.set-prototype-of.js"); 9456__webpack_require__(/*! ../modules/es6.object.to-string */ "./node_modules/core-js/modules/es6.object.to-string.js"); 9457__webpack_require__(/*! ../modules/es6.function.bind */ "./node_modules/core-js/modules/es6.function.bind.js"); 9458__webpack_require__(/*! ../modules/es6.function.name */ "./node_modules/core-js/modules/es6.function.name.js"); 9459__webpack_require__(/*! ../modules/es6.function.has-instance */ "./node_modules/core-js/modules/es6.function.has-instance.js"); 9460__webpack_require__(/*! ../modules/es6.parse-int */ "./node_modules/core-js/modules/es6.parse-int.js"); 9461__webpack_require__(/*! ../modules/es6.parse-float */ "./node_modules/core-js/modules/es6.parse-float.js"); 9462__webpack_require__(/*! ../modules/es6.number.constructor */ "./node_modules/core-js/modules/es6.number.constructor.js"); 9463__webpack_require__(/*! ../modules/es6.number.to-fixed */ "./node_modules/core-js/modules/es6.number.to-fixed.js"); 9464__webpack_require__(/*! ../modules/es6.number.to-precision */ "./node_modules/core-js/modules/es6.number.to-precision.js"); 9465__webpack_require__(/*! ../modules/es6.number.epsilon */ "./node_modules/core-js/modules/es6.number.epsilon.js"); 9466__webpack_require__(/*! ../modules/es6.number.is-finite */ "./node_modules/core-js/modules/es6.number.is-finite.js"); 9467__webpack_require__(/*! ../modules/es6.number.is-integer */ "./node_modules/core-js/modules/es6.number.is-integer.js"); 9468__webpack_require__(/*! ../modules/es6.number.is-nan */ "./node_modules/core-js/modules/es6.number.is-nan.js"); 9469__webpack_require__(/*! ../modules/es6.number.is-safe-integer */ "./node_modules/core-js/modules/es6.number.is-safe-integer.js"); 9470__webpack_require__(/*! ../modules/es6.number.max-safe-integer */ "./node_modules/core-js/modules/es6.number.max-safe-integer.js"); 9471__webpack_require__(/*! ../modules/es6.number.min-safe-integer */ "./node_modules/core-js/modules/es6.number.min-safe-integer.js"); 9472__webpack_require__(/*! ../modules/es6.number.parse-float */ "./node_modules/core-js/modules/es6.number.parse-float.js"); 9473__webpack_require__(/*! ../modules/es6.number.parse-int */ "./node_modules/core-js/modules/es6.number.parse-int.js"); 9474__webpack_require__(/*! ../modules/es6.math.acosh */ "./node_modules/core-js/modules/es6.math.acosh.js"); 9475__webpack_require__(/*! ../modules/es6.math.asinh */ "./node_modules/core-js/modules/es6.math.asinh.js"); 9476__webpack_require__(/*! ../modules/es6.math.atanh */ "./node_modules/core-js/modules/es6.math.atanh.js"); 9477__webpack_require__(/*! ../modules/es6.math.cbrt */ "./node_modules/core-js/modules/es6.math.cbrt.js"); 9478__webpack_require__(/*! ../modules/es6.math.clz32 */ "./node_modules/core-js/modules/es6.math.clz32.js"); 9479__webpack_require__(/*! ../modules/es6.math.cosh */ "./node_modules/core-js/modules/es6.math.cosh.js"); 9480__webpack_require__(/*! ../modules/es6.math.expm1 */ "./node_modules/core-js/modules/es6.math.expm1.js"); 9481__webpack_require__(/*! ../modules/es6.math.fround */ "./node_modules/core-js/modules/es6.math.fround.js"); 9482__webpack_require__(/*! ../modules/es6.math.hypot */ "./node_modules/core-js/modules/es6.math.hypot.js"); 9483__webpack_require__(/*! ../modules/es6.math.imul */ "./node_modules/core-js/modules/es6.math.imul.js"); 9484__webpack_require__(/*! ../modules/es6.math.log10 */ "./node_modules/core-js/modules/es6.math.log10.js"); 9485__webpack_require__(/*! ../modules/es6.math.log1p */ "./node_modules/core-js/modules/es6.math.log1p.js"); 9486__webpack_require__(/*! ../modules/es6.math.log2 */ "./node_modules/core-js/modules/es6.math.log2.js"); 9487__webpack_require__(/*! ../modules/es6.math.sign */ "./node_modules/core-js/modules/es6.math.sign.js"); 9488__webpack_require__(/*! ../modules/es6.math.sinh */ "./node_modules/core-js/modules/es6.math.sinh.js"); 9489__webpack_require__(/*! ../modules/es6.math.tanh */ "./node_modules/core-js/modules/es6.math.tanh.js"); 9490__webpack_require__(/*! ../modules/es6.math.trunc */ "./node_modules/core-js/modules/es6.math.trunc.js"); 9491__webpack_require__(/*! ../modules/es6.string.from-code-point */ "./node_modules/core-js/modules/es6.string.from-code-point.js"); 9492__webpack_require__(/*! ../modules/es6.string.raw */ "./node_modules/core-js/modules/es6.string.raw.js"); 9493__webpack_require__(/*! ../modules/es6.string.trim */ "./node_modules/core-js/modules/es6.string.trim.js"); 9494__webpack_require__(/*! ../modules/es6.string.iterator */ "./node_modules/core-js/modules/es6.string.iterator.js"); 9495__webpack_require__(/*! ../modules/es6.string.code-point-at */ "./node_modules/core-js/modules/es6.string.code-point-at.js"); 9496__webpack_require__(/*! ../modules/es6.string.ends-with */ "./node_modules/core-js/modules/es6.string.ends-with.js"); 9497__webpack_require__(/*! ../modules/es6.string.includes */ "./node_modules/core-js/modules/es6.string.includes.js"); 9498__webpack_require__(/*! ../modules/es6.string.repeat */ "./node_modules/core-js/modules/es6.string.repeat.js"); 9499__webpack_require__(/*! ../modules/es6.string.starts-with */ "./node_modules/core-js/modules/es6.string.starts-with.js"); 9500__webpack_require__(/*! ../modules/es6.string.anchor */ "./node_modules/core-js/modules/es6.string.anchor.js"); 9501__webpack_require__(/*! ../modules/es6.string.big */ "./node_modules/core-js/modules/es6.string.big.js"); 9502__webpack_require__(/*! ../modules/es6.string.blink */ "./node_modules/core-js/modules/es6.string.blink.js"); 9503__webpack_require__(/*! ../modules/es6.string.bold */ "./node_modules/core-js/modules/es6.string.bold.js"); 9504__webpack_require__(/*! ../modules/es6.string.fixed */ "./node_modules/core-js/modules/es6.string.fixed.js"); 9505__webpack_require__(/*! ../modules/es6.string.fontcolor */ "./node_modules/core-js/modules/es6.string.fontcolor.js"); 9506__webpack_require__(/*! ../modules/es6.string.fontsize */ "./node_modules/core-js/modules/es6.string.fontsize.js"); 9507__webpack_require__(/*! ../modules/es6.string.italics */ "./node_modules/core-js/modules/es6.string.italics.js"); 9508__webpack_require__(/*! ../modules/es6.string.link */ "./node_modules/core-js/modules/es6.string.link.js"); 9509__webpack_require__(/*! ../modules/es6.string.small */ "./node_modules/core-js/modules/es6.string.small.js"); 9510__webpack_require__(/*! ../modules/es6.string.strike */ "./node_modules/core-js/modules/es6.string.strike.js"); 9511__webpack_require__(/*! ../modules/es6.string.sub */ "./node_modules/core-js/modules/es6.string.sub.js"); 9512__webpack_require__(/*! ../modules/es6.string.sup */ "./node_modules/core-js/modules/es6.string.sup.js"); 9513__webpack_require__(/*! ../modules/es6.date.now */ "./node_modules/core-js/modules/es6.date.now.js"); 9514__webpack_require__(/*! ../modules/es6.date.to-json */ "./node_modules/core-js/modules/es6.date.to-json.js"); 9515__webpack_require__(/*! ../modules/es6.date.to-iso-string */ "./node_modules/core-js/modules/es6.date.to-iso-string.js"); 9516__webpack_require__(/*! ../modules/es6.date.to-string */ "./node_modules/core-js/modules/es6.date.to-string.js"); 9517__webpack_require__(/*! ../modules/es6.date.to-primitive */ "./node_modules/core-js/modules/es6.date.to-primitive.js"); 9518__webpack_require__(/*! ../modules/es6.array.is-array */ "./node_modules/core-js/modules/es6.array.is-array.js"); 9519__webpack_require__(/*! ../modules/es6.array.from */ "./node_modules/core-js/modules/es6.array.from.js"); 9520__webpack_require__(/*! ../modules/es6.array.of */ "./node_modules/core-js/modules/es6.array.of.js"); 9521__webpack_require__(/*! ../modules/es6.array.join */ "./node_modules/core-js/modules/es6.array.join.js"); 9522__webpack_require__(/*! ../modules/es6.array.slice */ "./node_modules/core-js/modules/es6.array.slice.js"); 9523__webpack_require__(/*! ../modules/es6.array.sort */ "./node_modules/core-js/modules/es6.array.sort.js"); 9524__webpack_require__(/*! ../modules/es6.array.for-each */ "./node_modules/core-js/modules/es6.array.for-each.js"); 9525__webpack_require__(/*! ../modules/es6.array.map */ "./node_modules/core-js/modules/es6.array.map.js"); 9526__webpack_require__(/*! ../modules/es6.array.filter */ "./node_modules/core-js/modules/es6.array.filter.js"); 9527__webpack_require__(/*! ../modules/es6.array.some */ "./node_modules/core-js/modules/es6.array.some.js"); 9528__webpack_require__(/*! ../modules/es6.array.every */ "./node_modules/core-js/modules/es6.array.every.js"); 9529__webpack_require__(/*! ../modules/es6.array.reduce */ "./node_modules/core-js/modules/es6.array.reduce.js"); 9530__webpack_require__(/*! ../modules/es6.array.reduce-right */ "./node_modules/core-js/modules/es6.array.reduce-right.js"); 9531__webpack_require__(/*! ../modules/es6.array.index-of */ "./node_modules/core-js/modules/es6.array.index-of.js"); 9532__webpack_require__(/*! ../modules/es6.array.last-index-of */ "./node_modules/core-js/modules/es6.array.last-index-of.js"); 9533__webpack_require__(/*! ../modules/es6.array.copy-within */ "./node_modules/core-js/modules/es6.array.copy-within.js"); 9534__webpack_require__(/*! ../modules/es6.array.fill */ "./node_modules/core-js/modules/es6.array.fill.js"); 9535__webpack_require__(/*! ../modules/es6.array.find */ "./node_modules/core-js/modules/es6.array.find.js"); 9536__webpack_require__(/*! ../modules/es6.array.find-index */ "./node_modules/core-js/modules/es6.array.find-index.js"); 9537__webpack_require__(/*! ../modules/es6.array.species */ "./node_modules/core-js/modules/es6.array.species.js"); 9538__webpack_require__(/*! ../modules/es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); 9539__webpack_require__(/*! ../modules/es6.regexp.constructor */ "./node_modules/core-js/modules/es6.regexp.constructor.js"); 9540__webpack_require__(/*! ../modules/es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); 9541__webpack_require__(/*! ../modules/es6.regexp.to-string */ "./node_modules/core-js/modules/es6.regexp.to-string.js"); 9542__webpack_require__(/*! ../modules/es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); 9543__webpack_require__(/*! ../modules/es6.regexp.match */ "./node_modules/core-js/modules/es6.regexp.match.js"); 9544__webpack_require__(/*! ../modules/es6.regexp.replace */ "./node_modules/core-js/modules/es6.regexp.replace.js"); 9545__webpack_require__(/*! ../modules/es6.regexp.search */ "./node_modules/core-js/modules/es6.regexp.search.js"); 9546__webpack_require__(/*! ../modules/es6.regexp.split */ "./node_modules/core-js/modules/es6.regexp.split.js"); 9547__webpack_require__(/*! ../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); 9548__webpack_require__(/*! ../modules/es6.map */ "./node_modules/core-js/modules/es6.map.js"); 9549__webpack_require__(/*! ../modules/es6.set */ "./node_modules/core-js/modules/es6.set.js"); 9550__webpack_require__(/*! ../modules/es6.weak-map */ "./node_modules/core-js/modules/es6.weak-map.js"); 9551__webpack_require__(/*! ../modules/es6.weak-set */ "./node_modules/core-js/modules/es6.weak-set.js"); 9552__webpack_require__(/*! ../modules/es6.typed.array-buffer */ "./node_modules/core-js/modules/es6.typed.array-buffer.js"); 9553__webpack_require__(/*! ../modules/es6.typed.data-view */ "./node_modules/core-js/modules/es6.typed.data-view.js"); 9554__webpack_require__(/*! ../modules/es6.typed.int8-array */ "./node_modules/core-js/modules/es6.typed.int8-array.js"); 9555__webpack_require__(/*! ../modules/es6.typed.uint8-array */ "./node_modules/core-js/modules/es6.typed.uint8-array.js"); 9556__webpack_require__(/*! ../modules/es6.typed.uint8-clamped-array */ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"); 9557__webpack_require__(/*! ../modules/es6.typed.int16-array */ "./node_modules/core-js/modules/es6.typed.int16-array.js"); 9558__webpack_require__(/*! ../modules/es6.typed.uint16-array */ "./node_modules/core-js/modules/es6.typed.uint16-array.js"); 9559__webpack_require__(/*! ../modules/es6.typed.int32-array */ "./node_modules/core-js/modules/es6.typed.int32-array.js"); 9560__webpack_require__(/*! ../modules/es6.typed.uint32-array */ "./node_modules/core-js/modules/es6.typed.uint32-array.js"); 9561__webpack_require__(/*! ../modules/es6.typed.float32-array */ "./node_modules/core-js/modules/es6.typed.float32-array.js"); 9562__webpack_require__(/*! ../modules/es6.typed.float64-array */ "./node_modules/core-js/modules/es6.typed.float64-array.js"); 9563__webpack_require__(/*! ../modules/es6.reflect.apply */ "./node_modules/core-js/modules/es6.reflect.apply.js"); 9564__webpack_require__(/*! ../modules/es6.reflect.construct */ "./node_modules/core-js/modules/es6.reflect.construct.js"); 9565__webpack_require__(/*! ../modules/es6.reflect.define-property */ "./node_modules/core-js/modules/es6.reflect.define-property.js"); 9566__webpack_require__(/*! ../modules/es6.reflect.delete-property */ "./node_modules/core-js/modules/es6.reflect.delete-property.js"); 9567__webpack_require__(/*! ../modules/es6.reflect.enumerate */ "./node_modules/core-js/modules/es6.reflect.enumerate.js"); 9568__webpack_require__(/*! ../modules/es6.reflect.get */ "./node_modules/core-js/modules/es6.reflect.get.js"); 9569__webpack_require__(/*! ../modules/es6.reflect.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"); 9570__webpack_require__(/*! ../modules/es6.reflect.get-prototype-of */ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"); 9571__webpack_require__(/*! ../modules/es6.reflect.has */ "./node_modules/core-js/modules/es6.reflect.has.js"); 9572__webpack_require__(/*! ../modules/es6.reflect.is-extensible */ "./node_modules/core-js/modules/es6.reflect.is-extensible.js"); 9573__webpack_require__(/*! ../modules/es6.reflect.own-keys */ "./node_modules/core-js/modules/es6.reflect.own-keys.js"); 9574__webpack_require__(/*! ../modules/es6.reflect.prevent-extensions */ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"); 9575__webpack_require__(/*! ../modules/es6.reflect.set */ "./node_modules/core-js/modules/es6.reflect.set.js"); 9576__webpack_require__(/*! ../modules/es6.reflect.set-prototype-of */ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"); 9577module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); 9578 9579 9580/***/ }), 9581
vendor: 563 bytes, lines 9582-9594
9582/***/ "./node_modules/core-js/fn/array/flat-map.js": 9583/*!***************************************************!*\ 9584 !*** ./node_modules/core-js/fn/array/flat-map.js ***! 9585 \***************************************************/ 9586/*! no static exports found */ 9587/***/ (function(module, exports, __webpack_require__) { 9588 9589__webpack_require__(/*! ../../modules/es7.array.flat-map */ "./node_modules/core-js/modules/es7.array.flat-map.js"); 9590module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.flatMap; 9591 9592 9593/***/ }), 9594
vendor: 564 bytes, lines 9595-9607
9595/***/ "./node_modules/core-js/fn/array/includes.js": 9596/*!***************************************************!*\ 9597 !*** ./node_modules/core-js/fn/array/includes.js ***! 9598 \***************************************************/ 9599/*! no static exports found */ 9600/***/ (function(module, exports, __webpack_require__) { 9601 9602__webpack_require__(/*! ../../modules/es7.array.includes */ "./node_modules/core-js/modules/es7.array.includes.js"); 9603module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.includes; 9604 9605 9606/***/ }), 9607
vendor: 564 bytes, lines 9608-9620
9608/***/ "./node_modules/core-js/fn/object/entries.js": 9609/*!***************************************************!*\ 9610 !*** ./node_modules/core-js/fn/object/entries.js ***! 9611 \***************************************************/ 9612/*! no static exports found */ 9613/***/ (function(module, exports, __webpack_require__) { 9614 9615__webpack_require__(/*! ../../modules/es7.object.entries */ "./node_modules/core-js/modules/es7.object.entries.js"); 9616module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.entries; 9617 9618 9619/***/ }), 9620
vendor: 708 bytes, lines 9621-9633
9621/***/ "./node_modules/core-js/fn/object/get-own-property-descriptors.js": 9622/*!************************************************************************!*\ 9623 !*** ./node_modules/core-js/fn/object/get-own-property-descriptors.js ***! 9624 \************************************************************************/ 9625/*! no static exports found */ 9626/***/ (function(module, exports, __webpack_require__) { 9627 9628__webpack_require__(/*! ../../modules/es7.object.get-own-property-descriptors */ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"); 9629module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.getOwnPropertyDescriptors; 9630 9631 9632/***/ }), 9633
vendor: 557 bytes, lines 9634-9646
9634/***/ "./node_modules/core-js/fn/object/values.js": 9635/*!**************************************************!*\ 9636 !*** ./node_modules/core-js/fn/object/values.js ***! 9637 \**************************************************/ 9638/*! no static exports found */ 9639/***/ (function(module, exports, __webpack_require__) { 9640 9641__webpack_require__(/*! ../../modules/es7.object.values */ "./node_modules/core-js/modules/es7.object.values.js"); 9642module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.values; 9643 9644 9645/***/ }), 9646
vendor: 692 bytes, lines 9647-9662
9647/***/ "./node_modules/core-js/fn/promise/finally.js": 9648/*!****************************************************!*\ 9649 !*** ./node_modules/core-js/fn/promise/finally.js ***! 9650 \****************************************************/ 9651/*! no static exports found */ 9652/***/ (function(module, exports, __webpack_require__) { 9653 9654"use strict"; 9655 9656__webpack_require__(/*! ../../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); 9657__webpack_require__(/*! ../../modules/es7.promise.finally */ "./node_modules/core-js/modules/es7.promise.finally.js"); 9658module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Promise['finally']; 9659 9660 9661/***/ }), 9662
vendor: 563 bytes, lines 9663-9675
9663/***/ "./node_modules/core-js/fn/string/pad-end.js": 9664/*!***************************************************!*\ 9665 !*** ./node_modules/core-js/fn/string/pad-end.js ***! 9666 \***************************************************/ 9667/*! no static exports found */ 9668/***/ (function(module, exports, __webpack_require__) { 9669 9670__webpack_require__(/*! ../../modules/es7.string.pad-end */ "./node_modules/core-js/modules/es7.string.pad-end.js"); 9671module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padEnd; 9672 9673 9674/***/ }), 9675
vendor: 577 bytes, lines 9676-9688
9676/***/ "./node_modules/core-js/fn/string/pad-start.js": 9677/*!*****************************************************!*\ 9678 !*** ./node_modules/core-js/fn/string/pad-start.js ***! 9679 \*****************************************************/ 9680/*! no static exports found */ 9681/***/ (function(module, exports, __webpack_require__) { 9682 9683__webpack_require__(/*! ../../modules/es7.string.pad-start */ "./node_modules/core-js/modules/es7.string.pad-start.js"); 9684module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padStart; 9685 9686 9687/***/ }), 9688
vendor: 576 bytes, lines 9689-9701
9689/***/ "./node_modules/core-js/fn/string/trim-end.js": 9690/*!****************************************************!*\ 9691 !*** ./node_modules/core-js/fn/string/trim-end.js ***! 9692 \****************************************************/ 9693/*! no static exports found */ 9694/***/ (function(module, exports, __webpack_require__) { 9695 9696__webpack_require__(/*! ../../modules/es7.string.trim-right */ "./node_modules/core-js/modules/es7.string.trim-right.js"); 9697module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimRight; 9698 9699 9700/***/ }), 9701
vendor: 581 bytes, lines 9702-9714
9702/***/ "./node_modules/core-js/fn/string/trim-start.js": 9703/*!******************************************************!*\ 9704 !*** ./node_modules/core-js/fn/string/trim-start.js ***! 9705 \******************************************************/ 9706/*! no static exports found */ 9707/***/ (function(module, exports, __webpack_require__) { 9708 9709__webpack_require__(/*! ../../modules/es7.string.trim-left */ "./node_modules/core-js/modules/es7.string.trim-left.js"); 9710module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimLeft; 9711 9712 9713/***/ }), 9714
vendor: 616 bytes, lines 9715-9727
9715/***/ "./node_modules/core-js/fn/symbol/async-iterator.js": 9716/*!**********************************************************!*\ 9717 !*** ./node_modules/core-js/fn/symbol/async-iterator.js ***! 9718 \**********************************************************/ 9719/*! no static exports found */ 9720/***/ (function(module, exports, __webpack_require__) { 9721 9722__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "./node_modules/core-js/modules/es7.symbol.async-iterator.js"); 9723module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js").f('asyncIterator'); 9724 9725 9726/***/ }), 9727
vendor: 436 bytes, lines 9728-9742
9728/***/ "./node_modules/core-js/modules/_a-function.js": 9729/*!*****************************************************!*\ 9730 !*** ./node_modules/core-js/modules/_a-function.js ***! 9731 \*****************************************************/ 9732/*! no static exports found */ 9733/***/ (function(module, exports) { 9734 9735module.exports = function (it) { 9736 if (typeof it != 'function') throw TypeError(it + ' is not a function!'); 9737 return it; 9738}; 9739 9740 9741/***/ }), 9742
vendor: 564 bytes, lines 9743-9758
9743/***/ "./node_modules/core-js/modules/_a-number-value.js": 9744/*!*********************************************************!*\ 9745 !*** ./node_modules/core-js/modules/_a-number-value.js ***! 9746 \*********************************************************/ 9747/*! no static exports found */ 9748/***/ (function(module, exports, __webpack_require__) { 9749 9750var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 9751module.exports = function (it, msg) { 9752 if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); 9753 return +it; 9754}; 9755 9756 9757/***/ }), 9758
vendor: 778 bytes, lines 9759-9776
9759/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": 9760/*!*************************************************************!*\ 9761 !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! 9762 \*************************************************************/ 9763/*! no static exports found */ 9764/***/ (function(module, exports, __webpack_require__) { 9765 9766// 22.1.3.31 Array.prototype[@@unscopables] 9767var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('unscopables'); 9768var ArrayProto = Array.prototype; 9769if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); 9770module.exports = function (key) { 9771 ArrayProto[UNSCOPABLES][key] = true; 9772}; 9773 9774 9775/***/ }), 9776
vendor: 699 bytes, lines 9777-9796
9777/***/ "./node_modules/core-js/modules/_advance-string-index.js": 9778/*!***************************************************************!*\ 9779 !*** ./node_modules/core-js/modules/_advance-string-index.js ***! 9780 \***************************************************************/ 9781/*! no static exports found */ 9782/***/ (function(module, exports, __webpack_require__) { 9783 9784"use strict"; 9785 9786var at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); 9787 9788 // `AdvanceStringIndex` abstract operation 9789// https://tc39.github.io/ecma262/#sec-advancestringindex 9790module.exports = function (S, index, unicode) { 9791 return index + (unicode ? at(S, index).length : 1); 9792}; 9793 9794 9795/***/ }), 9796
vendor: 552 bytes, lines 9797-9812
9797/***/ "./node_modules/core-js/modules/_an-instance.js": 9798/*!******************************************************!*\ 9799 !*** ./node_modules/core-js/modules/_an-instance.js ***! 9800 \******************************************************/ 9801/*! no static exports found */ 9802/***/ (function(module, exports) { 9803 9804module.exports = function (it, Constructor, name, forbiddenField) { 9805 if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { 9806 throw TypeError(name + ': incorrect invocation!'); 9807 } return it; 9808}; 9809 9810 9811/***/ }), 9812
vendor: 546 bytes, lines 9813-9828
9813/***/ "./node_modules/core-js/modules/_an-object.js": 9814/*!****************************************************!*\ 9815 !*** ./node_modules/core-js/modules/_an-object.js ***! 9816 \****************************************************/ 9817/*! no static exports found */ 9818/***/ (function(module, exports, __webpack_require__) { 9819 9820var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 9821module.exports = function (it) { 9822 if (!isObject(it)) throw TypeError(it + ' is not an object!'); 9823 return it; 9824}; 9825 9826 9827/***/ }), 9828
vendor: 1,437 bytes, lines 9829-9866
9829/***/ "./node_modules/core-js/modules/_array-copy-within.js": 9830/*!************************************************************!*\ 9831 !*** ./node_modules/core-js/modules/_array-copy-within.js ***! 9832 \************************************************************/ 9833/*! no static exports found */ 9834/***/ (function(module, exports, __webpack_require__) { 9835 9836"use strict"; 9837// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 9838 9839var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 9840var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 9841var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 9842 9843module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { 9844 var O = toObject(this); 9845 var len = toLength(O.length); 9846 var to = toAbsoluteIndex(target, len); 9847 var from = toAbsoluteIndex(start, len); 9848 var end = arguments.length > 2 ? arguments[2] : undefined; 9849 var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); 9850 var inc = 1; 9851 if (from < to && to < from + count) { 9852 inc = -1; 9853 from += count - 1; 9854 to += count - 1; 9855 } 9856 while (count-- > 0) { 9857 if (from in O) O[to] = O[from]; 9858 else delete O[to]; 9859 to += inc; 9860 from += inc; 9861 } return O; 9862}; 9863 9864 9865/***/ }), 9866
vendor: 1,176 bytes, lines 9867-9893
9867/***/ "./node_modules/core-js/modules/_array-fill.js": 9868/*!*****************************************************!*\ 9869 !*** ./node_modules/core-js/modules/_array-fill.js ***! 9870 \*****************************************************/ 9871/*! no static exports found */ 9872/***/ (function(module, exports, __webpack_require__) { 9873 9874"use strict"; 9875// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 9876 9877var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 9878var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 9879var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 9880module.exports = function fill(value /* , start = 0, end = @length */) { 9881 var O = toObject(this); 9882 var length = toLength(O.length); 9883 var aLen = arguments.length; 9884 var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); 9885 var end = aLen > 2 ? arguments[2] : undefined; 9886 var endPos = end === undefined ? length : toAbsoluteIndex(end, length); 9887 while (endPos > index) O[index++] = value; 9888 return O; 9889}; 9890 9891 9892/***/ }), 9893
vendor: 1,473 bytes, lines 9894-9927
9894/***/ "./node_modules/core-js/modules/_array-includes.js": 9895/*!*********************************************************!*\ 9896 !*** ./node_modules/core-js/modules/_array-includes.js ***! 9897 \*********************************************************/ 9898/*! no static exports found */ 9899/***/ (function(module, exports, __webpack_require__) { 9900 9901// false -> Array#indexOf 9902// true -> Array#includes 9903var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 9904var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 9905var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 9906module.exports = function (IS_INCLUDES) { 9907 return function ($this, el, fromIndex) { 9908 var O = toIObject($this); 9909 var length = toLength(O.length); 9910 var index = toAbsoluteIndex(fromIndex, length); 9911 var value; 9912 // Array#includes uses SameValueZero equality algorithm 9913 // eslint-disable-next-line no-self-compare 9914 if (IS_INCLUDES && el != el) while (length > index) { 9915 value = O[index++]; 9916 // eslint-disable-next-line no-self-compare 9917 if (value != value) return true; 9918 // Array#indexOf ignores holes, Array#includes - not 9919 } else for (;length > index; index++) if (IS_INCLUDES || index in O) { 9920 if (O[index] === el) return IS_INCLUDES || index || 0; 9921 } return !IS_INCLUDES && -1; 9922 }; 9923}; 9924 9925 9926/***/ }), 9927
vendor: 2,161 bytes, lines 9928-9982
9928/***/ "./node_modules/core-js/modules/_array-methods.js": 9929/*!********************************************************!*\ 9930 !*** ./node_modules/core-js/modules/_array-methods.js ***! 9931 \********************************************************/ 9932/*! no static exports found */ 9933/***/ (function(module, exports, __webpack_require__) { 9934 9935// 0 -> Array#forEach 9936// 1 -> Array#map 9937// 2 -> Array#filter 9938// 3 -> Array#some 9939// 4 -> Array#every 9940// 5 -> Array#find 9941// 6 -> Array#findIndex 9942var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 9943var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); 9944var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 9945var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 9946var asc = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); 9947module.exports = function (TYPE, $create) { 9948 var IS_MAP = TYPE == 1; 9949 var IS_FILTER = TYPE == 2; 9950 var IS_SOME = TYPE == 3; 9951 var IS_EVERY = TYPE == 4; 9952 var IS_FIND_INDEX = TYPE == 6; 9953 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; 9954 var create = $create || asc; 9955 return function ($this, callbackfn, that) { 9956 var O = toObject($this); 9957 var self = IObject(O); 9958 var f = ctx(callbackfn, that, 3); 9959 var length = toLength(self.length); 9960 var index = 0; 9961 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; 9962 var val, res; 9963 for (;length > index; index++) if (NO_HOLES || index in self) { 9964 val = self[index]; 9965 res = f(val, index, O); 9966 if (TYPE) { 9967 if (IS_MAP) result[index] = res; // map 9968 else if (res) switch (TYPE) { 9969 case 3: return true; // some 9970 case 5: return val; // find 9971 case 6: return index; // findIndex 9972 case 2: result.push(val); // filter 9973 } else if (IS_EVERY) return false; // every 9974 } 9975 } 9976 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; 9977 }; 9978}; 9979 9980 9981/***/ }), 9982
vendor: 1,416 bytes, lines 9983-10021
9983/***/ "./node_modules/core-js/modules/_array-reduce.js": 9984/*!*******************************************************!*\ 9985 !*** ./node_modules/core-js/modules/_array-reduce.js ***! 9986 \*******************************************************/ 9987/*! no static exports found */ 9988/***/ (function(module, exports, __webpack_require__) { 9989 9990var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 9991var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 9992var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); 9993var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 9994 9995module.exports = function (that, callbackfn, aLen, memo, isRight) { 9996 aFunction(callbackfn); 9997 var O = toObject(that); 9998 var self = IObject(O); 9999 var length = toLength(O.length); 10000 var index = isRight ? length - 1 : 0; 10001 var i = isRight ? -1 : 1; 10002 if (aLen < 2) for (;;) { 10003 if (index in self) { 10004 memo = self[index]; 10005 index += i; 10006 break; 10007 } 10008 index += i; 10009 if (isRight ? index < 0 : length <= index) { 10010 throw TypeError('Reduce of empty array with no initial value'); 10011 } 10012 } 10013 for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { 10014 memo = callbackfn(memo, self[index], index, O); 10015 } 10016 return memo; 10017}; 10018 10019 10020/***/ }), 10021
vendor: 1,052 bytes, lines 10022-10048
10022/***/ "./node_modules/core-js/modules/_array-species-constructor.js": 10023/*!********************************************************************!*\ 10024 !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! 10025 \********************************************************************/ 10026/*! no static exports found */ 10027/***/ (function(module, exports, __webpack_require__) { 10028 10029var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10030var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); 10031var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); 10032 10033module.exports = function (original) { 10034 var C; 10035 if (isArray(original)) { 10036 C = original.constructor; 10037 // cross-realm fallback 10038 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; 10039 if (isObject(C)) { 10040 C = C[SPECIES]; 10041 if (C === null) C = undefined; 10042 } 10043 } return C === undefined ? Array : C; 10044}; 10045 10046 10047/***/ }), 10048
vendor: 675 bytes, lines 10049-10065
10049/***/ "./node_modules/core-js/modules/_array-species-create.js": 10050/*!***************************************************************!*\ 10051 !*** ./node_modules/core-js/modules/_array-species-create.js ***! 10052 \***************************************************************/ 10053/*! no static exports found */ 10054/***/ (function(module, exports, __webpack_require__) { 10055 10056// 9.4.2.3 ArraySpeciesCreate(originalArray, length) 10057var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "./node_modules/core-js/modules/_array-species-constructor.js"); 10058 10059module.exports = function (original, length) { 10060 return new (speciesConstructor(original))(length); 10061}; 10062 10063 10064/***/ }), 10065
vendor: 1,402 bytes, lines 10066-10102
10066/***/ "./node_modules/core-js/modules/_bind.js": 10067/*!***********************************************!*\ 10068 !*** ./node_modules/core-js/modules/_bind.js ***! 10069 \***********************************************/ 10070/*! no static exports found */ 10071/***/ (function(module, exports, __webpack_require__) { 10072 10073"use strict"; 10074 10075var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 10076var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10077var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); 10078var arraySlice = [].slice; 10079var factories = {}; 10080 10081var construct = function (F, len, args) { 10082 if (!(len in factories)) { 10083 for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; 10084 // eslint-disable-next-line no-new-func 10085 factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); 10086 } return factories[len](F, args); 10087}; 10088 10089module.exports = Function.bind || function bind(that /* , ...args */) { 10090 var fn = aFunction(this); 10091 var partArgs = arraySlice.call(arguments, 1); 10092 var bound = function (/* args... */) { 10093 var args = partArgs.concat(arraySlice.call(arguments)); 10094 return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); 10095 }; 10096 if (isObject(fn.prototype)) bound.prototype = fn.prototype; 10097 return bound; 10098}; 10099 10100 10101/***/ }), 10102
vendor: 1,154 bytes, lines 10103-10136
10103/***/ "./node_modules/core-js/modules/_classof.js": 10104/*!**************************************************!*\ 10105 !*** ./node_modules/core-js/modules/_classof.js ***! 10106 \**************************************************/ 10107/*! no static exports found */ 10108/***/ (function(module, exports, __webpack_require__) { 10109 10110// getting tag from 19.1.3.6 Object.prototype.toString() 10111var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 10112var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); 10113// ES3 wrong here 10114var ARG = cof(function () { return arguments; }()) == 'Arguments'; 10115 10116// fallback for IE11 Script Access Denied error 10117var tryGet = function (it, key) { 10118 try { 10119 return it[key]; 10120 } catch (e) { /* empty */ } 10121}; 10122 10123module.exports = function (it) { 10124 var O, T, B; 10125 return it === undefined ? 'Undefined' : it === null ? 'Null' 10126 // @@toStringTag case 10127 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T 10128 // builtinTag case 10129 : ARG ? cof(O) 10130 // ES3 arguments fallback 10131 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; 10132}; 10133 10134 10135/***/ }), 10136
vendor: 389 bytes, lines 10137-10152
10137/***/ "./node_modules/core-js/modules/_cof.js": 10138/*!**********************************************!*\ 10139 !*** ./node_modules/core-js/modules/_cof.js ***! 10140 \**********************************************/ 10141/*! no static exports found */ 10142/***/ (function(module, exports) { 10143 10144var toString = {}.toString; 10145 10146module.exports = function (it) { 10147 return toString.call(it).slice(8, -1); 10148}; 10149 10150 10151/***/ }), 10152
vendor: 6,159 bytes, lines 10153-10308
10153/***/ "./node_modules/core-js/modules/_collection-strong.js": 10154/*!************************************************************!*\ 10155 !*** ./node_modules/core-js/modules/_collection-strong.js ***! 10156 \************************************************************/ 10157/*! no static exports found */ 10158/***/ (function(module, exports, __webpack_require__) { 10159 10160"use strict"; 10161 10162var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 10163var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); 10164var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); 10165var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 10166var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 10167var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); 10168var $iterDefine = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js"); 10169var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); 10170var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); 10171var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 10172var fastKey = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").fastKey; 10173var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 10174var SIZE = DESCRIPTORS ? '_s' : 'size'; 10175 10176var getEntry = function (that, key) { 10177 // fast case 10178 var index = fastKey(key); 10179 var entry; 10180 if (index !== 'F') return that._i[index]; 10181 // frozen object case 10182 for (entry = that._f; entry; entry = entry.n) { 10183 if (entry.k == key) return entry; 10184 } 10185}; 10186 10187module.exports = { 10188 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { 10189 var C = wrapper(function (that, iterable) { 10190 anInstance(that, C, NAME, '_i'); 10191 that._t = NAME; // collection type 10192 that._i = create(null); // index 10193 that._f = undefined; // first entry 10194 that._l = undefined; // last entry 10195 that[SIZE] = 0; // size 10196 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 10197 }); 10198 redefineAll(C.prototype, { 10199 // 23.1.3.1 Map.prototype.clear() 10200 // 23.2.3.2 Set.prototype.clear() 10201 clear: function clear() { 10202 for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { 10203 entry.r = true; 10204 if (entry.p) entry.p = entry.p.n = undefined; 10205 delete data[entry.i]; 10206 } 10207 that._f = that._l = undefined; 10208 that[SIZE] = 0; 10209 }, 10210 // 23.1.3.3 Map.prototype.delete(key) 10211 // 23.2.3.4 Set.prototype.delete(value) 10212 'delete': function (key) { 10213 var that = validate(this, NAME); 10214 var entry = getEntry(that, key); 10215 if (entry) { 10216 var next = entry.n; 10217 var prev = entry.p; 10218 delete that._i[entry.i]; 10219 entry.r = true; 10220 if (prev) prev.n = next; 10221 if (next) next.p = prev; 10222 if (that._f == entry) that._f = next; 10223 if (that._l == entry) that._l = prev; 10224 that[SIZE]--; 10225 } return !!entry; 10226 }, 10227 // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) 10228 // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) 10229 forEach: function forEach(callbackfn /* , that = undefined */) { 10230 validate(this, NAME); 10231 var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); 10232 var entry; 10233 while (entry = entry ? entry.n : this._f) { 10234 f(entry.v, entry.k, this); 10235 // revert to the last existing entry 10236 while (entry && entry.r) entry = entry.p; 10237 } 10238 }, 10239 // 23.1.3.7 Map.prototype.has(key) 10240 // 23.2.3.7 Set.prototype.has(value) 10241 has: function has(key) { 10242 return !!getEntry(validate(this, NAME), key); 10243 } 10244 }); 10245 if (DESCRIPTORS) dP(C.prototype, 'size', { 10246 get: function () { 10247 return validate(this, NAME)[SIZE]; 10248 } 10249 }); 10250 return C; 10251 }, 10252 def: function (that, key, value) { 10253 var entry = getEntry(that, key); 10254 var prev, index; 10255 // change existing entry 10256 if (entry) { 10257 entry.v = value; 10258 // create new entry 10259 } else { 10260 that._l = entry = { 10261 i: index = fastKey(key, true), // <- index 10262 k: key, // <- key 10263 v: value, // <- value 10264 p: prev = that._l, // <- previous entry 10265 n: undefined, // <- next entry 10266 r: false // <- removed 10267 }; 10268 if (!that._f) that._f = entry; 10269 if (prev) prev.n = entry; 10270 that[SIZE]++; 10271 // add to index 10272 if (index !== 'F') that._i[index] = entry; 10273 } return that; 10274 }, 10275 getEntry: getEntry, 10276 setStrong: function (C, NAME, IS_MAP) { 10277 // add .keys, .values, .entries, [@@iterator] 10278 // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 10279 $iterDefine(C, NAME, function (iterated, kind) { 10280 this._t = validate(iterated, NAME); // target 10281 this._k = kind; // kind 10282 this._l = undefined; // previous 10283 }, function () { 10284 var that = this; 10285 var kind = that._k; 10286 var entry = that._l; 10287 // revert to the last existing entry 10288 while (entry && entry.r) entry = entry.p; 10289 // get next entry 10290 if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { 10291 // or finish the iteration 10292 that._t = undefined; 10293 return step(1); 10294 } 10295 // return step by kind 10296 if (kind == 'keys') return step(0, entry.k); 10297 if (kind == 'values') return step(0, entry.v); 10298 return step(0, [entry.k, entry.v]); 10299 }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); 10300 10301 // add [@@species], 23.1.2.2, 23.2.2.2 10302 setSpecies(NAME); 10303 } 10304}; 10305 10306 10307/***/ }), 10308
vendor: 3,722 bytes, lines 10309-10405
10309/***/ "./node_modules/core-js/modules/_collection-weak.js": 10310/*!**********************************************************!*\ 10311 !*** ./node_modules/core-js/modules/_collection-weak.js ***! 10312 \**********************************************************/ 10313/*! no static exports found */ 10314/***/ (function(module, exports, __webpack_require__) { 10315 10316"use strict"; 10317 10318var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); 10319var getWeak = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").getWeak; 10320var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 10321var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10322var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 10323var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); 10324var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); 10325var $has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 10326var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 10327var arrayFind = createArrayMethod(5); 10328var arrayFindIndex = createArrayMethod(6); 10329var id = 0; 10330 10331// fallback for uncaught frozen keys 10332var uncaughtFrozenStore = function (that) { 10333 return that._l || (that._l = new UncaughtFrozenStore()); 10334}; 10335var UncaughtFrozenStore = function () { 10336 this.a = []; 10337}; 10338var findUncaughtFrozen = function (store, key) { 10339 return arrayFind(store.a, function (it) { 10340 return it[0] === key; 10341 }); 10342}; 10343UncaughtFrozenStore.prototype = { 10344 get: function (key) { 10345 var entry = findUncaughtFrozen(this, key); 10346 if (entry) return entry[1]; 10347 }, 10348 has: function (key) { 10349 return !!findUncaughtFrozen(this, key); 10350 }, 10351 set: function (key, value) { 10352 var entry = findUncaughtFrozen(this, key); 10353 if (entry) entry[1] = value; 10354 else this.a.push([key, value]); 10355 }, 10356 'delete': function (key) { 10357 var index = arrayFindIndex(this.a, function (it) { 10358 return it[0] === key; 10359 }); 10360 if (~index) this.a.splice(index, 1); 10361 return !!~index; 10362 } 10363}; 10364 10365module.exports = { 10366 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { 10367 var C = wrapper(function (that, iterable) { 10368 anInstance(that, C, NAME, '_i'); 10369 that._t = NAME; // collection type 10370 that._i = id++; // collection id 10371 that._l = undefined; // leak store for uncaught frozen objects 10372 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 10373 }); 10374 redefineAll(C.prototype, { 10375 // 23.3.3.2 WeakMap.prototype.delete(key) 10376 // 23.4.3.3 WeakSet.prototype.delete(value) 10377 'delete': function (key) { 10378 if (!isObject(key)) return false; 10379 var data = getWeak(key); 10380 if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); 10381 return data && $has(data, this._i) && delete data[this._i]; 10382 }, 10383 // 23.3.3.4 WeakMap.prototype.has(key) 10384 // 23.4.3.4 WeakSet.prototype.has(value) 10385 has: function has(key) { 10386 if (!isObject(key)) return false; 10387 var data = getWeak(key); 10388 if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); 10389 return data && $has(data, this._i); 10390 } 10391 }); 10392 return C; 10393 }, 10394 def: function (that, key, value) { 10395 var data = getWeak(anObject(key), true); 10396 if (data === true) uncaughtFrozenStore(that).set(key, value); 10397 else data[that._i] = value; 10398 return that; 10399 }, 10400 ufstore: uncaughtFrozenStore 10401}; 10402 10403 10404/***/ }), 10405
vendor: 4,414 bytes, lines 10406-10502
10406/***/ "./node_modules/core-js/modules/_collection.js": 10407/*!*****************************************************!*\ 10408 !*** ./node_modules/core-js/modules/_collection.js ***! 10409 \*****************************************************/ 10410/*! no static exports found */ 10411/***/ (function(module, exports, __webpack_require__) { 10412 10413"use strict"; 10414 10415var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 10416var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 10417var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 10418var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); 10419var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); 10420var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); 10421var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 10422var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10423var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 10424var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); 10425var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); 10426var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); 10427 10428module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { 10429 var Base = global[NAME]; 10430 var C = Base; 10431 var ADDER = IS_MAP ? 'set' : 'add'; 10432 var proto = C && C.prototype; 10433 var O = {}; 10434 var fixMethod = function (KEY) { 10435 var fn = proto[KEY]; 10436 redefine(proto, KEY, 10437 KEY == 'delete' ? function (a) { 10438 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); 10439 } : KEY == 'has' ? function has(a) { 10440 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); 10441 } : KEY == 'get' ? function get(a) { 10442 return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); 10443 } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } 10444 : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } 10445 ); 10446 }; 10447 if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { 10448 new C().entries().next(); 10449 }))) { 10450 // create collection constructor 10451 C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); 10452 redefineAll(C.prototype, methods); 10453 meta.NEED = true; 10454 } else { 10455 var instance = new C(); 10456 // early implementations not supports chaining 10457 var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; 10458 // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false 10459 var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); 10460 // most early implementations doesn't supports iterables, most modern - not close it correctly 10461 var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new 10462 // for early implementations -0 and +0 not the same 10463 var BUGGY_ZERO = !IS_WEAK && fails(function () { 10464 // V8 ~ Chromium 42- fails only with 5+ elements 10465 var $instance = new C(); 10466 var index = 5; 10467 while (index--) $instance[ADDER](index, index); 10468 return !$instance.has(-0); 10469 }); 10470 if (!ACCEPT_ITERABLES) { 10471 C = wrapper(function (target, iterable) { 10472 anInstance(target, C, NAME); 10473 var that = inheritIfRequired(new Base(), target, C); 10474 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 10475 return that; 10476 }); 10477 C.prototype = proto; 10478 proto.constructor = C; 10479 } 10480 if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { 10481 fixMethod('delete'); 10482 fixMethod('has'); 10483 IS_MAP && fixMethod('get'); 10484 } 10485 if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); 10486 // weak collections should not contains .clear method 10487 if (IS_WEAK && proto.clear) delete proto.clear; 10488 } 10489 10490 setToStringTag(C, NAME); 10491 10492 O[NAME] = C; 10493 $export($export.G + $export.W + $export.F * (C != Base), O); 10494 10495 if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); 10496 10497 return C; 10498}; 10499 10500 10501/***/ }), 10502
vendor: 410 bytes, lines 10503-10515
10503/***/ "./node_modules/core-js/modules/_core.js": 10504/*!***********************************************!*\ 10505 !*** ./node_modules/core-js/modules/_core.js ***! 10506 \***********************************************/ 10507/*! no static exports found */ 10508/***/ (function(module, exports) { 10509 10510var core = module.exports = { version: '2.6.12' }; 10511if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef 10512 10513 10514/***/ }), 10515
vendor: 756 bytes, lines 10516-10535
10516/***/ "./node_modules/core-js/modules/_create-property.js": 10517/*!**********************************************************!*\ 10518 !*** ./node_modules/core-js/modules/_create-property.js ***! 10519 \**********************************************************/ 10520/*! no static exports found */ 10521/***/ (function(module, exports, __webpack_require__) { 10522 10523"use strict"; 10524 10525var $defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 10526var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 10527 10528module.exports = function (object, index, value) { 10529 if (index in object) $defineProperty.f(object, index, createDesc(0, value)); 10530 else object[index] = value; 10531}; 10532 10533 10534/***/ }), 10535
vendor: 889 bytes, lines 10536-10566
10536/***/ "./node_modules/core-js/modules/_ctx.js": 10537/*!**********************************************!*\ 10538 !*** ./node_modules/core-js/modules/_ctx.js ***! 10539 \**********************************************/ 10540/*! no static exports found */ 10541/***/ (function(module, exports, __webpack_require__) { 10542 10543// optional / simple context binding 10544var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 10545module.exports = function (fn, that, length) { 10546 aFunction(fn); 10547 if (that === undefined) return fn; 10548 switch (length) { 10549 case 1: return function (a) { 10550 return fn.call(that, a); 10551 }; 10552 case 2: return function (a, b) { 10553 return fn.call(that, a, b); 10554 }; 10555 case 3: return function (a, b, c) { 10556 return fn.call(that, a, b, c); 10557 }; 10558 } 10559 return function (/* ...args */) { 10560 return fn.apply(that, arguments); 10561 }; 10562}; 10563 10564 10565/***/ }), 10566
vendor: 1,421 bytes, lines 10567-10604
10567/***/ "./node_modules/core-js/modules/_date-to-iso-string.js": 10568/*!*************************************************************!*\ 10569 !*** ./node_modules/core-js/modules/_date-to-iso-string.js ***! 10570 \*************************************************************/ 10571/*! no static exports found */ 10572/***/ (function(module, exports, __webpack_require__) { 10573 10574"use strict"; 10575 10576// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 10577var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 10578var getTime = Date.prototype.getTime; 10579var $toISOString = Date.prototype.toISOString; 10580 10581var lz = function (num) { 10582 return num > 9 ? num : '0' + num; 10583}; 10584 10585// PhantomJS / old WebKit has a broken implementations 10586module.exports = (fails(function () { 10587 return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; 10588}) || !fails(function () { 10589 $toISOString.call(new Date(NaN)); 10590})) ? function toISOString() { 10591 if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); 10592 var d = this; 10593 var y = d.getUTCFullYear(); 10594 var m = d.getUTCMilliseconds(); 10595 var s = y < 0 ? '-' : y > 9999 ? '+' : ''; 10596 return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + 10597 '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + 10598 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + 10599 ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; 10600} : $toISOString; 10601 10602 10603/***/ }), 10604
vendor: 809 bytes, lines 10605-10625
10605/***/ "./node_modules/core-js/modules/_date-to-primitive.js": 10606/*!************************************************************!*\ 10607 !*** ./node_modules/core-js/modules/_date-to-primitive.js ***! 10608 \************************************************************/ 10609/*! no static exports found */ 10610/***/ (function(module, exports, __webpack_require__) { 10611 10612"use strict"; 10613 10614var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 10615var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 10616var NUMBER = 'number'; 10617 10618module.exports = function (hint) { 10619 if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); 10620 return toPrimitive(anObject(this), hint != NUMBER); 10621}; 10622 10623 10624/***/ }), 10625
vendor: 461 bytes, lines 10626-10641
10626/***/ "./node_modules/core-js/modules/_defined.js": 10627/*!**************************************************!*\ 10628 !*** ./node_modules/core-js/modules/_defined.js ***! 10629 \**************************************************/ 10630/*! no static exports found */ 10631/***/ (function(module, exports) { 10632 10633// 7.2.1 RequireObjectCoercible(argument) 10634module.exports = function (it) { 10635 if (it == undefined) throw TypeError("Can't call method on " + it); 10636 return it; 10637}; 10638 10639 10640/***/ }), 10641
vendor: 580 bytes, lines 10642-10656
10642/***/ "./node_modules/core-js/modules/_descriptors.js": 10643/*!******************************************************!*\ 10644 !*** ./node_modules/core-js/modules/_descriptors.js ***! 10645 \******************************************************/ 10646/*! no static exports found */ 10647/***/ (function(module, exports, __webpack_require__) { 10648 10649// Thank's IE8 for his funny defineProperty 10650module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 10651 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; 10652}); 10653 10654 10655/***/ }), 10656
vendor: 746 bytes, lines 10657-10674
10657/***/ "./node_modules/core-js/modules/_dom-create.js": 10658/*!*****************************************************!*\ 10659 !*** ./node_modules/core-js/modules/_dom-create.js ***! 10660 \*****************************************************/ 10661/*! no static exports found */ 10662/***/ (function(module, exports, __webpack_require__) { 10663 10664var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10665var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; 10666// typeof document.createElement is 'object' in old IE 10667var is = isObject(document) && isObject(document.createElement); 10668module.exports = function (it) { 10669 return is ? document.createElement(it) : {}; 10670}; 10671 10672 10673/***/ }), 10674
vendor: 483 bytes, lines 10675-10689
10675/***/ "./node_modules/core-js/modules/_enum-bug-keys.js": 10676/*!********************************************************!*\ 10677 !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***! 10678 \********************************************************/ 10679/*! no static exports found */ 10680/***/ (function(module, exports) { 10681 10682// IE 8- don't enum bug keys 10683module.exports = ( 10684 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' 10685).split(','); 10686 10687 10688/***/ }), 10689
vendor: 994 bytes, lines 10690-10715
10690/***/ "./node_modules/core-js/modules/_enum-keys.js": 10691/*!****************************************************!*\ 10692 !*** ./node_modules/core-js/modules/_enum-keys.js ***! 10693 \****************************************************/ 10694/*! no static exports found */ 10695/***/ (function(module, exports, __webpack_require__) { 10696 10697// all enumerable object keys, includes symbols 10698var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 10699var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); 10700var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); 10701module.exports = function (it) { 10702 var result = getKeys(it); 10703 var getSymbols = gOPS.f; 10704 if (getSymbols) { 10705 var symbols = getSymbols(it); 10706 var isEnum = pIE.f; 10707 var i = 0; 10708 var key; 10709 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); 10710 } return result; 10711}; 10712 10713 10714/***/ }), 10715
vendor: 2,217 bytes, lines 10716-10769
10716/***/ "./node_modules/core-js/modules/_export.js": 10717/*!*************************************************!*\ 10718 !*** ./node_modules/core-js/modules/_export.js ***! 10719 \*************************************************/ 10720/*! no static exports found */ 10721/***/ (function(module, exports, __webpack_require__) { 10722 10723var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 10724var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); 10725var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 10726var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 10727var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 10728var PROTOTYPE = 'prototype'; 10729 10730var $export = function (type, name, source) { 10731 var IS_FORCED = type & $export.F; 10732 var IS_GLOBAL = type & $export.G; 10733 var IS_STATIC = type & $export.S; 10734 var IS_PROTO = type & $export.P; 10735 var IS_BIND = type & $export.B; 10736 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; 10737 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); 10738 var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); 10739 var key, own, out, exp; 10740 if (IS_GLOBAL) source = name; 10741 for (key in source) { 10742 // contains in native 10743 own = !IS_FORCED && target && target[key] !== undefined; 10744 // export native or passed 10745 out = (own ? target : source)[key]; 10746 // bind timers to global for call from export context 10747 exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; 10748 // extend global 10749 if (target) redefine(target, key, out, type & $export.U); 10750 // export 10751 if (exports[key] != out) hide(exports, key, exp); 10752 if (IS_PROTO && expProto[key] != out) expProto[key] = out; 10753 } 10754}; 10755global.core = core; 10756// type bitmap 10757$export.F = 1; // forced 10758$export.G = 2; // global 10759$export.S = 4; // static 10760$export.P = 8; // proto 10761$export.B = 16; // bind 10762$export.W = 32; // wrap 10763$export.U = 64; // safe 10764$export.R = 128; // real proto method for `library` 10765module.exports = $export; 10766 10767 10768/***/ }), 10769
vendor: 661 bytes, lines 10770-10792
10770/***/ "./node_modules/core-js/modules/_fails-is-regexp.js": 10771/*!**********************************************************!*\ 10772 !*** ./node_modules/core-js/modules/_fails-is-regexp.js ***! 10773 \**********************************************************/ 10774/*! no static exports found */ 10775/***/ (function(module, exports, __webpack_require__) { 10776 10777var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); 10778module.exports = function (KEY) { 10779 var re = /./; 10780 try { 10781 '/./'[KEY](re); 10782 } catch (e) { 10783 try { 10784 re[MATCH] = false; 10785 return !'/./'[KEY](re); 10786 } catch (f) { /* empty */ } 10787 } return true; 10788}; 10789 10790 10791/***/ }), 10792
vendor: 395 bytes, lines 10793-10810
10793/***/ "./node_modules/core-js/modules/_fails.js": 10794/*!************************************************!*\ 10795 !*** ./node_modules/core-js/modules/_fails.js ***! 10796 \************************************************/ 10797/*! no static exports found */ 10798/***/ (function(module, exports) { 10799 10800module.exports = function (exec) { 10801 try { 10802 return !!exec(); 10803 } catch (e) { 10804 return true; 10805 } 10806}; 10807 10808 10809/***/ }), 10810
vendor: 4,103 bytes, lines 10811-10918
10811/***/ "./node_modules/core-js/modules/_fix-re-wks.js": 10812/*!*****************************************************!*\ 10813 !*** ./node_modules/core-js/modules/_fix-re-wks.js ***! 10814 \*****************************************************/ 10815/*! no static exports found */ 10816/***/ (function(module, exports, __webpack_require__) { 10817 10818"use strict"; 10819 10820__webpack_require__(/*! ./es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); 10821var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 10822var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 10823var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 10824var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 10825var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); 10826var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); 10827 10828var SPECIES = wks('species'); 10829 10830var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { 10831 // #replace needs built-in support for named groups. 10832 // #match works fine because it just return the exec results, even if it has 10833 // a "grops" property. 10834 var re = /./; 10835 re.exec = function () { 10836 var result = []; 10837 result.groups = { a: '7' }; 10838 return result; 10839 }; 10840 return ''.replace(re, '$<a>') !== '7'; 10841}); 10842 10843var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { 10844 // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec 10845 var re = /(?:)/; 10846 var originalExec = re.exec; 10847 re.exec = function () { return originalExec.apply(this, arguments); }; 10848 var result = 'ab'.split(re); 10849 return result.length === 2 && result[0] === 'a' && result[1] === 'b'; 10850})(); 10851 10852module.exports = function (KEY, length, exec) { 10853 var SYMBOL = wks(KEY); 10854 10855 var DELEGATES_TO_SYMBOL = !fails(function () { 10856 // String methods call symbol-named RegEp methods 10857 var O = {}; 10858 O[SYMBOL] = function () { return 7; }; 10859 return ''[KEY](O) != 7; 10860 }); 10861 10862 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { 10863 // Symbol-named RegExp methods call .exec 10864 var execCalled = false; 10865 var re = /a/; 10866 re.exec = function () { execCalled = true; return null; }; 10867 if (KEY === 'split') { 10868 // RegExp[@@split] doesn't call the regex's exec method, but first creates 10869 // a new one. We need to return the patched regex when creating the new one. 10870 re.constructor = {}; 10871 re.constructor[SPECIES] = function () { return re; }; 10872 } 10873 re[SYMBOL](''); 10874 return !execCalled; 10875 }) : undefined; 10876 10877 if ( 10878 !DELEGATES_TO_SYMBOL || 10879 !DELEGATES_TO_EXEC || 10880 (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || 10881 (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) 10882 ) { 10883 var nativeRegExpMethod = /./[SYMBOL]; 10884 var fns = exec( 10885 defined, 10886 SYMBOL, 10887 ''[KEY], 10888 function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { 10889 if (regexp.exec === regexpExec) { 10890 if (DELEGATES_TO_SYMBOL && !forceStringMethod) { 10891 // The native String method already delegates to @@method (this 10892 // polyfilled function), leasing to infinite recursion. 10893 // We avoid it by directly calling the native @@method method. 10894 return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; 10895 } 10896 return { done: true, value: nativeMethod.call(str, regexp, arg2) }; 10897 } 10898 return { done: false }; 10899 } 10900 ); 10901 var strfn = fns[0]; 10902 var rxfn = fns[1]; 10903 10904 redefine(String.prototype, KEY, strfn); 10905 hide(RegExp.prototype, SYMBOL, length == 2 10906 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) 10907 // 21.2.5.11 RegExp.prototype[@@split](string, limit) 10908 ? function (string, arg) { return rxfn.call(string, this, arg); } 10909 // 21.2.5.6 RegExp.prototype[@@match](string) 10910 // 21.2.5.9 RegExp.prototype[@@search](string) 10911 : function (string) { return rxfn.call(string, this); } 10912 ); 10913 } 10914}; 10915 10916 10917/***/ }), 10918
vendor: 747 bytes, lines 10919-10943
10919/***/ "./node_modules/core-js/modules/_flags.js": 10920/*!************************************************!*\ 10921 !*** ./node_modules/core-js/modules/_flags.js ***! 10922 \************************************************/ 10923/*! no static exports found */ 10924/***/ (function(module, exports, __webpack_require__) { 10925 10926"use strict"; 10927 10928// 21.2.5.3 get RegExp.prototype.flags 10929var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 10930module.exports = function () { 10931 var that = anObject(this); 10932 var result = ''; 10933 if (that.global) result += 'g'; 10934 if (that.ignoreCase) result += 'i'; 10935 if (that.multiline) result += 'm'; 10936 if (that.unicode) result += 'u'; 10937 if (that.sticky) result += 'y'; 10938 return result; 10939}; 10940 10941 10942/***/ }), 10943
vendor: 1,958 bytes, lines 10944-10994
10944/***/ "./node_modules/core-js/modules/_flatten-into-array.js": 10945/*!*************************************************************!*\ 10946 !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! 10947 \*************************************************************/ 10948/*! no static exports found */ 10949/***/ (function(module, exports, __webpack_require__) { 10950 10951"use strict"; 10952 10953// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray 10954var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); 10955var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 10956var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 10957var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 10958var IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('isConcatSpreadable'); 10959 10960function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { 10961 var targetIndex = start; 10962 var sourceIndex = 0; 10963 var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; 10964 var element, spreadable; 10965 10966 while (sourceIndex < sourceLen) { 10967 if (sourceIndex in source) { 10968 element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; 10969 10970 spreadable = false; 10971 if (isObject(element)) { 10972 spreadable = element[IS_CONCAT_SPREADABLE]; 10973 spreadable = spreadable !== undefined ? !!spreadable : isArray(element); 10974 } 10975 10976 if (spreadable && depth > 0) { 10977 targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; 10978 } else { 10979 if (targetIndex >= 0x1fffffffffffff) throw TypeError(); 10980 target[targetIndex] = element; 10981 } 10982 10983 targetIndex++; 10984 } 10985 sourceIndex++; 10986 } 10987 return targetIndex; 10988} 10989 10990module.exports = flattenIntoArray; 10991 10992 10993/***/ }), 10994
vendor: 1,888 bytes, lines 10995-11030
10995/***/ "./node_modules/core-js/modules/_for-of.js": 10996/*!*************************************************!*\ 10997 !*** ./node_modules/core-js/modules/_for-of.js ***! 10998 \*************************************************/ 10999/*! no static exports found */ 11000/***/ (function(module, exports, __webpack_require__) { 11001 11002var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 11003var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); 11004var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); 11005var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 11006var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 11007var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); 11008var BREAK = {}; 11009var RETURN = {}; 11010var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { 11011 var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); 11012 var f = ctx(fn, that, entries ? 2 : 1); 11013 var index = 0; 11014 var length, step, iterator, result; 11015 if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); 11016 // fast case for arrays with default iterator 11017 if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { 11018 result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); 11019 if (result === BREAK || result === RETURN) return result; 11020 } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { 11021 result = call(iterator, f, step.value, entries); 11022 if (result === BREAK || result === RETURN) return result; 11023 } 11024}; 11025exports.BREAK = BREAK; 11026exports.RETURN = RETURN; 11027 11028 11029/***/ }), 11030
vendor: 512 bytes, lines 11031-11042
11031/***/ "./node_modules/core-js/modules/_function-to-string.js": 11032/*!*************************************************************!*\ 11033 !*** ./node_modules/core-js/modules/_function-to-string.js ***! 11034 \*************************************************************/ 11035/*! no static exports found */ 11036/***/ (function(module, exports, __webpack_require__) { 11037 11038module.exports = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); 11039 11040 11041/***/ }), 11042
vendor: 664 bytes, lines 11043-11059
11043/***/ "./node_modules/core-js/modules/_global.js": 11044/*!*************************************************!*\ 11045 !*** ./node_modules/core-js/modules/_global.js ***! 11046 \*************************************************/ 11047/*! no static exports found */ 11048/***/ (function(module, exports) { 11049 11050// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 11051var global = module.exports = typeof window != 'undefined' && window.Math == Math 11052 ? window : typeof self != 'undefined' && self.Math == Math ? self 11053 // eslint-disable-next-line no-new-func 11054 : Function('return this')(); 11055if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef 11056 11057 11058/***/ }), 11059
vendor: 403 bytes, lines 11060-11074
11060/***/ "./node_modules/core-js/modules/_has.js": 11061/*!**********************************************!*\ 11062 !*** ./node_modules/core-js/modules/_has.js ***! 11063 \**********************************************/ 11064/*! no static exports found */ 11065/***/ (function(module, exports) { 11066 11067var hasOwnProperty = {}.hasOwnProperty; 11068module.exports = function (it, key) { 11069 return hasOwnProperty.call(it, key); 11070}; 11071 11072 11073/***/ }), 11074
vendor: 792 bytes, lines 11075-11093
11075/***/ "./node_modules/core-js/modules/_hide.js": 11076/*!***********************************************!*\ 11077 !*** ./node_modules/core-js/modules/_hide.js ***! 11078 \***********************************************/ 11079/*! no static exports found */ 11080/***/ (function(module, exports, __webpack_require__) { 11081 11082var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 11083var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 11084module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { 11085 return dP.f(object, key, createDesc(1, value)); 11086} : function (object, key, value) { 11087 object[key] = value; 11088 return object; 11089}; 11090 11091 11092/***/ }), 11093
vendor: 470 bytes, lines 11094-11106
11094/***/ "./node_modules/core-js/modules/_html.js": 11095/*!***********************************************!*\ 11096 !*** ./node_modules/core-js/modules/_html.js ***! 11097 \***********************************************/ 11098/*! no static exports found */ 11099/***/ (function(module, exports, __webpack_require__) { 11100 11101var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; 11102module.exports = document && document.documentElement; 11103 11104 11105/***/ }), 11106
vendor: 738 bytes, lines 11107-11120
11107/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": 11108/*!*********************************************************!*\ 11109 !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! 11110 \*********************************************************/ 11111/*! no static exports found */ 11112/***/ (function(module, exports, __webpack_require__) { 11113 11114module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 11115 return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; 11116}); 11117 11118 11119/***/ }), 11120
vendor: 833 bytes, lines 11121-11140
11121/***/ "./node_modules/core-js/modules/_inherit-if-required.js": 11122/*!**************************************************************!*\ 11123 !*** ./node_modules/core-js/modules/_inherit-if-required.js ***! 11124 \**************************************************************/ 11125/*! no static exports found */ 11126/***/ (function(module, exports, __webpack_require__) { 11127 11128var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 11129var setPrototypeOf = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set; 11130module.exports = function (that, target, C) { 11131 var S = target.constructor; 11132 var P; 11133 if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { 11134 setPrototypeOf(that, P); 11135 } return that; 11136}; 11137 11138 11139/***/ }), 11140
vendor: 996 bytes, lines 11141-11167
11141/***/ "./node_modules/core-js/modules/_invoke.js": 11142/*!*************************************************!*\ 11143 !*** ./node_modules/core-js/modules/_invoke.js ***! 11144 \*************************************************/ 11145/*! no static exports found */ 11146/***/ (function(module, exports) { 11147 11148// fast apply, http://jsperf.lnkit.com/fast-apply/5 11149module.exports = function (fn, args, that) { 11150 var un = that === undefined; 11151 switch (args.length) { 11152 case 0: return un ? fn() 11153 : fn.call(that); 11154 case 1: return un ? fn(args[0]) 11155 : fn.call(that, args[0]); 11156 case 2: return un ? fn(args[0], args[1]) 11157 : fn.call(that, args[0], args[1]); 11158 case 3: return un ? fn(args[0], args[1], args[2]) 11159 : fn.call(that, args[0], args[1], args[2]); 11160 case 4: return un ? fn(args[0], args[1], args[2], args[3]) 11161 : fn.call(that, args[0], args[1], args[2], args[3]); 11162 } return fn.apply(that, args); 11163}; 11164 11165 11166/***/ }), 11167
vendor: 667 bytes, lines 11168-11184
11168/***/ "./node_modules/core-js/modules/_iobject.js": 11169/*!**************************************************!*\ 11170 !*** ./node_modules/core-js/modules/_iobject.js ***! 11171 \**************************************************/ 11172/*! no static exports found */ 11173/***/ (function(module, exports, __webpack_require__) { 11174 11175// fallback for non-array-like ES3 and non-enumerable old V8 strings 11176var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 11177// eslint-disable-next-line no-prototype-builtins 11178module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { 11179 return cof(it) == 'String' ? it.split('') : Object(it); 11180}; 11181 11182 11183/***/ }), 11184
vendor: 745 bytes, lines 11185-11203
11185/***/ "./node_modules/core-js/modules/_is-array-iter.js": 11186/*!********************************************************!*\ 11187 !*** ./node_modules/core-js/modules/_is-array-iter.js ***! 11188 \********************************************************/ 11189/*! no static exports found */ 11190/***/ (function(module, exports, __webpack_require__) { 11191 11192// check on default Array iterator 11193var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 11194var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); 11195var ArrayProto = Array.prototype; 11196 11197module.exports = function (it) { 11198 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); 11199}; 11200 11201 11202/***/ }), 11203
vendor: 529 bytes, lines 11204-11219
11204/***/ "./node_modules/core-js/modules/_is-array.js": 11205/*!***************************************************!*\ 11206 !*** ./node_modules/core-js/modules/_is-array.js ***! 11207 \***************************************************/ 11208/*! no static exports found */ 11209/***/ (function(module, exports, __webpack_require__) { 11210 11211// 7.2.2 IsArray(argument) 11212var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 11213module.exports = Array.isArray || function isArray(arg) { 11214 return cof(arg) == 'Array'; 11215}; 11216 11217 11218/***/ }), 11219
vendor: 602 bytes, lines 11220-11236
11220/***/ "./node_modules/core-js/modules/_is-integer.js": 11221/*!*****************************************************!*\ 11222 !*** ./node_modules/core-js/modules/_is-integer.js ***! 11223 \*****************************************************/ 11224/*! no static exports found */ 11225/***/ (function(module, exports, __webpack_require__) { 11226 11227// 20.1.2.3 Number.isInteger(number) 11228var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 11229var floor = Math.floor; 11230module.exports = function isInteger(it) { 11231 return !isObject(it) && isFinite(it) && floor(it) === it; 11232}; 11233 11234 11235/***/ }), 11236
vendor: 417 bytes, lines 11237-11250
11237/***/ "./node_modules/core-js/modules/_is-object.js": 11238/*!****************************************************!*\ 11239 !*** ./node_modules/core-js/modules/_is-object.js ***! 11240 \****************************************************/ 11241/*! no static exports found */ 11242/***/ (function(module, exports) { 11243 11244module.exports = function (it) { 11245 return typeof it === 'object' ? it !== null : typeof it === 'function'; 11246}; 11247 11248 11249/***/ }), 11250
vendor: 797 bytes, lines 11251-11269
11251/***/ "./node_modules/core-js/modules/_is-regexp.js": 11252/*!****************************************************!*\ 11253 !*** ./node_modules/core-js/modules/_is-regexp.js ***! 11254 \****************************************************/ 11255/*! no static exports found */ 11256/***/ (function(module, exports, __webpack_require__) { 11257 11258// 7.2.8 IsRegExp(argument) 11259var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 11260var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 11261var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); 11262module.exports = function (it) { 11263 var isRegExp; 11264 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); 11265}; 11266 11267 11268/***/ }), 11269
vendor: 802 bytes, lines 11270-11292
11270/***/ "./node_modules/core-js/modules/_iter-call.js": 11271/*!****************************************************!*\ 11272 !*** ./node_modules/core-js/modules/_iter-call.js ***! 11273 \****************************************************/ 11274/*! no static exports found */ 11275/***/ (function(module, exports, __webpack_require__) { 11276 11277// call something on iterator step with safe closing on error 11278var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 11279module.exports = function (iterator, fn, value, entries) { 11280 try { 11281 return entries ? fn(anObject(value)[0], value[1]) : fn(value); 11282 // 7.4.6 IteratorClose(iterator, completion) 11283 } catch (e) { 11284 var ret = iterator['return']; 11285 if (ret !== undefined) anObject(ret.call(iterator)); 11286 throw e; 11287 } 11288}; 11289 11290 11291/***/ }), 11292
vendor: 1,188 bytes, lines 11293-11317
11293/***/ "./node_modules/core-js/modules/_iter-create.js": 11294/*!******************************************************!*\ 11295 !*** ./node_modules/core-js/modules/_iter-create.js ***! 11296 \******************************************************/ 11297/*! no static exports found */ 11298/***/ (function(module, exports, __webpack_require__) { 11299 11300"use strict"; 11301 11302var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); 11303var descriptor = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 11304var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); 11305var IteratorPrototype = {}; 11306 11307// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() 11308__webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); 11309 11310module.exports = function (Constructor, NAME, next) { 11311 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); 11312 setToStringTag(Constructor, NAME + ' Iterator'); 11313}; 11314 11315 11316/***/ }), 11317
vendor: 3,686 bytes, lines 11318-11398
11318/***/ "./node_modules/core-js/modules/_iter-define.js": 11319/*!******************************************************!*\ 11320 !*** ./node_modules/core-js/modules/_iter-define.js ***! 11321 \******************************************************/ 11322/*! no static exports found */ 11323/***/ (function(module, exports, __webpack_require__) { 11324 11325"use strict"; 11326 11327var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); 11328var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 11329var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 11330var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 11331var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 11332var $iterCreate = __webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js"); 11333var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); 11334var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 11335var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); 11336var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` 11337var FF_ITERATOR = '@@iterator'; 11338var KEYS = 'keys'; 11339var VALUES = 'values'; 11340 11341var returnThis = function () { return this; }; 11342 11343module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { 11344 $iterCreate(Constructor, NAME, next); 11345 var getMethod = function (kind) { 11346 if (!BUGGY && kind in proto) return proto[kind]; 11347 switch (kind) { 11348 case KEYS: return function keys() { return new Constructor(this, kind); }; 11349 case VALUES: return function values() { return new Constructor(this, kind); }; 11350 } return function entries() { return new Constructor(this, kind); }; 11351 }; 11352 var TAG = NAME + ' Iterator'; 11353 var DEF_VALUES = DEFAULT == VALUES; 11354 var VALUES_BUG = false; 11355 var proto = Base.prototype; 11356 var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; 11357 var $default = $native || getMethod(DEFAULT); 11358 var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; 11359 var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; 11360 var methods, key, IteratorPrototype; 11361 // Fix native 11362 if ($anyNative) { 11363 IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); 11364 if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { 11365 // Set @@toStringTag to native iterators 11366 setToStringTag(IteratorPrototype, TAG, true); 11367 // fix for some old engines 11368 if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); 11369 } 11370 } 11371 // fix Array#{values, @@iterator}.name in V8 / FF 11372 if (DEF_VALUES && $native && $native.name !== VALUES) { 11373 VALUES_BUG = true; 11374 $default = function values() { return $native.call(this); }; 11375 } 11376 // Define iterator 11377 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { 11378 hide(proto, ITERATOR, $default); 11379 } 11380 // Plug for library 11381 Iterators[NAME] = $default; 11382 Iterators[TAG] = returnThis; 11383 if (DEFAULT) { 11384 methods = { 11385 values: DEF_VALUES ? $default : getMethod(VALUES), 11386 keys: IS_SET ? $default : getMethod(KEYS), 11387 entries: $entries 11388 }; 11389 if (FORCED) for (key in methods) { 11390 if (!(key in proto)) redefine(proto, key, methods[key]); 11391 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); 11392 } 11393 return methods; 11394}; 11395 11396 11397/***/ }), 11398
vendor: 1,039 bytes, lines 11399-11431
11399/***/ "./node_modules/core-js/modules/_iter-detect.js": 11400/*!******************************************************!*\ 11401 !*** ./node_modules/core-js/modules/_iter-detect.js ***! 11402 \******************************************************/ 11403/*! no static exports found */ 11404/***/ (function(module, exports, __webpack_require__) { 11405 11406var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); 11407var SAFE_CLOSING = false; 11408 11409try { 11410 var riter = [7][ITERATOR](); 11411 riter['return'] = function () { SAFE_CLOSING = true; }; 11412 // eslint-disable-next-line no-throw-literal 11413 Array.from(riter, function () { throw 2; }); 11414} catch (e) { /* empty */ } 11415 11416module.exports = function (exec, skipClosing) { 11417 if (!skipClosing && !SAFE_CLOSING) return false; 11418 var safe = false; 11419 try { 11420 var arr = [7]; 11421 var iter = arr[ITERATOR](); 11422 iter.next = function () { return { done: safe = true }; }; 11423 arr[ITERATOR] = function () { return iter; }; 11424 exec(arr); 11425 } catch (e) { /* empty */ } 11426 return safe; 11427}; 11428 11429 11430/***/ }), 11431
vendor: 393 bytes, lines 11432-11445
11432/***/ "./node_modules/core-js/modules/_iter-step.js": 11433/*!****************************************************!*\ 11434 !*** ./node_modules/core-js/modules/_iter-step.js ***! 11435 \****************************************************/ 11436/*! no static exports found */ 11437/***/ (function(module, exports) { 11438 11439module.exports = function (done, value) { 11440 return { value: value, done: !!done }; 11441}; 11442 11443 11444/***/ }), 11445
vendor: 328 bytes, lines 11446-11457
11446/***/ "./node_modules/core-js/modules/_iterators.js": 11447/*!****************************************************!*\ 11448 !*** ./node_modules/core-js/modules/_iterators.js ***! 11449 \****************************************************/ 11450/*! no static exports found */ 11451/***/ (function(module, exports) { 11452 11453module.exports = {}; 11454 11455 11456/***/ }), 11457
vendor: 323 bytes, lines 11458-11469
11458/***/ "./node_modules/core-js/modules/_library.js": 11459/*!**************************************************!*\ 11460 !*** ./node_modules/core-js/modules/_library.js ***! 11461 \**************************************************/ 11462/*! no static exports found */ 11463/***/ (function(module, exports) { 11464 11465module.exports = false; 11466 11467 11468/***/ }), 11469
vendor: 654 bytes, lines 11470-11490
11470/***/ "./node_modules/core-js/modules/_math-expm1.js": 11471/*!*****************************************************!*\ 11472 !*** ./node_modules/core-js/modules/_math-expm1.js ***! 11473 \*****************************************************/ 11474/*! no static exports found */ 11475/***/ (function(module, exports) { 11476 11477// 20.2.2.14 Math.expm1(x) 11478var $expm1 = Math.expm1; 11479module.exports = (!$expm1 11480 // Old FF bug 11481 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 11482 // Tor Browser bug 11483 || $expm1(-2e-17) != -2e-17 11484) ? function expm1(x) { 11485 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; 11486} : $expm1; 11487 11488 11489/***/ }), 11490
vendor: 1,116 bytes, lines 11491-11524
11491/***/ "./node_modules/core-js/modules/_math-fround.js": 11492/*!******************************************************!*\ 11493 !*** ./node_modules/core-js/modules/_math-fround.js ***! 11494 \******************************************************/ 11495/*! no static exports found */ 11496/***/ (function(module, exports, __webpack_require__) { 11497 11498// 20.2.2.16 Math.fround(x) 11499var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); 11500var pow = Math.pow; 11501var EPSILON = pow(2, -52); 11502var EPSILON32 = pow(2, -23); 11503var MAX32 = pow(2, 127) * (2 - EPSILON32); 11504var MIN32 = pow(2, -126); 11505 11506var roundTiesToEven = function (n) { 11507 return n + 1 / EPSILON - 1 / EPSILON; 11508}; 11509 11510module.exports = Math.fround || function fround(x) { 11511 var $abs = Math.abs(x); 11512 var $sign = sign(x); 11513 var a, result; 11514 if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; 11515 a = (1 + EPSILON32 / EPSILON) * $abs; 11516 result = a - (a - $abs); 11517 // eslint-disable-next-line no-self-compare 11518 if (result > MAX32 || result != result) return $sign * Infinity; 11519 return $sign * result; 11520}; 11521 11522 11523/***/ }), 11524
vendor: 465 bytes, lines 11525-11539
11525/***/ "./node_modules/core-js/modules/_math-log1p.js": 11526/*!*****************************************************!*\ 11527 !*** ./node_modules/core-js/modules/_math-log1p.js ***! 11528 \*****************************************************/ 11529/*! no static exports found */ 11530/***/ (function(module, exports) { 11531 11532// 20.2.2.20 Math.log1p(x) 11533module.exports = Math.log1p || function log1p(x) { 11534 return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); 11535}; 11536 11537 11538/***/ }), 11539
vendor: 486 bytes, lines 11540-11555
11540/***/ "./node_modules/core-js/modules/_math-sign.js": 11541/*!****************************************************!*\ 11542 !*** ./node_modules/core-js/modules/_math-sign.js ***! 11543 \****************************************************/ 11544/*! no static exports found */ 11545/***/ (function(module, exports) { 11546 11547// 20.2.2.28 Math.sign(x) 11548module.exports = Math.sign || function sign(x) { 11549 // eslint-disable-next-line no-self-compare 11550 return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; 11551}; 11552 11553 11554/***/ }), 11555
vendor: 2,170 bytes, lines 11556-11619
11556/***/ "./node_modules/core-js/modules/_meta.js": 11557/*!***********************************************!*\ 11558 !*** ./node_modules/core-js/modules/_meta.js ***! 11559 \***********************************************/ 11560/*! no static exports found */ 11561/***/ (function(module, exports, __webpack_require__) { 11562 11563var META = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('meta'); 11564var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 11565var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 11566var setDesc = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 11567var id = 0; 11568var isExtensible = Object.isExtensible || function () { 11569 return true; 11570}; 11571var FREEZE = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 11572 return isExtensible(Object.preventExtensions({})); 11573}); 11574var setMeta = function (it) { 11575 setDesc(it, META, { value: { 11576 i: 'O' + ++id, // object ID 11577 w: {} // weak collections IDs 11578 } }); 11579}; 11580var fastKey = function (it, create) { 11581 // return primitive with prefix 11582 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; 11583 if (!has(it, META)) { 11584 // can't set metadata to uncaught frozen object 11585 if (!isExtensible(it)) return 'F'; 11586 // not necessary to add metadata 11587 if (!create) return 'E'; 11588 // add missing metadata 11589 setMeta(it); 11590 // return object ID 11591 } return it[META].i; 11592}; 11593var getWeak = function (it, create) { 11594 if (!has(it, META)) { 11595 // can't set metadata to uncaught frozen object 11596 if (!isExtensible(it)) return true; 11597 // not necessary to add metadata 11598 if (!create) return false; 11599 // add missing metadata 11600 setMeta(it); 11601 // return hash weak collections IDs 11602 } return it[META].w; 11603}; 11604// add metadata on freeze-family methods calling 11605var onFreeze = function (it) { 11606 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); 11607 return it; 11608}; 11609var meta = module.exports = { 11610 KEY: META, 11611 NEED: false, 11612 fastKey: fastKey, 11613 getWeak: getWeak, 11614 onFreeze: onFreeze 11615}; 11616 11617 11618/***/ }), 11619
vendor: 2,488 bytes, lines 11620-11699
11620/***/ "./node_modules/core-js/modules/_microtask.js": 11621/*!****************************************************!*\ 11622 !*** ./node_modules/core-js/modules/_microtask.js ***! 11623 \****************************************************/ 11624/*! no static exports found */ 11625/***/ (function(module, exports, __webpack_require__) { 11626 11627var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 11628var macrotask = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; 11629var Observer = global.MutationObserver || global.WebKitMutationObserver; 11630var process = global.process; 11631var Promise = global.Promise; 11632var isNode = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process'; 11633 11634module.exports = function () { 11635 var head, last, notify; 11636 11637 var flush = function () { 11638 var parent, fn; 11639 if (isNode && (parent = process.domain)) parent.exit(); 11640 while (head) { 11641 fn = head.fn; 11642 head = head.next; 11643 try { 11644 fn(); 11645 } catch (e) { 11646 if (head) notify(); 11647 else last = undefined; 11648 throw e; 11649 } 11650 } last = undefined; 11651 if (parent) parent.enter(); 11652 }; 11653 11654 // Node.js 11655 if (isNode) { 11656 notify = function () { 11657 process.nextTick(flush); 11658 }; 11659 // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 11660 } else if (Observer && !(global.navigator && global.navigator.standalone)) { 11661 var toggle = true; 11662 var node = document.createTextNode(''); 11663 new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new 11664 notify = function () { 11665 node.data = toggle = !toggle; 11666 }; 11667 // environments with maybe non-completely correct, but existent Promise 11668 } else if (Promise && Promise.resolve) { 11669 // Promise.resolve without an argument throws an error in LG WebOS 2 11670 var promise = Promise.resolve(undefined); 11671 notify = function () { 11672 promise.then(flush); 11673 }; 11674 // for other environments - macrotask based on: 11675 // - setImmediate 11676 // - MessageChannel 11677 // - window.postMessag 11678 // - onreadystatechange 11679 // - setTimeout 11680 } else { 11681 notify = function () { 11682 // strange IE + webpack dev server bug - use .call(global) 11683 macrotask.call(global, flush); 11684 }; 11685 } 11686 11687 return function (fn) { 11688 var task = { fn: fn, next: undefined }; 11689 if (last) last.next = task; 11690 if (!head) { 11691 head = task; 11692 notify(); 11693 } last = task; 11694 }; 11695}; 11696 11697 11698/***/ }), 11699
vendor: 950 bytes, lines 11700-11729
11700/***/ "./node_modules/core-js/modules/_new-promise-capability.js": 11701/*!*****************************************************************!*\ 11702 !*** ./node_modules/core-js/modules/_new-promise-capability.js ***! 11703 \*****************************************************************/ 11704/*! no static exports found */ 11705/***/ (function(module, exports, __webpack_require__) { 11706 11707"use strict"; 11708 11709// 25.4.1.5 NewPromiseCapability(C) 11710var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 11711 11712function PromiseCapability(C) { 11713 var resolve, reject; 11714 this.promise = new C(function ($$resolve, $$reject) { 11715 if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); 11716 resolve = $$resolve; 11717 reject = $$reject; 11718 }); 11719 this.resolve = aFunction(resolve); 11720 this.reject = aFunction(reject); 11721} 11722 11723module.exports.f = function (C) { 11724 return new PromiseCapability(C); 11725}; 11726 11727 11728/***/ }), 11729
vendor: 2,075 bytes, lines 11730-11779
11730/***/ "./node_modules/core-js/modules/_object-assign.js": 11731/*!********************************************************!*\ 11732 !*** ./node_modules/core-js/modules/_object-assign.js ***! 11733 \********************************************************/ 11734/*! no static exports found */ 11735/***/ (function(module, exports, __webpack_require__) { 11736 11737"use strict"; 11738 11739// 19.1.2.1 Object.assign(target, source, ...) 11740var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 11741var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 11742var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); 11743var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); 11744var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 11745var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); 11746var $assign = Object.assign; 11747 11748// should work with symbols and should have deterministic property order (V8 bug) 11749module.exports = !$assign || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 11750 var A = {}; 11751 var B = {}; 11752 // eslint-disable-next-line no-undef 11753 var S = Symbol(); 11754 var K = 'abcdefghijklmnopqrst'; 11755 A[S] = 7; 11756 K.split('').forEach(function (k) { B[k] = k; }); 11757 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; 11758}) ? function assign(target, source) { // eslint-disable-line no-unused-vars 11759 var T = toObject(target); 11760 var aLen = arguments.length; 11761 var index = 1; 11762 var getSymbols = gOPS.f; 11763 var isEnum = pIE.f; 11764 while (aLen > index) { 11765 var S = IObject(arguments[index++]); 11766 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); 11767 var length = keys.length; 11768 var j = 0; 11769 var key; 11770 while (length > j) { 11771 key = keys[j++]; 11772 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; 11773 } 11774 } return T; 11775} : $assign; 11776 11777 11778/***/ }), 11779
vendor: 2,235 bytes, lines 11780-11831
11780/***/ "./node_modules/core-js/modules/_object-create.js": 11781/*!********************************************************!*\ 11782 !*** ./node_modules/core-js/modules/_object-create.js ***! 11783 \********************************************************/ 11784/*! no static exports found */ 11785/***/ (function(module, exports, __webpack_require__) { 11786 11787// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 11788var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 11789var dPs = __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js"); 11790var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); 11791var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); 11792var Empty = function () { /* empty */ }; 11793var PROTOTYPE = 'prototype'; 11794 11795// Create object with fake `null` prototype: use iframe Object with cleared prototype 11796var createDict = function () { 11797 // Thrash, waste and sodomy: IE GC bug 11798 var iframe = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('iframe'); 11799 var i = enumBugKeys.length; 11800 var lt = '<'; 11801 var gt = '>'; 11802 var iframeDocument; 11803 iframe.style.display = 'none'; 11804 __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js").appendChild(iframe); 11805 iframe.src = 'javascript:'; // eslint-disable-line no-script-url 11806 // createDict = iframe.contentWindow.Object; 11807 // html.removeChild(iframe); 11808 iframeDocument = iframe.contentWindow.document; 11809 iframeDocument.open(); 11810 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); 11811 iframeDocument.close(); 11812 createDict = iframeDocument.F; 11813 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; 11814 return createDict(); 11815}; 11816 11817module.exports = Object.create || function create(O, Properties) { 11818 var result; 11819 if (O !== null) { 11820 Empty[PROTOTYPE] = anObject(O); 11821 result = new Empty(); 11822 Empty[PROTOTYPE] = null; 11823 // add "__proto__" for Object.getPrototypeOf polyfill 11824 result[IE_PROTO] = O; 11825 } else result = createDict(); 11826 return Properties === undefined ? result : dPs(result, Properties); 11827}; 11828 11829 11830/***/ }), 11831
vendor: 1,194 bytes, lines 11832-11858
11832/***/ "./node_modules/core-js/modules/_object-dp.js": 11833/*!****************************************************!*\ 11834 !*** ./node_modules/core-js/modules/_object-dp.js ***! 11835 \****************************************************/ 11836/*! no static exports found */ 11837/***/ (function(module, exports, __webpack_require__) { 11838 11839var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 11840var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); 11841var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 11842var dP = Object.defineProperty; 11843 11844exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { 11845 anObject(O); 11846 P = toPrimitive(P, true); 11847 anObject(Attributes); 11848 if (IE8_DOM_DEFINE) try { 11849 return dP(O, P, Attributes); 11850 } catch (e) { /* empty */ } 11851 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); 11852 if ('value' in Attributes) O[P] = Attributes.value; 11853 return O; 11854}; 11855 11856 11857/***/ }), 11858
vendor: 996 bytes, lines 11859-11882
11859/***/ "./node_modules/core-js/modules/_object-dps.js": 11860/*!*****************************************************!*\ 11861 !*** ./node_modules/core-js/modules/_object-dps.js ***! 11862 \*****************************************************/ 11863/*! no static exports found */ 11864/***/ (function(module, exports, __webpack_require__) { 11865 11866var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 11867var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 11868var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 11869 11870module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { 11871 anObject(O); 11872 var keys = getKeys(Properties); 11873 var length = keys.length; 11874 var i = 0; 11875 var P; 11876 while (length > i) dP.f(O, P = keys[i++], Properties[P]); 11877 return O; 11878}; 11879 11880 11881/***/ }), 11882
vendor: 1,371 bytes, lines 11883-11909
11883/***/ "./node_modules/core-js/modules/_object-gopd.js": 11884/*!******************************************************!*\ 11885 !*** ./node_modules/core-js/modules/_object-gopd.js ***! 11886 \******************************************************/ 11887/*! no static exports found */ 11888/***/ (function(module, exports, __webpack_require__) { 11889 11890var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); 11891var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 11892var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 11893var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 11894var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 11895var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); 11896var gOPD = Object.getOwnPropertyDescriptor; 11897 11898exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { 11899 O = toIObject(O); 11900 P = toPrimitive(P, true); 11901 if (IE8_DOM_DEFINE) try { 11902 return gOPD(O, P); 11903 } catch (e) { /* empty */ } 11904 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); 11905}; 11906 11907 11908/***/ }), 11909
vendor: 1,087 bytes, lines 11910-11939
11910/***/ "./node_modules/core-js/modules/_object-gopn-ext.js": 11911/*!**********************************************************!*\ 11912 !*** ./node_modules/core-js/modules/_object-gopn-ext.js ***! 11913 \**********************************************************/ 11914/*! no static exports found */ 11915/***/ (function(module, exports, __webpack_require__) { 11916 11917// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 11918var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 11919var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; 11920var toString = {}.toString; 11921 11922var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 11923 ? Object.getOwnPropertyNames(window) : []; 11924 11925var getWindowNames = function (it) { 11926 try { 11927 return gOPN(it); 11928 } catch (e) { 11929 return windowNames.slice(); 11930 } 11931}; 11932 11933module.exports.f = function getOwnPropertyNames(it) { 11934 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); 11935}; 11936 11937 11938/***/ }), 11939
vendor: 767 bytes, lines 11940-11957
11940/***/ "./node_modules/core-js/modules/_object-gopn.js": 11941/*!******************************************************!*\ 11942 !*** ./node_modules/core-js/modules/_object-gopn.js ***! 11943 \******************************************************/ 11944/*! no static exports found */ 11945/***/ (function(module, exports, __webpack_require__) { 11946 11947// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) 11948var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); 11949var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); 11950 11951exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 11952 return $keys(O, hiddenKeys); 11953}; 11954 11955 11956/***/ }), 11957
vendor: 357 bytes, lines 11958-11969
11958/***/ "./node_modules/core-js/modules/_object-gops.js": 11959/*!******************************************************!*\ 11960 !*** ./node_modules/core-js/modules/_object-gops.js ***! 11961 \******************************************************/ 11962/*! no static exports found */ 11963/***/ (function(module, exports) { 11964 11965exports.f = Object.getOwnPropertySymbols; 11966 11967 11968/***/ }), 11969
vendor: 1,012 bytes, lines 11970-11993
11970/***/ "./node_modules/core-js/modules/_object-gpo.js": 11971/*!*****************************************************!*\ 11972 !*** ./node_modules/core-js/modules/_object-gpo.js ***! 11973 \*****************************************************/ 11974/*! no static exports found */ 11975/***/ (function(module, exports, __webpack_require__) { 11976 11977// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) 11978var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 11979var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 11980var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); 11981var ObjectProto = Object.prototype; 11982 11983module.exports = Object.getPrototypeOf || function (O) { 11984 O = toObject(O); 11985 if (has(O, IE_PROTO)) return O[IE_PROTO]; 11986 if (typeof O.constructor == 'function' && O instanceof O.constructor) { 11987 return O.constructor.prototype; 11988 } return O instanceof Object ? ObjectProto : null; 11989}; 11990 11991 11992/***/ }), 11993
vendor: 1,166 bytes, lines 11994-12021
11994/***/ "./node_modules/core-js/modules/_object-keys-internal.js": 11995/*!***************************************************************!*\ 11996 !*** ./node_modules/core-js/modules/_object-keys-internal.js ***! 11997 \***************************************************************/ 11998/*! no static exports found */ 11999/***/ (function(module, exports, __webpack_require__) { 12000 12001var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 12002var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 12003var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); 12004var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); 12005 12006module.exports = function (object, names) { 12007 var O = toIObject(object); 12008 var i = 0; 12009 var result = []; 12010 var key; 12011 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); 12012 // Don't enum bug & hidden keys 12013 while (names.length > i) if (has(O, key = names[i++])) { 12014 ~arrayIndexOf(result, key) || result.push(key); 12015 } 12016 return result; 12017}; 12018 12019 12020/***/ }), 12021
vendor: 701 bytes, lines 12022-12039
12022/***/ "./node_modules/core-js/modules/_object-keys.js": 12023/*!******************************************************!*\ 12024 !*** ./node_modules/core-js/modules/_object-keys.js ***! 12025 \******************************************************/ 12026/*! no static exports found */ 12027/***/ (function(module, exports, __webpack_require__) { 12028 12029// 19.1.2.14 / 15.2.3.14 Object.keys(O) 12030var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); 12031var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); 12032 12033module.exports = Object.keys || function keys(O) { 12034 return $keys(O, enumBugKeys); 12035}; 12036 12037 12038/***/ }), 12039
vendor: 348 bytes, lines 12040-12051
12040/***/ "./node_modules/core-js/modules/_object-pie.js": 12041/*!*****************************************************!*\ 12042 !*** ./node_modules/core-js/modules/_object-pie.js ***! 12043 \*****************************************************/ 12044/*! no static exports found */ 12045/***/ (function(module, exports) { 12046 12047exports.f = {}.propertyIsEnumerable; 12048 12049 12050/***/ }), 12051
vendor: 882 bytes, lines 12052-12072
12052/***/ "./node_modules/core-js/modules/_object-sap.js": 12053/*!*****************************************************!*\ 12054 !*** ./node_modules/core-js/modules/_object-sap.js ***! 12055 \*****************************************************/ 12056/*! no static exports found */ 12057/***/ (function(module, exports, __webpack_require__) { 12058 12059// most Object methods by ES6 should accept primitives 12060var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 12061var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); 12062var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 12063module.exports = function (KEY, exec) { 12064 var fn = (core.Object || {})[KEY] || Object[KEY]; 12065 var exp = {}; 12066 exp[KEY] = exec(fn); 12067 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); 12068}; 12069 12070 12071/***/ }), 12072
vendor: 1,176 bytes, lines 12073-12104
12073/***/ "./node_modules/core-js/modules/_object-to-array.js": 12074/*!**********************************************************!*\ 12075 !*** ./node_modules/core-js/modules/_object-to-array.js ***! 12076 \**********************************************************/ 12077/*! no static exports found */ 12078/***/ (function(module, exports, __webpack_require__) { 12079 12080var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 12081var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 12082var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 12083var isEnum = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f; 12084module.exports = function (isEntries) { 12085 return function (it) { 12086 var O = toIObject(it); 12087 var keys = getKeys(O); 12088 var length = keys.length; 12089 var i = 0; 12090 var result = []; 12091 var key; 12092 while (length > i) { 12093 key = keys[i++]; 12094 if (!DESCRIPTORS || isEnum.call(O, key)) { 12095 result.push(isEntries ? [key, O[key]] : O[key]); 12096 } 12097 } 12098 return result; 12099 }; 12100}; 12101 12102 12103/***/ }), 12104
vendor: 990 bytes, lines 12105-12125
12105/***/ "./node_modules/core-js/modules/_own-keys.js": 12106/*!***************************************************!*\ 12107 !*** ./node_modules/core-js/modules/_own-keys.js ***! 12108 \***************************************************/ 12109/*! no static exports found */ 12110/***/ (function(module, exports, __webpack_require__) { 12111 12112// all object keys, includes non-enumerable and symbols 12113var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js"); 12114var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); 12115var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 12116var Reflect = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect; 12117module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { 12118 var keys = gOPN.f(anObject(it)); 12119 var getSymbols = gOPS.f; 12120 return getSymbols ? keys.concat(getSymbols(it)) : keys; 12121}; 12122 12123 12124/***/ }), 12125
vendor: 886 bytes, lines 12126-12144
12126/***/ "./node_modules/core-js/modules/_parse-float.js": 12127/*!******************************************************!*\ 12128 !*** ./node_modules/core-js/modules/_parse-float.js ***! 12129 \******************************************************/ 12130/*! no static exports found */ 12131/***/ (function(module, exports, __webpack_require__) { 12132 12133var $parseFloat = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseFloat; 12134var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; 12135 12136module.exports = 1 / $parseFloat(__webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { 12137 var string = $trim(String(str), 3); 12138 var result = $parseFloat(string); 12139 return result === 0 && string.charAt(0) == '-' ? -0 : result; 12140} : $parseFloat; 12141 12142 12143/***/ }), 12144
vendor: 909 bytes, lines 12145-12164
12145/***/ "./node_modules/core-js/modules/_parse-int.js": 12146/*!****************************************************!*\ 12147 !*** ./node_modules/core-js/modules/_parse-int.js ***! 12148 \****************************************************/ 12149/*! no static exports found */ 12150/***/ (function(module, exports, __webpack_require__) { 12151 12152var $parseInt = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseInt; 12153var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; 12154var ws = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); 12155var hex = /^[-+]?0[xX]/; 12156 12157module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { 12158 var string = $trim(String(str), 3); 12159 return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); 12160} : $parseInt; 12161 12162 12163/***/ }), 12164
vendor: 431 bytes, lines 12165-12182
12165/***/ "./node_modules/core-js/modules/_perform.js": 12166/*!**************************************************!*\ 12167 !*** ./node_modules/core-js/modules/_perform.js ***! 12168 \**************************************************/ 12169/*! no static exports found */ 12170/***/ (function(module, exports) { 12171 12172module.exports = function (exec) { 12173 try { 12174 return { e: false, v: exec() }; 12175 } catch (e) { 12176 return { e: true, v: e }; 12177 } 12178}; 12179 12180 12181/***/ }), 12182
vendor: 954 bytes, lines 12183-12205
12183/***/ "./node_modules/core-js/modules/_promise-resolve.js": 12184/*!**********************************************************!*\ 12185 !*** ./node_modules/core-js/modules/_promise-resolve.js ***! 12186 \**********************************************************/ 12187/*! no static exports found */ 12188/***/ (function(module, exports, __webpack_require__) { 12189 12190var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 12191var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 12192var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); 12193 12194module.exports = function (C, x) { 12195 anObject(C); 12196 if (isObject(x) && x.constructor === C) return x; 12197 var promiseCapability = newPromiseCapability.f(C); 12198 var resolve = promiseCapability.resolve; 12199 resolve(x); 12200 return promiseCapability.promise; 12201}; 12202 12203 12204/***/ }), 12205
vendor: 496 bytes, lines 12206-12224
12206/***/ "./node_modules/core-js/modules/_property-desc.js": 12207/*!********************************************************!*\ 12208 !*** ./node_modules/core-js/modules/_property-desc.js ***! 12209 \********************************************************/ 12210/*! no static exports found */ 12211/***/ (function(module, exports) { 12212 12213module.exports = function (bitmap, value) { 12214 return { 12215 enumerable: !(bitmap & 1), 12216 configurable: !(bitmap & 2), 12217 writable: !(bitmap & 4), 12218 value: value 12219 }; 12220}; 12221 12222 12223/***/ }), 12224
vendor: 572 bytes, lines 12225-12240
12225/***/ "./node_modules/core-js/modules/_redefine-all.js": 12226/*!*******************************************************!*\ 12227 !*** ./node_modules/core-js/modules/_redefine-all.js ***! 12228 \*******************************************************/ 12229/*! no static exports found */ 12230/***/ (function(module, exports, __webpack_require__) { 12231 12232var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 12233module.exports = function (target, src, safe) { 12234 for (var key in src) redefine(target, key, src[key], safe); 12235 return target; 12236}; 12237 12238 12239/***/ }), 12240
vendor: 1,742 bytes, lines 12241-12282
12241/***/ "./node_modules/core-js/modules/_redefine.js": 12242/*!***************************************************!*\ 12243 !*** ./node_modules/core-js/modules/_redefine.js ***! 12244 \***************************************************/ 12245/*! no static exports found */ 12246/***/ (function(module, exports, __webpack_require__) { 12247 12248var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 12249var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 12250var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 12251var SRC = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('src'); 12252var $toString = __webpack_require__(/*! ./_function-to-string */ "./node_modules/core-js/modules/_function-to-string.js"); 12253var TO_STRING = 'toString'; 12254var TPL = ('' + $toString).split(TO_STRING); 12255 12256__webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").inspectSource = function (it) { 12257 return $toString.call(it); 12258}; 12259 12260(module.exports = function (O, key, val, safe) { 12261 var isFunction = typeof val == 'function'; 12262 if (isFunction) has(val, 'name') || hide(val, 'name', key); 12263 if (O[key] === val) return; 12264 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); 12265 if (O === global) { 12266 O[key] = val; 12267 } else if (!safe) { 12268 delete O[key]; 12269 hide(O, key, val); 12270 } else if (O[key]) { 12271 O[key] = val; 12272 } else { 12273 hide(O, key, val); 12274 } 12275// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 12276})(Function.prototype, TO_STRING, function toString() { 12277 return typeof this == 'function' && this[SRC] || $toString.call(this); 12278}); 12279 12280 12281/***/ }), 12282
vendor: 1,050 bytes, lines 12283-12315
12283/***/ "./node_modules/core-js/modules/_regexp-exec-abstract.js": 12284/*!***************************************************************!*\ 12285 !*** ./node_modules/core-js/modules/_regexp-exec-abstract.js ***! 12286 \***************************************************************/ 12287/*! no static exports found */ 12288/***/ (function(module, exports, __webpack_require__) { 12289 12290"use strict"; 12291 12292 12293var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); 12294var builtinExec = RegExp.prototype.exec; 12295 12296 // `RegExpExec` abstract operation 12297// https://tc39.github.io/ecma262/#sec-regexpexec 12298module.exports = function (R, S) { 12299 var exec = R.exec; 12300 if (typeof exec === 'function') { 12301 var result = exec.call(R, S); 12302 if (typeof result !== 'object') { 12303 throw new TypeError('RegExp exec method returned something other than an Object or null'); 12304 } 12305 return result; 12306 } 12307 if (classof(R) !== 'RegExp') { 12308 throw new TypeError('RegExp#exec called on incompatible receiver'); 12309 } 12310 return builtinExec.call(R, S); 12311}; 12312 12313 12314/***/ }), 12315
vendor: 2,137 bytes, lines 12316-12385
12316/***/ "./node_modules/core-js/modules/_regexp-exec.js": 12317/*!******************************************************!*\ 12318 !*** ./node_modules/core-js/modules/_regexp-exec.js ***! 12319 \******************************************************/ 12320/*! no static exports found */ 12321/***/ (function(module, exports, __webpack_require__) { 12322 12323"use strict"; 12324 12325 12326var regexpFlags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); 12327 12328var nativeExec = RegExp.prototype.exec; 12329// This always refers to the native implementation, because the 12330// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, 12331// which loads this file before patching the method. 12332var nativeReplace = String.prototype.replace; 12333 12334var patchedExec = nativeExec; 12335 12336var LAST_INDEX = 'lastIndex'; 12337 12338var UPDATES_LAST_INDEX_WRONG = (function () { 12339 var re1 = /a/, 12340 re2 = /b*/g; 12341 nativeExec.call(re1, 'a'); 12342 nativeExec.call(re2, 'a'); 12343 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; 12344})(); 12345 12346// nonparticipating capturing group, copied from es5-shim's String#split patch. 12347var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 12348 12349var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; 12350 12351if (PATCH) { 12352 patchedExec = function exec(str) { 12353 var re = this; 12354 var lastIndex, reCopy, match, i; 12355 12356 if (NPCG_INCLUDED) { 12357 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); 12358 } 12359 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; 12360 12361 match = nativeExec.call(re, str); 12362 12363 if (UPDATES_LAST_INDEX_WRONG && match) { 12364 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; 12365 } 12366 if (NPCG_INCLUDED && match && match.length > 1) { 12367 // Fix browsers whose `exec` methods don't consistently return `undefined` 12368 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ 12369 // eslint-disable-next-line no-loop-func 12370 nativeReplace.call(match[0], reCopy, function () { 12371 for (i = 1; i < arguments.length - 2; i++) { 12372 if (arguments[i] === undefined) match[i] = undefined; 12373 } 12374 }); 12375 } 12376 12377 return match; 12378 }; 12379} 12380 12381module.exports = patchedExec; 12382 12383 12384/***/ }), 12385
vendor: 501 bytes, lines 12386-12401
12386/***/ "./node_modules/core-js/modules/_same-value.js": 12387/*!*****************************************************!*\ 12388 !*** ./node_modules/core-js/modules/_same-value.js ***! 12389 \*****************************************************/ 12390/*! no static exports found */ 12391/***/ (function(module, exports) { 12392 12393// 7.2.9 SameValue(x, y) 12394module.exports = Object.is || function is(x, y) { 12395 // eslint-disable-next-line no-self-compare 12396 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; 12397}; 12398 12399 12400/***/ }), 12401
vendor: 1,486 bytes, lines 12402-12437
12402/***/ "./node_modules/core-js/modules/_set-proto.js": 12403/*!****************************************************!*\ 12404 !*** ./node_modules/core-js/modules/_set-proto.js ***! 12405 \****************************************************/ 12406/*! no static exports found */ 12407/***/ (function(module, exports, __webpack_require__) { 12408 12409// Works with __proto__ only. Old v8 can't work with null proto objects. 12410/* eslint-disable no-proto */ 12411var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 12412var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 12413var check = function (O, proto) { 12414 anObject(O); 12415 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); 12416}; 12417module.exports = { 12418 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line 12419 function (test, buggy, set) { 12420 try { 12421 set = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); 12422 set(test, []); 12423 buggy = !(test instanceof Array); 12424 } catch (e) { buggy = true; } 12425 return function setPrototypeOf(O, proto) { 12426 check(O, proto); 12427 if (buggy) O.__proto__ = proto; 12428 else set(O, proto); 12429 return O; 12430 }; 12431 }({}, false) : undefined), 12432 check: check 12433}; 12434 12435 12436/***/ }), 12437
vendor: 945 bytes, lines 12438-12462
12438/***/ "./node_modules/core-js/modules/_set-species.js": 12439/*!******************************************************!*\ 12440 !*** ./node_modules/core-js/modules/_set-species.js ***! 12441 \******************************************************/ 12442/*! no static exports found */ 12443/***/ (function(module, exports, __webpack_require__) { 12444 12445"use strict"; 12446 12447var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 12448var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 12449var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 12450var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); 12451 12452module.exports = function (KEY) { 12453 var C = global[KEY]; 12454 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { 12455 configurable: true, 12456 get: function () { return this; } 12457 }); 12458}; 12459 12460 12461/***/ }), 12462
vendor: 802 bytes, lines 12463-12480
12463/***/ "./node_modules/core-js/modules/_set-to-string-tag.js": 12464/*!************************************************************!*\ 12465 !*** ./node_modules/core-js/modules/_set-to-string-tag.js ***! 12466 \************************************************************/ 12467/*! no static exports found */ 12468/***/ (function(module, exports, __webpack_require__) { 12469 12470var def = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 12471var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 12472var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); 12473 12474module.exports = function (it, tag, stat) { 12475 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); 12476}; 12477 12478 12479/***/ }), 12480
vendor: 610 bytes, lines 12481-12496
12481/***/ "./node_modules/core-js/modules/_shared-key.js": 12482/*!*****************************************************!*\ 12483 !*** ./node_modules/core-js/modules/_shared-key.js ***! 12484 \*****************************************************/ 12485/*! no static exports found */ 12486/***/ (function(module, exports, __webpack_require__) { 12487 12488var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('keys'); 12489var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); 12490module.exports = function (key) { 12491 return shared[key] || (shared[key] = uid(key)); 12492}; 12493 12494 12495/***/ }), 12496
vendor: 926 bytes, lines 12497-12519
12497/***/ "./node_modules/core-js/modules/_shared.js": 12498/*!*************************************************!*\ 12499 !*** ./node_modules/core-js/modules/_shared.js ***! 12500 \*************************************************/ 12501/*! no static exports found */ 12502/***/ (function(module, exports, __webpack_require__) { 12503 12504var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); 12505var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 12506var SHARED = '__core-js_shared__'; 12507var store = global[SHARED] || (global[SHARED] = {}); 12508 12509(module.exports = function (key, value) { 12510 return store[key] || (store[key] = value !== undefined ? value : {}); 12511})('versions', []).push({ 12512 version: core.version, 12513 mode: __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js") ? 'pure' : 'global', 12514 copyright: '© 2020 Denis Pushkarev (zloirock.ru)' 12515}); 12516 12517 12518/***/ }), 12519
vendor: 903 bytes, lines 12520-12539
12520/***/ "./node_modules/core-js/modules/_species-constructor.js": 12521/*!**************************************************************!*\ 12522 !*** ./node_modules/core-js/modules/_species-constructor.js ***! 12523 \**************************************************************/ 12524/*! no static exports found */ 12525/***/ (function(module, exports, __webpack_require__) { 12526 12527// 7.3.20 SpeciesConstructor(O, defaultConstructor) 12528var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 12529var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 12530var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); 12531module.exports = function (O, D) { 12532 var C = anObject(O).constructor; 12533 var S; 12534 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); 12535}; 12536 12537 12538/***/ }), 12539
vendor: 674 bytes, lines 12540-12560
12540/***/ "./node_modules/core-js/modules/_strict-method.js": 12541/*!********************************************************!*\ 12542 !*** ./node_modules/core-js/modules/_strict-method.js ***! 12543 \********************************************************/ 12544/*! no static exports found */ 12545/***/ (function(module, exports, __webpack_require__) { 12546 12547"use strict"; 12548 12549var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 12550 12551module.exports = function (method, arg) { 12552 return !!method && fails(function () { 12553 // eslint-disable-next-line no-useless-call 12554 arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); 12555 }); 12556}; 12557 12558 12559/***/ }), 12560
vendor: 1,075 bytes, lines 12561-12588
12561/***/ "./node_modules/core-js/modules/_string-at.js": 12562/*!****************************************************!*\ 12563 !*** ./node_modules/core-js/modules/_string-at.js ***! 12564 \****************************************************/ 12565/*! no static exports found */ 12566/***/ (function(module, exports, __webpack_require__) { 12567 12568var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12569var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12570// true -> String#at 12571// false -> String#codePointAt 12572module.exports = function (TO_STRING) { 12573 return function (that, pos) { 12574 var s = String(defined(that)); 12575 var i = toInteger(pos); 12576 var l = s.length; 12577 var a, b; 12578 if (i < 0 || i >= l) return TO_STRING ? '' : undefined; 12579 a = s.charCodeAt(i); 12580 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff 12581 ? TO_STRING ? s.charAt(i) : a 12582 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; 12583 }; 12584}; 12585 12586 12587/***/ }), 12588
vendor: 788 bytes, lines 12589-12607
12589/***/ "./node_modules/core-js/modules/_string-context.js": 12590/*!*********************************************************!*\ 12591 !*** ./node_modules/core-js/modules/_string-context.js ***! 12592 \*********************************************************/ 12593/*! no static exports found */ 12594/***/ (function(module, exports, __webpack_require__) { 12595 12596// helper for String#{startsWith, endsWith, includes} 12597var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); 12598var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12599 12600module.exports = function (that, searchString, NAME) { 12601 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); 12602 return String(defined(that)); 12603}; 12604 12605 12606/***/ }), 12607
vendor: 1,221 bytes, lines 12608-12637
12608/***/ "./node_modules/core-js/modules/_string-html.js": 12609/*!******************************************************!*\ 12610 !*** ./node_modules/core-js/modules/_string-html.js ***! 12611 \******************************************************/ 12612/*! no static exports found */ 12613/***/ (function(module, exports, __webpack_require__) { 12614 12615var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 12616var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 12617var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12618var quot = /"/g; 12619// B.2.3.2.1 CreateHTML(string, tag, attribute, value) 12620var createHTML = function (string, tag, attribute, value) { 12621 var S = String(defined(string)); 12622 var p1 = '<' + tag; 12623 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; 12624 return p1 + '>' + S + '</' + tag + '>'; 12625}; 12626module.exports = function (NAME, exec) { 12627 var O = {}; 12628 O[NAME] = exec(createHTML); 12629 $export($export.P + $export.F * fails(function () { 12630 var test = ''[NAME]('"'); 12631 return test !== test.toLowerCase() || test.split('"').length > 3; 12632 }), 'String', O); 12633}; 12634 12635 12636/***/ }), 12637
vendor: 1,270 bytes, lines 12638-12664
12638/***/ "./node_modules/core-js/modules/_string-pad.js": 12639/*!*****************************************************!*\ 12640 !*** ./node_modules/core-js/modules/_string-pad.js ***! 12641 \*****************************************************/ 12642/*! no static exports found */ 12643/***/ (function(module, exports, __webpack_require__) { 12644 12645// https://github.com/tc39/proposal-string-pad-start-end 12646var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 12647var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); 12648var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12649 12650module.exports = function (that, maxLength, fillString, left) { 12651 var S = String(defined(that)); 12652 var stringLength = S.length; 12653 var fillStr = fillString === undefined ? ' ' : String(fillString); 12654 var intMaxLength = toLength(maxLength); 12655 if (intMaxLength <= stringLength || fillStr == '') return S; 12656 var fillLen = intMaxLength - stringLength; 12657 var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); 12658 if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); 12659 return left ? stringFiller + S : S + stringFiller; 12660}; 12661 12662 12663/***/ }), 12664
vendor: 845 bytes, lines 12665-12688
12665/***/ "./node_modules/core-js/modules/_string-repeat.js": 12666/*!********************************************************!*\ 12667 !*** ./node_modules/core-js/modules/_string-repeat.js ***! 12668 \********************************************************/ 12669/*! no static exports found */ 12670/***/ (function(module, exports, __webpack_require__) { 12671 12672"use strict"; 12673 12674var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12675var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12676 12677module.exports = function repeat(count) { 12678 var str = String(defined(this)); 12679 var res = ''; 12680 var n = toInteger(count); 12681 if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); 12682 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; 12683 return res; 12684}; 12685 12686 12687/***/ }), 12688
vendor: 1,482 bytes, lines 12689-12729
12689/***/ "./node_modules/core-js/modules/_string-trim.js": 12690/*!******************************************************!*\ 12691 !*** ./node_modules/core-js/modules/_string-trim.js ***! 12692 \******************************************************/ 12693/*! no static exports found */ 12694/***/ (function(module, exports, __webpack_require__) { 12695 12696var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 12697var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12698var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 12699var spaces = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); 12700var space = '[' + spaces + ']'; 12701var non = '\u200b\u0085'; 12702var ltrim = RegExp('^' + space + space + '*'); 12703var rtrim = RegExp(space + space + '*$'); 12704 12705var exporter = function (KEY, exec, ALIAS) { 12706 var exp = {}; 12707 var FORCE = fails(function () { 12708 return !!spaces[KEY]() || non[KEY]() != non; 12709 }); 12710 var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; 12711 if (ALIAS) exp[ALIAS] = fn; 12712 $export($export.P + $export.F * FORCE, 'String', exp); 12713}; 12714 12715// 1 -> String#trimLeft 12716// 2 -> String#trimRight 12717// 3 -> String#trim 12718var trim = exporter.trim = function (string, TYPE) { 12719 string = String(defined(string)); 12720 if (TYPE & 1) string = string.replace(ltrim, ''); 12721 if (TYPE & 2) string = string.replace(rtrim, ''); 12722 return string; 12723}; 12724 12725module.exports = exporter; 12726 12727 12728/***/ }), 12729
vendor: 477 bytes, lines 12730-12742
12730/***/ "./node_modules/core-js/modules/_string-ws.js": 12731/*!****************************************************!*\ 12732 !*** ./node_modules/core-js/modules/_string-ws.js ***! 12733 \****************************************************/ 12734/*! no static exports found */ 12735/***/ (function(module, exports) { 12736 12737module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + 12738 '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; 12739 12740 12741/***/ }), 12742
vendor: 3,154 bytes, lines 12743-12837
12743/***/ "./node_modules/core-js/modules/_task.js": 12744/*!***********************************************!*\ 12745 !*** ./node_modules/core-js/modules/_task.js ***! 12746 \***********************************************/ 12747/*! no static exports found */ 12748/***/ (function(module, exports, __webpack_require__) { 12749 12750var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 12751var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); 12752var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); 12753var cel = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js"); 12754var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 12755var process = global.process; 12756var setTask = global.setImmediate; 12757var clearTask = global.clearImmediate; 12758var MessageChannel = global.MessageChannel; 12759var Dispatch = global.Dispatch; 12760var counter = 0; 12761var queue = {}; 12762var ONREADYSTATECHANGE = 'onreadystatechange'; 12763var defer, channel, port; 12764var run = function () { 12765 var id = +this; 12766 // eslint-disable-next-line no-prototype-builtins 12767 if (queue.hasOwnProperty(id)) { 12768 var fn = queue[id]; 12769 delete queue[id]; 12770 fn(); 12771 } 12772}; 12773var listener = function (event) { 12774 run.call(event.data); 12775}; 12776// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 12777if (!setTask || !clearTask) { 12778 setTask = function setImmediate(fn) { 12779 var args = []; 12780 var i = 1; 12781 while (arguments.length > i) args.push(arguments[i++]); 12782 queue[++counter] = function () { 12783 // eslint-disable-next-line no-new-func 12784 invoke(typeof fn == 'function' ? fn : Function(fn), args); 12785 }; 12786 defer(counter); 12787 return counter; 12788 }; 12789 clearTask = function clearImmediate(id) { 12790 delete queue[id]; 12791 }; 12792 // Node.js 0.8- 12793 if (__webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process') { 12794 defer = function (id) { 12795 process.nextTick(ctx(run, id, 1)); 12796 }; 12797 // Sphere (JS game engine) Dispatch API 12798 } else if (Dispatch && Dispatch.now) { 12799 defer = function (id) { 12800 Dispatch.now(ctx(run, id, 1)); 12801 }; 12802 // Browsers with MessageChannel, includes WebWorkers 12803 } else if (MessageChannel) { 12804 channel = new MessageChannel(); 12805 port = channel.port2; 12806 channel.port1.onmessage = listener; 12807 defer = ctx(port.postMessage, port, 1); 12808 // Browsers with postMessage, skip WebWorkers 12809 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 12810 } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { 12811 defer = function (id) { 12812 global.postMessage(id + '', '*'); 12813 }; 12814 global.addEventListener('message', listener, false); 12815 // IE8- 12816 } else if (ONREADYSTATECHANGE in cel('script')) { 12817 defer = function (id) { 12818 html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { 12819 html.removeChild(this); 12820 run.call(id); 12821 }; 12822 }; 12823 // Rest old browsers 12824 } else { 12825 defer = function (id) { 12826 setTimeout(ctx(run, id, 1), 0); 12827 }; 12828 } 12829} 12830module.exports = { 12831 set: setTask, 12832 clear: clearTask 12833}; 12834 12835 12836/***/ }), 12837
vendor: 648 bytes, lines 12838-12855
12838/***/ "./node_modules/core-js/modules/_to-absolute-index.js": 12839/*!************************************************************!*\ 12840 !*** ./node_modules/core-js/modules/_to-absolute-index.js ***! 12841 \************************************************************/ 12842/*! no static exports found */ 12843/***/ (function(module, exports, __webpack_require__) { 12844 12845var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12846var max = Math.max; 12847var min = Math.min; 12848module.exports = function (index, length) { 12849 index = toInteger(index); 12850 return index < 0 ? max(index + length, 0) : min(index, length); 12851}; 12852 12853 12854/***/ }), 12855
vendor: 792 bytes, lines 12856-12876
12856/***/ "./node_modules/core-js/modules/_to-index.js": 12857/*!***************************************************!*\ 12858 !*** ./node_modules/core-js/modules/_to-index.js ***! 12859 \***************************************************/ 12860/*! no static exports found */ 12861/***/ (function(module, exports, __webpack_require__) { 12862 12863// https://tc39.github.io/ecma262/#sec-toindex 12864var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12865var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 12866module.exports = function (it) { 12867 if (it === undefined) return 0; 12868 var number = toInteger(it); 12869 var length = toLength(number); 12870 if (number !== length) throw RangeError('Wrong length!'); 12871 return length; 12872}; 12873 12874 12875/***/ }), 12876
vendor: 472 bytes, lines 12877-12893
12877/***/ "./node_modules/core-js/modules/_to-integer.js": 12878/*!*****************************************************!*\ 12879 !*** ./node_modules/core-js/modules/_to-integer.js ***! 12880 \*****************************************************/ 12881/*! no static exports found */ 12882/***/ (function(module, exports) { 12883 12884// 7.1.4 ToInteger 12885var ceil = Math.ceil; 12886var floor = Math.floor; 12887module.exports = function (it) { 12888 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); 12889}; 12890 12891 12892/***/ }), 12893
vendor: 673 bytes, lines 12894-12910
12894/***/ "./node_modules/core-js/modules/_to-iobject.js": 12895/*!*****************************************************!*\ 12896 !*** ./node_modules/core-js/modules/_to-iobject.js ***! 12897 \*****************************************************/ 12898/*! no static exports found */ 12899/***/ (function(module, exports, __webpack_require__) { 12900 12901// to indexed object, toObject with fallback for non-array-like ES3 strings 12902var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); 12903var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12904module.exports = function (it) { 12905 return IObject(defined(it)); 12906}; 12907 12908 12909/***/ }), 12910
vendor: 608 bytes, lines 12911-12927
12911/***/ "./node_modules/core-js/modules/_to-length.js": 12912/*!****************************************************!*\ 12913 !*** ./node_modules/core-js/modules/_to-length.js ***! 12914 \****************************************************/ 12915/*! no static exports found */ 12916/***/ (function(module, exports, __webpack_require__) { 12917 12918// 7.1.15 ToLength 12919var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12920var min = Math.min; 12921module.exports = function (it) { 12922 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 12923}; 12924 12925 12926/***/ }), 12927
vendor: 522 bytes, lines 12928-12943
12928/***/ "./node_modules/core-js/modules/_to-object.js": 12929/*!****************************************************!*\ 12930 !*** ./node_modules/core-js/modules/_to-object.js ***! 12931 \****************************************************/ 12932/*! no static exports found */ 12933/***/ (function(module, exports, __webpack_require__) { 12934 12935// 7.1.13 ToObject(argument) 12936var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); 12937module.exports = function (it) { 12938 return Object(defined(it)); 12939}; 12940 12941 12942/***/ }), 12943
vendor: 1,059 bytes, lines 12944-12966
12944/***/ "./node_modules/core-js/modules/_to-primitive.js": 12945/*!*******************************************************!*\ 12946 !*** ./node_modules/core-js/modules/_to-primitive.js ***! 12947 \*******************************************************/ 12948/*! no static exports found */ 12949/***/ (function(module, exports, __webpack_require__) { 12950 12951// 7.1.1 ToPrimitive(input [, PreferredType]) 12952var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 12953// instead of the ES6 spec version, we didn't implement @@toPrimitive case 12954// and the second argument - flag - preferred type is a string 12955module.exports = function (it, S) { 12956 if (!isObject(it)) return it; 12957 var fn, val; 12958 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 12959 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; 12960 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 12961 throw TypeError("Can't convert object to primitive value"); 12962}; 12963 12964 12965/***/ }), 12966
vendor: 21,164 bytes, lines 12967-13458
12967/***/ "./node_modules/core-js/modules/_typed-array.js": 12968/*!******************************************************!*\ 12969 !*** ./node_modules/core-js/modules/_typed-array.js ***! 12970 \******************************************************/ 12971/*! no static exports found */ 12972/***/ (function(module, exports, __webpack_require__) { 12973 12974"use strict"; 12975 12976if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js")) { 12977 var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); 12978 var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 12979 var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 12980 var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 12981 var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); 12982 var $buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); 12983 var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 12984 var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 12985 var propertyDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 12986 var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 12987 var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); 12988 var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 12989 var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 12990 var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); 12991 var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 12992 var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 12993 var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 12994 var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); 12995 var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 12996 var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 12997 var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); 12998 var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); 12999 var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 13000 var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; 13001 var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); 13002 var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); 13003 var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); 13004 var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); 13005 var createArrayIncludes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js"); 13006 var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); 13007 var ArrayIterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); 13008 var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 13009 var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); 13010 var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); 13011 var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); 13012 var arrayCopyWithin = __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js"); 13013 var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 13014 var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 13015 var dP = $DP.f; 13016 var gOPD = $GOPD.f; 13017 var RangeError = global.RangeError; 13018 var TypeError = global.TypeError; 13019 var Uint8Array = global.Uint8Array; 13020 var ARRAY_BUFFER = 'ArrayBuffer'; 13021 var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; 13022 var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; 13023 var PROTOTYPE = 'prototype'; 13024 var ArrayProto = Array[PROTOTYPE]; 13025 var $ArrayBuffer = $buffer.ArrayBuffer; 13026 var $DataView = $buffer.DataView; 13027 var arrayForEach = createArrayMethod(0); 13028 var arrayFilter = createArrayMethod(2); 13029 var arraySome = createArrayMethod(3); 13030 var arrayEvery = createArrayMethod(4); 13031 var arrayFind = createArrayMethod(5); 13032 var arrayFindIndex = createArrayMethod(6); 13033 var arrayIncludes = createArrayIncludes(true); 13034 var arrayIndexOf = createArrayIncludes(false); 13035 var arrayValues = ArrayIterators.values; 13036 var arrayKeys = ArrayIterators.keys; 13037 var arrayEntries = ArrayIterators.entries; 13038 var arrayLastIndexOf = ArrayProto.lastIndexOf; 13039 var arrayReduce = ArrayProto.reduce; 13040 var arrayReduceRight = ArrayProto.reduceRight; 13041 var arrayJoin = ArrayProto.join; 13042 var arraySort = ArrayProto.sort; 13043 var arraySlice = ArrayProto.slice; 13044 var arrayToString = ArrayProto.toString; 13045 var arrayToLocaleString = ArrayProto.toLocaleString; 13046 var ITERATOR = wks('iterator'); 13047 var TAG = wks('toStringTag'); 13048 var TYPED_CONSTRUCTOR = uid('typed_constructor'); 13049 var DEF_CONSTRUCTOR = uid('def_constructor'); 13050 var ALL_CONSTRUCTORS = $typed.CONSTR; 13051 var TYPED_ARRAY = $typed.TYPED; 13052 var VIEW = $typed.VIEW; 13053 var WRONG_LENGTH = 'Wrong length!'; 13054 13055 var $map = createArrayMethod(1, function (O, length) { 13056 return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); 13057 }); 13058 13059 var LITTLE_ENDIAN = fails(function () { 13060 // eslint-disable-next-line no-undef 13061 return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; 13062 }); 13063 13064 var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { 13065 new Uint8Array(1).set({}); 13066 }); 13067 13068 var toOffset = function (it, BYTES) { 13069 var offset = toInteger(it); 13070 if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); 13071 return offset; 13072 }; 13073 13074 var validate = function (it) { 13075 if (isObject(it) && TYPED_ARRAY in it) return it; 13076 throw TypeError(it + ' is not a typed array!'); 13077 }; 13078 13079 var allocate = function (C, length) { 13080 if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { 13081 throw TypeError('It is not a typed array constructor!'); 13082 } return new C(length); 13083 }; 13084 13085 var speciesFromList = function (O, list) { 13086 return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); 13087 }; 13088 13089 var fromList = function (C, list) { 13090 var index = 0; 13091 var length = list.length; 13092 var result = allocate(C, length); 13093 while (length > index) result[index] = list[index++]; 13094 return result; 13095 }; 13096 13097 var addGetter = function (it, key, internal) { 13098 dP(it, key, { get: function () { return this._d[internal]; } }); 13099 }; 13100 13101 var $from = function from(source /* , mapfn, thisArg */) { 13102 var O = toObject(source); 13103 var aLen = arguments.length; 13104 var mapfn = aLen > 1 ? arguments[1] : undefined; 13105 var mapping = mapfn !== undefined; 13106 var iterFn = getIterFn(O); 13107 var i, length, values, result, step, iterator; 13108 if (iterFn != undefined && !isArrayIter(iterFn)) { 13109 for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { 13110 values.push(step.value); 13111 } O = values; 13112 } 13113 if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); 13114 for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { 13115 result[i] = mapping ? mapfn(O[i], i) : O[i]; 13116 } 13117 return result; 13118 }; 13119 13120 var $of = function of(/* ...items */) { 13121 var index = 0; 13122 var length = arguments.length; 13123 var result = allocate(this, length); 13124 while (length > index) result[index] = arguments[index++]; 13125 return result; 13126 }; 13127 13128 // iOS Safari 6.x fails here 13129 var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); 13130 13131 var $toLocaleString = function toLocaleString() { 13132 return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); 13133 }; 13134 13135 var proto = { 13136 copyWithin: function copyWithin(target, start /* , end */) { 13137 return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); 13138 }, 13139 every: function every(callbackfn /* , thisArg */) { 13140 return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 13141 }, 13142 fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars 13143 return arrayFill.apply(validate(this), arguments); 13144 }, 13145 filter: function filter(callbackfn /* , thisArg */) { 13146 return speciesFromList(this, arrayFilter(validate(this), callbackfn, 13147 arguments.length > 1 ? arguments[1] : undefined)); 13148 }, 13149 find: function find(predicate /* , thisArg */) { 13150 return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 13151 }, 13152 findIndex: function findIndex(predicate /* , thisArg */) { 13153 return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 13154 }, 13155 forEach: function forEach(callbackfn /* , thisArg */) { 13156 arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 13157 }, 13158 indexOf: function indexOf(searchElement /* , fromIndex */) { 13159 return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 13160 }, 13161 includes: function includes(searchElement /* , fromIndex */) { 13162 return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 13163 }, 13164 join: function join(separator) { // eslint-disable-line no-unused-vars 13165 return arrayJoin.apply(validate(this), arguments); 13166 }, 13167 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars 13168 return arrayLastIndexOf.apply(validate(this), arguments); 13169 }, 13170 map: function map(mapfn /* , thisArg */) { 13171 return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); 13172 }, 13173 reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 13174 return arrayReduce.apply(validate(this), arguments); 13175 }, 13176 reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 13177 return arrayReduceRight.apply(validate(this), arguments); 13178 }, 13179 reverse: function reverse() { 13180 var that = this; 13181 var length = validate(that).length; 13182 var middle = Math.floor(length / 2); 13183 var index = 0; 13184 var value; 13185 while (index < middle) { 13186 value = that[index]; 13187 that[index++] = that[--length]; 13188 that[length] = value; 13189 } return that; 13190 }, 13191 some: function some(callbackfn /* , thisArg */) { 13192 return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 13193 }, 13194 sort: function sort(comparefn) { 13195 return arraySort.call(validate(this), comparefn); 13196 }, 13197 subarray: function subarray(begin, end) { 13198 var O = validate(this); 13199 var length = O.length; 13200 var $begin = toAbsoluteIndex(begin, length); 13201 return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( 13202 O.buffer, 13203 O.byteOffset + $begin * O.BYTES_PER_ELEMENT, 13204 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) 13205 ); 13206 } 13207 }; 13208 13209 var $slice = function slice(start, end) { 13210 return speciesFromList(this, arraySlice.call(validate(this), start, end)); 13211 }; 13212 13213 var $set = function set(arrayLike /* , offset */) { 13214 validate(this); 13215 var offset = toOffset(arguments[1], 1); 13216 var length = this.length; 13217 var src = toObject(arrayLike); 13218 var len = toLength(src.length); 13219 var index = 0; 13220 if (len + offset > length) throw RangeError(WRONG_LENGTH); 13221 while (index < len) this[offset + index] = src[index++]; 13222 }; 13223 13224 var $iterators = { 13225 entries: function entries() { 13226 return arrayEntries.call(validate(this)); 13227 }, 13228 keys: function keys() { 13229 return arrayKeys.call(validate(this)); 13230 }, 13231 values: function values() { 13232 return arrayValues.call(validate(this)); 13233 } 13234 }; 13235 13236 var isTAIndex = function (target, key) { 13237 return isObject(target) 13238 && target[TYPED_ARRAY] 13239 && typeof key != 'symbol' 13240 && key in target 13241 && String(+key) == String(key); 13242 }; 13243 var $getDesc = function getOwnPropertyDescriptor(target, key) { 13244 return isTAIndex(target, key = toPrimitive(key, true)) 13245 ? propertyDesc(2, target[key]) 13246 : gOPD(target, key); 13247 }; 13248 var $setDesc = function defineProperty(target, key, desc) { 13249 if (isTAIndex(target, key = toPrimitive(key, true)) 13250 && isObject(desc) 13251 && has(desc, 'value') 13252 && !has(desc, 'get') 13253 && !has(desc, 'set') 13254 // TODO: add validation descriptor w/o calling accessors 13255 && !desc.configurable 13256 && (!has(desc, 'writable') || desc.writable) 13257 && (!has(desc, 'enumerable') || desc.enumerable) 13258 ) { 13259 target[key] = desc.value; 13260 return target; 13261 } return dP(target, key, desc); 13262 }; 13263 13264 if (!ALL_CONSTRUCTORS) { 13265 $GOPD.f = $getDesc; 13266 $DP.f = $setDesc; 13267 } 13268 13269 $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { 13270 getOwnPropertyDescriptor: $getDesc, 13271 defineProperty: $setDesc 13272 }); 13273 13274 if (fails(function () { arrayToString.call({}); })) { 13275 arrayToString = arrayToLocaleString = function toString() { 13276 return arrayJoin.call(this); 13277 }; 13278 } 13279 13280 var $TypedArrayPrototype$ = redefineAll({}, proto); 13281 redefineAll($TypedArrayPrototype$, $iterators); 13282 hide($TypedArrayPrototype$, ITERATOR, $iterators.values); 13283 redefineAll($TypedArrayPrototype$, { 13284 slice: $slice, 13285 set: $set, 13286 constructor: function () { /* noop */ }, 13287 toString: arrayToString, 13288 toLocaleString: $toLocaleString 13289 }); 13290 addGetter($TypedArrayPrototype$, 'buffer', 'b'); 13291 addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); 13292 addGetter($TypedArrayPrototype$, 'byteLength', 'l'); 13293 addGetter($TypedArrayPrototype$, 'length', 'e'); 13294 dP($TypedArrayPrototype$, TAG, { 13295 get: function () { return this[TYPED_ARRAY]; } 13296 }); 13297 13298 // eslint-disable-next-line max-statements 13299 module.exports = function (KEY, BYTES, wrapper, CLAMPED) { 13300 CLAMPED = !!CLAMPED; 13301 var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; 13302 var GETTER = 'get' + KEY; 13303 var SETTER = 'set' + KEY; 13304 var TypedArray = global[NAME]; 13305 var Base = TypedArray || {}; 13306 var TAC = TypedArray && getPrototypeOf(TypedArray); 13307 var FORCED = !TypedArray || !$typed.ABV; 13308 var O = {}; 13309 var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; 13310 var getter = function (that, index) { 13311 var data = that._d; 13312 return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); 13313 }; 13314 var setter = function (that, index, value) { 13315 var data = that._d; 13316 if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; 13317 data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); 13318 }; 13319 var addElement = function (that, index) { 13320 dP(that, index, { 13321 get: function () { 13322 return getter(this, index); 13323 }, 13324 set: function (value) { 13325 return setter(this, index, value); 13326 }, 13327 enumerable: true 13328 }); 13329 }; 13330 if (FORCED) { 13331 TypedArray = wrapper(function (that, data, $offset, $length) { 13332 anInstance(that, TypedArray, NAME, '_d'); 13333 var index = 0; 13334 var offset = 0; 13335 var buffer, byteLength, length, klass; 13336 if (!isObject(data)) { 13337 length = toIndex(data); 13338 byteLength = length * BYTES; 13339 buffer = new $ArrayBuffer(byteLength); 13340 } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 13341 buffer = data; 13342 offset = toOffset($offset, BYTES); 13343 var $len = data.byteLength; 13344 if ($length === undefined) { 13345 if ($len % BYTES) throw RangeError(WRONG_LENGTH); 13346 byteLength = $len - offset; 13347 if (byteLength < 0) throw RangeError(WRONG_LENGTH); 13348 } else { 13349 byteLength = toLength($length) * BYTES; 13350 if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); 13351 } 13352 length = byteLength / BYTES; 13353 } else if (TYPED_ARRAY in data) { 13354 return fromList(TypedArray, data); 13355 } else { 13356 return $from.call(TypedArray, data); 13357 } 13358 hide(that, '_d', { 13359 b: buffer, 13360 o: offset, 13361 l: byteLength, 13362 e: length, 13363 v: new $DataView(buffer) 13364 }); 13365 while (index < length) addElement(that, index++); 13366 }); 13367 TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); 13368 hide(TypedArrayPrototype, 'constructor', TypedArray); 13369 } else if (!fails(function () { 13370 TypedArray(1); 13371 }) || !fails(function () { 13372 new TypedArray(-1); // eslint-disable-line no-new 13373 }) || !$iterDetect(function (iter) { 13374 new TypedArray(); // eslint-disable-line no-new 13375 new TypedArray(null); // eslint-disable-line no-new 13376 new TypedArray(1.5); // eslint-disable-line no-new 13377 new TypedArray(iter); // eslint-disable-line no-new 13378 }, true)) { 13379 TypedArray = wrapper(function (that, data, $offset, $length) { 13380 anInstance(that, TypedArray, NAME); 13381 var klass; 13382 // `ws` module bug, temporarily remove validation length for Uint8Array 13383 // https://github.com/websockets/ws/pull/645 13384 if (!isObject(data)) return new Base(toIndex(data)); 13385 if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 13386 return $length !== undefined 13387 ? new Base(data, toOffset($offset, BYTES), $length) 13388 : $offset !== undefined 13389 ? new Base(data, toOffset($offset, BYTES)) 13390 : new Base(data); 13391 } 13392 if (TYPED_ARRAY in data) return fromList(TypedArray, data); 13393 return $from.call(TypedArray, data); 13394 }); 13395 arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { 13396 if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); 13397 }); 13398 TypedArray[PROTOTYPE] = TypedArrayPrototype; 13399 if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; 13400 } 13401 var $nativeIterator = TypedArrayPrototype[ITERATOR]; 13402 var CORRECT_ITER_NAME = !!$nativeIterator 13403 && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); 13404 var $iterator = $iterators.values; 13405 hide(TypedArray, TYPED_CONSTRUCTOR, true); 13406 hide(TypedArrayPrototype, TYPED_ARRAY, NAME); 13407 hide(TypedArrayPrototype, VIEW, true); 13408 hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); 13409 13410 if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { 13411 dP(TypedArrayPrototype, TAG, { 13412 get: function () { return NAME; } 13413 }); 13414 } 13415 13416 O[NAME] = TypedArray; 13417 13418 $export($export.G + $export.W + $export.F * (TypedArray != Base), O); 13419 13420 $export($export.S, NAME, { 13421 BYTES_PER_ELEMENT: BYTES 13422 }); 13423 13424 $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { 13425 from: $from, 13426 of: $of 13427 }); 13428 13429 if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); 13430 13431 $export($export.P, NAME, proto); 13432 13433 setSpecies(NAME); 13434 13435 $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); 13436 13437 $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); 13438 13439 if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; 13440 13441 $export($export.P + $export.F * fails(function () { 13442 new TypedArray(1).slice(); 13443 }), NAME, { slice: $slice }); 13444 13445 $export($export.P + $export.F * (fails(function () { 13446 return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); 13447 }) || !fails(function () { 13448 TypedArrayPrototype.toLocaleString.call([1, 2]); 13449 })), NAME, { toLocaleString: $toLocaleString }); 13450 13451 Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; 13452 if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); 13453 }; 13454} else module.exports = function () { /* empty */ }; 13455 13456 13457/***/ }), 13458
vendor: 10,780 bytes, lines 13459-13746
13459/***/ "./node_modules/core-js/modules/_typed-buffer.js": 13460/*!*******************************************************!*\ 13461 !*** ./node_modules/core-js/modules/_typed-buffer.js ***! 13462 \*******************************************************/ 13463/*! no static exports found */ 13464/***/ (function(module, exports, __webpack_require__) { 13465 13466"use strict"; 13467 13468var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 13469var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 13470var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); 13471var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); 13472var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 13473var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); 13474var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 13475var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 13476var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 13477var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 13478var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); 13479var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; 13480var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 13481var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); 13482var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); 13483var ARRAY_BUFFER = 'ArrayBuffer'; 13484var DATA_VIEW = 'DataView'; 13485var PROTOTYPE = 'prototype'; 13486var WRONG_LENGTH = 'Wrong length!'; 13487var WRONG_INDEX = 'Wrong index!'; 13488var $ArrayBuffer = global[ARRAY_BUFFER]; 13489var $DataView = global[DATA_VIEW]; 13490var Math = global.Math; 13491var RangeError = global.RangeError; 13492// eslint-disable-next-line no-shadow-restricted-names 13493var Infinity = global.Infinity; 13494var BaseBuffer = $ArrayBuffer; 13495var abs = Math.abs; 13496var pow = Math.pow; 13497var floor = Math.floor; 13498var log = Math.log; 13499var LN2 = Math.LN2; 13500var BUFFER = 'buffer'; 13501var BYTE_LENGTH = 'byteLength'; 13502var BYTE_OFFSET = 'byteOffset'; 13503var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; 13504var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; 13505var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; 13506 13507// IEEE754 conversions based on https://github.com/feross/ieee754 13508function packIEEE754(value, mLen, nBytes) { 13509 var buffer = new Array(nBytes); 13510 var eLen = nBytes * 8 - mLen - 1; 13511 var eMax = (1 << eLen) - 1; 13512 var eBias = eMax >> 1; 13513 var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; 13514 var i = 0; 13515 var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; 13516 var e, m, c; 13517 value = abs(value); 13518 // eslint-disable-next-line no-self-compare 13519 if (value != value || value === Infinity) { 13520 // eslint-disable-next-line no-self-compare 13521 m = value != value ? 1 : 0; 13522 e = eMax; 13523 } else { 13524 e = floor(log(value) / LN2); 13525 if (value * (c = pow(2, -e)) < 1) { 13526 e--; 13527 c *= 2; 13528 } 13529 if (e + eBias >= 1) { 13530 value += rt / c; 13531 } else { 13532 value += rt * pow(2, 1 - eBias); 13533 } 13534 if (value * c >= 2) { 13535 e++; 13536 c /= 2; 13537 } 13538 if (e + eBias >= eMax) { 13539 m = 0; 13540 e = eMax; 13541 } else if (e + eBias >= 1) { 13542 m = (value * c - 1) * pow(2, mLen); 13543 e = e + eBias; 13544 } else { 13545 m = value * pow(2, eBias - 1) * pow(2, mLen); 13546 e = 0; 13547 } 13548 } 13549 for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); 13550 e = e << mLen | m; 13551 eLen += mLen; 13552 for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); 13553 buffer[--i] |= s * 128; 13554 return buffer; 13555} 13556function unpackIEEE754(buffer, mLen, nBytes) { 13557 var eLen = nBytes * 8 - mLen - 1; 13558 var eMax = (1 << eLen) - 1; 13559 var eBias = eMax >> 1; 13560 var nBits = eLen - 7; 13561 var i = nBytes - 1; 13562 var s = buffer[i--]; 13563 var e = s & 127; 13564 var m; 13565 s >>= 7; 13566 for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); 13567 m = e & (1 << -nBits) - 1; 13568 e >>= -nBits; 13569 nBits += mLen; 13570 for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); 13571 if (e === 0) { 13572 e = 1 - eBias; 13573 } else if (e === eMax) { 13574 return m ? NaN : s ? -Infinity : Infinity; 13575 } else { 13576 m = m + pow(2, mLen); 13577 e = e - eBias; 13578 } return (s ? -1 : 1) * m * pow(2, e - mLen); 13579} 13580 13581function unpackI32(bytes) { 13582 return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; 13583} 13584function packI8(it) { 13585 return [it & 0xff]; 13586} 13587function packI16(it) { 13588 return [it & 0xff, it >> 8 & 0xff]; 13589} 13590function packI32(it) { 13591 return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; 13592} 13593function packF64(it) { 13594 return packIEEE754(it, 52, 8); 13595} 13596function packF32(it) { 13597 return packIEEE754(it, 23, 4); 13598} 13599 13600function addGetter(C, key, internal) { 13601 dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); 13602} 13603 13604function get(view, bytes, index, isLittleEndian) { 13605 var numIndex = +index; 13606 var intIndex = toIndex(numIndex); 13607 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); 13608 var store = view[$BUFFER]._b; 13609 var start = intIndex + view[$OFFSET]; 13610 var pack = store.slice(start, start + bytes); 13611 return isLittleEndian ? pack : pack.reverse(); 13612} 13613function set(view, bytes, index, conversion, value, isLittleEndian) { 13614 var numIndex = +index; 13615 var intIndex = toIndex(numIndex); 13616 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); 13617 var store = view[$BUFFER]._b; 13618 var start = intIndex + view[$OFFSET]; 13619 var pack = conversion(+value); 13620 for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; 13621} 13622 13623if (!$typed.ABV) { 13624 $ArrayBuffer = function ArrayBuffer(length) { 13625 anInstance(this, $ArrayBuffer, ARRAY_BUFFER); 13626 var byteLength = toIndex(length); 13627 this._b = arrayFill.call(new Array(byteLength), 0); 13628 this[$LENGTH] = byteLength; 13629 }; 13630 13631 $DataView = function DataView(buffer, byteOffset, byteLength) { 13632 anInstance(this, $DataView, DATA_VIEW); 13633 anInstance(buffer, $ArrayBuffer, DATA_VIEW); 13634 var bufferLength = buffer[$LENGTH]; 13635 var offset = toInteger(byteOffset); 13636 if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); 13637 byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); 13638 if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); 13639 this[$BUFFER] = buffer; 13640 this[$OFFSET] = offset; 13641 this[$LENGTH] = byteLength; 13642 }; 13643 13644 if (DESCRIPTORS) { 13645 addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); 13646 addGetter($DataView, BUFFER, '_b'); 13647 addGetter($DataView, BYTE_LENGTH, '_l'); 13648 addGetter($DataView, BYTE_OFFSET, '_o'); 13649 } 13650 13651 redefineAll($DataView[PROTOTYPE], { 13652 getInt8: function getInt8(byteOffset) { 13653 return get(this, 1, byteOffset)[0] << 24 >> 24; 13654 }, 13655 getUint8: function getUint8(byteOffset) { 13656 return get(this, 1, byteOffset)[0]; 13657 }, 13658 getInt16: function getInt16(byteOffset /* , littleEndian */) { 13659 var bytes = get(this, 2, byteOffset, arguments[1]); 13660 return (bytes[1] << 8 | bytes[0]) << 16 >> 16; 13661 }, 13662 getUint16: function getUint16(byteOffset /* , littleEndian */) { 13663 var bytes = get(this, 2, byteOffset, arguments[1]); 13664 return bytes[1] << 8 | bytes[0]; 13665 }, 13666 getInt32: function getInt32(byteOffset /* , littleEndian */) { 13667 return unpackI32(get(this, 4, byteOffset, arguments[1])); 13668 }, 13669 getUint32: function getUint32(byteOffset /* , littleEndian */) { 13670 return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; 13671 }, 13672 getFloat32: function getFloat32(byteOffset /* , littleEndian */) { 13673 return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); 13674 }, 13675 getFloat64: function getFloat64(byteOffset /* , littleEndian */) { 13676 return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); 13677 }, 13678 setInt8: function setInt8(byteOffset, value) { 13679 set(this, 1, byteOffset, packI8, value); 13680 }, 13681 setUint8: function setUint8(byteOffset, value) { 13682 set(this, 1, byteOffset, packI8, value); 13683 }, 13684 setInt16: function setInt16(byteOffset, value /* , littleEndian */) { 13685 set(this, 2, byteOffset, packI16, value, arguments[2]); 13686 }, 13687 setUint16: function setUint16(byteOffset, value /* , littleEndian */) { 13688 set(this, 2, byteOffset, packI16, value, arguments[2]); 13689 }, 13690 setInt32: function setInt32(byteOffset, value /* , littleEndian */) { 13691 set(this, 4, byteOffset, packI32, value, arguments[2]); 13692 }, 13693 setUint32: function setUint32(byteOffset, value /* , littleEndian */) { 13694 set(this, 4, byteOffset, packI32, value, arguments[2]); 13695 }, 13696 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { 13697 set(this, 4, byteOffset, packF32, value, arguments[2]); 13698 }, 13699 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { 13700 set(this, 8, byteOffset, packF64, value, arguments[2]); 13701 } 13702 }); 13703} else { 13704 if (!fails(function () { 13705 $ArrayBuffer(1); 13706 }) || !fails(function () { 13707 new $ArrayBuffer(-1); // eslint-disable-line no-new 13708 }) || fails(function () { 13709 new $ArrayBuffer(); // eslint-disable-line no-new 13710 new $ArrayBuffer(1.5); // eslint-disable-line no-new 13711 new $ArrayBuffer(NaN); // eslint-disable-line no-new 13712 return $ArrayBuffer.name != ARRAY_BUFFER; 13713 })) { 13714 $ArrayBuffer = function ArrayBuffer(length) { 13715 anInstance(this, $ArrayBuffer); 13716 return new BaseBuffer(toIndex(length)); 13717 }; 13718 var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; 13719 for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { 13720 if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); 13721 } 13722 if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; 13723 } 13724 // iOS Safari 7.x bug 13725 var view = new $DataView(new $ArrayBuffer(2)); 13726 var $setInt8 = $DataView[PROTOTYPE].setInt8; 13727 view.setInt8(0, 2147483648); 13728 view.setInt8(1, 2147483649); 13729 if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { 13730 setInt8: function setInt8(byteOffset, value) { 13731 $setInt8.call(this, byteOffset, value << 24 >> 24); 13732 }, 13733 setUint8: function setUint8(byteOffset, value) { 13734 $setInt8.call(this, byteOffset, value << 24 >> 24); 13735 } 13736 }, true); 13737} 13738setToStringTag($ArrayBuffer, ARRAY_BUFFER); 13739setToStringTag($DataView, DATA_VIEW); 13740hide($DataView[PROTOTYPE], $typed.VIEW, true); 13741exports[ARRAY_BUFFER] = $ArrayBuffer; 13742exports[DATA_VIEW] = $DataView; 13743 13744 13745/***/ }), 13746
vendor: 1,164 bytes, lines 13747-13785
13747/***/ "./node_modules/core-js/modules/_typed.js": 13748/*!************************************************!*\ 13749 !*** ./node_modules/core-js/modules/_typed.js ***! 13750 \************************************************/ 13751/*! no static exports found */ 13752/***/ (function(module, exports, __webpack_require__) { 13753 13754var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 13755var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 13756var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); 13757var TYPED = uid('typed_array'); 13758var VIEW = uid('view'); 13759var ABV = !!(global.ArrayBuffer && global.DataView); 13760var CONSTR = ABV; 13761var i = 0; 13762var l = 9; 13763var Typed; 13764 13765var TypedArrayConstructors = ( 13766 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' 13767).split(','); 13768 13769while (i < l) { 13770 if (Typed = global[TypedArrayConstructors[i++]]) { 13771 hide(Typed.prototype, TYPED, true); 13772 hide(Typed.prototype, VIEW, true); 13773 } else CONSTR = false; 13774} 13775 13776module.exports = { 13777 ABV: ABV, 13778 CONSTR: CONSTR, 13779 TYPED: TYPED, 13780 VIEW: VIEW 13781}; 13782 13783 13784/***/ }), 13785
vendor: 445 bytes, lines 13786-13801
13786/***/ "./node_modules/core-js/modules/_uid.js": 13787/*!**********************************************!*\ 13788 !*** ./node_modules/core-js/modules/_uid.js ***! 13789 \**********************************************/ 13790/*! no static exports found */ 13791/***/ (function(module, exports) { 13792 13793var id = 0; 13794var px = Math.random(); 13795module.exports = function (key) { 13796 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); 13797}; 13798 13799 13800/***/ }), 13801
vendor: 520 bytes, lines 13802-13816
13802/***/ "./node_modules/core-js/modules/_user-agent.js": 13803/*!*****************************************************!*\ 13804 !*** ./node_modules/core-js/modules/_user-agent.js ***! 13805 \*****************************************************/ 13806/*! no static exports found */ 13807/***/ (function(module, exports, __webpack_require__) { 13808 13809var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 13810var navigator = global.navigator; 13811 13812module.exports = navigator && navigator.userAgent || ''; 13813 13814 13815/***/ }), 13816
vendor: 632 bytes, lines 13817-13832
13817/***/ "./node_modules/core-js/modules/_validate-collection.js": 13818/*!**************************************************************!*\ 13819 !*** ./node_modules/core-js/modules/_validate-collection.js ***! 13820 \**************************************************************/ 13821/*! no static exports found */ 13822/***/ (function(module, exports, __webpack_require__) { 13823 13824var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 13825module.exports = function (it, TYPE) { 13826 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); 13827 return it; 13828}; 13829 13830 13831/***/ }), 13832
vendor: 1,057 bytes, lines 13833-13852
13833/***/ "./node_modules/core-js/modules/_wks-define.js": 13834/*!*****************************************************!*\ 13835 !*** ./node_modules/core-js/modules/_wks-define.js ***! 13836 \*****************************************************/ 13837/*! no static exports found */ 13838/***/ (function(module, exports, __webpack_require__) { 13839 13840var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 13841var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); 13842var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); 13843var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); 13844var defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 13845module.exports = function (name) { 13846 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); 13847 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); 13848}; 13849 13850 13851/***/ }), 13852
vendor: 409 bytes, lines 13853-13864
13853/***/ "./node_modules/core-js/modules/_wks-ext.js": 13854/*!**************************************************!*\ 13855 !*** ./node_modules/core-js/modules/_wks-ext.js ***! 13856 \**************************************************/ 13857/*! no static exports found */ 13858/***/ (function(module, exports, __webpack_require__) { 13859 13860exports.f = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); 13861 13862 13863/***/ }), 13864
vendor: 842 bytes, lines 13865-13886
13865/***/ "./node_modules/core-js/modules/_wks.js": 13866/*!**********************************************!*\ 13867 !*** ./node_modules/core-js/modules/_wks.js ***! 13868 \**********************************************/ 13869/*! no static exports found */ 13870/***/ (function(module, exports, __webpack_require__) { 13871 13872var store = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('wks'); 13873var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); 13874var Symbol = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Symbol; 13875var USE_SYMBOL = typeof Symbol == 'function'; 13876 13877var $exports = module.exports = function (name) { 13878 return store[name] || (store[name] = 13879 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); 13880}; 13881 13882$exports.store = store; 13883 13884 13885/***/ }), 13886
vendor: 924 bytes, lines 13887-13905
13887/***/ "./node_modules/core-js/modules/core.get-iterator-method.js": 13888/*!******************************************************************!*\ 13889 !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***! 13890 \******************************************************************/ 13891/*! no static exports found */ 13892/***/ (function(module, exports, __webpack_require__) { 13893 13894var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); 13895var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); 13896var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 13897module.exports = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").getIteratorMethod = function (it) { 13898 if (it != undefined) return it[ITERATOR] 13899 || it['@@iterator'] 13900 || Iterators[classof(it)]; 13901}; 13902 13903 13904/***/ }), 13905
vendor: 815 bytes, lines 13906-13922
13906/***/ "./node_modules/core-js/modules/es6.array.copy-within.js": 13907/*!***************************************************************!*\ 13908 !*** ./node_modules/core-js/modules/es6.array.copy-within.js ***! 13909 \***************************************************************/ 13910/*! no static exports found */ 13911/***/ (function(module, exports, __webpack_require__) { 13912 13913// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 13914var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 13915 13916$export($export.P, 'Array', { copyWithin: __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js") }); 13917 13918__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('copyWithin'); 13919 13920 13921/***/ }), 13922
vendor: 916 bytes, lines 13923-13944
13923/***/ "./node_modules/core-js/modules/es6.array.every.js": 13924/*!*********************************************************!*\ 13925 !*** ./node_modules/core-js/modules/es6.array.every.js ***! 13926 \*********************************************************/ 13927/*! no static exports found */ 13928/***/ (function(module, exports, __webpack_require__) { 13929 13930"use strict"; 13931 13932var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 13933var $every = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(4); 13934 13935$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].every, true), 'Array', { 13936 // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) 13937 every: function every(callbackfn /* , thisArg */) { 13938 return $every(this, callbackfn, arguments[1]); 13939 } 13940}); 13941 13942 13943/***/ }), 13944
vendor: 758 bytes, lines 13945-13961
13945/***/ "./node_modules/core-js/modules/es6.array.fill.js": 13946/*!********************************************************!*\ 13947 !*** ./node_modules/core-js/modules/es6.array.fill.js ***! 13948 \********************************************************/ 13949/*! no static exports found */ 13950/***/ (function(module, exports, __webpack_require__) { 13951 13952// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 13953var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 13954 13955$export($export.P, 'Array', { fill: __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js") }); 13956 13957__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('fill'); 13958 13959 13960/***/ }), 13961
vendor: 926 bytes, lines 13962-13983
13962/***/ "./node_modules/core-js/modules/es6.array.filter.js": 13963/*!**********************************************************!*\ 13964 !*** ./node_modules/core-js/modules/es6.array.filter.js ***! 13965 \**********************************************************/ 13966/*! no static exports found */ 13967/***/ (function(module, exports, __webpack_require__) { 13968 13969"use strict"; 13970 13971var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 13972var $filter = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(2); 13973 13974$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { 13975 // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) 13976 filter: function filter(callbackfn /* , thisArg */) { 13977 return $filter(this, callbackfn, arguments[1]); 13978 } 13979}); 13980 13981 13982/***/ }), 13983
vendor: 1,118 bytes, lines 13984-14009
13984/***/ "./node_modules/core-js/modules/es6.array.find-index.js": 13985/*!**************************************************************!*\ 13986 !*** ./node_modules/core-js/modules/es6.array.find-index.js ***! 13987 \**************************************************************/ 13988/*! no static exports found */ 13989/***/ (function(module, exports, __webpack_require__) { 13990 13991"use strict"; 13992 13993// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) 13994var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 13995var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(6); 13996var KEY = 'findIndex'; 13997var forced = true; 13998// Shouldn't skip holes 13999if (KEY in []) Array(1)[KEY](function () { forced = false; }); 14000$export($export.P + $export.F * forced, 'Array', { 14001 findIndex: function findIndex(callbackfn /* , that = undefined */) { 14002 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 14003 } 14004}); 14005__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); 14006 14007 14008/***/ }), 14009
vendor: 1,074 bytes, lines 14010-14035
14010/***/ "./node_modules/core-js/modules/es6.array.find.js": 14011/*!********************************************************!*\ 14012 !*** ./node_modules/core-js/modules/es6.array.find.js ***! 14013 \********************************************************/ 14014/*! no static exports found */ 14015/***/ (function(module, exports, __webpack_require__) { 14016 14017"use strict"; 14018 14019// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) 14020var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14021var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(5); 14022var KEY = 'find'; 14023var forced = true; 14024// Shouldn't skip holes 14025if (KEY in []) Array(1)[KEY](function () { forced = false; }); 14026$export($export.P + $export.F * forced, 'Array', { 14027 find: function find(callbackfn /* , that = undefined */) { 14028 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 14029 } 14030}); 14031__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); 14032 14033 14034/***/ }), 14035
vendor: 962 bytes, lines 14036-14058
14036/***/ "./node_modules/core-js/modules/es6.array.for-each.js": 14037/*!************************************************************!*\ 14038 !*** ./node_modules/core-js/modules/es6.array.for-each.js ***! 14039 \************************************************************/ 14040/*! no static exports found */ 14041/***/ (function(module, exports, __webpack_require__) { 14042 14043"use strict"; 14044 14045var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14046var $forEach = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); 14047var STRICT = __webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].forEach, true); 14048 14049$export($export.P + $export.F * !STRICT, 'Array', { 14050 // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) 14051 forEach: function forEach(callbackfn /* , thisArg */) { 14052 return $forEach(this, callbackfn, arguments[1]); 14053 } 14054}); 14055 14056 14057/***/ }), 14058
vendor: 2,573 bytes, lines 14059-14107
14059/***/ "./node_modules/core-js/modules/es6.array.from.js": 14060/*!********************************************************!*\ 14061 !*** ./node_modules/core-js/modules/es6.array.from.js ***! 14062 \********************************************************/ 14063/*! no static exports found */ 14064/***/ (function(module, exports, __webpack_require__) { 14065 14066"use strict"; 14067 14068var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 14069var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14070var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 14071var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); 14072var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); 14073var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 14074var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); 14075var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); 14076 14077$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { 14078 // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) 14079 from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { 14080 var O = toObject(arrayLike); 14081 var C = typeof this == 'function' ? this : Array; 14082 var aLen = arguments.length; 14083 var mapfn = aLen > 1 ? arguments[1] : undefined; 14084 var mapping = mapfn !== undefined; 14085 var index = 0; 14086 var iterFn = getIterFn(O); 14087 var length, result, step, iterator; 14088 if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); 14089 // if object isn't iterable or it's array with default iterator - use simple case 14090 if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { 14091 for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { 14092 createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); 14093 } 14094 } else { 14095 length = toLength(O.length); 14096 for (result = new C(length); length > index; index++) { 14097 createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); 14098 } 14099 } 14100 result.length = index; 14101 return result; 14102 } 14103}); 14104 14105 14106/***/ }), 14107
vendor: 1,153 bytes, lines 14108-14134
14108/***/ "./node_modules/core-js/modules/es6.array.index-of.js": 14109/*!************************************************************!*\ 14110 !*** ./node_modules/core-js/modules/es6.array.index-of.js ***! 14111 \************************************************************/ 14112/*! no static exports found */ 14113/***/ (function(module, exports, __webpack_require__) { 14114 14115"use strict"; 14116 14117var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14118var $indexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); 14119var $native = [].indexOf; 14120var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; 14121 14122$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { 14123 // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) 14124 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { 14125 return NEGATIVE_ZERO 14126 // convert -0 to +0 14127 ? $native.apply(this, arguments) || 0 14128 : $indexOf(this, searchElement, arguments[1]); 14129 } 14130}); 14131 14132 14133/***/ }), 14134
vendor: 629 bytes, lines 14135-14149
14135/***/ "./node_modules/core-js/modules/es6.array.is-array.js": 14136/*!************************************************************!*\ 14137 !*** ./node_modules/core-js/modules/es6.array.is-array.js ***! 14138 \************************************************************/ 14139/*! no static exports found */ 14140/***/ (function(module, exports, __webpack_require__) { 14141 14142// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) 14143var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14144 14145$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js") }); 14146 14147 14148/***/ }), 14149
vendor: 1,809 bytes, lines 14150-14195
14150/***/ "./node_modules/core-js/modules/es6.array.iterator.js": 14151/*!************************************************************!*\ 14152 !*** ./node_modules/core-js/modules/es6.array.iterator.js ***! 14153 \************************************************************/ 14154/*! no static exports found */ 14155/***/ (function(module, exports, __webpack_require__) { 14156 14157"use strict"; 14158 14159var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js"); 14160var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); 14161var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 14162var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 14163 14164// 22.1.3.4 Array.prototype.entries() 14165// 22.1.3.13 Array.prototype.keys() 14166// 22.1.3.29 Array.prototype.values() 14167// 22.1.3.30 Array.prototype[@@iterator]() 14168module.exports = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { 14169 this._t = toIObject(iterated); // target 14170 this._i = 0; // next index 14171 this._k = kind; // kind 14172// 22.1.5.2.1 %ArrayIteratorPrototype%.next() 14173}, function () { 14174 var O = this._t; 14175 var kind = this._k; 14176 var index = this._i++; 14177 if (!O || index >= O.length) { 14178 this._t = undefined; 14179 return step(1); 14180 } 14181 if (kind == 'keys') return step(0, index); 14182 if (kind == 'values') return step(0, O[index]); 14183 return step(0, [index, O[index]]); 14184}, 'values'); 14185 14186// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) 14187Iterators.Arguments = Iterators.Array; 14188 14189addToUnscopables('keys'); 14190addToUnscopables('values'); 14191addToUnscopables('entries'); 14192 14193 14194/***/ }), 14195
vendor: 1,054 bytes, lines 14196-14219
14196/***/ "./node_modules/core-js/modules/es6.array.join.js": 14197/*!********************************************************!*\ 14198 !*** ./node_modules/core-js/modules/es6.array.join.js ***! 14199 \********************************************************/ 14200/*! no static exports found */ 14201/***/ (function(module, exports, __webpack_require__) { 14202 14203"use strict"; 14204 14205// 22.1.3.13 Array.prototype.join(separator) 14206var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14207var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 14208var arrayJoin = [].join; 14209 14210// fallback for not array-like strings 14211$export($export.P + $export.F * (__webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js") != Object || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")(arrayJoin)), 'Array', { 14212 join: function join(separator) { 14213 return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); 14214 } 14215}); 14216 14217 14218/***/ }), 14219
vendor: 1,668 bytes, lines 14220-14253
14220/***/ "./node_modules/core-js/modules/es6.array.last-index-of.js": 14221/*!*****************************************************************!*\ 14222 !*** ./node_modules/core-js/modules/es6.array.last-index-of.js ***! 14223 \*****************************************************************/ 14224/*! no static exports found */ 14225/***/ (function(module, exports, __webpack_require__) { 14226 14227"use strict"; 14228 14229var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14230var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 14231var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 14232var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 14233var $native = [].lastIndexOf; 14234var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; 14235 14236$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { 14237 // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) 14238 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { 14239 // convert -0 to +0 14240 if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; 14241 var O = toIObject(this); 14242 var length = toLength(O.length); 14243 var index = length - 1; 14244 if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); 14245 if (index < 0) index = length + index; 14246 for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; 14247 return -1; 14248 } 14249}); 14250 14251 14252/***/ }), 14253
vendor: 897 bytes, lines 14254-14275
14254/***/ "./node_modules/core-js/modules/es6.array.map.js": 14255/*!*******************************************************!*\ 14256 !*** ./node_modules/core-js/modules/es6.array.map.js ***! 14257 \*******************************************************/ 14258/*! no static exports found */ 14259/***/ (function(module, exports, __webpack_require__) { 14260 14261"use strict"; 14262 14263var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14264var $map = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(1); 14265 14266$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].map, true), 'Array', { 14267 // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) 14268 map: function map(callbackfn /* , thisArg */) { 14269 return $map(this, callbackfn, arguments[1]); 14270 } 14271}); 14272 14273 14274/***/ }), 14275
vendor: 1,140 bytes, lines 14276-14306
14276/***/ "./node_modules/core-js/modules/es6.array.of.js": 14277/*!******************************************************!*\ 14278 !*** ./node_modules/core-js/modules/es6.array.of.js ***! 14279 \******************************************************/ 14280/*! no static exports found */ 14281/***/ (function(module, exports, __webpack_require__) { 14282 14283"use strict"; 14284 14285var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14286var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); 14287 14288// WebKit Array.of isn't generic 14289$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 14290 function F() { /* empty */ } 14291 return !(Array.of.call(F) instanceof F); 14292}), 'Array', { 14293 // 22.1.2.3 Array.of( ...items) 14294 of: function of(/* ...args */) { 14295 var index = 0; 14296 var aLen = arguments.length; 14297 var result = new (typeof this == 'function' ? this : Array)(aLen); 14298 while (aLen > index) createProperty(result, index, arguments[index++]); 14299 result.length = aLen; 14300 return result; 14301 } 14302}); 14303 14304 14305/***/ }), 14306
vendor: 1,000 bytes, lines 14307-14328
14307/***/ "./node_modules/core-js/modules/es6.array.reduce-right.js": 14308/*!****************************************************************!*\ 14309 !*** ./node_modules/core-js/modules/es6.array.reduce-right.js ***! 14310 \****************************************************************/ 14311/*! no static exports found */ 14312/***/ (function(module, exports, __webpack_require__) { 14313 14314"use strict"; 14315 14316var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14317var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); 14318 14319$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduceRight, true), 'Array', { 14320 // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) 14321 reduceRight: function reduceRight(callbackfn /* , initialValue */) { 14322 return $reduce(this, callbackfn, arguments.length, arguments[1], true); 14323 } 14324}); 14325 14326 14327/***/ }), 14328
vendor: 957 bytes, lines 14329-14350
14329/***/ "./node_modules/core-js/modules/es6.array.reduce.js": 14330/*!**********************************************************!*\ 14331 !*** ./node_modules/core-js/modules/es6.array.reduce.js ***! 14332 \**********************************************************/ 14333/*! no static exports found */ 14334/***/ (function(module, exports, __webpack_require__) { 14335 14336"use strict"; 14337 14338var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14339var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); 14340 14341$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduce, true), 'Array', { 14342 // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) 14343 reduce: function reduce(callbackfn /* , initialValue */) { 14344 return $reduce(this, callbackfn, arguments.length, arguments[1], false); 14345 } 14346}); 14347 14348 14349/***/ }), 14350
vendor: 1,656 bytes, lines 14351-14390
14351/***/ "./node_modules/core-js/modules/es6.array.slice.js": 14352/*!*********************************************************!*\ 14353 !*** ./node_modules/core-js/modules/es6.array.slice.js ***! 14354 \*********************************************************/ 14355/*! no static exports found */ 14356/***/ (function(module, exports, __webpack_require__) { 14357 14358"use strict"; 14359 14360var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14361var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); 14362var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 14363var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 14364var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 14365var arraySlice = [].slice; 14366 14367// fallback for not array-like ES3 strings and DOM objects 14368$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 14369 if (html) arraySlice.call(html); 14370}), 'Array', { 14371 slice: function slice(begin, end) { 14372 var len = toLength(this.length); 14373 var klass = cof(this); 14374 end = end === undefined ? len : end; 14375 if (klass == 'Array') return arraySlice.call(this, begin, end); 14376 var start = toAbsoluteIndex(begin, len); 14377 var upTo = toAbsoluteIndex(end, len); 14378 var size = toLength(upTo - start); 14379 var cloned = new Array(size); 14380 var i = 0; 14381 for (; i < size; i++) cloned[i] = klass == 'String' 14382 ? this.charAt(start + i) 14383 : this[start + i]; 14384 return cloned; 14385 } 14386}); 14387 14388 14389/***/ }), 14390
vendor: 907 bytes, lines 14391-14412
14391/***/ "./node_modules/core-js/modules/es6.array.some.js": 14392/*!********************************************************!*\ 14393 !*** ./node_modules/core-js/modules/es6.array.some.js ***! 14394 \********************************************************/ 14395/*! no static exports found */ 14396/***/ (function(module, exports, __webpack_require__) { 14397 14398"use strict"; 14399 14400var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14401var $some = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(3); 14402 14403$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].some, true), 'Array', { 14404 // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) 14405 some: function some(callbackfn /* , thisArg */) { 14406 return $some(this, callbackfn, arguments[1]); 14407 } 14408}); 14409 14410 14411/***/ }), 14412
vendor: 1,306 bytes, lines 14413-14447
14413/***/ "./node_modules/core-js/modules/es6.array.sort.js": 14414/*!********************************************************!*\ 14415 !*** ./node_modules/core-js/modules/es6.array.sort.js ***! 14416 \********************************************************/ 14417/*! no static exports found */ 14418/***/ (function(module, exports, __webpack_require__) { 14419 14420"use strict"; 14421 14422var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14423var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 14424var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 14425var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 14426var $sort = [].sort; 14427var test = [1, 2, 3]; 14428 14429$export($export.P + $export.F * (fails(function () { 14430 // IE8- 14431 test.sort(undefined); 14432}) || !fails(function () { 14433 // V8 bug 14434 test.sort(null); 14435 // Old WebKit 14436}) || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($sort)), 'Array', { 14437 // 22.1.3.25 Array.prototype.sort(comparefn) 14438 sort: function sort(comparefn) { 14439 return comparefn === undefined 14440 ? $sort.call(toObject(this)) 14441 : $sort.call(toObject(this), aFunction(comparefn)); 14442 } 14443}); 14444 14445 14446/***/ }), 14447
vendor: 458 bytes, lines 14448-14459
14448/***/ "./node_modules/core-js/modules/es6.array.species.js": 14449/*!***********************************************************!*\ 14450 !*** ./node_modules/core-js/modules/es6.array.species.js ***! 14451 \***********************************************************/ 14452/*! no static exports found */ 14453/***/ (function(module, exports, __webpack_require__) { 14454 14455__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('Array'); 14456 14457 14458/***/ }), 14459
vendor: 551 bytes, lines 14460-14474
14460/***/ "./node_modules/core-js/modules/es6.date.now.js": 14461/*!******************************************************!*\ 14462 !*** ./node_modules/core-js/modules/es6.date.now.js ***! 14463 \******************************************************/ 14464/*! no static exports found */ 14465/***/ (function(module, exports, __webpack_require__) { 14466 14467// 20.3.3.1 / 15.9.4.4 Date.now() 14468var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14469 14470$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); 14471 14472 14473/***/ }), 14474
vendor: 827 bytes, lines 14475-14493
14475/***/ "./node_modules/core-js/modules/es6.date.to-iso-string.js": 14476/*!****************************************************************!*\ 14477 !*** ./node_modules/core-js/modules/es6.date.to-iso-string.js ***! 14478 \****************************************************************/ 14479/*! no static exports found */ 14480/***/ (function(module, exports, __webpack_require__) { 14481 14482// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 14483var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14484var toISOString = __webpack_require__(/*! ./_date-to-iso-string */ "./node_modules/core-js/modules/_date-to-iso-string.js"); 14485 14486// PhantomJS / old WebKit has a broken implementations 14487$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { 14488 toISOString: toISOString 14489}); 14490 14491 14492/***/ }), 14493
vendor: 1,167 bytes, lines 14494-14521
14494/***/ "./node_modules/core-js/modules/es6.date.to-json.js": 14495/*!**********************************************************!*\ 14496 !*** ./node_modules/core-js/modules/es6.date.to-json.js ***! 14497 \**********************************************************/ 14498/*! no static exports found */ 14499/***/ (function(module, exports, __webpack_require__) { 14500 14501"use strict"; 14502 14503var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14504var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 14505var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 14506 14507$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 14508 return new Date(NaN).toJSON() !== null 14509 || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; 14510}), 'Date', { 14511 // eslint-disable-next-line no-unused-vars 14512 toJSON: function toJSON(key) { 14513 var O = toObject(this); 14514 var pv = toPrimitive(O); 14515 return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); 14516 } 14517}); 14518 14519 14520/***/ }), 14521
vendor: 747 bytes, lines 14522-14536
14522/***/ "./node_modules/core-js/modules/es6.date.to-primitive.js": 14523/*!***************************************************************!*\ 14524 !*** ./node_modules/core-js/modules/es6.date.to-primitive.js ***! 14525 \***************************************************************/ 14526/*! no static exports found */ 14527/***/ (function(module, exports, __webpack_require__) { 14528 14529var TO_PRIMITIVE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toPrimitive'); 14530var proto = Date.prototype; 14531 14532if (!(TO_PRIMITIVE in proto)) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(proto, TO_PRIMITIVE, __webpack_require__(/*! ./_date-to-primitive */ "./node_modules/core-js/modules/_date-to-primitive.js")); 14533 14534 14535/***/ }), 14536
vendor: 858 bytes, lines 14537-14559
14537/***/ "./node_modules/core-js/modules/es6.date.to-string.js": 14538/*!************************************************************!*\ 14539 !*** ./node_modules/core-js/modules/es6.date.to-string.js ***! 14540 \************************************************************/ 14541/*! no static exports found */ 14542/***/ (function(module, exports, __webpack_require__) { 14543 14544var DateProto = Date.prototype; 14545var INVALID_DATE = 'Invalid Date'; 14546var TO_STRING = 'toString'; 14547var $toString = DateProto[TO_STRING]; 14548var getTime = DateProto.getTime; 14549if (new Date(NaN) + '' != INVALID_DATE) { 14550 __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(DateProto, TO_STRING, function toString() { 14551 var value = getTime.call(this); 14552 // eslint-disable-next-line no-self-compare 14553 return value === value ? $toString.call(this) : INVALID_DATE; 14554 }); 14555} 14556 14557 14558/***/ }), 14559
vendor: 640 bytes, lines 14560-14574
14560/***/ "./node_modules/core-js/modules/es6.function.bind.js": 14561/*!***********************************************************!*\ 14562 !*** ./node_modules/core-js/modules/es6.function.bind.js ***! 14563 \***********************************************************/ 14564/*! no static exports found */ 14565/***/ (function(module, exports, __webpack_require__) { 14566 14567// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) 14568var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14569 14570$export($export.P, 'Function', { bind: __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js") }); 14571 14572 14573/***/ }), 14574
vendor: 1,304 bytes, lines 14575-14599
14575/***/ "./node_modules/core-js/modules/es6.function.has-instance.js": 14576/*!*******************************************************************!*\ 14577 !*** ./node_modules/core-js/modules/es6.function.has-instance.js ***! 14578 \*******************************************************************/ 14579/*! no static exports found */ 14580/***/ (function(module, exports, __webpack_require__) { 14581 14582"use strict"; 14583 14584var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 14585var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 14586var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('hasInstance'); 14587var FunctionProto = Function.prototype; 14588// 19.2.3.6 Function.prototype[@@hasInstance](V) 14589if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(FunctionProto, HAS_INSTANCE, { value: function (O) { 14590 if (typeof this != 'function' || !isObject(O)) return false; 14591 if (!isObject(this.prototype)) return O instanceof this; 14592 // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: 14593 while (O = getPrototypeOf(O)) if (this.prototype === O) return true; 14594 return false; 14595} }); 14596 14597 14598/***/ }), 14599
vendor: 841 bytes, lines 14600-14626
14600/***/ "./node_modules/core-js/modules/es6.function.name.js": 14601/*!***********************************************************!*\ 14602 !*** ./node_modules/core-js/modules/es6.function.name.js ***! 14603 \***********************************************************/ 14604/*! no static exports found */ 14605/***/ (function(module, exports, __webpack_require__) { 14606 14607var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 14608var FProto = Function.prototype; 14609var nameRE = /^\s*function ([^ (]*)/; 14610var NAME = 'name'; 14611 14612// 19.2.4.2 name 14613NAME in FProto || __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { 14614 configurable: true, 14615 get: function () { 14616 try { 14617 return ('' + this).match(nameRE)[1]; 14618 } catch (e) { 14619 return ''; 14620 } 14621 } 14622}); 14623 14624 14625/***/ }), 14626
vendor: 1,170 bytes, lines 14627-14657
14627/***/ "./node_modules/core-js/modules/es6.map.js": 14628/*!*************************************************!*\ 14629 !*** ./node_modules/core-js/modules/es6.map.js ***! 14630 \*************************************************/ 14631/*! no static exports found */ 14632/***/ (function(module, exports, __webpack_require__) { 14633 14634"use strict"; 14635 14636var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); 14637var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 14638var MAP = 'Map'; 14639 14640// 23.1 Map Objects 14641module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(MAP, function (get) { 14642 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 14643}, { 14644 // 23.1.3.6 Map.prototype.get(key) 14645 get: function get(key) { 14646 var entry = strong.getEntry(validate(this, MAP), key); 14647 return entry && entry.v; 14648 }, 14649 // 23.1.3.9 Map.prototype.set(key, value) 14650 set: function set(key, value) { 14651 return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); 14652 } 14653}, strong, true); 14654 14655 14656/***/ }), 14657
vendor: 1,041 bytes, lines 14658-14686
14658/***/ "./node_modules/core-js/modules/es6.math.acosh.js": 14659/*!********************************************************!*\ 14660 !*** ./node_modules/core-js/modules/es6.math.acosh.js ***! 14661 \********************************************************/ 14662/*! no static exports found */ 14663/***/ (function(module, exports, __webpack_require__) { 14664 14665// 20.2.2.3 Math.acosh(x) 14666var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14667var log1p = __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js"); 14668var sqrt = Math.sqrt; 14669var $acosh = Math.acosh; 14670 14671$export($export.S + $export.F * !($acosh 14672 // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 14673 && Math.floor($acosh(Number.MAX_VALUE)) == 710 14674 // Tor Browser bug: Math.acosh(Infinity) -> NaN 14675 && $acosh(Infinity) == Infinity 14676), 'Math', { 14677 acosh: function acosh(x) { 14678 return (x = +x) < 1 ? NaN : x > 94906265.62425156 14679 ? Math.log(x) + Math.LN2 14680 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); 14681 } 14682}); 14683 14684 14685/***/ }), 14686
vendor: 747 bytes, lines 14687-14707
14687/***/ "./node_modules/core-js/modules/es6.math.asinh.js": 14688/*!********************************************************!*\ 14689 !*** ./node_modules/core-js/modules/es6.math.asinh.js ***! 14690 \********************************************************/ 14691/*! no static exports found */ 14692/***/ (function(module, exports, __webpack_require__) { 14693 14694// 20.2.2.5 Math.asinh(x) 14695var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14696var $asinh = Math.asinh; 14697 14698function asinh(x) { 14699 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); 14700} 14701 14702// Tor Browser bug: Math.asinh(0) -> -0 14703$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); 14704 14705 14706/***/ }), 14707
vendor: 709 bytes, lines 14708-14728
14708/***/ "./node_modules/core-js/modules/es6.math.atanh.js": 14709/*!********************************************************!*\ 14710 !*** ./node_modules/core-js/modules/es6.math.atanh.js ***! 14711 \********************************************************/ 14712/*! no static exports found */ 14713/***/ (function(module, exports, __webpack_require__) { 14714 14715// 20.2.2.7 Math.atanh(x) 14716var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14717var $atanh = Math.atanh; 14718 14719// Tor Browser bug: Math.atanh(-0) -> 0 14720$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { 14721 atanh: function atanh(x) { 14722 return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; 14723 } 14724}); 14725 14726 14727/***/ }), 14728
vendor: 683 bytes, lines 14729-14748
14729/***/ "./node_modules/core-js/modules/es6.math.cbrt.js": 14730/*!*******************************************************!*\ 14731 !*** ./node_modules/core-js/modules/es6.math.cbrt.js ***! 14732 \*******************************************************/ 14733/*! no static exports found */ 14734/***/ (function(module, exports, __webpack_require__) { 14735 14736// 20.2.2.9 Math.cbrt(x) 14737var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14738var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); 14739 14740$export($export.S, 'Math', { 14741 cbrt: function cbrt(x) { 14742 return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); 14743 } 14744}); 14745 14746 14747/***/ }), 14748
vendor: 613 bytes, lines 14749-14767
14749/***/ "./node_modules/core-js/modules/es6.math.clz32.js": 14750/*!********************************************************!*\ 14751 !*** ./node_modules/core-js/modules/es6.math.clz32.js ***! 14752 \********************************************************/ 14753/*! no static exports found */ 14754/***/ (function(module, exports, __webpack_require__) { 14755 14756// 20.2.2.11 Math.clz32(x) 14757var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14758 14759$export($export.S, 'Math', { 14760 clz32: function clz32(x) { 14761 return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; 14762 } 14763}); 14764 14765 14766/***/ }), 14767
vendor: 588 bytes, lines 14768-14787
14768/***/ "./node_modules/core-js/modules/es6.math.cosh.js": 14769/*!*******************************************************!*\ 14770 !*** ./node_modules/core-js/modules/es6.math.cosh.js ***! 14771 \*******************************************************/ 14772/*! no static exports found */ 14773/***/ (function(module, exports, __webpack_require__) { 14774 14775// 20.2.2.12 Math.cosh(x) 14776var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14777var exp = Math.exp; 14778 14779$export($export.S, 'Math', { 14780 cosh: function cosh(x) { 14781 return (exp(x = +x) + exp(-x)) / 2; 14782 } 14783}); 14784 14785 14786/***/ }), 14787
vendor: 657 bytes, lines 14788-14803
14788/***/ "./node_modules/core-js/modules/es6.math.expm1.js": 14789/*!********************************************************!*\ 14790 !*** ./node_modules/core-js/modules/es6.math.expm1.js ***! 14791 \********************************************************/ 14792/*! no static exports found */ 14793/***/ (function(module, exports, __webpack_require__) { 14794 14795// 20.2.2.14 Math.expm1(x) 14796var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14797var $expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); 14798 14799$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); 14800 14801 14802/***/ }), 14803
vendor: 607 bytes, lines 14804-14818
14804/***/ "./node_modules/core-js/modules/es6.math.fround.js": 14805/*!*********************************************************!*\ 14806 !*** ./node_modules/core-js/modules/es6.math.fround.js ***! 14807 \*********************************************************/ 14808/*! no static exports found */ 14809/***/ (function(module, exports, __webpack_require__) { 14810 14811// 20.2.2.16 Math.fround(x) 14812var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14813 14814$export($export.S, 'Math', { fround: __webpack_require__(/*! ./_math-fround */ "./node_modules/core-js/modules/_math-fround.js") }); 14815 14816 14817/***/ }), 14818
vendor: 1,069 bytes, lines 14819-14854
14819/***/ "./node_modules/core-js/modules/es6.math.hypot.js": 14820/*!********************************************************!*\ 14821 !*** ./node_modules/core-js/modules/es6.math.hypot.js ***! 14822 \********************************************************/ 14823/*! no static exports found */ 14824/***/ (function(module, exports, __webpack_require__) { 14825 14826// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) 14827var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14828var abs = Math.abs; 14829 14830$export($export.S, 'Math', { 14831 hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars 14832 var sum = 0; 14833 var i = 0; 14834 var aLen = arguments.length; 14835 var larg = 0; 14836 var arg, div; 14837 while (i < aLen) { 14838 arg = abs(arguments[i++]); 14839 if (larg < arg) { 14840 div = larg / arg; 14841 sum = sum * div * div + 1; 14842 larg = arg; 14843 } else if (arg > 0) { 14844 div = arg / larg; 14845 sum += div * div; 14846 } else sum += arg; 14847 } 14848 return larg === Infinity ? Infinity : larg * Math.sqrt(sum); 14849 } 14850}); 14851 14852 14853/***/ }), 14854
vendor: 1,000 bytes, lines 14855-14882
14855/***/ "./node_modules/core-js/modules/es6.math.imul.js": 14856/*!*******************************************************!*\ 14857 !*** ./node_modules/core-js/modules/es6.math.imul.js ***! 14858 \*******************************************************/ 14859/*! no static exports found */ 14860/***/ (function(module, exports, __webpack_require__) { 14861 14862// 20.2.2.18 Math.imul(x, y) 14863var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14864var $imul = Math.imul; 14865 14866// some WebKit versions fails with big numbers, some has wrong arity 14867$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 14868 return $imul(0xffffffff, 5) != -5 || $imul.length != 2; 14869}), 'Math', { 14870 imul: function imul(x, y) { 14871 var UINT16 = 0xffff; 14872 var xn = +x; 14873 var yn = +y; 14874 var xl = UINT16 & xn; 14875 var yl = UINT16 & yn; 14876 return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); 14877 } 14878}); 14879 14880 14881/***/ }), 14882
vendor: 573 bytes, lines 14883-14901
14883/***/ "./node_modules/core-js/modules/es6.math.log10.js": 14884/*!********************************************************!*\ 14885 !*** ./node_modules/core-js/modules/es6.math.log10.js ***! 14886 \********************************************************/ 14887/*! no static exports found */ 14888/***/ (function(module, exports, __webpack_require__) { 14889 14890// 20.2.2.21 Math.log10(x) 14891var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14892 14893$export($export.S, 'Math', { 14894 log10: function log10(x) { 14895 return Math.log(x) * Math.LOG10E; 14896 } 14897}); 14898 14899 14900/***/ }), 14901
vendor: 599 bytes, lines 14902-14916
14902/***/ "./node_modules/core-js/modules/es6.math.log1p.js": 14903/*!********************************************************!*\ 14904 !*** ./node_modules/core-js/modules/es6.math.log1p.js ***! 14905 \********************************************************/ 14906/*! no static exports found */ 14907/***/ (function(module, exports, __webpack_require__) { 14908 14909// 20.2.2.20 Math.log1p(x) 14910var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14911 14912$export($export.S, 'Math', { log1p: __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js") }); 14913 14914 14915/***/ }), 14916
vendor: 563 bytes, lines 14917-14935
14917/***/ "./node_modules/core-js/modules/es6.math.log2.js": 14918/*!*******************************************************!*\ 14919 !*** ./node_modules/core-js/modules/es6.math.log2.js ***! 14920 \*******************************************************/ 14921/*! no static exports found */ 14922/***/ (function(module, exports, __webpack_require__) { 14923 14924// 20.2.2.22 Math.log2(x) 14925var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14926 14927$export($export.S, 'Math', { 14928 log2: function log2(x) { 14929 return Math.log(x) / Math.LN2; 14930 } 14931}); 14932 14933 14934/***/ }), 14935
vendor: 591 bytes, lines 14936-14950
14936/***/ "./node_modules/core-js/modules/es6.math.sign.js": 14937/*!*******************************************************!*\ 14938 !*** ./node_modules/core-js/modules/es6.math.sign.js ***! 14939 \*******************************************************/ 14940/*! no static exports found */ 14941/***/ (function(module, exports, __webpack_require__) { 14942 14943// 20.2.2.28 Math.sign(x) 14944var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14945 14946$export($export.S, 'Math', { sign: __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js") }); 14947 14948 14949/***/ }), 14950
vendor: 980 bytes, lines 14951-14976
14951/***/ "./node_modules/core-js/modules/es6.math.sinh.js": 14952/*!*******************************************************!*\ 14953 !*** ./node_modules/core-js/modules/es6.math.sinh.js ***! 14954 \*******************************************************/ 14955/*! no static exports found */ 14956/***/ (function(module, exports, __webpack_require__) { 14957 14958// 20.2.2.30 Math.sinh(x) 14959var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14960var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); 14961var exp = Math.exp; 14962 14963// V8 near Chromium 38 has a problem with very small numbers 14964$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 14965 return !Math.sinh(-2e-17) != -2e-17; 14966}), 'Math', { 14967 sinh: function sinh(x) { 14968 return Math.abs(x = +x) < 1 14969 ? (expm1(x) - expm1(-x)) / 2 14970 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); 14971 } 14972}); 14973 14974 14975/***/ }), 14976
vendor: 783 bytes, lines 14977-14999
14977/***/ "./node_modules/core-js/modules/es6.math.tanh.js": 14978/*!*******************************************************!*\ 14979 !*** ./node_modules/core-js/modules/es6.math.tanh.js ***! 14980 \*******************************************************/ 14981/*! no static exports found */ 14982/***/ (function(module, exports, __webpack_require__) { 14983 14984// 20.2.2.33 Math.tanh(x) 14985var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 14986var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); 14987var exp = Math.exp; 14988 14989$export($export.S, 'Math', { 14990 tanh: function tanh(x) { 14991 var a = expm1(x = +x); 14992 var b = expm1(-x); 14993 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); 14994 } 14995}); 14996 14997 14998/***/ }), 14999
vendor: 586 bytes, lines 15000-15018
15000/***/ "./node_modules/core-js/modules/es6.math.trunc.js": 15001/*!********************************************************!*\ 15002 !*** ./node_modules/core-js/modules/es6.math.trunc.js ***! 15003 \********************************************************/ 15004/*! no static exports found */ 15005/***/ (function(module, exports, __webpack_require__) { 15006 15007// 20.2.2.34 Math.trunc(x) 15008var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15009 15010$export($export.S, 'Math', { 15011 trunc: function trunc(it) { 15012 return (it > 0 ? Math.floor : Math.ceil)(it); 15013 } 15014}); 15015 15016 15017/***/ }), 15018
vendor: 4,007 bytes, lines 15019-15099
15019/***/ "./node_modules/core-js/modules/es6.number.constructor.js": 15020/*!****************************************************************!*\ 15021 !*** ./node_modules/core-js/modules/es6.number.constructor.js ***! 15022 \****************************************************************/ 15023/*! no static exports found */ 15024/***/ (function(module, exports, __webpack_require__) { 15025 15026"use strict"; 15027 15028var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 15029var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 15030var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); 15031var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); 15032var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 15033var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 15034var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; 15035var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; 15036var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 15037var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; 15038var NUMBER = 'Number'; 15039var $Number = global[NUMBER]; 15040var Base = $Number; 15041var proto = $Number.prototype; 15042// Opera ~12 has broken Object#toString 15043var BROKEN_COF = cof(__webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js")(proto)) == NUMBER; 15044var TRIM = 'trim' in String.prototype; 15045 15046// 7.1.3 ToNumber(argument) 15047var toNumber = function (argument) { 15048 var it = toPrimitive(argument, false); 15049 if (typeof it == 'string' && it.length > 2) { 15050 it = TRIM ? it.trim() : $trim(it, 3); 15051 var first = it.charCodeAt(0); 15052 var third, radix, maxCode; 15053 if (first === 43 || first === 45) { 15054 third = it.charCodeAt(2); 15055 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix 15056 } else if (first === 48) { 15057 switch (it.charCodeAt(1)) { 15058 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i 15059 case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i 15060 default: return +it; 15061 } 15062 for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { 15063 code = digits.charCodeAt(i); 15064 // parseInt parses a string to a first unavailable symbol 15065 // but ToNumber should return NaN if a string contains unavailable symbols 15066 if (code < 48 || code > maxCode) return NaN; 15067 } return parseInt(digits, radix); 15068 } 15069 } return +it; 15070}; 15071 15072if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { 15073 $Number = function Number(value) { 15074 var it = arguments.length < 1 ? 0 : value; 15075 var that = this; 15076 return that instanceof $Number 15077 // check on 1..constructor(foo) case 15078 && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) 15079 ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); 15080 }; 15081 for (var keys = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPN(Base) : ( 15082 // ES3: 15083 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 15084 // ES6 (in case, if modules with ES6 Number statics required before): 15085 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 15086 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' 15087 ).split(','), j = 0, key; keys.length > j; j++) { 15088 if (has(Base, key = keys[j]) && !has($Number, key)) { 15089 dP($Number, key, gOPD(Base, key)); 15090 } 15091 } 15092 $Number.prototype = proto; 15093 proto.constructor = $Number; 15094 __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, NUMBER, $Number); 15095} 15096 15097 15098/***/ }), 15099
vendor: 546 bytes, lines 15100-15114
15100/***/ "./node_modules/core-js/modules/es6.number.epsilon.js": 15101/*!************************************************************!*\ 15102 !*** ./node_modules/core-js/modules/es6.number.epsilon.js ***! 15103 \************************************************************/ 15104/*! no static exports found */ 15105/***/ (function(module, exports, __webpack_require__) { 15106 15107// 20.1.2.1 Number.EPSILON 15108var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15109 15110$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); 15111 15112 15113/***/ }), 15114
vendor: 736 bytes, lines 15115-15134
15115/***/ "./node_modules/core-js/modules/es6.number.is-finite.js": 15116/*!**************************************************************!*\ 15117 !*** ./node_modules/core-js/modules/es6.number.is-finite.js ***! 15118 \**************************************************************/ 15119/*! no static exports found */ 15120/***/ (function(module, exports, __webpack_require__) { 15121 15122// 20.1.2.2 Number.isFinite(number) 15123var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15124var _isFinite = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").isFinite; 15125 15126$export($export.S, 'Number', { 15127 isFinite: function isFinite(it) { 15128 return typeof it == 'number' && _isFinite(it); 15129 } 15130}); 15131 15132 15133/***/ }), 15134
vendor: 643 bytes, lines 15135-15149
15135/***/ "./node_modules/core-js/modules/es6.number.is-integer.js": 15136/*!***************************************************************!*\ 15137 !*** ./node_modules/core-js/modules/es6.number.is-integer.js ***! 15138 \***************************************************************/ 15139/*! no static exports found */ 15140/***/ (function(module, exports, __webpack_require__) { 15141 15142// 20.1.2.3 Number.isInteger(number) 15143var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15144 15145$export($export.S, 'Number', { isInteger: __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js") }); 15146 15147 15148/***/ }), 15149
vendor: 637 bytes, lines 15150-15169
15150/***/ "./node_modules/core-js/modules/es6.number.is-nan.js": 15151/*!***********************************************************!*\ 15152 !*** ./node_modules/core-js/modules/es6.number.is-nan.js ***! 15153 \***********************************************************/ 15154/*! no static exports found */ 15155/***/ (function(module, exports, __webpack_require__) { 15156 15157// 20.1.2.4 Number.isNaN(number) 15158var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15159 15160$export($export.S, 'Number', { 15161 isNaN: function isNaN(number) { 15162 // eslint-disable-next-line no-self-compare 15163 return number != number; 15164 } 15165}); 15166 15167 15168/***/ }), 15169
vendor: 812 bytes, lines 15170-15190
15170/***/ "./node_modules/core-js/modules/es6.number.is-safe-integer.js": 15171/*!********************************************************************!*\ 15172 !*** ./node_modules/core-js/modules/es6.number.is-safe-integer.js ***! 15173 \********************************************************************/ 15174/*! no static exports found */ 15175/***/ (function(module, exports, __webpack_require__) { 15176 15177// 20.1.2.5 Number.isSafeInteger(number) 15178var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15179var isInteger = __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js"); 15180var abs = Math.abs; 15181 15182$export($export.S, 'Number', { 15183 isSafeInteger: function isSafeInteger(number) { 15184 return isInteger(number) && abs(number) <= 0x1fffffffffffff; 15185 } 15186}); 15187 15188 15189/***/ }), 15190
vendor: 600 bytes, lines 15191-15205
15191/***/ "./node_modules/core-js/modules/es6.number.max-safe-integer.js": 15192/*!*********************************************************************!*\ 15193 !*** ./node_modules/core-js/modules/es6.number.max-safe-integer.js ***! 15194 \*********************************************************************/ 15195/*! no static exports found */ 15196/***/ (function(module, exports, __webpack_require__) { 15197 15198// 20.1.2.6 Number.MAX_SAFE_INTEGER 15199var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15200 15201$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); 15202 15203 15204/***/ }), 15205
vendor: 602 bytes, lines 15206-15220
15206/***/ "./node_modules/core-js/modules/es6.number.min-safe-integer.js": 15207/*!*********************************************************************!*\ 15208 !*** ./node_modules/core-js/modules/es6.number.min-safe-integer.js ***! 15209 \*********************************************************************/ 15210/*! no static exports found */ 15211/***/ (function(module, exports, __webpack_require__) { 15212 15213// 20.1.2.10 Number.MIN_SAFE_INTEGER 15214var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15215 15216$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); 15217 15218 15219/***/ }), 15220
vendor: 731 bytes, lines 15221-15235
15221/***/ "./node_modules/core-js/modules/es6.number.parse-float.js": 15222/*!****************************************************************!*\ 15223 !*** ./node_modules/core-js/modules/es6.number.parse-float.js ***! 15224 \****************************************************************/ 15225/*! no static exports found */ 15226/***/ (function(module, exports, __webpack_require__) { 15227 15228var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15229var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); 15230// 20.1.2.12 Number.parseFloat(string) 15231$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); 15232 15233 15234/***/ }), 15235
vendor: 714 bytes, lines 15236-15250
15236/***/ "./node_modules/core-js/modules/es6.number.parse-int.js": 15237/*!**************************************************************!*\ 15238 !*** ./node_modules/core-js/modules/es6.number.parse-int.js ***! 15239 \**************************************************************/ 15240/*! no static exports found */ 15241/***/ (function(module, exports, __webpack_require__) { 15242 15243var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15244var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); 15245// 20.1.2.13 Number.parseInt(string, radix) 15246$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); 15247 15248 15249/***/ }), 15250
vendor: 3,458 bytes, lines 15251-15376
15251/***/ "./node_modules/core-js/modules/es6.number.to-fixed.js": 15252/*!*************************************************************!*\ 15253 !*** ./node_modules/core-js/modules/es6.number.to-fixed.js ***! 15254 \*************************************************************/ 15255/*! no static exports found */ 15256/***/ (function(module, exports, __webpack_require__) { 15257 15258"use strict"; 15259 15260var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15261var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 15262var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); 15263var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); 15264var $toFixed = 1.0.toFixed; 15265var floor = Math.floor; 15266var data = [0, 0, 0, 0, 0, 0]; 15267var ERROR = 'Number.toFixed: incorrect invocation!'; 15268var ZERO = '0'; 15269 15270var multiply = function (n, c) { 15271 var i = -1; 15272 var c2 = c; 15273 while (++i < 6) { 15274 c2 += n * data[i]; 15275 data[i] = c2 % 1e7; 15276 c2 = floor(c2 / 1e7); 15277 } 15278}; 15279var divide = function (n) { 15280 var i = 6; 15281 var c = 0; 15282 while (--i >= 0) { 15283 c += data[i]; 15284 data[i] = floor(c / n); 15285 c = (c % n) * 1e7; 15286 } 15287}; 15288var numToString = function () { 15289 var i = 6; 15290 var s = ''; 15291 while (--i >= 0) { 15292 if (s !== '' || i === 0 || data[i] !== 0) { 15293 var t = String(data[i]); 15294 s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; 15295 } 15296 } return s; 15297}; 15298var pow = function (x, n, acc) { 15299 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); 15300}; 15301var log = function (x) { 15302 var n = 0; 15303 var x2 = x; 15304 while (x2 >= 4096) { 15305 n += 12; 15306 x2 /= 4096; 15307 } 15308 while (x2 >= 2) { 15309 n += 1; 15310 x2 /= 2; 15311 } return n; 15312}; 15313 15314$export($export.P + $export.F * (!!$toFixed && ( 15315 0.00008.toFixed(3) !== '0.000' || 15316 0.9.toFixed(0) !== '1' || 15317 1.255.toFixed(2) !== '1.25' || 15318 1000000000000000128.0.toFixed(0) !== '1000000000000000128' 15319) || !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 15320 // V8 ~ Android 4.3- 15321 $toFixed.call({}); 15322})), 'Number', { 15323 toFixed: function toFixed(fractionDigits) { 15324 var x = aNumberValue(this, ERROR); 15325 var f = toInteger(fractionDigits); 15326 var s = ''; 15327 var m = ZERO; 15328 var e, z, j, k; 15329 if (f < 0 || f > 20) throw RangeError(ERROR); 15330 // eslint-disable-next-line no-self-compare 15331 if (x != x) return 'NaN'; 15332 if (x <= -1e21 || x >= 1e21) return String(x); 15333 if (x < 0) { 15334 s = '-'; 15335 x = -x; 15336 } 15337 if (x > 1e-21) { 15338 e = log(x * pow(2, 69, 1)) - 69; 15339 z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); 15340 z *= 0x10000000000000; 15341 e = 52 - e; 15342 if (e > 0) { 15343 multiply(0, z); 15344 j = f; 15345 while (j >= 7) { 15346 multiply(1e7, 0); 15347 j -= 7; 15348 } 15349 multiply(pow(10, j, 1), 0); 15350 j = e - 1; 15351 while (j >= 23) { 15352 divide(1 << 23); 15353 j -= 23; 15354 } 15355 divide(1 << j); 15356 multiply(1, 1); 15357 divide(2); 15358 m = numToString(); 15359 } else { 15360 multiply(0, z); 15361 multiply(1 << -e, 0); 15362 m = numToString() + repeat.call(ZERO, f); 15363 } 15364 } 15365 if (f > 0) { 15366 k = m.length; 15367 m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); 15368 } else { 15369 m = s + m; 15370 } return m; 15371 } 15372}); 15373 15374 15375/***/ }), 15376
vendor: 1,184 bytes, lines 15377-15406
15377/***/ "./node_modules/core-js/modules/es6.number.to-precision.js": 15378/*!*****************************************************************!*\ 15379 !*** ./node_modules/core-js/modules/es6.number.to-precision.js ***! 15380 \*****************************************************************/ 15381/*! no static exports found */ 15382/***/ (function(module, exports, __webpack_require__) { 15383 15384"use strict"; 15385 15386var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15387var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 15388var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); 15389var $toPrecision = 1.0.toPrecision; 15390 15391$export($export.P + $export.F * ($fails(function () { 15392 // IE7- 15393 return $toPrecision.call(1, undefined) !== '1'; 15394}) || !$fails(function () { 15395 // V8 ~ Android 4.3- 15396 $toPrecision.call({}); 15397})), 'Number', { 15398 toPrecision: function toPrecision(precision) { 15399 var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); 15400 return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); 15401 } 15402}); 15403 15404 15405/***/ }), 15406
vendor: 647 bytes, lines 15407-15421
15407/***/ "./node_modules/core-js/modules/es6.object.assign.js": 15408/*!***********************************************************!*\ 15409 !*** ./node_modules/core-js/modules/es6.object.assign.js ***! 15410 \***********************************************************/ 15411/*! no static exports found */ 15412/***/ (function(module, exports, __webpack_require__) { 15413 15414// 19.1.3.1 Object.assign(target, source) 15415var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15416 15417$export($export.S + $export.F, 'Object', { assign: __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js") }); 15418 15419 15420/***/ }), 15421
vendor: 647 bytes, lines 15422-15435
15422/***/ "./node_modules/core-js/modules/es6.object.create.js": 15423/*!***********************************************************!*\ 15424 !*** ./node_modules/core-js/modules/es6.object.create.js ***! 15425 \***********************************************************/ 15426/*! no static exports found */ 15427/***/ (function(module, exports, __webpack_require__) { 15428 15429var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15430// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 15431$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js") }); 15432 15433 15434/***/ }), 15435
vendor: 809 bytes, lines 15436-15449
15436/***/ "./node_modules/core-js/modules/es6.object.define-properties.js": 15437/*!**********************************************************************!*\ 15438 !*** ./node_modules/core-js/modules/es6.object.define-properties.js ***! 15439 \**********************************************************************/ 15440/*! no static exports found */ 15441/***/ (function(module, exports, __webpack_require__) { 15442 15443var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15444// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) 15445$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperties: __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js") }); 15446 15447 15448/***/ }), 15449
vendor: 800 bytes, lines 15450-15463
15450/***/ "./node_modules/core-js/modules/es6.object.define-property.js": 15451/*!********************************************************************!*\ 15452 !*** ./node_modules/core-js/modules/es6.object.define-property.js ***! 15453 \********************************************************************/ 15454/*! no static exports found */ 15455/***/ (function(module, exports, __webpack_require__) { 15456 15457var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15458// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) 15459$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f }); 15460 15461 15462/***/ }), 15463
vendor: 811 bytes, lines 15464-15483
15464/***/ "./node_modules/core-js/modules/es6.object.freeze.js": 15465/*!***********************************************************!*\ 15466 !*** ./node_modules/core-js/modules/es6.object.freeze.js ***! 15467 \***********************************************************/ 15468/*! no static exports found */ 15469/***/ (function(module, exports, __webpack_require__) { 15470 15471// 19.1.2.5 Object.freeze(O) 15472var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15473var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; 15474 15475__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('freeze', function ($freeze) { 15476 return function freeze(it) { 15477 return $freeze && isObject(it) ? $freeze(meta(it)) : it; 15478 }; 15479}); 15480 15481 15482/***/ }), 15483
vendor: 978 bytes, lines 15484-15503
15484/***/ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": 15485/*!********************************************************************************!*\ 15486 !*** ./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js ***! 15487 \********************************************************************************/ 15488/*! no static exports found */ 15489/***/ (function(module, exports, __webpack_require__) { 15490 15491// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 15492var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 15493var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; 15494 15495__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { 15496 return function getOwnPropertyDescriptor(it, key) { 15497 return $getOwnPropertyDescriptor(toIObject(it), key); 15498 }; 15499}); 15500 15501 15502/***/ }), 15503
vendor: 705 bytes, lines 15504-15518
15504/***/ "./node_modules/core-js/modules/es6.object.get-own-property-names.js": 15505/*!***************************************************************************!*\ 15506 !*** ./node_modules/core-js/modules/es6.object.get-own-property-names.js ***! 15507 \***************************************************************************/ 15508/*! no static exports found */ 15509/***/ (function(module, exports, __webpack_require__) { 15510 15511// 19.1.2.7 Object.getOwnPropertyNames(O) 15512__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyNames', function () { 15513 return __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js").f; 15514}); 15515 15516 15517/***/ }), 15518
vendor: 863 bytes, lines 15519-15538
15519/***/ "./node_modules/core-js/modules/es6.object.get-prototype-of.js": 15520/*!*********************************************************************!*\ 15521 !*** ./node_modules/core-js/modules/es6.object.get-prototype-of.js ***! 15522 \*********************************************************************/ 15523/*! no static exports found */ 15524/***/ (function(module, exports, __webpack_require__) { 15525 15526// 19.1.2.9 Object.getPrototypeOf(O) 15527var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 15528var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 15529 15530__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getPrototypeOf', function () { 15531 return function getPrototypeOf(it) { 15532 return $getPrototypeOf(toObject(it)); 15533 }; 15534}); 15535 15536 15537/***/ }), 15538
vendor: 780 bytes, lines 15539-15557
15539/***/ "./node_modules/core-js/modules/es6.object.is-extensible.js": 15540/*!******************************************************************!*\ 15541 !*** ./node_modules/core-js/modules/es6.object.is-extensible.js ***! 15542 \******************************************************************/ 15543/*! no static exports found */ 15544/***/ (function(module, exports, __webpack_require__) { 15545 15546// 19.1.2.11 Object.isExtensible(O) 15547var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15548 15549__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isExtensible', function ($isExtensible) { 15550 return function isExtensible(it) { 15551 return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; 15552 }; 15553}); 15554 15555 15556/***/ }), 15557
vendor: 740 bytes, lines 15558-15576
15558/***/ "./node_modules/core-js/modules/es6.object.is-frozen.js": 15559/*!**************************************************************!*\ 15560 !*** ./node_modules/core-js/modules/es6.object.is-frozen.js ***! 15561 \**************************************************************/ 15562/*! no static exports found */ 15563/***/ (function(module, exports, __webpack_require__) { 15564 15565// 19.1.2.12 Object.isFrozen(O) 15566var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15567 15568__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isFrozen', function ($isFrozen) { 15569 return function isFrozen(it) { 15570 return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; 15571 }; 15572}); 15573 15574 15575/***/ }), 15576
vendor: 740 bytes, lines 15577-15595
15577/***/ "./node_modules/core-js/modules/es6.object.is-sealed.js": 15578/*!**************************************************************!*\ 15579 !*** ./node_modules/core-js/modules/es6.object.is-sealed.js ***! 15580 \**************************************************************/ 15581/*! no static exports found */ 15582/***/ (function(module, exports, __webpack_require__) { 15583 15584// 19.1.2.13 Object.isSealed(O) 15585var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15586 15587__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isSealed', function ($isSealed) { 15588 return function isSealed(it) { 15589 return isObject(it) ? $isSealed ? $isSealed(it) : false : true; 15590 }; 15591}); 15592 15593 15594/***/ }), 15595
vendor: 605 bytes, lines 15596-15609
15596/***/ "./node_modules/core-js/modules/es6.object.is.js": 15597/*!*******************************************************!*\ 15598 !*** ./node_modules/core-js/modules/es6.object.is.js ***! 15599 \*******************************************************/ 15600/*! no static exports found */ 15601/***/ (function(module, exports, __webpack_require__) { 15602 15603// 19.1.3.10 Object.is(value1, value2) 15604var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15605$export($export.S, 'Object', { is: __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js") }); 15606 15607 15608/***/ }), 15609
vendor: 768 bytes, lines 15610-15629
15610/***/ "./node_modules/core-js/modules/es6.object.keys.js": 15611/*!*********************************************************!*\ 15612 !*** ./node_modules/core-js/modules/es6.object.keys.js ***! 15613 \*********************************************************/ 15614/*! no static exports found */ 15615/***/ (function(module, exports, __webpack_require__) { 15616 15617// 19.1.2.14 Object.keys(O) 15618var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 15619var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 15620 15621__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('keys', function () { 15622 return function keys(it) { 15623 return $keys(toObject(it)); 15624 }; 15625}); 15626 15627 15628/***/ }), 15629
vendor: 926 bytes, lines 15630-15649
15630/***/ "./node_modules/core-js/modules/es6.object.prevent-extensions.js": 15631/*!***********************************************************************!*\ 15632 !*** ./node_modules/core-js/modules/es6.object.prevent-extensions.js ***! 15633 \***********************************************************************/ 15634/*! no static exports found */ 15635/***/ (function(module, exports, __webpack_require__) { 15636 15637// 19.1.2.15 Object.preventExtensions(O) 15638var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15639var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; 15640 15641__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('preventExtensions', function ($preventExtensions) { 15642 return function preventExtensions(it) { 15643 return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; 15644 }; 15645}); 15646 15647 15648/***/ }), 15649
vendor: 792 bytes, lines 15650-15669
15650/***/ "./node_modules/core-js/modules/es6.object.seal.js": 15651/*!*********************************************************!*\ 15652 !*** ./node_modules/core-js/modules/es6.object.seal.js ***! 15653 \*********************************************************/ 15654/*! no static exports found */ 15655/***/ (function(module, exports, __webpack_require__) { 15656 15657// 19.1.2.17 Object.seal(O) 15658var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15659var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; 15660 15661__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('seal', function ($seal) { 15662 return function seal(it) { 15663 return $seal && isObject(it) ? $seal(meta(it)) : it; 15664 }; 15665}); 15666 15667 15668/***/ }), 15669
vendor: 681 bytes, lines 15670-15683
15670/***/ "./node_modules/core-js/modules/es6.object.set-prototype-of.js": 15671/*!*********************************************************************!*\ 15672 !*** ./node_modules/core-js/modules/es6.object.set-prototype-of.js ***! 15673 \*********************************************************************/ 15674/*! no static exports found */ 15675/***/ (function(module, exports, __webpack_require__) { 15676 15677// 19.1.3.19 Object.setPrototypeOf(O, proto) 15678var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15679$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set }); 15680 15681 15682/***/ }), 15683
vendor: 873 bytes, lines 15684-15705
15684/***/ "./node_modules/core-js/modules/es6.object.to-string.js": 15685/*!**************************************************************!*\ 15686 !*** ./node_modules/core-js/modules/es6.object.to-string.js ***! 15687 \**************************************************************/ 15688/*! no static exports found */ 15689/***/ (function(module, exports, __webpack_require__) { 15690 15691"use strict"; 15692 15693// 19.1.3.6 Object.prototype.toString() 15694var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); 15695var test = {}; 15696test[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; 15697if (test + '' != '[object z]') { 15698 __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { 15699 return '[object ' + classof(this) + ']'; 15700 }, true); 15701} 15702 15703 15704/***/ }), 15705
vendor: 676 bytes, lines 15706-15720
15706/***/ "./node_modules/core-js/modules/es6.parse-float.js": 15707/*!*********************************************************!*\ 15708 !*** ./node_modules/core-js/modules/es6.parse-float.js ***! 15709 \*********************************************************/ 15710/*! no static exports found */ 15711/***/ (function(module, exports, __webpack_require__) { 15712 15713var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15714var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); 15715// 18.2.4 parseFloat(string) 15716$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); 15717 15718 15719/***/ }), 15720
vendor: 659 bytes, lines 15721-15735
15721/***/ "./node_modules/core-js/modules/es6.parse-int.js": 15722/*!*******************************************************!*\ 15723 !*** ./node_modules/core-js/modules/es6.parse-int.js ***! 15724 \*******************************************************/ 15725/*! no static exports found */ 15726/***/ (function(module, exports, __webpack_require__) { 15727 15728var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15729var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); 15730// 18.2.5 parseInt(string, radix) 15731$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); 15732 15733 15734/***/ }), 15735
vendor: 11,564 bytes, lines 15736-16033
15736/***/ "./node_modules/core-js/modules/es6.promise.js": 15737/*!*****************************************************!*\ 15738 !*** ./node_modules/core-js/modules/es6.promise.js ***! 15739 \*****************************************************/ 15740/*! no static exports found */ 15741/***/ (function(module, exports, __webpack_require__) { 15742 15743"use strict"; 15744 15745var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); 15746var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 15747var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); 15748var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); 15749var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 15750var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 15751var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 15752var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); 15753var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); 15754var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); 15755var task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; 15756var microtask = __webpack_require__(/*! ./_microtask */ "./node_modules/core-js/modules/_microtask.js")(); 15757var newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); 15758var perform = __webpack_require__(/*! ./_perform */ "./node_modules/core-js/modules/_perform.js"); 15759var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); 15760var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); 15761var PROMISE = 'Promise'; 15762var TypeError = global.TypeError; 15763var process = global.process; 15764var versions = process && process.versions; 15765var v8 = versions && versions.v8 || ''; 15766var $Promise = global[PROMISE]; 15767var isNode = classof(process) == 'process'; 15768var empty = function () { /* empty */ }; 15769var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; 15770var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; 15771 15772var USE_NATIVE = !!function () { 15773 try { 15774 // correct subclassing with @@species support 15775 var promise = $Promise.resolve(1); 15776 var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species')] = function (exec) { 15777 exec(empty, empty); 15778 }; 15779 // unhandled rejections tracking support, NodeJS Promise without it fails @@species test 15780 return (isNode || typeof PromiseRejectionEvent == 'function') 15781 && promise.then(empty) instanceof FakePromise 15782 // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables 15783 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 15784 // we can't detect it synchronously, so just check versions 15785 && v8.indexOf('6.6') !== 0 15786 && userAgent.indexOf('Chrome/66') === -1; 15787 } catch (e) { /* empty */ } 15788}(); 15789 15790// helpers 15791var isThenable = function (it) { 15792 var then; 15793 return isObject(it) && typeof (then = it.then) == 'function' ? then : false; 15794}; 15795var notify = function (promise, isReject) { 15796 if (promise._n) return; 15797 promise._n = true; 15798 var chain = promise._c; 15799 microtask(function () { 15800 var value = promise._v; 15801 var ok = promise._s == 1; 15802 var i = 0; 15803 var run = function (reaction) { 15804 var handler = ok ? reaction.ok : reaction.fail; 15805 var resolve = reaction.resolve; 15806 var reject = reaction.reject; 15807 var domain = reaction.domain; 15808 var result, then, exited; 15809 try { 15810 if (handler) { 15811 if (!ok) { 15812 if (promise._h == 2) onHandleUnhandled(promise); 15813 promise._h = 1; 15814 } 15815 if (handler === true) result = value; 15816 else { 15817 if (domain) domain.enter(); 15818 result = handler(value); // may throw 15819 if (domain) { 15820 domain.exit(); 15821 exited = true; 15822 } 15823 } 15824 if (result === reaction.promise) { 15825 reject(TypeError('Promise-chain cycle')); 15826 } else if (then = isThenable(result)) { 15827 then.call(result, resolve, reject); 15828 } else resolve(result); 15829 } else reject(value); 15830 } catch (e) { 15831 if (domain && !exited) domain.exit(); 15832 reject(e); 15833 } 15834 }; 15835 while (chain.length > i) run(chain[i++]); // variable length - can't use forEach 15836 promise._c = []; 15837 promise._n = false; 15838 if (isReject && !promise._h) onUnhandled(promise); 15839 }); 15840}; 15841var onUnhandled = function (promise) { 15842 task.call(global, function () { 15843 var value = promise._v; 15844 var unhandled = isUnhandled(promise); 15845 var result, handler, console; 15846 if (unhandled) { 15847 result = perform(function () { 15848 if (isNode) { 15849 process.emit('unhandledRejection', value, promise); 15850 } else if (handler = global.onunhandledrejection) { 15851 handler({ promise: promise, reason: value }); 15852 } else if ((console = global.console) && console.error) { 15853 console.error('Unhandled promise rejection', value); 15854 } 15855 }); 15856 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should 15857 promise._h = isNode || isUnhandled(promise) ? 2 : 1; 15858 } promise._a = undefined; 15859 if (unhandled && result.e) throw result.v; 15860 }); 15861}; 15862var isUnhandled = function (promise) { 15863 return promise._h !== 1 && (promise._a || promise._c).length === 0; 15864}; 15865var onHandleUnhandled = function (promise) { 15866 task.call(global, function () { 15867 var handler; 15868 if (isNode) { 15869 process.emit('rejectionHandled', promise); 15870 } else if (handler = global.onrejectionhandled) { 15871 handler({ promise: promise, reason: promise._v }); 15872 } 15873 }); 15874}; 15875var $reject = function (value) { 15876 var promise = this; 15877 if (promise._d) return; 15878 promise._d = true; 15879 promise = promise._w || promise; // unwrap 15880 promise._v = value; 15881 promise._s = 2; 15882 if (!promise._a) promise._a = promise._c.slice(); 15883 notify(promise, true); 15884}; 15885var $resolve = function (value) { 15886 var promise = this; 15887 var then; 15888 if (promise._d) return; 15889 promise._d = true; 15890 promise = promise._w || promise; // unwrap 15891 try { 15892 if (promise === value) throw TypeError("Promise can't be resolved itself"); 15893 if (then = isThenable(value)) { 15894 microtask(function () { 15895 var wrapper = { _w: promise, _d: false }; // wrap 15896 try { 15897 then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); 15898 } catch (e) { 15899 $reject.call(wrapper, e); 15900 } 15901 }); 15902 } else { 15903 promise._v = value; 15904 promise._s = 1; 15905 notify(promise, false); 15906 } 15907 } catch (e) { 15908 $reject.call({ _w: promise, _d: false }, e); // wrap 15909 } 15910}; 15911 15912// constructor polyfill 15913if (!USE_NATIVE) { 15914 // 25.4.3.1 Promise(executor) 15915 $Promise = function Promise(executor) { 15916 anInstance(this, $Promise, PROMISE, '_h'); 15917 aFunction(executor); 15918 Internal.call(this); 15919 try { 15920 executor(ctx($resolve, this, 1), ctx($reject, this, 1)); 15921 } catch (err) { 15922 $reject.call(this, err); 15923 } 15924 }; 15925 // eslint-disable-next-line no-unused-vars 15926 Internal = function Promise(executor) { 15927 this._c = []; // <- awaiting reactions 15928 this._a = undefined; // <- checked in isUnhandled reactions 15929 this._s = 0; // <- state 15930 this._d = false; // <- done 15931 this._v = undefined; // <- value 15932 this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled 15933 this._n = false; // <- notify 15934 }; 15935 Internal.prototype = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js")($Promise.prototype, { 15936 // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) 15937 then: function then(onFulfilled, onRejected) { 15938 var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); 15939 reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; 15940 reaction.fail = typeof onRejected == 'function' && onRejected; 15941 reaction.domain = isNode ? process.domain : undefined; 15942 this._c.push(reaction); 15943 if (this._a) this._a.push(reaction); 15944 if (this._s) notify(this, false); 15945 return reaction.promise; 15946 }, 15947 // 25.4.5.1 Promise.prototype.catch(onRejected) 15948 'catch': function (onRejected) { 15949 return this.then(undefined, onRejected); 15950 } 15951 }); 15952 OwnPromiseCapability = function () { 15953 var promise = new Internal(); 15954 this.promise = promise; 15955 this.resolve = ctx($resolve, promise, 1); 15956 this.reject = ctx($reject, promise, 1); 15957 }; 15958 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 15959 return C === $Promise || C === Wrapper 15960 ? new OwnPromiseCapability(C) 15961 : newGenericPromiseCapability(C); 15962 }; 15963} 15964 15965$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); 15966__webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js")($Promise, PROMISE); 15967__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(PROMISE); 15968Wrapper = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js")[PROMISE]; 15969 15970// statics 15971$export($export.S + $export.F * !USE_NATIVE, PROMISE, { 15972 // 25.4.4.5 Promise.reject(r) 15973 reject: function reject(r) { 15974 var capability = newPromiseCapability(this); 15975 var $$reject = capability.reject; 15976 $$reject(r); 15977 return capability.promise; 15978 } 15979}); 15980$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { 15981 // 25.4.4.6 Promise.resolve(x) 15982 resolve: function resolve(x) { 15983 return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); 15984 } 15985}); 15986$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { 15987 $Promise.all(iter)['catch'](empty); 15988})), PROMISE, { 15989 // 25.4.4.1 Promise.all(iterable) 15990 all: function all(iterable) { 15991 var C = this; 15992 var capability = newPromiseCapability(C); 15993 var resolve = capability.resolve; 15994 var reject = capability.reject; 15995 var result = perform(function () { 15996 var values = []; 15997 var index = 0; 15998 var remaining = 1; 15999 forOf(iterable, false, function (promise) { 16000 var $index = index++; 16001 var alreadyCalled = false; 16002 values.push(undefined); 16003 remaining++; 16004 C.resolve(promise).then(function (value) { 16005 if (alreadyCalled) return; 16006 alreadyCalled = true; 16007 values[$index] = value; 16008 --remaining || resolve(values); 16009 }, reject); 16010 }); 16011 --remaining || resolve(values); 16012 }); 16013 if (result.e) reject(result.v); 16014 return capability.promise; 16015 }, 16016 // 25.4.4.4 Promise.race(iterable) 16017 race: function race(iterable) { 16018 var C = this; 16019 var capability = newPromiseCapability(C); 16020 var reject = capability.reject; 16021 var result = perform(function () { 16022 forOf(iterable, false, function (promise) { 16023 C.resolve(promise).then(capability.resolve, reject); 16024 }); 16025 }); 16026 if (result.e) reject(result.v); 16027 return capability.promise; 16028 } 16029}); 16030 16031 16032/***/ }), 16033
vendor: 1,322 bytes, lines 16034-16060
16034/***/ "./node_modules/core-js/modules/es6.reflect.apply.js": 16035/*!***********************************************************!*\ 16036 !*** ./node_modules/core-js/modules/es6.reflect.apply.js ***! 16037 \***********************************************************/ 16038/*! no static exports found */ 16039/***/ (function(module, exports, __webpack_require__) { 16040 16041// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) 16042var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16043var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 16044var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16045var rApply = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).apply; 16046var fApply = Function.apply; 16047// MS Edge argumentsList argument is optional 16048$export($export.S + $export.F * !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 16049 rApply(function () { /* empty */ }); 16050}), 'Reflect', { 16051 apply: function apply(target, thisArgument, argumentsList) { 16052 var T = aFunction(target); 16053 var L = anObject(argumentsList); 16054 return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); 16055 } 16056}); 16057 16058 16059/***/ }), 16060
vendor: 2,867 bytes, lines 16061-16118
16061/***/ "./node_modules/core-js/modules/es6.reflect.construct.js": 16062/*!***************************************************************!*\ 16063 !*** ./node_modules/core-js/modules/es6.reflect.construct.js ***! 16064 \***************************************************************/ 16065/*! no static exports found */ 16066/***/ (function(module, exports, __webpack_require__) { 16067 16068// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) 16069var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16070var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); 16071var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 16072var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16073var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 16074var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 16075var bind = __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js"); 16076var rConstruct = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).construct; 16077 16078// MS Edge supports only 2 arguments and argumentsList argument is optional 16079// FF Nightly sets third argument as `new.target`, but does not create `this` from it 16080var NEW_TARGET_BUG = fails(function () { 16081 function F() { /* empty */ } 16082 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); 16083}); 16084var ARGS_BUG = !fails(function () { 16085 rConstruct(function () { /* empty */ }); 16086}); 16087 16088$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { 16089 construct: function construct(Target, args /* , newTarget */) { 16090 aFunction(Target); 16091 anObject(args); 16092 var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); 16093 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); 16094 if (Target == newTarget) { 16095 // w/o altered newTarget, optimization for 0-4 arguments 16096 switch (args.length) { 16097 case 0: return new Target(); 16098 case 1: return new Target(args[0]); 16099 case 2: return new Target(args[0], args[1]); 16100 case 3: return new Target(args[0], args[1], args[2]); 16101 case 4: return new Target(args[0], args[1], args[2], args[3]); 16102 } 16103 // w/o altered newTarget, lot of arguments case 16104 var $args = [null]; 16105 $args.push.apply($args, args); 16106 return new (bind.apply(Target, $args))(); 16107 } 16108 // with altered newTarget, not support built-in constructors 16109 var proto = newTarget.prototype; 16110 var instance = create(isObject(proto) ? proto : Object.prototype); 16111 var result = Function.apply.call(Target, instance, args); 16112 return isObject(result) ? result : instance; 16113 } 16114}); 16115 16116 16117/***/ }), 16118
vendor: 1,511 bytes, lines 16119-16152
16119/***/ "./node_modules/core-js/modules/es6.reflect.define-property.js": 16120/*!*********************************************************************!*\ 16121 !*** ./node_modules/core-js/modules/es6.reflect.define-property.js ***! 16122 \*********************************************************************/ 16123/*! no static exports found */ 16124/***/ (function(module, exports, __webpack_require__) { 16125 16126// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) 16127var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 16128var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16129var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16130var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 16131 16132// MS Edge has broken Reflect.defineProperty - throwing instead of returning false 16133$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 16134 // eslint-disable-next-line no-undef 16135 Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); 16136}), 'Reflect', { 16137 defineProperty: function defineProperty(target, propertyKey, attributes) { 16138 anObject(target); 16139 propertyKey = toPrimitive(propertyKey, true); 16140 anObject(attributes); 16141 try { 16142 dP.f(target, propertyKey, attributes); 16143 return true; 16144 } catch (e) { 16145 return false; 16146 } 16147 } 16148}); 16149 16150 16151/***/ }), 16152
vendor: 991 bytes, lines 16153-16174
16153/***/ "./node_modules/core-js/modules/es6.reflect.delete-property.js": 16154/*!*********************************************************************!*\ 16155 !*** ./node_modules/core-js/modules/es6.reflect.delete-property.js ***! 16156 \*********************************************************************/ 16157/*! no static exports found */ 16158/***/ (function(module, exports, __webpack_require__) { 16159 16160// 26.1.4 Reflect.deleteProperty(target, propertyKey) 16161var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16162var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; 16163var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16164 16165$export($export.S, 'Reflect', { 16166 deleteProperty: function deleteProperty(target, propertyKey) { 16167 var desc = gOPD(anObject(target), propertyKey); 16168 return desc && !desc.configurable ? false : delete target[propertyKey]; 16169 } 16170}); 16171 16172 16173/***/ }), 16174
vendor: 1,313 bytes, lines 16175-16212
16175/***/ "./node_modules/core-js/modules/es6.reflect.enumerate.js": 16176/*!***************************************************************!*\ 16177 !*** ./node_modules/core-js/modules/es6.reflect.enumerate.js ***! 16178 \***************************************************************/ 16179/*! no static exports found */ 16180/***/ (function(module, exports, __webpack_require__) { 16181 16182"use strict"; 16183 16184// 26.1.5 Reflect.enumerate(target) 16185var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16186var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16187var Enumerate = function (iterated) { 16188 this._t = anObject(iterated); // target 16189 this._i = 0; // next index 16190 var keys = this._k = []; // keys 16191 var key; 16192 for (key in iterated) keys.push(key); 16193}; 16194__webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { 16195 var that = this; 16196 var keys = that._k; 16197 var key; 16198 do { 16199 if (that._i >= keys.length) return { value: undefined, done: true }; 16200 } while (!((key = keys[that._i++]) in that._t)); 16201 return { value: key, done: false }; 16202}); 16203 16204$export($export.S, 'Reflect', { 16205 enumerate: function enumerate(target) { 16206 return new Enumerate(target); 16207 } 16208}); 16209 16210 16211/***/ }), 16212
vendor: 989 bytes, lines 16213-16233
16213/***/ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": 16214/*!*********************************************************************************!*\ 16215 !*** ./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js ***! 16216 \*********************************************************************************/ 16217/*! no static exports found */ 16218/***/ (function(module, exports, __webpack_require__) { 16219 16220// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) 16221var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 16222var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16223var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16224 16225$export($export.S, 'Reflect', { 16226 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { 16227 return gOPD.f(anObject(target), propertyKey); 16228 } 16229}); 16230 16231 16232/***/ }), 16233
vendor: 880 bytes, lines 16234-16254
16234/***/ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": 16235/*!**********************************************************************!*\ 16236 !*** ./node_modules/core-js/modules/es6.reflect.get-prototype-of.js ***! 16237 \**********************************************************************/ 16238/*! no static exports found */ 16239/***/ (function(module, exports, __webpack_require__) { 16240 16241// 26.1.8 Reflect.getPrototypeOf(target) 16242var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16243var getProto = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 16244var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16245 16246$export($export.S, 'Reflect', { 16247 getPrototypeOf: function getPrototypeOf(target) { 16248 return getProto(anObject(target)); 16249 } 16250}); 16251 16252 16253/***/ }), 16254
vendor: 1,516 bytes, lines 16255-16286
16255/***/ "./node_modules/core-js/modules/es6.reflect.get.js": 16256/*!*********************************************************!*\ 16257 !*** ./node_modules/core-js/modules/es6.reflect.get.js ***! 16258 \*********************************************************/ 16259/*! no static exports found */ 16260/***/ (function(module, exports, __webpack_require__) { 16261 16262// 26.1.6 Reflect.get(target, propertyKey [, receiver]) 16263var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 16264var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 16265var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 16266var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16267var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 16268var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16269 16270function get(target, propertyKey /* , receiver */) { 16271 var receiver = arguments.length < 3 ? target : arguments[2]; 16272 var desc, proto; 16273 if (anObject(target) === receiver) return target[propertyKey]; 16274 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') 16275 ? desc.value 16276 : desc.get !== undefined 16277 ? desc.get.call(receiver) 16278 : undefined; 16279 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); 16280} 16281 16282$export($export.S, 'Reflect', { get: get }); 16283 16284 16285/***/ }), 16286
vendor: 606 bytes, lines 16287-16305
16287/***/ "./node_modules/core-js/modules/es6.reflect.has.js": 16288/*!*********************************************************!*\ 16289 !*** ./node_modules/core-js/modules/es6.reflect.has.js ***! 16290 \*********************************************************/ 16291/*! no static exports found */ 16292/***/ (function(module, exports, __webpack_require__) { 16293 16294// 26.1.9 Reflect.has(target, propertyKey) 16295var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16296 16297$export($export.S, 'Reflect', { 16298 has: function has(target, propertyKey) { 16299 return propertyKey in target; 16300 } 16301}); 16302 16303 16304/***/ }), 16305
vendor: 838 bytes, lines 16306-16327
16306/***/ "./node_modules/core-js/modules/es6.reflect.is-extensible.js": 16307/*!*******************************************************************!*\ 16308 !*** ./node_modules/core-js/modules/es6.reflect.is-extensible.js ***! 16309 \*******************************************************************/ 16310/*! no static exports found */ 16311/***/ (function(module, exports, __webpack_require__) { 16312 16313// 26.1.10 Reflect.isExtensible(target) 16314var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16315var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16316var $isExtensible = Object.isExtensible; 16317 16318$export($export.S, 'Reflect', { 16319 isExtensible: function isExtensible(target) { 16320 anObject(target); 16321 return $isExtensible ? $isExtensible(target) : true; 16322 } 16323}); 16324 16325 16326/***/ }), 16327
vendor: 632 bytes, lines 16328-16342
16328/***/ "./node_modules/core-js/modules/es6.reflect.own-keys.js": 16329/*!**************************************************************!*\ 16330 !*** ./node_modules/core-js/modules/es6.reflect.own-keys.js ***! 16331 \**************************************************************/ 16332/*! no static exports found */ 16333/***/ (function(module, exports, __webpack_require__) { 16334 16335// 26.1.11 Reflect.ownKeys(target) 16336var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16337 16338$export($export.S, 'Reflect', { ownKeys: __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js") }); 16339 16340 16341/***/ }), 16342
vendor: 957 bytes, lines 16343-16369
16343/***/ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": 16344/*!************************************************************************!*\ 16345 !*** ./node_modules/core-js/modules/es6.reflect.prevent-extensions.js ***! 16346 \************************************************************************/ 16347/*! no static exports found */ 16348/***/ (function(module, exports, __webpack_require__) { 16349 16350// 26.1.12 Reflect.preventExtensions(target) 16351var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16352var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16353var $preventExtensions = Object.preventExtensions; 16354 16355$export($export.S, 'Reflect', { 16356 preventExtensions: function preventExtensions(target) { 16357 anObject(target); 16358 try { 16359 if ($preventExtensions) $preventExtensions(target); 16360 return true; 16361 } catch (e) { 16362 return false; 16363 } 16364 } 16365}); 16366 16367 16368/***/ }), 16369
vendor: 907 bytes, lines 16370-16395
16370/***/ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": 16371/*!**********************************************************************!*\ 16372 !*** ./node_modules/core-js/modules/es6.reflect.set-prototype-of.js ***! 16373 \**********************************************************************/ 16374/*! no static exports found */ 16375/***/ (function(module, exports, __webpack_require__) { 16376 16377// 26.1.14 Reflect.setPrototypeOf(target, proto) 16378var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16379var setProto = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js"); 16380 16381if (setProto) $export($export.S, 'Reflect', { 16382 setPrototypeOf: function setPrototypeOf(target, proto) { 16383 setProto.check(target, proto); 16384 try { 16385 setProto.set(target, proto); 16386 return true; 16387 } catch (e) { 16388 return false; 16389 } 16390 } 16391}); 16392 16393 16394/***/ }), 16395
vendor: 2,179 bytes, lines 16396-16439
16396/***/ "./node_modules/core-js/modules/es6.reflect.set.js": 16397/*!*********************************************************!*\ 16398 !*** ./node_modules/core-js/modules/es6.reflect.set.js ***! 16399 \*********************************************************/ 16400/*! no static exports found */ 16401/***/ (function(module, exports, __webpack_require__) { 16402 16403// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) 16404var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 16405var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 16406var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); 16407var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 16408var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 16409var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 16410var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16411var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 16412 16413function set(target, propertyKey, V /* , receiver */) { 16414 var receiver = arguments.length < 4 ? target : arguments[3]; 16415 var ownDesc = gOPD.f(anObject(target), propertyKey); 16416 var existingDescriptor, proto; 16417 if (!ownDesc) { 16418 if (isObject(proto = getPrototypeOf(target))) { 16419 return set(proto, propertyKey, V, receiver); 16420 } 16421 ownDesc = createDesc(0); 16422 } 16423 if (has(ownDesc, 'value')) { 16424 if (ownDesc.writable === false || !isObject(receiver)) return false; 16425 if (existingDescriptor = gOPD.f(receiver, propertyKey)) { 16426 if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; 16427 existingDescriptor.value = V; 16428 dP.f(receiver, propertyKey, existingDescriptor); 16429 } else dP.f(receiver, propertyKey, createDesc(0, V)); 16430 return true; 16431 } 16432 return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); 16433} 16434 16435$export($export.S, 'Reflect', { set: set }); 16436 16437 16438/***/ }), 16439
vendor: 2,686 bytes, lines 16440-16493
16440/***/ "./node_modules/core-js/modules/es6.regexp.constructor.js": 16441/*!****************************************************************!*\ 16442 !*** ./node_modules/core-js/modules/es6.regexp.constructor.js ***! 16443 \****************************************************************/ 16444/*! no static exports found */ 16445/***/ (function(module, exports, __webpack_require__) { 16446 16447var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 16448var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); 16449var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; 16450var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; 16451var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); 16452var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); 16453var $RegExp = global.RegExp; 16454var Base = $RegExp; 16455var proto = $RegExp.prototype; 16456var re1 = /a/g; 16457var re2 = /a/g; 16458// "new" creates a new object, old webkit buggy here 16459var CORRECT_NEW = new $RegExp(re1) !== re1; 16460 16461if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && (!CORRECT_NEW || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 16462 re2[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match')] = false; 16463 // RegExp constructor can alter flags and IsRegExp works correct with @@match 16464 return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; 16465}))) { 16466 $RegExp = function RegExp(p, f) { 16467 var tiRE = this instanceof $RegExp; 16468 var piRE = isRegExp(p); 16469 var fiU = f === undefined; 16470 return !tiRE && piRE && p.constructor === $RegExp && fiU ? p 16471 : inheritIfRequired(CORRECT_NEW 16472 ? new Base(piRE && !fiU ? p.source : p, f) 16473 : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) 16474 , tiRE ? this : proto, $RegExp); 16475 }; 16476 var proxy = function (key) { 16477 key in $RegExp || dP($RegExp, key, { 16478 configurable: true, 16479 get: function () { return Base[key]; }, 16480 set: function (it) { Base[key] = it; } 16481 }); 16482 }; 16483 for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); 16484 proto.constructor = $RegExp; 16485 $RegExp.prototype = proto; 16486 __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, 'RegExp', $RegExp); 16487} 16488 16489__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('RegExp'); 16490 16491 16492/***/ }), 16493
vendor: 654 bytes, lines 16494-16514
16494/***/ "./node_modules/core-js/modules/es6.regexp.exec.js": 16495/*!*********************************************************!*\ 16496 !*** ./node_modules/core-js/modules/es6.regexp.exec.js ***! 16497 \*********************************************************/ 16498/*! no static exports found */ 16499/***/ (function(module, exports, __webpack_require__) { 16500 16501"use strict"; 16502 16503var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); 16504__webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js")({ 16505 target: 'RegExp', 16506 proto: true, 16507 forced: regexpExec !== /./.exec 16508}, { 16509 exec: regexpExec 16510}); 16511 16512 16513/***/ }), 16514
vendor: 743 bytes, lines 16515-16530
16515/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": 16516/*!**********************************************************!*\ 16517 !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! 16518 \**********************************************************/ 16519/*! no static exports found */ 16520/***/ (function(module, exports, __webpack_require__) { 16521 16522// 21.2.5.3 get RegExp.prototype.flags() 16523if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { 16524 configurable: true, 16525 get: __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js") 16526}); 16527 16528 16529/***/ }), 16530
vendor: 2,092 bytes, lines 16531-16582
16531/***/ "./node_modules/core-js/modules/es6.regexp.match.js": 16532/*!**********************************************************!*\ 16533 !*** ./node_modules/core-js/modules/es6.regexp.match.js ***! 16534 \**********************************************************/ 16535/*! no static exports found */ 16536/***/ (function(module, exports, __webpack_require__) { 16537 16538"use strict"; 16539 16540 16541var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16542var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 16543var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); 16544var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); 16545 16546// @@match logic 16547__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('match', 1, function (defined, MATCH, $match, maybeCallNative) { 16548 return [ 16549 // `String.prototype.match` method 16550 // https://tc39.github.io/ecma262/#sec-string.prototype.match 16551 function match(regexp) { 16552 var O = defined(this); 16553 var fn = regexp == undefined ? undefined : regexp[MATCH]; 16554 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); 16555 }, 16556 // `RegExp.prototype[@@match]` method 16557 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match 16558 function (regexp) { 16559 var res = maybeCallNative($match, regexp, this); 16560 if (res.done) return res.value; 16561 var rx = anObject(regexp); 16562 var S = String(this); 16563 if (!rx.global) return regExpExec(rx, S); 16564 var fullUnicode = rx.unicode; 16565 rx.lastIndex = 0; 16566 var A = []; 16567 var n = 0; 16568 var result; 16569 while ((result = regExpExec(rx, S)) !== null) { 16570 var matchStr = String(result[0]); 16571 A[n] = matchStr; 16572 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 16573 n++; 16574 } 16575 return n === 0 ? null : A; 16576 } 16577 ]; 16578}); 16579 16580 16581/***/ }), 16582
vendor: 5,490 bytes, lines 16583-16712
16583/***/ "./node_modules/core-js/modules/es6.regexp.replace.js": 16584/*!************************************************************!*\ 16585 !*** ./node_modules/core-js/modules/es6.regexp.replace.js ***! 16586 \************************************************************/ 16587/*! no static exports found */ 16588/***/ (function(module, exports, __webpack_require__) { 16589 16590"use strict"; 16591 16592 16593var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16594var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 16595var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 16596var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); 16597var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); 16598var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); 16599var max = Math.max; 16600var min = Math.min; 16601var floor = Math.floor; 16602var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; 16603var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; 16604 16605var maybeToString = function (it) { 16606 return it === undefined ? it : String(it); 16607}; 16608 16609// @@replace logic 16610__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { 16611 return [ 16612 // `String.prototype.replace` method 16613 // https://tc39.github.io/ecma262/#sec-string.prototype.replace 16614 function replace(searchValue, replaceValue) { 16615 var O = defined(this); 16616 var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; 16617 return fn !== undefined 16618 ? fn.call(searchValue, O, replaceValue) 16619 : $replace.call(String(O), searchValue, replaceValue); 16620 }, 16621 // `RegExp.prototype[@@replace]` method 16622 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace 16623 function (regexp, replaceValue) { 16624 var res = maybeCallNative($replace, regexp, this, replaceValue); 16625 if (res.done) return res.value; 16626 16627 var rx = anObject(regexp); 16628 var S = String(this); 16629 var functionalReplace = typeof replaceValue === 'function'; 16630 if (!functionalReplace) replaceValue = String(replaceValue); 16631 var global = rx.global; 16632 if (global) { 16633 var fullUnicode = rx.unicode; 16634 rx.lastIndex = 0; 16635 } 16636 var results = []; 16637 while (true) { 16638 var result = regExpExec(rx, S); 16639 if (result === null) break; 16640 results.push(result); 16641 if (!global) break; 16642 var matchStr = String(result[0]); 16643 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 16644 } 16645 var accumulatedResult = ''; 16646 var nextSourcePosition = 0; 16647 for (var i = 0; i < results.length; i++) { 16648 result = results[i]; 16649 var matched = String(result[0]); 16650 var position = max(min(toInteger(result.index), S.length), 0); 16651 var captures = []; 16652 // NOTE: This is equivalent to 16653 // captures = result.slice(1).map(maybeToString) 16654 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in 16655 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and 16656 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. 16657 for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); 16658 var namedCaptures = result.groups; 16659 if (functionalReplace) { 16660 var replacerArgs = [matched].concat(captures, position, S); 16661 if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); 16662 var replacement = String(replaceValue.apply(undefined, replacerArgs)); 16663 } else { 16664 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 16665 } 16666 if (position >= nextSourcePosition) { 16667 accumulatedResult += S.slice(nextSourcePosition, position) + replacement; 16668 nextSourcePosition = position + matched.length; 16669 } 16670 } 16671 return accumulatedResult + S.slice(nextSourcePosition); 16672 } 16673 ]; 16674 16675 // https://tc39.github.io/ecma262/#sec-getsubstitution 16676 function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { 16677 var tailPos = position + matched.length; 16678 var m = captures.length; 16679 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 16680 if (namedCaptures !== undefined) { 16681 namedCaptures = toObject(namedCaptures); 16682 symbols = SUBSTITUTION_SYMBOLS; 16683 } 16684 return $replace.call(replacement, symbols, function (match, ch) { 16685 var capture; 16686 switch (ch.charAt(0)) { 16687 case '$': return '$'; 16688 case '&': return matched; 16689 case '`': return str.slice(0, position); 16690 case "'": return str.slice(tailPos); 16691 case '<': 16692 capture = namedCaptures[ch.slice(1, -1)]; 16693 break; 16694 default: // \d\d? 16695 var n = +ch; 16696 if (n === 0) return match; 16697 if (n > m) { 16698 var f = floor(n / 10); 16699 if (f === 0) return match; 16700 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); 16701 return match; 16702 } 16703 capture = captures[n - 1]; 16704 } 16705 return capture === undefined ? '' : capture; 16706 }); 16707 } 16708}); 16709 16710 16711/***/ }), 16712
vendor: 1,818 bytes, lines 16713-16755
16713/***/ "./node_modules/core-js/modules/es6.regexp.search.js": 16714/*!***********************************************************!*\ 16715 !*** ./node_modules/core-js/modules/es6.regexp.search.js ***! 16716 \***********************************************************/ 16717/*! no static exports found */ 16718/***/ (function(module, exports, __webpack_require__) { 16719 16720"use strict"; 16721 16722 16723var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16724var sameValue = __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js"); 16725var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); 16726 16727// @@search logic 16728__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('search', 1, function (defined, SEARCH, $search, maybeCallNative) { 16729 return [ 16730 // `String.prototype.search` method 16731 // https://tc39.github.io/ecma262/#sec-string.prototype.search 16732 function search(regexp) { 16733 var O = defined(this); 16734 var fn = regexp == undefined ? undefined : regexp[SEARCH]; 16735 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); 16736 }, 16737 // `RegExp.prototype[@@search]` method 16738 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search 16739 function (regexp) { 16740 var res = maybeCallNative($search, regexp, this); 16741 if (res.done) return res.value; 16742 var rx = anObject(regexp); 16743 var S = String(this); 16744 var previousLastIndex = rx.lastIndex; 16745 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; 16746 var result = regExpExec(rx, S); 16747 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; 16748 return result === null ? -1 : result.index; 16749 } 16750 ]; 16751}); 16752 16753 16754/***/ }), 16755
vendor: 6,187 bytes, lines 16756-16901
16756/***/ "./node_modules/core-js/modules/es6.regexp.split.js": 16757/*!**********************************************************!*\ 16758 !*** ./node_modules/core-js/modules/es6.regexp.split.js ***! 16759 \**********************************************************/ 16760/*! no static exports found */ 16761/***/ (function(module, exports, __webpack_require__) { 16762 16763"use strict"; 16764 16765 16766var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); 16767var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16768var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); 16769var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); 16770var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 16771var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); 16772var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); 16773var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 16774var $min = Math.min; 16775var $push = [].push; 16776var $SPLIT = 'split'; 16777var LENGTH = 'length'; 16778var LAST_INDEX = 'lastIndex'; 16779var MAX_UINT32 = 0xffffffff; 16780 16781// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError 16782var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); 16783 16784// @@split logic 16785__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { 16786 var internalSplit; 16787 if ( 16788 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 16789 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 16790 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || 16791 '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || 16792 '.'[$SPLIT](/()()/)[LENGTH] > 1 || 16793 ''[$SPLIT](/.?/)[LENGTH] 16794 ) { 16795 // based on es5-shim implementation, need to rework it 16796 internalSplit = function (separator, limit) { 16797 var string = String(this); 16798 if (separator === undefined && limit === 0) return []; 16799 // If `separator` is not a regex, use native split 16800 if (!isRegExp(separator)) return $split.call(string, separator, limit); 16801 var output = []; 16802 var flags = (separator.ignoreCase ? 'i' : '') + 16803 (separator.multiline ? 'm' : '') + 16804 (separator.unicode ? 'u' : '') + 16805 (separator.sticky ? 'y' : ''); 16806 var lastLastIndex = 0; 16807 var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; 16808 // Make `global` and avoid `lastIndex` issues by working with a copy 16809 var separatorCopy = new RegExp(separator.source, flags + 'g'); 16810 var match, lastIndex, lastLength; 16811 while (match = regexpExec.call(separatorCopy, string)) { 16812 lastIndex = separatorCopy[LAST_INDEX]; 16813 if (lastIndex > lastLastIndex) { 16814 output.push(string.slice(lastLastIndex, match.index)); 16815 if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); 16816 lastLength = match[0][LENGTH]; 16817 lastLastIndex = lastIndex; 16818 if (output[LENGTH] >= splitLimit) break; 16819 } 16820 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop 16821 } 16822 if (lastLastIndex === string[LENGTH]) { 16823 if (lastLength || !separatorCopy.test('')) output.push(''); 16824 } else output.push(string.slice(lastLastIndex)); 16825 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; 16826 }; 16827 // Chakra, V8 16828 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { 16829 internalSplit = function (separator, limit) { 16830 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); 16831 }; 16832 } else { 16833 internalSplit = $split; 16834 } 16835 16836 return [ 16837 // `String.prototype.split` method 16838 // https://tc39.github.io/ecma262/#sec-string.prototype.split 16839 function split(separator, limit) { 16840 var O = defined(this); 16841 var splitter = separator == undefined ? undefined : separator[SPLIT]; 16842 return splitter !== undefined 16843 ? splitter.call(separator, O, limit) 16844 : internalSplit.call(String(O), separator, limit); 16845 }, 16846 // `RegExp.prototype[@@split]` method 16847 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split 16848 // 16849 // NOTE: This cannot be properly polyfilled in engines that don't support 16850 // the 'y' flag. 16851 function (regexp, limit) { 16852 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); 16853 if (res.done) return res.value; 16854 16855 var rx = anObject(regexp); 16856 var S = String(this); 16857 var C = speciesConstructor(rx, RegExp); 16858 16859 var unicodeMatching = rx.unicode; 16860 var flags = (rx.ignoreCase ? 'i' : '') + 16861 (rx.multiline ? 'm' : '') + 16862 (rx.unicode ? 'u' : '') + 16863 (SUPPORTS_Y ? 'y' : 'g'); 16864 16865 // ^(? + rx + ) is needed, in combination with some S slicing, to 16866 // simulate the 'y' flag. 16867 var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); 16868 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; 16869 if (lim === 0) return []; 16870 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; 16871 var p = 0; 16872 var q = 0; 16873 var A = []; 16874 while (q < S.length) { 16875 splitter.lastIndex = SUPPORTS_Y ? q : 0; 16876 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); 16877 var e; 16878 if ( 16879 z === null || 16880 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p 16881 ) { 16882 q = advanceStringIndex(S, q, unicodeMatching); 16883 } else { 16884 A.push(S.slice(p, q)); 16885 if (A.length === lim) return A; 16886 for (var i = 1; i <= z.length - 1; i++) { 16887 A.push(z[i]); 16888 if (A.length === lim) return A; 16889 } 16890 q = p = e; 16891 } 16892 } 16893 A.push(S.slice(p)); 16894 return A; 16895 } 16896 ]; 16897}); 16898 16899 16900/***/ }), 16901
vendor: 1,578 bytes, lines 16902-16938
16902/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": 16903/*!**************************************************************!*\ 16904 !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! 16905 \**************************************************************/ 16906/*! no static exports found */ 16907/***/ (function(module, exports, __webpack_require__) { 16908 16909"use strict"; 16910 16911__webpack_require__(/*! ./es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); 16912var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 16913var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); 16914var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 16915var TO_STRING = 'toString'; 16916var $toString = /./[TO_STRING]; 16917 16918var define = function (fn) { 16919 __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); 16920}; 16921 16922// 21.2.5.14 RegExp.prototype.toString() 16923if (__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { 16924 define(function toString() { 16925 var R = anObject(this); 16926 return '/'.concat(R.source, '/', 16927 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); 16928 }); 16929// FF44- RegExp#toString has a wrong name 16930} else if ($toString.name != TO_STRING) { 16931 define(function toString() { 16932 return $toString.call(this); 16933 }); 16934} 16935 16936 16937/***/ }), 16938
vendor: 1,009 bytes, lines 16939-16964
16939/***/ "./node_modules/core-js/modules/es6.set.js": 16940/*!*************************************************!*\ 16941 !*** ./node_modules/core-js/modules/es6.set.js ***! 16942 \*************************************************/ 16943/*! no static exports found */ 16944/***/ (function(module, exports, __webpack_require__) { 16945 16946"use strict"; 16947 16948var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); 16949var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 16950var SET = 'Set'; 16951 16952// 23.2 Set Objects 16953module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(SET, function (get) { 16954 return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 16955}, { 16956 // 23.2.3.1 Set.prototype.add(value) 16957 add: function add(value) { 16958 return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); 16959 } 16960}, strong); 16961 16962 16963/***/ }), 16964
vendor: 628 bytes, lines 16965-16983
16965/***/ "./node_modules/core-js/modules/es6.string.anchor.js": 16966/*!***********************************************************!*\ 16967 !*** ./node_modules/core-js/modules/es6.string.anchor.js ***! 16968 \***********************************************************/ 16969/*! no static exports found */ 16970/***/ (function(module, exports, __webpack_require__) { 16971 16972"use strict"; 16973 16974// B.2.3.2 String.prototype.anchor(name) 16975__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('anchor', function (createHTML) { 16976 return function anchor(name) { 16977 return createHTML(this, 'a', 'name', name); 16978 }; 16979}); 16980 16981 16982/***/ }), 16983
vendor: 595 bytes, lines 16984-17002
16984/***/ "./node_modules/core-js/modules/es6.string.big.js": 16985/*!********************************************************!*\ 16986 !*** ./node_modules/core-js/modules/es6.string.big.js ***! 16987 \********************************************************/ 16988/*! no static exports found */ 16989/***/ (function(module, exports, __webpack_require__) { 16990 16991"use strict"; 16992 16993// B.2.3.3 String.prototype.big() 16994__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('big', function (createHTML) { 16995 return function big() { 16996 return createHTML(this, 'big', '', ''); 16997 }; 16998}); 16999 17000 17001/***/ }), 17002
vendor: 611 bytes, lines 17003-17021
17003/***/ "./node_modules/core-js/modules/es6.string.blink.js": 17004/*!**********************************************************!*\ 17005 !*** ./node_modules/core-js/modules/es6.string.blink.js ***! 17006 \**********************************************************/ 17007/*! no static exports found */ 17008/***/ (function(module, exports, __webpack_require__) { 17009 17010"use strict"; 17011 17012// B.2.3.4 String.prototype.blink() 17013__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('blink', function (createHTML) { 17014 return function blink() { 17015 return createHTML(this, 'blink', '', ''); 17016 }; 17017}); 17018 17019 17020/***/ }), 17021
vendor: 600 bytes, lines 17022-17040
17022/***/ "./node_modules/core-js/modules/es6.string.bold.js": 17023/*!*********************************************************!*\ 17024 !*** ./node_modules/core-js/modules/es6.string.bold.js ***! 17025 \*********************************************************/ 17026/*! no static exports found */ 17027/***/ (function(module, exports, __webpack_require__) { 17028 17029"use strict"; 17030 17031// B.2.3.5 String.prototype.bold() 17032__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('bold', function (createHTML) { 17033 return function bold() { 17034 return createHTML(this, 'b', '', ''); 17035 }; 17036}); 17037 17038 17039/***/ }), 17040
vendor: 759 bytes, lines 17041-17061
17041/***/ "./node_modules/core-js/modules/es6.string.code-point-at.js": 17042/*!******************************************************************!*\ 17043 !*** ./node_modules/core-js/modules/es6.string.code-point-at.js ***! 17044 \******************************************************************/ 17045/*! no static exports found */ 17046/***/ (function(module, exports, __webpack_require__) { 17047 17048"use strict"; 17049 17050var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17051var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(false); 17052$export($export.P, 'String', { 17053 // 21.1.3.3 String.prototype.codePointAt(pos) 17054 codePointAt: function codePointAt(pos) { 17055 return $at(this, pos); 17056 } 17057}); 17058 17059 17060/***/ }), 17061
vendor: 1,473 bytes, lines 17062-17093
17062/***/ "./node_modules/core-js/modules/es6.string.ends-with.js": 17063/*!**************************************************************!*\ 17064 !*** ./node_modules/core-js/modules/es6.string.ends-with.js ***! 17065 \**************************************************************/ 17066/*! no static exports found */ 17067/***/ (function(module, exports, __webpack_require__) { 17068 17069"use strict"; 17070// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 17071 17072var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17073var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 17074var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); 17075var ENDS_WITH = 'endsWith'; 17076var $endsWith = ''[ENDS_WITH]; 17077 17078$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(ENDS_WITH), 'String', { 17079 endsWith: function endsWith(searchString /* , endPosition = @length */) { 17080 var that = context(this, searchString, ENDS_WITH); 17081 var endPosition = arguments.length > 1 ? arguments[1] : undefined; 17082 var len = toLength(that.length); 17083 var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); 17084 var search = String(searchString); 17085 return $endsWith 17086 ? $endsWith.call(that, search, end) 17087 : that.slice(end - search.length, end) === search; 17088 } 17089}); 17090 17091 17092/***/ }), 17093
vendor: 608 bytes, lines 17094-17112
17094/***/ "./node_modules/core-js/modules/es6.string.fixed.js": 17095/*!**********************************************************!*\ 17096 !*** ./node_modules/core-js/modules/es6.string.fixed.js ***! 17097 \**********************************************************/ 17098/*! no static exports found */ 17099/***/ (function(module, exports, __webpack_require__) { 17100 17101"use strict"; 17102 17103// B.2.3.6 String.prototype.fixed() 17104__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fixed', function (createHTML) { 17105 return function fixed() { 17106 return createHTML(this, 'tt', '', ''); 17107 }; 17108}); 17109 17110 17111/***/ }), 17112
vendor: 656 bytes, lines 17113-17131
17113/***/ "./node_modules/core-js/modules/es6.string.fontcolor.js": 17114/*!**************************************************************!*\ 17115 !*** ./node_modules/core-js/modules/es6.string.fontcolor.js ***! 17116 \**************************************************************/ 17117/*! no static exports found */ 17118/***/ (function(module, exports, __webpack_require__) { 17119 17120"use strict"; 17121 17122// B.2.3.7 String.prototype.fontcolor(color) 17123__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontcolor', function (createHTML) { 17124 return function fontcolor(color) { 17125 return createHTML(this, 'font', 'color', color); 17126 }; 17127}); 17128 17129 17130/***/ }), 17131
vendor: 645 bytes, lines 17132-17150
17132/***/ "./node_modules/core-js/modules/es6.string.fontsize.js": 17133/*!*************************************************************!*\ 17134 !*** ./node_modules/core-js/modules/es6.string.fontsize.js ***! 17135 \*************************************************************/ 17136/*! no static exports found */ 17137/***/ (function(module, exports, __webpack_require__) { 17138 17139"use strict"; 17140 17141// B.2.3.8 String.prototype.fontsize(size) 17142__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontsize', function (createHTML) { 17143 return function fontsize(size) { 17144 return createHTML(this, 'font', 'size', size); 17145 }; 17146}); 17147 17148 17149/***/ }), 17150
vendor: 1,390 bytes, lines 17151-17184
17151/***/ "./node_modules/core-js/modules/es6.string.from-code-point.js": 17152/*!********************************************************************!*\ 17153 !*** ./node_modules/core-js/modules/es6.string.from-code-point.js ***! 17154 \********************************************************************/ 17155/*! no static exports found */ 17156/***/ (function(module, exports, __webpack_require__) { 17157 17158var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17159var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 17160var fromCharCode = String.fromCharCode; 17161var $fromCodePoint = String.fromCodePoint; 17162 17163// length should be 1, old FF problem 17164$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { 17165 // 21.1.2.2 String.fromCodePoint(...codePoints) 17166 fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars 17167 var res = []; 17168 var aLen = arguments.length; 17169 var i = 0; 17170 var code; 17171 while (aLen > i) { 17172 code = +arguments[i++]; 17173 if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); 17174 res.push(code < 0x10000 17175 ? fromCharCode(code) 17176 : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) 17177 ); 17178 } return res.join(''); 17179 } 17180}); 17181 17182 17183/***/ }), 17184
vendor: 1,044 bytes, lines 17185-17208
17185/***/ "./node_modules/core-js/modules/es6.string.includes.js": 17186/*!*************************************************************!*\ 17187 !*** ./node_modules/core-js/modules/es6.string.includes.js ***! 17188 \*************************************************************/ 17189/*! no static exports found */ 17190/***/ (function(module, exports, __webpack_require__) { 17191 17192"use strict"; 17193// 21.1.3.7 String.prototype.includes(searchString, position = 0) 17194 17195var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17196var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); 17197var INCLUDES = 'includes'; 17198 17199$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { 17200 includes: function includes(searchString /* , position = 0 */) { 17201 return !!~context(this, searchString, INCLUDES) 17202 .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); 17203 } 17204}); 17205 17206 17207/***/ }), 17208
vendor: 621 bytes, lines 17209-17227
17209/***/ "./node_modules/core-js/modules/es6.string.italics.js": 17210/*!************************************************************!*\ 17211 !*** ./node_modules/core-js/modules/es6.string.italics.js ***! 17212 \************************************************************/ 17213/*! no static exports found */ 17214/***/ (function(module, exports, __webpack_require__) { 17215 17216"use strict"; 17217 17218// B.2.3.9 String.prototype.italics() 17219__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('italics', function (createHTML) { 17220 return function italics() { 17221 return createHTML(this, 'i', '', ''); 17222 }; 17223}); 17224 17225 17226/***/ }), 17227
vendor: 1,026 bytes, lines 17228-17256
17228/***/ "./node_modules/core-js/modules/es6.string.iterator.js": 17229/*!*************************************************************!*\ 17230 !*** ./node_modules/core-js/modules/es6.string.iterator.js ***! 17231 \*************************************************************/ 17232/*! no static exports found */ 17233/***/ (function(module, exports, __webpack_require__) { 17234 17235"use strict"; 17236 17237var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); 17238 17239// 21.1.3.27 String.prototype[@@iterator]() 17240__webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(String, 'String', function (iterated) { 17241 this._t = String(iterated); // target 17242 this._i = 0; // next index 17243// 21.1.5.2.1 %StringIteratorPrototype%.next() 17244}, function () { 17245 var O = this._t; 17246 var index = this._i; 17247 var point; 17248 if (index >= O.length) return { value: undefined, done: true }; 17249 point = $at(O, index); 17250 this._i += point.length; 17251 return { value: point, done: false }; 17252}); 17253 17254 17255/***/ }), 17256
vendor: 612 bytes, lines 17257-17275
17257/***/ "./node_modules/core-js/modules/es6.string.link.js": 17258/*!*********************************************************!*\ 17259 !*** ./node_modules/core-js/modules/es6.string.link.js ***! 17260 \*********************************************************/ 17261/*! no static exports found */ 17262/***/ (function(module, exports, __webpack_require__) { 17263 17264"use strict"; 17265 17266// B.2.3.10 String.prototype.link(url) 17267__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('link', function (createHTML) { 17268 return function link(url) { 17269 return createHTML(this, 'a', 'href', url); 17270 }; 17271}); 17272 17273 17274/***/ }), 17275
vendor: 1,053 bytes, lines 17276-17304
17276/***/ "./node_modules/core-js/modules/es6.string.raw.js": 17277/*!********************************************************!*\ 17278 !*** ./node_modules/core-js/modules/es6.string.raw.js ***! 17279 \********************************************************/ 17280/*! no static exports found */ 17281/***/ (function(module, exports, __webpack_require__) { 17282 17283var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17284var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 17285var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 17286 17287$export($export.S, 'String', { 17288 // 21.1.2.4 String.raw(callSite, ...substitutions) 17289 raw: function raw(callSite) { 17290 var tpl = toIObject(callSite.raw); 17291 var len = toLength(tpl.length); 17292 var aLen = arguments.length; 17293 var res = []; 17294 var i = 0; 17295 while (len > i) { 17296 res.push(String(tpl[i++])); 17297 if (i < aLen) res.push(String(arguments[i])); 17298 } return res.join(''); 17299 } 17300}); 17301 17302 17303/***/ }), 17304
vendor: 641 bytes, lines 17305-17321
17305/***/ "./node_modules/core-js/modules/es6.string.repeat.js": 17306/*!***********************************************************!*\ 17307 !*** ./node_modules/core-js/modules/es6.string.repeat.js ***! 17308 \***********************************************************/ 17309/*! no static exports found */ 17310/***/ (function(module, exports, __webpack_require__) { 17311 17312var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17313 17314$export($export.P, 'String', { 17315 // 21.1.3.13 String.prototype.repeat(count) 17316 repeat: __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js") 17317}); 17318 17319 17320/***/ }), 17321
vendor: 612 bytes, lines 17322-17340
17322/***/ "./node_modules/core-js/modules/es6.string.small.js": 17323/*!**********************************************************!*\ 17324 !*** ./node_modules/core-js/modules/es6.string.small.js ***! 17325 \**********************************************************/ 17326/*! no static exports found */ 17327/***/ (function(module, exports, __webpack_require__) { 17328 17329"use strict"; 17330 17331// B.2.3.11 String.prototype.small() 17332__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('small', function (createHTML) { 17333 return function small() { 17334 return createHTML(this, 'small', '', ''); 17335 }; 17336}); 17337 17338 17339/***/ }), 17340
vendor: 1,403 bytes, lines 17341-17370
17341/***/ "./node_modules/core-js/modules/es6.string.starts-with.js": 17342/*!****************************************************************!*\ 17343 !*** ./node_modules/core-js/modules/es6.string.starts-with.js ***! 17344 \****************************************************************/ 17345/*! no static exports found */ 17346/***/ (function(module, exports, __webpack_require__) { 17347 17348"use strict"; 17349// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 17350 17351var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17352var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 17353var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); 17354var STARTS_WITH = 'startsWith'; 17355var $startsWith = ''[STARTS_WITH]; 17356 17357$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { 17358 startsWith: function startsWith(searchString /* , position = 0 */) { 17359 var that = context(this, searchString, STARTS_WITH); 17360 var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); 17361 var search = String(searchString); 17362 return $startsWith 17363 ? $startsWith.call(that, search, index) 17364 : that.slice(index, index + search.length) === search; 17365 } 17366}); 17367 17368 17369/***/ }), 17370
vendor: 620 bytes, lines 17371-17389
17371/***/ "./node_modules/core-js/modules/es6.string.strike.js": 17372/*!***********************************************************!*\ 17373 !*** ./node_modules/core-js/modules/es6.string.strike.js ***! 17374 \***********************************************************/ 17375/*! no static exports found */ 17376/***/ (function(module, exports, __webpack_require__) { 17377 17378"use strict"; 17379 17380// B.2.3.12 String.prototype.strike() 17381__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('strike', function (createHTML) { 17382 return function strike() { 17383 return createHTML(this, 'strike', '', ''); 17384 }; 17385}); 17386 17387 17388/***/ }), 17389
vendor: 596 bytes, lines 17390-17408
17390/***/ "./node_modules/core-js/modules/es6.string.sub.js": 17391/*!********************************************************!*\ 17392 !*** ./node_modules/core-js/modules/es6.string.sub.js ***! 17393 \********************************************************/ 17394/*! no static exports found */ 17395/***/ (function(module, exports, __webpack_require__) { 17396 17397"use strict"; 17398 17399// B.2.3.13 String.prototype.sub() 17400__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sub', function (createHTML) { 17401 return function sub() { 17402 return createHTML(this, 'sub', '', ''); 17403 }; 17404}); 17405 17406 17407/***/ }), 17408
vendor: 596 bytes, lines 17409-17427
17409/***/ "./node_modules/core-js/modules/es6.string.sup.js": 17410/*!********************************************************!*\ 17411 !*** ./node_modules/core-js/modules/es6.string.sup.js ***! 17412 \********************************************************/ 17413/*! no static exports found */ 17414/***/ (function(module, exports, __webpack_require__) { 17415 17416"use strict"; 17417 17418// B.2.3.14 String.prototype.sup() 17419__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sup', function (createHTML) { 17420 return function sup() { 17421 return createHTML(this, 'sup', '', ''); 17422 }; 17423}); 17424 17425 17426/***/ }), 17427
vendor: 582 bytes, lines 17428-17446
17428/***/ "./node_modules/core-js/modules/es6.string.trim.js": 17429/*!*********************************************************!*\ 17430 !*** ./node_modules/core-js/modules/es6.string.trim.js ***! 17431 \*********************************************************/ 17432/*! no static exports found */ 17433/***/ (function(module, exports, __webpack_require__) { 17434 17435"use strict"; 17436 17437// 21.1.3.25 String.prototype.trim() 17438__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trim', function ($trim) { 17439 return function trim() { 17440 return $trim(this, 3); 17441 }; 17442}); 17443 17444 17445/***/ }), 17446
vendor: 11,588 bytes, lines 17447-17704
17447/***/ "./node_modules/core-js/modules/es6.symbol.js": 17448/*!****************************************************!*\ 17449 !*** ./node_modules/core-js/modules/es6.symbol.js ***! 17450 \****************************************************/ 17451/*! no static exports found */ 17452/***/ (function(module, exports, __webpack_require__) { 17453 17454"use strict"; 17455 17456// ECMAScript 6 symbols shim 17457var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 17458var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); 17459var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); 17460var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17461var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 17462var META = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").KEY; 17463var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); 17464var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js"); 17465var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); 17466var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); 17467var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); 17468var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); 17469var wksDefine = __webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js"); 17470var enumKeys = __webpack_require__(/*! ./_enum-keys */ "./node_modules/core-js/modules/_enum-keys.js"); 17471var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); 17472var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 17473var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 17474var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 17475var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 17476var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); 17477var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); 17478var _create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); 17479var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js"); 17480var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 17481var $GOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); 17482var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); 17483var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 17484var gOPD = $GOPD.f; 17485var dP = $DP.f; 17486var gOPN = gOPNExt.f; 17487var $Symbol = global.Symbol; 17488var $JSON = global.JSON; 17489var _stringify = $JSON && $JSON.stringify; 17490var PROTOTYPE = 'prototype'; 17491var HIDDEN = wks('_hidden'); 17492var TO_PRIMITIVE = wks('toPrimitive'); 17493var isEnum = {}.propertyIsEnumerable; 17494var SymbolRegistry = shared('symbol-registry'); 17495var AllSymbols = shared('symbols'); 17496var OPSymbols = shared('op-symbols'); 17497var ObjectProto = Object[PROTOTYPE]; 17498var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; 17499var QObject = global.QObject; 17500// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 17501var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 17502 17503// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 17504var setSymbolDesc = DESCRIPTORS && $fails(function () { 17505 return _create(dP({}, 'a', { 17506 get: function () { return dP(this, 'a', { value: 7 }).a; } 17507 })).a != 7; 17508}) ? function (it, key, D) { 17509 var protoDesc = gOPD(ObjectProto, key); 17510 if (protoDesc) delete ObjectProto[key]; 17511 dP(it, key, D); 17512 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); 17513} : dP; 17514 17515var wrap = function (tag) { 17516 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); 17517 sym._k = tag; 17518 return sym; 17519}; 17520 17521var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { 17522 return typeof it == 'symbol'; 17523} : function (it) { 17524 return it instanceof $Symbol; 17525}; 17526 17527var $defineProperty = function defineProperty(it, key, D) { 17528 if (it === ObjectProto) $defineProperty(OPSymbols, key, D); 17529 anObject(it); 17530 key = toPrimitive(key, true); 17531 anObject(D); 17532 if (has(AllSymbols, key)) { 17533 if (!D.enumerable) { 17534 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); 17535 it[HIDDEN][key] = true; 17536 } else { 17537 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; 17538 D = _create(D, { enumerable: createDesc(0, false) }); 17539 } return setSymbolDesc(it, key, D); 17540 } return dP(it, key, D); 17541}; 17542var $defineProperties = function defineProperties(it, P) { 17543 anObject(it); 17544 var keys = enumKeys(P = toIObject(P)); 17545 var i = 0; 17546 var l = keys.length; 17547 var key; 17548 while (l > i) $defineProperty(it, key = keys[i++], P[key]); 17549 return it; 17550}; 17551var $create = function create(it, P) { 17552 return P === undefined ? _create(it) : $defineProperties(_create(it), P); 17553}; 17554var $propertyIsEnumerable = function propertyIsEnumerable(key) { 17555 var E = isEnum.call(this, key = toPrimitive(key, true)); 17556 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; 17557 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; 17558}; 17559var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { 17560 it = toIObject(it); 17561 key = toPrimitive(key, true); 17562 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; 17563 var D = gOPD(it, key); 17564 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; 17565 return D; 17566}; 17567var $getOwnPropertyNames = function getOwnPropertyNames(it) { 17568 var names = gOPN(toIObject(it)); 17569 var result = []; 17570 var i = 0; 17571 var key; 17572 while (names.length > i) { 17573 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); 17574 } return result; 17575}; 17576var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { 17577 var IS_OP = it === ObjectProto; 17578 var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); 17579 var result = []; 17580 var i = 0; 17581 var key; 17582 while (names.length > i) { 17583 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); 17584 } return result; 17585}; 17586 17587// 19.4.1.1 Symbol([description]) 17588if (!USE_NATIVE) { 17589 $Symbol = function Symbol() { 17590 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); 17591 var tag = uid(arguments.length > 0 ? arguments[0] : undefined); 17592 var $set = function (value) { 17593 if (this === ObjectProto) $set.call(OPSymbols, value); 17594 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; 17595 setSymbolDesc(this, tag, createDesc(1, value)); 17596 }; 17597 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); 17598 return wrap(tag); 17599 }; 17600 redefine($Symbol[PROTOTYPE], 'toString', function toString() { 17601 return this._k; 17602 }); 17603 17604 $GOPD.f = $getOwnPropertyDescriptor; 17605 $DP.f = $defineProperty; 17606 __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; 17607 __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f = $propertyIsEnumerable; 17608 $GOPS.f = $getOwnPropertySymbols; 17609 17610 if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js")) { 17611 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); 17612 } 17613 17614 wksExt.f = function (name) { 17615 return wrap(wks(name)); 17616 }; 17617} 17618 17619$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); 17620 17621for (var es6Symbols = ( 17622 // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 17623 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' 17624).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); 17625 17626for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); 17627 17628$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { 17629 // 19.4.2.1 Symbol.for(key) 17630 'for': function (key) { 17631 return has(SymbolRegistry, key += '') 17632 ? SymbolRegistry[key] 17633 : SymbolRegistry[key] = $Symbol(key); 17634 }, 17635 // 19.4.2.5 Symbol.keyFor(sym) 17636 keyFor: function keyFor(sym) { 17637 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); 17638 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; 17639 }, 17640 useSetter: function () { setter = true; }, 17641 useSimple: function () { setter = false; } 17642}); 17643 17644$export($export.S + $export.F * !USE_NATIVE, 'Object', { 17645 // 19.1.2.2 Object.create(O [, Properties]) 17646 create: $create, 17647 // 19.1.2.4 Object.defineProperty(O, P, Attributes) 17648 defineProperty: $defineProperty, 17649 // 19.1.2.3 Object.defineProperties(O, Properties) 17650 defineProperties: $defineProperties, 17651 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 17652 getOwnPropertyDescriptor: $getOwnPropertyDescriptor, 17653 // 19.1.2.7 Object.getOwnPropertyNames(O) 17654 getOwnPropertyNames: $getOwnPropertyNames, 17655 // 19.1.2.8 Object.getOwnPropertySymbols(O) 17656 getOwnPropertySymbols: $getOwnPropertySymbols 17657}); 17658 17659// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 17660// https://bugs.chromium.org/p/v8/issues/detail?id=3443 17661var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); 17662 17663$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { 17664 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 17665 return $GOPS.f(toObject(it)); 17666 } 17667}); 17668 17669// 24.3.2 JSON.stringify(value [, replacer [, space]]) 17670$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { 17671 var S = $Symbol(); 17672 // MS Edge converts symbol values to JSON as {} 17673 // WebKit converts symbol values to JSON as null 17674 // V8 throws on boxed symbols 17675 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; 17676})), 'JSON', { 17677 stringify: function stringify(it) { 17678 var args = [it]; 17679 var i = 1; 17680 var replacer, $replacer; 17681 while (arguments.length > i) args.push(arguments[i++]); 17682 $replacer = replacer = args[1]; 17683 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined 17684 if (!isArray(replacer)) replacer = function (key, value) { 17685 if (typeof $replacer == 'function') value = $replacer.call(this, key, value); 17686 if (!isSymbol(value)) return value; 17687 }; 17688 args[1] = replacer; 17689 return _stringify.apply($JSON, args); 17690 } 17691}); 17692 17693// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) 17694$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); 17695// 19.4.3.5 Symbol.prototype[@@toStringTag] 17696setToStringTag($Symbol, 'Symbol'); 17697// 20.2.1.9 Math[@@toStringTag] 17698setToStringTag(Math, 'Math', true); 17699// 24.3.3 JSON[@@toStringTag] 17700setToStringTag(global.JSON, 'JSON', true); 17701 17702 17703/***/ }), 17704
vendor: 2,884 bytes, lines 17705-17762
17705/***/ "./node_modules/core-js/modules/es6.typed.array-buffer.js": 17706/*!****************************************************************!*\ 17707 !*** ./node_modules/core-js/modules/es6.typed.array-buffer.js ***! 17708 \****************************************************************/ 17709/*! no static exports found */ 17710/***/ (function(module, exports, __webpack_require__) { 17711 17712"use strict"; 17713 17714var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17715var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); 17716var buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); 17717var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); 17718var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); 17719var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 17720var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 17721var ArrayBuffer = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").ArrayBuffer; 17722var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); 17723var $ArrayBuffer = buffer.ArrayBuffer; 17724var $DataView = buffer.DataView; 17725var $isView = $typed.ABV && ArrayBuffer.isView; 17726var $slice = $ArrayBuffer.prototype.slice; 17727var VIEW = $typed.VIEW; 17728var ARRAY_BUFFER = 'ArrayBuffer'; 17729 17730$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); 17731 17732$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { 17733 // 24.1.3.1 ArrayBuffer.isView(arg) 17734 isView: function isView(it) { 17735 return $isView && $isView(it) || isObject(it) && VIEW in it; 17736 } 17737}); 17738 17739$export($export.P + $export.U + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { 17740 return !new $ArrayBuffer(2).slice(1, undefined).byteLength; 17741}), ARRAY_BUFFER, { 17742 // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) 17743 slice: function slice(start, end) { 17744 if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix 17745 var len = anObject(this).byteLength; 17746 var first = toAbsoluteIndex(start, len); 17747 var fin = toAbsoluteIndex(end === undefined ? len : end, len); 17748 var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); 17749 var viewS = new $DataView(this); 17750 var viewT = new $DataView(result); 17751 var index = 0; 17752 while (first < fin) { 17753 viewT.setUint8(index++, viewS.getUint8(first++)); 17754 } return result; 17755 } 17756}); 17757 17758__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(ARRAY_BUFFER); 17759 17760 17761/***/ }), 17762
vendor: 712 bytes, lines 17763-17777
17763/***/ "./node_modules/core-js/modules/es6.typed.data-view.js": 17764/*!*************************************************************!*\ 17765 !*** ./node_modules/core-js/modules/es6.typed.data-view.js ***! 17766 \*************************************************************/ 17767/*! no static exports found */ 17768/***/ (function(module, exports, __webpack_require__) { 17769 17770var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 17771$export($export.G + $export.W + $export.F * !__webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js").ABV, { 17772 DataView: __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js").DataView 17773}); 17774 17775 17776/***/ }), 17777
vendor: 621 bytes, lines 17778-17793
17778/***/ "./node_modules/core-js/modules/es6.typed.float32-array.js": 17779/*!*****************************************************************!*\ 17780 !*** ./node_modules/core-js/modules/es6.typed.float32-array.js ***! 17781 \*****************************************************************/ 17782/*! no static exports found */ 17783/***/ (function(module, exports, __webpack_require__) { 17784 17785__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float32', 4, function (init) { 17786 return function Float32Array(data, byteOffset, length) { 17787 return init(this, data, byteOffset, length); 17788 }; 17789}); 17790 17791 17792/***/ }), 17793
vendor: 621 bytes, lines 17794-17809
17794/***/ "./node_modules/core-js/modules/es6.typed.float64-array.js": 17795/*!*****************************************************************!*\ 17796 !*** ./node_modules/core-js/modules/es6.typed.float64-array.js ***! 17797 \*****************************************************************/ 17798/*! no static exports found */ 17799/***/ (function(module, exports, __webpack_require__) { 17800 17801__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float64', 8, function (init) { 17802 return function Float64Array(data, byteOffset, length) { 17803 return init(this, data, byteOffset, length); 17804 }; 17805}); 17806 17807 17808/***/ }), 17809
vendor: 609 bytes, lines 17810-17825
17810/***/ "./node_modules/core-js/modules/es6.typed.int16-array.js": 17811/*!***************************************************************!*\ 17812 !*** ./node_modules/core-js/modules/es6.typed.int16-array.js ***! 17813 \***************************************************************/ 17814/*! no static exports found */ 17815/***/ (function(module, exports, __webpack_require__) { 17816 17817__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int16', 2, function (init) { 17818 return function Int16Array(data, byteOffset, length) { 17819 return init(this, data, byteOffset, length); 17820 }; 17821}); 17822 17823 17824/***/ }), 17825
vendor: 609 bytes, lines 17826-17841
17826/***/ "./node_modules/core-js/modules/es6.typed.int32-array.js": 17827/*!***************************************************************!*\ 17828 !*** ./node_modules/core-js/modules/es6.typed.int32-array.js ***! 17829 \***************************************************************/ 17830/*! no static exports found */ 17831/***/ (function(module, exports, __webpack_require__) { 17832 17833__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int32', 4, function (init) { 17834 return function Int32Array(data, byteOffset, length) { 17835 return init(this, data, byteOffset, length); 17836 }; 17837}); 17838 17839 17840/***/ }), 17841
vendor: 603 bytes, lines 17842-17857
17842/***/ "./node_modules/core-js/modules/es6.typed.int8-array.js": 17843/*!**************************************************************!*\ 17844 !*** ./node_modules/core-js/modules/es6.typed.int8-array.js ***! 17845 \**************************************************************/ 17846/*! no static exports found */ 17847/***/ (function(module, exports, __webpack_require__) { 17848 17849__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int8', 1, function (init) { 17850 return function Int8Array(data, byteOffset, length) { 17851 return init(this, data, byteOffset, length); 17852 }; 17853}); 17854 17855 17856/***/ }), 17857
vendor: 615 bytes, lines 17858-17873
17858/***/ "./node_modules/core-js/modules/es6.typed.uint16-array.js": 17859/*!****************************************************************!*\ 17860 !*** ./node_modules/core-js/modules/es6.typed.uint16-array.js ***! 17861 \****************************************************************/ 17862/*! no static exports found */ 17863/***/ (function(module, exports, __webpack_require__) { 17864 17865__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint16', 2, function (init) { 17866 return function Uint16Array(data, byteOffset, length) { 17867 return init(this, data, byteOffset, length); 17868 }; 17869}); 17870 17871 17872/***/ }), 17873
vendor: 615 bytes, lines 17874-17889
17874/***/ "./node_modules/core-js/modules/es6.typed.uint32-array.js": 17875/*!****************************************************************!*\ 17876 !*** ./node_modules/core-js/modules/es6.typed.uint32-array.js ***! 17877 \****************************************************************/ 17878/*! no static exports found */ 17879/***/ (function(module, exports, __webpack_require__) { 17880 17881__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint32', 4, function (init) { 17882 return function Uint32Array(data, byteOffset, length) { 17883 return init(this, data, byteOffset, length); 17884 }; 17885}); 17886 17887 17888/***/ }), 17889
vendor: 609 bytes, lines 17890-17905
17890/***/ "./node_modules/core-js/modules/es6.typed.uint8-array.js": 17891/*!***************************************************************!*\ 17892 !*** ./node_modules/core-js/modules/es6.typed.uint8-array.js ***! 17893 \***************************************************************/ 17894/*! no static exports found */ 17895/***/ (function(module, exports, __webpack_require__) { 17896 17897__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { 17898 return function Uint8Array(data, byteOffset, length) { 17899 return init(this, data, byteOffset, length); 17900 }; 17901}); 17902 17903 17904/***/ }), 17905
vendor: 654 bytes, lines 17906-17921
17906/***/ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": 17907/*!***********************************************************************!*\ 17908 !*** ./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js ***! 17909 \***********************************************************************/ 17910/*! no static exports found */ 17911/***/ (function(module, exports, __webpack_require__) { 17912 17913__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { 17914 return function Uint8ClampedArray(data, byteOffset, length) { 17915 return init(this, data, byteOffset, length); 17916 }; 17917}, true); 17918 17919 17920/***/ }), 17921
vendor: 3,007 bytes, lines 17922-17993
17922/***/ "./node_modules/core-js/modules/es6.weak-map.js": 17923/*!******************************************************!*\ 17924 !*** ./node_modules/core-js/modules/es6.weak-map.js ***! 17925 \******************************************************/ 17926/*! no static exports found */ 17927/***/ (function(module, exports, __webpack_require__) { 17928 17929"use strict"; 17930 17931var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 17932var each = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); 17933var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 17934var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); 17935var assign = __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js"); 17936var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); 17937var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); 17938var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 17939var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 17940var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; 17941var WEAK_MAP = 'WeakMap'; 17942var getWeak = meta.getWeak; 17943var isExtensible = Object.isExtensible; 17944var uncaughtFrozenStore = weak.ufstore; 17945var InternalMap; 17946 17947var wrapper = function (get) { 17948 return function WeakMap() { 17949 return get(this, arguments.length > 0 ? arguments[0] : undefined); 17950 }; 17951}; 17952 17953var methods = { 17954 // 23.3.3.3 WeakMap.prototype.get(key) 17955 get: function get(key) { 17956 if (isObject(key)) { 17957 var data = getWeak(key); 17958 if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); 17959 return data ? data[this._i] : undefined; 17960 } 17961 }, 17962 // 23.3.3.5 WeakMap.prototype.set(key, value) 17963 set: function set(key, value) { 17964 return weak.def(validate(this, WEAK_MAP), key, value); 17965 } 17966}; 17967 17968// 23.3 WeakMap Objects 17969var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); 17970 17971// IE11 WeakMap frozen keys fix 17972if (NATIVE_WEAK_MAP && IS_IE11) { 17973 InternalMap = weak.getConstructor(wrapper, WEAK_MAP); 17974 assign(InternalMap.prototype, methods); 17975 meta.NEED = true; 17976 each(['delete', 'has', 'get', 'set'], function (key) { 17977 var proto = $WeakMap.prototype; 17978 var method = proto[key]; 17979 redefine(proto, key, function (a, b) { 17980 // store frozen objects on internal weakmap shim 17981 if (isObject(a) && !isExtensible(a)) { 17982 if (!this._f) this._f = new InternalMap(); 17983 var result = this._f[key](a, b); 17984 return key == 'set' ? this : result; 17985 // store all the rest on native weakmap 17986 } return method.call(this, a, b); 17987 }); 17988 }); 17989} 17990 17991 17992/***/ }), 17993
vendor: 1,019 bytes, lines 17994-18019
17994/***/ "./node_modules/core-js/modules/es6.weak-set.js": 17995/*!******************************************************!*\ 17996 !*** ./node_modules/core-js/modules/es6.weak-set.js ***! 17997 \******************************************************/ 17998/*! no static exports found */ 17999/***/ (function(module, exports, __webpack_require__) { 18000 18001"use strict"; 18002 18003var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); 18004var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); 18005var WEAK_SET = 'WeakSet'; 18006 18007// 23.4 WeakSet Objects 18008__webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_SET, function (get) { 18009 return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 18010}, { 18011 // 23.4.3.1 WeakSet.prototype.add(value) 18012 add: function add(value) { 18013 return weak.def(validate(this, WEAK_SET), value, true); 18014 } 18015}, weak, false, true); 18016 18017 18018/***/ }), 18019
vendor: 1,576 bytes, lines 18020-18053
18020/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": 18021/*!************************************************************!*\ 18022 !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! 18023 \************************************************************/ 18024/*! no static exports found */ 18025/***/ (function(module, exports, __webpack_require__) { 18026 18027"use strict"; 18028 18029// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap 18030var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18031var flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ "./node_modules/core-js/modules/_flatten-into-array.js"); 18032var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); 18033var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); 18034var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); 18035var arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); 18036 18037$export($export.P, 'Array', { 18038 flatMap: function flatMap(callbackfn /* , thisArg */) { 18039 var O = toObject(this); 18040 var sourceLen, A; 18041 aFunction(callbackfn); 18042 sourceLen = toLength(O.length); 18043 A = arraySpeciesCreate(O, 0); 18044 flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); 18045 return A; 18046 } 18047}); 18048 18049__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('flatMap'); 18050 18051 18052/***/ }), 18053
vendor: 943 bytes, lines 18054-18077
18054/***/ "./node_modules/core-js/modules/es7.array.includes.js": 18055/*!************************************************************!*\ 18056 !*** ./node_modules/core-js/modules/es7.array.includes.js ***! 18057 \************************************************************/ 18058/*! no static exports found */ 18059/***/ (function(module, exports, __webpack_require__) { 18060 18061"use strict"; 18062 18063// https://github.com/tc39/Array.prototype.includes 18064var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18065var $includes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(true); 18066 18067$export($export.P, 'Array', { 18068 includes: function includes(el /* , fromIndex = 0 */) { 18069 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); 18070 } 18071}); 18072 18073__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('includes'); 18074 18075 18076/***/ }), 18077
vendor: 736 bytes, lines 18078-18097
18078/***/ "./node_modules/core-js/modules/es7.object.entries.js": 18079/*!************************************************************!*\ 18080 !*** ./node_modules/core-js/modules/es7.object.entries.js ***! 18081 \************************************************************/ 18082/*! no static exports found */ 18083/***/ (function(module, exports, __webpack_require__) { 18084 18085// https://github.com/tc39/proposal-object-values-entries 18086var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18087var $entries = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(true); 18088 18089$export($export.S, 'Object', { 18090 entries: function entries(it) { 18091 return $entries(it); 18092 } 18093}); 18094 18095 18096/***/ }), 18097
vendor: 1,459 bytes, lines 18098-18130
18098/***/ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": 18099/*!*********************************************************************************!*\ 18100 !*** ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js ***! 18101 \*********************************************************************************/ 18102/*! no static exports found */ 18103/***/ (function(module, exports, __webpack_require__) { 18104 18105// https://github.com/tc39/proposal-object-getownpropertydescriptors 18106var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18107var ownKeys = __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js"); 18108var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); 18109var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); 18110var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); 18111 18112$export($export.S, 'Object', { 18113 getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { 18114 var O = toIObject(object); 18115 var getDesc = gOPD.f; 18116 var keys = ownKeys(O); 18117 var result = {}; 18118 var i = 0; 18119 var key, desc; 18120 while (keys.length > i) { 18121 desc = getDesc(O, key = keys[i++]); 18122 if (desc !== undefined) createProperty(result, key, desc); 18123 } 18124 return result; 18125 } 18126}); 18127 18128 18129/***/ }), 18130
vendor: 729 bytes, lines 18131-18150
18131/***/ "./node_modules/core-js/modules/es7.object.values.js": 18132/*!***********************************************************!*\ 18133 !*** ./node_modules/core-js/modules/es7.object.values.js ***! 18134 \***********************************************************/ 18135/*! no static exports found */ 18136/***/ (function(module, exports, __webpack_require__) { 18137 18138// https://github.com/tc39/proposal-object-values-entries 18139var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18140var $values = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(false); 18141 18142$export($export.S, 'Object', { 18143 values: function values(it) { 18144 return $values(it); 18145 } 18146}); 18147 18148 18149/***/ }), 18150
vendor: 1,453 bytes, lines 18151-18182
18151/***/ "./node_modules/core-js/modules/es7.promise.finally.js": 18152/*!*************************************************************!*\ 18153 !*** ./node_modules/core-js/modules/es7.promise.finally.js ***! 18154 \*************************************************************/ 18155/*! no static exports found */ 18156/***/ (function(module, exports, __webpack_require__) { 18157 18158"use strict"; 18159// https://github.com/tc39/proposal-promise-finally 18160 18161var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18162var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); 18163var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 18164var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); 18165var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); 18166 18167$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { 18168 var C = speciesConstructor(this, core.Promise || global.Promise); 18169 var isFunction = typeof onFinally == 'function'; 18170 return this.then( 18171 isFunction ? function (x) { 18172 return promiseResolve(C, onFinally()).then(function () { return x; }); 18173 } : onFinally, 18174 isFunction ? function (e) { 18175 return promiseResolve(C, onFinally()).then(function () { throw e; }); 18176 } : onFinally 18177 ); 18178} }); 18179 18180 18181/***/ }), 18182
vendor: 1,093 bytes, lines 18183-18208
18183/***/ "./node_modules/core-js/modules/es7.string.pad-end.js": 18184/*!************************************************************!*\ 18185 !*** ./node_modules/core-js/modules/es7.string.pad-end.js ***! 18186 \************************************************************/ 18187/*! no static exports found */ 18188/***/ (function(module, exports, __webpack_require__) { 18189 18190"use strict"; 18191 18192// https://github.com/tc39/proposal-string-pad-start-end 18193var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18194var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); 18195var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); 18196 18197// https://github.com/zloirock/core-js/issues/280 18198var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 18199 18200$export($export.P + $export.F * WEBKIT_BUG, 'String', { 18201 padEnd: function padEnd(maxLength /* , fillString = ' ' */) { 18202 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); 18203 } 18204}); 18205 18206 18207/***/ }), 18208
vendor: 1,104 bytes, lines 18209-18234
18209/***/ "./node_modules/core-js/modules/es7.string.pad-start.js": 18210/*!**************************************************************!*\ 18211 !*** ./node_modules/core-js/modules/es7.string.pad-start.js ***! 18212 \**************************************************************/ 18213/*! no static exports found */ 18214/***/ (function(module, exports, __webpack_require__) { 18215 18216"use strict"; 18217 18218// https://github.com/tc39/proposal-string-pad-start-end 18219var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18220var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); 18221var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); 18222 18223// https://github.com/zloirock/core-js/issues/280 18224var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 18225 18226$export($export.P + $export.F * WEBKIT_BUG, 'String', { 18227 padStart: function padStart(maxLength /* , fillString = ' ' */) { 18228 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); 18229 } 18230}); 18231 18232 18233/***/ }), 18234
vendor: 654 bytes, lines 18235-18253
18235/***/ "./node_modules/core-js/modules/es7.string.trim-left.js": 18236/*!**************************************************************!*\ 18237 !*** ./node_modules/core-js/modules/es7.string.trim-left.js ***! 18238 \**************************************************************/ 18239/*! no static exports found */ 18240/***/ (function(module, exports, __webpack_require__) { 18241 18242"use strict"; 18243 18244// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 18245__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimLeft', function ($trim) { 18246 return function trimLeft() { 18247 return $trim(this, 1); 18248 }; 18249}, 'trimStart'); 18250 18251 18252/***/ }), 18253
vendor: 658 bytes, lines 18254-18272
18254/***/ "./node_modules/core-js/modules/es7.string.trim-right.js": 18255/*!***************************************************************!*\ 18256 !*** ./node_modules/core-js/modules/es7.string.trim-right.js ***! 18257 \***************************************************************/ 18258/*! no static exports found */ 18259/***/ (function(module, exports, __webpack_require__) { 18260 18261"use strict"; 18262 18263// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 18264__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimRight', function ($trim) { 18265 return function trimRight() { 18266 return $trim(this, 2); 18267 }; 18268}, 'trimEnd'); 18269 18270 18271/***/ }), 18272
vendor: 496 bytes, lines 18273-18284
18273/***/ "./node_modules/core-js/modules/es7.symbol.async-iterator.js": 18274/*!*******************************************************************!*\ 18275 !*** ./node_modules/core-js/modules/es7.symbol.async-iterator.js ***! 18276 \*******************************************************************/ 18277/*! no static exports found */ 18278/***/ (function(module, exports, __webpack_require__) { 18279 18280__webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js")('asyncIterator'); 18281 18282 18283/***/ }), 18284
vendor: 2,605 bytes, lines 18285-18353
18285/***/ "./node_modules/core-js/modules/web.dom.iterable.js": 18286/*!**********************************************************!*\ 18287 !*** ./node_modules/core-js/modules/web.dom.iterable.js ***! 18288 \**********************************************************/ 18289/*! no static exports found */ 18290/***/ (function(module, exports, __webpack_require__) { 18291 18292var $iterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); 18293var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); 18294var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); 18295var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 18296var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); 18297var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); 18298var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); 18299var ITERATOR = wks('iterator'); 18300var TO_STRING_TAG = wks('toStringTag'); 18301var ArrayValues = Iterators.Array; 18302 18303var DOMIterables = { 18304 CSSRuleList: true, // TODO: Not spec compliant, should be false. 18305 CSSStyleDeclaration: false, 18306 CSSValueList: false, 18307 ClientRectList: false, 18308 DOMRectList: false, 18309 DOMStringList: false, 18310 DOMTokenList: true, 18311 DataTransferItemList: false, 18312 FileList: false, 18313 HTMLAllCollection: false, 18314 HTMLCollection: false, 18315 HTMLFormElement: false, 18316 HTMLSelectElement: false, 18317 MediaList: true, // TODO: Not spec compliant, should be false. 18318 MimeTypeArray: false, 18319 NamedNodeMap: false, 18320 NodeList: true, 18321 PaintRequestList: false, 18322 Plugin: false, 18323 PluginArray: false, 18324 SVGLengthList: false, 18325 SVGNumberList: false, 18326 SVGPathSegList: false, 18327 SVGPointList: false, 18328 SVGStringList: false, 18329 SVGTransformList: false, 18330 SourceBufferList: false, 18331 StyleSheetList: true, // TODO: Not spec compliant, should be false. 18332 TextTrackCueList: false, 18333 TextTrackList: false, 18334 TouchList: false 18335}; 18336 18337for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { 18338 var NAME = collections[i]; 18339 var explicit = DOMIterables[NAME]; 18340 var Collection = global[NAME]; 18341 var proto = Collection && Collection.prototype; 18342 var key; 18343 if (proto) { 18344 if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); 18345 if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); 18346 Iterators[NAME] = ArrayValues; 18347 if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); 18348 } 18349} 18350 18351 18352/***/ }), 18353
vendor: 622 bytes, lines 18354-18370
18354/***/ "./node_modules/core-js/modules/web.immediate.js": 18355/*!*******************************************************!*\ 18356 !*** ./node_modules/core-js/modules/web.immediate.js ***! 18357 \*******************************************************/ 18358/*! no static exports found */ 18359/***/ (function(module, exports, __webpack_require__) { 18360 18361var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18362var $task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js"); 18363$export($export.G + $export.B, { 18364 setImmediate: $task.set, 18365 clearImmediate: $task.clear 18366}); 18367 18368 18369/***/ }), 18370
vendor: 1,269 bytes, lines 18371-18401
18371/***/ "./node_modules/core-js/modules/web.timers.js": 18372/*!****************************************************!*\ 18373 !*** ./node_modules/core-js/modules/web.timers.js ***! 18374 \****************************************************/ 18375/*! no static exports found */ 18376/***/ (function(module, exports, __webpack_require__) { 18377 18378// ie9- setTimeout & setInterval additional parameters fix 18379var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); 18380var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); 18381var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); 18382var slice = [].slice; 18383var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check 18384var wrap = function (set) { 18385 return function (fn, time /* , ...args */) { 18386 var boundArgs = arguments.length > 2; 18387 var args = boundArgs ? slice.call(arguments, 2) : false; 18388 return set(boundArgs ? function () { 18389 // eslint-disable-next-line no-new-func 18390 (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); 18391 } : fn, time); 18392 }; 18393}; 18394$export($export.G + $export.B + $export.F * MSIE, { 18395 setTimeout: wrap(global.setTimeout), 18396 setInterval: wrap(global.setInterval) 18397}); 18398 18399 18400/***/ }), 18401
vendor: 709 bytes, lines 18402-18416
18402/***/ "./node_modules/core-js/web/index.js": 18403/*!*******************************************!*\ 18404 !*** ./node_modules/core-js/web/index.js ***! 18405 \*******************************************/ 18406/*! no static exports found */ 18407/***/ (function(module, exports, __webpack_require__) { 18408 18409__webpack_require__(/*! ../modules/web.timers */ "./node_modules/core-js/modules/web.timers.js"); 18410__webpack_require__(/*! ../modules/web.immediate */ "./node_modules/core-js/modules/web.immediate.js"); 18411__webpack_require__(/*! ../modules/web.dom.iterable */ "./node_modules/core-js/modules/web.dom.iterable.js"); 18412module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); 18413 18414 18415/***/ }), 18416
vendor: 3,198 bytes, lines 18417-18537
18417/***/ "./node_modules/ev-emitter/ev-emitter.js": 18418/*!***********************************************!*\ 18419 !*** ./node_modules/ev-emitter/ev-emitter.js ***! 18420 \***********************************************/ 18421/*! no static exports found */ 18422/***/ (function(module, exports, __webpack_require__) { 18423 18424var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/** 18425 * EvEmitter v1.1.0 18426 * Lil' event emitter 18427 * MIT License 18428 */ 18429 18430/* jshint unused: true, undef: true, strict: true */ 18431 18432( function( global, factory ) { 18433 // universal module definition 18434 /* jshint strict: false */ /* globals define, module, window */ 18435 if ( true ) { 18436 // AMD - RequireJS 18437 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), 18438 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 18439 (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : 18440 __WEBPACK_AMD_DEFINE_FACTORY__), 18441 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 18442 } else {} 18443 18444}( typeof window != 'undefined' ? window : this, function() { 18445 18446"use strict"; 18447 18448function EvEmitter() {} 18449 18450var proto = EvEmitter.prototype; 18451 18452proto.on = function( eventName, listener ) { 18453 if ( !eventName || !listener ) { 18454 return; 18455 } 18456 // set events hash 18457 var events = this._events = this._events || {}; 18458 // set listeners array 18459 var listeners = events[ eventName ] = events[ eventName ] || []; 18460 // only add once 18461 if ( listeners.indexOf( listener ) == -1 ) { 18462 listeners.push( listener ); 18463 } 18464 18465 return this; 18466}; 18467 18468proto.once = function( eventName, listener ) { 18469 if ( !eventName || !listener ) { 18470 return; 18471 } 18472 // add event 18473 this.on( eventName, listener ); 18474 // set once flag 18475 // set onceEvents hash 18476 var onceEvents = this._onceEvents = this._onceEvents || {}; 18477 // set onceListeners object 18478 var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; 18479 // set flag 18480 onceListeners[ listener ] = true; 18481 18482 return this; 18483}; 18484 18485proto.off = function( eventName, listener ) { 18486 var listeners = this._events && this._events[ eventName ]; 18487 if ( !listeners || !listeners.length ) { 18488 return; 18489 } 18490 var index = listeners.indexOf( listener ); 18491 if ( index != -1 ) { 18492 listeners.splice( index, 1 ); 18493 } 18494 18495 return this; 18496}; 18497 18498proto.emitEvent = function( eventName, args ) { 18499 var listeners = this._events && this._events[ eventName ]; 18500 if ( !listeners || !listeners.length ) { 18501 return; 18502 } 18503 // copy over to avoid interference if .off() in listener 18504 listeners = listeners.slice(0); 18505 args = args || []; 18506 // once stuff 18507 var onceListeners = this._onceEvents && this._onceEvents[ eventName ]; 18508 18509 for ( var i=0; i < listeners.length; i++ ) { 18510 var listener = listeners[i] 18511 var isOnce = onceListeners && onceListeners[ listener ]; 18512 if ( isOnce ) { 18513 // remove listener 18514 // remove before trigger to prevent recursion 18515 this.off( eventName, listener ); 18516 // unset once flag 18517 delete onceListeners[ listener ]; 18518 } 18519 // trigger listener 18520 listener.apply( this, args ); 18521 } 18522 18523 return this; 18524}; 18525 18526proto.allOff = function() { 18527 delete this._events; 18528 delete this._onceEvents; 18529}; 18530 18531return EvEmitter; 18532 18533})); 18534 18535 18536/***/ }), 18537
vendor: 3,144 bytes, lines 18538-18648
18538/***/ "./node_modules/focus-options-polyfill/index.js": 18539/*!******************************************************!*\ 18540 !*** ./node_modules/focus-options-polyfill/index.js ***! 18541 \******************************************************/ 18542/*! no static exports found */ 18543/***/ (function(module, exports) { 18544 18545// focus - focusOptions - preventScroll polyfill 18546(function() { 18547 if ( 18548 typeof window === "undefined" || 18549 typeof document === "undefined" || 18550 typeof HTMLElement === "undefined" 18551 ) { 18552 return; 18553 } 18554 18555 var supportsPreventScrollOption = false; 18556 try { 18557 var focusElem = document.createElement("div"); 18558 focusElem.addEventListener( 18559 "focus", 18560 function(event) { 18561 event.preventDefault(); 18562 event.stopPropagation(); 18563 }, 18564 true 18565 ); 18566 focusElem.focus( 18567 Object.defineProperty({}, "preventScroll", { 18568 get: function() { 18569 // Edge v18 gives a false positive for supporting inputs 18570 if ( 18571 navigator && 18572 typeof navigator.userAgent !== 'undefined' && 18573 navigator.userAgent && 18574 navigator.userAgent.match(/Edge\/1[7-8]/)) { 18575 return supportsPreventScrollOption = false 18576 } 18577 18578 supportsPreventScrollOption = true; 18579 } 18580 }) 18581 ); 18582 } catch (e) {} 18583 18584 if ( 18585 HTMLElement.prototype.nativeFocus === undefined && 18586 !supportsPreventScrollOption 18587 ) { 18588 HTMLElement.prototype.nativeFocus = HTMLElement.prototype.focus; 18589 18590 var calcScrollableElements = function(element) { 18591 var parent = element.parentNode; 18592 var scrollableElements = []; 18593 var rootScrollingElement = 18594 document.scrollingElement || document.documentElement; 18595 18596 while (parent && parent !== rootScrollingElement) { 18597 if ( 18598 parent.offsetHeight < parent.scrollHeight || 18599 parent.offsetWidth < parent.scrollWidth 18600 ) { 18601 scrollableElements.push([ 18602 parent, 18603 parent.scrollTop, 18604 parent.scrollLeft 18605 ]); 18606 } 18607 parent = parent.parentNode; 18608 } 18609 parent = rootScrollingElement; 18610 scrollableElements.push([parent, parent.scrollTop, parent.scrollLeft]); 18611 18612 return scrollableElements; 18613 }; 18614 18615 var restoreScrollPosition = function(scrollableElements) { 18616 for (var i = 0; i < scrollableElements.length; i++) { 18617 scrollableElements[i][0].scrollTop = scrollableElements[i][1]; 18618 scrollableElements[i][0].scrollLeft = scrollableElements[i][2]; 18619 } 18620 scrollableElements = []; 18621 }; 18622 18623 var patchedFocus = function(args) { 18624 if (args && args.preventScroll) { 18625 var evScrollableElements = calcScrollableElements(this); 18626 if (typeof setTimeout === 'function') { 18627 var thisElem = this; 18628 setTimeout(function () { 18629 thisElem.nativeFocus(); 18630 restoreScrollPosition(evScrollableElements); 18631 }, 0); 18632 } else { 18633 this.nativeFocus(); 18634 restoreScrollPosition(evScrollableElements); 18635 } 18636 } 18637 else { 18638 this.nativeFocus(); 18639 } 18640 }; 18641 18642 HTMLElement.prototype.focus = patchedFocus; 18643 } 18644})(); 18645 18646 18647/***/ }), 18648
vendor: 10,328 bytes, lines 18649-19025
18649/***/ "./node_modules/imagesloaded/imagesloaded.js": 18650/*!***************************************************!*\ 18651 !*** ./node_modules/imagesloaded/imagesloaded.js ***! 18652 \***************************************************/ 18653/*! no static exports found */ 18654/***/ (function(module, exports, __webpack_require__) { 18655 18656var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 18657 * imagesLoaded v4.1.4 18658 * JavaScript is all like "You images are done yet or what?" 18659 * MIT License 18660 */ 18661 18662( function( window, factory ) { 'use strict'; 18663 // universal module definition 18664 18665 /*global define: false, module: false, require: false */ 18666 18667 if ( true ) { 18668 // AMD 18669 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ 18670 __webpack_require__(/*! ev-emitter/ev-emitter */ "./node_modules/ev-emitter/ev-emitter.js") 18671 ], __WEBPACK_AMD_DEFINE_RESULT__ = (function( EvEmitter ) { 18672 return factory( window, EvEmitter ); 18673 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), 18674 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 18675 } else {} 18676 18677})( typeof window !== 'undefined' ? window : this, 18678 18679// -------------------------- factory -------------------------- // 18680 18681function factory( window, EvEmitter ) { 18682 18683'use strict'; 18684 18685var $ = window.jQuery; 18686var console = window.console; 18687 18688// -------------------------- helpers -------------------------- // 18689 18690// extend objects 18691function extend( a, b ) { 18692 for ( var prop in b ) { 18693 a[ prop ] = b[ prop ]; 18694 } 18695 return a; 18696} 18697 18698var arraySlice = Array.prototype.slice; 18699 18700// turn element or nodeList into an array 18701function makeArray( obj ) { 18702 if ( Array.isArray( obj ) ) { 18703 // use object if already an array 18704 return obj; 18705 } 18706 18707 var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number'; 18708 if ( isArrayLike ) { 18709 // convert nodeList to array 18710 return arraySlice.call( obj ); 18711 } 18712 18713 // array of single index 18714 return [ obj ]; 18715} 18716 18717// -------------------------- imagesLoaded -------------------------- // 18718 18719/** 18720 * @param {Array, Element, NodeList, String} elem 18721 * @param {Object or Function} options - if function, use as callback 18722 * @param {Function} onAlways - callback function 18723 */ 18724function ImagesLoaded( elem, options, onAlways ) { 18725 // coerce ImagesLoaded() without new, to be new ImagesLoaded() 18726 if ( !( this instanceof ImagesLoaded ) ) { 18727 return new ImagesLoaded( elem, options, onAlways ); 18728 } 18729 // use elem as selector string 18730 var queryElem = elem; 18731 if ( typeof elem == 'string' ) { 18732 queryElem = document.querySelectorAll( elem ); 18733 } 18734 // bail if bad element 18735 if ( !queryElem ) { 18736 console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) ); 18737 return; 18738 } 18739 18740 this.elements = makeArray( queryElem ); 18741 this.options = extend( {}, this.options ); 18742 // shift arguments if no options set 18743 if ( typeof options == 'function' ) { 18744 onAlways = options; 18745 } else { 18746 extend( this.options, options ); 18747 } 18748 18749 if ( onAlways ) { 18750 this.on( 'always', onAlways ); 18751 } 18752 18753 this.getImages(); 18754 18755 if ( $ ) { 18756 // add jQuery Deferred object 18757 this.jqDeferred = new $.Deferred(); 18758 } 18759 18760 // HACK check async to allow time to bind listeners 18761 setTimeout( this.check.bind( this ) ); 18762} 18763 18764ImagesLoaded.prototype = Object.create( EvEmitter.prototype ); 18765 18766ImagesLoaded.prototype.options = {}; 18767 18768ImagesLoaded.prototype.getImages = function() { 18769 this.images = []; 18770 18771 // filter & find items if we have an item selector 18772 this.elements.forEach( this.addElementImages, this ); 18773}; 18774 18775/** 18776 * @param {Node} element 18777 */ 18778ImagesLoaded.prototype.addElementImages = function( elem ) { 18779 // filter siblings 18780 if ( elem.nodeName == 'IMG' ) { 18781 this.addImage( elem ); 18782 } 18783 // get background image on element 18784 if ( this.options.background === true ) { 18785 this.addElementBackgroundImages( elem ); 18786 } 18787 18788 // find children 18789 // no non-element nodes, #143 18790 var nodeType = elem.nodeType; 18791 if ( !nodeType || !elementNodeTypes[ nodeType ] ) { 18792 return; 18793 } 18794 var childImgs = elem.querySelectorAll('img'); 18795 // concat childElems to filterFound array 18796 for ( var i=0; i < childImgs.length; i++ ) { 18797 var img = childImgs[i]; 18798 this.addImage( img ); 18799 } 18800 18801 // get child background images 18802 if ( typeof this.options.background == 'string' ) { 18803 var children = elem.querySelectorAll( this.options.background ); 18804 for ( i=0; i < children.length; i++ ) { 18805 var child = children[i]; 18806 this.addElementBackgroundImages( child ); 18807 } 18808 } 18809}; 18810 18811var elementNodeTypes = { 18812 1: true, 18813 9: true, 18814 11: true 18815}; 18816 18817ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) { 18818 var style = getComputedStyle( elem ); 18819 if ( !style ) { 18820 // Firefox returns null if in a hidden iframe https://bugzil.la/548397 18821 return; 18822 } 18823 // get url inside url("...") 18824 var reURL = /url\((['"])?(.*?)\1\)/gi; 18825 var matches = reURL.exec( style.backgroundImage ); 18826 while ( matches !== null ) { 18827 var url = matches && matches[2]; 18828 if ( url ) { 18829 this.addBackground( url, elem ); 18830 } 18831 matches = reURL.exec( style.backgroundImage ); 18832 } 18833}; 18834 18835/** 18836 * @param {Image} img 18837 */ 18838ImagesLoaded.prototype.addImage = function( img ) { 18839 var loadingImage = new LoadingImage( img ); 18840 this.images.push( loadingImage ); 18841}; 18842 18843ImagesLoaded.prototype.addBackground = function( url, elem ) { 18844 var background = new Background( url, elem ); 18845 this.images.push( background ); 18846}; 18847 18848ImagesLoaded.prototype.check = function() { 18849 var _this = this; 18850 this.progressedCount = 0; 18851 this.hasAnyBroken = false; 18852 // complete if no images 18853 if ( !this.images.length ) { 18854 this.complete(); 18855 return; 18856 } 18857 18858 function onProgress( image, elem, message ) { 18859 // HACK - Chrome triggers event before object properties have changed. #83 18860 setTimeout( function() { 18861 _this.progress( image, elem, message ); 18862 }); 18863 } 18864 18865 this.images.forEach( function( loadingImage ) { 18866 loadingImage.once( 'progress', onProgress ); 18867 loadingImage.check(); 18868 }); 18869}; 18870 18871ImagesLoaded.prototype.progress = function( image, elem, message ) { 18872 this.progressedCount++; 18873 this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded; 18874 // progress event 18875 this.emitEvent( 'progress', [ this, image, elem ] ); 18876 if ( this.jqDeferred && this.jqDeferred.notify ) { 18877 this.jqDeferred.notify( this, image ); 18878 } 18879 // check if completed 18880 if ( this.progressedCount == this.images.length ) { 18881 this.complete(); 18882 } 18883 18884 if ( this.options.debug && console ) { 18885 console.log( 'progress: ' + message, image, elem ); 18886 } 18887}; 18888 18889ImagesLoaded.prototype.complete = function() { 18890 var eventName = this.hasAnyBroken ? 'fail' : 'done'; 18891 this.isComplete = true; 18892 this.emitEvent( eventName, [ this ] ); 18893 this.emitEvent( 'always', [ this ] ); 18894 if ( this.jqDeferred ) { 18895 var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve'; 18896 this.jqDeferred[ jqMethod ]( this ); 18897 } 18898}; 18899 18900// -------------------------- -------------------------- // 18901 18902function LoadingImage( img ) { 18903 this.img = img; 18904} 18905 18906LoadingImage.prototype = Object.create( EvEmitter.prototype ); 18907 18908LoadingImage.prototype.check = function() { 18909 // If complete is true and browser supports natural sizes, 18910 // try to check for image status manually. 18911 var isComplete = this.getIsImageComplete(); 18912 if ( isComplete ) { 18913 // report based on naturalWidth 18914 this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); 18915 return; 18916 } 18917 18918 // If none of the checks above matched, simulate loading on detached element. 18919 this.proxyImage = new Image(); 18920 this.proxyImage.addEventListener( 'load', this ); 18921 this.proxyImage.addEventListener( 'error', this ); 18922 // bind to image as well for Firefox. #191 18923 this.img.addEventListener( 'load', this ); 18924 this.img.addEventListener( 'error', this ); 18925 this.proxyImage.src = this.img.src; 18926}; 18927 18928LoadingImage.prototype.getIsImageComplete = function() { 18929 // check for non-zero, non-undefined naturalWidth 18930 // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671 18931 return this.img.complete && this.img.naturalWidth; 18932}; 18933 18934LoadingImage.prototype.confirm = function( isLoaded, message ) { 18935 this.isLoaded = isLoaded; 18936 this.emitEvent( 'progress', [ this, this.img, message ] ); 18937}; 18938 18939// ----- events ----- // 18940 18941// trigger specified handler for event type 18942LoadingImage.prototype.handleEvent = function( event ) { 18943 var method = 'on' + event.type; 18944 if ( this[ method ] ) { 18945 this[ method ]( event ); 18946 } 18947}; 18948 18949LoadingImage.prototype.onload = function() { 18950 this.confirm( true, 'onload' ); 18951 this.unbindEvents(); 18952}; 18953 18954LoadingImage.prototype.onerror = function() { 18955 this.confirm( false, 'onerror' ); 18956 this.unbindEvents(); 18957}; 18958 18959LoadingImage.prototype.unbindEvents = function() { 18960 this.proxyImage.removeEventListener( 'load', this ); 18961 this.proxyImage.removeEventListener( 'error', this ); 18962 this.img.removeEventListener( 'load', this ); 18963 this.img.removeEventListener( 'error', this ); 18964}; 18965 18966// -------------------------- Background -------------------------- // 18967 18968function Background( url, element ) { 18969 this.url = url; 18970 this.element = element; 18971 this.img = new Image(); 18972} 18973 18974// inherit LoadingImage prototype 18975Background.prototype = Object.create( LoadingImage.prototype ); 18976 18977Background.prototype.check = function() { 18978 this.img.addEventListener( 'load', this ); 18979 this.img.addEventListener( 'error', this ); 18980 this.img.src = this.url; 18981 // check if image is already complete 18982 var isComplete = this.getIsImageComplete(); 18983 if ( isComplete ) { 18984 this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); 18985 this.unbindEvents(); 18986 } 18987}; 18988 18989Background.prototype.unbindEvents = function() { 18990 this.img.removeEventListener( 'load', this ); 18991 this.img.removeEventListener( 'error', this ); 18992}; 18993 18994Background.prototype.confirm = function( isLoaded, message ) { 18995 this.isLoaded = isLoaded; 18996 this.emitEvent( 'progress', [ this, this.element, message ] ); 18997}; 18998 18999// -------------------------- jQuery -------------------------- // 19000 19001ImagesLoaded.makeJQueryPlugin = function( jQuery ) { 19002 jQuery = jQuery || window.jQuery; 19003 if ( !jQuery ) { 19004 return; 19005 } 19006 // set local variable 19007 $ = jQuery; 19008 // $().imagesLoaded() 19009 $.fn.imagesLoaded = function( options, callback ) { 19010 var instance = new ImagesLoaded( this, options, callback ); 19011 return instance.jqDeferred.promise( $(this) ); 19012 }; 19013}; 19014// try making plugin 19015ImagesLoaded.makeJQueryPlugin(); 19016 19017// -------------------------- -------------------------- // 19018 19019return ImagesLoaded; 19020 19021}); 19022 19023 19024/***/ }), 19025
vendor: 5,681 bytes, lines 19026-19220
19026/***/ "./node_modules/process/browser.js": 19027/*!*****************************************!*\ 19028 !*** ./node_modules/process/browser.js ***! 19029 \*****************************************/ 19030/*! no static exports found */ 19031/***/ (function(module, exports) { 19032 19033// shim for using process in browser 19034var process = module.exports = {}; 19035 19036// cached from whatever global is present so that test runners that stub it 19037// don't break things. But we need to wrap it in a try catch in case it is 19038// wrapped in strict mode code which doesn't define any globals. It's inside a 19039// function because try/catches deoptimize in certain engines. 19040 19041var cachedSetTimeout; 19042var cachedClearTimeout; 19043 19044function defaultSetTimout() { 19045 throw new Error('setTimeout has not been defined'); 19046} 19047function defaultClearTimeout () { 19048 throw new Error('clearTimeout has not been defined'); 19049} 19050(function () { 19051 try { 19052 if (typeof setTimeout === 'function') { 19053 cachedSetTimeout = setTimeout; 19054 } else { 19055 cachedSetTimeout = defaultSetTimout; 19056 } 19057 } catch (e) { 19058 cachedSetTimeout = defaultSetTimout; 19059 } 19060 try { 19061 if (typeof clearTimeout === 'function') { 19062 cachedClearTimeout = clearTimeout; 19063 } else { 19064 cachedClearTimeout = defaultClearTimeout; 19065 } 19066 } catch (e) { 19067 cachedClearTimeout = defaultClearTimeout; 19068 } 19069} ()) 19070function runTimeout(fun) { 19071 if (cachedSetTimeout === setTimeout) { 19072 //normal enviroments in sane situations 19073 return setTimeout(fun, 0); 19074 } 19075 // if setTimeout wasn't available but was latter defined 19076 if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { 19077 cachedSetTimeout = setTimeout; 19078 return setTimeout(fun, 0); 19079 } 19080 try { 19081 // when when somebody has screwed with setTimeout but no I.E. maddness 19082 return cachedSetTimeout(fun, 0); 19083 } catch(e){ 19084 try { 19085 // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally 19086 return cachedSetTimeout.call(null, fun, 0); 19087 } catch(e){ 19088 // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error 19089 return cachedSetTimeout.call(this, fun, 0); 19090 } 19091 } 19092 19093 19094} 19095function runClearTimeout(marker) { 19096 if (cachedClearTimeout === clearTimeout) { 19097 //normal enviroments in sane situations 19098 return clearTimeout(marker); 19099 } 19100 // if clearTimeout wasn't available but was latter defined 19101 if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { 19102 cachedClearTimeout = clearTimeout; 19103 return clearTimeout(marker); 19104 } 19105 try { 19106 // when when somebody has screwed with setTimeout but no I.E. maddness 19107 return cachedClearTimeout(marker); 19108 } catch (e){ 19109 try { 19110 // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally 19111 return cachedClearTimeout.call(null, marker); 19112 } catch (e){ 19113 // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. 19114 // Some versions of I.E. have different rules for clearTimeout vs setTimeout 19115 return cachedClearTimeout.call(this, marker); 19116 } 19117 } 19118 19119 19120 19121} 19122var queue = []; 19123var draining = false; 19124var currentQueue; 19125var queueIndex = -1; 19126 19127function cleanUpNextTick() { 19128 if (!draining || !currentQueue) { 19129 return; 19130 } 19131 draining = false; 19132 if (currentQueue.length) { 19133 queue = currentQueue.concat(queue); 19134 } else { 19135 queueIndex = -1; 19136 } 19137 if (queue.length) { 19138 drainQueue(); 19139 } 19140} 19141 19142function drainQueue() { 19143 if (draining) { 19144 return; 19145 } 19146 var timeout = runTimeout(cleanUpNextTick); 19147 draining = true; 19148 19149 var len = queue.length; 19150 while(len) { 19151 currentQueue = queue; 19152 queue = []; 19153 while (++queueIndex < len) { 19154 if (currentQueue) { 19155 currentQueue[queueIndex].run(); 19156 } 19157 } 19158 queueIndex = -1; 19159 len = queue.length; 19160 } 19161 currentQueue = null; 19162 draining = false; 19163 runClearTimeout(timeout); 19164} 19165 19166process.nextTick = function (fun) { 19167 var args = new Array(arguments.length - 1); 19168 if (arguments.length > 1) { 19169 for (var i = 1; i < arguments.length; i++) { 19170 args[i - 1] = arguments[i]; 19171 } 19172 } 19173 queue.push(new Item(fun, args)); 19174 if (queue.length === 1 && !draining) { 19175 runTimeout(drainQueue); 19176 } 19177}; 19178 19179// v8 likes predictible objects 19180function Item(fun, array) { 19181 this.fun = fun; 19182 this.array = array; 19183} 19184Item.prototype.run = function () { 19185 this.fun.apply(null, this.array); 19186}; 19187process.title = 'browser'; 19188process.browser = true; 19189process.env = {}; 19190process.argv = []; 19191process.version = ''; // empty string to avoid regexp issues 19192process.versions = {}; 19193 19194function noop() {} 19195 19196process.on = noop; 19197process.addListener = noop; 19198process.once = noop; 19199process.off = noop; 19200process.removeListener = noop; 19201process.removeAllListeners = noop; 19202process.emit = noop; 19203process.prependListener = noop; 19204process.prependOnceListener = noop; 19205 19206process.listeners = function (name) { return [] } 19207 19208process.binding = function (name) { 19209 throw new Error('process.binding is not supported'); 19210}; 19211 19212process.cwd = function () { return '/' }; 19213process.chdir = function (dir) { 19214 throw new Error('process.chdir is not supported'); 19215}; 19216process.umask = function() { return 0; }; 19217 19218 19219/***/ }), 19220
vendor: 757 bytes, lines 19221-19255
19221/***/ "./node_modules/qs/lib/formats.js": 19222/*!****************************************!*\ 19223 !*** ./node_modules/qs/lib/formats.js ***! 19224 \****************************************/ 19225/*! no static exports found */ 19226/***/ (function(module, exports, __webpack_require__) { 19227 19228"use strict"; 19229 19230 19231var replace = String.prototype.replace; 19232var percentTwenties = /%20/g; 19233 19234var Format = { 19235 RFC1738: 'RFC1738', 19236 RFC3986: 'RFC3986' 19237}; 19238 19239module.exports = { 19240 'default': Format.RFC3986, 19241 formatters: { 19242 RFC1738: function (value) { 19243 return replace.call(value, percentTwenties, '+'); 19244 }, 19245 RFC3986: function (value) { 19246 return String(value); 19247 } 19248 }, 19249 RFC1738: Format.RFC1738, 19250 RFC3986: Format.RFC3986 19251}; 19252 19253 19254/***/ }), 19255
vendor: 640 bytes, lines 19256-19278
19256/***/ "./node_modules/qs/lib/index.js": 19257/*!**************************************!*\ 19258 !*** ./node_modules/qs/lib/index.js ***! 19259 \**************************************/ 19260/*! no static exports found */ 19261/***/ (function(module, exports, __webpack_require__) { 19262 19263"use strict"; 19264 19265 19266var stringify = __webpack_require__(/*! ./stringify */ "./node_modules/qs/lib/stringify.js"); 19267var parse = __webpack_require__(/*! ./parse */ "./node_modules/qs/lib/parse.js"); 19268var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); 19269 19270module.exports = { 19271 formats: formats, 19272 parse: parse, 19273 stringify: stringify 19274}; 19275 19276 19277/***/ }), 19278
vendor: 9,479 bytes, lines 19279-19547
19279/***/ "./node_modules/qs/lib/parse.js": 19280/*!**************************************!*\ 19281 !*** ./node_modules/qs/lib/parse.js ***! 19282 \**************************************/ 19283/*! no static exports found */ 19284/***/ (function(module, exports, __webpack_require__) { 19285 19286"use strict"; 19287 19288 19289var utils = __webpack_require__(/*! ./utils */ "./node_modules/qs/lib/utils.js"); 19290 19291var has = Object.prototype.hasOwnProperty; 19292var isArray = Array.isArray; 19293 19294var defaults = { 19295 allowDots: false, 19296 allowPrototypes: false, 19297 arrayLimit: 20, 19298 charset: 'utf-8', 19299 charsetSentinel: false, 19300 comma: false, 19301 decoder: utils.decode, 19302 delimiter: '&', 19303 depth: 5, 19304 ignoreQueryPrefix: false, 19305 interpretNumericEntities: false, 19306 parameterLimit: 1000, 19307 parseArrays: true, 19308 plainObjects: false, 19309 strictNullHandling: false 19310}; 19311 19312var interpretNumericEntities = function (str) { 19313 return str.replace(/&#(\d+);/g, function ($0, numberStr) { 19314 return String.fromCharCode(parseInt(numberStr, 10)); 19315 }); 19316}; 19317 19318var parseArrayValue = function (val, options) { 19319 if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { 19320 return val.split(','); 19321 } 19322 19323 return val; 19324}; 19325 19326// This is what browsers will submit when the ✓ character occurs in an 19327// application/x-www-form-urlencoded body and the encoding of the page containing 19328// the form is iso-8859-1, or when the submitted form has an accept-charset 19329// attribute of iso-8859-1. Presumably also with other charsets that do not contain 19330// the ✓ character, such as us-ascii. 19331var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') 19332 19333// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. 19334var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') 19335 19336var parseValues = function parseQueryStringValues(str, options) { 19337 var obj = {}; 19338 var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; 19339 var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; 19340 var parts = cleanStr.split(options.delimiter, limit); 19341 var skipIndex = -1; // Keep track of where the utf8 sentinel was found 19342 var i; 19343 19344 var charset = options.charset; 19345 if (options.charsetSentinel) { 19346 for (i = 0; i < parts.length; ++i) { 19347 if (parts[i].indexOf('utf8=') === 0) { 19348 if (parts[i] === charsetSentinel) { 19349 charset = 'utf-8'; 19350 } else if (parts[i] === isoSentinel) { 19351 charset = 'iso-8859-1'; 19352 } 19353 skipIndex = i; 19354 i = parts.length; // The eslint settings do not allow break; 19355 } 19356 } 19357 } 19358 19359 for (i = 0; i < parts.length; ++i) { 19360 if (i === skipIndex) { 19361 continue; 19362 } 19363 var part = parts[i]; 19364 19365 var bracketEqualsPos = part.indexOf(']='); 19366 var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; 19367 19368 var key, val; 19369 if (pos === -1) { 19370 key = options.decoder(part, defaults.decoder, charset, 'key'); 19371 val = options.strictNullHandling ? null : ''; 19372 } else { 19373 key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); 19374 val = utils.maybeMap( 19375 parseArrayValue(part.slice(pos + 1), options), 19376 function (encodedVal) { 19377 return options.decoder(encodedVal, defaults.decoder, charset, 'value'); 19378 } 19379 ); 19380 } 19381 19382 if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { 19383 val = interpretNumericEntities(val); 19384 } 19385 19386 if (part.indexOf('[]=') > -1) { 19387 val = isArray(val) ? [val] : val; 19388 } 19389 19390 if (has.call(obj, key)) { 19391 obj[key] = utils.combine(obj[key], val); 19392 } else { 19393 obj[key] = val; 19394 } 19395 } 19396 19397 return obj; 19398}; 19399 19400var parseObject = function (chain, val, options, valuesParsed) { 19401 var leaf = valuesParsed ? val : parseArrayValue(val, options); 19402 19403 for (var i = chain.length - 1; i >= 0; --i) { 19404 var obj; 19405 var root = chain[i]; 19406 19407 if (root === '[]' && options.parseArrays) { 19408 obj = [].concat(leaf); 19409 } else { 19410 obj = options.plainObjects ? Object.create(null) : {}; 19411 var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; 19412 var index = parseInt(cleanRoot, 10); 19413 if (!options.parseArrays && cleanRoot === '') { 19414 obj = { 0: leaf }; 19415 } else if ( 19416 !isNaN(index) 19417 && root !== cleanRoot 19418 && String(index) === cleanRoot 19419 && index >= 0 19420 && (options.parseArrays && index <= options.arrayLimit) 19421 ) { 19422 obj = []; 19423 obj[index] = leaf; 19424 } else { 19425 obj[cleanRoot] = leaf; 19426 } 19427 } 19428 19429 leaf = obj; 19430 } 19431 19432 return leaf; 19433}; 19434 19435var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { 19436 if (!givenKey) { 19437 return; 19438 } 19439 19440 // Transform dot notation to bracket notation 19441 var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; 19442 19443 // The regex chunks 19444 19445 var brackets = /(\[[^[\]]*])/; 19446 var child = /(\[[^[\]]*])/g; 19447 19448 // Get the parent 19449 19450 var segment = options.depth > 0 && brackets.exec(key); 19451 var parent = segment ? key.slice(0, segment.index) : key; 19452 19453 // Stash the parent if it exists 19454 19455 var keys = []; 19456 if (parent) { 19457 // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties 19458 if (!options.plainObjects && has.call(Object.prototype, parent)) { 19459 if (!options.allowPrototypes) { 19460 return; 19461 } 19462 } 19463 19464 keys.push(parent); 19465 } 19466 19467 // Loop through children appending to the array until we hit depth 19468 19469 var i = 0; 19470 while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { 19471 i += 1; 19472 if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { 19473 if (!options.allowPrototypes) { 19474 return; 19475 } 19476 } 19477 keys.push(segment[1]); 19478 } 19479 19480 // If there's a remainder, just add whatever is left 19481 19482 if (segment) { 19483 keys.push('[' + key.slice(segment.index) + ']'); 19484 } 19485 19486 return parseObject(keys, val, options, valuesParsed); 19487}; 19488 19489var normalizeParseOptions = function normalizeParseOptions(opts) { 19490 if (!opts) { 19491 return defaults; 19492 } 19493 19494 if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { 19495 throw new TypeError('Decoder has to be a function.'); 19496 } 19497 19498 if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { 19499 throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); 19500 } 19501 var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; 19502 19503 return { 19504 allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, 19505 allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, 19506 arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, 19507 charset: charset, 19508 charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, 19509 comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, 19510 decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, 19511 delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, 19512 // eslint-disable-next-line no-implicit-coercion, no-extra-parens 19513 depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, 19514 ignoreQueryPrefix: opts.ignoreQueryPrefix === true, 19515 interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, 19516 parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, 19517 parseArrays: opts.parseArrays !== false, 19518 plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, 19519 strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling 19520 }; 19521}; 19522 19523module.exports = function (str, opts) { 19524 var options = normalizeParseOptions(opts); 19525 19526 if (str === '' || str === null || typeof str === 'undefined') { 19527 return options.plainObjects ? Object.create(null) : {}; 19528 } 19529 19530 var tempObj = typeof str === 'string' ? parseValues(str, options) : str; 19531 var obj = options.plainObjects ? Object.create(null) : {}; 19532 19533 // Iterate over the keys and setup the new object 19534 19535 var keys = Object.keys(tempObj); 19536 for (var i = 0; i < keys.length; ++i) { 19537 var key = keys[i]; 19538 var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); 19539 obj = utils.merge(obj, newObj, options); 19540 } 19541 19542 return utils.compact(obj); 19543}; 19544 19545 19546/***/ }), 19547
vendor: 8,772 bytes, lines 19548-19837
19548/***/ "./node_modules/qs/lib/stringify.js": 19549/*!******************************************!*\ 19550 !*** ./node_modules/qs/lib/stringify.js ***! 19551 \******************************************/ 19552/*! no static exports found */ 19553/***/ (function(module, exports, __webpack_require__) { 19554 19555"use strict"; 19556 19557 19558var utils = __webpack_require__(/*! ./utils */ "./node_modules/qs/lib/utils.js"); 19559var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); 19560var has = Object.prototype.hasOwnProperty; 19561 19562var arrayPrefixGenerators = { 19563 brackets: function brackets(prefix) { 19564 return prefix + '[]'; 19565 }, 19566 comma: 'comma', 19567 indices: function indices(prefix, key) { 19568 return prefix + '[' + key + ']'; 19569 }, 19570 repeat: function repeat(prefix) { 19571 return prefix; 19572 } 19573}; 19574 19575var isArray = Array.isArray; 19576var push = Array.prototype.push; 19577var pushToArray = function (arr, valueOrArray) { 19578 push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); 19579}; 19580 19581var toISO = Date.prototype.toISOString; 19582 19583var defaultFormat = formats['default']; 19584var defaults = { 19585 addQueryPrefix: false, 19586 allowDots: false, 19587 charset: 'utf-8', 19588 charsetSentinel: false, 19589 delimiter: '&', 19590 encode: true, 19591 encoder: utils.encode, 19592 encodeValuesOnly: false, 19593 format: defaultFormat, 19594 formatter: formats.formatters[defaultFormat], 19595 // deprecated 19596 indices: false, 19597 serializeDate: function serializeDate(date) { 19598 return toISO.call(date); 19599 }, 19600 skipNulls: false, 19601 strictNullHandling: false 19602}; 19603 19604var isNonNullishPrimitive = function isNonNullishPrimitive(v) { 19605 return typeof v === 'string' 19606 || typeof v === 'number' 19607 || typeof v === 'boolean' 19608 || typeof v === 'symbol' 19609 || typeof v === 'bigint'; 19610}; 19611 19612var stringify = function stringify( 19613 object, 19614 prefix, 19615 generateArrayPrefix, 19616 strictNullHandling, 19617 skipNulls, 19618 encoder, 19619 filter, 19620 sort, 19621 allowDots, 19622 serializeDate, 19623 format, 19624 formatter, 19625 encodeValuesOnly, 19626 charset 19627) { 19628 var obj = object; 19629 if (typeof filter === 'function') { 19630 obj = filter(prefix, obj); 19631 } else if (obj instanceof Date) { 19632 obj = serializeDate(obj); 19633 } else if (generateArrayPrefix === 'comma' && isArray(obj)) { 19634 obj = utils.maybeMap(obj, function (value) { 19635 if (value instanceof Date) { 19636 return serializeDate(value); 19637 } 19638 return value; 19639 }); 19640 } 19641 19642 if (obj === null) { 19643 if (strictNullHandling) { 19644 return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; 19645 } 19646 19647 obj = ''; 19648 } 19649 19650 if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { 19651 if (encoder) { 19652 var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); 19653 return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; 19654 } 19655 return [formatter(prefix) + '=' + formatter(String(obj))]; 19656 } 19657 19658 var values = []; 19659 19660 if (typeof obj === 'undefined') { 19661 return values; 19662 } 19663 19664 var objKeys; 19665 if (generateArrayPrefix === 'comma' && isArray(obj)) { 19666 // we need to join elements in 19667 objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }]; 19668 } else if (isArray(filter)) { 19669 objKeys = filter; 19670 } else { 19671 var keys = Object.keys(obj); 19672 objKeys = sort ? keys.sort(sort) : keys; 19673 } 19674 19675 for (var i = 0; i < objKeys.length; ++i) { 19676 var key = objKeys[i]; 19677 var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key]; 19678 19679 if (skipNulls && value === null) { 19680 continue; 19681 } 19682 19683 var keyPrefix = isArray(obj) 19684 ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix 19685 : prefix + (allowDots ? '.' + key : '[' + key + ']'); 19686 19687 pushToArray(values, stringify( 19688 value, 19689 keyPrefix, 19690 generateArrayPrefix, 19691 strictNullHandling, 19692 skipNulls, 19693 encoder, 19694 filter, 19695 sort, 19696 allowDots, 19697 serializeDate, 19698 format, 19699 formatter, 19700 encodeValuesOnly, 19701 charset 19702 )); 19703 } 19704 19705 return values; 19706}; 19707 19708var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { 19709 if (!opts) { 19710 return defaults; 19711 } 19712 19713 if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') { 19714 throw new TypeError('Encoder has to be a function.'); 19715 } 19716 19717 var charset = opts.charset || defaults.charset; 19718 if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { 19719 throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); 19720 } 19721 19722 var format = formats['default']; 19723 if (typeof opts.format !== 'undefined') { 19724 if (!has.call(formats.formatters, opts.format)) { 19725 throw new TypeError('Unknown format option provided.'); 19726 } 19727 format = opts.format; 19728 } 19729 var formatter = formats.formatters[format]; 19730 19731 var filter = defaults.filter; 19732 if (typeof opts.filter === 'function' || isArray(opts.filter)) { 19733 filter = opts.filter; 19734 } 19735 19736 return { 19737 addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, 19738 allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, 19739 charset: charset, 19740 charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, 19741 delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, 19742 encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, 19743 encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, 19744 encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, 19745 filter: filter, 19746 format: format, 19747 formatter: formatter, 19748 serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, 19749 skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, 19750 sort: typeof opts.sort === 'function' ? opts.sort : null, 19751 strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling 19752 }; 19753}; 19754 19755module.exports = function (object, opts) { 19756 var obj = object; 19757 var options = normalizeStringifyOptions(opts); 19758 19759 var objKeys; 19760 var filter; 19761 19762 if (typeof options.filter === 'function') { 19763 filter = options.filter; 19764 obj = filter('', obj); 19765 } else if (isArray(options.filter)) { 19766 filter = options.filter; 19767 objKeys = filter; 19768 } 19769 19770 var keys = []; 19771 19772 if (typeof obj !== 'object' || obj === null) { 19773 return ''; 19774 } 19775 19776 var arrayFormat; 19777 if (opts && opts.arrayFormat in arrayPrefixGenerators) { 19778 arrayFormat = opts.arrayFormat; 19779 } else if (opts && 'indices' in opts) { 19780 arrayFormat = opts.indices ? 'indices' : 'repeat'; 19781 } else { 19782 arrayFormat = 'indices'; 19783 } 19784 19785 var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; 19786 19787 if (!objKeys) { 19788 objKeys = Object.keys(obj); 19789 } 19790 19791 if (options.sort) { 19792 objKeys.sort(options.sort); 19793 } 19794 19795 for (var i = 0; i < objKeys.length; ++i) { 19796 var key = objKeys[i]; 19797 19798 if (options.skipNulls && obj[key] === null) { 19799 continue; 19800 } 19801 pushToArray(keys, stringify( 19802 obj[key], 19803 key, 19804 generateArrayPrefix, 19805 options.strictNullHandling, 19806 options.skipNulls, 19807 options.encode ? options.encoder : null, 19808 options.filter, 19809 options.sort, 19810 options.allowDots, 19811 options.serializeDate, 19812 options.format, 19813 options.formatter, 19814 options.encodeValuesOnly, 19815 options.charset 19816 )); 19817 } 19818 19819 var joined = keys.join(options.delimiter); 19820 var prefix = options.addQueryPrefix === true ? '?' : ''; 19821 19822 if (options.charsetSentinel) { 19823 if (options.charset === 'iso-8859-1') { 19824 // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark 19825 prefix += 'utf8=%26%2310003%3B&'; 19826 } else { 19827 // encodeURIComponent('✓') 19828 prefix += 'utf8=%E2%9C%93&'; 19829 } 19830 } 19831 19832 return joined.length > 0 ? prefix + joined : ''; 19833}; 19834 19835 19836/***/ }), 19837
vendor: 7,093 bytes, lines 19838-20100
19838/***/ "./node_modules/qs/lib/utils.js": 19839/*!**************************************!*\ 19840 !*** ./node_modules/qs/lib/utils.js ***! 19841 \**************************************/ 19842/*! no static exports found */ 19843/***/ (function(module, exports, __webpack_require__) { 19844 19845"use strict"; 19846 19847 19848var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); 19849 19850var has = Object.prototype.hasOwnProperty; 19851var isArray = Array.isArray; 19852 19853var hexTable = (function () { 19854 var array = []; 19855 for (var i = 0; i < 256; ++i) { 19856 array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); 19857 } 19858 19859 return array; 19860}()); 19861 19862var compactQueue = function compactQueue(queue) { 19863 while (queue.length > 1) { 19864 var item = queue.pop(); 19865 var obj = item.obj[item.prop]; 19866 19867 if (isArray(obj)) { 19868 var compacted = []; 19869 19870 for (var j = 0; j < obj.length; ++j) { 19871 if (typeof obj[j] !== 'undefined') { 19872 compacted.push(obj[j]); 19873 } 19874 } 19875 19876 item.obj[item.prop] = compacted; 19877 } 19878 } 19879}; 19880 19881var arrayToObject = function arrayToObject(source, options) { 19882 var obj = options && options.plainObjects ? Object.create(null) : {}; 19883 for (var i = 0; i < source.length; ++i) { 19884 if (typeof source[i] !== 'undefined') { 19885 obj[i] = source[i]; 19886 } 19887 } 19888 19889 return obj; 19890}; 19891 19892var merge = function merge(target, source, options) { 19893 /* eslint no-param-reassign: 0 */ 19894 if (!source) { 19895 return target; 19896 } 19897 19898 if (typeof source !== 'object') { 19899 if (isArray(target)) { 19900 target.push(source); 19901 } else if (target && typeof target === 'object') { 19902 if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { 19903 target[source] = true; 19904 } 19905 } else { 19906 return [target, source]; 19907 } 19908 19909 return target; 19910 } 19911 19912 if (!target || typeof target !== 'object') { 19913 return [target].concat(source); 19914 } 19915 19916 var mergeTarget = target; 19917 if (isArray(target) && !isArray(source)) { 19918 mergeTarget = arrayToObject(target, options); 19919 } 19920 19921 if (isArray(target) && isArray(source)) { 19922 source.forEach(function (item, i) { 19923 if (has.call(target, i)) { 19924 var targetItem = target[i]; 19925 if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { 19926 target[i] = merge(targetItem, item, options); 19927 } else { 19928 target.push(item); 19929 } 19930 } else { 19931 target[i] = item; 19932 } 19933 }); 19934 return target; 19935 } 19936 19937 return Object.keys(source).reduce(function (acc, key) { 19938 var value = source[key]; 19939 19940 if (has.call(acc, key)) { 19941 acc[key] = merge(acc[key], value, options); 19942 } else { 19943 acc[key] = value; 19944 } 19945 return acc; 19946 }, mergeTarget); 19947}; 19948 19949var assign = function assignSingleSource(target, source) { 19950 return Object.keys(source).reduce(function (acc, key) { 19951 acc[key] = source[key]; 19952 return acc; 19953 }, target); 19954}; 19955 19956var decode = function (str, decoder, charset) { 19957 var strWithoutPlus = str.replace(/\+/g, ' '); 19958 if (charset === 'iso-8859-1') { 19959 // unescape never throws, no try...catch needed: 19960 return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); 19961 } 19962 // utf-8 19963 try { 19964 return decodeURIComponent(strWithoutPlus); 19965 } catch (e) { 19966 return strWithoutPlus; 19967 } 19968}; 19969 19970var encode = function encode(str, defaultEncoder, charset, kind, format) { 19971 // This code was originally written by Brian White (mscdex) for the io.js core querystring library. 19972 // It has been adapted here for stricter adherence to RFC 3986 19973 if (str.length === 0) { 19974 return str; 19975 } 19976 19977 var string = str; 19978 if (typeof str === 'symbol') { 19979 string = Symbol.prototype.toString.call(str); 19980 } else if (typeof str !== 'string') { 19981 string = String(str); 19982 } 19983 19984 if (charset === 'iso-8859-1') { 19985 return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { 19986 return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; 19987 }); 19988 } 19989 19990 var out = ''; 19991 for (var i = 0; i < string.length; ++i) { 19992 var c = string.charCodeAt(i); 19993 19994 if ( 19995 c === 0x2D // - 19996 || c === 0x2E // . 19997 || c === 0x5F // _ 19998 || c === 0x7E // ~ 19999 || (c >= 0x30 && c <= 0x39) // 0-9 20000 || (c >= 0x41 && c <= 0x5A) // a-z 20001 || (c >= 0x61 && c <= 0x7A) // A-Z 20002 || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) 20003 ) { 20004 out += string.charAt(i); 20005 continue; 20006 } 20007 20008 if (c < 0x80) { 20009 out = out + hexTable[c]; 20010 continue; 20011 } 20012 20013 if (c < 0x800) { 20014 out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); 20015 continue; 20016 } 20017 20018 if (c < 0xD800 || c >= 0xE000) { 20019 out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); 20020 continue; 20021 } 20022 20023 i += 1; 20024 c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); 20025 out += hexTable[0xF0 | (c >> 18)] 20026 + hexTable[0x80 | ((c >> 12) & 0x3F)] 20027 + hexTable[0x80 | ((c >> 6) & 0x3F)] 20028 + hexTable[0x80 | (c & 0x3F)]; 20029 } 20030 20031 return out; 20032}; 20033 20034var compact = function compact(value) { 20035 var queue = [{ obj: { o: value }, prop: 'o' }]; 20036 var refs = []; 20037 20038 for (var i = 0; i < queue.length; ++i) { 20039 var item = queue[i]; 20040 var obj = item.obj[item.prop]; 20041 20042 var keys = Object.keys(obj); 20043 for (var j = 0; j < keys.length; ++j) { 20044 var key = keys[j]; 20045 var val = obj[key]; 20046 if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { 20047 queue.push({ obj: obj, prop: key }); 20048 refs.push(val); 20049 } 20050 } 20051 } 20052 20053 compactQueue(queue); 20054 20055 return value; 20056}; 20057 20058var isRegExp = function isRegExp(obj) { 20059 return Object.prototype.toString.call(obj) === '[object RegExp]'; 20060}; 20061 20062var isBuffer = function isBuffer(obj) { 20063 if (!obj || typeof obj !== 'object') { 20064 return false; 20065 } 20066 20067 return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); 20068}; 20069 20070var combine = function combine(a, b) { 20071 return [].concat(a, b); 20072}; 20073 20074var maybeMap = function maybeMap(val, fn) { 20075 if (isArray(val)) { 20076 var mapped = []; 20077 for (var i = 0; i < val.length; i += 1) { 20078 mapped.push(fn(val[i])); 20079 } 20080 return mapped; 20081 } 20082 return fn(val); 20083}; 20084 20085module.exports = { 20086 arrayToObject: arrayToObject, 20087 assign: assign, 20088 combine: combine, 20089 compact: compact, 20090 decode: decode, 20091 encode: encode, 20092 isBuffer: isBuffer, 20093 isRegExp: isRegExp, 20094 maybeMap: maybeMap, 20095 merge: merge 20096}; 20097 20098 20099/***/ }), 20100
vendor: 24,901 bytes, lines 20101-20859
20101/***/ "./node_modules/regenerator-runtime/runtime.js": 20102/*!*****************************************************!*\ 20103 !*** ./node_modules/regenerator-runtime/runtime.js ***! 20104 \*****************************************************/ 20105/*! no static exports found */ 20106/***/ (function(module, exports, __webpack_require__) { 20107 20108/** 20109 * Copyright (c) 2014-present, Facebook, Inc. 20110 * 20111 * This source code is licensed under the MIT license found in the 20112 * LICENSE file in the root directory of this source tree. 20113 */ 20114 20115var runtime = (function (exports) { 20116 "use strict"; 20117 20118 var Op = Object.prototype; 20119 var hasOwn = Op.hasOwnProperty; 20120 var undefined; // More compressible than void 0. 20121 var $Symbol = typeof Symbol === "function" ? Symbol : {}; 20122 var iteratorSymbol = $Symbol.iterator || "@@iterator"; 20123 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; 20124 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; 20125 20126 function define(obj, key, value) { 20127 Object.defineProperty(obj, key, { 20128 value: value, 20129 enumerable: true, 20130 configurable: true, 20131 writable: true 20132 }); 20133 return obj[key]; 20134 } 20135 try { 20136 // IE 8 has a broken Object.defineProperty that only works on DOM objects. 20137 define({}, ""); 20138 } catch (err) { 20139 define = function(obj, key, value) { 20140 return obj[key] = value; 20141 }; 20142 } 20143 20144 function wrap(innerFn, outerFn, self, tryLocsList) { 20145 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. 20146 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; 20147 var generator = Object.create(protoGenerator.prototype); 20148 var context = new Context(tryLocsList || []); 20149 20150 // The ._invoke method unifies the implementations of the .next, 20151 // .throw, and .return methods. 20152 generator._invoke = makeInvokeMethod(innerFn, self, context); 20153 20154 return generator; 20155 } 20156 exports.wrap = wrap; 20157 20158 // Try/catch helper to minimize deoptimizations. Returns a completion 20159 // record like context.tryEntries[i].completion. This interface could 20160 // have been (and was previously) designed to take a closure to be 20161 // invoked without arguments, but in all the cases we care about we 20162 // already have an existing method we want to call, so there's no need 20163 // to create a new function object. We can even get away with assuming 20164 // the method takes exactly one argument, since that happens to be true 20165 // in every case, so we don't have to touch the arguments object. The 20166 // only additional allocation required is the completion record, which 20167 // has a stable shape and so hopefully should be cheap to allocate. 20168 function tryCatch(fn, obj, arg) { 20169 try { 20170 return { type: "normal", arg: fn.call(obj, arg) }; 20171 } catch (err) { 20172 return { type: "throw", arg: err }; 20173 } 20174 } 20175 20176 var GenStateSuspendedStart = "suspendedStart"; 20177 var GenStateSuspendedYield = "suspendedYield"; 20178 var GenStateExecuting = "executing"; 20179 var GenStateCompleted = "completed"; 20180 20181 // Returning this object from the innerFn has the same effect as 20182 // breaking out of the dispatch switch statement. 20183 var ContinueSentinel = {}; 20184 20185 // Dummy constructor functions that we use as the .constructor and 20186 // .constructor.prototype properties for functions that return Generator 20187 // objects. For full spec compliance, you may wish to configure your 20188 // minifier not to mangle the names of these two functions. 20189 function Generator() {} 20190 function GeneratorFunction() {} 20191 function GeneratorFunctionPrototype() {} 20192 20193 // This is a polyfill for %IteratorPrototype% for environments that 20194 // don't natively support it. 20195 var IteratorPrototype = {}; 20196 IteratorPrototype[iteratorSymbol] = function () { 20197 return this; 20198 }; 20199 20200 var getProto = Object.getPrototypeOf; 20201 var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); 20202 if (NativeIteratorPrototype && 20203 NativeIteratorPrototype !== Op && 20204 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { 20205 // This environment has a native %IteratorPrototype%; use it instead 20206 // of the polyfill. 20207 IteratorPrototype = NativeIteratorPrototype; 20208 } 20209 20210 var Gp = GeneratorFunctionPrototype.prototype = 20211 Generator.prototype = Object.create(IteratorPrototype); 20212 GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; 20213 GeneratorFunctionPrototype.constructor = GeneratorFunction; 20214 GeneratorFunction.displayName = define( 20215 GeneratorFunctionPrototype, 20216 toStringTagSymbol, 20217 "GeneratorFunction" 20218 ); 20219 20220 // Helper for defining the .next, .throw, and .return methods of the 20221 // Iterator interface in terms of a single ._invoke method. 20222 function defineIteratorMethods(prototype) { 20223 ["next", "throw", "return"].forEach(function(method) { 20224 define(prototype, method, function(arg) { 20225 return this._invoke(method, arg); 20226 }); 20227 }); 20228 } 20229 20230 exports.isGeneratorFunction = function(genFun) { 20231 var ctor = typeof genFun === "function" && genFun.constructor; 20232 return ctor 20233 ? ctor === GeneratorFunction || 20234 // For the native GeneratorFunction constructor, the best we can 20235 // do is to check its .name property. 20236 (ctor.displayName || ctor.name) === "GeneratorFunction" 20237 : false; 20238 }; 20239 20240 exports.mark = function(genFun) { 20241 if (Object.setPrototypeOf) { 20242 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 20243 } else { 20244 genFun.__proto__ = GeneratorFunctionPrototype; 20245 define(genFun, toStringTagSymbol, "GeneratorFunction"); 20246 } 20247 genFun.prototype = Object.create(Gp); 20248 return genFun; 20249 }; 20250 20251 // Within the body of any async function, `await x` is transformed to 20252 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test 20253 // `hasOwn.call(value, "__await")` to determine if the yielded value is 20254 // meant to be awaited. 20255 exports.awrap = function(arg) { 20256 return { __await: arg }; 20257 }; 20258 20259 function AsyncIterator(generator, PromiseImpl) { 20260 function invoke(method, arg, resolve, reject) { 20261 var record = tryCatch(generator[method], generator, arg); 20262 if (record.type === "throw") { 20263 reject(record.arg); 20264 } else { 20265 var result = record.arg; 20266 var value = result.value; 20267 if (value && 20268 typeof value === "object" && 20269 hasOwn.call(value, "__await")) { 20270 return PromiseImpl.resolve(value.__await).then(function(value) { 20271 invoke("next", value, resolve, reject); 20272 }, function(err) { 20273 invoke("throw", err, resolve, reject); 20274 }); 20275 } 20276 20277 return PromiseImpl.resolve(value).then(function(unwrapped) { 20278 // When a yielded Promise is resolved, its final value becomes 20279 // the .value of the Promise<{value,done}> result for the 20280 // current iteration. 20281 result.value = unwrapped; 20282 resolve(result); 20283 }, function(error) { 20284 // If a rejected Promise was yielded, throw the rejection back 20285 // into the async generator function so it can be handled there. 20286 return invoke("throw", error, resolve, reject); 20287 }); 20288 } 20289 } 20290 20291 var previousPromise; 20292 20293 function enqueue(method, arg) { 20294 function callInvokeWithMethodAndArg() { 20295 return new PromiseImpl(function(resolve, reject) { 20296 invoke(method, arg, resolve, reject); 20297 }); 20298 } 20299 20300 return previousPromise = 20301 // If enqueue has been called before, then we want to wait until 20302 // all previous Promises have been resolved before calling invoke, 20303 // so that results are always delivered in the correct order. If 20304 // enqueue has not been called before, then it is important to 20305 // call invoke immediately, without waiting on a callback to fire, 20306 // so that the async generator function has the opportunity to do 20307 // any necessary setup in a predictable way. This predictability 20308 // is why the Promise constructor synchronously invokes its 20309 // executor callback, and why async functions synchronously 20310 // execute code before the first await. Since we implement simple 20311 // async functions in terms of async generators, it is especially 20312 // important to get this right, even though it requires care. 20313 previousPromise ? previousPromise.then( 20314 callInvokeWithMethodAndArg, 20315 // Avoid propagating failures to Promises returned by later 20316 // invocations of the iterator. 20317 callInvokeWithMethodAndArg 20318 ) : callInvokeWithMethodAndArg(); 20319 } 20320 20321 // Define the unified helper method that is used to implement .next, 20322 // .throw, and .return (see defineIteratorMethods). 20323 this._invoke = enqueue; 20324 } 20325 20326 defineIteratorMethods(AsyncIterator.prototype); 20327 AsyncIterator.prototype[asyncIteratorSymbol] = function () { 20328 return this; 20329 }; 20330 exports.AsyncIterator = AsyncIterator; 20331 20332 // Note that simple async functions are implemented on top of 20333 // AsyncIterator objects; they just return a Promise for the value of 20334 // the final result produced by the iterator. 20335 exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { 20336 if (PromiseImpl === void 0) PromiseImpl = Promise; 20337 20338 var iter = new AsyncIterator( 20339 wrap(innerFn, outerFn, self, tryLocsList), 20340 PromiseImpl 20341 ); 20342 20343 return exports.isGeneratorFunction(outerFn) 20344 ? iter // If outerFn is a generator, return the full iterator. 20345 : iter.next().then(function(result) { 20346 return result.done ? result.value : iter.next(); 20347 }); 20348 }; 20349 20350 function makeInvokeMethod(innerFn, self, context) { 20351 var state = GenStateSuspendedStart; 20352 20353 return function invoke(method, arg) { 20354 if (state === GenStateExecuting) { 20355 throw new Error("Generator is already running"); 20356 } 20357 20358 if (state === GenStateCompleted) { 20359 if (method === "throw") { 20360 throw arg; 20361 } 20362 20363 // Be forgiving, per 25.3.3.3.3 of the spec: 20364 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 20365 return doneResult(); 20366 } 20367 20368 context.method = method; 20369 context.arg = arg; 20370 20371 while (true) { 20372 var delegate = context.delegate; 20373 if (delegate) { 20374 var delegateResult = maybeInvokeDelegate(delegate, context); 20375 if (delegateResult) { 20376 if (delegateResult === ContinueSentinel) continue; 20377 return delegateResult; 20378 } 20379 } 20380 20381 if (context.method === "next") { 20382 // Setting context._sent for legacy support of Babel's 20383 // function.sent implementation. 20384 context.sent = context._sent = context.arg; 20385 20386 } else if (context.method === "throw") { 20387 if (state === GenStateSuspendedStart) { 20388 state = GenStateCompleted; 20389 throw context.arg; 20390 } 20391 20392 context.dispatchException(context.arg); 20393 20394 } else if (context.method === "return") { 20395 context.abrupt("return", context.arg); 20396 } 20397 20398 state = GenStateExecuting; 20399 20400 var record = tryCatch(innerFn, self, context); 20401 if (record.type === "normal") { 20402 // If an exception is thrown from innerFn, we leave state === 20403 // GenStateExecuting and loop back for another invocation. 20404 state = context.done 20405 ? GenStateCompleted 20406 : GenStateSuspendedYield; 20407 20408 if (record.arg === ContinueSentinel) { 20409 continue; 20410 } 20411 20412 return { 20413 value: record.arg, 20414 done: context.done 20415 }; 20416 20417 } else if (record.type === "throw") { 20418 state = GenStateCompleted; 20419 // Dispatch the exception by looping back around to the 20420 // context.dispatchException(context.arg) call above. 20421 context.method = "throw"; 20422 context.arg = record.arg; 20423 } 20424 } 20425 }; 20426 } 20427 20428 // Call delegate.iterator[context.method](context.arg) and handle the 20429 // result, either by returning a { value, done } result from the 20430 // delegate iterator, or by modifying context.method and context.arg, 20431 // setting context.delegate to null, and returning the ContinueSentinel. 20432 function maybeInvokeDelegate(delegate, context) { 20433 var method = delegate.iterator[context.method]; 20434 if (method === undefined) { 20435 // A .throw or .return when the delegate iterator has no .throw 20436 // method always terminates the yield* loop. 20437 context.delegate = null; 20438 20439 if (context.method === "throw") { 20440 // Note: ["return"] must be used for ES3 parsing compatibility. 20441 if (delegate.iterator["return"]) { 20442 // If the delegate iterator has a return method, give it a 20443 // chance to clean up. 20444 context.method = "return"; 20445 context.arg = undefined; 20446 maybeInvokeDelegate(delegate, context); 20447 20448 if (context.method === "throw") { 20449 // If maybeInvokeDelegate(context) changed context.method from 20450 // "return" to "throw", let that override the TypeError below. 20451 return ContinueSentinel; 20452 } 20453 } 20454 20455 context.method = "throw"; 20456 context.arg = new TypeError( 20457 "The iterator does not provide a 'throw' method"); 20458 } 20459 20460 return ContinueSentinel; 20461 } 20462 20463 var record = tryCatch(method, delegate.iterator, context.arg); 20464 20465 if (record.type === "throw") { 20466 context.method = "throw"; 20467 context.arg = record.arg; 20468 context.delegate = null; 20469 return ContinueSentinel; 20470 } 20471 20472 var info = record.arg; 20473 20474 if (! info) { 20475 context.method = "throw"; 20476 context.arg = new TypeError("iterator result is not an object"); 20477 context.delegate = null; 20478 return ContinueSentinel; 20479 } 20480 20481 if (info.done) { 20482 // Assign the result of the finished delegate to the temporary 20483 // variable specified by delegate.resultName (see delegateYield). 20484 context[delegate.resultName] = info.value; 20485 20486 // Resume execution at the desired location (see delegateYield). 20487 context.next = delegate.nextLoc; 20488 20489 // If context.method was "throw" but the delegate handled the 20490 // exception, let the outer generator proceed normally. If 20491 // context.method was "next", forget context.arg since it has been 20492 // "consumed" by the delegate iterator. If context.method was 20493 // "return", allow the original .return call to continue in the 20494 // outer generator. 20495 if (context.method !== "return") { 20496 context.method = "next"; 20497 context.arg = undefined; 20498 } 20499 20500 } else { 20501 // Re-yield the result returned by the delegate method. 20502 return info; 20503 } 20504 20505 // The delegate iterator is finished, so forget it and continue with 20506 // the outer generator. 20507 context.delegate = null; 20508 return ContinueSentinel; 20509 } 20510 20511 // Define Generator.prototype.{next,throw,return} in terms of the 20512 // unified ._invoke helper method. 20513 defineIteratorMethods(Gp); 20514 20515 define(Gp, toStringTagSymbol, "Generator"); 20516 20517 // A Generator should always return itself as the iterator object when the 20518 // @@iterator function is called on it. Some browsers' implementations of the 20519 // iterator prototype chain incorrectly implement this, causing the Generator 20520 // object to not be returned from this call. This ensures that doesn't happen. 20521 // See https://github.com/facebook/regenerator/issues/274 for more details. 20522 Gp[iteratorSymbol] = function() { 20523 return this; 20524 }; 20525 20526 Gp.toString = function() { 20527 return "[object Generator]"; 20528 }; 20529 20530 function pushTryEntry(locs) { 20531 var entry = { tryLoc: locs[0] }; 20532 20533 if (1 in locs) { 20534 entry.catchLoc = locs[1]; 20535 } 20536 20537 if (2 in locs) { 20538 entry.finallyLoc = locs[2]; 20539 entry.afterLoc = locs[3]; 20540 } 20541 20542 this.tryEntries.push(entry); 20543 } 20544 20545 function resetTryEntry(entry) { 20546 var record = entry.completion || {}; 20547 record.type = "normal"; 20548 delete record.arg; 20549 entry.completion = record; 20550 } 20551 20552 function Context(tryLocsList) { 20553 // The root entry object (effectively a try statement without a catch 20554 // or a finally block) gives us a place to store values thrown from 20555 // locations where there is no enclosing try statement. 20556 this.tryEntries = [{ tryLoc: "root" }]; 20557 tryLocsList.forEach(pushTryEntry, this); 20558 this.reset(true); 20559 } 20560 20561 exports.keys = function(object) { 20562 var keys = []; 20563 for (var key in object) { 20564 keys.push(key); 20565 } 20566 keys.reverse(); 20567 20568 // Rather than returning an object with a next method, we keep 20569 // things simple and return the next function itself. 20570 return function next() { 20571 while (keys.length) { 20572 var key = keys.pop(); 20573 if (key in object) { 20574 next.value = key; 20575 next.done = false; 20576 return next; 20577 } 20578 } 20579 20580 // To avoid creating an additional object, we just hang the .value 20581 // and .done properties off the next function object itself. This 20582 // also ensures that the minifier will not anonymize the function. 20583 next.done = true; 20584 return next; 20585 }; 20586 }; 20587 20588 function values(iterable) { 20589 if (iterable) { 20590 var iteratorMethod = iterable[iteratorSymbol]; 20591 if (iteratorMethod) { 20592 return iteratorMethod.call(iterable); 20593 } 20594 20595 if (typeof iterable.next === "function") { 20596 return iterable; 20597 } 20598 20599 if (!isNaN(iterable.length)) { 20600 var i = -1, next = function next() { 20601 while (++i < iterable.length) { 20602 if (hasOwn.call(iterable, i)) { 20603 next.value = iterable[i]; 20604 next.done = false; 20605 return next; 20606 } 20607 } 20608 20609 next.value = undefined; 20610 next.done = true; 20611 20612 return next; 20613 }; 20614 20615 return next.next = next; 20616 } 20617 } 20618 20619 // Return an iterator with no values. 20620 return { next: doneResult }; 20621 } 20622 exports.values = values; 20623 20624 function doneResult() { 20625 return { value: undefined, done: true }; 20626 } 20627 20628 Context.prototype = { 20629 constructor: Context, 20630 20631 reset: function(skipTempReset) { 20632 this.prev = 0; 20633 this.next = 0; 20634 // Resetting context._sent for legacy support of Babel's 20635 // function.sent implementation. 20636 this.sent = this._sent = undefined; 20637 this.done = false; 20638 this.delegate = null; 20639 20640 this.method = "next"; 20641 this.arg = undefined; 20642 20643 this.tryEntries.forEach(resetTryEntry); 20644 20645 if (!skipTempReset) { 20646 for (var name in this) { 20647 // Not sure about the optimal order of these conditions: 20648 if (name.charAt(0) === "t" && 20649 hasOwn.call(this, name) && 20650 !isNaN(+name.slice(1))) { 20651 this[name] = undefined; 20652 } 20653 } 20654 } 20655 }, 20656 20657 stop: function() { 20658 this.done = true; 20659 20660 var rootEntry = this.tryEntries[0]; 20661 var rootRecord = rootEntry.completion; 20662 if (rootRecord.type === "throw") { 20663 throw rootRecord.arg; 20664 } 20665 20666 return this.rval; 20667 }, 20668 20669 dispatchException: function(exception) { 20670 if (this.done) { 20671 throw exception; 20672 } 20673 20674 var context = this; 20675 function handle(loc, caught) { 20676 record.type = "throw"; 20677 record.arg = exception; 20678 context.next = loc; 20679 20680 if (caught) { 20681 // If the dispatched exception was caught by a catch block, 20682 // then let that catch block handle the exception normally. 20683 context.method = "next"; 20684 context.arg = undefined; 20685 } 20686 20687 return !! caught; 20688 } 20689 20690 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 20691 var entry = this.tryEntries[i]; 20692 var record = entry.completion; 20693 20694 if (entry.tryLoc === "root") { 20695 // Exception thrown outside of any try block that could handle 20696 // it, so set the completion value of the entire function to 20697 // throw the exception. 20698 return handle("end"); 20699 } 20700 20701 if (entry.tryLoc <= this.prev) { 20702 var hasCatch = hasOwn.call(entry, "catchLoc"); 20703 var hasFinally = hasOwn.call(entry, "finallyLoc"); 20704 20705 if (hasCatch && hasFinally) { 20706 if (this.prev < entry.catchLoc) { 20707 return handle(entry.catchLoc, true); 20708 } else if (this.prev < entry.finallyLoc) { 20709 return handle(entry.finallyLoc); 20710 } 20711 20712 } else if (hasCatch) { 20713 if (this.prev < entry.catchLoc) { 20714 return handle(entry.catchLoc, true); 20715 } 20716 20717 } else if (hasFinally) { 20718 if (this.prev < entry.finallyLoc) { 20719 return handle(entry.finallyLoc); 20720 } 20721 20722 } else { 20723 throw new Error("try statement without catch or finally"); 20724 } 20725 } 20726 } 20727 }, 20728 20729 abrupt: function(type, arg) { 20730 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 20731 var entry = this.tryEntries[i]; 20732 if (entry.tryLoc <= this.prev && 20733 hasOwn.call(entry, "finallyLoc") && 20734 this.prev < entry.finallyLoc) { 20735 var finallyEntry = entry; 20736 break; 20737 } 20738 } 20739 20740 if (finallyEntry && 20741 (type === "break" || 20742 type === "continue") && 20743 finallyEntry.tryLoc <= arg && 20744 arg <= finallyEntry.finallyLoc) { 20745 // Ignore the finally entry if control is not jumping to a 20746 // location outside the try/catch block. 20747 finallyEntry = null; 20748 } 20749 20750 var record = finallyEntry ? finallyEntry.completion : {}; 20751 record.type = type; 20752 record.arg = arg; 20753 20754 if (finallyEntry) { 20755 this.method = "next"; 20756 this.next = finallyEntry.finallyLoc; 20757 return ContinueSentinel; 20758 } 20759 20760 return this.complete(record); 20761 }, 20762 20763 complete: function(record, afterLoc) { 20764 if (record.type === "throw") { 20765 throw record.arg; 20766 } 20767 20768 if (record.type === "break" || 20769 record.type === "continue") { 20770 this.next = record.arg; 20771 } else if (record.type === "return") { 20772 this.rval = this.arg = record.arg; 20773 this.method = "return"; 20774 this.next = "end"; 20775 } else if (record.type === "normal" && afterLoc) { 20776 this.next = afterLoc; 20777 } 20778 20779 return ContinueSentinel; 20780 }, 20781 20782 finish: function(finallyLoc) { 20783 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 20784 var entry = this.tryEntries[i]; 20785 if (entry.finallyLoc === finallyLoc) { 20786 this.complete(entry.completion, entry.afterLoc); 20787 resetTryEntry(entry); 20788 return ContinueSentinel; 20789 } 20790 } 20791 }, 20792 20793 "catch": function(tryLoc) { 20794 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 20795 var entry = this.tryEntries[i]; 20796 if (entry.tryLoc === tryLoc) { 20797 var record = entry.completion; 20798 if (record.type === "throw") { 20799 var thrown = record.arg; 20800 resetTryEntry(entry); 20801 } 20802 return thrown; 20803 } 20804 } 20805 20806 // The context.catch method must only be called with a location 20807 // argument that corresponds to a known catch block. 20808 throw new Error("illegal catch attempt"); 20809 }, 20810 20811 delegateYield: function(iterable, resultName, nextLoc) { 20812 this.delegate = { 20813 iterator: values(iterable), 20814 resultName: resultName, 20815 nextLoc: nextLoc 20816 }; 20817 20818 if (this.method === "next") { 20819 // Deliberately forget the last sent value so that we don't 20820 // accidentally pass it on to the delegate. 20821 this.arg = undefined; 20822 } 20823 20824 return ContinueSentinel; 20825 } 20826 }; 20827 20828 // Regardless of whether this script is executing as a CommonJS module 20829 // or not, return the runtime object so that we can declare the variable 20830 // regeneratorRuntime in the outer scope, which allows this module to be 20831 // injected easily by `bin/regenerator --include-runtime script.js`. 20832 return exports; 20833 20834}( 20835 // If this script is executing as a CommonJS module, use module.exports 20836 // as the regeneratorRuntime namespace. Otherwise create a new empty 20837 // object. Either way, the resulting object will be used to initialize 20838 // the regeneratorRuntime variable at the top of this file. 20839 true ? module.exports : undefined 20840)); 20841 20842try { 20843 regeneratorRuntime = runtime; 20844} catch (accidentalStrictMode) { 20845 // This module should not be running in strict mode, so the above 20846 // assignment should always work unless something is misconfigured. Just 20847 // in case runtime.js accidentally runs in strict mode, we can escape 20848 // strict mode using a global Function call. This could conceivably fail 20849 // if a Content Security Policy forbids using Function, but in that case 20850 // the proper solution is to fix the accidental strict mode problem. If 20851 // you've misconfigured your bundler to force strict mode and applied a 20852 // CSP to forbid Function, and you're not willing to fix either of those 20853 // problems, please detail your unique predicament in a GitHub issue. 20854 Function("r", "regeneratorRuntime = r")(runtime); 20855} 20856 20857 20858/***/ }), 20859
vendor: 12,527 bytes, lines 20860-21299
20860/***/ "./node_modules/smoothscroll-polyfill/dist/smoothscroll.js": 20861/*!*****************************************************************!*\ 20862 !*** ./node_modules/smoothscroll-polyfill/dist/smoothscroll.js ***! 20863 \*****************************************************************/ 20864/*! no static exports found */ 20865/***/ (function(module, exports, __webpack_require__) { 20866 20867/* smoothscroll v0.4.4 - 2019 - Dustan Kasten, Jeremias Menichelli - MIT License */ 20868(function () { 20869 'use strict'; 20870 20871 // polyfill 20872 function polyfill() { 20873 // aliases 20874 var w = window; 20875 var d = document; 20876 20877 // return if scroll behavior is supported and polyfill is not forced 20878 if ( 20879 'scrollBehavior' in d.documentElement.style && 20880 w.__forceSmoothScrollPolyfill__ !== true 20881 ) { 20882 return; 20883 } 20884 20885 // globals 20886 var Element = w.HTMLElement || w.Element; 20887 var SCROLL_TIME = 468; 20888 20889 // object gathering original scroll methods 20890 var original = { 20891 scroll: w.scroll || w.scrollTo, 20892 scrollBy: w.scrollBy, 20893 elementScroll: Element.prototype.scroll || scrollElement, 20894 scrollIntoView: Element.prototype.scrollIntoView 20895 }; 20896 20897 // define timing method 20898 var now = 20899 w.performance && w.performance.now 20900 ? w.performance.now.bind(w.performance) 20901 : Date.now; 20902 20903 /** 20904 * indicates if a the current browser is made by Microsoft 20905 * @method isMicrosoftBrowser 20906 * @param {String} userAgent 20907 * @returns {Boolean} 20908 */ 20909 function isMicrosoftBrowser(userAgent) { 20910 var userAgentPatterns = ['MSIE ', 'Trident/', 'Edge/']; 20911 20912 return new RegExp(userAgentPatterns.join('|')).test(userAgent); 20913 } 20914 20915 /* 20916 * IE has rounding bug rounding down clientHeight and clientWidth and 20917 * rounding up scrollHeight and scrollWidth causing false positives 20918 * on hasScrollableSpace 20919 */ 20920 var ROUNDING_TOLERANCE = isMicrosoftBrowser(w.navigator.userAgent) ? 1 : 0; 20921 20922 /** 20923 * changes scroll position inside an element 20924 * @method scrollElement 20925 * @param {Number} x 20926 * @param {Number} y 20927 * @returns {undefined} 20928 */ 20929 function scrollElement(x, y) { 20930 this.scrollLeft = x; 20931 this.scrollTop = y; 20932 } 20933 20934 /** 20935 * returns result of applying ease math function to a number 20936 * @method ease 20937 * @param {Number} k 20938 * @returns {Number} 20939 */ 20940 function ease(k) { 20941 return 0.5 * (1 - Math.cos(Math.PI * k)); 20942 } 20943 20944 /** 20945 * indicates if a smooth behavior should be applied 20946 * @method shouldBailOut 20947 * @param {Number|Object} firstArg 20948 * @returns {Boolean} 20949 */ 20950 function shouldBailOut(firstArg) { 20951 if ( 20952 firstArg === null || 20953 typeof firstArg !== 'object' || 20954 firstArg.behavior === undefined || 20955 firstArg.behavior === 'auto' || 20956 firstArg.behavior === 'instant' 20957 ) { 20958 // first argument is not an object/null 20959 // or behavior is auto, instant or undefined 20960 return true; 20961 } 20962 20963 if (typeof firstArg === 'object' && firstArg.behavior === 'smooth') { 20964 // first argument is an object and behavior is smooth 20965 return false; 20966 } 20967 20968 // throw error when behavior is not supported 20969 throw new TypeError( 20970 'behavior member of ScrollOptions ' + 20971 firstArg.behavior + 20972 ' is not a valid value for enumeration ScrollBehavior.' 20973 ); 20974 } 20975 20976 /** 20977 * indicates if an element has scrollable space in the provided axis 20978 * @method hasScrollableSpace 20979 * @param {Node} el 20980 * @param {String} axis 20981 * @returns {Boolean} 20982 */ 20983 function hasScrollableSpace(el, axis) { 20984 if (axis === 'Y') { 20985 return el.clientHeight + ROUNDING_TOLERANCE < el.scrollHeight; 20986 } 20987 20988 if (axis === 'X') { 20989 return el.clientWidth + ROUNDING_TOLERANCE < el.scrollWidth; 20990 } 20991 } 20992 20993 /** 20994 * indicates if an element has a scrollable overflow property in the axis 20995 * @method canOverflow 20996 * @param {Node} el 20997 * @param {String} axis 20998 * @returns {Boolean} 20999 */ 21000 function canOverflow(el, axis) { 21001 var overflowValue = w.getComputedStyle(el, null)['overflow' + axis]; 21002 21003 return overflowValue === 'auto' || overflowValue === 'scroll'; 21004 } 21005 21006 /** 21007 * indicates if an element can be scrolled in either axis 21008 * @method isScrollable 21009 * @param {Node} el 21010 * @param {String} axis 21011 * @returns {Boolean} 21012 */ 21013 function isScrollable(el) { 21014 var isScrollableY = hasScrollableSpace(el, 'Y') && canOverflow(el, 'Y'); 21015 var isScrollableX = hasScrollableSpace(el, 'X') && canOverflow(el, 'X'); 21016 21017 return isScrollableY || isScrollableX; 21018 } 21019 21020 /** 21021 * finds scrollable parent of an element 21022 * @method findScrollableParent 21023 * @param {Node} el 21024 * @returns {Node} el 21025 */ 21026 function findScrollableParent(el) { 21027 while (el !== d.body && isScrollable(el) === false) { 21028 el = el.parentNode || el.host; 21029 } 21030 21031 return el; 21032 } 21033 21034 /** 21035 * self invoked function that, given a context, steps through scrolling 21036 * @method step 21037 * @param {Object} context 21038 * @returns {undefined} 21039 */ 21040 function step(context) { 21041 var time = now(); 21042 var value; 21043 var currentX; 21044 var currentY; 21045 var elapsed = (time - context.startTime) / SCROLL_TIME; 21046 21047 // avoid elapsed times higher than one 21048 elapsed = elapsed > 1 ? 1 : elapsed; 21049 21050 // apply easing to elapsed time 21051 value = ease(elapsed); 21052 21053 currentX = context.startX + (context.x - context.startX) * value; 21054 currentY = context.startY + (context.y - context.startY) * value; 21055 21056 context.method.call(context.scrollable, currentX, currentY); 21057 21058 // scroll more if we have not reached our destination 21059 if (currentX !== context.x || currentY !== context.y) { 21060 w.requestAnimationFrame(step.bind(w, context)); 21061 } 21062 } 21063 21064 /** 21065 * scrolls window or element with a smooth behavior 21066 * @method smoothScroll 21067 * @param {Object|Node} el 21068 * @param {Number} x 21069 * @param {Number} y 21070 * @returns {undefined} 21071 */ 21072 function smoothScroll(el, x, y) { 21073 var scrollable; 21074 var startX; 21075 var startY; 21076 var method; 21077 var startTime = now(); 21078 21079 // define scroll context 21080 if (el === d.body) { 21081 scrollable = w; 21082 startX = w.scrollX || w.pageXOffset; 21083 startY = w.scrollY || w.pageYOffset; 21084 method = original.scroll; 21085 } else { 21086 scrollable = el; 21087 startX = el.scrollLeft; 21088 startY = el.scrollTop; 21089 method = scrollElement; 21090 } 21091 21092 // scroll looping over a frame 21093 step({ 21094 scrollable: scrollable, 21095 method: method, 21096 startTime: startTime, 21097 startX: startX, 21098 startY: startY, 21099 x: x, 21100 y: y 21101 }); 21102 } 21103 21104 // ORIGINAL METHODS OVERRIDES 21105 // w.scroll and w.scrollTo 21106 w.scroll = w.scrollTo = function() { 21107 // avoid action when no arguments are passed 21108 if (arguments[0] === undefined) { 21109 return; 21110 } 21111 21112 // avoid smooth behavior if not required 21113 if (shouldBailOut(arguments[0]) === true) { 21114 original.scroll.call( 21115 w, 21116 arguments[0].left !== undefined 21117 ? arguments[0].left 21118 : typeof arguments[0] !== 'object' 21119 ? arguments[0] 21120 : w.scrollX || w.pageXOffset, 21121 // use top prop, second argument if present or fallback to scrollY 21122 arguments[0].top !== undefined 21123 ? arguments[0].top 21124 : arguments[1] !== undefined 21125 ? arguments[1] 21126 : w.scrollY || w.pageYOffset 21127 ); 21128 21129 return; 21130 } 21131 21132 // LET THE SMOOTHNESS BEGIN! 21133 smoothScroll.call( 21134 w, 21135 d.body, 21136 arguments[0].left !== undefined 21137 ? ~~arguments[0].left 21138 : w.scrollX || w.pageXOffset, 21139 arguments[0].top !== undefined 21140 ? ~~arguments[0].top 21141 : w.scrollY || w.pageYOffset 21142 ); 21143 }; 21144 21145 // w.scrollBy 21146 w.scrollBy = function() { 21147 // avoid action when no arguments are passed 21148 if (arguments[0] === undefined) { 21149 return; 21150 } 21151 21152 // avoid smooth behavior if not required 21153 if (shouldBailOut(arguments[0])) { 21154 original.scrollBy.call( 21155 w, 21156 arguments[0].left !== undefined 21157 ? arguments[0].left 21158 : typeof arguments[0] !== 'object' ? arguments[0] : 0, 21159 arguments[0].top !== undefined 21160 ? arguments[0].top 21161 : arguments[1] !== undefined ? arguments[1] : 0 21162 ); 21163 21164 return; 21165 } 21166 21167 // LET THE SMOOTHNESS BEGIN! 21168 smoothScroll.call( 21169 w, 21170 d.body, 21171 ~~arguments[0].left + (w.scrollX || w.pageXOffset), 21172 ~~arguments[0].top + (w.scrollY || w.pageYOffset) 21173 ); 21174 }; 21175 21176 // Element.prototype.scroll and Element.prototype.scrollTo 21177 Element.prototype.scroll = Element.prototype.scrollTo = function() { 21178 // avoid action when no arguments are passed 21179 if (arguments[0] === undefined) { 21180 return; 21181 } 21182 21183 // avoid smooth behavior if not required 21184 if (shouldBailOut(arguments[0]) === true) { 21185 // if one number is passed, throw error to match Firefox implementation 21186 if (typeof arguments[0] === 'number' && arguments[1] === undefined) { 21187 throw new SyntaxError('Value could not be converted'); 21188 } 21189 21190 original.elementScroll.call( 21191 this, 21192 // use left prop, first number argument or fallback to scrollLeft 21193 arguments[0].left !== undefined 21194 ? ~~arguments[0].left 21195 : typeof arguments[0] !== 'object' ? ~~arguments[0] : this.scrollLeft, 21196 // use top prop, second argument or fallback to scrollTop 21197 arguments[0].top !== undefined 21198 ? ~~arguments[0].top 21199 : arguments[1] !== undefined ? ~~arguments[1] : this.scrollTop 21200 ); 21201 21202 return; 21203 } 21204 21205 var left = arguments[0].left; 21206 var top = arguments[0].top; 21207 21208 // LET THE SMOOTHNESS BEGIN! 21209 smoothScroll.call( 21210 this, 21211 this, 21212 typeof left === 'undefined' ? this.scrollLeft : ~~left, 21213 typeof top === 'undefined' ? this.scrollTop : ~~top 21214 ); 21215 }; 21216 21217 // Element.prototype.scrollBy 21218 Element.prototype.scrollBy = function() { 21219 // avoid action when no arguments are passed 21220 if (arguments[0] === undefined) { 21221 return; 21222 } 21223 21224 // avoid smooth behavior if not required 21225 if (shouldBailOut(arguments[0]) === true) { 21226 original.elementScroll.call( 21227 this, 21228 arguments[0].left !== undefined 21229 ? ~~arguments[0].left + this.scrollLeft 21230 : ~~arguments[0] + this.scrollLeft, 21231 arguments[0].top !== undefined 21232 ? ~~arguments[0].top + this.scrollTop 21233 : ~~arguments[1] + this.scrollTop 21234 ); 21235 21236 return; 21237 } 21238 21239 this.scroll({ 21240 left: ~~arguments[0].left + this.scrollLeft, 21241 top: ~~arguments[0].top + this.scrollTop, 21242 behavior: arguments[0].behavior 21243 }); 21244 }; 21245 21246 // Element.prototype.scrollIntoView 21247 Element.prototype.scrollIntoView = function() { 21248 // avoid smooth behavior if not required 21249 if (shouldBailOut(arguments[0]) === true) { 21250 original.scrollIntoView.call( 21251 this, 21252 arguments[0] === undefined ? true : arguments[0] 21253 ); 21254 21255 return; 21256 } 21257 21258 // LET THE SMOOTHNESS BEGIN! 21259 var scrollableParent = findScrollableParent(this); 21260 var parentRects = scrollableParent.getBoundingClientRect(); 21261 var clientRects = this.getBoundingClientRect(); 21262 21263 if (scrollableParent !== d.body) { 21264 // reveal element inside parent 21265 smoothScroll.call( 21266 this, 21267 scrollableParent, 21268 scrollableParent.scrollLeft + clientRects.left - parentRects.left, 21269 scrollableParent.scrollTop + clientRects.top - parentRects.top 21270 ); 21271 21272 // reveal parent in viewport unless is fixed 21273 if (w.getComputedStyle(scrollableParent).position !== 'fixed') { 21274 w.scrollBy({ 21275 left: parentRects.left, 21276 top: parentRects.top, 21277 behavior: 'smooth' 21278 }); 21279 } 21280 } else { 21281 // reveal element in viewport 21282 w.scrollBy({ 21283 left: clientRects.left, 21284 top: clientRects.top, 21285 behavior: 'smooth' 21286 }); 21287 } 21288 }; 21289 } 21290 21291 if (true) { 21292 // commonjs 21293 module.exports = { polyfill: polyfill }; 21294 } else {} 21295 21296}()); 21297 21298 21299/***/ })
21299 21300 21301/******/ }); 21302//# sourceMappingURL=ajax-load-more.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.