https://www.nychealthandhospitals.org/wp-content/themes/bigdrop-theme/dist/js/global.js?ver=20220117
vendor: 4,343 bytes, lines 1-127
1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // getDefaultExport function for compatibility with non-harmony modules 48/******/ __webpack_require__.n = function(module) { 49/******/ var getter = module && module.__esModule ? 50/******/ function getDefault() { return module['default']; } : 51/******/ function getModuleExports() { return module; }; 52/******/ __webpack_require__.d(getter, 'a', getter); 53/******/ return getter; 54/******/ }; 55/******/ 56/******/ // Object.prototype.hasOwnProperty.call 57/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 58/******/ 59/******/ // __webpack_public_path__ 60/******/ __webpack_require__.p = ""; 61/******/ 62/******/ // Load entry module and return exports 63/******/ return __webpack_require__(__webpack_require__.s = 131); 64/******/ }) 65/************************************************************************/ 66/******/ ([ 67/* 0 */ 68/***/ (function(module, exports, __webpack_require__) { 69 70var global = __webpack_require__(2); 71var core = __webpack_require__(19); 72var hide = __webpack_require__(12); 73var redefine = __webpack_require__(13); 74var ctx = __webpack_require__(20); 75var PROTOTYPE = 'prototype'; 76 77var $export = function (type, name, source) { 78 var IS_FORCED = type & $export.F; 79 var IS_GLOBAL = type & $export.G; 80 var IS_STATIC = type & $export.S; 81 var IS_PROTO = type & $export.P; 82 var IS_BIND = type & $export.B; 83 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; 84 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); 85 var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); 86 var key, own, out, exp; 87 if (IS_GLOBAL) source = name; 88 for (key in source) { 89 // contains in native 90 own = !IS_FORCED && target && target[key] !== undefined; 91 // export native or passed 92 out = (own ? target : source)[key]; 93 // bind timers to global for call from export context 94 exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; 95 // extend global 96 if (target) redefine(target, key, out, type & $export.U); 97 // export 98 if (exports[key] != out) hide(exports, key, exp); 99 if (IS_PROTO && expProto[key] != out) expProto[key] = out; 100 } 101}; 102global.core = core; 103// type bitmap 104$export.F = 1; // forced 105$export.G = 2; // global 106$export.S = 4; // static 107$export.P = 8; // proto 108$export.B = 16; // bind 109$export.W = 32; // wrap 110$export.U = 64; // safe 111$export.R = 128; // real proto method for `library` 112module.exports = $export; 113 114 115/***/ }), 116/* 1 */ 117/***/ (function(module, exports, __webpack_require__) { 118 119var isObject = __webpack_require__(5); 120module.exports = function (it) { 121 if (!isObject(it)) throw TypeError(it + ' is not an object!'); 122 return it; 123}; 124 125 126/***/ }), 127/* 2 */
vendor: 13,083 bytes, lines 128-599
128/***/ (function(module, exports) { 129 130// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 131var global = module.exports = typeof window != 'undefined' && window.Math == Math 132 ? window : typeof self != 'undefined' && self.Math == Math ? self 133 // eslint-disable-next-line no-new-func 134 : Function('return this')(); 135if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef 136 137 138/***/ }), 139/* 3 */ 140/***/ (function(module, exports) { 141 142module.exports = jQuery; 143 144/***/ }), 145/* 4 */ 146/***/ (function(module, exports) { 147 148module.exports = function (exec) { 149 try { 150 return !!exec(); 151 } catch (e) { 152 return true; 153 } 154}; 155 156 157/***/ }), 158/* 5 */ 159/***/ (function(module, exports) { 160 161module.exports = function (it) { 162 return typeof it === 'object' ? it !== null : typeof it === 'function'; 163}; 164 165 166/***/ }), 167/* 6 */ 168/***/ (function(module, exports, __webpack_require__) { 169 170var store = __webpack_require__(48)('wks'); 171var uid = __webpack_require__(34); 172var Symbol = __webpack_require__(2).Symbol; 173var USE_SYMBOL = typeof Symbol == 'function'; 174 175var $exports = module.exports = function (name) { 176 return store[name] || (store[name] = 177 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); 178}; 179 180$exports.store = store; 181 182 183/***/ }), 184/* 7 */ 185/***/ (function(module, exports, __webpack_require__) { 186 187// 7.1.15 ToLength 188var toInteger = __webpack_require__(22); 189var min = Math.min; 190module.exports = function (it) { 191 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 192}; 193 194 195/***/ }), 196/* 8 */ 197/***/ (function(module, exports, __webpack_require__) { 198 199// Thank's IE8 for his funny defineProperty 200module.exports = !__webpack_require__(4)(function () { 201 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; 202}); 203 204 205/***/ }), 206/* 9 */ 207/***/ (function(module, exports, __webpack_require__) { 208 209var anObject = __webpack_require__(1); 210var IE8_DOM_DEFINE = __webpack_require__(95); 211var toPrimitive = __webpack_require__(24); 212var dP = Object.defineProperty; 213 214exports.f = __webpack_require__(8) ? Object.defineProperty : function defineProperty(O, P, Attributes) { 215 anObject(O); 216 P = toPrimitive(P, true); 217 anObject(Attributes); 218 if (IE8_DOM_DEFINE) try { 219 return dP(O, P, Attributes); 220 } catch (e) { /* empty */ } 221 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); 222 if ('value' in Attributes) O[P] = Attributes.value; 223 return O; 224}; 225 226 227/***/ }), 228/* 10 */ 229/***/ (function(module, exports, __webpack_require__) { 230 231// 7.1.13 ToObject(argument) 232var defined = __webpack_require__(25); 233module.exports = function (it) { 234 return Object(defined(it)); 235}; 236 237 238/***/ }), 239/* 11 */ 240/***/ (function(module, exports) { 241 242module.exports = function (it) { 243 if (typeof it != 'function') throw TypeError(it + ' is not a function!'); 244 return it; 245}; 246 247 248/***/ }), 249/* 12 */ 250/***/ (function(module, exports, __webpack_require__) { 251 252var dP = __webpack_require__(9); 253var createDesc = __webpack_require__(33); 254module.exports = __webpack_require__(8) ? function (object, key, value) { 255 return dP.f(object, key, createDesc(1, value)); 256} : function (object, key, value) { 257 object[key] = value; 258 return object; 259}; 260 261 262/***/ }), 263/* 13 */ 264/***/ (function(module, exports, __webpack_require__) { 265 266var global = __webpack_require__(2); 267var hide = __webpack_require__(12); 268var has = __webpack_require__(15); 269var SRC = __webpack_require__(34)('src'); 270var $toString = __webpack_require__(135); 271var TO_STRING = 'toString'; 272var TPL = ('' + $toString).split(TO_STRING); 273 274__webpack_require__(19).inspectSource = function (it) { 275 return $toString.call(it); 276}; 277 278(module.exports = function (O, key, val, safe) { 279 var isFunction = typeof val == 'function'; 280 if (isFunction) has(val, 'name') || hide(val, 'name', key); 281 if (O[key] === val) return; 282 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); 283 if (O === global) { 284 O[key] = val; 285 } else if (!safe) { 286 delete O[key]; 287 hide(O, key, val); 288 } else if (O[key]) { 289 O[key] = val; 290 } else { 291 hide(O, key, val); 292 } 293// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 294})(Function.prototype, TO_STRING, function toString() { 295 return typeof this == 'function' && this[SRC] || $toString.call(this); 296}); 297 298 299/***/ }), 300/* 14 */ 301/***/ (function(module, exports, __webpack_require__) { 302 303var $export = __webpack_require__(0); 304var fails = __webpack_require__(4); 305var defined = __webpack_require__(25); 306var quot = /"/g; 307// B.2.3.2.1 CreateHTML(string, tag, attribute, value) 308var createHTML = function (string, tag, attribute, value) { 309 var S = String(defined(string)); 310 var p1 = '<' + tag; 311 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; 312 return p1 + '>' + S + '</' + tag + '>'; 313}; 314module.exports = function (NAME, exec) { 315 var O = {}; 316 O[NAME] = exec(createHTML); 317 $export($export.P + $export.F * fails(function () { 318 var test = ''[NAME]('"'); 319 return test !== test.toLowerCase() || test.split('"').length > 3; 320 }), 'String', O); 321}; 322 323 324/***/ }), 325/* 15 */ 326/***/ (function(module, exports) { 327 328var hasOwnProperty = {}.hasOwnProperty; 329module.exports = function (it, key) { 330 return hasOwnProperty.call(it, key); 331}; 332 333 334/***/ }), 335/* 16 */ 336/***/ (function(module, exports, __webpack_require__) { 337 338// to indexed object, toObject with fallback for non-array-like ES3 strings 339var IObject = __webpack_require__(49); 340var defined = __webpack_require__(25); 341module.exports = function (it) { 342 return IObject(defined(it)); 343}; 344 345 346/***/ }), 347/* 17 */ 348/***/ (function(module, exports, __webpack_require__) { 349 350var pIE = __webpack_require__(50); 351var createDesc = __webpack_require__(33); 352var toIObject = __webpack_require__(16); 353var toPrimitive = __webpack_require__(24); 354var has = __webpack_require__(15); 355var IE8_DOM_DEFINE = __webpack_require__(95); 356var gOPD = Object.getOwnPropertyDescriptor; 357 358exports.f = __webpack_require__(8) ? gOPD : function getOwnPropertyDescriptor(O, P) { 359 O = toIObject(O); 360 P = toPrimitive(P, true); 361 if (IE8_DOM_DEFINE) try { 362 return gOPD(O, P); 363 } catch (e) { /* empty */ } 364 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); 365}; 366 367 368/***/ }), 369/* 18 */ 370/***/ (function(module, exports, __webpack_require__) { 371 372// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) 373var has = __webpack_require__(15); 374var toObject = __webpack_require__(10); 375var IE_PROTO = __webpack_require__(69)('IE_PROTO'); 376var ObjectProto = Object.prototype; 377 378module.exports = Object.getPrototypeOf || function (O) { 379 O = toObject(O); 380 if (has(O, IE_PROTO)) return O[IE_PROTO]; 381 if (typeof O.constructor == 'function' && O instanceof O.constructor) { 382 return O.constructor.prototype; 383 } return O instanceof Object ? ObjectProto : null; 384}; 385 386 387/***/ }), 388/* 19 */ 389/***/ (function(module, exports) { 390 391var core = module.exports = { version: '2.6.12' }; 392if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef 393 394 395/***/ }), 396/* 20 */ 397/***/ (function(module, exports, __webpack_require__) { 398 399// optional / simple context binding 400var aFunction = __webpack_require__(11); 401module.exports = function (fn, that, length) { 402 aFunction(fn); 403 if (that === undefined) return fn; 404 switch (length) { 405 case 1: return function (a) { 406 return fn.call(that, a); 407 }; 408 case 2: return function (a, b) { 409 return fn.call(that, a, b); 410 }; 411 case 3: return function (a, b, c) { 412 return fn.call(that, a, b, c); 413 }; 414 } 415 return function (/* ...args */) { 416 return fn.apply(that, arguments); 417 }; 418}; 419 420 421/***/ }), 422/* 21 */ 423/***/ (function(module, exports) { 424 425var toString = {}.toString; 426 427module.exports = function (it) { 428 return toString.call(it).slice(8, -1); 429}; 430 431 432/***/ }), 433/* 22 */ 434/***/ (function(module, exports) { 435 436// 7.1.4 ToInteger 437var ceil = Math.ceil; 438var floor = Math.floor; 439module.exports = function (it) { 440 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); 441}; 442 443 444/***/ }), 445/* 23 */ 446/***/ (function(module, exports, __webpack_require__) { 447 448"use strict"; 449 450var fails = __webpack_require__(4); 451 452module.exports = function (method, arg) { 453 return !!method && fails(function () { 454 // eslint-disable-next-line no-useless-call 455 arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); 456 }); 457}; 458 459 460/***/ }), 461/* 24 */ 462/***/ (function(module, exports, __webpack_require__) { 463 464// 7.1.1 ToPrimitive(input [, PreferredType]) 465var isObject = __webpack_require__(5); 466// instead of the ES6 spec version, we didn't implement @@toPrimitive case 467// and the second argument - flag - preferred type is a string 468module.exports = function (it, S) { 469 if (!isObject(it)) return it; 470 var fn, val; 471 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 472 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; 473 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 474 throw TypeError("Can't convert object to primitive value"); 475}; 476 477 478/***/ }), 479/* 25 */ 480/***/ (function(module, exports) { 481 482// 7.2.1 RequireObjectCoercible(argument) 483module.exports = function (it) { 484 if (it == undefined) throw TypeError("Can't call method on " + it); 485 return it; 486}; 487 488 489/***/ }), 490/* 26 */ 491/***/ (function(module, exports, __webpack_require__) { 492 493// most Object methods by ES6 should accept primitives 494var $export = __webpack_require__(0); 495var core = __webpack_require__(19); 496var fails = __webpack_require__(4); 497module.exports = function (KEY, exec) { 498 var fn = (core.Object || {})[KEY] || Object[KEY]; 499 var exp = {}; 500 exp[KEY] = exec(fn); 501 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); 502}; 503 504 505/***/ }), 506/* 27 */ 507/***/ (function(module, exports, __webpack_require__) { 508 509// 0 -> Array#forEach 510// 1 -> Array#map 511// 2 -> Array#filter 512// 3 -> Array#some 513// 4 -> Array#every 514// 5 -> Array#find 515// 6 -> Array#findIndex 516var ctx = __webpack_require__(20); 517var IObject = __webpack_require__(49); 518var toObject = __webpack_require__(10); 519var toLength = __webpack_require__(7); 520var asc = __webpack_require__(85); 521module.exports = function (TYPE, $create) { 522 var IS_MAP = TYPE == 1; 523 var IS_FILTER = TYPE == 2; 524 var IS_SOME = TYPE == 3; 525 var IS_EVERY = TYPE == 4; 526 var IS_FIND_INDEX = TYPE == 6; 527 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; 528 var create = $create || asc; 529 return function ($this, callbackfn, that) { 530 var O = toObject($this); 531 var self = IObject(O); 532 var f = ctx(callbackfn, that, 3); 533 var length = toLength(self.length); 534 var index = 0; 535 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; 536 var val, res; 537 for (;length > index; index++) if (NO_HOLES || index in self) { 538 val = self[index]; 539 res = f(val, index, O); 540 if (TYPE) { 541 if (IS_MAP) result[index] = res; // map 542 else if (res) switch (TYPE) { 543 case 3: return true; // some 544 case 5: return val; // find 545 case 6: return index; // findIndex 546 case 2: result.push(val); // filter 547 } else if (IS_EVERY) return false; // every 548 } 549 } 550 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; 551 }; 552}; 553 554 555/***/ }), 556/* 28 */ 557/***/ (function(module, exports, __webpack_require__) { 558 559"use strict"; 560 561if (__webpack_require__(8)) { 562 var LIBRARY = __webpack_require__(30); 563 var global = __webpack_require__(2); 564 var fails = __webpack_require__(4); 565 var $export = __webpack_require__(0); 566 var $typed = __webpack_require__(63); 567 var $buffer = __webpack_require__(93); 568 var ctx = __webpack_require__(20); 569 var anInstance = __webpack_require__(40); 570 var propertyDesc = __webpack_require__(33); 571 var hide = __webpack_require__(12); 572 var redefineAll = __webpack_require__(42); 573 var toInteger = __webpack_require__(22); 574 var toLength = __webpack_require__(7); 575 var toIndex = __webpack_require__(123); 576 var toAbsoluteIndex = __webpack_require__(36); 577 var toPrimitive = __webpack_require__(24); 578 var has = __webpack_require__(15); 579 var classof = __webpack_require__(45); 580 var isObject = __webpack_require__(5); 581 var toObject = __webpack_require__(10); 582 var isArrayIter = __webpack_require__(82); 583 var create = __webpack_require__(37); 584 var getPrototypeOf = __webpack_require__(18); 585 var gOPN = __webpack_require__(38).f; 586 var getIterFn = __webpack_require__(84); 587 var uid = __webpack_require__(34); 588 var wks = __webpack_require__(6); 589 var createArrayMethod = __webpack_require__(27); 590 var createArrayIncludes = __webpack_require__(53); 591 var speciesConstructor = __webpack_require__(52); 592 var ArrayIterators = __webpack_require__(87); 593 var Iterators = __webpack_require__(47); 594 var $iterDetect = __webpack_require__(58); 595 var setSpecies = __webpack_require__(39); 596 var arrayFill = __webpack_require__(86); 597 var arrayCopyWithin = __webpack_require__(112); 598 var $DP = __webpack_require__(9); 599 var $GOPD = __webpack_require__(17
vendor: 16,572 bytes, lines 599-1040
599); 600 var dP = $DP.f; 601 var gOPD = $GOPD.f; 602 var RangeError = global.RangeError; 603 var TypeError = global.TypeError; 604 var Uint8Array = global.Uint8Array; 605 var ARRAY_BUFFER = 'ArrayBuffer'; 606 var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; 607 var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; 608 var PROTOTYPE = 'prototype'; 609 var ArrayProto = Array[PROTOTYPE]; 610 var $ArrayBuffer = $buffer.ArrayBuffer; 611 var $DataView = $buffer.DataView; 612 var arrayForEach = createArrayMethod(0); 613 var arrayFilter = createArrayMethod(2); 614 var arraySome = createArrayMethod(3); 615 var arrayEvery = createArrayMethod(4); 616 var arrayFind = createArrayMethod(5); 617 var arrayFindIndex = createArrayMethod(6); 618 var arrayIncludes = createArrayIncludes(true); 619 var arrayIndexOf = createArrayIncludes(false); 620 var arrayValues = ArrayIterators.values; 621 var arrayKeys = ArrayIterators.keys; 622 var arrayEntries = ArrayIterators.entries; 623 var arrayLastIndexOf = ArrayProto.lastIndexOf; 624 var arrayReduce = ArrayProto.reduce; 625 var arrayReduceRight = ArrayProto.reduceRight; 626 var arrayJoin = ArrayProto.join; 627 var arraySort = ArrayProto.sort; 628 var arraySlice = ArrayProto.slice; 629 var arrayToString = ArrayProto.toString; 630 var arrayToLocaleString = ArrayProto.toLocaleString; 631 var ITERATOR = wks('iterator'); 632 var TAG = wks('toStringTag'); 633 var TYPED_CONSTRUCTOR = uid('typed_constructor'); 634 var DEF_CONSTRUCTOR = uid('def_constructor'); 635 var ALL_CONSTRUCTORS = $typed.CONSTR; 636 var TYPED_ARRAY = $typed.TYPED; 637 var VIEW = $typed.VIEW; 638 var WRONG_LENGTH = 'Wrong length!'; 639 640 var $map = createArrayMethod(1, function (O, length) { 641 return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); 642 }); 643 644 var LITTLE_ENDIAN = fails(function () { 645 // eslint-disable-next-line no-undef 646 return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; 647 }); 648 649 var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { 650 new Uint8Array(1).set({}); 651 }); 652 653 var toOffset = function (it, BYTES) { 654 var offset = toInteger(it); 655 if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); 656 return offset; 657 }; 658 659 var validate = function (it) { 660 if (isObject(it) && TYPED_ARRAY in it) return it; 661 throw TypeError(it + ' is not a typed array!'); 662 }; 663 664 var allocate = function (C, length) { 665 if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { 666 throw TypeError('It is not a typed array constructor!'); 667 } return new C(length); 668 }; 669 670 var speciesFromList = function (O, list) { 671 return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); 672 }; 673 674 var fromList = function (C, list) { 675 var index = 0; 676 var length = list.length; 677 var result = allocate(C, length); 678 while (length > index) result[index] = list[index++]; 679 return result; 680 }; 681 682 var addGetter = function (it, key, internal) { 683 dP(it, key, { get: function () { return this._d[internal]; } }); 684 }; 685 686 var $from = function from(source /* , mapfn, thisArg */) { 687 var O = toObject(source); 688 var aLen = arguments.length; 689 var mapfn = aLen > 1 ? arguments[1] : undefined; 690 var mapping = mapfn !== undefined; 691 var iterFn = getIterFn(O); 692 var i, length, values, result, step, iterator; 693 if (iterFn != undefined && !isArrayIter(iterFn)) { 694 for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { 695 values.push(step.value); 696 } O = values; 697 } 698 if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); 699 for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { 700 result[i] = mapping ? mapfn(O[i], i) : O[i]; 701 } 702 return result; 703 }; 704 705 var $of = function of(/* ...items */) { 706 var index = 0; 707 var length = arguments.length; 708 var result = allocate(this, length); 709 while (length > index) result[index] = arguments[index++]; 710 return result; 711 }; 712 713 // iOS Safari 6.x fails here 714 var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); 715 716 var $toLocaleString = function toLocaleString() { 717 return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); 718 }; 719 720 var proto = { 721 copyWithin: function copyWithin(target, start /* , end */) { 722 return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); 723 }, 724 every: function every(callbackfn /* , thisArg */) { 725 return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 726 }, 727 fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars 728 return arrayFill.apply(validate(this), arguments); 729 }, 730 filter: function filter(callbackfn /* , thisArg */) { 731 return speciesFromList(this, arrayFilter(validate(this), callbackfn, 732 arguments.length > 1 ? arguments[1] : undefined)); 733 }, 734 find: function find(predicate /* , thisArg */) { 735 return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 736 }, 737 findIndex: function findIndex(predicate /* , thisArg */) { 738 return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 739 }, 740 forEach: function forEach(callbackfn /* , thisArg */) { 741 arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 742 }, 743 indexOf: function indexOf(searchElement /* , fromIndex */) { 744 return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 745 }, 746 includes: function includes(searchElement /* , fromIndex */) { 747 return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 748 }, 749 join: function join(separator) { // eslint-disable-line no-unused-vars 750 return arrayJoin.apply(validate(this), arguments); 751 }, 752 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars 753 return arrayLastIndexOf.apply(validate(this), arguments); 754 }, 755 map: function map(mapfn /* , thisArg */) { 756 return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); 757 }, 758 reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 759 return arrayReduce.apply(validate(this), arguments); 760 }, 761 reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 762 return arrayReduceRight.apply(validate(this), arguments); 763 }, 764 reverse: function reverse() { 765 var that = this; 766 var length = validate(that).length; 767 var middle = Math.floor(length / 2); 768 var index = 0; 769 var value; 770 while (index < middle) { 771 value = that[index]; 772 that[index++] = that[--length]; 773 that[length] = value; 774 } return that; 775 }, 776 some: function some(callbackfn /* , thisArg */) { 777 return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 778 }, 779 sort: function sort(comparefn) { 780 return arraySort.call(validate(this), comparefn); 781 }, 782 subarray: function subarray(begin, end) { 783 var O = validate(this); 784 var length = O.length; 785 var $begin = toAbsoluteIndex(begin, length); 786 return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( 787 O.buffer, 788 O.byteOffset + $begin * O.BYTES_PER_ELEMENT, 789 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) 790 ); 791 } 792 }; 793 794 var $slice = function slice(start, end) { 795 return speciesFromList(this, arraySlice.call(validate(this), start, end)); 796 }; 797 798 var $set = function set(arrayLike /* , offset */) { 799 validate(this); 800 var offset = toOffset(arguments[1], 1); 801 var length = this.length; 802 var src = toObject(arrayLike); 803 var len = toLength(src.length); 804 var index = 0; 805 if (len + offset > length) throw RangeError(WRONG_LENGTH); 806 while (index < len) this[offset + index] = src[index++]; 807 }; 808 809 var $iterators = { 810 entries: function entries() { 811 return arrayEntries.call(validate(this)); 812 }, 813 keys: function keys() { 814 return arrayKeys.call(validate(this)); 815 }, 816 values: function values() { 817 return arrayValues.call(validate(this)); 818 } 819 }; 820 821 var isTAIndex = function (target, key) { 822 return isObject(target) 823 && target[TYPED_ARRAY] 824 && typeof key != 'symbol' 825 && key in target 826 && String(+key) == String(key); 827 }; 828 var $getDesc = function getOwnPropertyDescriptor(target, key) { 829 return isTAIndex(target, key = toPrimitive(key, true)) 830 ? propertyDesc(2, target[key]) 831 : gOPD(target, key); 832 }; 833 var $setDesc = function defineProperty(target, key, desc) { 834 if (isTAIndex(target, key = toPrimitive(key, true)) 835 && isObject(desc) 836 && has(desc, 'value') 837 && !has(desc, 'get') 838 && !has(desc, 'set') 839 // TODO: add validation descriptor w/o calling accessors 840 && !desc.configurable 841 && (!has(desc, 'writable') || desc.writable) 842 && (!has(desc, 'enumerable') || desc.enumerable) 843 ) { 844 target[key] = desc.value; 845 return target; 846 } return dP(target, key, desc); 847 }; 848 849 if (!ALL_CONSTRUCTORS) { 850 $GOPD.f = $getDesc; 851 $DP.f = $setDesc; 852 } 853 854 $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { 855 getOwnPropertyDescriptor: $getDesc, 856 defineProperty: $setDesc 857 }); 858 859 if (fails(function () { arrayToString.call({}); })) { 860 arrayToString = arrayToLocaleString = function toString() { 861 return arrayJoin.call(this); 862 }; 863 } 864 865 var $TypedArrayPrototype$ = redefineAll({}, proto); 866 redefineAll($TypedArrayPrototype$, $iterators); 867 hide($TypedArrayPrototype$, ITERATOR, $iterators.values); 868 redefineAll($TypedArrayPrototype$, { 869 slice: $slice, 870 set: $set, 871 constructor: function () { /* noop */ }, 872 toString: arrayToString, 873 toLocaleString: $toLocaleString 874 }); 875 addGetter($TypedArrayPrototype$, 'buffer', 'b'); 876 addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); 877 addGetter($TypedArrayPrototype$, 'byteLength', 'l'); 878 addGetter($TypedArrayPrototype$, 'length', 'e'); 879 dP($TypedArrayPrototype$, TAG, { 880 get: function () { return this[TYPED_ARRAY]; } 881 }); 882 883 // eslint-disable-next-line max-statements 884 module.exports = function (KEY, BYTES, wrapper, CLAMPED) { 885 CLAMPED = !!CLAMPED; 886 var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; 887 var GETTER = 'get' + KEY; 888 var SETTER = 'set' + KEY; 889 var TypedArray = global[NAME]; 890 var Base = TypedArray || {}; 891 var TAC = TypedArray && getPrototypeOf(TypedArray); 892 var FORCED = !TypedArray || !$typed.ABV; 893 var O = {}; 894 var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; 895 var getter = function (that, index) { 896 var data = that._d; 897 return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); 898 }; 899 var setter = function (that, index, value) { 900 var data = that._d; 901 if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; 902 data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); 903 }; 904 var addElement = function (that, index) { 905 dP(that, index, { 906 get: function () { 907 return getter(this, index); 908 }, 909 set: function (value) { 910 return setter(this, index, value); 911 }, 912 enumerable: true 913 }); 914 }; 915 if (FORCED) { 916 TypedArray = wrapper(function (that, data, $offset, $length) { 917 anInstance(that, TypedArray, NAME, '_d'); 918 var index = 0; 919 var offset = 0; 920 var buffer, byteLength, length, klass; 921 if (!isObject(data)) { 922 length = toIndex(data); 923 byteLength = length * BYTES; 924 buffer = new $ArrayBuffer(byteLength); 925 } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 926 buffer = data; 927 offset = toOffset($offset, BYTES); 928 var $len = data.byteLength; 929 if ($length === undefined) { 930 if ($len % BYTES) throw RangeError(WRONG_LENGTH); 931 byteLength = $len - offset; 932 if (byteLength < 0) throw RangeError(WRONG_LENGTH); 933 } else { 934 byteLength = toLength($length) * BYTES; 935 if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); 936 } 937 length = byteLength / BYTES; 938 } else if (TYPED_ARRAY in data) { 939 return fromList(TypedArray, data); 940 } else { 941 return $from.call(TypedArray, data); 942 } 943 hide(that, '_d', { 944 b: buffer, 945 o: offset, 946 l: byteLength, 947 e: length, 948 v: new $DataView(buffer) 949 }); 950 while (index < length) addElement(that, index++); 951 }); 952 TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); 953 hide(TypedArrayPrototype, 'constructor', TypedArray); 954 } else if (!fails(function () { 955 TypedArray(1); 956 }) || !fails(function () { 957 new TypedArray(-1); // eslint-disable-line no-new 958 }) || !$iterDetect(function (iter) { 959 new TypedArray(); // eslint-disable-line no-new 960 new TypedArray(null); // eslint-disable-line no-new 961 new TypedArray(1.5); // eslint-disable-line no-new 962 new TypedArray(iter); // eslint-disable-line no-new 963 }, true)) { 964 TypedArray = wrapper(function (that, data, $offset, $length) { 965 anInstance(that, TypedArray, NAME); 966 var klass; 967 // `ws` module bug, temporarily remove validation length for Uint8Array 968 // https://github.com/websockets/ws/pull/645 969 if (!isObject(data)) return new Base(toIndex(data)); 970 if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 971 return $length !== undefined 972 ? new Base(data, toOffset($offset, BYTES), $length) 973 : $offset !== undefined 974 ? new Base(data, toOffset($offset, BYTES)) 975 : new Base(data); 976 } 977 if (TYPED_ARRAY in data) return fromList(TypedArray, data); 978 return $from.call(TypedArray, data); 979 }); 980 arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { 981 if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); 982 }); 983 TypedArray[PROTOTYPE] = TypedArrayPrototype; 984 if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; 985 } 986 var $nativeIterator = TypedArrayPrototype[ITERATOR]; 987 var CORRECT_ITER_NAME = !!$nativeIterator 988 && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); 989 var $iterator = $iterators.values; 990 hide(TypedArray, TYPED_CONSTRUCTOR, true); 991 hide(TypedArrayPrototype, TYPED_ARRAY, NAME); 992 hide(TypedArrayPrototype, VIEW, true); 993 hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); 994 995 if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { 996 dP(TypedArrayPrototype, TAG, { 997 get: function () { return NAME; } 998 }); 999 } 1000 1001 O[NAME] = TypedArray; 1002 1003 $export($export.G + $export.W + $export.F * (TypedArray != Base), O); 1004 1005 $export($export.S, NAME, { 1006 BYTES_PER_ELEMENT: BYTES 1007 }); 1008 1009 $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { 1010 from: $from, 1011 of: $of 1012 }); 1013 1014 if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); 1015 1016 $export($export.P, NAME, proto); 1017 1018 setSpecies(NAME); 1019 1020 $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); 1021 1022 $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); 1023 1024 if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; 1025 1026 $export($export.P + $export.F * fails(function () { 1027 new TypedArray(1).slice(); 1028 }), NAME, { slice: $slice }); 1029 1030 $export($export.P + $export.F * (fails(function () { 1031 return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); 1032 }) || !fails(function () { 1033 TypedArrayPrototype.toLocaleString.call([1, 2]); 1034 })), NAME, { toLocaleString: $toLocaleString }); 1035 1036 Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; 1037 if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); 1038 }; 1039} else module.exports = function () { /* empty */ }; 1040
vendor: 1,909 bytes, lines 1041-1100
1041 1042/***/ }), 1043/* 29 */ 1044/***/ (function(module, exports, __webpack_require__) { 1045 1046var Map = __webpack_require__(118); 1047var $export = __webpack_require__(0); 1048var shared = __webpack_require__(48)('metadata'); 1049var store = shared.store || (shared.store = new (__webpack_require__(121))()); 1050 1051var getOrCreateMetadataMap = function (target, targetKey, create) { 1052 var targetMetadata = store.get(target); 1053 if (!targetMetadata) { 1054 if (!create) return undefined; 1055 store.set(target, targetMetadata = new Map()); 1056 } 1057 var keyMetadata = targetMetadata.get(targetKey); 1058 if (!keyMetadata) { 1059 if (!create) return undefined; 1060 targetMetadata.set(targetKey, keyMetadata = new Map()); 1061 } return keyMetadata; 1062}; 1063var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { 1064 var metadataMap = getOrCreateMetadataMap(O, P, false); 1065 return metadataMap === undefined ? false : metadataMap.has(MetadataKey); 1066}; 1067var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { 1068 var metadataMap = getOrCreateMetadataMap(O, P, false); 1069 return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); 1070}; 1071var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { 1072 getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); 1073}; 1074var ordinaryOwnMetadataKeys = function (target, targetKey) { 1075 var metadataMap = getOrCreateMetadataMap(target, targetKey, false); 1076 var keys = []; 1077 if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); 1078 return keys; 1079}; 1080var toMetaKey = function (it) { 1081 return it === undefined || typeof it == 'symbol' ? it : String(it); 1082}; 1083var exp = function (O) { 1084 $export($export.S, 'Reflect', O); 1085}; 1086 1087module.exports = { 1088 store: store, 1089 map: getOrCreateMetadataMap, 1090 has: ordinaryHasOwnMetadata, 1091 get: ordinaryGetOwnMetadata, 1092 set: ordinaryDefineOwnMetadata, 1093 keys: ordinaryOwnMetadataKeys, 1094 key: toMetaKey, 1095 exp: exp 1096}; 1097 1098 1099/***/ }), 1100/* 30 */
vendor: 5,521 bytes, lines 1101-1310
1101/***/ (function(module, exports) { 1102 1103module.exports = false; 1104 1105 1106/***/ }), 1107/* 31 */ 1108/***/ (function(module, exports, __webpack_require__) { 1109 1110var META = __webpack_require__(34)('meta'); 1111var isObject = __webpack_require__(5); 1112var has = __webpack_require__(15); 1113var setDesc = __webpack_require__(9).f; 1114var id = 0; 1115var isExtensible = Object.isExtensible || function () { 1116 return true; 1117}; 1118var FREEZE = !__webpack_require__(4)(function () { 1119 return isExtensible(Object.preventExtensions({})); 1120}); 1121var setMeta = function (it) { 1122 setDesc(it, META, { value: { 1123 i: 'O' + ++id, // object ID 1124 w: {} // weak collections IDs 1125 } }); 1126}; 1127var fastKey = function (it, create) { 1128 // return primitive with prefix 1129 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; 1130 if (!has(it, META)) { 1131 // can't set metadata to uncaught frozen object 1132 if (!isExtensible(it)) return 'F'; 1133 // not necessary to add metadata 1134 if (!create) return 'E'; 1135 // add missing metadata 1136 setMeta(it); 1137 // return object ID 1138 } return it[META].i; 1139}; 1140var getWeak = function (it, create) { 1141 if (!has(it, META)) { 1142 // can't set metadata to uncaught frozen object 1143 if (!isExtensible(it)) return true; 1144 // not necessary to add metadata 1145 if (!create) return false; 1146 // add missing metadata 1147 setMeta(it); 1148 // return hash weak collections IDs 1149 } return it[META].w; 1150}; 1151// add metadata on freeze-family methods calling 1152var onFreeze = function (it) { 1153 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); 1154 return it; 1155}; 1156var meta = module.exports = { 1157 KEY: META, 1158 NEED: false, 1159 fastKey: fastKey, 1160 getWeak: getWeak, 1161 onFreeze: onFreeze 1162}; 1163 1164 1165/***/ }), 1166/* 32 */ 1167/***/ (function(module, exports, __webpack_require__) { 1168 1169// 22.1.3.31 Array.prototype[@@unscopables] 1170var UNSCOPABLES = __webpack_require__(6)('unscopables'); 1171var ArrayProto = Array.prototype; 1172if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(12)(ArrayProto, UNSCOPABLES, {}); 1173module.exports = function (key) { 1174 ArrayProto[UNSCOPABLES][key] = true; 1175}; 1176 1177 1178/***/ }), 1179/* 33 */ 1180/***/ (function(module, exports) { 1181 1182module.exports = function (bitmap, value) { 1183 return { 1184 enumerable: !(bitmap & 1), 1185 configurable: !(bitmap & 2), 1186 writable: !(bitmap & 4), 1187 value: value 1188 }; 1189}; 1190 1191 1192/***/ }), 1193/* 34 */ 1194/***/ (function(module, exports) { 1195 1196var id = 0; 1197var px = Math.random(); 1198module.exports = function (key) { 1199 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); 1200}; 1201 1202 1203/***/ }), 1204/* 35 */ 1205/***/ (function(module, exports, __webpack_require__) { 1206 1207// 19.1.2.14 / 15.2.3.14 Object.keys(O) 1208var $keys = __webpack_require__(97); 1209var enumBugKeys = __webpack_require__(70); 1210 1211module.exports = Object.keys || function keys(O) { 1212 return $keys(O, enumBugKeys); 1213}; 1214 1215 1216/***/ }), 1217/* 36 */ 1218/***/ (function(module, exports, __webpack_require__) { 1219 1220var toInteger = __webpack_require__(22); 1221var max = Math.max; 1222var min = Math.min; 1223module.exports = function (index, length) { 1224 index = toInteger(index); 1225 return index < 0 ? max(index + length, 0) : min(index, length); 1226}; 1227 1228 1229/***/ }), 1230/* 37 */ 1231/***/ (function(module, exports, __webpack_require__) { 1232 1233// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 1234var anObject = __webpack_require__(1); 1235var dPs = __webpack_require__(98); 1236var enumBugKeys = __webpack_require__(70); 1237var IE_PROTO = __webpack_require__(69)('IE_PROTO'); 1238var Empty = function () { /* empty */ }; 1239var PROTOTYPE = 'prototype'; 1240 1241// Create object with fake `null` prototype: use iframe Object with cleared prototype 1242var createDict = function () { 1243 // Thrash, waste and sodomy: IE GC bug 1244 var iframe = __webpack_require__(67)('iframe'); 1245 var i = enumBugKeys.length; 1246 var lt = '<'; 1247 var gt = '>'; 1248 var iframeDocument; 1249 iframe.style.display = 'none'; 1250 __webpack_require__(71).appendChild(iframe); 1251 iframe.src = 'javascript:'; // eslint-disable-line no-script-url 1252 // createDict = iframe.contentWindow.Object; 1253 // html.removeChild(iframe); 1254 iframeDocument = iframe.contentWindow.document; 1255 iframeDocument.open(); 1256 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); 1257 iframeDocument.close(); 1258 createDict = iframeDocument.F; 1259 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; 1260 return createDict(); 1261}; 1262 1263module.exports = Object.create || function create(O, Properties) { 1264 var result; 1265 if (O !== null) { 1266 Empty[PROTOTYPE] = anObject(O); 1267 result = new Empty(); 1268 Empty[PROTOTYPE] = null; 1269 // add "__proto__" for Object.getPrototypeOf polyfill 1270 result[IE_PROTO] = O; 1271 } else result = createDict(); 1272 return Properties === undefined ? result : dPs(result, Properties); 1273}; 1274 1275 1276/***/ }), 1277/* 38 */ 1278/***/ (function(module, exports, __webpack_require__) { 1279 1280// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) 1281var $keys = __webpack_require__(97); 1282var hiddenKeys = __webpack_require__(70).concat('length', 'prototype'); 1283 1284exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 1285 return $keys(O, hiddenKeys); 1286}; 1287 1288 1289/***/ }), 1290/* 39 */ 1291/***/ (function(module, exports, __webpack_require__) { 1292 1293"use strict"; 1294 1295var global = __webpack_require__(2); 1296var dP = __webpack_require__(9); 1297var DESCRIPTORS = __webpack_require__(8); 1298var SPECIES = __webpack_require__(6)('species'); 1299 1300module.exports = function (KEY) { 1301 var C = global[KEY]; 1302 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { 1303 configurable: true, 1304 get: function () { return this; } 1305 }); 1306}; 1307 1308 1309/***/ }), 1310/* 40 */
vendor: 17,627 bytes, lines 1311-1898
1311/***/ (function(module, exports) { 1312 1313module.exports = function (it, Constructor, name, forbiddenField) { 1314 if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { 1315 throw TypeError(name + ': incorrect invocation!'); 1316 } return it; 1317}; 1318 1319 1320/***/ }), 1321/* 41 */ 1322/***/ (function(module, exports, __webpack_require__) { 1323 1324var ctx = __webpack_require__(20); 1325var call = __webpack_require__(110); 1326var isArrayIter = __webpack_require__(82); 1327var anObject = __webpack_require__(1); 1328var toLength = __webpack_require__(7); 1329var getIterFn = __webpack_require__(84); 1330var BREAK = {}; 1331var RETURN = {}; 1332var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { 1333 var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); 1334 var f = ctx(fn, that, entries ? 2 : 1); 1335 var index = 0; 1336 var length, step, iterator, result; 1337 if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); 1338 // fast case for arrays with default iterator 1339 if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { 1340 result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); 1341 if (result === BREAK || result === RETURN) return result; 1342 } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { 1343 result = call(iterator, f, step.value, entries); 1344 if (result === BREAK || result === RETURN) return result; 1345 } 1346}; 1347exports.BREAK = BREAK; 1348exports.RETURN = RETURN; 1349 1350 1351/***/ }), 1352/* 42 */ 1353/***/ (function(module, exports, __webpack_require__) { 1354 1355var redefine = __webpack_require__(13); 1356module.exports = function (target, src, safe) { 1357 for (var key in src) redefine(target, key, src[key], safe); 1358 return target; 1359}; 1360 1361 1362/***/ }), 1363/* 43 */ 1364/***/ (function(module, exports, __webpack_require__) { 1365 1366var isObject = __webpack_require__(5); 1367module.exports = function (it, TYPE) { 1368 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); 1369 return it; 1370}; 1371 1372 1373/***/ }), 1374/* 44 */ 1375/***/ (function(module, exports, __webpack_require__) { 1376 1377var def = __webpack_require__(9).f; 1378var has = __webpack_require__(15); 1379var TAG = __webpack_require__(6)('toStringTag'); 1380 1381module.exports = function (it, tag, stat) { 1382 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); 1383}; 1384 1385 1386/***/ }), 1387/* 45 */ 1388/***/ (function(module, exports, __webpack_require__) { 1389 1390// getting tag from 19.1.3.6 Object.prototype.toString() 1391var cof = __webpack_require__(21); 1392var TAG = __webpack_require__(6)('toStringTag'); 1393// ES3 wrong here 1394var ARG = cof(function () { return arguments; }()) == 'Arguments'; 1395 1396// fallback for IE11 Script Access Denied error 1397var tryGet = function (it, key) { 1398 try { 1399 return it[key]; 1400 } catch (e) { /* empty */ } 1401}; 1402 1403module.exports = function (it) { 1404 var O, T, B; 1405 return it === undefined ? 'Undefined' : it === null ? 'Null' 1406 // @@toStringTag case 1407 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T 1408 // builtinTag case 1409 : ARG ? cof(O) 1410 // ES3 arguments fallback 1411 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; 1412}; 1413 1414 1415/***/ }), 1416/* 46 */ 1417/***/ (function(module, exports, __webpack_require__) { 1418 1419var $export = __webpack_require__(0); 1420var defined = __webpack_require__(25); 1421var fails = __webpack_require__(4); 1422var spaces = __webpack_require__(73); 1423var space = '[' + spaces + ']'; 1424var non = '\u200b\u0085'; 1425var ltrim = RegExp('^' + space + space + '*'); 1426var rtrim = RegExp(space + space + '*$'); 1427 1428var exporter = function (KEY, exec, ALIAS) { 1429 var exp = {}; 1430 var FORCE = fails(function () { 1431 return !!spaces[KEY]() || non[KEY]() != non; 1432 }); 1433 var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; 1434 if (ALIAS) exp[ALIAS] = fn; 1435 $export($export.P + $export.F * FORCE, 'String', exp); 1436}; 1437 1438// 1 -> String#trimLeft 1439// 2 -> String#trimRight 1440// 3 -> String#trim 1441var trim = exporter.trim = function (string, TYPE) { 1442 string = String(defined(string)); 1443 if (TYPE & 1) string = string.replace(ltrim, ''); 1444 if (TYPE & 2) string = string.replace(rtrim, ''); 1445 return string; 1446}; 1447 1448module.exports = exporter; 1449 1450 1451/***/ }), 1452/* 47 */ 1453/***/ (function(module, exports) { 1454 1455module.exports = {}; 1456 1457 1458/***/ }), 1459/* 48 */ 1460/***/ (function(module, exports, __webpack_require__) { 1461 1462var core = __webpack_require__(19); 1463var global = __webpack_require__(2); 1464var SHARED = '__core-js_shared__'; 1465var store = global[SHARED] || (global[SHARED] = {}); 1466 1467(module.exports = function (key, value) { 1468 return store[key] || (store[key] = value !== undefined ? value : {}); 1469})('versions', []).push({ 1470 version: core.version, 1471 mode: __webpack_require__(30) ? 'pure' : 'global', 1472 copyright: '© 2020 Denis Pushkarev (zloirock.ru)' 1473}); 1474 1475 1476/***/ }), 1477/* 49 */ 1478/***/ (function(module, exports, __webpack_require__) { 1479 1480// fallback for non-array-like ES3 and non-enumerable old V8 strings 1481var cof = __webpack_require__(21); 1482// eslint-disable-next-line no-prototype-builtins 1483module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { 1484 return cof(it) == 'String' ? it.split('') : Object(it); 1485}; 1486 1487 1488/***/ }), 1489/* 50 */ 1490/***/ (function(module, exports) { 1491 1492exports.f = {}.propertyIsEnumerable; 1493 1494 1495/***/ }), 1496/* 51 */ 1497/***/ (function(module, exports, __webpack_require__) { 1498 1499"use strict"; 1500 1501// 21.2.5.3 get RegExp.prototype.flags 1502var anObject = __webpack_require__(1); 1503module.exports = function () { 1504 var that = anObject(this); 1505 var result = ''; 1506 if (that.global) result += 'g'; 1507 if (that.ignoreCase) result += 'i'; 1508 if (that.multiline) result += 'm'; 1509 if (that.unicode) result += 'u'; 1510 if (that.sticky) result += 'y'; 1511 return result; 1512}; 1513 1514 1515/***/ }), 1516/* 52 */ 1517/***/ (function(module, exports, __webpack_require__) { 1518 1519// 7.3.20 SpeciesConstructor(O, defaultConstructor) 1520var anObject = __webpack_require__(1); 1521var aFunction = __webpack_require__(11); 1522var SPECIES = __webpack_require__(6)('species'); 1523module.exports = function (O, D) { 1524 var C = anObject(O).constructor; 1525 var S; 1526 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); 1527}; 1528 1529 1530/***/ }), 1531/* 53 */ 1532/***/ (function(module, exports, __webpack_require__) { 1533 1534// false -> Array#indexOf 1535// true -> Array#includes 1536var toIObject = __webpack_require__(16); 1537var toLength = __webpack_require__(7); 1538var toAbsoluteIndex = __webpack_require__(36); 1539module.exports = function (IS_INCLUDES) { 1540 return function ($this, el, fromIndex) { 1541 var O = toIObject($this); 1542 var length = toLength(O.length); 1543 var index = toAbsoluteIndex(fromIndex, length); 1544 var value; 1545 // Array#includes uses SameValueZero equality algorithm 1546 // eslint-disable-next-line no-self-compare 1547 if (IS_INCLUDES && el != el) while (length > index) { 1548 value = O[index++]; 1549 // eslint-disable-next-line no-self-compare 1550 if (value != value) return true; 1551 // Array#indexOf ignores holes, Array#includes - not 1552 } else for (;length > index; index++) if (IS_INCLUDES || index in O) { 1553 if (O[index] === el) return IS_INCLUDES || index || 0; 1554 } return !IS_INCLUDES && -1; 1555 }; 1556}; 1557 1558 1559/***/ }), 1560/* 54 */ 1561/***/ (function(module, exports) { 1562 1563exports.f = Object.getOwnPropertySymbols; 1564 1565 1566/***/ }), 1567/* 55 */ 1568/***/ (function(module, exports, __webpack_require__) { 1569 1570// 7.2.2 IsArray(argument) 1571var cof = __webpack_require__(21); 1572module.exports = Array.isArray || function isArray(arg) { 1573 return cof(arg) == 'Array'; 1574}; 1575 1576 1577/***/ }), 1578/* 56 */ 1579/***/ (function(module, exports, __webpack_require__) { 1580 1581var toInteger = __webpack_require__(22); 1582var defined = __webpack_require__(25); 1583// true -> String#at 1584// false -> String#codePointAt 1585module.exports = function (TO_STRING) { 1586 return function (that, pos) { 1587 var s = String(defined(that)); 1588 var i = toInteger(pos); 1589 var l = s.length; 1590 var a, b; 1591 if (i < 0 || i >= l) return TO_STRING ? '' : undefined; 1592 a = s.charCodeAt(i); 1593 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff 1594 ? TO_STRING ? s.charAt(i) : a 1595 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; 1596 }; 1597}; 1598 1599 1600/***/ }), 1601/* 57 */ 1602/***/ (function(module, exports, __webpack_require__) { 1603 1604// 7.2.8 IsRegExp(argument) 1605var isObject = __webpack_require__(5); 1606var cof = __webpack_require__(21); 1607var MATCH = __webpack_require__(6)('match'); 1608module.exports = function (it) { 1609 var isRegExp; 1610 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); 1611}; 1612 1613 1614/***/ }), 1615/* 58 */ 1616/***/ (function(module, exports, __webpack_require__) { 1617 1618var ITERATOR = __webpack_require__(6)('iterator'); 1619var SAFE_CLOSING = false; 1620 1621try { 1622 var riter = [7][ITERATOR](); 1623 riter['return'] = function () { SAFE_CLOSING = true; }; 1624 // eslint-disable-next-line no-throw-literal 1625 Array.from(riter, function () { throw 2; }); 1626} catch (e) { /* empty */ } 1627 1628module.exports = function (exec, skipClosing) { 1629 if (!skipClosing && !SAFE_CLOSING) return false; 1630 var safe = false; 1631 try { 1632 var arr = [7]; 1633 var iter = arr[ITERATOR](); 1634 iter.next = function () { return { done: safe = true }; }; 1635 arr[ITERATOR] = function () { return iter; }; 1636 exec(arr); 1637 } catch (e) { /* empty */ } 1638 return safe; 1639}; 1640 1641 1642/***/ }), 1643/* 59 */ 1644/***/ (function(module, exports, __webpack_require__) { 1645 1646"use strict"; 1647 1648 1649var classof = __webpack_require__(45); 1650var builtinExec = RegExp.prototype.exec; 1651 1652 // `RegExpExec` abstract operation 1653// https://tc39.github.io/ecma262/#sec-regexpexec 1654module.exports = function (R, S) { 1655 var exec = R.exec; 1656 if (typeof exec === 'function') { 1657 var result = exec.call(R, S); 1658 if (typeof result !== 'object') { 1659 throw new TypeError('RegExp exec method returned something other than an Object or null'); 1660 } 1661 return result; 1662 } 1663 if (classof(R) !== 'RegExp') { 1664 throw new TypeError('RegExp#exec called on incompatible receiver'); 1665 } 1666 return builtinExec.call(R, S); 1667}; 1668 1669 1670/***/ }), 1671/* 60 */ 1672/***/ (function(module, exports, __webpack_require__) { 1673 1674"use strict"; 1675 1676__webpack_require__(114); 1677var redefine = __webpack_require__(13); 1678var hide = __webpack_require__(12); 1679var fails = __webpack_require__(4); 1680var defined = __webpack_require__(25); 1681var wks = __webpack_require__(6); 1682var regexpExec = __webpack_require__(88); 1683 1684var SPECIES = wks('species'); 1685 1686var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { 1687 // #replace needs built-in support for named groups. 1688 // #match works fine because it just return the exec results, even if it has 1689 // a "grops" property. 1690 var re = /./; 1691 re.exec = function () { 1692 var result = []; 1693 result.groups = { a: '7' }; 1694 return result; 1695 }; 1696 return ''.replace(re, '$<a>') !== '7'; 1697}); 1698 1699var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { 1700 // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec 1701 var re = /(?:)/; 1702 var originalExec = re.exec; 1703 re.exec = function () { return originalExec.apply(this, arguments); }; 1704 var result = 'ab'.split(re); 1705 return result.length === 2 && result[0] === 'a' && result[1] === 'b'; 1706})(); 1707 1708module.exports = function (KEY, length, exec) { 1709 var SYMBOL = wks(KEY); 1710 1711 var DELEGATES_TO_SYMBOL = !fails(function () { 1712 // String methods call symbol-named RegEp methods 1713 var O = {}; 1714 O[SYMBOL] = function () { return 7; }; 1715 return ''[KEY](O) != 7; 1716 }); 1717 1718 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { 1719 // Symbol-named RegExp methods call .exec 1720 var execCalled = false; 1721 var re = /a/; 1722 re.exec = function () { execCalled = true; return null; }; 1723 if (KEY === 'split') { 1724 // RegExp[@@split] doesn't call the regex's exec method, but first creates 1725 // a new one. We need to return the patched regex when creating the new one. 1726 re.constructor = {}; 1727 re.constructor[SPECIES] = function () { return re; }; 1728 } 1729 re[SYMBOL](''); 1730 return !execCalled; 1731 }) : undefined; 1732 1733 if ( 1734 !DELEGATES_TO_SYMBOL || 1735 !DELEGATES_TO_EXEC || 1736 (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || 1737 (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) 1738 ) { 1739 var nativeRegExpMethod = /./[SYMBOL]; 1740 var fns = exec( 1741 defined, 1742 SYMBOL, 1743 ''[KEY], 1744 function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { 1745 if (regexp.exec === regexpExec) { 1746 if (DELEGATES_TO_SYMBOL && !forceStringMethod) { 1747 // The native String method already delegates to @@method (this 1748 // polyfilled function), leasing to infinite recursion. 1749 // We avoid it by directly calling the native @@method method. 1750 return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; 1751 } 1752 return { done: true, value: nativeMethod.call(str, regexp, arg2) }; 1753 } 1754 return { done: false }; 1755 } 1756 ); 1757 var strfn = fns[0]; 1758 var rxfn = fns[1]; 1759 1760 redefine(String.prototype, KEY, strfn); 1761 hide(RegExp.prototype, SYMBOL, length == 2 1762 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) 1763 // 21.2.5.11 RegExp.prototype[@@split](string, limit) 1764 ? function (string, arg) { return rxfn.call(string, this, arg); } 1765 // 21.2.5.6 RegExp.prototype[@@match](string) 1766 // 21.2.5.9 RegExp.prototype[@@search](string) 1767 : function (string) { return rxfn.call(string, this); } 1768 ); 1769 } 1770}; 1771 1772 1773/***/ }), 1774/* 61 */ 1775/***/ (function(module, exports, __webpack_require__) { 1776 1777var global = __webpack_require__(2); 1778var navigator = global.navigator; 1779 1780module.exports = navigator && navigator.userAgent || ''; 1781 1782 1783/***/ }), 1784/* 62 */ 1785/***/ (function(module, exports, __webpack_require__) { 1786 1787"use strict"; 1788 1789var global = __webpack_require__(2); 1790var $export = __webpack_require__(0); 1791var redefine = __webpack_require__(13); 1792var redefineAll = __webpack_require__(42); 1793var meta = __webpack_require__(31); 1794var forOf = __webpack_require__(41); 1795var anInstance = __webpack_require__(40); 1796var isObject = __webpack_require__(5); 1797var fails = __webpack_require__(4); 1798var $iterDetect = __webpack_require__(58); 1799var setToStringTag = __webpack_require__(44); 1800var inheritIfRequired = __webpack_require__(74); 1801 1802module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { 1803 var Base = global[NAME]; 1804 var C = Base; 1805 var ADDER = IS_MAP ? 'set' : 'add'; 1806 var proto = C && C.prototype; 1807 var O = {}; 1808 var fixMethod = function (KEY) { 1809 var fn = proto[KEY]; 1810 redefine(proto, KEY, 1811 KEY == 'delete' ? function (a) { 1812 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); 1813 } : KEY == 'has' ? function has(a) { 1814 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); 1815 } : KEY == 'get' ? function get(a) { 1816 return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); 1817 } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } 1818 : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } 1819 ); 1820 }; 1821 if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { 1822 new C().entries().next(); 1823 }))) { 1824 // create collection constructor 1825 C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); 1826 redefineAll(C.prototype, methods); 1827 meta.NEED = true; 1828 } else { 1829 var instance = new C(); 1830 // early implementations not supports chaining 1831 var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; 1832 // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false 1833 var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); 1834 // most early implementations doesn't supports iterables, most modern - not close it correctly 1835 var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new 1836 // for early implementations -0 and +0 not the same 1837 var BUGGY_ZERO = !IS_WEAK && fails(function () { 1838 // V8 ~ Chromium 42- fails only with 5+ elements 1839 var $instance = new C(); 1840 var index = 5; 1841 while (index--) $instance[ADDER](index, index); 1842 return !$instance.has(-0); 1843 }); 1844 if (!ACCEPT_ITERABLES) { 1845 C = wrapper(function (target, iterable) { 1846 anInstance(target, C, NAME); 1847 var that = inheritIfRequired(new Base(), target, C); 1848 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 1849 return that; 1850 }); 1851 C.prototype = proto; 1852 proto.constructor = C; 1853 } 1854 if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { 1855 fixMethod('delete'); 1856 fixMethod('has'); 1857 IS_MAP && fixMethod('get'); 1858 } 1859 if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); 1860 // weak collections should not contains .clear method 1861 if (IS_WEAK && proto.clear) delete proto.clear; 1862 } 1863 1864 setToStringTag(C, NAME); 1865 1866 O[NAME] = C; 1867 $export($export.G + $export.W + $export.F * (C != Base), O); 1868 1869 if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); 1870 1871 return C; 1872}; 1873 1874 1875/***/ }), 1876/* 63 */ 1877/***/ (function(module, exports, __webpack_require__) { 1878 1879var global = __webpack_require__(2); 1880var hide = __webpack_require__(12); 1881var uid = __webpack_require__(34); 1882var TYPED = uid('typed_array'); 1883var VIEW = uid('view'); 1884var ABV = !!(global.ArrayBuffer && global.DataView); 1885var CONSTR = ABV; 1886var i = 0; 1887var l = 9; 1888var Typed; 1889 1890var TypedArrayConstructors = ( 1891 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' 1892).split(','); 1893 1894while (i < l) { 1895 if (Typed = global[TypedArrayConstructors[i++]]) { 1896 hide(Typed.prototype, TYPED, true); 1897 hide(Typed.prototype, VIEW, true); 1898 } else CONSTR = false;
vendor: 2,919 bytes, lines 1899-2013
1899} 1900 1901module.exports = { 1902 ABV: ABV, 1903 CONSTR: CONSTR, 1904 TYPED: TYPED, 1905 VIEW: VIEW 1906}; 1907 1908 1909/***/ }), 1910/* 64 */ 1911/***/ (function(module, exports, __webpack_require__) { 1912 1913"use strict"; 1914 1915// Forced replacement prototype accessors methods 1916module.exports = __webpack_require__(30) || !__webpack_require__(4)(function () { 1917 var K = Math.random(); 1918 // In FF throws only define methods 1919 // eslint-disable-next-line no-undef, no-useless-call 1920 __defineSetter__.call(null, K, function () { /* empty */ }); 1921 delete __webpack_require__(2)[K]; 1922}); 1923 1924 1925/***/ }), 1926/* 65 */ 1927/***/ (function(module, exports, __webpack_require__) { 1928 1929"use strict"; 1930 1931// https://tc39.github.io/proposal-setmap-offrom/ 1932var $export = __webpack_require__(0); 1933 1934module.exports = function (COLLECTION) { 1935 $export($export.S, COLLECTION, { of: function of() { 1936 var length = arguments.length; 1937 var A = new Array(length); 1938 while (length--) A[length] = arguments[length]; 1939 return new this(A); 1940 } }); 1941}; 1942 1943 1944/***/ }), 1945/* 66 */ 1946/***/ (function(module, exports, __webpack_require__) { 1947 1948"use strict"; 1949 1950// https://tc39.github.io/proposal-setmap-offrom/ 1951var $export = __webpack_require__(0); 1952var aFunction = __webpack_require__(11); 1953var ctx = __webpack_require__(20); 1954var forOf = __webpack_require__(41); 1955 1956module.exports = function (COLLECTION) { 1957 $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { 1958 var mapFn = arguments[1]; 1959 var mapping, A, n, cb; 1960 aFunction(this); 1961 mapping = mapFn !== undefined; 1962 if (mapping) aFunction(mapFn); 1963 if (source == undefined) return new this(); 1964 A = []; 1965 if (mapping) { 1966 n = 0; 1967 cb = ctx(mapFn, arguments[2], 2); 1968 forOf(source, false, function (nextItem) { 1969 A.push(cb(nextItem, n++)); 1970 }); 1971 } else { 1972 forOf(source, false, A.push, A); 1973 } 1974 return new this(A); 1975 } }); 1976}; 1977 1978 1979/***/ }), 1980/* 67 */ 1981/***/ (function(module, exports, __webpack_require__) { 1982 1983var isObject = __webpack_require__(5); 1984var document = __webpack_require__(2).document; 1985// typeof document.createElement is 'object' in old IE 1986var is = isObject(document) && isObject(document.createElement); 1987module.exports = function (it) { 1988 return is ? document.createElement(it) : {}; 1989}; 1990 1991 1992/***/ }), 1993/* 68 */ 1994/***/ (function(module, exports, __webpack_require__) { 1995 1996var global = __webpack_require__(2); 1997var core = __webpack_require__(19); 1998var LIBRARY = __webpack_require__(30); 1999var wksExt = __webpack_require__(96); 2000var defineProperty = __webpack_require__(9).f; 2001module.exports = function (name) { 2002 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); 2003 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); 2004}; 2005 2006 2007/***/ }), 2008/* 69 */ 2009/***/ (function(module, exports, __webpack_require__) { 2010 2011var shared = __webpack_require__(48)('keys'); 2012var uid = __webpack_require__(34); 2013module.exports = function (key) {
vendor: 52,000 bytes, lines 2014-3792
2014 return shared[key] || (shared[key] = uid(key)); 2015}; 2016 2017 2018/***/ }), 2019/* 70 */ 2020/***/ (function(module, exports) { 2021 2022// IE 8- don't enum bug keys 2023module.exports = ( 2024 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' 2025).split(','); 2026 2027 2028/***/ }), 2029/* 71 */ 2030/***/ (function(module, exports, __webpack_require__) { 2031 2032var document = __webpack_require__(2).document; 2033module.exports = document && document.documentElement; 2034 2035 2036/***/ }), 2037/* 72 */ 2038/***/ (function(module, exports, __webpack_require__) { 2039 2040// Works with __proto__ only. Old v8 can't work with null proto objects. 2041/* eslint-disable no-proto */ 2042var isObject = __webpack_require__(5); 2043var anObject = __webpack_require__(1); 2044var check = function (O, proto) { 2045 anObject(O); 2046 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); 2047}; 2048module.exports = { 2049 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line 2050 function (test, buggy, set) { 2051 try { 2052 set = __webpack_require__(20)(Function.call, __webpack_require__(17).f(Object.prototype, '__proto__').set, 2); 2053 set(test, []); 2054 buggy = !(test instanceof Array); 2055 } catch (e) { buggy = true; } 2056 return function setPrototypeOf(O, proto) { 2057 check(O, proto); 2058 if (buggy) O.__proto__ = proto; 2059 else set(O, proto); 2060 return O; 2061 }; 2062 }({}, false) : undefined), 2063 check: check 2064}; 2065 2066 2067/***/ }), 2068/* 73 */ 2069/***/ (function(module, exports) { 2070 2071module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + 2072 '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; 2073 2074 2075/***/ }), 2076/* 74 */ 2077/***/ (function(module, exports, __webpack_require__) { 2078 2079var isObject = __webpack_require__(5); 2080var setPrototypeOf = __webpack_require__(72).set; 2081module.exports = function (that, target, C) { 2082 var S = target.constructor; 2083 var P; 2084 if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { 2085 setPrototypeOf(that, P); 2086 } return that; 2087}; 2088 2089 2090/***/ }), 2091/* 75 */ 2092/***/ (function(module, exports, __webpack_require__) { 2093 2094"use strict"; 2095 2096var toInteger = __webpack_require__(22); 2097var defined = __webpack_require__(25); 2098 2099module.exports = function repeat(count) { 2100 var str = String(defined(this)); 2101 var res = ''; 2102 var n = toInteger(count); 2103 if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); 2104 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; 2105 return res; 2106}; 2107 2108 2109/***/ }), 2110/* 76 */ 2111/***/ (function(module, exports) { 2112 2113// 20.2.2.28 Math.sign(x) 2114module.exports = Math.sign || function sign(x) { 2115 // eslint-disable-next-line no-self-compare 2116 return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; 2117}; 2118 2119 2120/***/ }), 2121/* 77 */ 2122/***/ (function(module, exports) { 2123 2124// 20.2.2.14 Math.expm1(x) 2125var $expm1 = Math.expm1; 2126module.exports = (!$expm1 2127 // Old FF bug 2128 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 2129 // Tor Browser bug 2130 || $expm1(-2e-17) != -2e-17 2131) ? function expm1(x) { 2132 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; 2133} : $expm1; 2134 2135 2136/***/ }), 2137/* 78 */ 2138/***/ (function(module, exports, __webpack_require__) { 2139 2140"use strict"; 2141 2142var LIBRARY = __webpack_require__(30); 2143var $export = __webpack_require__(0); 2144var redefine = __webpack_require__(13); 2145var hide = __webpack_require__(12); 2146var Iterators = __webpack_require__(47); 2147var $iterCreate = __webpack_require__(79); 2148var setToStringTag = __webpack_require__(44); 2149var getPrototypeOf = __webpack_require__(18); 2150var ITERATOR = __webpack_require__(6)('iterator'); 2151var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` 2152var FF_ITERATOR = '@@iterator'; 2153var KEYS = 'keys'; 2154var VALUES = 'values'; 2155 2156var returnThis = function () { return this; }; 2157 2158module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { 2159 $iterCreate(Constructor, NAME, next); 2160 var getMethod = function (kind) { 2161 if (!BUGGY && kind in proto) return proto[kind]; 2162 switch (kind) { 2163 case KEYS: return function keys() { return new Constructor(this, kind); }; 2164 case VALUES: return function values() { return new Constructor(this, kind); }; 2165 } return function entries() { return new Constructor(this, kind); }; 2166 }; 2167 var TAG = NAME + ' Iterator'; 2168 var DEF_VALUES = DEFAULT == VALUES; 2169 var VALUES_BUG = false; 2170 var proto = Base.prototype; 2171 var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; 2172 var $default = $native || getMethod(DEFAULT); 2173 var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; 2174 var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; 2175 var methods, key, IteratorPrototype; 2176 // Fix native 2177 if ($anyNative) { 2178 IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); 2179 if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { 2180 // Set @@toStringTag to native iterators 2181 setToStringTag(IteratorPrototype, TAG, true); 2182 // fix for some old engines 2183 if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); 2184 } 2185 } 2186 // fix Array#{values, @@iterator}.name in V8 / FF 2187 if (DEF_VALUES && $native && $native.name !== VALUES) { 2188 VALUES_BUG = true; 2189 $default = function values() { return $native.call(this); }; 2190 } 2191 // Define iterator 2192 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { 2193 hide(proto, ITERATOR, $default); 2194 } 2195 // Plug for library 2196 Iterators[NAME] = $default; 2197 Iterators[TAG] = returnThis; 2198 if (DEFAULT) { 2199 methods = { 2200 values: DEF_VALUES ? $default : getMethod(VALUES), 2201 keys: IS_SET ? $default : getMethod(KEYS), 2202 entries: $entries 2203 }; 2204 if (FORCED) for (key in methods) { 2205 if (!(key in proto)) redefine(proto, key, methods[key]); 2206 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); 2207 } 2208 return methods; 2209}; 2210 2211 2212/***/ }), 2213/* 79 */ 2214/***/ (function(module, exports, __webpack_require__) { 2215 2216"use strict"; 2217 2218var create = __webpack_require__(37); 2219var descriptor = __webpack_require__(33); 2220var setToStringTag = __webpack_require__(44); 2221var IteratorPrototype = {}; 2222 2223// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() 2224__webpack_require__(12)(IteratorPrototype, __webpack_require__(6)('iterator'), function () { return this; }); 2225 2226module.exports = function (Constructor, NAME, next) { 2227 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); 2228 setToStringTag(Constructor, NAME + ' Iterator'); 2229}; 2230 2231 2232/***/ }), 2233/* 80 */ 2234/***/ (function(module, exports, __webpack_require__) { 2235 2236// helper for String#{startsWith, endsWith, includes} 2237var isRegExp = __webpack_require__(57); 2238var defined = __webpack_require__(25); 2239 2240module.exports = function (that, searchString, NAME) { 2241 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); 2242 return String(defined(that)); 2243}; 2244 2245 2246/***/ }), 2247/* 81 */ 2248/***/ (function(module, exports, __webpack_require__) { 2249 2250var MATCH = __webpack_require__(6)('match'); 2251module.exports = function (KEY) { 2252 var re = /./; 2253 try { 2254 '/./'[KEY](re); 2255 } catch (e) { 2256 try { 2257 re[MATCH] = false; 2258 return !'/./'[KEY](re); 2259 } catch (f) { /* empty */ } 2260 } return true; 2261}; 2262 2263 2264/***/ }), 2265/* 82 */ 2266/***/ (function(module, exports, __webpack_require__) { 2267 2268// check on default Array iterator 2269var Iterators = __webpack_require__(47); 2270var ITERATOR = __webpack_require__(6)('iterator'); 2271var ArrayProto = Array.prototype; 2272 2273module.exports = function (it) { 2274 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); 2275}; 2276 2277 2278/***/ }), 2279/* 83 */ 2280/***/ (function(module, exports, __webpack_require__) { 2281 2282"use strict"; 2283 2284var $defineProperty = __webpack_require__(9); 2285var createDesc = __webpack_require__(33); 2286 2287module.exports = function (object, index, value) { 2288 if (index in object) $defineProperty.f(object, index, createDesc(0, value)); 2289 else object[index] = value; 2290}; 2291 2292 2293/***/ }), 2294/* 84 */ 2295/***/ (function(module, exports, __webpack_require__) { 2296 2297var classof = __webpack_require__(45); 2298var ITERATOR = __webpack_require__(6)('iterator'); 2299var Iterators = __webpack_require__(47); 2300module.exports = __webpack_require__(19).getIteratorMethod = function (it) { 2301 if (it != undefined) return it[ITERATOR] 2302 || it['@@iterator'] 2303 || Iterators[classof(it)]; 2304}; 2305 2306 2307/***/ }), 2308/* 85 */ 2309/***/ (function(module, exports, __webpack_require__) { 2310 2311// 9.4.2.3 ArraySpeciesCreate(originalArray, length) 2312var speciesConstructor = __webpack_require__(224); 2313 2314module.exports = function (original, length) { 2315 return new (speciesConstructor(original))(length); 2316}; 2317 2318 2319/***/ }), 2320/* 86 */ 2321/***/ (function(module, exports, __webpack_require__) { 2322 2323"use strict"; 2324// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 2325 2326var toObject = __webpack_require__(10); 2327var toAbsoluteIndex = __webpack_require__(36); 2328var toLength = __webpack_require__(7); 2329module.exports = function fill(value /* , start = 0, end = @length */) { 2330 var O = toObject(this); 2331 var length = toLength(O.length); 2332 var aLen = arguments.length; 2333 var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); 2334 var end = aLen > 2 ? arguments[2] : undefined; 2335 var endPos = end === undefined ? length : toAbsoluteIndex(end, length); 2336 while (endPos > index) O[index++] = value; 2337 return O; 2338}; 2339 2340 2341/***/ }), 2342/* 87 */ 2343/***/ (function(module, exports, __webpack_require__) { 2344 2345"use strict"; 2346 2347var addToUnscopables = __webpack_require__(32); 2348var step = __webpack_require__(113); 2349var Iterators = __webpack_require__(47); 2350var toIObject = __webpack_require__(16); 2351 2352// 22.1.3.4 Array.prototype.entries() 2353// 22.1.3.13 Array.prototype.keys() 2354// 22.1.3.29 Array.prototype.values() 2355// 22.1.3.30 Array.prototype[@@iterator]() 2356module.exports = __webpack_require__(78)(Array, 'Array', function (iterated, kind) { 2357 this._t = toIObject(iterated); // target 2358 this._i = 0; // next index 2359 this._k = kind; // kind 2360// 22.1.5.2.1 %ArrayIteratorPrototype%.next() 2361}, function () { 2362 var O = this._t; 2363 var kind = this._k; 2364 var index = this._i++; 2365 if (!O || index >= O.length) { 2366 this._t = undefined; 2367 return step(1); 2368 } 2369 if (kind == 'keys') return step(0, index); 2370 if (kind == 'values') return step(0, O[index]); 2371 return step(0, [index, O[index]]); 2372}, 'values'); 2373 2374// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) 2375Iterators.Arguments = Iterators.Array; 2376 2377addToUnscopables('keys'); 2378addToUnscopables('values'); 2379addToUnscopables('entries'); 2380 2381 2382/***/ }), 2383/* 88 */ 2384/***/ (function(module, exports, __webpack_require__) { 2385 2386"use strict"; 2387 2388 2389var regexpFlags = __webpack_require__(51); 2390 2391var nativeExec = RegExp.prototype.exec; 2392// This always refers to the native implementation, because the 2393// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, 2394// which loads this file before patching the method. 2395var nativeReplace = String.prototype.replace; 2396 2397var patchedExec = nativeExec; 2398 2399var LAST_INDEX = 'lastIndex'; 2400 2401var UPDATES_LAST_INDEX_WRONG = (function () { 2402 var re1 = /a/, 2403 re2 = /b*/g; 2404 nativeExec.call(re1, 'a'); 2405 nativeExec.call(re2, 'a'); 2406 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; 2407})(); 2408 2409// nonparticipating capturing group, copied from es5-shim's String#split patch. 2410var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 2411 2412var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; 2413 2414if (PATCH) { 2415 patchedExec = function exec(str) { 2416 var re = this; 2417 var lastIndex, reCopy, match, i; 2418 2419 if (NPCG_INCLUDED) { 2420 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); 2421 } 2422 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; 2423 2424 match = nativeExec.call(re, str); 2425 2426 if (UPDATES_LAST_INDEX_WRONG && match) { 2427 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; 2428 } 2429 if (NPCG_INCLUDED && match && match.length > 1) { 2430 // Fix browsers whose `exec` methods don't consistently return `undefined` 2431 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ 2432 // eslint-disable-next-line no-loop-func 2433 nativeReplace.call(match[0], reCopy, function () { 2434 for (i = 1; i < arguments.length - 2; i++) { 2435 if (arguments[i] === undefined) match[i] = undefined; 2436 } 2437 }); 2438 } 2439 2440 return match; 2441 }; 2442} 2443 2444module.exports = patchedExec; 2445 2446 2447/***/ }), 2448/* 89 */ 2449/***/ (function(module, exports, __webpack_require__) { 2450 2451"use strict"; 2452 2453var at = __webpack_require__(56)(true); 2454 2455 // `AdvanceStringIndex` abstract operation 2456// https://tc39.github.io/ecma262/#sec-advancestringindex 2457module.exports = function (S, index, unicode) { 2458 return index + (unicode ? at(S, index).length : 1); 2459}; 2460 2461 2462/***/ }), 2463/* 90 */ 2464/***/ (function(module, exports, __webpack_require__) { 2465 2466var ctx = __webpack_require__(20); 2467var invoke = __webpack_require__(103); 2468var html = __webpack_require__(71); 2469var cel = __webpack_require__(67); 2470var global = __webpack_require__(2); 2471var process = global.process; 2472var setTask = global.setImmediate; 2473var clearTask = global.clearImmediate; 2474var MessageChannel = global.MessageChannel; 2475var Dispatch = global.Dispatch; 2476var counter = 0; 2477var queue = {}; 2478var ONREADYSTATECHANGE = 'onreadystatechange'; 2479var defer, channel, port; 2480var run = function () { 2481 var id = +this; 2482 // eslint-disable-next-line no-prototype-builtins 2483 if (queue.hasOwnProperty(id)) { 2484 var fn = queue[id]; 2485 delete queue[id]; 2486 fn(); 2487 } 2488}; 2489var listener = function (event) { 2490 run.call(event.data); 2491}; 2492// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 2493if (!setTask || !clearTask) { 2494 setTask = function setImmediate(fn) { 2495 var args = []; 2496 var i = 1; 2497 while (arguments.length > i) args.push(arguments[i++]); 2498 queue[++counter] = function () { 2499 // eslint-disable-next-line no-new-func 2500 invoke(typeof fn == 'function' ? fn : Function(fn), args); 2501 }; 2502 defer(counter); 2503 return counter; 2504 }; 2505 clearTask = function clearImmediate(id) { 2506 delete queue[id]; 2507 }; 2508 // Node.js 0.8- 2509 if (__webpack_require__(21)(process) == 'process') { 2510 defer = function (id) { 2511 process.nextTick(ctx(run, id, 1)); 2512 }; 2513 // Sphere (JS game engine) Dispatch API 2514 } else if (Dispatch && Dispatch.now) { 2515 defer = function (id) { 2516 Dispatch.now(ctx(run, id, 1)); 2517 }; 2518 // Browsers with MessageChannel, includes WebWorkers 2519 } else if (MessageChannel) { 2520 channel = new MessageChannel(); 2521 port = channel.port2; 2522 channel.port1.onmessage = listener; 2523 defer = ctx(port.postMessage, port, 1); 2524 // Browsers with postMessage, skip WebWorkers 2525 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 2526 } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { 2527 defer = function (id) { 2528 global.postMessage(id + '', '*'); 2529 }; 2530 global.addEventListener('message', listener, false); 2531 // IE8- 2532 } else if (ONREADYSTATECHANGE in cel('script')) { 2533 defer = function (id) { 2534 html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { 2535 html.removeChild(this); 2536 run.call(id); 2537 }; 2538 }; 2539 // Rest old browsers 2540 } else { 2541 defer = function (id) { 2542 setTimeout(ctx(run, id, 1), 0); 2543 }; 2544 } 2545} 2546module.exports = { 2547 set: setTask, 2548 clear: clearTask 2549}; 2550 2551 2552/***/ }), 2553/* 91 */ 2554/***/ (function(module, exports, __webpack_require__) { 2555 2556var global = __webpack_require__(2); 2557var macrotask = __webpack_require__(90).set; 2558var Observer = global.MutationObserver || global.WebKitMutationObserver; 2559var process = global.process; 2560var Promise = global.Promise; 2561var isNode = __webpack_require__(21)(process) == 'process'; 2562 2563module.exports = function () { 2564 var head, last, notify; 2565 2566 var flush = function () { 2567 var parent, fn; 2568 if (isNode && (parent = process.domain)) parent.exit(); 2569 while (head) { 2570 fn = head.fn; 2571 head = head.next; 2572 try { 2573 fn(); 2574 } catch (e) { 2575 if (head) notify(); 2576 else last = undefined; 2577 throw e; 2578 } 2579 } last = undefined; 2580 if (parent) parent.enter(); 2581 }; 2582 2583 // Node.js 2584 if (isNode) { 2585 notify = function () { 2586 process.nextTick(flush); 2587 }; 2588 // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 2589 } else if (Observer && !(global.navigator && global.navigator.standalone)) { 2590 var toggle = true; 2591 var node = document.createTextNode(''); 2592 new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new 2593 notify = function () { 2594 node.data = toggle = !toggle; 2595 }; 2596 // environments with maybe non-completely correct, but existent Promise 2597 } else if (Promise && Promise.resolve) { 2598 // Promise.resolve without an argument throws an error in LG WebOS 2 2599 var promise = Promise.resolve(undefined); 2600 notify = function () { 2601 promise.then(flush); 2602 }; 2603 // for other environments - macrotask based on: 2604 // - setImmediate 2605 // - MessageChannel 2606 // - window.postMessag 2607 // - onreadystatechange 2608 // - setTimeout 2609 } else { 2610 notify = function () { 2611 // strange IE + webpack dev server bug - use .call(global) 2612 macrotask.call(global, flush); 2613 }; 2614 } 2615 2616 return function (fn) { 2617 var task = { fn: fn, next: undefined }; 2618 if (last) last.next = task; 2619 if (!head) { 2620 head = task; 2621 notify(); 2622 } last = task; 2623 }; 2624}; 2625 2626 2627/***/ }), 2628/* 92 */ 2629/***/ (function(module, exports, __webpack_require__) { 2630 2631"use strict"; 2632 2633// 25.4.1.5 NewPromiseCapability(C) 2634var aFunction = __webpack_require__(11); 2635 2636function PromiseCapability(C) { 2637 var resolve, reject; 2638 this.promise = new C(function ($$resolve, $$reject) { 2639 if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); 2640 resolve = $$resolve; 2641 reject = $$reject; 2642 }); 2643 this.resolve = aFunction(resolve); 2644 this.reject = aFunction(reject); 2645} 2646 2647module.exports.f = function (C) { 2648 return new PromiseCapability(C); 2649}; 2650 2651 2652/***/ }), 2653/* 93 */ 2654/***/ (function(module, exports, __webpack_require__) { 2655 2656"use strict"; 2657 2658var global = __webpack_require__(2); 2659var DESCRIPTORS = __webpack_require__(8); 2660var LIBRARY = __webpack_require__(30); 2661var $typed = __webpack_require__(63); 2662var hide = __webpack_require__(12); 2663var redefineAll = __webpack_require__(42); 2664var fails = __webpack_require__(4); 2665var anInstance = __webpack_require__(40); 2666var toInteger = __webpack_require__(22); 2667var toLength = __webpack_require__(7); 2668var toIndex = __webpack_require__(123); 2669var gOPN = __webpack_require__(38).f; 2670var dP = __webpack_require__(9).f; 2671var arrayFill = __webpack_require__(86); 2672var setToStringTag = __webpack_require__(44); 2673var ARRAY_BUFFER = 'ArrayBuffer'; 2674var DATA_VIEW = 'DataView'; 2675var PROTOTYPE = 'prototype'; 2676var WRONG_LENGTH = 'Wrong length!'; 2677var WRONG_INDEX = 'Wrong index!'; 2678var $ArrayBuffer = global[ARRAY_BUFFER]; 2679var $DataView = global[DATA_VIEW]; 2680var Math = global.Math; 2681var RangeError = global.RangeError; 2682// eslint-disable-next-line no-shadow-restricted-names 2683var Infinity = global.Infinity; 2684var BaseBuffer = $ArrayBuffer; 2685var abs = Math.abs; 2686var pow = Math.pow; 2687var floor = Math.floor; 2688var log = Math.log; 2689var LN2 = Math.LN2; 2690var BUFFER = 'buffer'; 2691var BYTE_LENGTH = 'byteLength'; 2692var BYTE_OFFSET = 'byteOffset'; 2693var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; 2694var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; 2695var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; 2696 2697// IEEE754 conversions based on https://github.com/feross/ieee754 2698function packIEEE754(value, mLen, nBytes) { 2699 var buffer = new Array(nBytes); 2700 var eLen = nBytes * 8 - mLen - 1; 2701 var eMax = (1 << eLen) - 1; 2702 var eBias = eMax >> 1; 2703 var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; 2704 var i = 0; 2705 var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; 2706 var e, m, c; 2707 value = abs(value); 2708 // eslint-disable-next-line no-self-compare 2709 if (value != value || value === Infinity) { 2710 // eslint-disable-next-line no-self-compare 2711 m = value != value ? 1 : 0; 2712 e = eMax; 2713 } else { 2714 e = floor(log(value) / LN2); 2715 if (value * (c = pow(2, -e)) < 1) { 2716 e--; 2717 c *= 2; 2718 } 2719 if (e + eBias >= 1) { 2720 value += rt / c; 2721 } else { 2722 value += rt * pow(2, 1 - eBias); 2723 } 2724 if (value * c >= 2) { 2725 e++; 2726 c /= 2; 2727 } 2728 if (e + eBias >= eMax) { 2729 m = 0; 2730 e = eMax; 2731 } else if (e + eBias >= 1) { 2732 m = (value * c - 1) * pow(2, mLen); 2733 e = e + eBias; 2734 } else { 2735 m = value * pow(2, eBias - 1) * pow(2, mLen); 2736 e = 0; 2737 } 2738 } 2739 for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); 2740 e = e << mLen | m; 2741 eLen += mLen; 2742 for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); 2743 buffer[--i] |= s * 128; 2744 return buffer; 2745} 2746function unpackIEEE754(buffer, mLen, nBytes) { 2747 var eLen = nBytes * 8 - mLen - 1; 2748 var eMax = (1 << eLen) - 1; 2749 var eBias = eMax >> 1; 2750 var nBits = eLen - 7; 2751 var i = nBytes - 1; 2752 var s = buffer[i--]; 2753 var e = s & 127; 2754 var m; 2755 s >>= 7; 2756 for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); 2757 m = e & (1 << -nBits) - 1; 2758 e >>= -nBits; 2759 nBits += mLen; 2760 for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); 2761 if (e === 0) { 2762 e = 1 - eBias; 2763 } else if (e === eMax) { 2764 return m ? NaN : s ? -Infinity : Infinity; 2765 } else { 2766 m = m + pow(2, mLen); 2767 e = e - eBias; 2768 } return (s ? -1 : 1) * m * pow(2, e - mLen); 2769} 2770 2771function unpackI32(bytes) { 2772 return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; 2773} 2774function packI8(it) { 2775 return [it & 0xff]; 2776} 2777function packI16(it) { 2778 return [it & 0xff, it >> 8 & 0xff]; 2779} 2780function packI32(it) { 2781 return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; 2782} 2783function packF64(it) { 2784 return packIEEE754(it, 52, 8); 2785} 2786function packF32(it) { 2787 return packIEEE754(it, 23, 4); 2788} 2789 2790function addGetter(C, key, internal) { 2791 dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); 2792} 2793 2794function get(view, bytes, index, isLittleEndian) { 2795 var numIndex = +index; 2796 var intIndex = toIndex(numIndex); 2797 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); 2798 var store = view[$BUFFER]._b; 2799 var start = intIndex + view[$OFFSET]; 2800 var pack = store.slice(start, start + bytes); 2801 return isLittleEndian ? pack : pack.reverse(); 2802} 2803function set(view, bytes, index, conversion, value, isLittleEndian) { 2804 var numIndex = +index; 2805 var intIndex = toIndex(numIndex); 2806 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); 2807 var store = view[$BUFFER]._b; 2808 var start = intIndex + view[$OFFSET]; 2809 var pack = conversion(+value); 2810 for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; 2811} 2812 2813if (!$typed.ABV) { 2814 $ArrayBuffer = function ArrayBuffer(length) { 2815 anInstance(this, $ArrayBuffer, ARRAY_BUFFER); 2816 var byteLength = toIndex(length); 2817 this._b = arrayFill.call(new Array(byteLength), 0); 2818 this[$LENGTH] = byteLength; 2819 }; 2820 2821 $DataView = function DataView(buffer, byteOffset, byteLength) { 2822 anInstance(this, $DataView, DATA_VIEW); 2823 anInstance(buffer, $ArrayBuffer, DATA_VIEW); 2824 var bufferLength = buffer[$LENGTH]; 2825 var offset = toInteger(byteOffset); 2826 if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); 2827 byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); 2828 if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); 2829 this[$BUFFER] = buffer; 2830 this[$OFFSET] = offset; 2831 this[$LENGTH] = byteLength; 2832 }; 2833 2834 if (DESCRIPTORS) { 2835 addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); 2836 addGetter($DataView, BUFFER, '_b'); 2837 addGetter($DataView, BYTE_LENGTH, '_l'); 2838 addGetter($DataView, BYTE_OFFSET, '_o'); 2839 } 2840 2841 redefineAll($DataView[PROTOTYPE], { 2842 getInt8: function getInt8(byteOffset) { 2843 return get(this, 1, byteOffset)[0] << 24 >> 24; 2844 }, 2845 getUint8: function getUint8(byteOffset) { 2846 return get(this, 1, byteOffset)[0]; 2847 }, 2848 getInt16: function getInt16(byteOffset /* , littleEndian */) { 2849 var bytes = get(this, 2, byteOffset, arguments[1]); 2850 return (bytes[1] << 8 | bytes[0]) << 16 >> 16; 2851 }, 2852 getUint16: function getUint16(byteOffset /* , littleEndian */) { 2853 var bytes = get(this, 2, byteOffset, arguments[1]); 2854 return bytes[1] << 8 | bytes[0]; 2855 }, 2856 getInt32: function getInt32(byteOffset /* , littleEndian */) { 2857 return unpackI32(get(this, 4, byteOffset, arguments[1])); 2858 }, 2859 getUint32: function getUint32(byteOffset /* , littleEndian */) { 2860 return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; 2861 }, 2862 getFloat32: function getFloat32(byteOffset /* , littleEndian */) { 2863 return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); 2864 }, 2865 getFloat64: function getFloat64(byteOffset /* , littleEndian */) { 2866 return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); 2867 }, 2868 setInt8: function setInt8(byteOffset, value) { 2869 set(this, 1, byteOffset, packI8, value); 2870 }, 2871 setUint8: function setUint8(byteOffset, value) { 2872 set(this, 1, byteOffset, packI8, value); 2873 }, 2874 setInt16: function setInt16(byteOffset, value /* , littleEndian */) { 2875 set(this, 2, byteOffset, packI16, value, arguments[2]); 2876 }, 2877 setUint16: function setUint16(byteOffset, value /* , littleEndian */) { 2878 set(this, 2, byteOffset, packI16, value, arguments[2]); 2879 }, 2880 setInt32: function setInt32(byteOffset, value /* , littleEndian */) { 2881 set(this, 4, byteOffset, packI32, value, arguments[2]); 2882 }, 2883 setUint32: function setUint32(byteOffset, value /* , littleEndian */) { 2884 set(this, 4, byteOffset, packI32, value, arguments[2]); 2885 }, 2886 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { 2887 set(this, 4, byteOffset, packF32, value, arguments[2]); 2888 }, 2889 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { 2890 set(this, 8, byteOffset, packF64, value, arguments[2]); 2891 } 2892 }); 2893} else { 2894 if (!fails(function () { 2895 $ArrayBuffer(1); 2896 }) || !fails(function () { 2897 new $ArrayBuffer(-1); // eslint-disable-line no-new 2898 }) || fails(function () { 2899 new $ArrayBuffer(); // eslint-disable-line no-new 2900 new $ArrayBuffer(1.5); // eslint-disable-line no-new 2901 new $ArrayBuffer(NaN); // eslint-disable-line no-new 2902 return $ArrayBuffer.name != ARRAY_BUFFER; 2903 })) { 2904 $ArrayBuffer = function ArrayBuffer(length) { 2905 anInstance(this, $ArrayBuffer); 2906 return new BaseBuffer(toIndex(length)); 2907 }; 2908 var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; 2909 for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { 2910 if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); 2911 } 2912 if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; 2913 } 2914 // iOS Safari 7.x bug 2915 var view = new $DataView(new $ArrayBuffer(2)); 2916 var $setInt8 = $DataView[PROTOTYPE].setInt8; 2917 view.setInt8(0, 2147483648); 2918 view.setInt8(1, 2147483649); 2919 if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { 2920 setInt8: function setInt8(byteOffset, value) { 2921 $setInt8.call(this, byteOffset, value << 24 >> 24); 2922 }, 2923 setUint8: function setUint8(byteOffset, value) { 2924 $setInt8.call(this, byteOffset, value << 24 >> 24); 2925 } 2926 }, true); 2927} 2928setToStringTag($ArrayBuffer, ARRAY_BUFFER); 2929setToStringTag($DataView, DATA_VIEW); 2930hide($DataView[PROTOTYPE], $typed.VIEW, true); 2931exports[ARRAY_BUFFER] = $ArrayBuffer; 2932exports[DATA_VIEW] = $DataView; 2933 2934 2935/***/ }), 2936/* 94 */ 2937/***/ (function(module, exports) { 2938 2939var g; 2940 2941// This works in non-strict mode 2942g = (function() { 2943 return this; 2944})(); 2945 2946try { 2947 // This works if eval is allowed (see CSP) 2948 g = g || Function("return this")() || (1,eval)("this"); 2949} catch(e) { 2950 // This works if the window reference is available 2951 if(typeof window === "object") 2952 g = window; 2953} 2954 2955// g can still be undefined, but nothing to do about it... 2956// We return undefined, instead of nothing here, so it's 2957// easier to handle this case. if(!global) { ...} 2958 2959module.exports = g; 2960 2961 2962/***/ }), 2963/* 95 */ 2964/***/ (function(module, exports, __webpack_require__) { 2965 2966module.exports = !__webpack_require__(8) && !__webpack_require__(4)(function () { 2967 return Object.defineProperty(__webpack_require__(67)('div'), 'a', { get: function () { return 7; } }).a != 7; 2968}); 2969 2970 2971/***/ }), 2972/* 96 */ 2973/***/ (function(module, exports, __webpack_require__) { 2974 2975exports.f = __webpack_require__(6); 2976 2977 2978/***/ }), 2979/* 97 */ 2980/***/ (function(module, exports, __webpack_require__) { 2981 2982var has = __webpack_require__(15); 2983var toIObject = __webpack_require__(16); 2984var arrayIndexOf = __webpack_require__(53)(false); 2985var IE_PROTO = __webpack_require__(69)('IE_PROTO'); 2986 2987module.exports = function (object, names) { 2988 var O = toIObject(object); 2989 var i = 0; 2990 var result = []; 2991 var key; 2992 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); 2993 // Don't enum bug & hidden keys 2994 while (names.length > i) if (has(O, key = names[i++])) { 2995 ~arrayIndexOf(result, key) || result.push(key); 2996 } 2997 return result; 2998}; 2999 3000 3001/***/ }), 3002/* 98 */ 3003/***/ (function(module, exports, __webpack_require__) { 3004 3005var dP = __webpack_require__(9); 3006var anObject = __webpack_require__(1); 3007var getKeys = __webpack_require__(35); 3008 3009module.exports = __webpack_require__(8) ? Object.defineProperties : function defineProperties(O, Properties) { 3010 anObject(O); 3011 var keys = getKeys(Properties); 3012 var length = keys.length; 3013 var i = 0; 3014 var P; 3015 while (length > i) dP.f(O, P = keys[i++], Properties[P]); 3016 return O; 3017}; 3018 3019 3020/***/ }), 3021/* 99 */ 3022/***/ (function(module, exports, __webpack_require__) { 3023 3024// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 3025var toIObject = __webpack_require__(16); 3026var gOPN = __webpack_require__(38).f; 3027var toString = {}.toString; 3028 3029var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 3030 ? Object.getOwnPropertyNames(window) : []; 3031 3032var getWindowNames = function (it) { 3033 try { 3034 return gOPN(it); 3035 } catch (e) { 3036 return windowNames.slice(); 3037 } 3038}; 3039 3040module.exports.f = function getOwnPropertyNames(it) { 3041 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); 3042}; 3043 3044 3045/***/ }), 3046/* 100 */ 3047/***/ (function(module, exports, __webpack_require__) { 3048 3049"use strict"; 3050 3051// 19.1.2.1 Object.assign(target, source, ...) 3052var DESCRIPTORS = __webpack_require__(8); 3053var getKeys = __webpack_require__(35); 3054var gOPS = __webpack_require__(54); 3055var pIE = __webpack_require__(50); 3056var toObject = __webpack_require__(10); 3057var IObject = __webpack_require__(49); 3058var $assign = Object.assign; 3059 3060// should work with symbols and should have deterministic property order (V8 bug) 3061module.exports = !$assign || __webpack_require__(4)(function () { 3062 var A = {}; 3063 var B = {}; 3064 // eslint-disable-next-line no-undef 3065 var S = Symbol(); 3066 var K = 'abcdefghijklmnopqrst'; 3067 A[S] = 7; 3068 K.split('').forEach(function (k) { B[k] = k; }); 3069 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; 3070}) ? function assign(target, source) { // eslint-disable-line no-unused-vars 3071 var T = toObject(target); 3072 var aLen = arguments.length; 3073 var index = 1; 3074 var getSymbols = gOPS.f; 3075 var isEnum = pIE.f; 3076 while (aLen > index) { 3077 var S = IObject(arguments[index++]); 3078 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); 3079 var length = keys.length; 3080 var j = 0; 3081 var key; 3082 while (length > j) { 3083 key = keys[j++]; 3084 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; 3085 } 3086 } return T; 3087} : $assign; 3088 3089 3090/***/ }), 3091/* 101 */ 3092/***/ (function(module, exports) { 3093 3094// 7.2.9 SameValue(x, y) 3095module.exports = Object.is || function is(x, y) { 3096 // eslint-disable-next-line no-self-compare 3097 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; 3098}; 3099 3100 3101/***/ }), 3102/* 102 */ 3103/***/ (function(module, exports, __webpack_require__) { 3104 3105"use strict"; 3106 3107var aFunction = __webpack_require__(11); 3108var isObject = __webpack_require__(5); 3109var invoke = __webpack_require__(103); 3110var arraySlice = [].slice; 3111var factories = {}; 3112 3113var construct = function (F, len, args) { 3114 if (!(len in factories)) { 3115 for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; 3116 // eslint-disable-next-line no-new-func 3117 factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); 3118 } return factories[len](F, args); 3119}; 3120 3121module.exports = Function.bind || function bind(that /* , ...args */) { 3122 var fn = aFunction(this); 3123 var partArgs = arraySlice.call(arguments, 1); 3124 var bound = function (/* args... */) { 3125 var args = partArgs.concat(arraySlice.call(arguments)); 3126 return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); 3127 }; 3128 if (isObject(fn.prototype)) bound.prototype = fn.prototype; 3129 return bound; 3130}; 3131 3132 3133/***/ }), 3134/* 103 */ 3135/***/ (function(module, exports) { 3136 3137// fast apply, http://jsperf.lnkit.com/fast-apply/5 3138module.exports = function (fn, args, that) { 3139 var un = that === undefined; 3140 switch (args.length) { 3141 case 0: return un ? fn() 3142 : fn.call(that); 3143 case 1: return un ? fn(args[0]) 3144 : fn.call(that, args[0]); 3145 case 2: return un ? fn(args[0], args[1]) 3146 : fn.call(that, args[0], args[1]); 3147 case 3: return un ? fn(args[0], args[1], args[2]) 3148 : fn.call(that, args[0], args[1], args[2]); 3149 case 4: return un ? fn(args[0], args[1], args[2], args[3]) 3150 : fn.call(that, args[0], args[1], args[2], args[3]); 3151 } return fn.apply(that, args); 3152}; 3153 3154 3155/***/ }), 3156/* 104 */ 3157/***/ (function(module, exports, __webpack_require__) { 3158 3159var $parseInt = __webpack_require__(2).parseInt; 3160var $trim = __webpack_require__(46).trim; 3161var ws = __webpack_require__(73); 3162var hex = /^[-+]?0[xX]/; 3163 3164module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { 3165 var string = $trim(String(str), 3); 3166 return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); 3167} : $parseInt; 3168 3169 3170/***/ }), 3171/* 105 */ 3172/***/ (function(module, exports, __webpack_require__) { 3173 3174var $parseFloat = __webpack_require__(2).parseFloat; 3175var $trim = __webpack_require__(46).trim; 3176 3177module.exports = 1 / $parseFloat(__webpack_require__(73) + '-0') !== -Infinity ? function parseFloat(str) { 3178 var string = $trim(String(str), 3); 3179 var result = $parseFloat(string); 3180 return result === 0 && string.charAt(0) == '-' ? -0 : result; 3181} : $parseFloat; 3182 3183 3184/***/ }), 3185/* 106 */ 3186/***/ (function(module, exports, __webpack_require__) { 3187 3188var cof = __webpack_require__(21); 3189module.exports = function (it, msg) { 3190 if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); 3191 return +it; 3192}; 3193 3194 3195/***/ }), 3196/* 107 */ 3197/***/ (function(module, exports, __webpack_require__) { 3198 3199// 20.1.2.3 Number.isInteger(number) 3200var isObject = __webpack_require__(5); 3201var floor = Math.floor; 3202module.exports = function isInteger(it) { 3203 return !isObject(it) && isFinite(it) && floor(it) === it; 3204}; 3205 3206 3207/***/ }), 3208/* 108 */ 3209/***/ (function(module, exports) { 3210 3211// 20.2.2.20 Math.log1p(x) 3212module.exports = Math.log1p || function log1p(x) { 3213 return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); 3214}; 3215 3216 3217/***/ }), 3218/* 109 */ 3219/***/ (function(module, exports, __webpack_require__) { 3220 3221// 20.2.2.16 Math.fround(x) 3222var sign = __webpack_require__(76); 3223var pow = Math.pow; 3224var EPSILON = pow(2, -52); 3225var EPSILON32 = pow(2, -23); 3226var MAX32 = pow(2, 127) * (2 - EPSILON32); 3227var MIN32 = pow(2, -126); 3228 3229var roundTiesToEven = function (n) { 3230 return n + 1 / EPSILON - 1 / EPSILON; 3231}; 3232 3233module.exports = Math.fround || function fround(x) { 3234 var $abs = Math.abs(x); 3235 var $sign = sign(x); 3236 var a, result; 3237 if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; 3238 a = (1 + EPSILON32 / EPSILON) * $abs; 3239 result = a - (a - $abs); 3240 // eslint-disable-next-line no-self-compare 3241 if (result > MAX32 || result != result) return $sign * Infinity; 3242 return $sign * result; 3243}; 3244 3245 3246/***/ }), 3247/* 110 */ 3248/***/ (function(module, exports, __webpack_require__) { 3249 3250// call something on iterator step with safe closing on error 3251var anObject = __webpack_require__(1); 3252module.exports = function (iterator, fn, value, entries) { 3253 try { 3254 return entries ? fn(anObject(value)[0], value[1]) : fn(value); 3255 // 7.4.6 IteratorClose(iterator, completion) 3256 } catch (e) { 3257 var ret = iterator['return']; 3258 if (ret !== undefined) anObject(ret.call(iterator)); 3259 throw e; 3260 } 3261}; 3262 3263 3264/***/ }), 3265/* 111 */ 3266/***/ (function(module, exports, __webpack_require__) { 3267 3268var aFunction = __webpack_require__(11); 3269var toObject = __webpack_require__(10); 3270var IObject = __webpack_require__(49); 3271var toLength = __webpack_require__(7); 3272 3273module.exports = function (that, callbackfn, aLen, memo, isRight) { 3274 aFunction(callbackfn); 3275 var O = toObject(that); 3276 var self = IObject(O); 3277 var length = toLength(O.length); 3278 var index = isRight ? length - 1 : 0; 3279 var i = isRight ? -1 : 1; 3280 if (aLen < 2) for (;;) { 3281 if (index in self) { 3282 memo = self[index]; 3283 index += i; 3284 break; 3285 } 3286 index += i; 3287 if (isRight ? index < 0 : length <= index) { 3288 throw TypeError('Reduce of empty array with no initial value'); 3289 } 3290 } 3291 for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { 3292 memo = callbackfn(memo, self[index], index, O); 3293 } 3294 return memo; 3295}; 3296 3297 3298/***/ }), 3299/* 112 */ 3300/***/ (function(module, exports, __webpack_require__) { 3301 3302"use strict"; 3303// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 3304 3305var toObject = __webpack_require__(10); 3306var toAbsoluteIndex = __webpack_require__(36); 3307var toLength = __webpack_require__(7); 3308 3309module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { 3310 var O = toObject(this); 3311 var len = toLength(O.length); 3312 var to = toAbsoluteIndex(target, len); 3313 var from = toAbsoluteIndex(start, len); 3314 var end = arguments.length > 2 ? arguments[2] : undefined; 3315 var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); 3316 var inc = 1; 3317 if (from < to && to < from + count) { 3318 inc = -1; 3319 from += count - 1; 3320 to += count - 1; 3321 } 3322 while (count-- > 0) { 3323 if (from in O) O[to] = O[from]; 3324 else delete O[to]; 3325 to += inc; 3326 from += inc; 3327 } return O; 3328}; 3329 3330 3331/***/ }), 3332/* 113 */ 3333/***/ (function(module, exports) { 3334 3335module.exports = function (done, value) { 3336 return { value: value, done: !!done }; 3337}; 3338 3339 3340/***/ }), 3341/* 114 */ 3342/***/ (function(module, exports, __webpack_require__) { 3343 3344"use strict"; 3345 3346var regexpExec = __webpack_require__(88); 3347__webpack_require__(0)({ 3348 target: 'RegExp', 3349 proto: true, 3350 forced: regexpExec !== /./.exec 3351}, { 3352 exec: regexpExec 3353}); 3354 3355 3356/***/ }), 3357/* 115 */ 3358/***/ (function(module, exports, __webpack_require__) { 3359 3360// 21.2.5.3 get RegExp.prototype.flags() 3361if (__webpack_require__(8) && /./g.flags != 'g') __webpack_require__(9).f(RegExp.prototype, 'flags', { 3362 configurable: true, 3363 get: __webpack_require__(51) 3364}); 3365 3366 3367/***/ }), 3368/* 116 */ 3369/***/ (function(module, exports) { 3370 3371module.exports = function (exec) { 3372 try { 3373 return { e: false, v: exec() }; 3374 } catch (e) { 3375 return { e: true, v: e }; 3376 } 3377}; 3378 3379 3380/***/ }), 3381/* 117 */ 3382/***/ (function(module, exports, __webpack_require__) { 3383 3384var anObject = __webpack_require__(1); 3385var isObject = __webpack_require__(5); 3386var newPromiseCapability = __webpack_require__(92); 3387 3388module.exports = function (C, x) { 3389 anObject(C); 3390 if (isObject(x) && x.constructor === C) return x; 3391 var promiseCapability = newPromiseCapability.f(C); 3392 var resolve = promiseCapability.resolve; 3393 resolve(x); 3394 return promiseCapability.promise; 3395}; 3396 3397 3398/***/ }), 3399/* 118 */ 3400/***/ (function(module, exports, __webpack_require__) { 3401 3402"use strict"; 3403 3404var strong = __webpack_require__(119); 3405var validate = __webpack_require__(43); 3406var MAP = 'Map'; 3407 3408// 23.1 Map Objects 3409module.exports = __webpack_require__(62)(MAP, function (get) { 3410 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 3411}, { 3412 // 23.1.3.6 Map.prototype.get(key) 3413 get: function get(key) { 3414 var entry = strong.getEntry(validate(this, MAP), key); 3415 return entry && entry.v; 3416 }, 3417 // 23.1.3.9 Map.prototype.set(key, value) 3418 set: function set(key, value) { 3419 return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); 3420 } 3421}, strong, true); 3422 3423 3424/***/ }), 3425/* 119 */ 3426/***/ (function(module, exports, __webpack_require__) { 3427 3428"use strict"; 3429 3430var dP = __webpack_require__(9).f; 3431var create = __webpack_require__(37); 3432var redefineAll = __webpack_require__(42); 3433var ctx = __webpack_require__(20); 3434var anInstance = __webpack_require__(40); 3435var forOf = __webpack_require__(41); 3436var $iterDefine = __webpack_require__(78); 3437var step = __webpack_require__(113); 3438var setSpecies = __webpack_require__(39); 3439var DESCRIPTORS = __webpack_require__(8); 3440var fastKey = __webpack_require__(31).fastKey; 3441var validate = __webpack_require__(43); 3442var SIZE = DESCRIPTORS ? '_s' : 'size'; 3443 3444var getEntry = function (that, key) { 3445 // fast case 3446 var index = fastKey(key); 3447 var entry; 3448 if (index !== 'F') return that._i[index]; 3449 // frozen object case 3450 for (entry = that._f; entry; entry = entry.n) { 3451 if (entry.k == key) return entry; 3452 } 3453}; 3454 3455module.exports = { 3456 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { 3457 var C = wrapper(function (that, iterable) { 3458 anInstance(that, C, NAME, '_i'); 3459 that._t = NAME; // collection type 3460 that._i = create(null); // index 3461 that._f = undefined; // first entry 3462 that._l = undefined; // last entry 3463 that[SIZE] = 0; // size 3464 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 3465 }); 3466 redefineAll(C.prototype, { 3467 // 23.1.3.1 Map.prototype.clear() 3468 // 23.2.3.2 Set.prototype.clear() 3469 clear: function clear() { 3470 for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { 3471 entry.r = true; 3472 if (entry.p) entry.p = entry.p.n = undefined; 3473 delete data[entry.i]; 3474 } 3475 that._f = that._l = undefined; 3476 that[SIZE] = 0; 3477 }, 3478 // 23.1.3.3 Map.prototype.delete(key) 3479 // 23.2.3.4 Set.prototype.delete(value) 3480 'delete': function (key) { 3481 var that = validate(this, NAME); 3482 var entry = getEntry(that, key); 3483 if (entry) { 3484 var next = entry.n; 3485 var prev = entry.p; 3486 delete that._i[entry.i]; 3487 entry.r = true; 3488 if (prev) prev.n = next; 3489 if (next) next.p = prev; 3490 if (that._f == entry) that._f = next; 3491 if (that._l == entry) that._l = prev; 3492 that[SIZE]--; 3493 } return !!entry; 3494 }, 3495 // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) 3496 // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) 3497 forEach: function forEach(callbackfn /* , that = undefined */) { 3498 validate(this, NAME); 3499 var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); 3500 var entry; 3501 while (entry = entry ? entry.n : this._f) { 3502 f(entry.v, entry.k, this); 3503 // revert to the last existing entry 3504 while (entry && entry.r) entry = entry.p; 3505 } 3506 }, 3507 // 23.1.3.7 Map.prototype.has(key) 3508 // 23.2.3.7 Set.prototype.has(value) 3509 has: function has(key) { 3510 return !!getEntry(validate(this, NAME), key); 3511 } 3512 }); 3513 if (DESCRIPTORS) dP(C.prototype, 'size', { 3514 get: function () { 3515 return validate(this, NAME)[SIZE]; 3516 } 3517 }); 3518 return C; 3519 }, 3520 def: function (that, key, value) { 3521 var entry = getEntry(that, key); 3522 var prev, index; 3523 // change existing entry 3524 if (entry) { 3525 entry.v = value; 3526 // create new entry 3527 } else { 3528 that._l = entry = { 3529 i: index = fastKey(key, true), // <- index 3530 k: key, // <- key 3531 v: value, // <- value 3532 p: prev = that._l, // <- previous entry 3533 n: undefined, // <- next entry 3534 r: false // <- removed 3535 }; 3536 if (!that._f) that._f = entry; 3537 if (prev) prev.n = entry; 3538 that[SIZE]++; 3539 // add to index 3540 if (index !== 'F') that._i[index] = entry; 3541 } return that; 3542 }, 3543 getEntry: getEntry, 3544 setStrong: function (C, NAME, IS_MAP) { 3545 // add .keys, .values, .entries, [@@iterator] 3546 // 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 3547 $iterDefine(C, NAME, function (iterated, kind) { 3548 this._t = validate(iterated, NAME); // target 3549 this._k = kind; // kind 3550 this._l = undefined; // previous 3551 }, function () { 3552 var that = this; 3553 var kind = that._k; 3554 var entry = that._l; 3555 // revert to the last existing entry 3556 while (entry && entry.r) entry = entry.p; 3557 // get next entry 3558 if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { 3559 // or finish the iteration 3560 that._t = undefined; 3561 return step(1); 3562 } 3563 // return step by kind 3564 if (kind == 'keys') return step(0, entry.k); 3565 if (kind == 'values') return step(0, entry.v); 3566 return step(0, [entry.k, entry.v]); 3567 }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); 3568 3569 // add [@@species], 23.1.2.2, 23.2.2.2 3570 setSpecies(NAME); 3571 } 3572}; 3573 3574 3575/***/ }), 3576/* 120 */ 3577/***/ (function(module, exports, __webpack_require__) { 3578 3579"use strict"; 3580 3581var strong = __webpack_require__(119); 3582var validate = __webpack_require__(43); 3583var SET = 'Set'; 3584 3585// 23.2 Set Objects 3586module.exports = __webpack_require__(62)(SET, function (get) { 3587 return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 3588}, { 3589 // 23.2.3.1 Set.prototype.add(value) 3590 add: function add(value) { 3591 return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); 3592 } 3593}, strong); 3594 3595 3596/***/ }), 3597/* 121 */ 3598/***/ (function(module, exports, __webpack_require__) { 3599 3600"use strict"; 3601 3602var global = __webpack_require__(2); 3603var each = __webpack_require__(27)(0); 3604var redefine = __webpack_require__(13); 3605var meta = __webpack_require__(31); 3606var assign = __webpack_require__(100); 3607var weak = __webpack_require__(122); 3608var isObject = __webpack_require__(5); 3609var validate = __webpack_require__(43); 3610var NATIVE_WEAK_MAP = __webpack_require__(43); 3611var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; 3612var WEAK_MAP = 'WeakMap'; 3613var getWeak = meta.getWeak; 3614var isExtensible = Object.isExtensible; 3615var uncaughtFrozenStore = weak.ufstore; 3616var InternalMap; 3617 3618var wrapper = function (get) { 3619 return function WeakMap() { 3620 return get(this, arguments.length > 0 ? arguments[0] : undefined); 3621 }; 3622}; 3623 3624var methods = { 3625 // 23.3.3.3 WeakMap.prototype.get(key) 3626 get: function get(key) { 3627 if (isObject(key)) { 3628 var data = getWeak(key); 3629 if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); 3630 return data ? data[this._i] : undefined; 3631 } 3632 }, 3633 // 23.3.3.5 WeakMap.prototype.set(key, value) 3634 set: function set(key, value) { 3635 return weak.def(validate(this, WEAK_MAP), key, value); 3636 } 3637}; 3638 3639// 23.3 WeakMap Objects 3640var $WeakMap = module.exports = __webpack_require__(62)(WEAK_MAP, wrapper, methods, weak, true, true); 3641 3642// IE11 WeakMap frozen keys fix 3643if (NATIVE_WEAK_MAP && IS_IE11) { 3644 InternalMap = weak.getConstructor(wrapper, WEAK_MAP); 3645 assign(InternalMap.prototype, methods); 3646 meta.NEED = true; 3647 each(['delete', 'has', 'get', 'set'], function (key) { 3648 var proto = $WeakMap.prototype; 3649 var method = proto[key]; 3650 redefine(proto, key, function (a, b) { 3651 // store frozen objects on internal weakmap shim 3652 if (isObject(a) && !isExtensible(a)) { 3653 if (!this._f) this._f = new InternalMap(); 3654 var result = this._f[key](a, b); 3655 return key == 'set' ? this : result; 3656 // store all the rest on native weakmap 3657 } return method.call(this, a, b); 3658 }); 3659 }); 3660} 3661 3662 3663/***/ }), 3664/* 122 */ 3665/***/ (function(module, exports, __webpack_require__) { 3666 3667"use strict"; 3668 3669var redefineAll = __webpack_require__(42); 3670var getWeak = __webpack_require__(31).getWeak; 3671var anObject = __webpack_require__(1); 3672var isObject = __webpack_require__(5); 3673var anInstance = __webpack_require__(40); 3674var forOf = __webpack_require__(41); 3675var createArrayMethod = __webpack_require__(27); 3676var $has = __webpack_require__(15); 3677var validate = __webpack_require__(43); 3678var arrayFind = createArrayMethod(5); 3679var arrayFindIndex = createArrayMethod(6); 3680var id = 0; 3681 3682// fallback for uncaught frozen keys 3683var uncaughtFrozenStore = function (that) { 3684 return that._l || (that._l = new UncaughtFrozenStore()); 3685}; 3686var UncaughtFrozenStore = function () { 3687 this.a = []; 3688}; 3689var findUncaughtFrozen = function (store, key) { 3690 return arrayFind(store.a, function (it) { 3691 return it[0] === key; 3692 }); 3693}; 3694UncaughtFrozenStore.prototype = { 3695 get: function (key) { 3696 var entry = findUncaughtFrozen(this, key); 3697 if (entry) return entry[1]; 3698 }, 3699 has: function (key) { 3700 return !!findUncaughtFrozen(this, key); 3701 }, 3702 set: function (key, value) { 3703 var entry = findUncaughtFrozen(this, key); 3704 if (entry) entry[1] = value; 3705 else this.a.push([key, value]); 3706 }, 3707 'delete': function (key) { 3708 var index = arrayFindIndex(this.a, function (it) { 3709 return it[0] === key; 3710 }); 3711 if (~index) this.a.splice(index, 1); 3712 return !!~index; 3713 } 3714}; 3715 3716module.exports = { 3717 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { 3718 var C = wrapper(function (that, iterable) { 3719 anInstance(that, C, NAME, '_i'); 3720 that._t = NAME; // collection type 3721 that._i = id++; // collection id 3722 that._l = undefined; // leak store for uncaught frozen objects 3723 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 3724 }); 3725 redefineAll(C.prototype, { 3726 // 23.3.3.2 WeakMap.prototype.delete(key) 3727 // 23.4.3.3 WeakSet.prototype.delete(value) 3728 'delete': function (key) { 3729 if (!isObject(key)) return false; 3730 var data = getWeak(key); 3731 if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); 3732 return data && $has(data, this._i) && delete data[this._i]; 3733 }, 3734 // 23.3.3.4 WeakMap.prototype.has(key) 3735 // 23.4.3.4 WeakSet.prototype.has(value) 3736 has: function has(key) { 3737 if (!isObject(key)) return false; 3738 var data = getWeak(key); 3739 if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); 3740 return data && $has(data, this._i); 3741 } 3742 }); 3743 return C; 3744 }, 3745 def: function (that, key, value) { 3746 var data = getWeak(anObject(key), true); 3747 if (data === true) uncaughtFrozenStore(that).set(key, value); 3748 else data[that._i] = value; 3749 return that; 3750 }, 3751 ufstore: uncaughtFrozenStore 3752}; 3753 3754 3755/***/ }), 3756/* 123 */ 3757/***/ (function(module, exports, __webpack_require__) { 3758 3759// https://tc39.github.io/ecma262/#sec-toindex 3760var toInteger = __webpack_require__(22); 3761var toLength = __webpack_require__(7); 3762module.exports = function (it) { 3763 if (it === undefined) return 0; 3764 var number = toInteger(it); 3765 var length = toLength(number); 3766 if (number !== length) throw RangeError('Wrong length!'); 3767 return length; 3768}; 3769 3770 3771/***/ }), 3772/* 124 */ 3773/***/ (function(module, exports, __webpack_require__) { 3774 3775// all object keys, includes non-enumerable and symbols 3776var gOPN = __webpack_require__(38); 3777var gOPS = __webpack_require__(54); 3778var anObject = __webpack_require__(1); 3779var Reflect = __webpack_require__(2).Reflect; 3780module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { 3781 var keys = gOPN.f(anObject(it)); 3782 var getSymbols = gOPS.f; 3783 return getSymbols ? keys.concat(getSymbols(it)) : keys; 3784}; 3785 3786 3787/***/ }), 3788/* 125 */ 3789/***/ (function(module, exports, __webpack_require__) { 3790 3791"use strict"; 3792
vendor: 4,301 bytes, lines 3793-3939
3793// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray 3794var isArray = __webpack_require__(55); 3795var isObject = __webpack_require__(5); 3796var toLength = __webpack_require__(7); 3797var ctx = __webpack_require__(20); 3798var IS_CONCAT_SPREADABLE = __webpack_require__(6)('isConcatSpreadable'); 3799 3800function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { 3801 var targetIndex = start; 3802 var sourceIndex = 0; 3803 var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; 3804 var element, spreadable; 3805 3806 while (sourceIndex < sourceLen) { 3807 if (sourceIndex in source) { 3808 element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; 3809 3810 spreadable = false; 3811 if (isObject(element)) { 3812 spreadable = element[IS_CONCAT_SPREADABLE]; 3813 spreadable = spreadable !== undefined ? !!spreadable : isArray(element); 3814 } 3815 3816 if (spreadable && depth > 0) { 3817 targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; 3818 } else { 3819 if (targetIndex >= 0x1fffffffffffff) throw TypeError(); 3820 target[targetIndex] = element; 3821 } 3822 3823 targetIndex++; 3824 } 3825 sourceIndex++; 3826 } 3827 return targetIndex; 3828} 3829 3830module.exports = flattenIntoArray; 3831 3832 3833/***/ }), 3834/* 126 */ 3835/***/ (function(module, exports, __webpack_require__) { 3836 3837// https://github.com/tc39/proposal-string-pad-start-end 3838var toLength = __webpack_require__(7); 3839var repeat = __webpack_require__(75); 3840var defined = __webpack_require__(25); 3841 3842module.exports = function (that, maxLength, fillString, left) { 3843 var S = String(defined(that)); 3844 var stringLength = S.length; 3845 var fillStr = fillString === undefined ? ' ' : String(fillString); 3846 var intMaxLength = toLength(maxLength); 3847 if (intMaxLength <= stringLength || fillStr == '') return S; 3848 var fillLen = intMaxLength - stringLength; 3849 var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); 3850 if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); 3851 return left ? stringFiller + S : S + stringFiller; 3852}; 3853 3854 3855/***/ }), 3856/* 127 */ 3857/***/ (function(module, exports, __webpack_require__) { 3858 3859var DESCRIPTORS = __webpack_require__(8); 3860var getKeys = __webpack_require__(35); 3861var toIObject = __webpack_require__(16); 3862var isEnum = __webpack_require__(50).f; 3863module.exports = function (isEntries) { 3864 return function (it) { 3865 var O = toIObject(it); 3866 var keys = getKeys(O); 3867 var length = keys.length; 3868 var i = 0; 3869 var result = []; 3870 var key; 3871 while (length > i) { 3872 key = keys[i++]; 3873 if (!DESCRIPTORS || isEnum.call(O, key)) { 3874 result.push(isEntries ? [key, O[key]] : O[key]); 3875 } 3876 } 3877 return result; 3878 }; 3879}; 3880 3881 3882/***/ }), 3883/* 128 */ 3884/***/ (function(module, exports, __webpack_require__) { 3885 3886// https://github.com/DavidBruant/Map-Set.prototype.toJSON 3887var classof = __webpack_require__(45); 3888var from = __webpack_require__(129); 3889module.exports = function (NAME) { 3890 return function toJSON() { 3891 if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); 3892 return from(this); 3893 }; 3894}; 3895 3896 3897/***/ }), 3898/* 129 */ 3899/***/ (function(module, exports, __webpack_require__) { 3900 3901var forOf = __webpack_require__(41); 3902 3903module.exports = function (iter, ITERATOR) { 3904 var result = []; 3905 forOf(iter, false, result.push, result, ITERATOR); 3906 return result; 3907}; 3908 3909 3910/***/ }), 3911/* 130 */ 3912/***/ (function(module, exports) { 3913 3914// https://rwaldron.github.io/proposal-math-extensions/ 3915module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { 3916 if ( 3917 arguments.length === 0 3918 // eslint-disable-next-line no-self-compare 3919 || x != x 3920 // eslint-disable-next-line no-self-compare 3921 || inLow != inLow 3922 // eslint-disable-next-line no-self-compare 3923 || inHigh != inHigh 3924 // eslint-disable-next-line no-self-compare 3925 || outLow != outLow 3926 // eslint-disable-next-line no-self-compare 3927 || outHigh != outHigh 3928 ) return NaN; 3929 if (x === Infinity || x === -Infinity) return x; 3930 return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; 3931}; 3932 3933 3934/***/ }), 3935/* 131 */ 3936/***/ (function(module, __webpack_exports__, __webpack_require__) { 3937 3938"use strict"; 3939Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
3940/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_polyfill__ = __webpack_require__(132); 3941/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_polyfill___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_polyfill__); 3942/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__libs_jcf_jcf_js__ = __webpack_require__(334); 3943/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__libs_jcf_jcf_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__libs_jcf_jcf_js__); 3944/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__libs_jcf_jcf_scrollable_js__ = __webpack_require__(336); 3945/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__libs_jcf_jcf_scrollable_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__libs_jcf_jcf_scrollable_js__); 3946/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__libs_jcf_jcf_select_js__ = __webpack_require__(337); 3947/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__libs_jcf_jcf_select_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__libs_jcf_jcf_select_js__); 3948/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__libs_slick__ = __webpack_require__(338); 3949/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__libs_slick___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__libs_slick__); 3950/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__libs_sticky_kit__ = __webpack_require__(339); 3951/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__libs_sticky_kit___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__libs_sticky_kit__); 3952/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__libs_binder__ = __webpack_require__(340); 3953/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modules_module__ = __webpack_require__(341); 3954/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__modules_customSelect__ = __webpack_require__(342); 3955/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__modules_serviceSlider__ = __webpack_require__(343); 3956/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__modules_healthySlider__ = __webpack_require__(344); 3957/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__modules_conversationSlider__ = __webpack_require__(345); 3958/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__modules_modals__ = __webpack_require__(346); 3959/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__modules_dropdowns__ = __webpack_require__(347); 3960/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__modules_articlesSlider__ = __webpack_require__(348); 3961/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__modules_mediaSlider__ = __webpack_require__(349); 3962/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__modules_accordion__ = __webpack_require__(350); 3963/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__modules_getCareSlider__ = __webpack_require__(351); 3964/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__modules_filters__ = __webpack_require__(352); 3965/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__modules_tabs__ = __webpack_require__(353); 3966/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__modules_scrollTo__ = __webpack_require__(354); 3967/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__modules_doctorProfileMap__ = __webpack_require__(355); 3968/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__modules_socialListSticky__ = __webpack_require__(356); 3969/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__modules_eventsSlider__ = __webpack_require__(357); 3970/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__modules_mediaSliderMobile__ = __webpack_require__(358); 3971/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__modules_modalSlider__ = __webpack_require__(359); 3972/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__modules_autocomplete__ = __webpack_require__(360); 3973/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__modules_asideFilter__ = __webpack_require__(361); 3974/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__modules_locationsMap__ = __webpack_require__(362); 3975/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__modules_hero_video__ = __webpack_require__(363); 3976/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__modules_addIframeWrap__ = __webpack_require__(364); 3977/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__modules_stickyElement__ = __webpack_require__(365); 3978/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__modules_disclaimerCookies__ = __webpack_require__(366); 3979/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__modules_faqShowMore__ = __webpack_require__(367); 3980/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__modules_patientStoriesSlider__ = __webpack_require__(368); 3981/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__modules_daterangeEvents__ = __webpack_require__(369); 3982/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__modules_notificationCookies__ = __webpack_require__(370); 3983/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__modules_asideNav__ = __webpack_require__(371); 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024Object(__WEBPACK_IMPORTED_MODULE_6__libs_binder__["a" /* binder */])({ 4025 bounds: { 4026 "html": [__WEBPACK_IMPORTED_MODULE_7__modules_module__["a" /* constants */]], 4027 "select": __WEBPACK_IMPORTED_MODULE_8__modules_customSelect__["a" /* customSelect */], 4028 ".slider": [__WEBPACK_IMPORTED_MODULE_9__modules_serviceSlider__["a" /* serviceSlider */]], 4029 ".healthy-slider": [__WEBPACK_IMPORTED_MODULE_10__modules_healthySlider__["a" /* healthySlider */]],
4030 ".conversation-slider": [__WEBPACK_IMPORTED_MODULE_11__modules_conversationSlider__["a" /* conversationSlider */]], 4031 "[data-modal]": [__WEBPACK_IMPORTED_MODULE_12__modules_modals__["a" /* modals */]], 4032 ".has-dropdown": [__WEBPACK_IMPORTED_MODULE_13__modules_dropdowns__["a" /* dropdowns */]], 4033 ".articles-slider": __WEBPACK_IMPORTED_MODULE_14__modules_articlesSlider__["a" /* articlesSlider */], 4034 ".media-slider": __WEBPACK_IMPORTED_MODULE_15__modules_mediaSlider__["a" /* mediaSlider */], 4035 ".accordion": __WEBPACK_IMPORTED_MODULE_16__modules_accordion__["a" /* accordion */], 4036 ".get-care-slider": [__WEBPACK_IMPORTED_MODULE_17__modules_getCareSlider__["a" /* getCareSlider */]], 4037 ".filters-body": __WEBPACK_IMPORTED_MODULE_18__modules_filters__["a" /* filters */], 4038 ".tabs": __WEBPACK_IMPORTED_MODULE_19__modules_tabs__["a" /* tabs */], 4039 ".content-section": __WEBPACK_IMPORTED_MODULE_20__modules_scrollTo__["a" /* scrollTo */], 4040 ".locations": __WEBPACK_IMPORTED_MODULE_21__modules_doctorProfileMap__["a" /* doctorProfileMap */], 4041 ".sticky-social-networks": __WEBPACK_IMPORTED_MODULE_22__modules_socialListSticky__["a" /* socialListSticky */], 4042 ".events-slider": __WEBPACK_IMPORTED_MODULE_23__modules_eventsSlider__["a" /* eventsSlider */], 4043 ".media-section": __WEBPACK_IMPORTED_MODULE_24__modules_mediaSliderMobile__["a" /* mediaSliderMobile */], 4044 ".slider-modal-wrapper": [__WEBPACK_IMPORTED_MODULE_25__modules_modalSlider__["a" /* modalSlider */]], 4045 ".input-wrapper-search, .input-wrapper-search-pop-up": [__WEBPACK_IMPORTED_MODULE_26__modules_autocomplete__["a" /* autocomplete */]], 4046 ".filtering": [__WEBPACK_IMPORTED_MODULE_27__modules_asideFilter__["a" /* asideFilter */]], 4047 "#location-map-holder": __WEBPACK_IMPORTED_MODULE_28__modules_locationsMap__["a" /* locationsMap */], 4048 ".hero-section": __WEBPACK_IMPORTED_MODULE_29__modules_hero_video__["a" /* heroVideo */], 4049 ".content": __WEBPACK_IMPORTED_MODULE_30__modules_addIframeWrap__["a" /* addIframeWrap */], 4050 ".sticky-element": __WEBPACK_IMPORTED_MODULE_31__modules_stickyElement__["a" /* setStickyElement */], 4051 ".disclaimer-modal": __WEBPACK_IMPORTED_MODULE_32__modules_disclaimerCookies__["a" /* disclaimerCookies */], 4052 ".faq-box": __WEBPACK_IMPORTED_MODULE_33__modules_faqShowMore__["a" /* faqShowMore */], 4053 ".patient-stories-slider": __WEBPACK_IMPORTED_MODULE_34__modules_patientStoriesSlider__["a" /* patientStoriesSlider */], 4054 ".datepicker-range": __WEBPACK_IMPORTED_MODULE_35__modules_daterangeEvents__["a" /* daterangeEvents */], 4055 ".notification.cookies": __WEBPACK_IMPORTED_MODULE_36__modules_notificationCookies__["a" /* notificationCookies */], 4056 ".sidebar-nav": __WEBPACK_IMPORTED_MODULE_37__modules_asideNav__["a" /* asideNav */] 4057 }, 4058 runTests: false 4059}); 4060 4061/***/ }), 4062/* 132 */ 4063/***/ (function(module, exports, __webpack_require__) { 4064 4065"use strict"; 4066/* WEBPACK VAR INJECTION */(function(global) { 4067 4068__webpack_require__(133); 4069 4070__webpack_require__(330); 4071 4072__webpack_require__(331); 4073 4074if (global._babelPolyfill) { 4075 throw new Error("only one instance of babel-polyfill is allowed"); 4076} 4077global._babelPolyfill = true; 4078 4079var DEFINE_PROPERTY = "defineProperty"; 4080function define(O, key, value) { 4081 O[key] || Object[DEFINE_PROPERTY](O, key, { 4082 writable: true, 4083 configurable: true, 4084 value: value 4085 }); 4086} 4087 4088define(String.prototype, "padLeft", "".padStart); 4089define(String.prototype, "padRight", "".padEnd); 4090 4091"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function (key) { 4092 [][key] && define(Array, key, Function.call.bind([][key])); 4093}); 4094/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(94))) 4095 4096/***/ }), 4097/* 133 */ 4098/***/ (function(module, exports, __webpack_require__) { 4099 4100__webpack_require__(134); 4101__webpack_require__(137); 4102__webpack_require__(138); 4103__webpack_require__(139); 4104__webpack_require__(140); 4105__webpack_require__(141); 4106__webpack_require__(142); 4107__webpack_require__(143); 4108__webpack_require__(144); 4109__webpack_require__(145); 4110__webpack_require__(146); 4111__webpack_require__(147); 4112__webpack_require__(148); 4113__webpack_require__(149); 4114__webpack_require__(150); 4115__webpack_require__(151); 4116__webpack_require__(152); 4117__webpack_require__(153); 4118__webpack_require__(154); 4119__webpack_require__(155); 4120__webpack_require__(156); 4121__webpack_require__(157); 4122__webpack_require__(158); 4123__webpack_require__(159); 4124__webpack_require__(160); 4125__webpack_require__(161); 4126__webpack_require__(162); 4127__webpack_require__(163); 4128__webpack_require__(164); 4129__webpack_require__(165); 4130__webpack_require__(166); 4131__webpack_require__(167); 4132__webpack_require__(168); 4133__webpack_require__(169); 4134__webpack_require__(170); 4135__webpack_require__(171); 4136__webpack_require__(172); 4137__webpack_require__(173); 4138__webpack_require__(174); 4139__webpack_require__(175); 4140__webpack_require__(176); 4141__webpack_require__(177); 4142__webpack_require__(178); 4143__webpack_require__(179); 4144__webpack_require__(180); 4145__webpack_require__(181); 4146__webpack_require__(182); 4147__webpack_require__(183); 4148__webpack_require__(184); 4149__webpack_require__(185); 4150__webpack_require__(186); 4151__webpack_require__(187); 4152__webpack_require__(188); 4153__webpack_require__(189); 4154__webpack_require__(190); 4155__webpack_require__(191); 4156__webpack_require__(192); 4157__webpack_require__(193); 4158__webpack_require__(194); 4159__webpack_require__(195); 4160__webpack_require__(196); 4161__webpack_require__(197); 4162__webpack_require__(198); 4163__webpack_require__(199); 4164__webpack_require__(200); 4165__webpack_require__(201); 4166__webpack_require__(202); 4167__webpack_require__(203); 4168__webpack_require__(204); 4169__webpack_require__(205); 4170__webpack_require__(206); 4171__webpack_require__(207); 4172__webpack_require__(208); 4173__webpack_require__(209); 4174__webpack_require__(210); 4175__webpack_require__(211); 4176__webpack_require__(212); 4177__webpack_require__(214); 4178__webpack_require__(215); 4179__webpack_require__(217); 4180__webpack_require__(218); 4181__webpack_require__(219); 4182__webpack_require__(220); 4183__webpack_require__(221); 4184__webpack_require__(222); 4185__webpack_require__(223); 4186__webpack_require__(225); 4187__webpack_require__(226); 4188__webpack_require__(227); 4189__webpack_require__(228); 4190__webpack_require__(229); 4191__webpack_require__(230); 4192__webpack_require__(231); 4193__webpack_require__(232); 4194__webpack_require__(233); 4195__webpack_require__(234); 4196__webpack_require__(235); 4197__webpack_require__(236); 4198__webpack_require__(237); 4199__webpack_require__(87); 4200__webpack_require__(238); 4201__webpack_require__(114); 4202__webpack_require__(239); 4203__webpack_require__(115); 4204__webpack_require__(240); 4205__webpack_require__(241); 4206__webpack_require__(242); 4207__webpack_require__(243); 4208__webpack_require__(244); 4209__webpack_require__(118); 4210__webpack_require__(120); 4211__webpack_require__(121); 4212__webpack_require__(245); 4213__webpack_require__(246); 4214__webpack_require__(247); 4215__webpack_require__(248); 4216__webpack_require__(249); 4217__webpack_require__(250); 4218__webpack_require__(251); 4219__webpack_require__(252); 4220__webpack_require__(253); 4221__webpack_require__(254); 4222__webpack_require__(255); 4223__webpack_require__(256); 4224__webpack_require__(257); 4225__webpack_require__(258); 4226__webpack_require__(259); 4227__webpack_require__(260); 4228__webpack_require__(261); 4229__webpack_require__(262); 4230__webpack_require__(263); 4231__webpack_require__(264); 4232__webpack_require__(265); 4233__webpack_require__(266); 4234__webpack_require__(267); 4235__webpack_require__(268); 4236__webpack_require__(269); 4237__webpack_require__(270); 4238__webpack_require__(271); 4239__webpack_require__(272); 4240__webpack_require__(273); 4241__webpack_require__(274); 4242__webpack_require__(275); 4243__webpack_require__(276); 4244__webpack_require__(277); 4245__webpack_require__(278); 4246__webpack_require__(279); 4247__webpack_require__(280); 4248__webpack_require__(281); 4249__webpack_require__(282); 4250__webpack_require__(283); 4251__webpack_require__(284); 4252__webpack_require__(285); 4253__webpack_require__(286); 4254__webpack_require__(287); 4255__webpack_require__(288); 4256__webpack_require__(289);
vendor: 98,873 bytes, lines 4257-7666
4257__webpack_require__(290); 4258__webpack_require__(291); 4259__webpack_require__(292); 4260__webpack_require__(293); 4261__webpack_require__(294); 4262__webpack_require__(295); 4263__webpack_require__(296); 4264__webpack_require__(297); 4265__webpack_require__(298); 4266__webpack_require__(299); 4267__webpack_require__(300); 4268__webpack_require__(301); 4269__webpack_require__(302); 4270__webpack_require__(303); 4271__webpack_require__(304); 4272__webpack_require__(305); 4273__webpack_require__(306); 4274__webpack_require__(307); 4275__webpack_require__(308); 4276__webpack_require__(309); 4277__webpack_require__(310); 4278__webpack_require__(311); 4279__webpack_require__(312); 4280__webpack_require__(313); 4281__webpack_require__(314); 4282__webpack_require__(315); 4283__webpack_require__(316); 4284__webpack_require__(317); 4285__webpack_require__(318); 4286__webpack_require__(319); 4287__webpack_require__(320); 4288__webpack_require__(321); 4289__webpack_require__(322); 4290__webpack_require__(323); 4291__webpack_require__(324); 4292__webpack_require__(325); 4293__webpack_require__(326); 4294__webpack_require__(327); 4295__webpack_require__(328); 4296__webpack_require__(329); 4297module.exports = __webpack_require__(19); 4298 4299 4300/***/ }), 4301/* 134 */ 4302/***/ (function(module, exports, __webpack_require__) { 4303 4304"use strict"; 4305 4306// ECMAScript 6 symbols shim 4307var global = __webpack_require__(2); 4308var has = __webpack_require__(15); 4309var DESCRIPTORS = __webpack_require__(8); 4310var $export = __webpack_require__(0); 4311var redefine = __webpack_require__(13); 4312var META = __webpack_require__(31).KEY; 4313var $fails = __webpack_require__(4); 4314var shared = __webpack_require__(48); 4315var setToStringTag = __webpack_require__(44); 4316var uid = __webpack_require__(34); 4317var wks = __webpack_require__(6); 4318var wksExt = __webpack_require__(96); 4319var wksDefine = __webpack_require__(68); 4320var enumKeys = __webpack_require__(136); 4321var isArray = __webpack_require__(55); 4322var anObject = __webpack_require__(1); 4323var isObject = __webpack_require__(5); 4324var toObject = __webpack_require__(10); 4325var toIObject = __webpack_require__(16); 4326var toPrimitive = __webpack_require__(24); 4327var createDesc = __webpack_require__(33); 4328var _create = __webpack_require__(37); 4329var gOPNExt = __webpack_require__(99); 4330var $GOPD = __webpack_require__(17); 4331var $GOPS = __webpack_require__(54); 4332var $DP = __webpack_require__(9); 4333var $keys = __webpack_require__(35); 4334var gOPD = $GOPD.f; 4335var dP = $DP.f; 4336var gOPN = gOPNExt.f; 4337var $Symbol = global.Symbol; 4338var $JSON = global.JSON; 4339var _stringify = $JSON && $JSON.stringify; 4340var PROTOTYPE = 'prototype'; 4341var HIDDEN = wks('_hidden'); 4342var TO_PRIMITIVE = wks('toPrimitive'); 4343var isEnum = {}.propertyIsEnumerable; 4344var SymbolRegistry = shared('symbol-registry'); 4345var AllSymbols = shared('symbols'); 4346var OPSymbols = shared('op-symbols'); 4347var ObjectProto = Object[PROTOTYPE]; 4348var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; 4349var QObject = global.QObject; 4350// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 4351var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 4352 4353// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 4354var setSymbolDesc = DESCRIPTORS && $fails(function () { 4355 return _create(dP({}, 'a', { 4356 get: function () { return dP(this, 'a', { value: 7 }).a; } 4357 })).a != 7; 4358}) ? function (it, key, D) { 4359 var protoDesc = gOPD(ObjectProto, key); 4360 if (protoDesc) delete ObjectProto[key]; 4361 dP(it, key, D); 4362 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); 4363} : dP; 4364 4365var wrap = function (tag) { 4366 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); 4367 sym._k = tag; 4368 return sym; 4369}; 4370 4371var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { 4372 return typeof it == 'symbol'; 4373} : function (it) { 4374 return it instanceof $Symbol; 4375}; 4376 4377var $defineProperty = function defineProperty(it, key, D) { 4378 if (it === ObjectProto) $defineProperty(OPSymbols, key, D); 4379 anObject(it); 4380 key = toPrimitive(key, true); 4381 anObject(D); 4382 if (has(AllSymbols, key)) { 4383 if (!D.enumerable) { 4384 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); 4385 it[HIDDEN][key] = true; 4386 } else { 4387 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; 4388 D = _create(D, { enumerable: createDesc(0, false) }); 4389 } return setSymbolDesc(it, key, D); 4390 } return dP(it, key, D); 4391}; 4392var $defineProperties = function defineProperties(it, P) { 4393 anObject(it); 4394 var keys = enumKeys(P = toIObject(P)); 4395 var i = 0; 4396 var l = keys.length; 4397 var key; 4398 while (l > i) $defineProperty(it, key = keys[i++], P[key]); 4399 return it; 4400}; 4401var $create = function create(it, P) { 4402 return P === undefined ? _create(it) : $defineProperties(_create(it), P); 4403}; 4404var $propertyIsEnumerable = function propertyIsEnumerable(key) { 4405 var E = isEnum.call(this, key = toPrimitive(key, true)); 4406 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; 4407 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; 4408}; 4409var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { 4410 it = toIObject(it); 4411 key = toPrimitive(key, true); 4412 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; 4413 var D = gOPD(it, key); 4414 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; 4415 return D; 4416}; 4417var $getOwnPropertyNames = function getOwnPropertyNames(it) { 4418 var names = gOPN(toIObject(it)); 4419 var result = []; 4420 var i = 0; 4421 var key; 4422 while (names.length > i) { 4423 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); 4424 } return result; 4425}; 4426var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { 4427 var IS_OP = it === ObjectProto; 4428 var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); 4429 var result = []; 4430 var i = 0; 4431 var key; 4432 while (names.length > i) { 4433 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); 4434 } return result; 4435}; 4436 4437// 19.4.1.1 Symbol([description]) 4438if (!USE_NATIVE) { 4439 $Symbol = function Symbol() { 4440 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); 4441 var tag = uid(arguments.length > 0 ? arguments[0] : undefined); 4442 var $set = function (value) { 4443 if (this === ObjectProto) $set.call(OPSymbols, value); 4444 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; 4445 setSymbolDesc(this, tag, createDesc(1, value)); 4446 }; 4447 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); 4448 return wrap(tag); 4449 }; 4450 redefine($Symbol[PROTOTYPE], 'toString', function toString() { 4451 return this._k; 4452 }); 4453 4454 $GOPD.f = $getOwnPropertyDescriptor; 4455 $DP.f = $defineProperty; 4456 __webpack_require__(38).f = gOPNExt.f = $getOwnPropertyNames; 4457 __webpack_require__(50).f = $propertyIsEnumerable; 4458 $GOPS.f = $getOwnPropertySymbols; 4459 4460 if (DESCRIPTORS && !__webpack_require__(30)) { 4461 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); 4462 } 4463 4464 wksExt.f = function (name) { 4465 return wrap(wks(name)); 4466 }; 4467} 4468 4469$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); 4470 4471for (var es6Symbols = ( 4472 // 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 4473 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' 4474).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); 4475 4476for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); 4477 4478$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { 4479 // 19.4.2.1 Symbol.for(key) 4480 'for': function (key) { 4481 return has(SymbolRegistry, key += '') 4482 ? SymbolRegistry[key] 4483 : SymbolRegistry[key] = $Symbol(key); 4484 }, 4485 // 19.4.2.5 Symbol.keyFor(sym) 4486 keyFor: function keyFor(sym) { 4487 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); 4488 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; 4489 }, 4490 useSetter: function () { setter = true; }, 4491 useSimple: function () { setter = false; } 4492}); 4493 4494$export($export.S + $export.F * !USE_NATIVE, 'Object', { 4495 // 19.1.2.2 Object.create(O [, Properties]) 4496 create: $create, 4497 // 19.1.2.4 Object.defineProperty(O, P, Attributes) 4498 defineProperty: $defineProperty, 4499 // 19.1.2.3 Object.defineProperties(O, Properties) 4500 defineProperties: $defineProperties, 4501 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 4502 getOwnPropertyDescriptor: $getOwnPropertyDescriptor, 4503 // 19.1.2.7 Object.getOwnPropertyNames(O) 4504 getOwnPropertyNames: $getOwnPropertyNames, 4505 // 19.1.2.8 Object.getOwnPropertySymbols(O) 4506 getOwnPropertySymbols: $getOwnPropertySymbols 4507}); 4508 4509// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 4510// https://bugs.chromium.org/p/v8/issues/detail?id=3443 4511var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); 4512 4513$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { 4514 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 4515 return $GOPS.f(toObject(it)); 4516 } 4517}); 4518 4519// 24.3.2 JSON.stringify(value [, replacer [, space]]) 4520$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { 4521 var S = $Symbol(); 4522 // MS Edge converts symbol values to JSON as {} 4523 // WebKit converts symbol values to JSON as null 4524 // V8 throws on boxed symbols 4525 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; 4526})), 'JSON', { 4527 stringify: function stringify(it) { 4528 var args = [it]; 4529 var i = 1; 4530 var replacer, $replacer; 4531 while (arguments.length > i) args.push(arguments[i++]); 4532 $replacer = replacer = args[1]; 4533 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined 4534 if (!isArray(replacer)) replacer = function (key, value) { 4535 if (typeof $replacer == 'function') value = $replacer.call(this, key, value); 4536 if (!isSymbol(value)) return value; 4537 }; 4538 args[1] = replacer; 4539 return _stringify.apply($JSON, args); 4540 } 4541}); 4542 4543// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) 4544$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(12)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); 4545// 19.4.3.5 Symbol.prototype[@@toStringTag] 4546setToStringTag($Symbol, 'Symbol'); 4547// 20.2.1.9 Math[@@toStringTag] 4548setToStringTag(Math, 'Math', true); 4549// 24.3.3 JSON[@@toStringTag] 4550setToStringTag(global.JSON, 'JSON', true); 4551 4552 4553/***/ }), 4554/* 135 */ 4555/***/ (function(module, exports, __webpack_require__) { 4556 4557module.exports = __webpack_require__(48)('native-function-to-string', Function.toString); 4558 4559 4560/***/ }), 4561/* 136 */ 4562/***/ (function(module, exports, __webpack_require__) { 4563 4564// all enumerable object keys, includes symbols 4565var getKeys = __webpack_require__(35); 4566var gOPS = __webpack_require__(54); 4567var pIE = __webpack_require__(50); 4568module.exports = function (it) { 4569 var result = getKeys(it); 4570 var getSymbols = gOPS.f; 4571 if (getSymbols) { 4572 var symbols = getSymbols(it); 4573 var isEnum = pIE.f; 4574 var i = 0; 4575 var key; 4576 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); 4577 } return result; 4578}; 4579 4580 4581/***/ }), 4582/* 137 */ 4583/***/ (function(module, exports, __webpack_require__) { 4584 4585var $export = __webpack_require__(0); 4586// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 4587$export($export.S, 'Object', { create: __webpack_require__(37) }); 4588 4589 4590/***/ }), 4591/* 138 */ 4592/***/ (function(module, exports, __webpack_require__) { 4593 4594var $export = __webpack_require__(0); 4595// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) 4596$export($export.S + $export.F * !__webpack_require__(8), 'Object', { defineProperty: __webpack_require__(9).f }); 4597 4598 4599/***/ }), 4600/* 139 */ 4601/***/ (function(module, exports, __webpack_require__) { 4602 4603var $export = __webpack_require__(0); 4604// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) 4605$export($export.S + $export.F * !__webpack_require__(8), 'Object', { defineProperties: __webpack_require__(98) }); 4606 4607 4608/***/ }), 4609/* 140 */ 4610/***/ (function(module, exports, __webpack_require__) { 4611 4612// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 4613var toIObject = __webpack_require__(16); 4614var $getOwnPropertyDescriptor = __webpack_require__(17).f; 4615 4616__webpack_require__(26)('getOwnPropertyDescriptor', function () { 4617 return function getOwnPropertyDescriptor(it, key) { 4618 return $getOwnPropertyDescriptor(toIObject(it), key); 4619 }; 4620}); 4621 4622 4623/***/ }), 4624/* 141 */ 4625/***/ (function(module, exports, __webpack_require__) { 4626 4627// 19.1.2.9 Object.getPrototypeOf(O) 4628var toObject = __webpack_require__(10); 4629var $getPrototypeOf = __webpack_require__(18); 4630 4631__webpack_require__(26)('getPrototypeOf', function () { 4632 return function getPrototypeOf(it) { 4633 return $getPrototypeOf(toObject(it)); 4634 }; 4635}); 4636 4637 4638/***/ }), 4639/* 142 */ 4640/***/ (function(module, exports, __webpack_require__) { 4641 4642// 19.1.2.14 Object.keys(O) 4643var toObject = __webpack_require__(10); 4644var $keys = __webpack_require__(35); 4645 4646__webpack_require__(26)('keys', function () { 4647 return function keys(it) { 4648 return $keys(toObject(it)); 4649 }; 4650}); 4651 4652 4653/***/ }), 4654/* 143 */ 4655/***/ (function(module, exports, __webpack_require__) { 4656 4657// 19.1.2.7 Object.getOwnPropertyNames(O) 4658__webpack_require__(26)('getOwnPropertyNames', function () { 4659 return __webpack_require__(99).f; 4660}); 4661 4662 4663/***/ }), 4664/* 144 */ 4665/***/ (function(module, exports, __webpack_require__) { 4666 4667// 19.1.2.5 Object.freeze(O) 4668var isObject = __webpack_require__(5); 4669var meta = __webpack_require__(31).onFreeze; 4670 4671__webpack_require__(26)('freeze', function ($freeze) { 4672 return function freeze(it) { 4673 return $freeze && isObject(it) ? $freeze(meta(it)) : it; 4674 }; 4675}); 4676 4677 4678/***/ }), 4679/* 145 */ 4680/***/ (function(module, exports, __webpack_require__) { 4681 4682// 19.1.2.17 Object.seal(O) 4683var isObject = __webpack_require__(5); 4684var meta = __webpack_require__(31).onFreeze; 4685 4686__webpack_require__(26)('seal', function ($seal) { 4687 return function seal(it) { 4688 return $seal && isObject(it) ? $seal(meta(it)) : it; 4689 }; 4690}); 4691 4692 4693/***/ }), 4694/* 146 */ 4695/***/ (function(module, exports, __webpack_require__) { 4696 4697// 19.1.2.15 Object.preventExtensions(O) 4698var isObject = __webpack_require__(5); 4699var meta = __webpack_require__(31).onFreeze; 4700 4701__webpack_require__(26)('preventExtensions', function ($preventExtensions) { 4702 return function preventExtensions(it) { 4703 return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; 4704 }; 4705}); 4706 4707 4708/***/ }), 4709/* 147 */ 4710/***/ (function(module, exports, __webpack_require__) { 4711 4712// 19.1.2.12 Object.isFrozen(O) 4713var isObject = __webpack_require__(5); 4714 4715__webpack_require__(26)('isFrozen', function ($isFrozen) { 4716 return function isFrozen(it) { 4717 return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; 4718 }; 4719}); 4720 4721 4722/***/ }), 4723/* 148 */ 4724/***/ (function(module, exports, __webpack_require__) { 4725 4726// 19.1.2.13 Object.isSealed(O) 4727var isObject = __webpack_require__(5); 4728 4729__webpack_require__(26)('isSealed', function ($isSealed) { 4730 return function isSealed(it) { 4731 return isObject(it) ? $isSealed ? $isSealed(it) : false : true; 4732 }; 4733}); 4734 4735 4736/***/ }), 4737/* 149 */ 4738/***/ (function(module, exports, __webpack_require__) { 4739 4740// 19.1.2.11 Object.isExtensible(O) 4741var isObject = __webpack_require__(5); 4742 4743__webpack_require__(26)('isExtensible', function ($isExtensible) { 4744 return function isExtensible(it) { 4745 return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; 4746 }; 4747}); 4748 4749 4750/***/ }), 4751/* 150 */ 4752/***/ (function(module, exports, __webpack_require__) { 4753 4754// 19.1.3.1 Object.assign(target, source) 4755var $export = __webpack_require__(0); 4756 4757$export($export.S + $export.F, 'Object', { assign: __webpack_require__(100) }); 4758 4759 4760/***/ }), 4761/* 151 */ 4762/***/ (function(module, exports, __webpack_require__) { 4763 4764// 19.1.3.10 Object.is(value1, value2) 4765var $export = __webpack_require__(0); 4766$export($export.S, 'Object', { is: __webpack_require__(101) }); 4767 4768 4769/***/ }), 4770/* 152 */ 4771/***/ (function(module, exports, __webpack_require__) { 4772 4773// 19.1.3.19 Object.setPrototypeOf(O, proto) 4774var $export = __webpack_require__(0); 4775$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(72).set }); 4776 4777 4778/***/ }), 4779/* 153 */ 4780/***/ (function(module, exports, __webpack_require__) { 4781 4782"use strict"; 4783 4784// 19.1.3.6 Object.prototype.toString() 4785var classof = __webpack_require__(45); 4786var test = {}; 4787test[__webpack_require__(6)('toStringTag')] = 'z'; 4788if (test + '' != '[object z]') { 4789 __webpack_require__(13)(Object.prototype, 'toString', function toString() { 4790 return '[object ' + classof(this) + ']'; 4791 }, true); 4792} 4793 4794 4795/***/ }), 4796/* 154 */ 4797/***/ (function(module, exports, __webpack_require__) { 4798 4799// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) 4800var $export = __webpack_require__(0); 4801 4802$export($export.P, 'Function', { bind: __webpack_require__(102) }); 4803 4804 4805/***/ }), 4806/* 155 */ 4807/***/ (function(module, exports, __webpack_require__) { 4808 4809var dP = __webpack_require__(9).f; 4810var FProto = Function.prototype; 4811var nameRE = /^\s*function ([^ (]*)/; 4812var NAME = 'name'; 4813 4814// 19.2.4.2 name 4815NAME in FProto || __webpack_require__(8) && dP(FProto, NAME, { 4816 configurable: true, 4817 get: function () { 4818 try { 4819 return ('' + this).match(nameRE)[1]; 4820 } catch (e) { 4821 return ''; 4822 } 4823 } 4824}); 4825 4826 4827/***/ }), 4828/* 156 */ 4829/***/ (function(module, exports, __webpack_require__) { 4830 4831"use strict"; 4832 4833var isObject = __webpack_require__(5); 4834var getPrototypeOf = __webpack_require__(18); 4835var HAS_INSTANCE = __webpack_require__(6)('hasInstance'); 4836var FunctionProto = Function.prototype; 4837// 19.2.3.6 Function.prototype[@@hasInstance](V) 4838if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(9).f(FunctionProto, HAS_INSTANCE, { value: function (O) { 4839 if (typeof this != 'function' || !isObject(O)) return false; 4840 if (!isObject(this.prototype)) return O instanceof this; 4841 // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: 4842 while (O = getPrototypeOf(O)) if (this.prototype === O) return true; 4843 return false; 4844} }); 4845 4846 4847/***/ }), 4848/* 157 */ 4849/***/ (function(module, exports, __webpack_require__) { 4850 4851var $export = __webpack_require__(0); 4852var $parseInt = __webpack_require__(104); 4853// 18.2.5 parseInt(string, radix) 4854$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); 4855 4856 4857/***/ }), 4858/* 158 */ 4859/***/ (function(module, exports, __webpack_require__) { 4860 4861var $export = __webpack_require__(0); 4862var $parseFloat = __webpack_require__(105); 4863// 18.2.4 parseFloat(string) 4864$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); 4865 4866 4867/***/ }), 4868/* 159 */ 4869/***/ (function(module, exports, __webpack_require__) { 4870 4871"use strict"; 4872 4873var global = __webpack_require__(2); 4874var has = __webpack_require__(15); 4875var cof = __webpack_require__(21); 4876var inheritIfRequired = __webpack_require__(74); 4877var toPrimitive = __webpack_require__(24); 4878var fails = __webpack_require__(4); 4879var gOPN = __webpack_require__(38).f; 4880var gOPD = __webpack_require__(17).f; 4881var dP = __webpack_require__(9).f; 4882var $trim = __webpack_require__(46).trim; 4883var NUMBER = 'Number'; 4884var $Number = global[NUMBER]; 4885var Base = $Number; 4886var proto = $Number.prototype; 4887// Opera ~12 has broken Object#toString 4888var BROKEN_COF = cof(__webpack_require__(37)(proto)) == NUMBER; 4889var TRIM = 'trim' in String.prototype; 4890 4891// 7.1.3 ToNumber(argument) 4892var toNumber = function (argument) { 4893 var it = toPrimitive(argument, false); 4894 if (typeof it == 'string' && it.length > 2) { 4895 it = TRIM ? it.trim() : $trim(it, 3); 4896 var first = it.charCodeAt(0); 4897 var third, radix, maxCode; 4898 if (first === 43 || first === 45) { 4899 third = it.charCodeAt(2); 4900 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix 4901 } else if (first === 48) { 4902 switch (it.charCodeAt(1)) { 4903 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i 4904 case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i 4905 default: return +it; 4906 } 4907 for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { 4908 code = digits.charCodeAt(i); 4909 // parseInt parses a string to a first unavailable symbol 4910 // but ToNumber should return NaN if a string contains unavailable symbols 4911 if (code < 48 || code > maxCode) return NaN; 4912 } return parseInt(digits, radix); 4913 } 4914 } return +it; 4915}; 4916 4917if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { 4918 $Number = function Number(value) { 4919 var it = arguments.length < 1 ? 0 : value; 4920 var that = this; 4921 return that instanceof $Number 4922 // check on 1..constructor(foo) case 4923 && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) 4924 ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); 4925 }; 4926 for (var keys = __webpack_require__(8) ? gOPN(Base) : ( 4927 // ES3: 4928 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 4929 // ES6 (in case, if modules with ES6 Number statics required before): 4930 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 4931 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' 4932 ).split(','), j = 0, key; keys.length > j; j++) { 4933 if (has(Base, key = keys[j]) && !has($Number, key)) { 4934 dP($Number, key, gOPD(Base, key)); 4935 } 4936 } 4937 $Number.prototype = proto; 4938 proto.constructor = $Number; 4939 __webpack_require__(13)(global, NUMBER, $Number); 4940} 4941 4942 4943/***/ }), 4944/* 160 */ 4945/***/ (function(module, exports, __webpack_require__) { 4946 4947"use strict"; 4948 4949var $export = __webpack_require__(0); 4950var toInteger = __webpack_require__(22); 4951var aNumberValue = __webpack_require__(106); 4952var repeat = __webpack_require__(75); 4953var $toFixed = 1.0.toFixed; 4954var floor = Math.floor; 4955var data = [0, 0, 0, 0, 0, 0]; 4956var ERROR = 'Number.toFixed: incorrect invocation!'; 4957var ZERO = '0'; 4958 4959var multiply = function (n, c) { 4960 var i = -1; 4961 var c2 = c; 4962 while (++i < 6) { 4963 c2 += n * data[i]; 4964 data[i] = c2 % 1e7; 4965 c2 = floor(c2 / 1e7); 4966 } 4967}; 4968var divide = function (n) { 4969 var i = 6; 4970 var c = 0; 4971 while (--i >= 0) { 4972 c += data[i]; 4973 data[i] = floor(c / n); 4974 c = (c % n) * 1e7; 4975 } 4976}; 4977var numToString = function () { 4978 var i = 6; 4979 var s = ''; 4980 while (--i >= 0) { 4981 if (s !== '' || i === 0 || data[i] !== 0) { 4982 var t = String(data[i]); 4983 s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; 4984 } 4985 } return s; 4986}; 4987var pow = function (x, n, acc) { 4988 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); 4989}; 4990var log = function (x) { 4991 var n = 0; 4992 var x2 = x; 4993 while (x2 >= 4096) { 4994 n += 12; 4995 x2 /= 4096; 4996 } 4997 while (x2 >= 2) { 4998 n += 1; 4999 x2 /= 2; 5000 } return n; 5001}; 5002 5003$export($export.P + $export.F * (!!$toFixed && ( 5004 0.00008.toFixed(3) !== '0.000' || 5005 0.9.toFixed(0) !== '1' || 5006 1.255.toFixed(2) !== '1.25' || 5007 1000000000000000128.0.toFixed(0) !== '1000000000000000128' 5008) || !__webpack_require__(4)(function () { 5009 // V8 ~ Android 4.3- 5010 $toFixed.call({}); 5011})), 'Number', { 5012 toFixed: function toFixed(fractionDigits) { 5013 var x = aNumberValue(this, ERROR); 5014 var f = toInteger(fractionDigits); 5015 var s = ''; 5016 var m = ZERO; 5017 var e, z, j, k; 5018 if (f < 0 || f > 20) throw RangeError(ERROR); 5019 // eslint-disable-next-line no-self-compare 5020 if (x != x) return 'NaN'; 5021 if (x <= -1e21 || x >= 1e21) return String(x); 5022 if (x < 0) { 5023 s = '-'; 5024 x = -x; 5025 } 5026 if (x > 1e-21) { 5027 e = log(x * pow(2, 69, 1)) - 69; 5028 z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); 5029 z *= 0x10000000000000; 5030 e = 52 - e; 5031 if (e > 0) { 5032 multiply(0, z); 5033 j = f; 5034 while (j >= 7) { 5035 multiply(1e7, 0); 5036 j -= 7; 5037 } 5038 multiply(pow(10, j, 1), 0); 5039 j = e - 1; 5040 while (j >= 23) { 5041 divide(1 << 23); 5042 j -= 23; 5043 } 5044 divide(1 << j); 5045 multiply(1, 1); 5046 divide(2); 5047 m = numToString(); 5048 } else { 5049 multiply(0, z); 5050 multiply(1 << -e, 0); 5051 m = numToString() + repeat.call(ZERO, f); 5052 } 5053 } 5054 if (f > 0) { 5055 k = m.length; 5056 m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); 5057 } else { 5058 m = s + m; 5059 } return m; 5060 } 5061}); 5062 5063 5064/***/ }), 5065/* 161 */ 5066/***/ (function(module, exports, __webpack_require__) { 5067 5068"use strict"; 5069 5070var $export = __webpack_require__(0); 5071var $fails = __webpack_require__(4); 5072var aNumberValue = __webpack_require__(106); 5073var $toPrecision = 1.0.toPrecision; 5074 5075$export($export.P + $export.F * ($fails(function () { 5076 // IE7- 5077 return $toPrecision.call(1, undefined) !== '1'; 5078}) || !$fails(function () { 5079 // V8 ~ Android 4.3- 5080 $toPrecision.call({}); 5081})), 'Number', { 5082 toPrecision: function toPrecision(precision) { 5083 var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); 5084 return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); 5085 } 5086}); 5087 5088 5089/***/ }), 5090/* 162 */ 5091/***/ (function(module, exports, __webpack_require__) { 5092 5093// 20.1.2.1 Number.EPSILON 5094var $export = __webpack_require__(0); 5095 5096$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); 5097 5098 5099/***/ }), 5100/* 163 */ 5101/***/ (function(module, exports, __webpack_require__) { 5102 5103// 20.1.2.2 Number.isFinite(number) 5104var $export = __webpack_require__(0); 5105var _isFinite = __webpack_require__(2).isFinite; 5106 5107$export($export.S, 'Number', { 5108 isFinite: function isFinite(it) { 5109 return typeof it == 'number' && _isFinite(it); 5110 } 5111}); 5112 5113 5114/***/ }), 5115/* 164 */ 5116/***/ (function(module, exports, __webpack_require__) { 5117 5118// 20.1.2.3 Number.isInteger(number) 5119var $export = __webpack_require__(0); 5120 5121$export($export.S, 'Number', { isInteger: __webpack_require__(107) }); 5122 5123 5124/***/ }), 5125/* 165 */ 5126/***/ (function(module, exports, __webpack_require__) { 5127 5128// 20.1.2.4 Number.isNaN(number) 5129var $export = __webpack_require__(0); 5130 5131$export($export.S, 'Number', { 5132 isNaN: function isNaN(number) { 5133 // eslint-disable-next-line no-self-compare 5134 return number != number; 5135 } 5136}); 5137 5138 5139/***/ }), 5140/* 166 */ 5141/***/ (function(module, exports, __webpack_require__) { 5142 5143// 20.1.2.5 Number.isSafeInteger(number) 5144var $export = __webpack_require__(0); 5145var isInteger = __webpack_require__(107); 5146var abs = Math.abs; 5147 5148$export($export.S, 'Number', { 5149 isSafeInteger: function isSafeInteger(number) { 5150 return isInteger(number) && abs(number) <= 0x1fffffffffffff; 5151 } 5152}); 5153 5154 5155/***/ }), 5156/* 167 */ 5157/***/ (function(module, exports, __webpack_require__) { 5158 5159// 20.1.2.6 Number.MAX_SAFE_INTEGER 5160var $export = __webpack_require__(0); 5161 5162$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); 5163 5164 5165/***/ }), 5166/* 168 */ 5167/***/ (function(module, exports, __webpack_require__) { 5168 5169// 20.1.2.10 Number.MIN_SAFE_INTEGER 5170var $export = __webpack_require__(0); 5171 5172$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); 5173 5174 5175/***/ }), 5176/* 169 */ 5177/***/ (function(module, exports, __webpack_require__) { 5178 5179var $export = __webpack_require__(0); 5180var $parseFloat = __webpack_require__(105); 5181// 20.1.2.12 Number.parseFloat(string) 5182$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); 5183 5184 5185/***/ }), 5186/* 170 */ 5187/***/ (function(module, exports, __webpack_require__) { 5188 5189var $export = __webpack_require__(0); 5190var $parseInt = __webpack_require__(104); 5191// 20.1.2.13 Number.parseInt(string, radix) 5192$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); 5193 5194 5195/***/ }), 5196/* 171 */ 5197/***/ (function(module, exports, __webpack_require__) { 5198 5199// 20.2.2.3 Math.acosh(x) 5200var $export = __webpack_require__(0); 5201var log1p = __webpack_require__(108); 5202var sqrt = Math.sqrt; 5203var $acosh = Math.acosh; 5204 5205$export($export.S + $export.F * !($acosh 5206 // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 5207 && Math.floor($acosh(Number.MAX_VALUE)) == 710 5208 // Tor Browser bug: Math.acosh(Infinity) -> NaN 5209 && $acosh(Infinity) == Infinity 5210), 'Math', { 5211 acosh: function acosh(x) { 5212 return (x = +x) < 1 ? NaN : x > 94906265.62425156 5213 ? Math.log(x) + Math.LN2 5214 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); 5215 } 5216}); 5217 5218 5219/***/ }), 5220/* 172 */ 5221/***/ (function(module, exports, __webpack_require__) { 5222 5223// 20.2.2.5 Math.asinh(x) 5224var $export = __webpack_require__(0); 5225var $asinh = Math.asinh; 5226 5227function asinh(x) { 5228 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); 5229} 5230 5231// Tor Browser bug: Math.asinh(0) -> -0 5232$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); 5233 5234 5235/***/ }), 5236/* 173 */ 5237/***/ (function(module, exports, __webpack_require__) { 5238 5239// 20.2.2.7 Math.atanh(x) 5240var $export = __webpack_require__(0); 5241var $atanh = Math.atanh; 5242 5243// Tor Browser bug: Math.atanh(-0) -> 0 5244$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { 5245 atanh: function atanh(x) { 5246 return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; 5247 } 5248}); 5249 5250 5251/***/ }), 5252/* 174 */ 5253/***/ (function(module, exports, __webpack_require__) { 5254 5255// 20.2.2.9 Math.cbrt(x) 5256var $export = __webpack_require__(0); 5257var sign = __webpack_require__(76); 5258 5259$export($export.S, 'Math', { 5260 cbrt: function cbrt(x) { 5261 return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); 5262 } 5263}); 5264 5265 5266/***/ }), 5267/* 175 */ 5268/***/ (function(module, exports, __webpack_require__) { 5269 5270// 20.2.2.11 Math.clz32(x) 5271var $export = __webpack_require__(0); 5272 5273$export($export.S, 'Math', { 5274 clz32: function clz32(x) { 5275 return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; 5276 } 5277}); 5278 5279 5280/***/ }), 5281/* 176 */ 5282/***/ (function(module, exports, __webpack_require__) { 5283 5284// 20.2.2.12 Math.cosh(x) 5285var $export = __webpack_require__(0); 5286var exp = Math.exp; 5287 5288$export($export.S, 'Math', { 5289 cosh: function cosh(x) { 5290 return (exp(x = +x) + exp(-x)) / 2; 5291 } 5292}); 5293 5294 5295/***/ }), 5296/* 177 */ 5297/***/ (function(module, exports, __webpack_require__) { 5298 5299// 20.2.2.14 Math.expm1(x) 5300var $export = __webpack_require__(0); 5301var $expm1 = __webpack_require__(77); 5302 5303$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); 5304 5305 5306/***/ }), 5307/* 178 */ 5308/***/ (function(module, exports, __webpack_require__) { 5309 5310// 20.2.2.16 Math.fround(x) 5311var $export = __webpack_require__(0); 5312 5313$export($export.S, 'Math', { fround: __webpack_require__(109) }); 5314 5315 5316/***/ }), 5317/* 179 */ 5318/***/ (function(module, exports, __webpack_require__) { 5319 5320// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) 5321var $export = __webpack_require__(0); 5322var abs = Math.abs; 5323 5324$export($export.S, 'Math', { 5325 hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars 5326 var sum = 0; 5327 var i = 0; 5328 var aLen = arguments.length; 5329 var larg = 0; 5330 var arg, div; 5331 while (i < aLen) { 5332 arg = abs(arguments[i++]); 5333 if (larg < arg) { 5334 div = larg / arg; 5335 sum = sum * div * div + 1; 5336 larg = arg; 5337 } else if (arg > 0) { 5338 div = arg / larg; 5339 sum += div * div; 5340 } else sum += arg; 5341 } 5342 return larg === Infinity ? Infinity : larg * Math.sqrt(sum); 5343 } 5344}); 5345 5346 5347/***/ }), 5348/* 180 */ 5349/***/ (function(module, exports, __webpack_require__) { 5350 5351// 20.2.2.18 Math.imul(x, y) 5352var $export = __webpack_require__(0); 5353var $imul = Math.imul; 5354 5355// some WebKit versions fails with big numbers, some has wrong arity 5356$export($export.S + $export.F * __webpack_require__(4)(function () { 5357 return $imul(0xffffffff, 5) != -5 || $imul.length != 2; 5358}), 'Math', { 5359 imul: function imul(x, y) { 5360 var UINT16 = 0xffff; 5361 var xn = +x; 5362 var yn = +y; 5363 var xl = UINT16 & xn; 5364 var yl = UINT16 & yn; 5365 return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); 5366 } 5367}); 5368 5369 5370/***/ }), 5371/* 181 */ 5372/***/ (function(module, exports, __webpack_require__) { 5373 5374// 20.2.2.21 Math.log10(x) 5375var $export = __webpack_require__(0); 5376 5377$export($export.S, 'Math', { 5378 log10: function log10(x) { 5379 return Math.log(x) * Math.LOG10E; 5380 } 5381}); 5382 5383 5384/***/ }), 5385/* 182 */ 5386/***/ (function(module, exports, __webpack_require__) { 5387 5388// 20.2.2.20 Math.log1p(x) 5389var $export = __webpack_require__(0); 5390 5391$export($export.S, 'Math', { log1p: __webpack_require__(108) }); 5392 5393 5394/***/ }), 5395/* 183 */ 5396/***/ (function(module, exports, __webpack_require__) { 5397 5398// 20.2.2.22 Math.log2(x) 5399var $export = __webpack_require__(0); 5400 5401$export($export.S, 'Math', { 5402 log2: function log2(x) { 5403 return Math.log(x) / Math.LN2; 5404 } 5405}); 5406 5407 5408/***/ }), 5409/* 184 */ 5410/***/ (function(module, exports, __webpack_require__) { 5411 5412// 20.2.2.28 Math.sign(x) 5413var $export = __webpack_require__(0); 5414 5415$export($export.S, 'Math', { sign: __webpack_require__(76) }); 5416 5417 5418/***/ }), 5419/* 185 */ 5420/***/ (function(module, exports, __webpack_require__) { 5421 5422// 20.2.2.30 Math.sinh(x) 5423var $export = __webpack_require__(0); 5424var expm1 = __webpack_require__(77); 5425var exp = Math.exp; 5426 5427// V8 near Chromium 38 has a problem with very small numbers 5428$export($export.S + $export.F * __webpack_require__(4)(function () { 5429 return !Math.sinh(-2e-17) != -2e-17; 5430}), 'Math', { 5431 sinh: function sinh(x) { 5432 return Math.abs(x = +x) < 1 5433 ? (expm1(x) - expm1(-x)) / 2 5434 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); 5435 } 5436}); 5437 5438 5439/***/ }), 5440/* 186 */ 5441/***/ (function(module, exports, __webpack_require__) { 5442 5443// 20.2.2.33 Math.tanh(x) 5444var $export = __webpack_require__(0); 5445var expm1 = __webpack_require__(77); 5446var exp = Math.exp; 5447 5448$export($export.S, 'Math', { 5449 tanh: function tanh(x) { 5450 var a = expm1(x = +x); 5451 var b = expm1(-x); 5452 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); 5453 } 5454}); 5455 5456 5457/***/ }), 5458/* 187 */ 5459/***/ (function(module, exports, __webpack_require__) { 5460 5461// 20.2.2.34 Math.trunc(x) 5462var $export = __webpack_require__(0); 5463 5464$export($export.S, 'Math', { 5465 trunc: function trunc(it) { 5466 return (it > 0 ? Math.floor : Math.ceil)(it); 5467 } 5468}); 5469 5470 5471/***/ }), 5472/* 188 */ 5473/***/ (function(module, exports, __webpack_require__) { 5474 5475var $export = __webpack_require__(0); 5476var toAbsoluteIndex = __webpack_require__(36); 5477var fromCharCode = String.fromCharCode; 5478var $fromCodePoint = String.fromCodePoint; 5479 5480// length should be 1, old FF problem 5481$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { 5482 // 21.1.2.2 String.fromCodePoint(...codePoints) 5483 fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars 5484 var res = []; 5485 var aLen = arguments.length; 5486 var i = 0; 5487 var code; 5488 while (aLen > i) { 5489 code = +arguments[i++]; 5490 if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); 5491 res.push(code < 0x10000 5492 ? fromCharCode(code) 5493 : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) 5494 ); 5495 } return res.join(''); 5496 } 5497}); 5498 5499 5500/***/ }), 5501/* 189 */ 5502/***/ (function(module, exports, __webpack_require__) { 5503 5504var $export = __webpack_require__(0); 5505var toIObject = __webpack_require__(16); 5506var toLength = __webpack_require__(7); 5507 5508$export($export.S, 'String', { 5509 // 21.1.2.4 String.raw(callSite, ...substitutions) 5510 raw: function raw(callSite) { 5511 var tpl = toIObject(callSite.raw); 5512 var len = toLength(tpl.length); 5513 var aLen = arguments.length; 5514 var res = []; 5515 var i = 0; 5516 while (len > i) { 5517 res.push(String(tpl[i++])); 5518 if (i < aLen) res.push(String(arguments[i])); 5519 } return res.join(''); 5520 } 5521}); 5522 5523 5524/***/ }), 5525/* 190 */ 5526/***/ (function(module, exports, __webpack_require__) { 5527 5528"use strict"; 5529 5530// 21.1.3.25 String.prototype.trim() 5531__webpack_require__(46)('trim', function ($trim) { 5532 return function trim() { 5533 return $trim(this, 3); 5534 }; 5535}); 5536 5537 5538/***/ }), 5539/* 191 */ 5540/***/ (function(module, exports, __webpack_require__) { 5541 5542"use strict"; 5543 5544var $at = __webpack_require__(56)(true); 5545 5546// 21.1.3.27 String.prototype[@@iterator]() 5547__webpack_require__(78)(String, 'String', function (iterated) { 5548 this._t = String(iterated); // target 5549 this._i = 0; // next index 5550// 21.1.5.2.1 %StringIteratorPrototype%.next() 5551}, function () { 5552 var O = this._t; 5553 var index = this._i; 5554 var point; 5555 if (index >= O.length) return { value: undefined, done: true }; 5556 point = $at(O, index); 5557 this._i += point.length; 5558 return { value: point, done: false }; 5559}); 5560 5561 5562/***/ }), 5563/* 192 */ 5564/***/ (function(module, exports, __webpack_require__) { 5565 5566"use strict"; 5567 5568var $export = __webpack_require__(0); 5569var $at = __webpack_require__(56)(false); 5570$export($export.P, 'String', { 5571 // 21.1.3.3 String.prototype.codePointAt(pos) 5572 codePointAt: function codePointAt(pos) { 5573 return $at(this, pos); 5574 } 5575}); 5576 5577 5578/***/ }), 5579/* 193 */ 5580/***/ (function(module, exports, __webpack_require__) { 5581 5582"use strict"; 5583// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 5584 5585var $export = __webpack_require__(0); 5586var toLength = __webpack_require__(7); 5587var context = __webpack_require__(80); 5588var ENDS_WITH = 'endsWith'; 5589var $endsWith = ''[ENDS_WITH]; 5590 5591$export($export.P + $export.F * __webpack_require__(81)(ENDS_WITH), 'String', { 5592 endsWith: function endsWith(searchString /* , endPosition = @length */) { 5593 var that = context(this, searchString, ENDS_WITH); 5594 var endPosition = arguments.length > 1 ? arguments[1] : undefined; 5595 var len = toLength(that.length); 5596 var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); 5597 var search = String(searchString); 5598 return $endsWith 5599 ? $endsWith.call(that, search, end) 5600 : that.slice(end - search.length, end) === search; 5601 } 5602}); 5603 5604 5605/***/ }), 5606/* 194 */ 5607/***/ (function(module, exports, __webpack_require__) { 5608 5609"use strict"; 5610// 21.1.3.7 String.prototype.includes(searchString, position = 0) 5611 5612var $export = __webpack_require__(0); 5613var context = __webpack_require__(80); 5614var INCLUDES = 'includes'; 5615 5616$export($export.P + $export.F * __webpack_require__(81)(INCLUDES), 'String', { 5617 includes: function includes(searchString /* , position = 0 */) { 5618 return !!~context(this, searchString, INCLUDES) 5619 .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); 5620 } 5621}); 5622 5623 5624/***/ }), 5625/* 195 */ 5626/***/ (function(module, exports, __webpack_require__) { 5627 5628var $export = __webpack_require__(0); 5629 5630$export($export.P, 'String', { 5631 // 21.1.3.13 String.prototype.repeat(count) 5632 repeat: __webpack_require__(75) 5633}); 5634 5635 5636/***/ }), 5637/* 196 */ 5638/***/ (function(module, exports, __webpack_require__) { 5639 5640"use strict"; 5641// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 5642 5643var $export = __webpack_require__(0); 5644var toLength = __webpack_require__(7); 5645var context = __webpack_require__(80); 5646var STARTS_WITH = 'startsWith'; 5647var $startsWith = ''[STARTS_WITH]; 5648 5649$export($export.P + $export.F * __webpack_require__(81)(STARTS_WITH), 'String', { 5650 startsWith: function startsWith(searchString /* , position = 0 */) { 5651 var that = context(this, searchString, STARTS_WITH); 5652 var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); 5653 var search = String(searchString); 5654 return $startsWith 5655 ? $startsWith.call(that, search, index) 5656 : that.slice(index, index + search.length) === search; 5657 } 5658}); 5659 5660 5661/***/ }), 5662/* 197 */ 5663/***/ (function(module, exports, __webpack_require__) { 5664 5665"use strict"; 5666 5667// B.2.3.2 String.prototype.anchor(name) 5668__webpack_require__(14)('anchor', function (createHTML) { 5669 return function anchor(name) { 5670 return createHTML(this, 'a', 'name', name); 5671 }; 5672}); 5673 5674 5675/***/ }), 5676/* 198 */ 5677/***/ (function(module, exports, __webpack_require__) { 5678 5679"use strict"; 5680 5681// B.2.3.3 String.prototype.big() 5682__webpack_require__(14)('big', function (createHTML) { 5683 return function big() { 5684 return createHTML(this, 'big', '', ''); 5685 }; 5686}); 5687 5688 5689/***/ }), 5690/* 199 */ 5691/***/ (function(module, exports, __webpack_require__) { 5692 5693"use strict"; 5694 5695// B.2.3.4 String.prototype.blink() 5696__webpack_require__(14)('blink', function (createHTML) { 5697 return function blink() { 5698 return createHTML(this, 'blink', '', ''); 5699 }; 5700}); 5701 5702 5703/***/ }), 5704/* 200 */ 5705/***/ (function(module, exports, __webpack_require__) { 5706 5707"use strict"; 5708 5709// B.2.3.5 String.prototype.bold() 5710__webpack_require__(14)('bold', function (createHTML) { 5711 return function bold() { 5712 return createHTML(this, 'b', '', ''); 5713 }; 5714}); 5715 5716 5717/***/ }), 5718/* 201 */ 5719/***/ (function(module, exports, __webpack_require__) { 5720 5721"use strict"; 5722 5723// B.2.3.6 String.prototype.fixed() 5724__webpack_require__(14)('fixed', function (createHTML) { 5725 return function fixed() { 5726 return createHTML(this, 'tt', '', ''); 5727 }; 5728}); 5729 5730 5731/***/ }), 5732/* 202 */ 5733/***/ (function(module, exports, __webpack_require__) { 5734 5735"use strict"; 5736 5737// B.2.3.7 String.prototype.fontcolor(color) 5738__webpack_require__(14)('fontcolor', function (createHTML) { 5739 return function fontcolor(color) { 5740 return createHTML(this, 'font', 'color', color); 5741 }; 5742}); 5743 5744 5745/***/ }), 5746/* 203 */ 5747/***/ (function(module, exports, __webpack_require__) { 5748 5749"use strict"; 5750 5751// B.2.3.8 String.prototype.fontsize(size) 5752__webpack_require__(14)('fontsize', function (createHTML) { 5753 return function fontsize(size) { 5754 return createHTML(this, 'font', 'size', size); 5755 }; 5756}); 5757 5758 5759/***/ }), 5760/* 204 */ 5761/***/ (function(module, exports, __webpack_require__) { 5762 5763"use strict"; 5764 5765// B.2.3.9 String.prototype.italics() 5766__webpack_require__(14)('italics', function (createHTML) { 5767 return function italics() { 5768 return createHTML(this, 'i', '', ''); 5769 }; 5770}); 5771 5772 5773/***/ }), 5774/* 205 */ 5775/***/ (function(module, exports, __webpack_require__) { 5776 5777"use strict"; 5778 5779// B.2.3.10 String.prototype.link(url) 5780__webpack_require__(14)('link', function (createHTML) { 5781 return function link(url) { 5782 return createHTML(this, 'a', 'href', url); 5783 }; 5784}); 5785 5786 5787/***/ }), 5788/* 206 */ 5789/***/ (function(module, exports, __webpack_require__) { 5790 5791"use strict"; 5792 5793// B.2.3.11 String.prototype.small() 5794__webpack_require__(14)('small', function (createHTML) { 5795 return function small() { 5796 return createHTML(this, 'small', '', ''); 5797 }; 5798}); 5799 5800 5801/***/ }), 5802/* 207 */ 5803/***/ (function(module, exports, __webpack_require__) { 5804 5805"use strict"; 5806 5807// B.2.3.12 String.prototype.strike() 5808__webpack_require__(14)('strike', function (createHTML) { 5809 return function strike() { 5810 return createHTML(this, 'strike', '', ''); 5811 }; 5812}); 5813 5814 5815/***/ }), 5816/* 208 */ 5817/***/ (function(module, exports, __webpack_require__) { 5818 5819"use strict"; 5820 5821// B.2.3.13 String.prototype.sub() 5822__webpack_require__(14)('sub', function (createHTML) { 5823 return function sub() { 5824 return createHTML(this, 'sub', '', ''); 5825 }; 5826}); 5827 5828 5829/***/ }), 5830/* 209 */ 5831/***/ (function(module, exports, __webpack_require__) { 5832 5833"use strict"; 5834 5835// B.2.3.14 String.prototype.sup() 5836__webpack_require__(14)('sup', function (createHTML) { 5837 return function sup() { 5838 return createHTML(this, 'sup', '', ''); 5839 }; 5840}); 5841 5842 5843/***/ }), 5844/* 210 */ 5845/***/ (function(module, exports, __webpack_require__) { 5846 5847// 20.3.3.1 / 15.9.4.4 Date.now() 5848var $export = __webpack_require__(0); 5849 5850$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); 5851 5852 5853/***/ }), 5854/* 211 */ 5855/***/ (function(module, exports, __webpack_require__) { 5856 5857"use strict"; 5858 5859var $export = __webpack_require__(0); 5860var toObject = __webpack_require__(10); 5861var toPrimitive = __webpack_require__(24); 5862 5863$export($export.P + $export.F * __webpack_require__(4)(function () { 5864 return new Date(NaN).toJSON() !== null 5865 || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; 5866}), 'Date', { 5867 // eslint-disable-next-line no-unused-vars 5868 toJSON: function toJSON(key) { 5869 var O = toObject(this); 5870 var pv = toPrimitive(O); 5871 return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); 5872 } 5873}); 5874 5875 5876/***/ }), 5877/* 212 */ 5878/***/ (function(module, exports, __webpack_require__) { 5879 5880// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 5881var $export = __webpack_require__(0); 5882var toISOString = __webpack_require__(213); 5883 5884// PhantomJS / old WebKit has a broken implementations 5885$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { 5886 toISOString: toISOString 5887}); 5888 5889 5890/***/ }), 5891/* 213 */ 5892/***/ (function(module, exports, __webpack_require__) { 5893 5894"use strict"; 5895 5896// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 5897var fails = __webpack_require__(4); 5898var getTime = Date.prototype.getTime; 5899var $toISOString = Date.prototype.toISOString; 5900 5901var lz = function (num) { 5902 return num > 9 ? num : '0' + num; 5903}; 5904 5905// PhantomJS / old WebKit has a broken implementations 5906module.exports = (fails(function () { 5907 return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; 5908}) || !fails(function () { 5909 $toISOString.call(new Date(NaN)); 5910})) ? function toISOString() { 5911 if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); 5912 var d = this; 5913 var y = d.getUTCFullYear(); 5914 var m = d.getUTCMilliseconds(); 5915 var s = y < 0 ? '-' : y > 9999 ? '+' : ''; 5916 return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + 5917 '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + 5918 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + 5919 ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; 5920} : $toISOString; 5921 5922 5923/***/ }), 5924/* 214 */ 5925/***/ (function(module, exports, __webpack_require__) { 5926 5927var DateProto = Date.prototype; 5928var INVALID_DATE = 'Invalid Date'; 5929var TO_STRING = 'toString'; 5930var $toString = DateProto[TO_STRING]; 5931var getTime = DateProto.getTime; 5932if (new Date(NaN) + '' != INVALID_DATE) { 5933 __webpack_require__(13)(DateProto, TO_STRING, function toString() { 5934 var value = getTime.call(this); 5935 // eslint-disable-next-line no-self-compare 5936 return value === value ? $toString.call(this) : INVALID_DATE; 5937 }); 5938} 5939 5940 5941/***/ }), 5942/* 215 */ 5943/***/ (function(module, exports, __webpack_require__) { 5944 5945var TO_PRIMITIVE = __webpack_require__(6)('toPrimitive'); 5946var proto = Date.prototype; 5947 5948if (!(TO_PRIMITIVE in proto)) __webpack_require__(12)(proto, TO_PRIMITIVE, __webpack_require__(216)); 5949 5950 5951/***/ }), 5952/* 216 */ 5953/***/ (function(module, exports, __webpack_require__) { 5954 5955"use strict"; 5956 5957var anObject = __webpack_require__(1); 5958var toPrimitive = __webpack_require__(24); 5959var NUMBER = 'number'; 5960 5961module.exports = function (hint) { 5962 if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); 5963 return toPrimitive(anObject(this), hint != NUMBER); 5964}; 5965 5966 5967/***/ }), 5968/* 217 */ 5969/***/ (function(module, exports, __webpack_require__) { 5970 5971// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) 5972var $export = __webpack_require__(0); 5973 5974$export($export.S, 'Array', { isArray: __webpack_require__(55) }); 5975 5976 5977/***/ }), 5978/* 218 */ 5979/***/ (function(module, exports, __webpack_require__) { 5980 5981"use strict"; 5982 5983var ctx = __webpack_require__(20); 5984var $export = __webpack_require__(0); 5985var toObject = __webpack_require__(10); 5986var call = __webpack_require__(110); 5987var isArrayIter = __webpack_require__(82); 5988var toLength = __webpack_require__(7); 5989var createProperty = __webpack_require__(83); 5990var getIterFn = __webpack_require__(84); 5991 5992$export($export.S + $export.F * !__webpack_require__(58)(function (iter) { Array.from(iter); }), 'Array', { 5993 // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) 5994 from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { 5995 var O = toObject(arrayLike); 5996 var C = typeof this == 'function' ? this : Array; 5997 var aLen = arguments.length; 5998 var mapfn = aLen > 1 ? arguments[1] : undefined; 5999 var mapping = mapfn !== undefined; 6000 var index = 0; 6001 var iterFn = getIterFn(O); 6002 var length, result, step, iterator; 6003 if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); 6004 // if object isn't iterable or it's array with default iterator - use simple case 6005 if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { 6006 for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { 6007 createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); 6008 } 6009 } else { 6010 length = toLength(O.length); 6011 for (result = new C(length); length > index; index++) { 6012 createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); 6013 } 6014 } 6015 result.length = index; 6016 return result; 6017 } 6018}); 6019 6020 6021/***/ }), 6022/* 219 */ 6023/***/ (function(module, exports, __webpack_require__) { 6024 6025"use strict"; 6026 6027var $export = __webpack_require__(0); 6028var createProperty = __webpack_require__(83); 6029 6030// WebKit Array.of isn't generic 6031$export($export.S + $export.F * __webpack_require__(4)(function () { 6032 function F() { /* empty */ } 6033 return !(Array.of.call(F) instanceof F); 6034}), 'Array', { 6035 // 22.1.2.3 Array.of( ...items) 6036 of: function of(/* ...args */) { 6037 var index = 0; 6038 var aLen = arguments.length; 6039 var result = new (typeof this == 'function' ? this : Array)(aLen); 6040 while (aLen > index) createProperty(result, index, arguments[index++]); 6041 result.length = aLen; 6042 return result; 6043 } 6044}); 6045 6046 6047/***/ }), 6048/* 220 */ 6049/***/ (function(module, exports, __webpack_require__) { 6050 6051"use strict"; 6052 6053// 22.1.3.13 Array.prototype.join(separator) 6054var $export = __webpack_require__(0); 6055var toIObject = __webpack_require__(16); 6056var arrayJoin = [].join; 6057 6058// fallback for not array-like strings 6059$export($export.P + $export.F * (__webpack_require__(49) != Object || !__webpack_require__(23)(arrayJoin)), 'Array', { 6060 join: function join(separator) { 6061 return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); 6062 } 6063}); 6064 6065 6066/***/ }), 6067/* 221 */ 6068/***/ (function(module, exports, __webpack_require__) { 6069 6070"use strict"; 6071 6072var $export = __webpack_require__(0); 6073var html = __webpack_require__(71); 6074var cof = __webpack_require__(21); 6075var toAbsoluteIndex = __webpack_require__(36); 6076var toLength = __webpack_require__(7); 6077var arraySlice = [].slice; 6078 6079// fallback for not array-like ES3 strings and DOM objects 6080$export($export.P + $export.F * __webpack_require__(4)(function () { 6081 if (html) arraySlice.call(html); 6082}), 'Array', { 6083 slice: function slice(begin, end) { 6084 var len = toLength(this.length); 6085 var klass = cof(this); 6086 end = end === undefined ? len : end; 6087 if (klass == 'Array') return arraySlice.call(this, begin, end); 6088 var start = toAbsoluteIndex(begin, len); 6089 var upTo = toAbsoluteIndex(end, len); 6090 var size = toLength(upTo - start); 6091 var cloned = new Array(size); 6092 var i = 0; 6093 for (; i < size; i++) cloned[i] = klass == 'String' 6094 ? this.charAt(start + i) 6095 : this[start + i]; 6096 return cloned; 6097 } 6098}); 6099 6100 6101/***/ }), 6102/* 222 */ 6103/***/ (function(module, exports, __webpack_require__) { 6104 6105"use strict"; 6106 6107var $export = __webpack_require__(0); 6108var aFunction = __webpack_require__(11); 6109var toObject = __webpack_require__(10); 6110var fails = __webpack_require__(4); 6111var $sort = [].sort; 6112var test = [1, 2, 3]; 6113 6114$export($export.P + $export.F * (fails(function () { 6115 // IE8- 6116 test.sort(undefined); 6117}) || !fails(function () { 6118 // V8 bug 6119 test.sort(null); 6120 // Old WebKit 6121}) || !__webpack_require__(23)($sort)), 'Array', { 6122 // 22.1.3.25 Array.prototype.sort(comparefn) 6123 sort: function sort(comparefn) { 6124 return comparefn === undefined 6125 ? $sort.call(toObject(this)) 6126 : $sort.call(toObject(this), aFunction(comparefn)); 6127 } 6128}); 6129 6130 6131/***/ }), 6132/* 223 */ 6133/***/ (function(module, exports, __webpack_require__) { 6134 6135"use strict"; 6136 6137var $export = __webpack_require__(0); 6138var $forEach = __webpack_require__(27)(0); 6139var STRICT = __webpack_require__(23)([].forEach, true); 6140 6141$export($export.P + $export.F * !STRICT, 'Array', { 6142 // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) 6143 forEach: function forEach(callbackfn /* , thisArg */) { 6144 return $forEach(this, callbackfn, arguments[1]); 6145 } 6146}); 6147 6148 6149/***/ }), 6150/* 224 */ 6151/***/ (function(module, exports, __webpack_require__) { 6152 6153var isObject = __webpack_require__(5); 6154var isArray = __webpack_require__(55); 6155var SPECIES = __webpack_require__(6)('species'); 6156 6157module.exports = function (original) { 6158 var C; 6159 if (isArray(original)) { 6160 C = original.constructor; 6161 // cross-realm fallback 6162 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; 6163 if (isObject(C)) { 6164 C = C[SPECIES]; 6165 if (C === null) C = undefined; 6166 } 6167 } return C === undefined ? Array : C; 6168}; 6169 6170 6171/***/ }), 6172/* 225 */ 6173/***/ (function(module, exports, __webpack_require__) { 6174 6175"use strict"; 6176 6177var $export = __webpack_require__(0); 6178var $map = __webpack_require__(27)(1); 6179 6180$export($export.P + $export.F * !__webpack_require__(23)([].map, true), 'Array', { 6181 // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) 6182 map: function map(callbackfn /* , thisArg */) { 6183 return $map(this, callbackfn, arguments[1]); 6184 } 6185}); 6186 6187 6188/***/ }), 6189/* 226 */ 6190/***/ (function(module, exports, __webpack_require__) { 6191 6192"use strict"; 6193 6194var $export = __webpack_require__(0); 6195var $filter = __webpack_require__(27)(2); 6196 6197$export($export.P + $export.F * !__webpack_require__(23)([].filter, true), 'Array', { 6198 // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) 6199 filter: function filter(callbackfn /* , thisArg */) { 6200 return $filter(this, callbackfn, arguments[1]); 6201 } 6202}); 6203 6204 6205/***/ }), 6206/* 227 */ 6207/***/ (function(module, exports, __webpack_require__) { 6208 6209"use strict"; 6210 6211var $export = __webpack_require__(0); 6212var $some = __webpack_require__(27)(3); 6213 6214$export($export.P + $export.F * !__webpack_require__(23)([].some, true), 'Array', { 6215 // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) 6216 some: function some(callbackfn /* , thisArg */) { 6217 return $some(this, callbackfn, arguments[1]); 6218 } 6219}); 6220 6221 6222/***/ }), 6223/* 228 */ 6224/***/ (function(module, exports, __webpack_require__) { 6225 6226"use strict"; 6227 6228var $export = __webpack_require__(0); 6229var $every = __webpack_require__(27)(4); 6230 6231$export($export.P + $export.F * !__webpack_require__(23)([].every, true), 'Array', { 6232 // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) 6233 every: function every(callbackfn /* , thisArg */) { 6234 return $every(this, callbackfn, arguments[1]); 6235 } 6236}); 6237 6238 6239/***/ }), 6240/* 229 */ 6241/***/ (function(module, exports, __webpack_require__) { 6242 6243"use strict"; 6244 6245var $export = __webpack_require__(0); 6246var $reduce = __webpack_require__(111); 6247 6248$export($export.P + $export.F * !__webpack_require__(23)([].reduce, true), 'Array', { 6249 // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) 6250 reduce: function reduce(callbackfn /* , initialValue */) { 6251 return $reduce(this, callbackfn, arguments.length, arguments[1], false); 6252 } 6253}); 6254 6255 6256/***/ }), 6257/* 230 */ 6258/***/ (function(module, exports, __webpack_require__) { 6259 6260"use strict"; 6261 6262var $export = __webpack_require__(0); 6263var $reduce = __webpack_require__(111); 6264 6265$export($export.P + $export.F * !__webpack_require__(23)([].reduceRight, true), 'Array', { 6266 // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) 6267 reduceRight: function reduceRight(callbackfn /* , initialValue */) { 6268 return $reduce(this, callbackfn, arguments.length, arguments[1], true); 6269 } 6270}); 6271 6272 6273/***/ }), 6274/* 231 */ 6275/***/ (function(module, exports, __webpack_require__) { 6276 6277"use strict"; 6278 6279var $export = __webpack_require__(0); 6280var $indexOf = __webpack_require__(53)(false); 6281var $native = [].indexOf; 6282var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; 6283 6284$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(23)($native)), 'Array', { 6285 // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) 6286 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { 6287 return NEGATIVE_ZERO 6288 // convert -0 to +0 6289 ? $native.apply(this, arguments) || 0 6290 : $indexOf(this, searchElement, arguments[1]); 6291 } 6292}); 6293 6294 6295/***/ }), 6296/* 232 */ 6297/***/ (function(module, exports, __webpack_require__) { 6298 6299"use strict"; 6300 6301var $export = __webpack_require__(0); 6302var toIObject = __webpack_require__(16); 6303var toInteger = __webpack_require__(22); 6304var toLength = __webpack_require__(7); 6305var $native = [].lastIndexOf; 6306var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; 6307 6308$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(23)($native)), 'Array', { 6309 // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) 6310 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { 6311 // convert -0 to +0 6312 if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; 6313 var O = toIObject(this); 6314 var length = toLength(O.length); 6315 var index = length - 1; 6316 if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); 6317 if (index < 0) index = length + index; 6318 for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; 6319 return -1; 6320 } 6321}); 6322 6323 6324/***/ }), 6325/* 233 */ 6326/***/ (function(module, exports, __webpack_require__) { 6327 6328// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 6329var $export = __webpack_require__(0); 6330 6331$export($export.P, 'Array', { copyWithin: __webpack_require__(112) }); 6332 6333__webpack_require__(32)('copyWithin'); 6334 6335 6336/***/ }), 6337/* 234 */ 6338/***/ (function(module, exports, __webpack_require__) { 6339 6340// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 6341var $export = __webpack_require__(0); 6342 6343$export($export.P, 'Array', { fill: __webpack_require__(86) }); 6344 6345__webpack_require__(32)('fill'); 6346 6347 6348/***/ }), 6349/* 235 */ 6350/***/ (function(module, exports, __webpack_require__) { 6351 6352"use strict"; 6353 6354// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) 6355var $export = __webpack_require__(0); 6356var $find = __webpack_require__(27)(5); 6357var KEY = 'find'; 6358var forced = true; 6359// Shouldn't skip holes 6360if (KEY in []) Array(1)[KEY](function () { forced = false; }); 6361$export($export.P + $export.F * forced, 'Array', { 6362 find: function find(callbackfn /* , that = undefined */) { 6363 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 6364 } 6365}); 6366__webpack_require__(32)(KEY); 6367 6368 6369/***/ }), 6370/* 236 */ 6371/***/ (function(module, exports, __webpack_require__) { 6372 6373"use strict"; 6374 6375// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) 6376var $export = __webpack_require__(0); 6377var $find = __webpack_require__(27)(6); 6378var KEY = 'findIndex'; 6379var forced = true; 6380// Shouldn't skip holes 6381if (KEY in []) Array(1)[KEY](function () { forced = false; }); 6382$export($export.P + $export.F * forced, 'Array', { 6383 findIndex: function findIndex(callbackfn /* , that = undefined */) { 6384 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 6385 } 6386}); 6387__webpack_require__(32)(KEY); 6388 6389 6390/***/ }), 6391/* 237 */ 6392/***/ (function(module, exports, __webpack_require__) { 6393 6394__webpack_require__(39)('Array'); 6395 6396 6397/***/ }), 6398/* 238 */ 6399/***/ (function(module, exports, __webpack_require__) { 6400 6401var global = __webpack_require__(2); 6402var inheritIfRequired = __webpack_require__(74); 6403var dP = __webpack_require__(9).f; 6404var gOPN = __webpack_require__(38).f; 6405var isRegExp = __webpack_require__(57); 6406var $flags = __webpack_require__(51); 6407var $RegExp = global.RegExp; 6408var Base = $RegExp; 6409var proto = $RegExp.prototype; 6410var re1 = /a/g; 6411var re2 = /a/g; 6412// "new" creates a new object, old webkit buggy here 6413var CORRECT_NEW = new $RegExp(re1) !== re1; 6414 6415if (__webpack_require__(8) && (!CORRECT_NEW || __webpack_require__(4)(function () { 6416 re2[__webpack_require__(6)('match')] = false; 6417 // RegExp constructor can alter flags and IsRegExp works correct with @@match 6418 return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; 6419}))) { 6420 $RegExp = function RegExp(p, f) { 6421 var tiRE = this instanceof $RegExp; 6422 var piRE = isRegExp(p); 6423 var fiU = f === undefined; 6424 return !tiRE && piRE && p.constructor === $RegExp && fiU ? p 6425 : inheritIfRequired(CORRECT_NEW 6426 ? new Base(piRE && !fiU ? p.source : p, f) 6427 : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) 6428 , tiRE ? this : proto, $RegExp); 6429 }; 6430 var proxy = function (key) { 6431 key in $RegExp || dP($RegExp, key, { 6432 configurable: true, 6433 get: function () { return Base[key]; }, 6434 set: function (it) { Base[key] = it; } 6435 }); 6436 }; 6437 for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); 6438 proto.constructor = $RegExp; 6439 $RegExp.prototype = proto; 6440 __webpack_require__(13)(global, 'RegExp', $RegExp); 6441} 6442 6443__webpack_require__(39)('RegExp'); 6444 6445 6446/***/ }), 6447/* 239 */ 6448/***/ (function(module, exports, __webpack_require__) { 6449 6450"use strict"; 6451 6452__webpack_require__(115); 6453var anObject = __webpack_require__(1); 6454var $flags = __webpack_require__(51); 6455var DESCRIPTORS = __webpack_require__(8); 6456var TO_STRING = 'toString'; 6457var $toString = /./[TO_STRING]; 6458 6459var define = function (fn) { 6460 __webpack_require__(13)(RegExp.prototype, TO_STRING, fn, true); 6461}; 6462 6463// 21.2.5.14 RegExp.prototype.toString() 6464if (__webpack_require__(4)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { 6465 define(function toString() { 6466 var R = anObject(this); 6467 return '/'.concat(R.source, '/', 6468 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); 6469 }); 6470// FF44- RegExp#toString has a wrong name 6471} else if ($toString.name != TO_STRING) { 6472 define(function toString() { 6473 return $toString.call(this); 6474 }); 6475} 6476 6477 6478/***/ }), 6479/* 240 */ 6480/***/ (function(module, exports, __webpack_require__) { 6481 6482"use strict"; 6483 6484 6485var anObject = __webpack_require__(1); 6486var toLength = __webpack_require__(7); 6487var advanceStringIndex = __webpack_require__(89); 6488var regExpExec = __webpack_require__(59); 6489 6490// @@match logic 6491__webpack_require__(60)('match', 1, function (defined, MATCH, $match, maybeCallNative) { 6492 return [ 6493 // `String.prototype.match` method 6494 // https://tc39.github.io/ecma262/#sec-string.prototype.match 6495 function match(regexp) { 6496 var O = defined(this); 6497 var fn = regexp == undefined ? undefined : regexp[MATCH]; 6498 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); 6499 }, 6500 // `RegExp.prototype[@@match]` method 6501 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match 6502 function (regexp) { 6503 var res = maybeCallNative($match, regexp, this); 6504 if (res.done) return res.value; 6505 var rx = anObject(regexp); 6506 var S = String(this); 6507 if (!rx.global) return regExpExec(rx, S); 6508 var fullUnicode = rx.unicode; 6509 rx.lastIndex = 0; 6510 var A = []; 6511 var n = 0; 6512 var result; 6513 while ((result = regExpExec(rx, S)) !== null) { 6514 var matchStr = String(result[0]); 6515 A[n] = matchStr; 6516 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 6517 n++; 6518 } 6519 return n === 0 ? null : A; 6520 } 6521 ]; 6522}); 6523 6524 6525/***/ }), 6526/* 241 */ 6527/***/ (function(module, exports, __webpack_require__) { 6528 6529"use strict"; 6530 6531 6532var anObject = __webpack_require__(1); 6533var toObject = __webpack_require__(10); 6534var toLength = __webpack_require__(7); 6535var toInteger = __webpack_require__(22); 6536var advanceStringIndex = __webpack_require__(89); 6537var regExpExec = __webpack_require__(59); 6538var max = Math.max; 6539var min = Math.min; 6540var floor = Math.floor; 6541var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; 6542var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; 6543 6544var maybeToString = function (it) { 6545 return it === undefined ? it : String(it); 6546}; 6547 6548// @@replace logic 6549__webpack_require__(60)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { 6550 return [ 6551 // `String.prototype.replace` method 6552 // https://tc39.github.io/ecma262/#sec-string.prototype.replace 6553 function replace(searchValue, replaceValue) { 6554 var O = defined(this); 6555 var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; 6556 return fn !== undefined 6557 ? fn.call(searchValue, O, replaceValue) 6558 : $replace.call(String(O), searchValue, replaceValue); 6559 }, 6560 // `RegExp.prototype[@@replace]` method 6561 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace 6562 function (regexp, replaceValue) { 6563 var res = maybeCallNative($replace, regexp, this, replaceValue); 6564 if (res.done) return res.value; 6565 6566 var rx = anObject(regexp); 6567 var S = String(this); 6568 var functionalReplace = typeof replaceValue === 'function'; 6569 if (!functionalReplace) replaceValue = String(replaceValue); 6570 var global = rx.global; 6571 if (global) { 6572 var fullUnicode = rx.unicode; 6573 rx.lastIndex = 0; 6574 } 6575 var results = []; 6576 while (true) { 6577 var result = regExpExec(rx, S); 6578 if (result === null) break; 6579 results.push(result); 6580 if (!global) break; 6581 var matchStr = String(result[0]); 6582 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 6583 } 6584 var accumulatedResult = ''; 6585 var nextSourcePosition = 0; 6586 for (var i = 0; i < results.length; i++) { 6587 result = results[i]; 6588 var matched = String(result[0]); 6589 var position = max(min(toInteger(result.index), S.length), 0); 6590 var captures = []; 6591 // NOTE: This is equivalent to 6592 // captures = result.slice(1).map(maybeToString) 6593 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in 6594 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and 6595 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. 6596 for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); 6597 var namedCaptures = result.groups; 6598 if (functionalReplace) { 6599 var replacerArgs = [matched].concat(captures, position, S); 6600 if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); 6601 var replacement = String(replaceValue.apply(undefined, replacerArgs)); 6602 } else { 6603 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 6604 } 6605 if (position >= nextSourcePosition) { 6606 accumulatedResult += S.slice(nextSourcePosition, position) + replacement; 6607 nextSourcePosition = position + matched.length; 6608 } 6609 } 6610 return accumulatedResult + S.slice(nextSourcePosition); 6611 } 6612 ]; 6613 6614 // https://tc39.github.io/ecma262/#sec-getsubstitution 6615 function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { 6616 var tailPos = position + matched.length; 6617 var m = captures.length; 6618 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 6619 if (namedCaptures !== undefined) { 6620 namedCaptures = toObject(namedCaptures); 6621 symbols = SUBSTITUTION_SYMBOLS; 6622 } 6623 return $replace.call(replacement, symbols, function (match, ch) { 6624 var capture; 6625 switch (ch.charAt(0)) { 6626 case '$': return '$'; 6627 case '&': return matched; 6628 case '`': return str.slice(0, position); 6629 case "'": return str.slice(tailPos); 6630 case '<': 6631 capture = namedCaptures[ch.slice(1, -1)]; 6632 break; 6633 default: // \d\d? 6634 var n = +ch; 6635 if (n === 0) return match; 6636 if (n > m) { 6637 var f = floor(n / 10); 6638 if (f === 0) return match; 6639 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); 6640 return match; 6641 } 6642 capture = captures[n - 1]; 6643 } 6644 return capture === undefined ? '' : capture; 6645 }); 6646 } 6647}); 6648 6649 6650/***/ }), 6651/* 242 */ 6652/***/ (function(module, exports, __webpack_require__) { 6653 6654"use strict"; 6655 6656 6657var anObject = __webpack_require__(1); 6658var sameValue = __webpack_require__(101); 6659var regExpExec = __webpack_require__(59); 6660 6661// @@search logic 6662__webpack_require__(60)('search', 1, function (defined, SEARCH, $search, maybeCallNative) { 6663 return [ 6664 // `String.prototype.search` method 6665 // https://tc39.github.io/ecma262/#sec-string.prototype.search 6666 function search(regexp) { 6667 var O = defined(this); 6668 var fn = regexp == undefined ? undefined : regexp[SEARCH]; 6669 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); 6670 }, 6671 // `RegExp.prototype[@@search]` method 6672 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search 6673 function (regexp) { 6674 var res = maybeCallNative($search, regexp, this); 6675 if (res.done) return res.value; 6676 var rx = anObject(regexp); 6677 var S = String(this); 6678 var previousLastIndex = rx.lastIndex; 6679 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; 6680 var result = regExpExec(rx, S); 6681 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; 6682 return result === null ? -1 : result.index; 6683 } 6684 ]; 6685}); 6686 6687 6688/***/ }), 6689/* 243 */ 6690/***/ (function(module, exports, __webpack_require__) { 6691 6692"use strict"; 6693 6694 6695var isRegExp = __webpack_require__(57); 6696var anObject = __webpack_require__(1); 6697var speciesConstructor = __webpack_require__(52); 6698var advanceStringIndex = __webpack_require__(89); 6699var toLength = __webpack_require__(7); 6700var callRegExpExec = __webpack_require__(59); 6701var regexpExec = __webpack_require__(88); 6702var fails = __webpack_require__(4); 6703var $min = Math.min; 6704var $push = [].push; 6705var $SPLIT = 'split'; 6706var LENGTH = 'length'; 6707var LAST_INDEX = 'lastIndex'; 6708var MAX_UINT32 = 0xffffffff; 6709 6710// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError 6711var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); 6712 6713// @@split logic 6714__webpack_require__(60)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { 6715 var internalSplit; 6716 if ( 6717 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 6718 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 6719 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || 6720 '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || 6721 '.'[$SPLIT](/()()/)[LENGTH] > 1 || 6722 ''[$SPLIT](/.?/)[LENGTH] 6723 ) { 6724 // based on es5-shim implementation, need to rework it 6725 internalSplit = function (separator, limit) { 6726 var string = String(this); 6727 if (separator === undefined && limit === 0) return []; 6728 // If `separator` is not a regex, use native split 6729 if (!isRegExp(separator)) return $split.call(string, separator, limit); 6730 var output = []; 6731 var flags = (separator.ignoreCase ? 'i' : '') + 6732 (separator.multiline ? 'm' : '') + 6733 (separator.unicode ? 'u' : '') + 6734 (separator.sticky ? 'y' : ''); 6735 var lastLastIndex = 0; 6736 var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; 6737 // Make `global` and avoid `lastIndex` issues by working with a copy 6738 var separatorCopy = new RegExp(separator.source, flags + 'g'); 6739 var match, lastIndex, lastLength; 6740 while (match = regexpExec.call(separatorCopy, string)) { 6741 lastIndex = separatorCopy[LAST_INDEX]; 6742 if (lastIndex > lastLastIndex) { 6743 output.push(string.slice(lastLastIndex, match.index)); 6744 if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); 6745 lastLength = match[0][LENGTH]; 6746 lastLastIndex = lastIndex; 6747 if (output[LENGTH] >= splitLimit) break; 6748 } 6749 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop 6750 } 6751 if (lastLastIndex === string[LENGTH]) { 6752 if (lastLength || !separatorCopy.test('')) output.push(''); 6753 } else output.push(string.slice(lastLastIndex)); 6754 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; 6755 }; 6756 // Chakra, V8 6757 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { 6758 internalSplit = function (separator, limit) { 6759 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); 6760 }; 6761 } else { 6762 internalSplit = $split; 6763 } 6764 6765 return [ 6766 // `String.prototype.split` method 6767 // https://tc39.github.io/ecma262/#sec-string.prototype.split 6768 function split(separator, limit) { 6769 var O = defined(this); 6770 var splitter = separator == undefined ? undefined : separator[SPLIT]; 6771 return splitter !== undefined 6772 ? splitter.call(separator, O, limit) 6773 : internalSplit.call(String(O), separator, limit); 6774 }, 6775 // `RegExp.prototype[@@split]` method 6776 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split 6777 // 6778 // NOTE: This cannot be properly polyfilled in engines that don't support 6779 // the 'y' flag. 6780 function (regexp, limit) { 6781 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); 6782 if (res.done) return res.value; 6783 6784 var rx = anObject(regexp); 6785 var S = String(this); 6786 var C = speciesConstructor(rx, RegExp); 6787 6788 var unicodeMatching = rx.unicode; 6789 var flags = (rx.ignoreCase ? 'i' : '') + 6790 (rx.multiline ? 'm' : '') + 6791 (rx.unicode ? 'u' : '') + 6792 (SUPPORTS_Y ? 'y' : 'g'); 6793 6794 // ^(? + rx + ) is needed, in combination with some S slicing, to 6795 // simulate the 'y' flag. 6796 var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); 6797 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; 6798 if (lim === 0) return []; 6799 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; 6800 var p = 0; 6801 var q = 0; 6802 var A = []; 6803 while (q < S.length) { 6804 splitter.lastIndex = SUPPORTS_Y ? q : 0; 6805 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); 6806 var e; 6807 if ( 6808 z === null || 6809 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p 6810 ) { 6811 q = advanceStringIndex(S, q, unicodeMatching); 6812 } else { 6813 A.push(S.slice(p, q)); 6814 if (A.length === lim) return A; 6815 for (var i = 1; i <= z.length - 1; i++) { 6816 A.push(z[i]); 6817 if (A.length === lim) return A; 6818 } 6819 q = p = e; 6820 } 6821 } 6822 A.push(S.slice(p)); 6823 return A; 6824 } 6825 ]; 6826}); 6827 6828 6829/***/ }), 6830/* 244 */ 6831/***/ (function(module, exports, __webpack_require__) { 6832 6833"use strict"; 6834 6835var LIBRARY = __webpack_require__(30); 6836var global = __webpack_require__(2); 6837var ctx = __webpack_require__(20); 6838var classof = __webpack_require__(45); 6839var $export = __webpack_require__(0); 6840var isObject = __webpack_require__(5); 6841var aFunction = __webpack_require__(11); 6842var anInstance = __webpack_require__(40); 6843var forOf = __webpack_require__(41); 6844var speciesConstructor = __webpack_require__(52); 6845var task = __webpack_require__(90).set; 6846var microtask = __webpack_require__(91)(); 6847var newPromiseCapabilityModule = __webpack_require__(92); 6848var perform = __webpack_require__(116); 6849var userAgent = __webpack_require__(61); 6850var promiseResolve = __webpack_require__(117); 6851var PROMISE = 'Promise'; 6852var TypeError = global.TypeError; 6853var process = global.process; 6854var versions = process && process.versions; 6855var v8 = versions && versions.v8 || ''; 6856var $Promise = global[PROMISE]; 6857var isNode = classof(process) == 'process'; 6858var empty = function () { /* empty */ }; 6859var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; 6860var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; 6861 6862var USE_NATIVE = !!function () { 6863 try { 6864 // correct subclassing with @@species support 6865 var promise = $Promise.resolve(1); 6866 var FakePromise = (promise.constructor = {})[__webpack_require__(6)('species')] = function (exec) { 6867 exec(empty, empty); 6868 }; 6869 // unhandled rejections tracking support, NodeJS Promise without it fails @@species test 6870 return (isNode || typeof PromiseRejectionEvent == 'function') 6871 && promise.then(empty) instanceof FakePromise 6872 // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables 6873 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 6874 // we can't detect it synchronously, so just check versions 6875 && v8.indexOf('6.6') !== 0 6876 && userAgent.indexOf('Chrome/66') === -1; 6877 } catch (e) { /* empty */ } 6878}(); 6879 6880// helpers 6881var isThenable = function (it) { 6882 var then; 6883 return isObject(it) && typeof (then = it.then) == 'function' ? then : false; 6884}; 6885var notify = function (promise, isReject) { 6886 if (promise._n) return; 6887 promise._n = true; 6888 var chain = promise._c; 6889 microtask(function () { 6890 var value = promise._v; 6891 var ok = promise._s == 1; 6892 var i = 0; 6893 var run = function (reaction) { 6894 var handler = ok ? reaction.ok : reaction.fail; 6895 var resolve = reaction.resolve; 6896 var reject = reaction.reject; 6897 var domain = reaction.domain; 6898 var result, then, exited; 6899 try { 6900 if (handler) { 6901 if (!ok) { 6902 if (promise._h == 2) onHandleUnhandled(promise); 6903 promise._h = 1; 6904 } 6905 if (handler === true) result = value; 6906 else { 6907 if (domain) domain.enter(); 6908 result = handler(value); // may throw 6909 if (domain) { 6910 domain.exit(); 6911 exited = true; 6912 } 6913 } 6914 if (result === reaction.promise) { 6915 reject(TypeError('Promise-chain cycle')); 6916 } else if (then = isThenable(result)) { 6917 then.call(result, resolve, reject); 6918 } else resolve(result); 6919 } else reject(value); 6920 } catch (e) { 6921 if (domain && !exited) domain.exit(); 6922 reject(e); 6923 } 6924 }; 6925 while (chain.length > i) run(chain[i++]); // variable length - can't use forEach 6926 promise._c = []; 6927 promise._n = false; 6928 if (isReject && !promise._h) onUnhandled(promise); 6929 }); 6930}; 6931var onUnhandled = function (promise) { 6932 task.call(global, function () { 6933 var value = promise._v; 6934 var unhandled = isUnhandled(promise); 6935 var result, handler, console; 6936 if (unhandled) { 6937 result = perform(function () { 6938 if (isNode) { 6939 process.emit('unhandledRejection', value, promise); 6940 } else if (handler = global.onunhandledrejection) { 6941 handler({ promise: promise, reason: value }); 6942 } else if ((console = global.console) && console.error) { 6943 console.error('Unhandled promise rejection', value); 6944 } 6945 }); 6946 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should 6947 promise._h = isNode || isUnhandled(promise) ? 2 : 1; 6948 } promise._a = undefined; 6949 if (unhandled && result.e) throw result.v; 6950 }); 6951}; 6952var isUnhandled = function (promise) { 6953 return promise._h !== 1 && (promise._a || promise._c).length === 0; 6954}; 6955var onHandleUnhandled = function (promise) { 6956 task.call(global, function () { 6957 var handler; 6958 if (isNode) { 6959 process.emit('rejectionHandled', promise); 6960 } else if (handler = global.onrejectionhandled) { 6961 handler({ promise: promise, reason: promise._v }); 6962 } 6963 }); 6964}; 6965var $reject = function (value) { 6966 var promise = this; 6967 if (promise._d) return; 6968 promise._d = true; 6969 promise = promise._w || promise; // unwrap 6970 promise._v = value; 6971 promise._s = 2; 6972 if (!promise._a) promise._a = promise._c.slice(); 6973 notify(promise, true); 6974}; 6975var $resolve = function (value) { 6976 var promise = this; 6977 var then; 6978 if (promise._d) return; 6979 promise._d = true; 6980 promise = promise._w || promise; // unwrap 6981 try { 6982 if (promise === value) throw TypeError("Promise can't be resolved itself"); 6983 if (then = isThenable(value)) { 6984 microtask(function () { 6985 var wrapper = { _w: promise, _d: false }; // wrap 6986 try { 6987 then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); 6988 } catch (e) { 6989 $reject.call(wrapper, e); 6990 } 6991 }); 6992 } else { 6993 promise._v = value; 6994 promise._s = 1; 6995 notify(promise, false); 6996 } 6997 } catch (e) { 6998 $reject.call({ _w: promise, _d: false }, e); // wrap 6999 } 7000}; 7001 7002// constructor polyfill 7003if (!USE_NATIVE) { 7004 // 25.4.3.1 Promise(executor) 7005 $Promise = function Promise(executor) { 7006 anInstance(this, $Promise, PROMISE, '_h'); 7007 aFunction(executor); 7008 Internal.call(this); 7009 try { 7010 executor(ctx($resolve, this, 1), ctx($reject, this, 1)); 7011 } catch (err) { 7012 $reject.call(this, err); 7013 } 7014 }; 7015 // eslint-disable-next-line no-unused-vars 7016 Internal = function Promise(executor) { 7017 this._c = []; // <- awaiting reactions 7018 this._a = undefined; // <- checked in isUnhandled reactions 7019 this._s = 0; // <- state 7020 this._d = false; // <- done 7021 this._v = undefined; // <- value 7022 this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled 7023 this._n = false; // <- notify 7024 }; 7025 Internal.prototype = __webpack_require__(42)($Promise.prototype, { 7026 // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) 7027 then: function then(onFulfilled, onRejected) { 7028 var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); 7029 reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; 7030 reaction.fail = typeof onRejected == 'function' && onRejected; 7031 reaction.domain = isNode ? process.domain : undefined; 7032 this._c.push(reaction); 7033 if (this._a) this._a.push(reaction); 7034 if (this._s) notify(this, false); 7035 return reaction.promise; 7036 }, 7037 // 25.4.5.1 Promise.prototype.catch(onRejected) 7038 'catch': function (onRejected) { 7039 return this.then(undefined, onRejected); 7040 } 7041 }); 7042 OwnPromiseCapability = function () { 7043 var promise = new Internal(); 7044 this.promise = promise; 7045 this.resolve = ctx($resolve, promise, 1); 7046 this.reject = ctx($reject, promise, 1); 7047 }; 7048 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 7049 return C === $Promise || C === Wrapper 7050 ? new OwnPromiseCapability(C) 7051 : newGenericPromiseCapability(C); 7052 }; 7053} 7054 7055$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); 7056__webpack_require__(44)($Promise, PROMISE); 7057__webpack_require__(39)(PROMISE); 7058Wrapper = __webpack_require__(19)[PROMISE]; 7059 7060// statics 7061$export($export.S + $export.F * !USE_NATIVE, PROMISE, { 7062 // 25.4.4.5 Promise.reject(r) 7063 reject: function reject(r) { 7064 var capability = newPromiseCapability(this); 7065 var $$reject = capability.reject; 7066 $$reject(r); 7067 return capability.promise; 7068 } 7069}); 7070$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { 7071 // 25.4.4.6 Promise.resolve(x) 7072 resolve: function resolve(x) { 7073 return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); 7074 } 7075}); 7076$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(58)(function (iter) { 7077 $Promise.all(iter)['catch'](empty); 7078})), PROMISE, { 7079 // 25.4.4.1 Promise.all(iterable) 7080 all: function all(iterable) { 7081 var C = this; 7082 var capability = newPromiseCapability(C); 7083 var resolve = capability.resolve; 7084 var reject = capability.reject; 7085 var result = perform(function () { 7086 var values = []; 7087 var index = 0; 7088 var remaining = 1; 7089 forOf(iterable, false, function (promise) { 7090 var $index = index++; 7091 var alreadyCalled = false; 7092 values.push(undefined); 7093 remaining++; 7094 C.resolve(promise).then(function (value) { 7095 if (alreadyCalled) return; 7096 alreadyCalled = true; 7097 values[$index] = value; 7098 --remaining || resolve(values); 7099 }, reject); 7100 }); 7101 --remaining || resolve(values); 7102 }); 7103 if (result.e) reject(result.v); 7104 return capability.promise; 7105 }, 7106 // 25.4.4.4 Promise.race(iterable) 7107 race: function race(iterable) { 7108 var C = this; 7109 var capability = newPromiseCapability(C); 7110 var reject = capability.reject; 7111 var result = perform(function () { 7112 forOf(iterable, false, function (promise) { 7113 C.resolve(promise).then(capability.resolve, reject); 7114 }); 7115 }); 7116 if (result.e) reject(result.v); 7117 return capability.promise; 7118 } 7119}); 7120 7121 7122/***/ }), 7123/* 245 */ 7124/***/ (function(module, exports, __webpack_require__) { 7125 7126"use strict"; 7127 7128var weak = __webpack_require__(122); 7129var validate = __webpack_require__(43); 7130var WEAK_SET = 'WeakSet'; 7131 7132// 23.4 WeakSet Objects 7133__webpack_require__(62)(WEAK_SET, function (get) { 7134 return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 7135}, { 7136 // 23.4.3.1 WeakSet.prototype.add(value) 7137 add: function add(value) { 7138 return weak.def(validate(this, WEAK_SET), value, true); 7139 } 7140}, weak, false, true); 7141 7142 7143/***/ }), 7144/* 246 */ 7145/***/ (function(module, exports, __webpack_require__) { 7146 7147"use strict"; 7148 7149var $export = __webpack_require__(0); 7150var $typed = __webpack_require__(63); 7151var buffer = __webpack_require__(93); 7152var anObject = __webpack_require__(1); 7153var toAbsoluteIndex = __webpack_require__(36); 7154var toLength = __webpack_require__(7); 7155var isObject = __webpack_require__(5); 7156var ArrayBuffer = __webpack_require__(2).ArrayBuffer; 7157var speciesConstructor = __webpack_require__(52); 7158var $ArrayBuffer = buffer.ArrayBuffer; 7159var $DataView = buffer.DataView; 7160var $isView = $typed.ABV && ArrayBuffer.isView; 7161var $slice = $ArrayBuffer.prototype.slice; 7162var VIEW = $typed.VIEW; 7163var ARRAY_BUFFER = 'ArrayBuffer'; 7164 7165$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); 7166 7167$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { 7168 // 24.1.3.1 ArrayBuffer.isView(arg) 7169 isView: function isView(it) { 7170 return $isView && $isView(it) || isObject(it) && VIEW in it; 7171 } 7172}); 7173 7174$export($export.P + $export.U + $export.F * __webpack_require__(4)(function () { 7175 return !new $ArrayBuffer(2).slice(1, undefined).byteLength; 7176}), ARRAY_BUFFER, { 7177 // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) 7178 slice: function slice(start, end) { 7179 if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix 7180 var len = anObject(this).byteLength; 7181 var first = toAbsoluteIndex(start, len); 7182 var fin = toAbsoluteIndex(end === undefined ? len : end, len); 7183 var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); 7184 var viewS = new $DataView(this); 7185 var viewT = new $DataView(result); 7186 var index = 0; 7187 while (first < fin) { 7188 viewT.setUint8(index++, viewS.getUint8(first++)); 7189 } return result; 7190 } 7191}); 7192 7193__webpack_require__(39)(ARRAY_BUFFER); 7194 7195 7196/***/ }), 7197/* 247 */ 7198/***/ (function(module, exports, __webpack_require__) { 7199 7200var $export = __webpack_require__(0); 7201$export($export.G + $export.W + $export.F * !__webpack_require__(63).ABV, { 7202 DataView: __webpack_require__(93).DataView 7203}); 7204 7205 7206/***/ }), 7207/* 248 */ 7208/***/ (function(module, exports, __webpack_require__) { 7209 7210__webpack_require__(28)('Int8', 1, function (init) { 7211 return function Int8Array(data, byteOffset, length) { 7212 return init(this, data, byteOffset, length); 7213 }; 7214}); 7215 7216 7217/***/ }), 7218/* 249 */ 7219/***/ (function(module, exports, __webpack_require__) { 7220 7221__webpack_require__(28)('Uint8', 1, function (init) { 7222 return function Uint8Array(data, byteOffset, length) { 7223 return init(this, data, byteOffset, length); 7224 }; 7225}); 7226 7227 7228/***/ }), 7229/* 250 */ 7230/***/ (function(module, exports, __webpack_require__) { 7231 7232__webpack_require__(28)('Uint8', 1, function (init) { 7233 return function Uint8ClampedArray(data, byteOffset, length) { 7234 return init(this, data, byteOffset, length); 7235 }; 7236}, true); 7237 7238 7239/***/ }), 7240/* 251 */ 7241/***/ (function(module, exports, __webpack_require__) { 7242 7243__webpack_require__(28)('Int16', 2, function (init) { 7244 return function Int16Array(data, byteOffset, length) { 7245 return init(this, data, byteOffset, length); 7246 }; 7247}); 7248 7249 7250/***/ }), 7251/* 252 */ 7252/***/ (function(module, exports, __webpack_require__) { 7253 7254__webpack_require__(28)('Uint16', 2, function (init) { 7255 return function Uint16Array(data, byteOffset, length) { 7256 return init(this, data, byteOffset, length); 7257 }; 7258}); 7259 7260 7261/***/ }), 7262/* 253 */ 7263/***/ (function(module, exports, __webpack_require__) { 7264 7265__webpack_require__(28)('Int32', 4, function (init) { 7266 return function Int32Array(data, byteOffset, length) { 7267 return init(this, data, byteOffset, length); 7268 }; 7269}); 7270 7271 7272/***/ }), 7273/* 254 */ 7274/***/ (function(module, exports, __webpack_require__) { 7275 7276__webpack_require__(28)('Uint32', 4, function (init) { 7277 return function Uint32Array(data, byteOffset, length) { 7278 return init(this, data, byteOffset, length); 7279 }; 7280}); 7281 7282 7283/***/ }), 7284/* 255 */ 7285/***/ (function(module, exports, __webpack_require__) { 7286 7287__webpack_require__(28)('Float32', 4, function (init) { 7288 return function Float32Array(data, byteOffset, length) { 7289 return init(this, data, byteOffset, length); 7290 }; 7291}); 7292 7293 7294/***/ }), 7295/* 256 */ 7296/***/ (function(module, exports, __webpack_require__) { 7297 7298__webpack_require__(28)('Float64', 8, function (init) { 7299 return function Float64Array(data, byteOffset, length) { 7300 return init(this, data, byteOffset, length); 7301 }; 7302}); 7303 7304 7305/***/ }), 7306/* 257 */ 7307/***/ (function(module, exports, __webpack_require__) { 7308 7309// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) 7310var $export = __webpack_require__(0); 7311var aFunction = __webpack_require__(11); 7312var anObject = __webpack_require__(1); 7313var rApply = (__webpack_require__(2).Reflect || {}).apply; 7314var fApply = Function.apply; 7315// MS Edge argumentsList argument is optional 7316$export($export.S + $export.F * !__webpack_require__(4)(function () { 7317 rApply(function () { /* empty */ }); 7318}), 'Reflect', { 7319 apply: function apply(target, thisArgument, argumentsList) { 7320 var T = aFunction(target); 7321 var L = anObject(argumentsList); 7322 return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); 7323 } 7324}); 7325 7326 7327/***/ }), 7328/* 258 */ 7329/***/ (function(module, exports, __webpack_require__) { 7330 7331// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) 7332var $export = __webpack_require__(0); 7333var create = __webpack_require__(37); 7334var aFunction = __webpack_require__(11); 7335var anObject = __webpack_require__(1); 7336var isObject = __webpack_require__(5); 7337var fails = __webpack_require__(4); 7338var bind = __webpack_require__(102); 7339var rConstruct = (__webpack_require__(2).Reflect || {}).construct; 7340 7341// MS Edge supports only 2 arguments and argumentsList argument is optional 7342// FF Nightly sets third argument as `new.target`, but does not create `this` from it 7343var NEW_TARGET_BUG = fails(function () { 7344 function F() { /* empty */ } 7345 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); 7346}); 7347var ARGS_BUG = !fails(function () { 7348 rConstruct(function () { /* empty */ }); 7349}); 7350 7351$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { 7352 construct: function construct(Target, args /* , newTarget */) { 7353 aFunction(Target); 7354 anObject(args); 7355 var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); 7356 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); 7357 if (Target == newTarget) { 7358 // w/o altered newTarget, optimization for 0-4 arguments 7359 switch (args.length) { 7360 case 0: return new Target(); 7361 case 1: return new Target(args[0]); 7362 case 2: return new Target(args[0], args[1]); 7363 case 3: return new Target(args[0], args[1], args[2]); 7364 case 4: return new Target(args[0], args[1], args[2], args[3]); 7365 } 7366 // w/o altered newTarget, lot of arguments case 7367 var $args = [null]; 7368 $args.push.apply($args, args); 7369 return new (bind.apply(Target, $args))(); 7370 } 7371 // with altered newTarget, not support built-in constructors 7372 var proto = newTarget.prototype; 7373 var instance = create(isObject(proto) ? proto : Object.prototype); 7374 var result = Function.apply.call(Target, instance, args); 7375 return isObject(result) ? result : instance; 7376 } 7377}); 7378 7379 7380/***/ }), 7381/* 259 */ 7382/***/ (function(module, exports, __webpack_require__) { 7383 7384// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) 7385var dP = __webpack_require__(9); 7386var $export = __webpack_require__(0); 7387var anObject = __webpack_require__(1); 7388var toPrimitive = __webpack_require__(24); 7389 7390// MS Edge has broken Reflect.defineProperty - throwing instead of returning false 7391$export($export.S + $export.F * __webpack_require__(4)(function () { 7392 // eslint-disable-next-line no-undef 7393 Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); 7394}), 'Reflect', { 7395 defineProperty: function defineProperty(target, propertyKey, attributes) { 7396 anObject(target); 7397 propertyKey = toPrimitive(propertyKey, true); 7398 anObject(attributes); 7399 try { 7400 dP.f(target, propertyKey, attributes); 7401 return true; 7402 } catch (e) { 7403 return false; 7404 } 7405 } 7406}); 7407 7408 7409/***/ }), 7410/* 260 */ 7411/***/ (function(module, exports, __webpack_require__) { 7412 7413// 26.1.4 Reflect.deleteProperty(target, propertyKey) 7414var $export = __webpack_require__(0); 7415var gOPD = __webpack_require__(17).f; 7416var anObject = __webpack_require__(1); 7417 7418$export($export.S, 'Reflect', { 7419 deleteProperty: function deleteProperty(target, propertyKey) { 7420 var desc = gOPD(anObject(target), propertyKey); 7421 return desc && !desc.configurable ? false : delete target[propertyKey]; 7422 } 7423}); 7424 7425 7426/***/ }), 7427/* 261 */ 7428/***/ (function(module, exports, __webpack_require__) { 7429 7430"use strict"; 7431 7432// 26.1.5 Reflect.enumerate(target) 7433var $export = __webpack_require__(0); 7434var anObject = __webpack_require__(1); 7435var Enumerate = function (iterated) { 7436 this._t = anObject(iterated); // target 7437 this._i = 0; // next index 7438 var keys = this._k = []; // keys 7439 var key; 7440 for (key in iterated) keys.push(key); 7441}; 7442__webpack_require__(79)(Enumerate, 'Object', function () { 7443 var that = this; 7444 var keys = that._k; 7445 var key; 7446 do { 7447 if (that._i >= keys.length) return { value: undefined, done: true }; 7448 } while (!((key = keys[that._i++]) in that._t)); 7449 return { value: key, done: false }; 7450}); 7451 7452$export($export.S, 'Reflect', { 7453 enumerate: function enumerate(target) { 7454 return new Enumerate(target); 7455 } 7456}); 7457 7458 7459/***/ }), 7460/* 262 */ 7461/***/ (function(module, exports, __webpack_require__) { 7462 7463// 26.1.6 Reflect.get(target, propertyKey [, receiver]) 7464var gOPD = __webpack_require__(17); 7465var getPrototypeOf = __webpack_require__(18); 7466var has = __webpack_require__(15); 7467var $export = __webpack_require__(0); 7468var isObject = __webpack_require__(5); 7469var anObject = __webpack_require__(1); 7470 7471function get(target, propertyKey /* , receiver */) { 7472 var receiver = arguments.length < 3 ? target : arguments[2]; 7473 var desc, proto; 7474 if (anObject(target) === receiver) return target[propertyKey]; 7475 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') 7476 ? desc.value 7477 : desc.get !== undefined 7478 ? desc.get.call(receiver) 7479 : undefined; 7480 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); 7481} 7482 7483$export($export.S, 'Reflect', { get: get }); 7484 7485 7486/***/ }), 7487/* 263 */ 7488/***/ (function(module, exports, __webpack_require__) { 7489 7490// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) 7491var gOPD = __webpack_require__(17); 7492var $export = __webpack_require__(0); 7493var anObject = __webpack_require__(1); 7494 7495$export($export.S, 'Reflect', { 7496 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { 7497 return gOPD.f(anObject(target), propertyKey); 7498 } 7499}); 7500 7501 7502/***/ }), 7503/* 264 */ 7504/***/ (function(module, exports, __webpack_require__) { 7505 7506// 26.1.8 Reflect.getPrototypeOf(target) 7507var $export = __webpack_require__(0); 7508var getProto = __webpack_require__(18); 7509var anObject = __webpack_require__(1); 7510 7511$export($export.S, 'Reflect', { 7512 getPrototypeOf: function getPrototypeOf(target) { 7513 return getProto(anObject(target)); 7514 } 7515}); 7516 7517 7518/***/ }), 7519/* 265 */ 7520/***/ (function(module, exports, __webpack_require__) { 7521 7522// 26.1.9 Reflect.has(target, propertyKey) 7523var $export = __webpack_require__(0); 7524 7525$export($export.S, 'Reflect', { 7526 has: function has(target, propertyKey) { 7527 return propertyKey in target; 7528 } 7529}); 7530 7531 7532/***/ }), 7533/* 266 */ 7534/***/ (function(module, exports, __webpack_require__) { 7535 7536// 26.1.10 Reflect.isExtensible(target) 7537var $export = __webpack_require__(0); 7538var anObject = __webpack_require__(1); 7539var $isExtensible = Object.isExtensible; 7540 7541$export($export.S, 'Reflect', { 7542 isExtensible: function isExtensible(target) { 7543 anObject(target); 7544 return $isExtensible ? $isExtensible(target) : true; 7545 } 7546}); 7547 7548 7549/***/ }), 7550/* 267 */ 7551/***/ (function(module, exports, __webpack_require__) { 7552 7553// 26.1.11 Reflect.ownKeys(target) 7554var $export = __webpack_require__(0); 7555 7556$export($export.S, 'Reflect', { ownKeys: __webpack_require__(124) }); 7557 7558 7559/***/ }), 7560/* 268 */ 7561/***/ (function(module, exports, __webpack_require__) { 7562 7563// 26.1.12 Reflect.preventExtensions(target) 7564var $export = __webpack_require__(0); 7565var anObject = __webpack_require__(1); 7566var $preventExtensions = Object.preventExtensions; 7567 7568$export($export.S, 'Reflect', { 7569 preventExtensions: function preventExtensions(target) { 7570 anObject(target); 7571 try { 7572 if ($preventExtensions) $preventExtensions(target); 7573 return true; 7574 } catch (e) { 7575 return false; 7576 } 7577 } 7578}); 7579 7580 7581/***/ }), 7582/* 269 */ 7583/***/ (function(module, exports, __webpack_require__) { 7584 7585// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) 7586var dP = __webpack_require__(9); 7587var gOPD = __webpack_require__(17); 7588var getPrototypeOf = __webpack_require__(18); 7589var has = __webpack_require__(15); 7590var $export = __webpack_require__(0); 7591var createDesc = __webpack_require__(33); 7592var anObject = __webpack_require__(1); 7593var isObject = __webpack_require__(5); 7594 7595function set(target, propertyKey, V /* , receiver */) { 7596 var receiver = arguments.length < 4 ? target : arguments[3]; 7597 var ownDesc = gOPD.f(anObject(target), propertyKey); 7598 var existingDescriptor, proto; 7599 if (!ownDesc) { 7600 if (isObject(proto = getPrototypeOf(target))) { 7601 return set(proto, propertyKey, V, receiver); 7602 } 7603 ownDesc = createDesc(0); 7604 } 7605 if (has(ownDesc, 'value')) { 7606 if (ownDesc.writable === false || !isObject(receiver)) return false; 7607 if (existingDescriptor = gOPD.f(receiver, propertyKey)) { 7608 if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; 7609 existingDescriptor.value = V; 7610 dP.f(receiver, propertyKey, existingDescriptor); 7611 } else dP.f(receiver, propertyKey, createDesc(0, V)); 7612 return true; 7613 } 7614 return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); 7615} 7616 7617$export($export.S, 'Reflect', { set: set }); 7618 7619 7620/***/ }), 7621/* 270 */ 7622/***/ (function(module, exports, __webpack_require__) { 7623 7624// 26.1.14 Reflect.setPrototypeOf(target, proto) 7625var $export = __webpack_require__(0); 7626var setProto = __webpack_require__(72); 7627 7628if (setProto) $export($export.S, 'Reflect', { 7629 setPrototypeOf: function setPrototypeOf(target, proto) { 7630 setProto.check(target, proto); 7631 try { 7632 setProto.set(target, proto); 7633 return true; 7634 } catch (e) { 7635 return false; 7636 } 7637 } 7638}); 7639 7640 7641/***/ }), 7642/* 271 */ 7643/***/ (function(module, exports, __webpack_require__) { 7644 7645"use strict"; 7646 7647// https://github.com/tc39/Array.prototype.includes 7648var $export = __webpack_require__(0); 7649var $includes = __webpack_require__(53)(true); 7650 7651$export($export.P, 'Array', { 7652 includes: function includes(el /* , fromIndex = 0 */) { 7653 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); 7654 } 7655}); 7656 7657__webpack_require__(32)('includes'); 7658 7659 7660/***/ }), 7661/* 272 */ 7662/***/ (function(module, exports, __webpack_require__) { 7663 7664"use strict"; 7665 7666// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap
vendor: 9,404 bytes, lines 7667-8020
7667var $export = __webpack_require__(0); 7668var flattenIntoArray = __webpack_require__(125); 7669var toObject = __webpack_require__(10); 7670var toLength = __webpack_require__(7); 7671var aFunction = __webpack_require__(11); 7672var arraySpeciesCreate = __webpack_require__(85); 7673 7674$export($export.P, 'Array', { 7675 flatMap: function flatMap(callbackfn /* , thisArg */) { 7676 var O = toObject(this); 7677 var sourceLen, A; 7678 aFunction(callbackfn); 7679 sourceLen = toLength(O.length); 7680 A = arraySpeciesCreate(O, 0); 7681 flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); 7682 return A; 7683 } 7684}); 7685 7686__webpack_require__(32)('flatMap'); 7687 7688 7689/***/ }), 7690/* 273 */ 7691/***/ (function(module, exports, __webpack_require__) { 7692 7693"use strict"; 7694 7695// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten 7696var $export = __webpack_require__(0); 7697var flattenIntoArray = __webpack_require__(125); 7698var toObject = __webpack_require__(10); 7699var toLength = __webpack_require__(7); 7700var toInteger = __webpack_require__(22); 7701var arraySpeciesCreate = __webpack_require__(85); 7702 7703$export($export.P, 'Array', { 7704 flatten: function flatten(/* depthArg = 1 */) { 7705 var depthArg = arguments[0]; 7706 var O = toObject(this); 7707 var sourceLen = toLength(O.length); 7708 var A = arraySpeciesCreate(O, 0); 7709 flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); 7710 return A; 7711 } 7712}); 7713 7714__webpack_require__(32)('flatten'); 7715 7716 7717/***/ }), 7718/* 274 */ 7719/***/ (function(module, exports, __webpack_require__) { 7720 7721"use strict"; 7722 7723// https://github.com/mathiasbynens/String.prototype.at 7724var $export = __webpack_require__(0); 7725var $at = __webpack_require__(56)(true); 7726var $fails = __webpack_require__(4); 7727 7728var FORCED = $fails(function () { 7729 return 'ð ®·'.at(0) !== 'ð ®·'; 7730}); 7731 7732$export($export.P + $export.F * FORCED, 'String', { 7733 at: function at(pos) { 7734 return $at(this, pos); 7735 } 7736}); 7737 7738 7739/***/ }), 7740/* 275 */ 7741/***/ (function(module, exports, __webpack_require__) { 7742 7743"use strict"; 7744 7745// https://github.com/tc39/proposal-string-pad-start-end 7746var $export = __webpack_require__(0); 7747var $pad = __webpack_require__(126); 7748var userAgent = __webpack_require__(61); 7749 7750// https://github.com/zloirock/core-js/issues/280 7751var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 7752 7753$export($export.P + $export.F * WEBKIT_BUG, 'String', { 7754 padStart: function padStart(maxLength /* , fillString = ' ' */) { 7755 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); 7756 } 7757}); 7758 7759 7760/***/ }), 7761/* 276 */ 7762/***/ (function(module, exports, __webpack_require__) { 7763 7764"use strict"; 7765 7766// https://github.com/tc39/proposal-string-pad-start-end 7767var $export = __webpack_require__(0); 7768var $pad = __webpack_require__(126); 7769var userAgent = __webpack_require__(61); 7770 7771// https://github.com/zloirock/core-js/issues/280 7772var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 7773 7774$export($export.P + $export.F * WEBKIT_BUG, 'String', { 7775 padEnd: function padEnd(maxLength /* , fillString = ' ' */) { 7776 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); 7777 } 7778}); 7779 7780 7781/***/ }), 7782/* 277 */ 7783/***/ (function(module, exports, __webpack_require__) { 7784 7785"use strict"; 7786 7787// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 7788__webpack_require__(46)('trimLeft', function ($trim) { 7789 return function trimLeft() { 7790 return $trim(this, 1); 7791 }; 7792}, 'trimStart'); 7793 7794 7795/***/ }), 7796/* 278 */ 7797/***/ (function(module, exports, __webpack_require__) { 7798 7799"use strict"; 7800 7801// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 7802__webpack_require__(46)('trimRight', function ($trim) { 7803 return function trimRight() { 7804 return $trim(this, 2); 7805 }; 7806}, 'trimEnd'); 7807 7808 7809/***/ }), 7810/* 279 */ 7811/***/ (function(module, exports, __webpack_require__) { 7812 7813"use strict"; 7814 7815// https://tc39.github.io/String.prototype.matchAll/ 7816var $export = __webpack_require__(0); 7817var defined = __webpack_require__(25); 7818var toLength = __webpack_require__(7); 7819var isRegExp = __webpack_require__(57); 7820var getFlags = __webpack_require__(51); 7821var RegExpProto = RegExp.prototype; 7822 7823var $RegExpStringIterator = function (regexp, string) { 7824 this._r = regexp; 7825 this._s = string; 7826}; 7827 7828__webpack_require__(79)($RegExpStringIterator, 'RegExp String', function next() { 7829 var match = this._r.exec(this._s); 7830 return { value: match, done: match === null }; 7831}); 7832 7833$export($export.P, 'String', { 7834 matchAll: function matchAll(regexp) { 7835 defined(this); 7836 if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); 7837 var S = String(this); 7838 var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); 7839 var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); 7840 rx.lastIndex = toLength(regexp.lastIndex); 7841 return new $RegExpStringIterator(rx, S); 7842 } 7843}); 7844 7845 7846/***/ }), 7847/* 280 */ 7848/***/ (function(module, exports, __webpack_require__) { 7849 7850__webpack_require__(68)('asyncIterator'); 7851 7852 7853/***/ }), 7854/* 281 */ 7855/***/ (function(module, exports, __webpack_require__) { 7856 7857__webpack_require__(68)('observable'); 7858 7859 7860/***/ }), 7861/* 282 */ 7862/***/ (function(module, exports, __webpack_require__) { 7863 7864// https://github.com/tc39/proposal-object-getownpropertydescriptors 7865var $export = __webpack_require__(0); 7866var ownKeys = __webpack_require__(124); 7867var toIObject = __webpack_require__(16); 7868var gOPD = __webpack_require__(17); 7869var createProperty = __webpack_require__(83); 7870 7871$export($export.S, 'Object', { 7872 getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { 7873 var O = toIObject(object); 7874 var getDesc = gOPD.f; 7875 var keys = ownKeys(O); 7876 var result = {}; 7877 var i = 0; 7878 var key, desc; 7879 while (keys.length > i) { 7880 desc = getDesc(O, key = keys[i++]); 7881 if (desc !== undefined) createProperty(result, key, desc); 7882 } 7883 return result; 7884 } 7885}); 7886 7887 7888/***/ }), 7889/* 283 */ 7890/***/ (function(module, exports, __webpack_require__) { 7891 7892// https://github.com/tc39/proposal-object-values-entries 7893var $export = __webpack_require__(0); 7894var $values = __webpack_require__(127)(false); 7895 7896$export($export.S, 'Object', { 7897 values: function values(it) { 7898 return $values(it); 7899 } 7900}); 7901 7902 7903/***/ }), 7904/* 284 */ 7905/***/ (function(module, exports, __webpack_require__) { 7906 7907// https://github.com/tc39/proposal-object-values-entries 7908var $export = __webpack_require__(0); 7909var $entries = __webpack_require__(127)(true); 7910 7911$export($export.S, 'Object', { 7912 entries: function entries(it) { 7913 return $entries(it); 7914 } 7915}); 7916 7917 7918/***/ }), 7919/* 285 */ 7920/***/ (function(module, exports, __webpack_require__) { 7921 7922"use strict"; 7923 7924var $export = __webpack_require__(0); 7925var toObject = __webpack_require__(10); 7926var aFunction = __webpack_require__(11); 7927var $defineProperty = __webpack_require__(9); 7928 7929// B.2.2.2 Object.prototype.__defineGetter__(P, getter) 7930__webpack_require__(8) && $export($export.P + __webpack_require__(64), 'Object', { 7931 __defineGetter__: function __defineGetter__(P, getter) { 7932 $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); 7933 } 7934}); 7935 7936 7937/***/ }), 7938/* 286 */ 7939/***/ (function(module, exports, __webpack_require__) { 7940 7941"use strict"; 7942 7943var $export = __webpack_require__(0); 7944var toObject = __webpack_require__(10); 7945var aFunction = __webpack_require__(11); 7946var $defineProperty = __webpack_require__(9); 7947 7948// B.2.2.3 Object.prototype.__defineSetter__(P, setter) 7949__webpack_require__(8) && $export($export.P + __webpack_require__(64), 'Object', { 7950 __defineSetter__: function __defineSetter__(P, setter) { 7951 $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); 7952 } 7953}); 7954 7955 7956/***/ }), 7957/* 287 */ 7958/***/ (function(module, exports, __webpack_require__) { 7959 7960"use strict"; 7961 7962var $export = __webpack_require__(0); 7963var toObject = __webpack_require__(10); 7964var toPrimitive = __webpack_require__(24); 7965var getPrototypeOf = __webpack_require__(18); 7966var getOwnPropertyDescriptor = __webpack_require__(17).f; 7967 7968// B.2.2.4 Object.prototype.__lookupGetter__(P) 7969__webpack_require__(8) && $export($export.P + __webpack_require__(64), 'Object', { 7970 __lookupGetter__: function __lookupGetter__(P) { 7971 var O = toObject(this); 7972 var K = toPrimitive(P, true); 7973 var D; 7974 do { 7975 if (D = getOwnPropertyDescriptor(O, K)) return D.get; 7976 } while (O = getPrototypeOf(O)); 7977 } 7978}); 7979 7980 7981/***/ }), 7982/* 288 */ 7983/***/ (function(module, exports, __webpack_require__) { 7984 7985"use strict"; 7986 7987var $export = __webpack_require__(0); 7988var toObject = __webpack_require__(10); 7989var toPrimitive = __webpack_require__(24); 7990var getPrototypeOf = __webpack_require__(18); 7991var getOwnPropertyDescriptor = __webpack_require__(17).f; 7992 7993// B.2.2.5 Object.prototype.__lookupSetter__(P) 7994__webpack_require__(8) && $export($export.P + __webpack_require__(64), 'Object', { 7995 __lookupSetter__: function __lookupSetter__(P) { 7996 var O = toObject(this); 7997 var K = toPrimitive(P, true); 7998 var D; 7999 do { 8000 if (D = getOwnPropertyDescriptor(O, K)) return D.set; 8001 } while (O = getPrototypeOf(O)); 8002 } 8003}); 8004 8005 8006/***/ }), 8007/* 289 */ 8008/***/ (function(module, exports, __webpack_require__) { 8009 8010// https://github.com/DavidBruant/Map-Set.prototype.toJSON 8011var $export = __webpack_require__(0); 8012 8013$export($export.P + $export.R, 'Map', { toJSON: __webpack_require__(128)('Map') }); 8014 8015 8016/***/ }), 8017/* 290 */ 8018/***/ (function(module, exports, __webpack_require__) { 8019 8020// https://github.com/DavidBruant/Map-Set.prototype.toJSON
8021var $export = __webpack_require__(0); 8022 8023$export($export.P + $export.R, 'Set', { toJSON: __webpack_require__(128)('Set') }); 8024 8025 8026/***/ }), 8027/* 291 */ 8028/***/ (function(module, exports, __webpack_require__) { 8029 8030// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of 8031__webpack_require__(65)('Map'); 8032 8033 8034/***/ }), 8035/* 292 */ 8036/***/ (function(module, exports, __webpack_require__) { 8037 8038// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of 8039__webpack_require__(65)('Set'); 8040 8041 8042/***/ }), 8043/* 293 */ 8044/***/ (function(module, exports, __webpack_require__) { 8045 8046// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of 8047__webpack_require__(65)('WeakMap'); 8048 8049 8050/***/ }), 8051/* 294 */ 8052/***/ (function(module, exports, __webpack_require__) { 8053 8054// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of 8055__webpack_require__(65)('WeakSet'); 8056 8057 8058/***/ }), 8059/* 295 */ 8060/***/ (function(module, exports, __webpack_require__) { 8061 8062// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from 8063__webpack_require__(66)('Map'); 8064 8065 8066/***/ }), 8067/* 296 */ 8068/***/ (function(module, exports, __webpack_require__) { 8069 8070// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from 8071__webpack_require__(66)('Set'); 8072 8073
8074/***/ }), 8075/* 297 */ 8076/***/ (function(module, exports, __webpack_require__) { 8077 8078// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from 8079__webpack_require__(66)('WeakMap'); 8080 8081 8082/***/ }), 8083/* 298 */ 8084/***/ (function(module, exports, __webpack_require__) { 8085 8086// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from 8087__webpack_require__(66)('WeakSet'); 8088 8089 8090/***/ }), 8091/* 299 */ 8092/***/ (function(module, exports, __webpack_require__) { 8093 8094// https://github.com/tc39/proposal-global 8095var $export = __webpack_require__(0); 8096 8097$export($export.G, { global: __webpack_require__(2) }); 8098 8099 8100/***/ }), 8101/* 300 */ 8102/***/ (function(module, exports, __webpack_require__) { 8103 8104// https://github.com/tc39/proposal-global 8105var $export = __webpack_require__(0); 8106 8107$export($export.S, 'System', { global: __webpack_require__(2) }); 8108 8109 8110/***/ }), 8111/* 301 */ 8112/***/ (function(module, exports, __webpack_require__) { 8113 8114// https://github.com/ljharb/proposal-is-error 8115var $export = __webpack_require__(0); 8116var cof = __webpack_require__(21); 8117 8118$export($export.S, 'Error', { 8119 isError: function isError(it) { 8120 return cof(it) === 'Error'; 8121 } 8122}); 8123 8124 8125/***/ }), 8126/* 302 */ 8127/***/ (function(module, exports, __webpack_require__) { 8128 8129// https://rwaldron.github.io/proposal-math-extensions/
8130var $export = __webpack_require__(0); 8131 8132$export($export.S, 'Math', { 8133 clamp: function clamp(x, lower, upper) { 8134 return Math.min(upper, Math.max(lower, x)); 8135 } 8136}); 8137 8138 8139/***/ }), 8140/* 303 */ 8141/***/ (function(module, exports, __webpack_require__) { 8142 8143// https://rwaldron.github.io/proposal-math-extensions/ 8144var $export = __webpack_require__(0); 8145 8146$export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); 8147 8148 8149/***/ }), 8150/* 304 */ 8151/***/ (function(module, exports, __webpack_require__) { 8152 8153// https://rwaldron.github.io/proposal-math-extensions/ 8154var $export = __webpack_require__(0); 8155var RAD_PER_DEG = 180 / Math.PI; 8156 8157$export($export.S, 'Math', { 8158 degrees: function degrees(radians) { 8159 return radians * RAD_PER_DEG; 8160 } 8161}); 8162 8163 8164/***/ }), 8165/* 305 */ 8166/***/ (function(module, exports, __webpack_require__) { 8167 8168// https://rwaldron.github.io/proposal-math-extensions/ 8169var $export = __webpack_require__(0); 8170var scale = __webpack_require__(130); 8171var fround = __webpack_require__(109); 8172 8173$export($export.S, 'Math', { 8174 fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { 8175 return fround(scale(x, inLow, inHigh, outLow, outHigh)); 8176 } 8177}); 8178 8179 8180/***/ }), 8181/* 306 */ 8182/***/ (function(module, exports, __webpack_require__) { 8183 8184// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 8185var $export = __webpack_require__(0); 8186 8187$export($export.S, 'Math', { 8188 iaddh: function iaddh(x0, x1, y0, y1) { 8189 var $x0 = x0 >>> 0; 8190 var $x1 = x1 >>> 0;
vendor: 12,353 bytes, lines 8191-8614
8191 var $y0 = y0 >>> 0; 8192 return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; 8193 } 8194}); 8195 8196 8197/***/ }), 8198/* 307 */ 8199/***/ (function(module, exports, __webpack_require__) { 8200 8201// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 8202var $export = __webpack_require__(0); 8203 8204$export($export.S, 'Math', { 8205 isubh: function isubh(x0, x1, y0, y1) { 8206 var $x0 = x0 >>> 0; 8207 var $x1 = x1 >>> 0; 8208 var $y0 = y0 >>> 0; 8209 return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; 8210 } 8211}); 8212 8213 8214/***/ }), 8215/* 308 */ 8216/***/ (function(module, exports, __webpack_require__) { 8217 8218// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 8219var $export = __webpack_require__(0); 8220 8221$export($export.S, 'Math', { 8222 imulh: function imulh(u, v) { 8223 var UINT16 = 0xffff; 8224 var $u = +u; 8225 var $v = +v; 8226 var u0 = $u & UINT16; 8227 var v0 = $v & UINT16; 8228 var u1 = $u >> 16; 8229 var v1 = $v >> 16; 8230 var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); 8231 return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); 8232 } 8233}); 8234 8235 8236/***/ }), 8237/* 309 */ 8238/***/ (function(module, exports, __webpack_require__) { 8239 8240// https://rwaldron.github.io/proposal-math-extensions/ 8241var $export = __webpack_require__(0); 8242 8243$export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); 8244 8245 8246/***/ }), 8247/* 310 */ 8248/***/ (function(module, exports, __webpack_require__) { 8249 8250// https://rwaldron.github.io/proposal-math-extensions/ 8251var $export = __webpack_require__(0); 8252var DEG_PER_RAD = Math.PI / 180; 8253 8254$export($export.S, 'Math', { 8255 radians: function radians(degrees) { 8256 return degrees * DEG_PER_RAD; 8257 } 8258}); 8259 8260 8261/***/ }), 8262/* 311 */ 8263/***/ (function(module, exports, __webpack_require__) { 8264 8265// https://rwaldron.github.io/proposal-math-extensions/ 8266var $export = __webpack_require__(0); 8267 8268$export($export.S, 'Math', { scale: __webpack_require__(130) }); 8269 8270 8271/***/ }), 8272/* 312 */ 8273/***/ (function(module, exports, __webpack_require__) { 8274 8275// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 8276var $export = __webpack_require__(0); 8277 8278$export($export.S, 'Math', { 8279 umulh: function umulh(u, v) { 8280 var UINT16 = 0xffff; 8281 var $u = +u; 8282 var $v = +v; 8283 var u0 = $u & UINT16; 8284 var v0 = $v & UINT16; 8285 var u1 = $u >>> 16; 8286 var v1 = $v >>> 16; 8287 var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); 8288 return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); 8289 } 8290}); 8291 8292 8293/***/ }), 8294/* 313 */ 8295/***/ (function(module, exports, __webpack_require__) { 8296 8297// http://jfbastien.github.io/papers/Math.signbit.html 8298var $export = __webpack_require__(0); 8299 8300$export($export.S, 'Math', { signbit: function signbit(x) { 8301 // eslint-disable-next-line no-self-compare 8302 return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; 8303} }); 8304 8305 8306/***/ }), 8307/* 314 */ 8308/***/ (function(module, exports, __webpack_require__) { 8309 8310"use strict"; 8311// https://github.com/tc39/proposal-promise-finally 8312 8313var $export = __webpack_require__(0); 8314var core = __webpack_require__(19); 8315var global = __webpack_require__(2); 8316var speciesConstructor = __webpack_require__(52); 8317var promiseResolve = __webpack_require__(117); 8318 8319$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { 8320 var C = speciesConstructor(this, core.Promise || global.Promise); 8321 var isFunction = typeof onFinally == 'function'; 8322 return this.then( 8323 isFunction ? function (x) { 8324 return promiseResolve(C, onFinally()).then(function () { return x; }); 8325 } : onFinally, 8326 isFunction ? function (e) { 8327 return promiseResolve(C, onFinally()).then(function () { throw e; }); 8328 } : onFinally 8329 ); 8330} }); 8331 8332 8333/***/ }), 8334/* 315 */ 8335/***/ (function(module, exports, __webpack_require__) { 8336 8337"use strict"; 8338 8339// https://github.com/tc39/proposal-promise-try 8340var $export = __webpack_require__(0); 8341var newPromiseCapability = __webpack_require__(92); 8342var perform = __webpack_require__(116); 8343 8344$export($export.S, 'Promise', { 'try': function (callbackfn) { 8345 var promiseCapability = newPromiseCapability.f(this); 8346 var result = perform(callbackfn); 8347 (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); 8348 return promiseCapability.promise; 8349} }); 8350 8351 8352/***/ }), 8353/* 316 */ 8354/***/ (function(module, exports, __webpack_require__) { 8355 8356var metadata = __webpack_require__(29); 8357var anObject = __webpack_require__(1); 8358var toMetaKey = metadata.key; 8359var ordinaryDefineOwnMetadata = metadata.set; 8360 8361metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { 8362 ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); 8363} }); 8364 8365 8366/***/ }), 8367/* 317 */ 8368/***/ (function(module, exports, __webpack_require__) { 8369 8370var metadata = __webpack_require__(29); 8371var anObject = __webpack_require__(1); 8372var toMetaKey = metadata.key; 8373var getOrCreateMetadataMap = metadata.map; 8374var store = metadata.store; 8375 8376metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { 8377 var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); 8378 var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); 8379 if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; 8380 if (metadataMap.size) return true; 8381 var targetMetadata = store.get(target); 8382 targetMetadata['delete'](targetKey); 8383 return !!targetMetadata.size || store['delete'](target); 8384} }); 8385 8386 8387/***/ }), 8388/* 318 */ 8389/***/ (function(module, exports, __webpack_require__) { 8390 8391var metadata = __webpack_require__(29); 8392var anObject = __webpack_require__(1); 8393var getPrototypeOf = __webpack_require__(18); 8394var ordinaryHasOwnMetadata = metadata.has; 8395var ordinaryGetOwnMetadata = metadata.get; 8396var toMetaKey = metadata.key; 8397 8398var ordinaryGetMetadata = function (MetadataKey, O, P) { 8399 var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); 8400 if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); 8401 var parent = getPrototypeOf(O); 8402 return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; 8403}; 8404 8405metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { 8406 return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); 8407} }); 8408 8409 8410/***/ }), 8411/* 319 */ 8412/***/ (function(module, exports, __webpack_require__) { 8413 8414var Set = __webpack_require__(120); 8415var from = __webpack_require__(129); 8416var metadata = __webpack_require__(29); 8417var anObject = __webpack_require__(1); 8418var getPrototypeOf = __webpack_require__(18); 8419var ordinaryOwnMetadataKeys = metadata.keys; 8420var toMetaKey = metadata.key; 8421 8422var ordinaryMetadataKeys = function (O, P) { 8423 var oKeys = ordinaryOwnMetadataKeys(O, P); 8424 var parent = getPrototypeOf(O); 8425 if (parent === null) return oKeys; 8426 var pKeys = ordinaryMetadataKeys(parent, P); 8427 return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; 8428}; 8429 8430metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { 8431 return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); 8432} }); 8433 8434 8435/***/ }), 8436/* 320 */ 8437/***/ (function(module, exports, __webpack_require__) { 8438 8439var metadata = __webpack_require__(29); 8440var anObject = __webpack_require__(1); 8441var ordinaryGetOwnMetadata = metadata.get; 8442var toMetaKey = metadata.key; 8443 8444metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { 8445 return ordinaryGetOwnMetadata(metadataKey, anObject(target) 8446 , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); 8447} }); 8448 8449 8450/***/ }), 8451/* 321 */ 8452/***/ (function(module, exports, __webpack_require__) { 8453 8454var metadata = __webpack_require__(29); 8455var anObject = __webpack_require__(1); 8456var ordinaryOwnMetadataKeys = metadata.keys; 8457var toMetaKey = metadata.key; 8458 8459metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { 8460 return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); 8461} }); 8462 8463 8464/***/ }), 8465/* 322 */ 8466/***/ (function(module, exports, __webpack_require__) { 8467 8468var metadata = __webpack_require__(29); 8469var anObject = __webpack_require__(1); 8470var getPrototypeOf = __webpack_require__(18); 8471var ordinaryHasOwnMetadata = metadata.has; 8472var toMetaKey = metadata.key; 8473 8474var ordinaryHasMetadata = function (MetadataKey, O, P) { 8475 var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); 8476 if (hasOwn) return true; 8477 var parent = getPrototypeOf(O); 8478 return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; 8479}; 8480 8481metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { 8482 return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); 8483} }); 8484 8485 8486/***/ }), 8487/* 323 */ 8488/***/ (function(module, exports, __webpack_require__) { 8489 8490var metadata = __webpack_require__(29); 8491var anObject = __webpack_require__(1); 8492var ordinaryHasOwnMetadata = metadata.has; 8493var toMetaKey = metadata.key; 8494 8495metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { 8496 return ordinaryHasOwnMetadata(metadataKey, anObject(target) 8497 , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); 8498} }); 8499 8500 8501/***/ }), 8502/* 324 */ 8503/***/ (function(module, exports, __webpack_require__) { 8504 8505var $metadata = __webpack_require__(29); 8506var anObject = __webpack_require__(1); 8507var aFunction = __webpack_require__(11); 8508var toMetaKey = $metadata.key; 8509var ordinaryDefineOwnMetadata = $metadata.set; 8510 8511$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { 8512 return function decorator(target, targetKey) { 8513 ordinaryDefineOwnMetadata( 8514 metadataKey, metadataValue, 8515 (targetKey !== undefined ? anObject : aFunction)(target), 8516 toMetaKey(targetKey) 8517 ); 8518 }; 8519} }); 8520 8521 8522/***/ }), 8523/* 325 */ 8524/***/ (function(module, exports, __webpack_require__) { 8525 8526// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask 8527var $export = __webpack_require__(0); 8528var microtask = __webpack_require__(91)(); 8529var process = __webpack_require__(2).process; 8530var isNode = __webpack_require__(21)(process) == 'process'; 8531 8532$export($export.G, { 8533 asap: function asap(fn) { 8534 var domain = isNode && process.domain; 8535 microtask(domain ? domain.bind(fn) : fn); 8536 } 8537}); 8538 8539 8540/***/ }), 8541/* 326 */ 8542/***/ (function(module, exports, __webpack_require__) { 8543 8544"use strict"; 8545 8546// https://github.com/zenparsing/es-observable 8547var $export = __webpack_require__(0); 8548var global = __webpack_require__(2); 8549var core = __webpack_require__(19); 8550var microtask = __webpack_require__(91)(); 8551var OBSERVABLE = __webpack_require__(6)('observable'); 8552var aFunction = __webpack_require__(11); 8553var anObject = __webpack_require__(1); 8554var anInstance = __webpack_require__(40); 8555var redefineAll = __webpack_require__(42); 8556var hide = __webpack_require__(12); 8557var forOf = __webpack_require__(41); 8558var RETURN = forOf.RETURN; 8559 8560var getMethod = function (fn) { 8561 return fn == null ? undefined : aFunction(fn); 8562}; 8563 8564var cleanupSubscription = function (subscription) { 8565 var cleanup = subscription._c; 8566 if (cleanup) { 8567 subscription._c = undefined; 8568 cleanup(); 8569 } 8570}; 8571 8572var subscriptionClosed = function (subscription) { 8573 return subscription._o === undefined; 8574}; 8575 8576var closeSubscription = function (subscription) { 8577 if (!subscriptionClosed(subscription)) { 8578 subscription._o = undefined; 8579 cleanupSubscription(subscription); 8580 } 8581}; 8582 8583var Subscription = function (observer, subscriber) { 8584 anObject(observer); 8585 this._c = undefined; 8586 this._o = observer; 8587 observer = new SubscriptionObserver(this); 8588 try { 8589 var cleanup = subscriber(observer); 8590 var subscription = cleanup; 8591 if (cleanup != null) { 8592 if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; 8593 else aFunction(cleanup); 8594 this._c = cleanup; 8595 } 8596 } catch (e) { 8597 observer.error(e); 8598 return; 8599 } if (subscriptionClosed(this)) cleanupSubscription(this); 8600}; 8601 8602Subscription.prototype = redefineAll({}, { 8603 unsubscribe: function unsubscribe() { closeSubscription(this); } 8604}); 8605 8606var SubscriptionObserver = function (subscription) { 8607 this._s = subscription; 8608}; 8609 8610SubscriptionObserver.prototype = redefineAll({}, { 8611 next: function next(value) { 8612 var subscription = this._s; 8613 if (!subscriptionClosed(subscription)) { 8614 var observer = subscription._o;
vendor: 4,445 bytes, lines 8615-8775
8615 try { 8616 var m = getMethod(observer.next); 8617 if (m) return m.call(observer, value); 8618 } catch (e) { 8619 try { 8620 closeSubscription(subscription); 8621 } finally { 8622 throw e; 8623 } 8624 } 8625 } 8626 }, 8627 error: function error(value) { 8628 var subscription = this._s; 8629 if (subscriptionClosed(subscription)) throw value; 8630 var observer = subscription._o; 8631 subscription._o = undefined; 8632 try { 8633 var m = getMethod(observer.error); 8634 if (!m) throw value; 8635 value = m.call(observer, value); 8636 } catch (e) { 8637 try { 8638 cleanupSubscription(subscription); 8639 } finally { 8640 throw e; 8641 } 8642 } cleanupSubscription(subscription); 8643 return value; 8644 }, 8645 complete: function complete(value) { 8646 var subscription = this._s; 8647 if (!subscriptionClosed(subscription)) { 8648 var observer = subscription._o; 8649 subscription._o = undefined; 8650 try { 8651 var m = getMethod(observer.complete); 8652 value = m ? m.call(observer, value) : undefined; 8653 } catch (e) { 8654 try { 8655 cleanupSubscription(subscription); 8656 } finally { 8657 throw e; 8658 } 8659 } cleanupSubscription(subscription); 8660 return value; 8661 } 8662 } 8663}); 8664 8665var $Observable = function Observable(subscriber) { 8666 anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); 8667}; 8668 8669redefineAll($Observable.prototype, { 8670 subscribe: function subscribe(observer) { 8671 return new Subscription(observer, this._f); 8672 }, 8673 forEach: function forEach(fn) { 8674 var that = this; 8675 return new (core.Promise || global.Promise)(function (resolve, reject) { 8676 aFunction(fn); 8677 var subscription = that.subscribe({ 8678 next: function (value) { 8679 try { 8680 return fn(value); 8681 } catch (e) { 8682 reject(e); 8683 subscription.unsubscribe(); 8684 } 8685 }, 8686 error: reject, 8687 complete: resolve 8688 }); 8689 }); 8690 } 8691}); 8692 8693redefineAll($Observable, { 8694 from: function from(x) { 8695 var C = typeof this === 'function' ? this : $Observable; 8696 var method = getMethod(anObject(x)[OBSERVABLE]); 8697 if (method) { 8698 var observable = anObject(method.call(x)); 8699 return observable.constructor === C ? observable : new C(function (observer) { 8700 return observable.subscribe(observer); 8701 }); 8702 } 8703 return new C(function (observer) { 8704 var done = false; 8705 microtask(function () { 8706 if (!done) { 8707 try { 8708 if (forOf(x, false, function (it) { 8709 observer.next(it); 8710 if (done) return RETURN; 8711 }) === RETURN) return; 8712 } catch (e) { 8713 if (done) throw e; 8714 observer.error(e); 8715 return; 8716 } observer.complete(); 8717 } 8718 }); 8719 return function () { done = true; }; 8720 }); 8721 }, 8722 of: function of() { 8723 for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++]; 8724 return new (typeof this === 'function' ? this : $Observable)(function (observer) { 8725 var done = false; 8726 microtask(function () { 8727 if (!done) { 8728 for (var j = 0; j < items.length; ++j) { 8729 observer.next(items[j]); 8730 if (done) return; 8731 } observer.complete(); 8732 } 8733 }); 8734 return function () { done = true; }; 8735 }); 8736 } 8737}); 8738 8739hide($Observable.prototype, OBSERVABLE, function () { return this; }); 8740 8741$export($export.G, { Observable: $Observable }); 8742 8743__webpack_require__(39)('Observable'); 8744 8745 8746/***/ }), 8747/* 327 */ 8748/***/ (function(module, exports, __webpack_require__) { 8749 8750// ie9- setTimeout & setInterval additional parameters fix 8751var global = __webpack_require__(2); 8752var $export = __webpack_require__(0); 8753var userAgent = __webpack_require__(61); 8754var slice = [].slice; 8755var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check 8756var wrap = function (set) { 8757 return function (fn, time /* , ...args */) { 8758 var boundArgs = arguments.length > 2; 8759 var args = boundArgs ? slice.call(arguments, 2) : false; 8760 return set(boundArgs ? function () { 8761 // eslint-disable-next-line no-new-func 8762 (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); 8763 } : fn, time); 8764 }; 8765}; 8766$export($export.G + $export.B + $export.F * MSIE, { 8767 setTimeout: wrap(global.setTimeout), 8768 setInterval: wrap(global.setInterval) 8769}); 8770 8771 8772/***/ }), 8773/* 328 */ 8774/***/ (function(module, exports, __webpack_require__) { 8775
vendor: 2,186 bytes, lines 8776-8852
8776var $export = __webpack_require__(0); 8777var $task = __webpack_require__(90); 8778$export($export.G + $export.B, { 8779 setImmediate: $task.set, 8780 clearImmediate: $task.clear 8781}); 8782 8783 8784/***/ }), 8785/* 329 */ 8786/***/ (function(module, exports, __webpack_require__) { 8787 8788var $iterators = __webpack_require__(87); 8789var getKeys = __webpack_require__(35); 8790var redefine = __webpack_require__(13); 8791var global = __webpack_require__(2); 8792var hide = __webpack_require__(12); 8793var Iterators = __webpack_require__(47); 8794var wks = __webpack_require__(6); 8795var ITERATOR = wks('iterator'); 8796var TO_STRING_TAG = wks('toStringTag'); 8797var ArrayValues = Iterators.Array; 8798 8799var DOMIterables = { 8800 CSSRuleList: true, // TODO: Not spec compliant, should be false. 8801 CSSStyleDeclaration: false, 8802 CSSValueList: false, 8803 ClientRectList: false, 8804 DOMRectList: false, 8805 DOMStringList: false, 8806 DOMTokenList: true, 8807 DataTransferItemList: false, 8808 FileList: false, 8809 HTMLAllCollection: false, 8810 HTMLCollection: false, 8811 HTMLFormElement: false, 8812 HTMLSelectElement: false, 8813 MediaList: true, // TODO: Not spec compliant, should be false. 8814 MimeTypeArray: false, 8815 NamedNodeMap: false, 8816 NodeList: true, 8817 PaintRequestList: false, 8818 Plugin: false, 8819 PluginArray: false, 8820 SVGLengthList: false, 8821 SVGNumberList: false, 8822 SVGPathSegList: false, 8823 SVGPointList: false, 8824 SVGStringList: false, 8825 SVGTransformList: false, 8826 SourceBufferList: false, 8827 StyleSheetList: true, // TODO: Not spec compliant, should be false. 8828 TextTrackCueList: false, 8829 TextTrackList: false, 8830 TouchList: false 8831}; 8832 8833for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { 8834 var NAME = collections[i]; 8835 var explicit = DOMIterables[NAME]; 8836 var Collection = global[NAME]; 8837 var proto = Collection && Collection.prototype; 8838 var key; 8839 if (proto) { 8840 if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); 8841 if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); 8842 Iterators[NAME] = ArrayValues; 8843 if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); 8844 } 8845} 8846 8847 8848/***/ }), 8849/* 330 */ 8850/***/ (function(module, exports, __webpack_require__) { 8851 8852/* WEBPACK VAR INJECTION */(function(global) {
vendor: 24,432 bytes, lines 8852-9588
8852/** 8853 * Copyright (c) 2014, Facebook, Inc. 8854 * All rights reserved. 8855 * 8856 * This source code is licensed under the BSD-style license found in the 8857 * https://raw.github.com/facebook/regenerator/master/LICENSE file. An 8858 * additional grant of patent rights can be found in the PATENTS file in 8859 * the same directory. 8860 */ 8861 8862!(function(global) { 8863 "use strict"; 8864 8865 var Op = Object.prototype; 8866 var hasOwn = Op.hasOwnProperty; 8867 var undefined; // More compressible than void 0. 8868 var $Symbol = typeof Symbol === "function" ? Symbol : {}; 8869 var iteratorSymbol = $Symbol.iterator || "@@iterator"; 8870 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; 8871 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; 8872 8873 var inModule = typeof module === "object"; 8874 var runtime = global.regeneratorRuntime; 8875 if (runtime) { 8876 if (inModule) { 8877 // If regeneratorRuntime is defined globally and we're in a module, 8878 // make the exports object identical to regeneratorRuntime. 8879 module.exports = runtime; 8880 } 8881 // Don't bother evaluating the rest of this file if the runtime was 8882 // already defined globally. 8883 return; 8884 } 8885 8886 // Define the runtime globally (as expected by generated code) as either 8887 // module.exports (if we're in a module) or a new, empty object. 8888 runtime = global.regeneratorRuntime = inModule ? module.exports : {}; 8889 8890 function wrap(innerFn, outerFn, self, tryLocsList) { 8891 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. 8892 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; 8893 var generator = Object.create(protoGenerator.prototype); 8894 var context = new Context(tryLocsList || []); 8895 8896 // The ._invoke method unifies the implementations of the .next, 8897 // .throw, and .return methods. 8898 generator._invoke = makeInvokeMethod(innerFn, self, context); 8899 8900 return generator; 8901 } 8902 runtime.wrap = wrap; 8903 8904 // Try/catch helper to minimize deoptimizations. Returns a completion 8905 // record like context.tryEntries[i].completion. This interface could 8906 // have been (and was previously) designed to take a closure to be 8907 // invoked without arguments, but in all the cases we care about we 8908 // already have an existing method we want to call, so there's no need 8909 // to create a new function object. We can even get away with assuming 8910 // the method takes exactly one argument, since that happens to be true 8911 // in every case, so we don't have to touch the arguments object. The 8912 // only additional allocation required is the completion record, which 8913 // has a stable shape and so hopefully should be cheap to allocate. 8914 function tryCatch(fn, obj, arg) { 8915 try { 8916 return { type: "normal", arg: fn.call(obj, arg) }; 8917 } catch (err) { 8918 return { type: "throw", arg: err }; 8919 } 8920 } 8921 8922 var GenStateSuspendedStart = "suspendedStart"; 8923 var GenStateSuspendedYield = "suspendedYield"; 8924 var GenStateExecuting = "executing"; 8925 var GenStateCompleted = "completed"; 8926 8927 // Returning this object from the innerFn has the same effect as 8928 // breaking out of the dispatch switch statement. 8929 var ContinueSentinel = {}; 8930 8931 // Dummy constructor functions that we use as the .constructor and 8932 // .constructor.prototype properties for functions that return Generator 8933 // objects. For full spec compliance, you may wish to configure your 8934 // minifier not to mangle the names of these two functions. 8935 function Generator() {} 8936 function GeneratorFunction() {} 8937 function GeneratorFunctionPrototype() {} 8938 8939 // This is a polyfill for %IteratorPrototype% for environments that 8940 // don't natively support it. 8941 var IteratorPrototype = {}; 8942 IteratorPrototype[iteratorSymbol] = function () { 8943 return this; 8944 }; 8945 8946 var getProto = Object.getPrototypeOf; 8947 var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); 8948 if (NativeIteratorPrototype && 8949 NativeIteratorPrototype !== Op && 8950 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { 8951 // This environment has a native %IteratorPrototype%; use it instead 8952 // of the polyfill. 8953 IteratorPrototype = NativeIteratorPrototype; 8954 } 8955 8956 var Gp = GeneratorFunctionPrototype.prototype = 8957 Generator.prototype = Object.create(IteratorPrototype); 8958 GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; 8959 GeneratorFunctionPrototype.constructor = GeneratorFunction; 8960 GeneratorFunctionPrototype[toStringTagSymbol] = 8961 GeneratorFunction.displayName = "GeneratorFunction"; 8962 8963 // Helper for defining the .next, .throw, and .return methods of the 8964 // Iterator interface in terms of a single ._invoke method. 8965 function defineIteratorMethods(prototype) { 8966 ["next", "throw", "return"].forEach(function(method) { 8967 prototype[method] = function(arg) { 8968 return this._invoke(method, arg); 8969 }; 8970 }); 8971 } 8972 8973 runtime.isGeneratorFunction = function(genFun) { 8974 var ctor = typeof genFun === "function" && genFun.constructor; 8975 return ctor 8976 ? ctor === GeneratorFunction || 8977 // For the native GeneratorFunction constructor, the best we can 8978 // do is to check its .name property. 8979 (ctor.displayName || ctor.name) === "GeneratorFunction" 8980 : false; 8981 }; 8982 8983 runtime.mark = function(genFun) { 8984 if (Object.setPrototypeOf) { 8985 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 8986 } else { 8987 genFun.__proto__ = GeneratorFunctionPrototype; 8988 if (!(toStringTagSymbol in genFun)) { 8989 genFun[toStringTagSymbol] = "GeneratorFunction"; 8990 } 8991 } 8992 genFun.prototype = Object.create(Gp); 8993 return genFun; 8994 }; 8995 8996 // Within the body of any async function, `await x` is transformed to 8997 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test 8998 // `hasOwn.call(value, "__await")` to determine if the yielded value is 8999 // meant to be awaited. 9000 runtime.awrap = function(arg) { 9001 return { __await: arg }; 9002 }; 9003 9004 function AsyncIterator(generator) { 9005 function invoke(method, arg, resolve, reject) { 9006 var record = tryCatch(generator[method], generator, arg); 9007 if (record.type === "throw") { 9008 reject(record.arg); 9009 } else { 9010 var result = record.arg; 9011 var value = result.value; 9012 if (value && 9013 typeof value === "object" && 9014 hasOwn.call(value, "__await")) { 9015 return Promise.resolve(value.__await).then(function(value) { 9016 invoke("next", value, resolve, reject); 9017 }, function(err) { 9018 invoke("throw", err, resolve, reject); 9019 }); 9020 } 9021 9022 return Promise.resolve(value).then(function(unwrapped) { 9023 // When a yielded Promise is resolved, its final value becomes 9024 // the .value of the Promise<{value,done}> result for the 9025 // current iteration. If the Promise is rejected, however, the 9026 // result for this iteration will be rejected with the same 9027 // reason. Note that rejections of yielded Promises are not 9028 // thrown back into the generator function, as is the case 9029 // when an awaited Promise is rejected. This difference in 9030 // behavior between yield and await is important, because it 9031 // allows the consumer to decide what to do with the yielded 9032 // rejection (swallow it and continue, manually .throw it back 9033 // into the generator, abandon iteration, whatever). With 9034 // await, by contrast, there is no opportunity to examine the 9035 // rejection reason outside the generator function, so the 9036 // only option is to throw it from the await expression, and 9037 // let the generator function handle the exception. 9038 result.value = unwrapped; 9039 resolve(result); 9040 }, reject); 9041 } 9042 } 9043 9044 if (typeof global.process === "object" && global.process.domain) { 9045 invoke = global.process.domain.bind(invoke); 9046 } 9047 9048 var previousPromise; 9049 9050 function enqueue(method, arg) { 9051 function callInvokeWithMethodAndArg() { 9052 return new Promise(function(resolve, reject) { 9053 invoke(method, arg, resolve, reject); 9054 }); 9055 } 9056 9057 return previousPromise = 9058 // If enqueue has been called before, then we want to wait until 9059 // all previous Promises have been resolved before calling invoke, 9060 // so that results are always delivered in the correct order. If 9061 // enqueue has not been called before, then it is important to 9062 // call invoke immediately, without waiting on a callback to fire, 9063 // so that the async generator function has the opportunity to do 9064 // any necessary setup in a predictable way. This predictability 9065 // is why the Promise constructor synchronously invokes its 9066 // executor callback, and why async functions synchronously 9067 // execute code before the first await. Since we implement simple 9068 // async functions in terms of async generators, it is especially 9069 // important to get this right, even though it requires care. 9070 previousPromise ? previousPromise.then( 9071 callInvokeWithMethodAndArg, 9072 // Avoid propagating failures to Promises returned by later 9073 // invocations of the iterator. 9074 callInvokeWithMethodAndArg 9075 ) : callInvokeWithMethodAndArg(); 9076 } 9077 9078 // Define the unified helper method that is used to implement .next, 9079 // .throw, and .return (see defineIteratorMethods). 9080 this._invoke = enqueue; 9081 } 9082 9083 defineIteratorMethods(AsyncIterator.prototype); 9084 AsyncIterator.prototype[asyncIteratorSymbol] = function () { 9085 return this; 9086 }; 9087 runtime.AsyncIterator = AsyncIterator; 9088 9089 // Note that simple async functions are implemented on top of 9090 // AsyncIterator objects; they just return a Promise for the value of 9091 // the final result produced by the iterator. 9092 runtime.async = function(innerFn, outerFn, self, tryLocsList) { 9093 var iter = new AsyncIterator( 9094 wrap(innerFn, outerFn, self, tryLocsList) 9095 ); 9096 9097 return runtime.isGeneratorFunction(outerFn) 9098 ? iter // If outerFn is a generator, return the full iterator. 9099 : iter.next().then(function(result) { 9100 return result.done ? result.value : iter.next(); 9101 }); 9102 }; 9103 9104 function makeInvokeMethod(innerFn, self, context) { 9105 var state = GenStateSuspendedStart; 9106 9107 return function invoke(method, arg) { 9108 if (state === GenStateExecuting) { 9109 throw new Error("Generator is already running"); 9110 } 9111 9112 if (state === GenStateCompleted) { 9113 if (method === "throw") { 9114 throw arg; 9115 } 9116 9117 // Be forgiving, per 25.3.3.3.3 of the spec: 9118 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 9119 return doneResult(); 9120 } 9121 9122 context.method = method; 9123 context.arg = arg; 9124 9125 while (true) { 9126 var delegate = context.delegate; 9127 if (delegate) { 9128 var delegateResult = maybeInvokeDelegate(delegate, context); 9129 if (delegateResult) { 9130 if (delegateResult === ContinueSentinel) continue; 9131 return delegateResult; 9132 } 9133 } 9134 9135 if (context.method === "next") { 9136 // Setting context._sent for legacy support of Babel's 9137 // function.sent implementation. 9138 context.sent = context._sent = context.arg; 9139 9140 } else if (context.method === "throw") { 9141 if (state === GenStateSuspendedStart) { 9142 state = GenStateCompleted; 9143 throw context.arg; 9144 } 9145 9146 context.dispatchException(context.arg); 9147 9148 } else if (context.method === "return") { 9149 context.abrupt("return", context.arg); 9150 } 9151 9152 state = GenStateExecuting; 9153 9154 var record = tryCatch(innerFn, self, context); 9155 if (record.type === "normal") { 9156 // If an exception is thrown from innerFn, we leave state === 9157 // GenStateExecuting and loop back for another invocation. 9158 state = context.done 9159 ? GenStateCompleted 9160 : GenStateSuspendedYield; 9161 9162 if (record.arg === ContinueSentinel) { 9163 continue; 9164 } 9165 9166 return { 9167 value: record.arg, 9168 done: context.done 9169 }; 9170 9171 } else if (record.type === "throw") { 9172 state = GenStateCompleted; 9173 // Dispatch the exception by looping back around to the 9174 // context.dispatchException(context.arg) call above. 9175 context.method = "throw"; 9176 context.arg = record.arg; 9177 } 9178 } 9179 }; 9180 } 9181 9182 // Call delegate.iterator[context.method](context.arg) and handle the 9183 // result, either by returning a { value, done } result from the 9184 // delegate iterator, or by modifying context.method and context.arg, 9185 // setting context.delegate to null, and returning the ContinueSentinel. 9186 function maybeInvokeDelegate(delegate, context) { 9187 var method = delegate.iterator[context.method]; 9188 if (method === undefined) { 9189 // A .throw or .return when the delegate iterator has no .throw 9190 // method always terminates the yield* loop. 9191 context.delegate = null; 9192 9193 if (context.method === "throw") { 9194 if (delegate.iterator.return) { 9195 // If the delegate iterator has a return method, give it a 9196 // chance to clean up. 9197 context.method = "return"; 9198 context.arg = undefined; 9199 maybeInvokeDelegate(delegate, context); 9200 9201 if (context.method === "throw") { 9202 // If maybeInvokeDelegate(context) changed context.method from 9203 // "return" to "throw", let that override the TypeError below. 9204 return ContinueSentinel; 9205 } 9206 } 9207 9208 context.method = "throw"; 9209 context.arg = new TypeError( 9210 "The iterator does not provide a 'throw' method"); 9211 } 9212 9213 return ContinueSentinel; 9214 } 9215 9216 var record = tryCatch(method, delegate.iterator, context.arg); 9217 9218 if (record.type === "throw") { 9219 context.method = "throw"; 9220 context.arg = record.arg; 9221 context.delegate = null; 9222 return ContinueSentinel; 9223 } 9224 9225 var info = record.arg; 9226 9227 if (! info) { 9228 context.method = "throw"; 9229 context.arg = new TypeError("iterator result is not an object"); 9230 context.delegate = null; 9231 return ContinueSentinel; 9232 } 9233 9234 if (info.done) { 9235 // Assign the result of the finished delegate to the temporary 9236 // variable specified by delegate.resultName (see delegateYield). 9237 context[delegate.resultName] = info.value; 9238 9239 // Resume execution at the desired location (see delegateYield). 9240 context.next = delegate.nextLoc; 9241 9242 // If context.method was "throw" but the delegate handled the 9243 // exception, let the outer generator proceed normally. If 9244 // context.method was "next", forget context.arg since it has been 9245 // "consumed" by the delegate iterator. If context.method was 9246 // "return", allow the original .return call to continue in the 9247 // outer generator. 9248 if (context.method !== "return") { 9249 context.method = "next"; 9250 context.arg = undefined; 9251 } 9252 9253 } else { 9254 // Re-yield the result returned by the delegate method. 9255 return info; 9256 } 9257 9258 // The delegate iterator is finished, so forget it and continue with 9259 // the outer generator. 9260 context.delegate = null; 9261 return ContinueSentinel; 9262 } 9263 9264 // Define Generator.prototype.{next,throw,return} in terms of the 9265 // unified ._invoke helper method. 9266 defineIteratorMethods(Gp); 9267 9268 Gp[toStringTagSymbol] = "Generator"; 9269 9270 // A Generator should always return itself as the iterator object when the 9271 // @@iterator function is called on it. Some browsers' implementations of the 9272 // iterator prototype chain incorrectly implement this, causing the Generator 9273 // object to not be returned from this call. This ensures that doesn't happen. 9274 // See https://github.com/facebook/regenerator/issues/274 for more details. 9275 Gp[iteratorSymbol] = function() { 9276 return this; 9277 }; 9278 9279 Gp.toString = function() { 9280 return "[object Generator]"; 9281 }; 9282 9283 function pushTryEntry(locs) { 9284 var entry = { tryLoc: locs[0] }; 9285 9286 if (1 in locs) { 9287 entry.catchLoc = locs[1]; 9288 } 9289 9290 if (2 in locs) { 9291 entry.finallyLoc = locs[2]; 9292 entry.afterLoc = locs[3]; 9293 } 9294 9295 this.tryEntries.push(entry); 9296 } 9297 9298 function resetTryEntry(entry) { 9299 var record = entry.completion || {}; 9300 record.type = "normal"; 9301 delete record.arg; 9302 entry.completion = record; 9303 } 9304 9305 function Context(tryLocsList) { 9306 // The root entry object (effectively a try statement without a catch 9307 // or a finally block) gives us a place to store values thrown from 9308 // locations where there is no enclosing try statement. 9309 this.tryEntries = [{ tryLoc: "root" }]; 9310 tryLocsList.forEach(pushTryEntry, this); 9311 this.reset(true); 9312 } 9313 9314 runtime.keys = function(object) { 9315 var keys = []; 9316 for (var key in object) { 9317 keys.push(key); 9318 } 9319 keys.reverse(); 9320 9321 // Rather than returning an object with a next method, we keep 9322 // things simple and return the next function itself. 9323 return function next() { 9324 while (keys.length) { 9325 var key = keys.pop(); 9326 if (key in object) { 9327 next.value = key; 9328 next.done = false; 9329 return next; 9330 } 9331 } 9332 9333 // To avoid creating an additional object, we just hang the .value 9334 // and .done properties off the next function object itself. This 9335 // also ensures that the minifier will not anonymize the function. 9336 next.done = true; 9337 return next; 9338 }; 9339 }; 9340 9341 function values(iterable) { 9342 if (iterable) { 9343 var iteratorMethod = iterable[iteratorSymbol]; 9344 if (iteratorMethod) { 9345 return iteratorMethod.call(iterable); 9346 } 9347 9348 if (typeof iterable.next === "function") { 9349 return iterable; 9350 } 9351 9352 if (!isNaN(iterable.length)) { 9353 var i = -1, next = function next() { 9354 while (++i < iterable.length) { 9355 if (hasOwn.call(iterable, i)) { 9356 next.value = iterable[i]; 9357 next.done = false; 9358 return next; 9359 } 9360 } 9361 9362 next.value = undefined; 9363 next.done = true; 9364 9365 return next; 9366 }; 9367 9368 return next.next = next; 9369 } 9370 } 9371 9372 // Return an iterator with no values. 9373 return { next: doneResult }; 9374 } 9375 runtime.values = values; 9376 9377 function doneResult() { 9378 return { value: undefined, done: true }; 9379 } 9380 9381 Context.prototype = { 9382 constructor: Context, 9383 9384 reset: function(skipTempReset) { 9385 this.prev = 0; 9386 this.next = 0; 9387 // Resetting context._sent for legacy support of Babel's 9388 // function.sent implementation. 9389 this.sent = this._sent = undefined; 9390 this.done = false; 9391 this.delegate = null; 9392 9393 this.method = "next"; 9394 this.arg = undefined; 9395 9396 this.tryEntries.forEach(resetTryEntry); 9397 9398 if (!skipTempReset) { 9399 for (var name in this) { 9400 // Not sure about the optimal order of these conditions: 9401 if (name.charAt(0) === "t" && 9402 hasOwn.call(this, name) && 9403 !isNaN(+name.slice(1))) { 9404 this[name] = undefined; 9405 } 9406 } 9407 } 9408 }, 9409 9410 stop: function() { 9411 this.done = true; 9412 9413 var rootEntry = this.tryEntries[0]; 9414 var rootRecord = rootEntry.completion; 9415 if (rootRecord.type === "throw") { 9416 throw rootRecord.arg; 9417 } 9418 9419 return this.rval; 9420 }, 9421 9422 dispatchException: function(exception) { 9423 if (this.done) { 9424 throw exception; 9425 } 9426 9427 var context = this; 9428 function handle(loc, caught) { 9429 record.type = "throw"; 9430 record.arg = exception; 9431 context.next = loc; 9432 9433 if (caught) { 9434 // If the dispatched exception was caught by a catch block, 9435 // then let that catch block handle the exception normally. 9436 context.method = "next"; 9437 context.arg = undefined; 9438 } 9439 9440 return !! caught; 9441 } 9442 9443 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 9444 var entry = this.tryEntries[i]; 9445 var record = entry.completion; 9446 9447 if (entry.tryLoc === "root") { 9448 // Exception thrown outside of any try block that could handle 9449 // it, so set the completion value of the entire function to 9450 // throw the exception. 9451 return handle("end"); 9452 } 9453 9454 if (entry.tryLoc <= this.prev) { 9455 var hasCatch = hasOwn.call(entry, "catchLoc"); 9456 var hasFinally = hasOwn.call(entry, "finallyLoc"); 9457 9458 if (hasCatch && hasFinally) { 9459 if (this.prev < entry.catchLoc) { 9460 return handle(entry.catchLoc, true); 9461 } else if (this.prev < entry.finallyLoc) { 9462 return handle(entry.finallyLoc); 9463 } 9464 9465 } else if (hasCatch) { 9466 if (this.prev < entry.catchLoc) { 9467 return handle(entry.catchLoc, true); 9468 } 9469 9470 } else if (hasFinally) { 9471 if (this.prev < entry.finallyLoc) { 9472 return handle(entry.finallyLoc); 9473 } 9474 9475 } else { 9476 throw new Error("try statement without catch or finally"); 9477 } 9478 } 9479 } 9480 }, 9481 9482 abrupt: function(type, arg) { 9483 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 9484 var entry = this.tryEntries[i]; 9485 if (entry.tryLoc <= this.prev && 9486 hasOwn.call(entry, "finallyLoc") && 9487 this.prev < entry.finallyLoc) { 9488 var finallyEntry = entry; 9489 break; 9490 } 9491 } 9492 9493 if (finallyEntry && 9494 (type === "break" || 9495 type === "continue") && 9496 finallyEntry.tryLoc <= arg && 9497 arg <= finallyEntry.finallyLoc) { 9498 // Ignore the finally entry if control is not jumping to a 9499 // location outside the try/catch block. 9500 finallyEntry = null; 9501 } 9502 9503 var record = finallyEntry ? finallyEntry.completion : {}; 9504 record.type = type; 9505 record.arg = arg; 9506 9507 if (finallyEntry) { 9508 this.method = "next"; 9509 this.next = finallyEntry.finallyLoc; 9510 return ContinueSentinel; 9511 } 9512 9513 return this.complete(record); 9514 }, 9515 9516 complete: function(record, afterLoc) { 9517 if (record.type === "throw") { 9518 throw record.arg; 9519 } 9520 9521 if (record.type === "break" || 9522 record.type === "continue") { 9523 this.next = record.arg; 9524 } else if (record.type === "return") { 9525 this.rval = this.arg = record.arg; 9526 this.method = "return"; 9527 this.next = "end"; 9528 } else if (record.type === "normal" && afterLoc) { 9529 this.next = afterLoc; 9530 } 9531 9532 return ContinueSentinel; 9533 }, 9534 9535 finish: function(finallyLoc) { 9536 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 9537 var entry = this.tryEntries[i]; 9538 if (entry.finallyLoc === finallyLoc) { 9539 this.complete(entry.completion, entry.afterLoc); 9540 resetTryEntry(entry); 9541 return ContinueSentinel; 9542 } 9543 } 9544 }, 9545 9546 "catch": function(tryLoc) { 9547 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 9548 var entry = this.tryEntries[i]; 9549 if (entry.tryLoc === tryLoc) { 9550 var record = entry.completion; 9551 if (record.type === "throw") { 9552 var thrown = record.arg; 9553 resetTryEntry(entry); 9554 } 9555 return thrown; 9556 } 9557 } 9558 9559 // The context.catch method must only be called with a location 9560 // argument that corresponds to a known catch block. 9561 throw new Error("illegal catch attempt"); 9562 }, 9563 9564 delegateYield: function(iterable, resultName, nextLoc) { 9565 this.delegate = { 9566 iterator: values(iterable), 9567 resultName: resultName, 9568 nextLoc: nextLoc 9569 }; 9570 9571 if (this.method === "next") { 9572 // Deliberately forget the last sent value so that we don't 9573 // accidentally pass it on to the delegate. 9574 this.arg = undefined; 9575 } 9576 9577 return ContinueSentinel; 9578 } 9579 }; 9580})( 9581 // Among the various tricks for obtaining a reference to the global 9582 // object, this seems to be the most reliable technique that does not 9583 // use indirect eval (which violates Content Security Policy). 9584 typeof global === "object" ? global : 9585 typeof window === "object" ? window : 9586 typeof self === "object" ? self : this 9587); 9588
9589/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(94))) 9590 9591/***/ }), 9592/* 331 */ 9593/***/ (function(module, exports, __webpack_require__) { 9594 9595__webpack_require__(332); 9596module.exports = __webpack_require__(19).RegExp.escape; 9597 9598 9599/***/ }), 9600/* 332 */ 9601/***/ (function(module, exports, __webpack_require__) { 9602 9603// https://github.com/benjamingr/RexExp.escape 9604var $export = __webpack_require__(0); 9605var $re = __webpack_require__(333)(/[\\^$*+?.()|[\]{}]/g, '\\$&'); 9606 9607$export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } }); 9608 9609 9610/***/ }), 9611/* 333 */ 9612/***/ (function(module, exports) { 9613 9614module.exports = function (regExp, replace) { 9615 var replacer = replace === Object(replace) ? function (part) { 9616 return replace[part]; 9617 } : replace; 9618 return function (it) { 9619 return String(it).replace(regExp, replacer); 9620 }; 9621}; 9622 9623 9624/***/ }), 9625/* 334 */ 9626/***/ (function(module, exports, __webpack_require__) { 9627 9628var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 9629 9630/*! 9631 * JavaScript Custom Forms 9632 * 9633 * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf 9634 * Released under the MIT license (LICENSE.txt) 9635 * 9636 * Version: 1.2.3 9637 */ 9638!function (e, t) { 9639 "use strict"; 9640 true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3)], __WEBPACK_AMD_DEFINE_FACTORY__ = (t), 9641 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 9642 (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), 9643 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : "object" == (typeof exports === "undefined" ? "undefined" : _typeof(exports)) ? module.exports = t(require("jquery")) : e.jcf = t(jQuery); 9644}(this, function (e) { 9645 "use strict"; 9646 var t = "1.2.3", 9647 n = [], 9648 o = { optionsKey: "jcf", dataKey: "jcf-instance", rtlClass: "jcf-rtl", focusClass: "jcf-focus", pressedClass: "jcf-pressed", disabledClass: "jcf-disabled", hiddenClass: "jcf-hidden", resetAppearanceClass: "jcf-reset-appearance", unselectableClass: "jcf-unselectable" }, 9649 a = "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch, 9650 i = /Windows Phone/.test(navigator.userAgent);o.isMobileDevice = !(!a && !i);var r = function r() { 9651 var t = e("<style>").appendTo("head"), 9652 n = t.prop("sheet") || t.prop("styleSheet"), 9653 a = function a(e, t, o) { 9654 o = o || 0, n.insertRule ? n.insertRule(e + "{" + t + "}", o) : n.addRule(e, t, o); 9655 };a("." + o.hiddenClass, "position:absolute !important;left:-9999px !important;height:1px !important;width:1px !important;margin:0 !important;border-width:0 !important;-webkit-appearance:none;-moz-appearance:none;appearance:none"), a("." + o.rtlClass + " ." + o.hiddenClass, "right:-9999px !important; left: auto !important"), a("." + o.unselectableClass, "-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0);"), a("." + o.resetAppearanceClass, "background: none; border: none; -webkit-appearance: none; appearance: none; opacity: 0; filter: alpha(opacity=0);");var i = e("html"), 9656 r = e("body");"rtl" !== i.css("direction") && "rtl" !== r.css("direction") || i.addClass(o.rtlClass), i.on("reset", function () { 9657 setTimeout(function () { 9658 c.refreshAll(); 9659 }, 0); 9660 }), o.styleSheetCreated = !0; 9661 };!function () { 9662 var t, 9663 n = navigator.pointerEnabled || navigator.msPointerEnabled, 9664 o = "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch, 9665 a = {}, 9666 i = "jcf-";t = n ? { pointerover: navigator.pointerEnabled ? "pointerover" : "MSPointerOver", pointerdown: navigator.pointerEnabled ? "pointerdown" : "MSPointerDown", pointermove: navigator.pointerEnabled ? "pointermove" : "MSPointerMove", pointerup: navigator.pointerEnabled ? "pointerup" : "MSPointerUp" } : { pointerover: "mouseover", pointerdown: "mousedown" + (o ? " touchstart" : ""), pointermove: "mousemove" + (o ? " touchmove" : ""), pointerup: "mouseup" + (o ? " touchend" : "") }, e.each(t, function (t, n) { 9667 e.each(n.split(" "), function (e, n) { 9668 a[n] = t; 9669 }); 9670 }), e.each(t, function (t, n) { 9671 n = n.split(" "), e.event.special[i + t] = { setup: function setup() { 9672 var t = this;e.each(n, function (e, n) { 9673 t.addEventListener ? t.addEventListener(n, c, !1) : t["on" + n] = c; 9674 }); 9675 }, teardown: function teardown() { 9676 var t = this;e.each(n, function (e, n) { 9677 t.addEventListener ? t.removeEventListener(n, c, !1) : t["on" + n] = null; 9678 }); 9679 } }; 9680 });var r = null, 9681 s = function s(e) { 9682 var t = Math.abs(e.pageX - r.x), 9683 n = Math.abs(e.pageY - r.y), 9684 o = 25;return o >= t && o >= n ? !0 : void 0; 9685 }, 9686 c = function c(t) { 9687 var n = t || window.event, 9688 o = null, 9689 c = a[n.type];if (t = e.event.fix(n), t.type = i + c, n.pointerType) switch (n.pointerType) {case 2: 9690 t.pointerType = "touch";break;case 3: 9691 t.pointerType = "pen";break;case 4: 9692 t.pointerType = "mouse";break;default: 9693 t.pointerType = n.pointerType;} else t.pointerType = n.type.substr(0, 5);return t.pageX || t.pageY || (o = n.changedTouches ? n.changedTouches[0] : n, t.pageX = o.pageX, t.pageY = o.pageY), "touchend" === n.type && (r = { x: t.pageX, y: t.pageY }), "mouse" === t.pointerType && r && s(t) ? void 0 : (e.event.dispatch || e.event.handle).call(this, t); 9694 }; 9695 }(), function () {
9696 var t = ("onwheel" in document || document.documentMode >= 9 ? "wheel" : "mousewheel DOMMouseScroll").split(" "), 9697 n = "jcf-mousewheel";e.event.special[n] = { setup: function setup() { 9698 var n = this;e.each(t, function (e, t) { 9699 n.addEventListener ? n.addEventListener(t, o, !1) : n["on" + t] = o; 9700 }); 9701 }, teardown: function teardown() { 9702 var n = this;e.each(t, function (e, t) { 9703 n.addEventListener ? n.removeEventListener(t, o, !1) : n["on" + t] = null; 9704 }); 9705 } };var o = function o(t) { 9706 var o = t || window.event;if (t = e.event.fix(o), t.type = n, "detail" in o && (t.deltaY = -o.detail), "wheelDelta" in o && (t.deltaY = -o.wheelDelta), "wheelDeltaY" in o && (t.deltaY = -o.wheelDeltaY), "wheelDeltaX" in o && (t.deltaX = -o.wheelDeltaX), "deltaY" in o && (t.deltaY = o.deltaY), "deltaX" in o && (t.deltaX = o.deltaX), t.delta = t.deltaY || t.deltaX, 1 === o.deltaMode) { 9707 var a = 16;t.delta *= a, t.deltaY *= a, t.deltaX *= a; 9708 }return (e.event.dispatch || e.event.handle).call(this, t); 9709 }; 9710 }();var s = { fireNativeEvent: function fireNativeEvent(t, n) { 9711 e(t).each(function () { 9712 var e, 9713 t = this;t.dispatchEvent ? (e = document.createEvent("HTMLEvents"), e.initEvent(n, !0, !0), t.dispatchEvent(e)) : document.createEventObject && (e = document.createEventObject(), e.target = t, t.fireEvent("on" + n, e)); 9714 }); 9715 }, bindHandlers: function bindHandlers() { 9716 var t = this;e.each(t, function (n, o) { 9717 0 === n.indexOf("on") && e.isFunction(o) && (t[n] = function () { 9718 return o.apply(t, arguments); 9719 }); 9720 }); 9721 } }, 9722 c = { version: t, modules: {}, getOptions: function getOptions() { 9723 return e.extend({}, o); 9724 }, setOptions: function setOptions(t, n) { 9725 arguments.length > 1 ? this.modules[t] && e.extend(this.modules[t].prototype.options, n) : e.extend(o, t); 9726 }, addModule: function addModule(t) { 9727 e.isFunction(t) && (t = t(e, window));var a = function a(t) { 9728 t.element.data(o.dataKey) || t.element.data(o.dataKey, this), n.push(this), this.options = e.extend({}, o, this.options, i(t.element), t), this.bindHandlers(), this.init.apply(this, arguments); 9729 }, 9730 i = function i(t) { 9731 var n = t.data(o.optionsKey), 9732 a = t.attr(o.optionsKey);if (n) return n;if (a) try { 9733 return e.parseJSON(a); 9734 } catch (i) {} 9735 };a.prototype = t, e.extend(t, s), t.plugins && e.each(t.plugins, function (t, n) { 9736 e.extend(n.prototype, s); 9737 });var r = a.prototype.destroy;a.prototype.destroy = function () { 9738 this.options.element.removeData(this.options.dataKey);for (var e = n.length - 1; e >= 0; e--) { 9739 if (n[e] === this) { 9740 n.splice(e, 1);break; 9741 } 9742 }r && r.apply(this, arguments); 9743 }, this.modules[t.name] = a; 9744 }, getInstance: function getInstance(t) { 9745 return e(t).data(o.dataKey); 9746 }, replace: function replace(t, n, a) { 9747 var i, 9748 s = this;return o.styleSheetCreated || r(), e(t).each(function () { 9749 var t, 9750 r = e(this);i = r.data(o.dataKey), i ? i.refresh() : (n || e.each(s.modules, function (e, t) { 9751 return t.prototype.matchElement.call(t.prototype, r) ? (n = e, !1) : void 0; 9752 }), n && (t = e.extend({ element: r }, a), i = new s.modules[n](t))); 9753 }), i; 9754 }, refresh: function refresh(t) { 9755 e(t).each(function () { 9756 var t = e(this).data(o.dataKey);t && t.refresh(); 9757 }); 9758 }, destroy: function destroy(t) { 9759 e(t).each(function () { 9760 var t = e(this).data(o.dataKey);t && t.destroy(); 9761 }); 9762 }, replaceAll: function replaceAll(t) { 9763 var n = this;e.each(this.modules, function (o, a) { 9764 e(a.prototype.selector, t).each(function () { 9765 this.className.indexOf("jcf-ignore") < 0 && n.replace(this, o); 9766 }); 9767 }); 9768 }, refreshAll: function refreshAll(t) { 9769 if (t) e.each(this.modules, function (n, a) { 9770 e(a.prototype.selector, t).each(function () { 9771 var t = e(this).data(o.dataKey);t && t.refresh(); 9772 }); 9773 });else for (var a = n.length - 1; a >= 0; a--) { 9774 n[a].refresh(); 9775 } 9776 }, destroyAll: function destroyAll(t) { 9777 if (t) e.each(this.modules, function (n, a) { 9778 e(a.prototype.selector, t).each(function (t, n) { 9779 var a = e(n).data(o.dataKey);a && a.destroy(); 9780 }); 9781 });else for (; n.length;) { 9782 n[0].destroy(); 9783 } 9784 } };return "function" == "function" && __webpack_require__(335) && (window.jcf = c), c; 9785}); 9786 9787/***/ }), 9788/* 335 */
9789/***/ (function(module, exports) { 9790 9791/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */ 9792module.exports = __webpack_amd_options__; 9793 9794/* WEBPACK VAR INJECTION */}.call(exports, {})) 9795 9796/***/ }), 9797/* 336 */ 9798/***/ (function(module, exports) { 9799 9800/*! 9801 * JavaScript Custom Forms : Scrollbar Module 9802 * 9803 * Copyright 2014-2016 PSD2HTML - http://psd2html.com/jcf 9804 * Released under the MIT license (LICENSE.txt) 9805 * 9806 * Version: 1.2.3 9807 */ 9808 9809(function (jcf) { 9810 9811 jcf.addModule(function ($, window) { 9812 'use strict'; 9813 9814 var module = { 9815 name: 'Scrollable', 9816 selector: '.jcf-scrollable', 9817 plugins: { 9818 ScrollBar: ScrollBar 9819 }, 9820 options: { 9821 mouseWheelStep: 150, 9822 handleResize: true, 9823 alwaysShowScrollbars: false, 9824 alwaysPreventMouseWheel: false, 9825 scrollAreaStructure: '<div class="jcf-scrollable-wrapper"></div>' 9826 }, 9827 matchElement: function matchElement(element) { 9828 return element.is('.jcf-scrollable'); 9829 }, 9830 init: function init() { 9831 this.initStructure(); 9832 this.attachEvents(); 9833 this.rebuildScrollbars(); 9834 9835 // scrolling fix for iOS10 9836 if (!module.scrollFixed) { 9837 module.scrollFixed = true; 9838 $(window).on('touchmove', $.noop); 9839 } 9840 }, 9841 initStructure: function initStructure() { 9842 // prepare structure 9843 this.doc = $(document); 9844 this.win = $(window); 9845 this.realElement = $(this.options.element); 9846 this.scrollWrapper = $(this.options.scrollAreaStructure).insertAfter(this.realElement); 9847 9848 // set initial styles 9849 this.scrollWrapper.css('position', 'relative'); 9850 this.realElement.css('overflow', 'hidden'); 9851 this.vBarEdge = 0; 9852 }, 9853 attachEvents: function attachEvents() { 9854 // create scrollbars 9855 var self = this; 9856 this.vBar = new ScrollBar({ 9857 holder: this.scrollWrapper, 9858 vertical: true, 9859 onScroll: function onScroll(scrollTop) { 9860 self.realElement.scrollTop(scrollTop); 9861 } 9862 }); 9863 this.hBar = new ScrollBar({ 9864 holder: this.scrollWrapper, 9865 vertical: false, 9866 onScroll: function onScroll(scrollLeft) { 9867 self.realElement.scrollLeft(scrollLeft); 9868 } 9869 }); 9870 9871 // add event handlers 9872 this.realElement.on('scroll', this.onScroll); 9873 if (this.options.handleResize) { 9874 this.win.on('resize orientationchange load', this.onResize); 9875 } 9876 9877 // add pointer/wheel event handlers 9878 this.realElement.on('jcf-mousewheel', this.onMouseWheel); 9879 this.realElement.on('jcf-pointerdown', this.onTouchBody); 9880 }, 9881 onScroll: function onScroll() { 9882 this.redrawScrollbars(); 9883 }, 9884 onResize: function onResize() { 9885 // do not rebuild scrollbars if form field is in focus 9886 if (!$(document.activeElement).is(':input')) { 9887 this.rebuildScrollbars(); 9888 } 9889 }, 9890 onTouchBody: function onTouchBody(e) { 9891 if (e.pointerType === 'touch') { 9892 this.touchData = { 9893 scrollTop: this.realElement.scrollTop(), 9894 scrollLeft: this.realElement.scrollLeft(), 9895 left: e.pageX, 9896 top: e.pageY 9897 }; 9898 this.doc.on({ 9899 'jcf-pointermove': this.onMoveBody, 9900 'jcf-pointerup': this.onReleaseBody 9901 }); 9902 } 9903 }, 9904 onMoveBody: function onMoveBody(e) { 9905 var targetScrollTop, 9906 targetScrollLeft, 9907 verticalScrollAllowed = this.verticalScrollActive, 9908 horizontalScrollAllowed = this.horizontalScrollActive; 9909 9910 if (e.pointerType === 'touch') { 9911 targetScrollTop = this.touchData.scrollTop - e.pageY + this.touchData.top; 9912 targetScrollLeft = this.touchData.scrollLeft - e.pageX + this.touchData.left; 9913 9914 // check that scrolling is ended and release outer scrolling 9915 if (this.verticalScrollActive && (targetScrollTop < 0 || targetScrollTop > this.vBar.maxValue)) { 9916 verticalScrollAllowed = false; 9917 } 9918 if (this.horizontalScrollActive && (targetScrollLeft < 0 || targetScrollLeft > this.hBar.maxValue)) { 9919 horizontalScrollAllowed = false; 9920 } 9921 9922 this.realElement.scrollTop(targetScrollTop); 9923 this.realElement.scrollLeft(targetScrollLeft); 9924 9925 if (verticalScrollAllowed || horizontalScrollAllowed) { 9926 e.preventDefault(); 9927 } else { 9928 this.onReleaseBody(e); 9929 } 9930 } 9931 }, 9932 onReleaseBody: function onReleaseBody(e) { 9933 if (e.pointerType === 'touch') { 9934 delete this.touchData; 9935 this.doc.off({ 9936 'jcf-pointermove': this.onMoveBody, 9937 'jcf-pointerup': this.onReleaseBody 9938 }); 9939 } 9940 }, 9941 onMouseWheel: function onMouseWheel(e) { 9942 var currentScrollTop = this.realElement.scrollTop(), 9943 currentScrollLeft = this.realElement.scrollLeft(), 9944 maxScrollTop = this.realElement.prop('scrollHeight') - this.embeddedDimensions.innerHeight, 9945 maxScrollLeft = this.realElement.prop('scrollWidth') - this.embeddedDimensions.innerWidth, 9946 extraLeft, 9947 extraTop, 9948 preventFlag; 9949
9950 // check edge cases 9951 if (!this.options.alwaysPreventMouseWheel) { 9952 if (this.verticalScrollActive && e.deltaY) { 9953 if (!(currentScrollTop <= 0 && e.deltaY < 0) && !(currentScrollTop >= maxScrollTop && e.deltaY > 0)) { 9954 preventFlag = true; 9955 } 9956 } 9957 if (this.horizontalScrollActive && e.deltaX) { 9958 if (!(currentScrollLeft <= 0 && e.deltaX < 0) && !(currentScrollLeft >= maxScrollLeft && e.deltaX > 0)) { 9959 preventFlag = true; 9960 } 9961 } 9962 if (!this.verticalScrollActive && !this.horizontalScrollActive) { 9963 return; 9964 } 9965 } 9966 9967 // prevent default action and scroll item 9968 if (preventFlag || this.options.alwaysPreventMouseWheel) { 9969 e.preventDefault(); 9970 } else { 9971 return; 9972 } 9973 9974 extraLeft = e.deltaX / 100 * this.options.mouseWheelStep; 9975 extraTop = e.deltaY / 100 * this.options.mouseWheelStep; 9976 9977 this.realElement.scrollTop(currentScrollTop + extraTop); 9978 this.realElement.scrollLeft(currentScrollLeft + extraLeft); 9979 }, 9980 setScrollBarEdge: function setScrollBarEdge(edgeSize) { 9981 this.vBarEdge = edgeSize || 0; 9982 this.redrawScrollbars(); 9983 }, 9984 saveElementDimensions: function saveElementDimensions() { 9985 this.savedDimensions = { 9986 top: this.realElement.width(), 9987 left: this.realElement.height() 9988 }; 9989 return this; 9990 }, 9991 restoreElementDimensions: function restoreElementDimensions() { 9992 if (this.savedDimensions) { 9993 this.realElement.css({ 9994 width: this.savedDimensions.width, 9995 height: this.savedDimensions.height 9996 }); 9997 } 9998 return this; 9999 }, 10000 saveScrollOffsets: function saveScrollOffsets() { 10001 this.savedOffsets = { 10002 top: this.realElement.scrollTop(), 10003 left: this.realElement.scrollLeft() 10004 }; 10005 return this; 10006 }, 10007 restoreScrollOffsets: function restoreScrollOffsets() { 10008 if (this.savedOffsets) { 10009 this.realElement.scrollTop(this.savedOffsets.top); 10010 this.realElement.scrollLeft(this.savedOffsets.left); 10011 } 10012 return this; 10013 }, 10014 getContainerDimensions: function getContainerDimensions() { 10015 // save current styles 10016 var desiredDimensions, currentStyles, currentHeight, currentWidth; 10017 10018 if (this.isModifiedStyles) { 10019 desiredDimensions = { 10020 width: this.realElement.innerWidth() + this.vBar.getThickness(), 10021 height: this.realElement.innerHeight() + this.hBar.getThickness() 10022 }; 10023 } else { 10024 // unwrap real element and measure it according to CSS 10025 this.saveElementDimensions().saveScrollOffsets(); 10026 this.realElement.insertAfter(this.scrollWrapper); 10027 this.scrollWrapper.detach(); 10028 10029 // measure element 10030 currentStyles = this.realElement.prop('style'); 10031 currentWidth = parseFloat(currentStyles.width); 10032 currentHeight = parseFloat(currentStyles.height); 10033 10034 // reset styles if needed 10035 if (this.embeddedDimensions && currentWidth && currentHeight) { 10036 this.isModifiedStyles |= currentWidth !== this.embeddedDimensions.width || currentHeight !== this.embeddedDimensions.height; 10037 this.realElement.css({ 10038 overflow: '', 10039 width: '', 10040 height: '' 10041 }); 10042 } 10043 10044 // calculate desired dimensions for real element 10045 desiredDimensions = { 10046 width: this.realElement.outerWidth(), 10047 height: this.realElement.outerHeight() 10048 }; 10049 10050 // restore structure and original scroll offsets 10051 this.scrollWrapper.insertAfter(this.realElement); 10052 this.realElement.css('overflow', 'hidden').prependTo(this.scrollWrapper); 10053 this.restoreElementDimensions().restoreScrollOffsets(); 10054 } 10055 10056 return desiredDimensions; 10057 }, 10058 getEmbeddedDimensions: function getEmbeddedDimensions(dimensions) { 10059 // handle scrollbars cropping 10060 var fakeBarWidth = this.vBar.getThickness(), 10061 fakeBarHeight = this.hBar.getThickness(), 10062 paddingWidth = this.realElement.outerWidth() - this.realElement.width(), 10063 paddingHeight = this.realElement.outerHeight() - this.realElement.height(), 10064 resultDimensions; 10065 10066 if (this.options.alwaysShowScrollbars) { 10067 // simply return dimensions without custom scrollbars 10068 this.verticalScrollActive = true; 10069 this.horizontalScrollActive = true; 10070 resultDimensions = { 10071 innerWidth: dimensions.width - fakeBarWidth, 10072 innerHeight: dimensions.height - fakeBarHeight 10073 }; 10074 } else { 10075 // detect when to display each scrollbar 10076 this.saveElementDimensions(); 10077 this.verticalScrollActive = false;
10078 this.horizontalScrollActive = false; 10079 10080 // fill container with full size 10081 this.realElement.css({ 10082 width: dimensions.width - paddingWidth, 10083 height: dimensions.height - paddingHeight 10084 }); 10085 10086 this.horizontalScrollActive = this.realElement.prop('scrollWidth') > this.containerDimensions.width; 10087 this.verticalScrollActive = this.realElement.prop('scrollHeight') > this.containerDimensions.height; 10088 10089 this.restoreElementDimensions(); 10090 resultDimensions = { 10091 innerWidth: dimensions.width - (this.verticalScrollActive ? fakeBarWidth : 0), 10092 innerHeight: dimensions.height - (this.horizontalScrollActive ? fakeBarHeight : 0) 10093 }; 10094 } 10095 $.extend(resultDimensions, { 10096 width: resultDimensions.innerWidth - paddingWidth, 10097 height: resultDimensions.innerHeight - paddingHeight 10098 }); 10099 return resultDimensions; 10100 }, 10101 rebuildScrollbars: function rebuildScrollbars() { 10102 // resize wrapper according to real element styles 10103 this.containerDimensions = this.getContainerDimensions(); 10104 this.embeddedDimensions = this.getEmbeddedDimensions(this.containerDimensions); 10105 10106 // resize wrapper to desired dimensions 10107 this.scrollWrapper.css({ 10108 width: this.containerDimensions.width, 10109 height: this.containerDimensions.height 10110 }); 10111 10112 // resize element inside wrapper excluding scrollbar size 10113 this.realElement.css({ 10114 overflow: 'hidden', 10115 width: this.embeddedDimensions.width, 10116 height: this.embeddedDimensions.height 10117 }); 10118 10119 // redraw scrollbar offset 10120 this.redrawScrollbars(); 10121 }, 10122 redrawScrollbars: function redrawScrollbars() { 10123 var viewSize, maxScrollValue; 10124 10125 // redraw vertical scrollbar 10126 if (this.verticalScrollActive) { 10127 viewSize = this.vBarEdge ? this.containerDimensions.height - this.vBarEdge : this.embeddedDimensions.innerHeight; 10128 maxScrollValue = Math.max(this.realElement.prop('offsetHeight'), this.realElement.prop('scrollHeight')) - this.vBarEdge; 10129 10130 this.vBar.show().setMaxValue(maxScrollValue - viewSize).setRatio(viewSize / maxScrollValue).setSize(viewSize); 10131 this.vBar.setValue(this.realElement.scrollTop()); 10132 } else { 10133 this.vBar.hide(); 10134 } 10135 10136 // redraw horizontal scrollbar 10137 if (this.horizontalScrollActive) { 10138 viewSize = this.embeddedDimensions.innerWidth; 10139 maxScrollValue = this.realElement.prop('scrollWidth'); 10140 10141 if (maxScrollValue === viewSize) { 10142 this.horizontalScrollActive = false; 10143 } 10144 this.hBar.show().setMaxValue(maxScrollValue - viewSize).setRatio(viewSize / maxScrollValue).setSize(viewSize); 10145 this.hBar.setValue(this.realElement.scrollLeft()); 10146 } else { 10147 this.hBar.hide(); 10148 } 10149 10150 // set "touch-action" style rule 10151 var touchAction = ''; 10152 if (this.verticalScrollActive && this.horizontalScrollActive) { 10153 touchAction = 'none'; 10154 } else if (this.verticalScrollActive) { 10155 touchAction = 'pan-x'; 10156 } else if (this.horizontalScrollActive) { 10157 touchAction = 'pan-y'; 10158 } 10159 this.realElement.css('touchAction', touchAction); 10160 }, 10161 refresh: function refresh() { 10162 this.rebuildScrollbars(); 10163 }, 10164 destroy: function destroy() { 10165 // remove event listeners 10166 this.win.off('resize orientationchange load', this.onResize); 10167 this.realElement.off({ 10168 'jcf-mousewheel': this.onMouseWheel, 10169 'jcf-pointerdown': this.onTouchBody 10170 }); 10171 this.doc.off({ 10172 'jcf-pointermove': this.onMoveBody, 10173 'jcf-pointerup': this.onReleaseBody 10174 }); 10175 10176 // restore structure 10177 this.saveScrollOffsets(); 10178 this.vBar.destroy(); 10179 this.hBar.destroy(); 10180 this.realElement.insertAfter(this.scrollWrapper).css({ 10181 touchAction: '', 10182 overflow: '', 10183 width: '', 10184 height: '' 10185 }); 10186 this.scrollWrapper.remove(); 10187 this.restoreScrollOffsets(); 10188 } 10189 }; 10190 10191 // custom scrollbar 10192 function ScrollBar(options) { 10193 this.options = $.extend({ 10194 holder: null, 10195 vertical: true, 10196 inactiveClass: 'jcf-inactive', 10197 verticalClass: 'jcf-scrollbar-vertical', 10198 horizontalClass: 'jcf-scrollbar-horizontal', 10199 scrollbarStructure: '<div class="jcf-scrollbar"><div class="jcf-scrollbar-dec"></div><div class="jcf-scrollbar-slider"><div class="jcf-scrollbar-handle"></div></div><div class="jcf-scrollbar-inc"></div></div>', 10200 btnDecSelector: '.jcf-scrollbar-dec', 10201 btnIncSelector: '.jcf-scrollbar-inc', 10202 sliderSelector: '.jcf-scrollbar-slider', 10203 handleSelector: '.jcf-scrollbar-handle', 10204 scrollInterval: 300, 10205 scrollStep: 400 // px/sec 10206 }, options); 10207 this.init(); 10208 } 10209 $.extend(ScrollBar.prototype, {
10210 init: function init() { 10211 this.initStructure(); 10212 this.attachEvents(); 10213 }, 10214 initStructure: function initStructure() { 10215 // define proporties 10216 this.doc = $(document); 10217 this.isVertical = !!this.options.vertical; 10218 this.sizeProperty = this.isVertical ? 'height' : 'width'; 10219 this.fullSizeProperty = this.isVertical ? 'outerHeight' : 'outerWidth'; 10220 this.invertedSizeProperty = this.isVertical ? 'width' : 'height'; 10221 this.thicknessMeasureMethod = 'outer' + this.invertedSizeProperty.charAt(0).toUpperCase() + this.invertedSizeProperty.substr(1); 10222 this.offsetProperty = this.isVertical ? 'top' : 'left'; 10223 this.offsetEventProperty = this.isVertical ? 'pageY' : 'pageX'; 10224 10225 // initialize variables 10226 this.value = this.options.value || 0; 10227 this.maxValue = this.options.maxValue || 0; 10228 this.currentSliderSize = 0; 10229 this.handleSize = 0; 10230 10231 // find elements 10232 this.holder = $(this.options.holder); 10233 this.scrollbar = $(this.options.scrollbarStructure).appendTo(this.holder); 10234 this.btnDec = this.scrollbar.find(this.options.btnDecSelector); 10235 this.btnInc = this.scrollbar.find(this.options.btnIncSelector); 10236 this.slider = this.scrollbar.find(this.options.sliderSelector); 10237 this.handle = this.slider.find(this.options.handleSelector); 10238 10239 // set initial styles 10240 this.scrollbar.addClass(this.isVertical ? this.options.verticalClass : this.options.horizontalClass).css({ 10241 touchAction: this.isVertical ? 'pan-x' : 'pan-y', 10242 position: 'absolute' 10243 }); 10244 this.slider.css({ 10245 position: 'relative' 10246 }); 10247 this.handle.css({ 10248 touchAction: 'none', 10249 position: 'absolute' 10250 }); 10251 }, 10252 attachEvents: function attachEvents() { 10253 this.bindHandlers(); 10254 this.handle.on('jcf-pointerdown', this.onHandlePress); 10255 this.slider.add(this.btnDec).add(this.btnInc).on('jcf-pointerdown', this.onButtonPress); 10256 }, 10257 onHandlePress: function onHandlePress(e) { 10258 if (e.pointerType === 'mouse' && e.button > 1) { 10259 return; 10260 } else { 10261 e.preventDefault(); 10262 this.handleDragActive = true; 10263 this.sliderOffset = this.slider.offset()[this.offsetProperty]; 10264 this.innerHandleOffset = e[this.offsetEventProperty] - this.handle.offset()[this.offsetProperty]; 10265 10266 this.doc.on('jcf-pointermove', this.onHandleDrag); 10267 this.doc.on('jcf-pointerup', this.onHandleRelease); 10268 } 10269 }, 10270 onHandleDrag: function onHandleDrag(e) { 10271 e.preventDefault(); 10272 this.calcOffset = e[this.offsetEventProperty] - this.sliderOffset - this.innerHandleOffset; 10273 this.setValue(this.calcOffset / (this.currentSliderSize - this.handleSize) * this.maxValue); 10274 this.triggerScrollEvent(this.value); 10275 }, 10276 onHandleRelease: function onHandleRelease() { 10277 this.handleDragActive = false; 10278 this.doc.off('jcf-pointermove', this.onHandleDrag); 10279 this.doc.off('jcf-pointerup', this.onHandleRelease); 10280 }, 10281 onButtonPress: function onButtonPress(e) { 10282 var direction, clickOffset; 10283 if (e.pointerType === 'mouse' && e.button > 1) { 10284 return; 10285 } else { 10286 e.preventDefault(); 10287 if (!this.handleDragActive) { 10288 if (this.slider.is(e.currentTarget)) { 10289 // slider pressed 10290 direction = this.handle.offset()[this.offsetProperty] > e[this.offsetEventProperty] ? -1 : 1; 10291 clickOffset = e[this.offsetEventProperty] - this.slider.offset()[this.offsetProperty]; 10292 this.startPageScrolling(direction, clickOffset); 10293 } else { 10294 // scrollbar buttons pressed 10295 direction = this.btnDec.is(e.currentTarget) ? -1 : 1; 10296 this.startSmoothScrolling(direction); 10297 } 10298 this.doc.on('jcf-pointerup', this.onButtonRelease); 10299 } 10300 } 10301 }, 10302 onButtonRelease: function onButtonRelease() { 10303 this.stopPageScrolling(); 10304 this.stopSmoothScrolling(); 10305 this.doc.off('jcf-pointerup', this.onButtonRelease); 10306 }, 10307 startPageScrolling: function startPageScrolling(direction, clickOffset) { 10308 var self = this, 10309 stepValue = direction * self.currentSize; 10310 10311 // limit checker 10312 var isFinishedScrolling = function isFinishedScrolling() { 10313 var handleTop = self.value / self.maxValue * (self.currentSliderSize - self.handleSize); 10314 10315 if (direction > 0) { 10316 return handleTop + self.handleSize >= clickOffset; 10317 } else { 10318 return handleTop <= clickOffset; 10319 } 10320 }; 10321 10322 // scroll by page when track is pressed 10323 var doPageScroll = function doPageScroll() { 10324 self.value += stepValue; 10325 self.setValue(self.value); 10326 self.triggerScrollEvent(self.value); 10327 10328 if (isFinishedScrolling()) { 10329 clearInterval(self.pageScrollTimer); 10330 } 10331 }; 10332 10333 // start scrolling 10334 this.pageScrollTimer = setInterval(doPageScroll, this.options.scrollInterval); 10335 doPageScroll(); 10336 }, 10337 stopPageScrolling: function stopPageScrolling() { 10338 clearInterval(this.pageScrollTimer); 10339 }, 10340 startSmoothScrolling: function startSmoothScrolling(direction) { 10341 var self = this, 10342 dt; 10343 this.stopSmoothScrolling(); 10344 10345 // simple animation functions 10346 var raf = window.requestAnimationFrame || function (func) { 10347 setTimeout(func, 16); 10348 }; 10349 var getTimestamp = function getTimestamp() { 10350 return Date.now ? Date.now() : new Date().getTime(); 10351 }; 10352 10353 // set animation limit 10354 var isFinishedScrolling = function isFinishedScrolling() { 10355 if (direction > 0) { 10356 return self.value >= self.maxValue; 10357 } else { 10358 return self.value <= 0; 10359 } 10360 }; 10361 10362 // animation step 10363 var doScrollAnimation = function doScrollAnimation() { 10364 var stepValue = (getTimestamp() - dt) / 1000 * self.options.scrollStep; 10365 10366 if (self.smoothScrollActive) { 10367 self.value += stepValue * direction; 10368 self.setValue(self.value); 10369 self.triggerScrollEvent(self.value); 10370 10371 if (!isFinishedScrolling()) { 10372 dt = getTimestamp(); 10373 raf(doScrollAnimation); 10374 } 10375 } 10376 }; 10377 10378 // start animation 10379 self.smoothScrollActive = true; 10380 dt = getTimestamp(); 10381 raf(doScrollAnimation); 10382 }, 10383 stopSmoothScrolling: function stopSmoothScrolling() { 10384 this.smoothScrollActive = false;
10385 }, 10386 triggerScrollEvent: function triggerScrollEvent(scrollValue) { 10387 if (this.options.onScroll) { 10388 this.options.onScroll(scrollValue); 10389 } 10390 }, 10391 getThickness: function getThickness() { 10392 return this.scrollbar[this.thicknessMeasureMethod](); 10393 }, 10394 setSize: function setSize(size) { 10395 // resize scrollbar 10396 var btnDecSize = this.btnDec[this.fullSizeProperty](), 10397 btnIncSize = this.btnInc[this.fullSizeProperty](); 10398 10399 // resize slider 10400 this.currentSize = size; 10401 this.currentSliderSize = size - btnDecSize - btnIncSize; 10402 this.scrollbar.css(this.sizeProperty, size); 10403 this.slider.css(this.sizeProperty, this.currentSliderSize); 10404 this.currentSliderSize = this.slider[this.sizeProperty](); 10405 10406 // resize handle 10407 this.handleSize = Math.round(this.currentSliderSize * this.ratio); 10408 this.handle.css(this.sizeProperty, this.handleSize); 10409 this.handleSize = this.handle[this.fullSizeProperty](); 10410 10411 return this; 10412 }, 10413 setRatio: function setRatio(ratio) { 10414 this.ratio = ratio; 10415 return this; 10416 }, 10417 setMaxValue: function setMaxValue(maxValue) { 10418 this.maxValue = maxValue; 10419 this.setValue(Math.min(this.value, this.maxValue)); 10420 return this; 10421 }, 10422 setValue: function setValue(value) { 10423 this.value = value; 10424 if (this.value < 0) { 10425 this.value = 0; 10426 } else if (this.value > this.maxValue) { 10427 this.value = this.maxValue; 10428 } 10429 this.refresh(); 10430 }, 10431 setPosition: function setPosition(styles) { 10432 this.scrollbar.css(styles); 10433 return this; 10434 }, 10435 hide: function hide() { 10436 this.scrollbar.detach(); 10437 return this; 10438 }, 10439 show: function show() { 10440 this.scrollbar.appendTo(this.holder); 10441 return this; 10442 }, 10443 refresh: function refresh() { 10444 // recalculate handle position 10445 if (this.value === 0 || this.maxValue === 0) { 10446 this.calcOffset = 0; 10447 } else { 10448 this.calcOffset = this.value / this.maxValue * (this.currentSliderSize - this.handleSize); 10449 } 10450 this.handle.css(this.offsetProperty, this.calcOffset); 10451 10452 // toggle inactive classes 10453 this.btnDec.toggleClass(this.options.inactiveClass, this.value === 0); 10454 this.btnInc.toggleClass(this.options.inactiveClass, this.value === this.maxValue); 10455 this.scrollbar.toggleClass(this.options.inactiveClass, this.maxValue === 0); 10456 }, 10457 destroy: function destroy() { 10458 // remove event handlers and scrollbar block itself 10459 this.btnDec.add(this.btnInc).off('jcf-pointerdown', this.onButtonPress); 10460 this.handle.off('jcf-pointerdown', this.onHandlePress); 10461 this.doc.off('jcf-pointermove', this.onHandleDrag); 10462 this.doc.off('jcf-pointerup', this.onHandleRelease); 10463 this.doc.off('jcf-pointerup', this.onButtonRelease); 10464 this.stopSmoothScrolling(); 10465 this.stopPageScrolling(); 10466 this.scrollbar.remove(); 10467 } 10468 }); 10469 10470 return module; 10471 }); 10472})(jcf); 10473 10474/***/ }), 10475/* 337 */ 10476/***/ (function(module, exports) { 10477 10478/*! 10479 * JavaScript Custom Forms : Select Module 10480 * 10481 * Copyright 2014-2016 PSD2HTML - http://psd2html.com/jcf 10482 * Released under the MIT license (LICENSE.txt) 10483 * 10484 * Version: 1.2.3 10485 */ 10486 10487(function (jcf) { 10488 10489 jcf.addModule(function ($, window) { 10490 'use strict'; 10491 10492 var module = { 10493 name: 'Select', 10494 selector: 'select', 10495 options: { 10496 element: null, 10497 multipleCompactStyle: false 10498 }, 10499 plugins: { 10500 ListBox: ListBox, 10501 ComboBox: ComboBox, 10502 SelectList: SelectList 10503 }, 10504 matchElement: function matchElement(element) { 10505 return element.is('select'); 10506 }, 10507 init: function init() { 10508 this.element = $(this.options.element); 10509 this.createInstance(); 10510 }, 10511 isListBox: function isListBox() { 10512 return this.element.is('[size]:not([jcf-size]), [multiple]'); 10513 }, 10514 createInstance: function createInstance() { 10515 if (this.instance) { 10516 this.instance.destroy(); 10517 } 10518 10519 if (this.isListBox() && !this.options.multipleCompactStyle && this.options.isMobileDevice && this.options.wrapNativeOnMobile) { 10520 this.options.multipleCompactStyle = true; 10521 } 10522 10523 // workaround for iOS issue with multiple selects and autoselection of first option 10524 if (this.options.isMobileDevice && this.options.multipleCompactStyle && this.options.wrapNativeOnMobile && !this.element.children('optgroup:first-child').length) { 10525 $('<optgroup disabled hidden></optgroup>').prependTo(this.element); 10526 } 10527 10528 if (this.isListBox() && !this.options.multipleCompactStyle) { 10529 this.instance = new ListBox(this.options); 10530 } else { 10531 this.instance = new ComboBox(this.options); 10532 } 10533 }, 10534 refresh: function refresh() { 10535 var typeMismatch = this.isListBox() && this.instance instanceof ComboBox || !this.isListBox() && this.instance instanceof ListBox; 10536 10537 if (typeMismatch) { 10538 this.createInstance(); 10539 } else { 10540 this.instance.refresh(); 10541 } 10542 }, 10543 destroy: function destroy() { 10544 this.instance.destroy(); 10545 } 10546 }; 10547 10548 // combobox module 10549 function ComboBox(options) { 10550 this.options = $.extend({ 10551 wrapNative: true, 10552 wrapNativeOnMobile: true, 10553 fakeDropInBody: true, 10554 useCustomScroll: true, 10555 flipDropToFit: true, 10556 maxVisibleItems: 10, 10557 fakeAreaStructure: '<span class="jcf-select"><span class="jcf-select-text"></span><span class="jcf-select-opener"></span></span>', 10558 fakeDropStructure: '<div class="jcf-select-drop"><div class="jcf-select-drop-content"></div></div>', 10559 optionClassPrefix: 'jcf-option-', 10560 selectClassPrefix: 'jcf-select-', 10561 dropContentSelector: '.jcf-select-drop-content', 10562 selectTextSelector: '.jcf-select-text', 10563 dropActiveClass: 'jcf-drop-active', 10564 flipDropClass: 'jcf-drop-flipped' 10565 }, options); 10566 this.init(); 10567 } 10568 $.extend(ComboBox.prototype, {
10569 init: function init() { 10570 this.initStructure(); 10571 this.bindHandlers(); 10572 this.attachEvents(); 10573 this.refresh(); 10574 }, 10575 initStructure: function initStructure() { 10576 // prepare structure 10577 this.win = $(window); 10578 this.doc = $(document); 10579 this.realElement = $(this.options.element); 10580 this.fakeElement = $(this.options.fakeAreaStructure).insertAfter(this.realElement); 10581 this.selectTextContainer = this.fakeElement.find(this.options.selectTextSelector); 10582 this.selectText = $('<span></span>').appendTo(this.selectTextContainer); 10583 makeUnselectable(this.fakeElement); 10584 10585 // copy classes from original select 10586 this.fakeElement.addClass(getPrefixedClasses(this.realElement.prop('className'), this.options.selectClassPrefix)); 10587 10588 // handle compact multiple style 10589 if (this.realElement.prop('multiple')) { 10590 this.fakeElement.addClass('jcf-compact-multiple'); 10591 } 10592 10593 // detect device type and dropdown behavior 10594 if (this.options.isMobileDevice && this.options.wrapNativeOnMobile && !this.options.wrapNative) { 10595 this.options.wrapNative = true; 10596 } 10597 10598 if (this.options.wrapNative) { 10599 // wrap native select inside fake block 10600 this.realElement.prependTo(this.fakeElement).css({ 10601 position: 'absolute', 10602 height: '100%', 10603 width: '100%' 10604 }).addClass(this.options.resetAppearanceClass); 10605 } else { 10606 // just hide native select 10607 this.realElement.addClass(this.options.hiddenClass); 10608 this.fakeElement.attr('title', this.realElement.attr('title')); 10609 this.fakeDropTarget = this.options.fakeDropInBody ? $('body') : this.fakeElement; 10610 } 10611 }, 10612 attachEvents: function attachEvents() { 10613 // delayed refresh handler 10614 var self = this; 10615 this.delayedRefresh = function () { 10616 setTimeout(function () { 10617 self.refresh(); 10618 if (self.list) { 10619 self.list.refresh(); 10620 self.list.scrollToActiveOption(); 10621 } 10622 }, 1); 10623 }; 10624 10625 // native dropdown event handlers 10626 if (this.options.wrapNative) { 10627 this.realElement.on({ 10628 focus: this.onFocus, 10629 change: this.onChange, 10630 click: this.onChange, 10631 keydown: this.delayedRefresh 10632 }); 10633 } else { 10634 // custom dropdown event handlers 10635 this.realElement.on({ 10636 focus: this.onFocus, 10637 change: this.onChange, 10638 keydown: this.onKeyDown 10639 }); 10640 this.fakeElement.on({ 10641 'jcf-pointerdown': this.onSelectAreaPress 10642 }); 10643 } 10644 }, 10645 onKeyDown: function onKeyDown(e) { 10646 if (e.which === 13) { 10647 this.toggleDropdown(); 10648 } else if (this.dropActive) { 10649 this.delayedRefresh(); 10650 } 10651 }, 10652 onChange: function onChange() { 10653 this.refresh(); 10654 }, 10655 onFocus: function onFocus() { 10656 if (!this.pressedFlag || !this.focusedFlag) { 10657 this.fakeElement.addClass(this.options.focusClass); 10658 this.realElement.on('blur', this.onBlur); 10659 this.toggleListMode(true); 10660 this.focusedFlag = true; 10661 } 10662 }, 10663 onBlur: function onBlur() { 10664 if (!this.pressedFlag) { 10665 this.fakeElement.removeClass(this.options.focusClass); 10666 this.realElement.off('blur', this.onBlur); 10667 this.toggleListMode(false); 10668 this.focusedFlag = false; 10669 } 10670 }, 10671 onResize: function onResize() { 10672 if (this.dropActive) { 10673 this.hideDropdown(); 10674 } 10675 }, 10676 onSelectDropPress: function onSelectDropPress() { 10677 this.pressedFlag = true; 10678 }, 10679 onSelectDropRelease: function onSelectDropRelease(e, pointerEvent) { 10680 this.pressedFlag = false; 10681 if (pointerEvent.pointerType === 'mouse') { 10682 this.realElement.focus(); 10683 } 10684 }, 10685 onSelectAreaPress: function onSelectAreaPress(e) { 10686 // skip click if drop inside fake element or real select is disabled 10687 var dropClickedInsideFakeElement = !this.options.fakeDropInBody && $(e.target).closest(this.dropdown).length; 10688 if (dropClickedInsideFakeElement || e.button > 1 || this.realElement.is(':disabled')) { 10689 return; 10690 } 10691 10692 // toggle dropdown visibility 10693 this.selectOpenedByEvent = e.pointerType; 10694 this.toggleDropdown(); 10695 10696 // misc handlers 10697 if (!this.focusedFlag) { 10698 if (e.pointerType === 'mouse') { 10699 this.realElement.focus(); 10700 } else { 10701 this.onFocus(e); 10702 } 10703 } 10704 this.pressedFlag = true; 10705 this.fakeElement.addClass(this.options.pressedClass); 10706 this.doc.on('jcf-pointerup', this.onSelectAreaRelease); 10707 }, 10708 onSelectAreaRelease: function onSelectAreaRelease(e) { 10709 if (this.focusedFlag && e.pointerType === 'mouse') { 10710 this.realElement.focus(); 10711 } 10712 this.pressedFlag = false;
10713 this.fakeElement.removeClass(this.options.pressedClass); 10714 this.doc.off('jcf-pointerup', this.onSelectAreaRelease); 10715 }, 10716 onOutsideClick: function onOutsideClick(e) { 10717 var target = $(e.target), 10718 clickedInsideSelect = target.closest(this.fakeElement).length || target.closest(this.dropdown).length; 10719 10720 if (!clickedInsideSelect) { 10721 this.hideDropdown(); 10722 } 10723 }, 10724 onSelect: function onSelect() { 10725 this.refresh(); 10726 10727 if (this.realElement.prop('multiple')) { 10728 this.repositionDropdown(); 10729 } else { 10730 this.hideDropdown(); 10731 } 10732 10733 this.fireNativeEvent(this.realElement, 'change'); 10734 }, 10735 toggleListMode: function toggleListMode(state) { 10736 if (!this.options.wrapNative) { 10737 if (state) { 10738 // temporary change select to list to avoid appearing of native dropdown 10739 this.realElement.attr({ 10740 size: 4, 10741 'jcf-size': '' 10742 }); 10743 } else { 10744 // restore select from list mode to dropdown select 10745 if (!this.options.wrapNative) { 10746 this.realElement.removeAttr('size jcf-size'); 10747 } 10748 } 10749 } 10750 }, 10751 createDropdown: function createDropdown() { 10752 // destroy previous dropdown if needed 10753 if (this.dropdown) { 10754 this.list.destroy(); 10755 this.dropdown.remove(); 10756 } 10757 10758 // create new drop container 10759 this.dropdown = $(this.options.fakeDropStructure).appendTo(this.fakeDropTarget); 10760 this.dropdown.addClass(getPrefixedClasses(this.realElement.prop('className'), this.options.selectClassPrefix)); 10761 makeUnselectable(this.dropdown); 10762 10763 // handle compact multiple style 10764 if (this.realElement.prop('multiple')) { 10765 this.dropdown.addClass('jcf-compact-multiple'); 10766 } 10767 10768 // set initial styles for dropdown in body 10769 if (this.options.fakeDropInBody) { 10770 this.dropdown.css({ 10771 position: 'absolute', 10772 top: -9999 10773 }); 10774 } 10775 10776 // create new select list instance 10777 this.list = new SelectList({ 10778 useHoverClass: true, 10779 handleResize: false, 10780 alwaysPreventMouseWheel: true, 10781 maxVisibleItems: this.options.maxVisibleItems, 10782 useCustomScroll: this.options.useCustomScroll, 10783 holder: this.dropdown.find(this.options.dropContentSelector), 10784 multipleSelectWithoutKey: this.realElement.prop('multiple'), 10785 element: this.realElement 10786 }); 10787 $(this.list).on({ 10788 select: this.onSelect, 10789 press: this.onSelectDropPress, 10790 release: this.onSelectDropRelease 10791 }); 10792 }, 10793 repositionDropdown: function repositionDropdown() { 10794 var selectOffset = this.fakeElement.offset(), 10795 fakeElementBounds = this.fakeElement[0].getBoundingClientRect(), 10796 selectWidth = fakeElementBounds.width || fakeElementBounds.right - fakeElementBounds.left, 10797 selectHeight = this.fakeElement.outerHeight(), 10798 dropHeight = this.dropdown.css('width', selectWidth).outerHeight(), 10799 winScrollTop = this.win.scrollTop(), 10800 winHeight = this.win.height(), 10801 calcTop, 10802 calcLeft, 10803 bodyOffset, 10804 needFlipDrop = false; 10805 10806 // check flip drop position 10807 if (selectOffset.top + selectHeight + dropHeight > winScrollTop + winHeight && selectOffset.top - dropHeight > winScrollTop) { 10808 needFlipDrop = true; 10809 } 10810 10811 if (this.options.fakeDropInBody) { 10812 bodyOffset = this.fakeDropTarget.css('position') !== 'static' ? this.fakeDropTarget.offset().top : 0; 10813 if (this.options.flipDropToFit && needFlipDrop) { 10814 // calculate flipped dropdown position 10815 calcLeft = selectOffset.left; 10816 calcTop = selectOffset.top - dropHeight - bodyOffset; 10817 } else { 10818 // calculate default drop position 10819 calcLeft = selectOffset.left; 10820 calcTop = selectOffset.top + selectHeight - bodyOffset; 10821 } 10822 10823 // update drop styles 10824 this.dropdown.css({ 10825 width: selectWidth, 10826 left: calcLeft, 10827 top: calcTop 10828 }); 10829 } 10830 10831 // refresh flipped class 10832 this.dropdown.add(this.fakeElement).toggleClass(this.options.flipDropClass, this.options.flipDropToFit && needFlipDrop); 10833 }, 10834 showDropdown: function showDropdown() { 10835 // do not show empty custom dropdown 10836 if (!this.realElement.prop('options').length) { 10837 return; 10838 } 10839 10840 // create options list if not created 10841 if (!this.dropdown) { 10842 this.createDropdown(); 10843 } 10844 10845 // show dropdown 10846 this.dropActive = true; 10847 this.dropdown.appendTo(this.fakeDropTarget); 10848 this.fakeElement.addClass(this.options.dropActiveClass); 10849 this.refreshSelectedText(); 10850 this.repositionDropdown(); 10851 this.list.setScrollTop(this.savedScrollTop); 10852 this.list.refresh(); 10853 10854 // add temporary event handlers 10855 this.win.on('resize', this.onResize); 10856 this.doc.on('jcf-pointerdown', this.onOutsideClick); 10857 }, 10858 hideDropdown: function hideDropdown() { 10859 if (this.dropdown) { 10860 this.savedScrollTop = this.list.getScrollTop(); 10861 this.fakeElement.removeClass(this.options.dropActiveClass + ' ' + this.options.flipDropClass); 10862 this.dropdown.removeClass(this.options.flipDropClass).detach(); 10863 this.doc.off('jcf-pointerdown', this.onOutsideClick); 10864 this.win.off('resize', this.onResize); 10865 this.dropActive = false;
10866 if (this.selectOpenedByEvent === 'touch') { 10867 this.onBlur(); 10868 } 10869 } 10870 }, 10871 toggleDropdown: function toggleDropdown() { 10872 if (this.dropActive) { 10873 this.hideDropdown(); 10874 } else { 10875 this.showDropdown(); 10876 } 10877 }, 10878 refreshSelectedText: function refreshSelectedText() { 10879 // redraw selected area 10880 var selectedIndex = this.realElement.prop('selectedIndex'), 10881 selectedOption = this.realElement.prop('options')[selectedIndex], 10882 selectedOptionImage = selectedOption ? selectedOption.getAttribute('data-image') : null, 10883 selectedOptionText = '', 10884 selectedOptionClasses, 10885 self = this; 10886 10887 if (this.realElement.prop('multiple')) { 10888 $.each(this.realElement.prop('options'), function (index, option) { 10889 if (option.selected) { 10890 selectedOptionText += (selectedOptionText ? ', ' : '') + option.innerHTML; 10891 } 10892 }); 10893 if (!selectedOptionText) { 10894 selectedOptionText = self.realElement.attr('placeholder') || ''; 10895 } 10896 this.selectText.removeAttr('class').html(selectedOptionText); 10897 } else if (!selectedOption) { 10898 if (this.selectImage) { 10899 this.selectImage.hide(); 10900 } 10901 this.selectText.removeAttr('class').empty(); 10902 } else if (this.currentSelectedText !== selectedOption.innerHTML || this.currentSelectedImage !== selectedOptionImage) { 10903 selectedOptionClasses = getPrefixedClasses(selectedOption.className, this.options.optionClassPrefix); 10904 this.selectText.attr('class', selectedOptionClasses).html(selectedOption.innerHTML); 10905 10906 if (selectedOptionImage) { 10907 if (!this.selectImage) { 10908 this.selectImage = $('<img>').prependTo(this.selectTextContainer).hide(); 10909 } 10910 this.selectImage.attr('src', selectedOptionImage).show(); 10911 } else if (this.selectImage) { 10912 this.selectImage.hide(); 10913 } 10914 10915 this.currentSelectedText = selectedOption.innerHTML; 10916 this.currentSelectedImage = selectedOptionImage; 10917 } 10918 10919 /*custom code (add first-disabled class)*/ 10920 var selectedOptionObj = $(selectedOption), 10921 isFirstOption = !selectedOptionObj.index(); 10922 10923 if (isFirstOption && selectedOptionObj.val() === '') { 10924 this.selectText.addClass('first-disabled'); 10925 } else { 10926 this.selectText.removeClass('first-disabled'); 10927 } 10928 /*custom code (add first-disabled class) end*/ 10929 }, 10930 refresh: function refresh() { 10931 // refresh fake select visibility 10932 if (this.realElement.prop('style').display === 'none') { 10933 this.fakeElement.hide(); 10934 } else { 10935 this.fakeElement.show(); 10936 } 10937 10938 // refresh selected text 10939 this.refreshSelectedText(); 10940 10941 // handle disabled state 10942 this.fakeElement.toggleClass(this.options.disabledClass, this.realElement.is(':disabled')); 10943 }, 10944 destroy: function destroy() { 10945 // restore structure 10946 if (this.options.wrapNative) { 10947 this.realElement.insertBefore(this.fakeElement).css({ 10948 position: '', 10949 height: '', 10950 width: '' 10951 }).removeClass(this.options.resetAppearanceClass); 10952 } else { 10953 this.realElement.removeClass(this.options.hiddenClass); 10954 if (this.realElement.is('[jcf-size]')) { 10955 this.realElement.removeAttr('size jcf-size'); 10956 } 10957 } 10958 10959 // removing element will also remove its event handlers 10960 this.fakeElement.remove(); 10961 10962 // remove other event handlers 10963 this.doc.off('jcf-pointerup', this.onSelectAreaRelease); 10964 this.realElement.off({ 10965 focus: this.onFocus 10966 }); 10967 } 10968 }); 10969 10970 // listbox module 10971 function ListBox(options) { 10972 this.options = $.extend({ 10973 wrapNative: true, 10974 useCustomScroll: true, 10975 fakeStructure: '<span class="jcf-list-box"><span class="jcf-list-wrapper"></span></span>', 10976 selectClassPrefix: 'jcf-select-', 10977 listHolder: '.jcf-list-wrapper' 10978 }, options); 10979 this.init(); 10980 } 10981 $.extend(ListBox.prototype, { 10982 init: function init() { 10983 this.bindHandlers(); 10984 this.initStructure(); 10985 this.attachEvents(); 10986 }, 10987 initStructure: function initStructure() { 10988 this.realElement = $(this.options.element); 10989 this.fakeElement = $(this.options.fakeStructure).insertAfter(this.realElement); 10990 this.listHolder = this.fakeElement.find(this.options.listHolder); 10991 makeUnselectable(this.fakeElement); 10992 10993 // copy classes from original select
10994 this.fakeElement.addClass(getPrefixedClasses(this.realElement.prop('className'), this.options.selectClassPrefix)); 10995 this.realElement.addClass(this.options.hiddenClass); 10996 10997 this.list = new SelectList({ 10998 useCustomScroll: this.options.useCustomScroll, 10999 holder: this.listHolder, 11000 selectOnClick: false, 11001 element: this.realElement 11002 }); 11003 }, 11004 attachEvents: function attachEvents() { 11005 // delayed refresh handler 11006 var self = this; 11007 this.delayedRefresh = function (e) { 11008 if (e && (e.which === 16 || e.ctrlKey || e.metaKey || e.altKey)) { 11009 // ignore modifier keys 11010 return; 11011 } else { 11012 clearTimeout(self.refreshTimer); 11013 self.refreshTimer = setTimeout(function () { 11014 self.refresh(); 11015 self.list.scrollToActiveOption(); 11016 }, 1); 11017 } 11018 }; 11019 11020 // other event handlers 11021 this.realElement.on({ 11022 focus: this.onFocus, 11023 click: this.delayedRefresh, 11024 keydown: this.delayedRefresh 11025 }); 11026 11027 // select list event handlers 11028 $(this.list).on({ 11029 select: this.onSelect, 11030 press: this.onFakeOptionsPress, 11031 release: this.onFakeOptionsRelease 11032 }); 11033 }, 11034 onFakeOptionsPress: function onFakeOptionsPress(e, pointerEvent) { 11035 this.pressedFlag = true; 11036 if (pointerEvent.pointerType === 'mouse') { 11037 this.realElement.focus(); 11038 } 11039 }, 11040 onFakeOptionsRelease: function onFakeOptionsRelease(e, pointerEvent) { 11041 this.pressedFlag = false; 11042 if (pointerEvent.pointerType === 'mouse') { 11043 this.realElement.focus(); 11044 } 11045 }, 11046 onSelect: function onSelect() { 11047 this.fireNativeEvent(this.realElement, 'change'); 11048 this.fireNativeEvent(this.realElement, 'click'); 11049 }, 11050 onFocus: function onFocus() { 11051 if (!this.pressedFlag || !this.focusedFlag) { 11052 this.fakeElement.addClass(this.options.focusClass); 11053 this.realElement.on('blur', this.onBlur); 11054 this.focusedFlag = true; 11055 } 11056 }, 11057 onBlur: function onBlur() { 11058 if (!this.pressedFlag) { 11059 this.fakeElement.removeClass(this.options.focusClass); 11060 this.realElement.off('blur', this.onBlur); 11061 this.focusedFlag = false; 11062 } 11063 }, 11064 refresh: function refresh() { 11065 this.fakeElement.toggleClass(this.options.disabledClass, this.realElement.is(':disabled')); 11066 this.list.refresh(); 11067 }, 11068 destroy: function destroy() { 11069 this.list.destroy(); 11070 this.realElement.insertBefore(this.fakeElement).removeClass(this.options.hiddenClass); 11071 this.fakeElement.remove(); 11072 } 11073 }); 11074 11075 // options list module 11076 function SelectList(options) { 11077 this.options = $.extend({ 11078 holder: null, 11079 maxVisibleItems: 10, 11080 selectOnClick: true, 11081 useHoverClass: false, 11082 useCustomScroll: false, 11083 handleResize: true, 11084 multipleSelectWithoutKey: false, 11085 alwaysPreventMouseWheel: false, 11086 indexAttribute: 'data-index', 11087 cloneClassPrefix: 'jcf-option-', 11088 containerStructure: '<span class="jcf-list"><span class="jcf-list-content"></span></span>', 11089 containerSelector: '.jcf-list-content', 11090 captionClass: 'jcf-optgroup-caption', 11091 disabledClass: 'jcf-disabled', 11092 optionClass: 'jcf-option', 11093 groupClass: 'jcf-optgroup', 11094 hoverClass: 'jcf-hover', 11095 selectedClass: 'jcf-selected', 11096 scrollClass: 'jcf-scroll-active' 11097 }, options); 11098 this.init(); 11099 } 11100 $.extend(SelectList.prototype, { 11101 init: function init() { 11102 this.initStructure(); 11103 this.refreshSelectedClass(); 11104 this.attachEvents(); 11105 }, 11106 initStructure: function initStructure() { 11107 this.element = $(this.options.element); 11108 this.indexSelector = '[' + this.options.indexAttribute + ']'; 11109 this.container = $(this.options.containerStructure).appendTo(this.options.holder); 11110 this.listHolder = this.container.find(this.options.containerSelector); 11111 this.lastClickedIndex = this.element.prop('selectedIndex'); 11112 this.rebuildList(); 11113 11114 // save current selection in multiple select 11115 if (this.element.prop('multiple')) { 11116 this.previousSelection = this.getSelectedOptionsIndexes(); 11117 } 11118 }, 11119 attachEvents: function attachEvents() { 11120 this.bindHandlers(); 11121 this.listHolder.on('jcf-pointerdown', this.indexSelector, this.onItemPress); 11122 this.listHolder.on('jcf-pointerdown', this.onPress); 11123 11124 if (this.options.useHoverClass) { 11125 this.listHolder.on('jcf-pointerover', this.indexSelector, this.onHoverItem); 11126 } 11127 }, 11128 onPress: function onPress(e) { 11129 $(this).trigger('press', e); 11130 this.listHolder.on('jcf-pointerup', this.onRelease); 11131 }, 11132 onRelease: function onRelease(e) { 11133 $(this).trigger('release', e); 11134 this.listHolder.off('jcf-pointerup', this.onRelease); 11135 }, 11136 onHoverItem: function onHoverItem(e) { 11137 var hoverIndex = parseFloat(e.currentTarget.getAttribute(this.options.indexAttribute)); 11138 this.fakeOptions.removeClass(this.options.hoverClass).eq(hoverIndex).addClass(this.options.hoverClass); 11139 }, 11140 onItemPress: function onItemPress(e) { 11141 if (e.pointerType === 'touch' || this.options.selectOnClick) { 11142 // select option after "click" 11143 this.tmpListOffsetTop = this.list.offset().top; 11144 this.listHolder.on('jcf-pointerup', this.indexSelector, this.onItemRelease); 11145 } else { 11146 // select option immediately 11147 this.onSelectItem(e); 11148 } 11149 }, 11150 onItemRelease: function onItemRelease(e) { 11151 // remove event handlers and temporary data 11152 this.listHolder.off('jcf-pointerup', this.indexSelector, this.onItemRelease); 11153 11154 // simulate item selection 11155 if (this.tmpListOffsetTop === this.list.offset().top) { 11156 this.listHolder.on('click', this.indexSelector, { savedPointerType: e.pointerType }, this.onSelectItem); 11157 } 11158 delete this.tmpListOffsetTop; 11159 }, 11160 onSelectItem: function onSelectItem(e) { 11161 var clickedIndex = parseFloat(e.currentTarget.getAttribute(this.options.indexAttribute)), 11162 pointerType = e.data && e.data.savedPointerType || e.pointerType || 'mouse', 11163 range; 11164 11165 // remove click event handler 11166 this.listHolder.off('click', this.indexSelector, this.onSelectItem); 11167 11168 // ignore clicks on disabled options 11169 if (e.button > 1 || this.realOptions[clickedIndex].disabled) { 11170 return; 11171 } 11172 11173 if (this.element.prop('multiple')) { 11174 if (e.metaKey || e.ctrlKey || pointerType === 'touch' || this.options.multipleSelectWithoutKey) { 11175 // if CTRL/CMD pressed or touch devices - toggle selected option 11176 this.realOptions[clickedIndex].selected = !this.realOptions[clickedIndex].selected; 11177 } else if (e.shiftKey) { 11178 // if SHIFT pressed - update selection 11179 range = [this.lastClickedIndex, clickedIndex].sort(function (a, b) { 11180 return a - b; 11181 }); 11182 this.realOptions.each(function (index, option) { 11183 option.selected = index >= range[0] && index <= range[1]; 11184 }); 11185 } else { 11186 // set single selected index 11187 this.element.prop('selectedIndex', clickedIndex); 11188 } 11189 } else { 11190 this.element.prop('selectedIndex', clickedIndex); 11191 } 11192 11193 // save last clicked option 11194 if (!e.shiftKey) { 11195 this.lastClickedIndex = clickedIndex; 11196 } 11197 11198 // refresh classes 11199 this.refreshSelectedClass(); 11200 11201 // scroll to active item in desktop browsers 11202 if (pointerType === 'mouse') { 11203 this.scrollToActiveOption(); 11204 } 11205 11206 // make callback when item selected 11207 $(this).trigger('select'); 11208 }, 11209 rebuildList: function rebuildList() { 11210 // rebuild options 11211 var self = this, 11212 rootElement = this.element[0]; 11213 11214 // recursively create fake options 11215 this.storedSelectHTML = rootElement.innerHTML; 11216 this.optionIndex = 0; 11217 this.list = $(this.createOptionsList(rootElement)); 11218 this.listHolder.empty().append(this.list); 11219 this.realOptions = this.element.find('option'); 11220 this.fakeOptions = this.list.find(this.indexSelector); 11221 this.fakeListItems = this.list.find('.' + this.options.captionClass + ',' + this.indexSelector); 11222 delete this.optionIndex; 11223 11224 // detect max visible items 11225 var maxCount = this.options.maxVisibleItems, 11226 sizeValue = this.element.prop('size'); 11227 if (sizeValue > 1 && !this.element.is('[jcf-size]')) { 11228 maxCount = sizeValue; 11229 } 11230 11231 // handle scrollbar 11232 var needScrollBar = this.fakeOptions.length > maxCount; 11233 this.container.toggleClass(this.options.scrollClass, needScrollBar); 11234 if (needScrollBar) { 11235 // change max-height 11236 this.listHolder.css({ 11237 maxHeight: this.getOverflowHeight(maxCount), 11238 overflow: 'auto' 11239 }); 11240 11241 if (this.options.useCustomScroll && jcf.modules.Scrollable) { 11242 // add custom scrollbar if specified in options 11243 jcf.replace(this.listHolder, 'Scrollable', { 11244 handleResize: this.options.handleResize, 11245 alwaysPreventMouseWheel: this.options.alwaysPreventMouseWheel 11246 }); 11247 return; 11248 } 11249 } 11250 11251 // disable edge wheel scrolling 11252 if (this.options.alwaysPreventMouseWheel) { 11253 this.preventWheelHandler = function (e) { 11254 var currentScrollTop = self.listHolder.scrollTop(), 11255 maxScrollTop = self.listHolder.prop('scrollHeight') - self.listHolder.innerHe
11255ight(); 11256 11257 // check edge cases 11258 if (currentScrollTop <= 0 && e.deltaY < 0 || currentScrollTop >= maxScrollTop && e.deltaY > 0) { 11259 e.preventDefault(); 11260 } 11261 }; 11262 this.listHolder.on('jcf-mousewheel', this.preventWheelHandler); 11263 } 11264 }, 11265 refreshSelectedClass: function refreshSelectedClass() { 11266 var self = this, 11267 selectedItem, 11268 isMultiple = this.element.prop('multiple'), 11269 selectedIndex = this.element.prop('selectedIndex'); 11270 11271 if (isMultiple) { 11272 this.realOptions.each(function (index, option) { 11273 self.fakeOptions.eq(index).toggleClass(self.options.selectedClass, !!option.selected); 11274 }); 11275 } else { 11276 this.fakeOptions.removeClass(this.options.selectedClass + ' ' + this.options.hoverClass); 11277 selectedItem = this.fakeOptions.eq(selectedIndex).addClass(this.options.selectedClass); 11278 if (this.options.useHoverClass) { 11279 selectedItem.addClass(this.options.hoverClass); 11280 } 11281 } 11282 }, 11283 scrollToActiveOption: function scrollToActiveOption() { 11284 // scroll to target option 11285 var targetOffset = this.getActiveOptionOffset(); 11286 if (typeof targetOffset === 'number') { 11287 this.listHolder.prop('scrollTop', targetOffset); 11288 } 11289 }, 11290 getSelectedOptionsIndexes: function getSelectedOptionsIndexes() { 11291 var selection = []; 11292 this.realOptions.each(function (index, option) { 11293 if (option.selected) { 11294 selection.push(index); 11295 } 11296 }); 11297 return selection; 11298 }, 11299 getChangedSelectedIndex: function getChangedSelectedIndex() { 11300 var selectedIndex = this.element.prop('selectedIndex'), 11301 self = this, 11302 found = false, 11303 targetIndex = null; 11304 11305 if (this.element.prop('multiple')) { 11306 // multiple selects handling 11307 this.currentSelection = this.getSelectedOptionsIndexes(); 11308 $.each(this.currentSelection, function (index, optionIndex) { 11309 if (!found && self.previousSelection.indexOf(optionIndex) < 0) { 11310 if (index === 0) { 11311 found = true; 11312 } 11313 targetIndex = optionIndex; 11314 } 11315 }); 11316 this.previousSelection = this.currentSelection; 11317 return targetIndex; 11318 } else { 11319 // single choice selects handling 11320 return selectedIndex; 11321 } 11322 }, 11323 getActiveOptionOffset: function getActiveOptionOffset() { 11324 // calc values 11325 var currentIndex = this.getChangedSelectedIndex(); 11326 11327 // selection was not changed 11328 if (currentIndex === null) { 11329 return; 11330 } 11331 11332 // find option and scroll to it if needed 11333 var dropHeight = this.listHolder.height(), 11334 dropScrollTop = this.listHolder.prop('scrollTop'), 11335 fakeOption = this.fakeOptions.eq(currentIndex), 11336 fakeOptionOffset = fakeOption.offset().top - this.list.offset().top, 11337 fakeOptionHeight = fakeOption.innerHeight(); 11338 11339 // scroll list 11340 if (fakeOptionOffset + fakeOptionHeight >= dropScrollTop + dropHeight) { 11341 // scroll down (always scroll to option) 11342 return fakeOptionOffset - dropHeight + fakeOptionHeight; 11343 } else if (fakeOptionOffset < dropScrollTop) { 11344 // scroll up to option 11345 return fakeOptionOffset; 11346 } 11347 }, 11348 getOverflowHeight: function getOverflowHeight(sizeValue) { 11349 var item = this.fakeListItems.eq(sizeValue - 1), 11350 listOffset = this.list.offset().top, 11351 itemOffset = item.offset().top, 11352 itemHeight = item.innerHeight(); 11353 11354 return itemOffset + itemHeight - listOffset; 11355 }, 11356 getScrollTop: function getScrollTop() { 11357 return this.listHolder.scrollTop(); 11358 }, 11359 setScrollTop: function setScrollTop(value) { 11360 this.listHolder.scrollTop(value); 11361 }, 11362 createOption: function createOption(option) { 11363 var newOption = document.createElement('span'); 11364 newOption.className = this.options.optionClass; 11365 newOption.innerHTML = option.innerHTML; 11366 newOption.setAttribute(this.options.indexAttribute, this.optionIndex++); 11367 11368 var optionImage, 11369 optionImageSrc = option.getAttribute('data-image'); 11370 if (optionImageSrc) { 11371 optionImage = document.createElement('img'); 11372 optionImage.src = optionImageSrc; 11373 newOption.insertBefore(optionImage, newOption.childNodes[0]); 11374 } 11375 if (option.disabled) { 11376 newOption.className += ' ' + this.options.disabledClass; 11377 } 11378 if (option.className) {
11379 newOption.className += ' ' + getPrefixedClasses(option.className, this.options.cloneClassPrefix); 11380 } 11381 11382 /*custom code (add first-disabled class)*/ 11383 var optionObj = $(option), 11384 isFirstOption = !optionObj.index(); 11385 11386 if (isFirstOption) { 11387 if (optionObj.val() === '') { 11388 newOption.classList.add("first-disabled"); 11389 } else { 11390 newOption.classList.remove("first-disabled"); 11391 } 11392 } 11393 /*custom code (add first-disabled class) end*/ 11394 11395 return newOption; 11396 }, 11397 createOptGroup: function createOptGroup(optgroup) { 11398 var optGroupContainer = document.createElement('span'), 11399 optGroupName = optgroup.getAttribute('label'), 11400 optGroupCaption, 11401 optGroupList; 11402 11403 // create caption 11404 optGroupCaption = document.createElement('span'); 11405 optGroupCaption.className = this.options.captionClass; 11406 optGroupCaption.innerHTML = optGroupName; 11407 optGroupContainer.appendChild(optGroupCaption); 11408 11409 // create list of options 11410 if (optgroup.children.length) { 11411 optGroupList = this.createOptionsList(optgroup); 11412 optGroupContainer.appendChild(optGroupList); 11413 } 11414 11415 optGroupContainer.className = this.options.groupClass; 11416 return optGroupContainer; 11417 }, 11418 createOptionContainer: function createOptionContainer() { 11419 var optionContainer = document.createElement('li'); 11420 return optionContainer; 11421 }, 11422 createOptionsList: function createOptionsList(container) { 11423 var self = this, 11424 list = document.createElement('ul'); 11425 11426 $.each(container.children, function (index, currentNode) { 11427 var item = self.createOptionContainer(currentNode), 11428 newNode; 11429 11430 switch (currentNode.tagName.toLowerCase()) { 11431 case 'option': 11432 newNode = self.createOption(currentNode);break; 11433 case 'optgroup': 11434 newNode = self.createOptGroup(currentNode);break; 11435 } 11436 list.appendChild(item).appendChild(newNode); 11437 }); 11438 return list; 11439 }, 11440 refresh: function refresh() { 11441 // check for select innerHTML changes 11442 if (this.storedSelectHTML !== this.element.prop('innerHTML')) { 11443 this.rebuildList(); 11444 } 11445 11446 // refresh custom scrollbar 11447 var scrollInstance = jcf.getInstance(this.listHolder); 11448 if (scrollInstance) { 11449 scrollInstance.refresh(); 11450 } 11451 11452 // refresh selectes classes 11453 this.refreshSelectedClass(); 11454 }, 11455 destroy: function destroy() { 11456 this.listHolder.off('jcf-mousewheel', this.preventWheelHandler); 11457 this.listHolder.off('jcf-pointerdown', this.indexSelector, this.onSelectItem); 11458 this.listHolder.off('jcf-pointerover', this.indexSelector, this.onHoverItem); 11459 this.listHolder.off('jcf-pointerdown', this.onPress); 11460 } 11461 }); 11462 11463 // helper functions 11464 var getPrefixedClasses = function getPrefixedClasses(className, prefixToAdd) { 11465 return className ? className.replace(/[\s]*([\S]+)+[\s]*/gi, prefixToAdd + '$1 ') : ''; 11466 }; 11467 var makeUnselectable = function () { 11468 var unselectableClass = jcf.getOptions().unselectableClass; 11469 function preventHandler(e) { 11470 e.preventDefault(); 11471 } 11472 return function (node) { 11473 node.addClass(unselectableClass).on('selectstart', preventHandler); 11474 }; 11475 }(); 11476 11477 return module; 11478 }); 11479})(jcf); 11480 11481/***/ }), 11482/* 338 */ 11483/***/ (function(module, exports, __webpack_require__) { 11484 11485var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 11486 11487/* 11488 _ _ _ _ 11489 ___| (_) ___| | __ (_)___ 11490/ __| | |/ __| |/ / | / __| 11491\__ \ | | (__| < _ | \__ \ 11492|___/_|_|\___|_|\_(_)/ |___/ 11493 |__/ 11494 Version: 1.8.1 11495 Author: Ken Wheeler 11496 Website: http://kenwheeler.github.io 11497 Docs: http://kenwheeler.github.io/slick 11498 Repo: http://github.com/kenwheeler/slick 11499 Issues: http://github.com/kenwheeler/slick/issues 11500 */ 11501/* global window, document, define, jQuery, setInterval, clearInterval */ 11502;(function (factory) { 11503 'use strict'; 11504 11505 if (true) { 11506 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(3)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), 11507 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 11508 (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
vendor: 4,216 bytes, lines 11509-11637
11509 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 11510 } else if (typeof exports !== 'undefined') { 11511 module.exports = factory(require('jquery')); 11512 } else { 11513 factory(jQuery); 11514 } 11515})(function ($) { 11516 'use strict'; 11517 11518 var Slick = window.Slick || {}; 11519 11520 Slick = function () { 11521 11522 var instanceUid = 0; 11523 11524 function Slick(element, settings) { 11525 11526 var _ = this, 11527 dataSettings; 11528 11529 _.defaults = { 11530 accessibility: true, 11531 adaptiveHeight: false, 11532 appendArrows: $(element), 11533 appendDots: $(element), 11534 arrows: true, 11535 asNavFor: null, 11536 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 11537 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 11538 autoplay: false, 11539 autoplaySpeed: 3000, 11540 centerMode: false, 11541 centerPadding: '50px', 11542 cssEase: 'ease', 11543 customPaging: function customPaging(slider, i) { 11544 return $('<button type="button" />').text(i + 1); 11545 }, 11546 dots: false, 11547 dotsClass: 'slick-dots', 11548 draggable: true, 11549 easing: 'linear', 11550 edgeFriction: 0.35, 11551 fade: false, 11552 focusOnSelect: false, 11553 focusOnChange: false, 11554 infinite: true, 11555 initialSlide: 0, 11556 lazyLoad: 'ondemand', 11557 mobileFirst: false, 11558 pauseOnHover: true, 11559 pauseOnFocus: true, 11560 pauseOnDotsHover: false, 11561 respondTo: 'window', 11562 responsive: null, 11563 rows: 1, 11564 rtl: false, 11565 slide: '', 11566 slidesPerRow: 1, 11567 slidesToShow: 1, 11568 slidesToScroll: 1, 11569 speed: 500, 11570 swipe: true, 11571 swipeToSlide: false, 11572 touchMove: true, 11573 touchThreshold: 5, 11574 useCSS: true, 11575 useTransform: true, 11576 variableWidth: false, 11577 vertical: false, 11578 verticalSwiping: false, 11579 waitForAnimate: true, 11580 zIndex: 1000 11581 }; 11582 11583 _.initials = { 11584 animating: false, 11585 dragging: false, 11586 autoPlayTimer: null, 11587 currentDirection: 0, 11588 currentLeft: null, 11589 currentSlide: 0, 11590 direction: 1, 11591 $dots: null, 11592 listWidth: null, 11593 listHeight: null, 11594 loadIndex: 0, 11595 $nextArrow: null, 11596 $prevArrow: null, 11597 scrolling: false, 11598 slideCount: null, 11599 slideWidth: null, 11600 $slideTrack: null, 11601 $slides: null, 11602 sliding: false, 11603 slideOffset: 0, 11604 swipeLeft: null, 11605 swiping: false, 11606 $list: null, 11607 touchObject: {}, 11608 transformsEnabled: false, 11609 unslicked: false 11610 }; 11611 11612 $.extend(_, _.initials); 11613 11614 _.activeBreakpoint = null; 11615 _.animType = null; 11616 _.animProp = null; 11617 _.breakpoints = []; 11618 _.breakpointSettings = []; 11619 _.cssTransitions = false; 11620 _.focussed = false; 11621 _.interrupted = false; 11622 _.hidden = 'hidden'; 11623 _.paused = true; 11624 _.positionProp = null; 11625 _.respondTo = null; 11626 _.rowCount = 1; 11627 _.shouldClick = true; 11628 _.$slider = $(element); 11629 _.$slidesCache = null; 11630 _.transformType = null; 11631 _.transitionType = null; 11632 _.visibilityChange = 'visibilitychange'; 11633 _.windowWidth = 0; 11634 _.windowTimer = null; 11635 11636 dataSettings = $(element).data('slick') || {}; 11637
11638 _.options = $.extend({}, _.defaults, settings, dataSettings); 11639 11640 _.currentSlide = _.options.initialSlide; 11641 11642 _.originalSettings = _.options; 11643 11644 if (typeof document.mozHidden !== 'undefined') { 11645 _.hidden = 'mozHidden'; 11646 _.visibilityChange = 'mozvisibilitychange'; 11647 } else if (typeof document.webkitHidden !== 'undefined') { 11648 _.hidden = 'webkitHidden'; 11649 _.visibilityChange = 'webkitvisibilitychange'; 11650 } 11651 11652 _.autoPlay = $.proxy(_.autoPlay, _); 11653 _.autoPlayClear = $.proxy(_.autoPlayClear, _); 11654 _.autoPlayIterator = $.proxy(_.autoPlayIterator, _); 11655 _.changeSlide = $.proxy(_.changeSlide, _); 11656 _.clickHandler = $.proxy(_.clickHandler, _); 11657 _.selectHandler = $.proxy(_.selectHandler, _); 11658 _.setPosition = $.proxy(_.setPosition, _); 11659 _.swipeHandler = $.proxy(_.swipeHandler, _); 11660 _.dragHandler = $.proxy(_.dragHandler, _); 11661 _.keyHandler = $.proxy(_.keyHandler, _); 11662 11663 _.instanceUid = instanceUid++; 11664 11665 // A simple way to check for HTML strings 11666 // Strict HTML recognition (must start with <) 11667 // Extracted from jQuery v1.11 source 11668 _.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/; 11669 11670 _.registerBreakpoints(); 11671 _.init(true); 11672 } 11673 11674 return Slick; 11675 }(); 11676 11677 Slick.prototype.activateADA = function () { 11678 var _ = this; 11679 11680 _.$slideTrack.find('.slick-active').attr({ 11681 'aria-hidden': 'false' 11682 }).find('a, input, button, select').attr({ 11683 'tabindex': '0' 11684 }); 11685 }; 11686 11687 Slick.prototype.addSlide = Slick.prototype.slickAdd = function (markup, index, addBefore) { 11688 11689 var _ = this; 11690 11691 if (typeof index === 'boolean') { 11692 addBefore = index; 11693 index = null; 11694 } else if (index < 0 || index >= _.slideCount) { 11695 return false; 11696 } 11697 11698 _.unload(); 11699 11700 if (typeof index === 'number') { 11701 if (index === 0 && _.$slides.length === 0) { 11702 $(markup).appendTo(_.$slideTrack); 11703 } else if (addBefore) { 11704 $(markup).insertBefore(_.$slides.eq(index)); 11705 } else { 11706 $(markup).insertAfter(_.$slides.eq(index)); 11707 } 11708 } else { 11709 if (addBefore === true) { 11710 $(markup).prependTo(_.$slideTrack); 11711 } else { 11712 $(markup).appendTo(_.$slideTrack); 11713 } 11714 } 11715 11716 _.$slides = _.$slideTrack.children(this.options.slide); 11717 11718 _.$slideTrack.children(this.options.slide).detach(); 11719 11720 _.$slideTrack.append(_.$slides); 11721 11722 _.$slides.each(function (index, element) { 11723 $(element).attr('data-slick-index', index); 11724 }); 11725 11726 _.$slidesCache = _.$slides; 11727 11728 _.reinit(); 11729 }; 11730 11731 Slick.prototype.animateHeight = function () { 11732 var _ = this; 11733 if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) { 11734 var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true); 11735 _.$list.animate({ 11736 height: targetHeight 11737 }, _.options.speed); 11738 } 11739 }; 11740 11741 Slick.prototype.animateSlide = function (targetLeft, callback) { 11742 11743 var animProps = {}, 11744 _ = this; 11745 11746 _.animateHeight(); 11747 11748 if (_.options.rtl === true && _.options.vertical === false) { 11749 targetLeft = -targetLeft; 11750 } 11751 if (_.transformsEnabled === false) { 11752 if (_.options.vertical === false) { 11753 _.$slideTrack.animate({ 11754 left: targetLeft 11755 }, _.options.speed, _.options.easing, callback); 11756 } else { 11757 _.$slideTrack.animate({ 11758 top: targetLeft 11759 }, _.options.speed, _.options.easing, callback); 11760 } 11761 } else { 11762 11763 if (_.cssTransitions === false) { 11764 if (_.options.rtl === true) { 11765 _.currentLeft = -_.currentLeft; 11766 } 11767 $({ 11768 animStart: _.currentLeft 11769 }).animate({ 11770 animStart: targetLeft 11771 }, { 11772 duration: _.options.speed, 11773 easing: _.options.easing, 11774 step: function step(now) { 11775 now = Math.ceil(now); 11776 if (_.options.vertical === false) { 11777 animProps[_.animType] = 'translate(' + now + 'px, 0px)'; 11778 _.$slideTrack.css(animProps); 11779 } else { 11780 animProps[_.animType] = 'translate(0px,' + now + 'px)'; 11781 _.$slideTrack.css(animProps); 11782 } 11783 }, 11784 complete: function complete() { 11785 if (callback) { 11786 callback.call(); 11787 } 11788 } 11789 }); 11790 } else { 11791 11792 _.applyTransition();
11793 targetLeft = Math.ceil(targetLeft); 11794 11795 if (_.options.vertical === false) { 11796 animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)'; 11797 } else { 11798 animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)'; 11799 } 11800 _.$slideTrack.css(animProps); 11801 11802 if (callback) { 11803 setTimeout(function () { 11804 11805 _.disableTransition(); 11806 11807 callback.call(); 11808 }, _.options.speed); 11809 } 11810 } 11811 } 11812 }; 11813 11814 Slick.prototype.getNavTarget = function () { 11815 11816 var _ = this, 11817 asNavFor = _.options.asNavFor; 11818 11819 if (asNavFor && asNavFor !== null) { 11820 asNavFor = $(asNavFor).not(_.$slider); 11821 } 11822 11823 return asNavFor; 11824 }; 11825 11826 Slick.prototype.asNavFor = function (index) { 11827 11828 var _ = this, 11829 asNavFor = _.getNavTarget(); 11830 11831 if (asNavFor !== null && (typeof asNavFor === 'undefined' ? 'undefined' : _typeof(asNavFor)) === 'object') { 11832 asNavFor.each(function () { 11833 var target = $(this).slick('getSlick'); 11834 if (!target.unslicked) { 11835 target.slideHandler(index, true); 11836 } 11837 }); 11838 } 11839 }; 11840 11841 Slick.prototype.applyTransition = function (slide) { 11842 11843 var _ = this, 11844 transition = {}; 11845 11846 if (_.options.fade === false) { 11847 transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase; 11848 } else { 11849 transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase; 11850 } 11851 11852 if (_.options.fade === false) { 11853 _.$slideTrack.css(transition); 11854 } else { 11855 _.$slides.eq(slide).css(transition); 11856 } 11857 }; 11858 11859 Slick.prototype.autoPlay = function () { 11860 11861 var _ = this; 11862 11863 _.autoPlayClear(); 11864 11865 if (_.slideCount > _.options.slidesToShow) { 11866 _.autoPlayTimer = setInterval(_.autoPlayIterator, _.options.autoplaySpeed); 11867 } 11868 }; 11869 11870 Slick.prototype.autoPlayClear = function () { 11871 11872 var _ = this; 11873 11874 if (_.autoPlayTimer) { 11875 clearInterval(_.autoPlayTimer); 11876 } 11877 }; 11878 11879 Slick.prototype.autoPlayIterator = function () { 11880 11881 var _ = this, 11882 slideTo = _.currentSlide + _.options.slidesToScroll; 11883 11884 if (!_.paused && !_.interrupted && !_.focussed) { 11885 11886 if (_.options.infinite === false) { 11887 11888 if (_.direction === 1 && _.currentSlide + 1 === _.slideCount - 1) { 11889 _.direction = 0; 11890 } else if (_.direction === 0) { 11891 11892 slideTo = _.currentSlide - _.options.slidesToScroll; 11893 11894 if (_.currentSlide - 1 === 0) { 11895 _.direction = 1; 11896 } 11897 } 11898 } 11899 11900 _.slideHandler(slideTo); 11901 } 11902 }; 11903 11904 Slick.prototype.buildArrows = function () { 11905 11906 var _ = this; 11907 11908 if (_.options.arrows === true) { 11909 11910 _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow'); 11911 _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow'); 11912 11913 if (_.slideCount > _.options.slidesToShow) { 11914 11915 _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex'); 11916 _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex'); 11917 11918 if (_.htmlExpr.test(_.options.prevArrow)) { 11919 _.$prevArrow.prependTo(_.options.appendArrows); 11920 } 11921 11922 if (_.htmlExpr.test(_.options.nextArrow)) { 11923 _.$nextArrow.appendTo(_.options.appendArrows); 11924 } 11925 11926 if (_.options.infinite !== true) { 11927 _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true'); 11928 } 11929 } else { 11930 11931 _.$prevArrow.add(_.$nextArrow).addClass('slick-hidden').attr({ 11932 'aria-disabled': 'true', 11933 'tabindex': '-1' 11934 }); 11935 } 11936 } 11937 }; 11938 11939 Slick.prototype.buildDots = function () { 11940 11941 var _ = this, 11942 i, 11943 dot; 11944 11945 if (_.options.dots === true && _.slideCount > _.options.slidesToShow) { 11946 11947 _.$slider.addClass('slick-dotted'); 11948 11949 dot = $('<ul />').addClass(_.options.dotsClass); 11950 11951 for (i = 0; i <= _.getDotCount(); i += 1) { 11952 dot.append($('<li />').append(_.options.customPaging.call(this, _, i))); 11953 } 11954 11955 _.$dots = dot.appendTo(_.options.appendDots); 11956 11957 _.$dots.find('li').first().addClass('slick-active'); 11958 } 11959 }; 11960 11961 Slick.prototype.buildOut = function () { 11962 11963 var _ = this; 11964 11965 _.$slides = _.$slider.children(_.options.slide + ':not(.slick-cloned)').addClass('slick-slide'); 11966 11967 _.slideCount = _.$slides.length; 11968 11969 _.$slides.each(function (index, element) { 11970 $(element).attr('data-slick-index', index).data('originalStyling', $(element).attr('style') || ''); 11971 }); 11972 11973 _.$slider.addClass('slick-slider'); 11974 11975 _.$slideTrack = _.slideCount === 0 ? $('<div class="slick-track"/>').appendTo(_.$slider) : _.$slides.wrapAll('<div class="slick-track"/>').parent(); 11976 11977 _.$list = _.$slideTrack.wrap('<div class="slick-list"/>').parent(); 11978 _.$slideTrack.css('opacity', 0); 11979 11980 if (_.options.centerMode === true || _.options.swipeToSlide === true) {
11981 _.options.slidesToScroll = 1; 11982 } 11983 11984 $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading'); 11985 11986 _.setupInfinite(); 11987 11988 _.buildArrows(); 11989 11990 _.buildDots(); 11991 11992 _.updateDots(); 11993 11994 _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0); 11995 11996 if (_.options.draggable === true) { 11997 _.$list.addClass('draggable'); 11998 } 11999 }; 12000 12001 Slick.prototype.buildRows = function () { 12002 12003 var _ = this, 12004 a, 12005 b, 12006 c, 12007 newSlides, 12008 numOfSlides, 12009 originalSlides, 12010 slidesPerSection; 12011 12012 newSlides = document.createDocumentFragment(); 12013 originalSlides = _.$slider.children(); 12014 12015 if (_.options.rows > 0) { 12016 12017 slidesPerSection = _.options.slidesPerRow * _.options.rows; 12018 numOfSlides = Math.ceil(originalSlides.length / slidesPerSection); 12019 12020 for (a = 0; a < numOfSlides; a++) { 12021 var slide = document.createElement('div'); 12022 for (b = 0; b < _.options.rows; b++) { 12023 var row = document.createElement('div'); 12024 for (c = 0; c < _.options.slidesPerRow; c++) { 12025 var target = a * slidesPerSection + (b * _.options.slidesPerRow + c); 12026 if (originalSlides.get(target)) { 12027 row.appendChild(originalSlides.get(target)); 12028 } 12029 } 12030 slide.appendChild(row); 12031 } 12032 newSlides.appendChild(slide); 12033 } 12034 12035 _.$slider.empty().append(newSlides); 12036 _.$slider.children().children().children().css({ 12037 'width': 100 / _.options.slidesPerRow + '%', 12038 'display': 'inline-block' 12039 }); 12040 } 12041 }; 12042 12043 Slick.prototype.checkResponsive = function (initial, forceUpdate) { 12044 12045 var _ = this, 12046 breakpoint, 12047 targetBreakpoint, 12048 respondToWidth, 12049 triggerBreakpoint = false; 12050 var sliderWidth = _.$slider.width(); 12051 var windowWidth = window.innerWidth || $(window).width(); 12052 12053 if (_.respondTo === 'window') { 12054 respondToWidth = windowWidth; 12055 } else if (_.respondTo === 'slider') { 12056 respondToWidth = sliderWidth; 12057 } else if (_.respondTo === 'min') { 12058 respondToWidth = Math.min(windowWidth, sliderWidth); 12059 } 12060 12061 if (_.options.responsive && _.options.responsive.length && _.options.responsive !== null) { 12062 12063 targetBreakpoint = null; 12064 12065 for (breakpoint in _.breakpoints) { 12066 if (_.breakpoints.hasOwnProperty(breakpoint)) { 12067 if (_.originalSettings.mobileFirst === false) { 12068 if (respondToWidth < _.breakpoints[breakpoint]) { 12069 targetBreakpoint = _.breakpoints[breakpoint]; 12070 } 12071 } else { 12072 if (respondToWidth > _.breakpoints[breakpoint]) { 12073 targetBreakpoint = _.breakpoints[breakpoint]; 12074 } 12075 } 12076 } 12077 } 12078 12079 if (targetBreakpoint !== null) { 12080 if (_.activeBreakpoint !== null) { 12081 if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) { 12082 _.activeBreakpoint = targetBreakpoint; 12083 if (_.breakpointSettings[targetBreakpoint] === 'unslick') { 12084 _.unslick(targetBreakpoint); 12085 } else { 12086 _.options = $.extend({}, _.originalSettings, _.breakpointSettings[targetBreakpoint]); 12087 if (initial === true) { 12088 _.currentSlide = _.options.initialSlide; 12089 } 12090 _.refresh(initial); 12091 } 12092 triggerBreakpoint = targetBreakpoint; 12093 } 12094 } else {
12095 _.activeBreakpoint = targetBreakpoint; 12096 if (_.breakpointSettings[targetBreakpoint] === 'unslick') { 12097 _.unslick(targetBreakpoint); 12098 } else { 12099 _.options = $.extend({}, _.originalSettings, _.breakpointSettings[targetBreakpoint]); 12100 if (initial === true) { 12101 _.currentSlide = _.options.initialSlide; 12102 } 12103 _.refresh(initial); 12104 } 12105 triggerBreakpoint = targetBreakpoint; 12106 } 12107 } else { 12108 if (_.activeBreakpoint !== null) { 12109 _.activeBreakpoint = null; 12110 _.options = _.originalSettings; 12111 if (initial === true) { 12112 _.currentSlide = _.options.initialSlide; 12113 } 12114 _.refresh(initial); 12115 triggerBreakpoint = targetBreakpoint; 12116 } 12117 } 12118 12119 // only trigger breakpoints during an actual break. not on initialize. 12120 if (!initial && triggerBreakpoint !== false) { 12121 _.$slider.trigger('breakpoint', [_, triggerBreakpoint]); 12122 } 12123 } 12124 }; 12125 12126 Slick.prototype.changeSlide = function (event, dontAnimate) { 12127 12128 var _ = this, 12129 $target = $(event.currentTarget), 12130 indexOffset, 12131 slideOffset, 12132 unevenOffset; 12133 12134 // If target is a link, prevent default action. 12135 if ($target.is('a')) { 12136 event.preventDefault(); 12137 } 12138 12139 // If target is not the <li> element (ie: a child), find the <li>. 12140 if (!$target.is('li')) { 12141 $target = $target.closest('li'); 12142 } 12143 12144 unevenOffset = _.slideCount % _.options.slidesToScroll !== 0; 12145 indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll; 12146 12147 switch (event.data.message) { 12148 12149 case 'previous': 12150 slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset; 12151 if (_.slideCount > _.options.slidesToShow) { 12152 _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate); 12153 } 12154 break; 12155 12156 case 'next': 12157 slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset; 12158 if (_.slideCount > _.options.slidesToShow) { 12159 _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate); 12160 } 12161 break; 12162 12163 case 'index': 12164 var index = event.data.index === 0 ? 0 : event.data.index || $target.index() * _.options.slidesToScroll; 12165 12166 _.slideHandler(_.checkNavigable(index), false, dontAnimate); 12167 $target.children().trigger('focus'); 12168 break; 12169 12170 default: 12171 return; 12172 } 12173 }; 12174 12175 Slick.prototype.checkNavigable = function (index) { 12176 12177 var _ = this, 12178 navigables, 12179 prevNavigable; 12180 12181 navigables = _.getNavigableIndexes(); 12182 prevNavigable = 0; 12183 if (index > navigables[navigables.length - 1]) { 12184 index = navigables[navigables.length - 1]; 12185 } else { 12186 for (var n in navigables) { 12187 if (index < navigables[n]) { 12188 index = prevNavigable; 12189 break; 12190 } 12191 prevNavigable = navigables[n]; 12192 } 12193 } 12194 12195 return index; 12196 }; 12197 12198 Slick.prototype.cleanUpEvents = function () { 12199 12200 var _ = this; 12201 12202 if (_.options.dots && _.$dots !== null) { 12203 12204 $('li', _.$dots).off('click.slick', _.changeSlide).off('mouseenter.slick', $.proxy(_.interrupt, _, true)).off('mouseleave.slick', $.proxy(_.interrupt, _, false)); 12205 12206 if (_.options.accessibility === true) { 12207 _.$dots.off('keydown.slick', _.keyHandler); 12208 } 12209 } 12210 12211 _.$slider.off('focus.slick blur.slick'); 12212 12213 if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) { 12214 _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide); 12215 _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide); 12216 12217 if (_.options.accessibility === true) { 12218 _.$prevArrow && _.$prevArrow.off('keydown.slick', _.keyHandler); 12219 _.$nextArrow && _.$nextArrow.off('keydown.slick', _.keyHandler); 12220 } 12221 } 12222 12223 _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler); 12224 _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler); 12225 _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
12226 _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler); 12227 12228 _.$list.off('click.slick', _.clickHandler); 12229 12230 $(document).off(_.visibilityChange, _.visibility); 12231 12232 _.cleanUpSlideEvents(); 12233 12234 if (_.options.accessibility === true) { 12235 _.$list.off('keydown.slick', _.keyHandler); 12236 } 12237 12238 if (_.options.focusOnSelect === true) { 12239 $(_.$slideTrack).children().off('click.slick', _.selectHandler); 12240 } 12241 12242 $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange); 12243 12244 $(window).off('resize.slick.slick-' + _.instanceUid, _.resize); 12245 12246 $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault); 12247 12248 $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition); 12249 }; 12250 12251 Slick.prototype.cleanUpSlideEvents = function () { 12252 12253 var _ = this; 12254 12255 _.$list.off('mouseenter.slick', $.proxy(_.interrupt, _, true)); 12256 _.$list.off('mouseleave.slick', $.proxy(_.interrupt, _, false)); 12257 }; 12258 12259 Slick.prototype.cleanUpRows = function () { 12260 12261 var _ = this, 12262 originalSlides; 12263 12264 if (_.options.rows > 0) { 12265 originalSlides = _.$slides.children().children(); 12266 originalSlides.removeAttr('style'); 12267 _.$slider.empty().append(originalSlides); 12268 } 12269 }; 12270 12271 Slick.prototype.clickHandler = function (event) { 12272 12273 var _ = this; 12274 12275 if (_.shouldClick === false) { 12276 event.stopImmediatePropagation(); 12277 event.stopPropagation(); 12278 event.preventDefault(); 12279 } 12280 }; 12281 12282 Slick.prototype.destroy = function (refresh) { 12283 12284 var _ = this; 12285 12286 _.autoPlayClear(); 12287 12288 _.touchObject = {}; 12289 12290 _.cleanUpEvents(); 12291 12292 $('.slick-cloned', _.$slider).detach(); 12293 12294 if (_.$dots) { 12295 _.$dots.remove(); 12296 } 12297 12298 if (_.$prevArrow && _.$prevArrow.length) { 12299 12300 _.$prevArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display', ''); 12301 12302 if (_.htmlExpr.test(_.options.prevArrow)) { 12303 _.$prevArrow.remove(); 12304 } 12305 } 12306 12307 if (_.$nextArrow && _.$nextArrow.length) { 12308 12309 _.$nextArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display', ''); 12310 12311 if (_.htmlExpr.test(_.options.nextArrow)) { 12312 _.$nextArrow.remove(); 12313 } 12314 } 12315 12316 if (_.$slides) { 12317 12318 _.$slides.removeClass('slick-slide slick-active slick-center slick-visible slick-current').removeAttr('aria-hidden').removeAttr('data-slick-index').each(function () { 12319 $(this).attr('style', $(this).data('originalStyling')); 12320 }); 12321 12322 _.$slideTrack.children(this.options.slide).detach(); 12323 12324 _.$slideTrack.detach(); 12325 12326 _.$list.detach(); 12327 12328 _.$slider.append(_.$slides); 12329 } 12330 12331 _.cleanUpRows(); 12332 12333 _.$slider.removeClass('slick-slider'); 12334 _.$slider.removeClass('slick-initialized'); 12335 _.$slider.removeClass('slick-dotted'); 12336 12337 _.unslicked = true; 12338 12339 if (!refresh) { 12340 _.$slider.trigger('destroy', [_]); 12341 } 12342 }; 12343 12344 Slick.prototype.disableTransition = function (slide) { 12345 12346 var _ = this, 12347 transition = {}; 12348 12349 transition[_.transitionType] = ''; 12350 12351 if (_.options.fade === false) { 12352 _.$slideTrack.css(transition); 12353 } else { 12354 _.$slides.eq(slide).css(transition); 12355 } 12356 }; 12357 12358 Slick.prototype.fadeSlide = function (slideIndex, callback) { 12359 12360 var _ = this; 12361 12362 if (_.cssTransitions === false) { 12363 12364 _.$slides.eq(slideIndex).css({ 12365 zIndex: _.options.zIndex 12366 }); 12367 12368 _.$slides.eq(slideIndex).animate({ 12369 opacity: 1 12370 }, _.options.speed, _.options.easing, callback); 12371 } else { 12372 12373 _.applyTransition(slideIndex); 12374 12375 _.$slides.eq(slideIndex).css({ 12376 opacity: 1, 12377 zIndex: _.options.zIndex 12378 }); 12379 12380 if (callback) { 12381 setTimeout(function () { 12382 12383 _.disableTransition(slideIndex); 12384 12385 callback.call(); 12386 }, _.options.speed); 12387 } 12388 } 12389 }; 12390 12391 Slick.prototype.fadeSlideOut = function (slideIndex) { 12392 12393 var _ = this; 12394 12395 if (_.cssTransitions === false) { 12396 12397 _.$slides.eq(slideIndex).animate({ 12398 opacity: 0, 12399 zIndex: _.options.zIndex - 2 12400 }, _.options.speed, _.options.easing); 12401 } else { 12402 12403 _.applyTransition(slideIndex); 12404 12405 _.$slides.eq(slideIndex).css({ 12406 opacity: 0, 12407 zIndex: _.options.zIndex - 2 12408 }); 12409 } 12410 }; 12411
12412 Slick.prototype.filterSlides = Slick.prototype.slickFilter = function (filter) { 12413 12414 var _ = this; 12415 12416 if (filter !== null) { 12417 12418 _.$slidesCache = _.$slides; 12419 12420 _.unload(); 12421 12422 _.$slideTrack.children(this.options.slide).detach(); 12423 12424 _.$slidesCache.filter(filter).appendTo(_.$slideTrack); 12425 12426 _.reinit(); 12427 } 12428 }; 12429 12430 Slick.prototype.focusHandler = function () { 12431 12432 var _ = this; 12433 12434 // If any child element receives focus within the slider we need to pause the autoplay 12435 _.$slider.off('focus.slick blur.slick').on('focus.slick', '*', function (event) { 12436 var $sf = $(this); 12437 12438 setTimeout(function () { 12439 if (_.options.pauseOnFocus) { 12440 if ($sf.is(':focus')) { 12441 _.focussed = true; 12442 _.autoPlay(); 12443 } 12444 } 12445 }, 0); 12446 }).on('blur.slick', '*', function (event) { 12447 var $sf = $(this); 12448 12449 // When a blur occurs on any elements within the slider we become unfocused 12450 if (_.options.pauseOnFocus) { 12451 _.focussed = false; 12452 _.autoPlay(); 12453 } 12454 }); 12455 }; 12456 12457 Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function () { 12458 12459 var _ = this; 12460 return _.currentSlide; 12461 }; 12462 12463 Slick.prototype.getDotCount = function () { 12464 12465 var _ = this; 12466 12467 var breakPoint = 0; 12468 var counter = 0; 12469 var pagerQty = 0; 12470 12471 if (_.options.infinite === true) { 12472 if (_.slideCount <= _.options.slidesToShow) { 12473 ++pagerQty; 12474 } else { 12475 while (breakPoint < _.slideCount) { 12476 ++pagerQty; 12477 breakPoint = counter + _.options.slidesToScroll; 12478 counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow; 12479 } 12480 } 12481 } else if (_.options.centerMode === true) { 12482 pagerQty = _.slideCount; 12483 } else if (!_.options.asNavFor) { 12484 pagerQty = 1 + Math.ceil((_.slideCount - _.options.slidesToShow) / _.options.slidesToScroll); 12485 } else { 12486 while (breakPoint < _.slideCount) { 12487 ++pagerQty; 12488 breakPoint = counter + _.options.slidesToScroll; 12489 counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow; 12490 } 12491 } 12492 12493 return pagerQty - 1; 12494 }; 12495 12496 Slick.prototype.getLeft = function (slideIndex) { 12497 12498 var _ = this, 12499 targetLeft, 12500 verticalHeight, 12501 verticalOffset = 0, 12502 targetSlide, 12503 coef; 12504 12505 _.slideOffset = 0; 12506 verticalHeight = _.$slides.first().outerHeight(true); 12507 12508 if (_.options.infinite === true) { 12509 if (_.slideCount > _.options.slidesToShow) { 12510 _.slideOffset = _.slideWidth * _.options.slidesToShow * -1; 12511 coef = -1; 12512 12513 if (_.options.vertical === true && _.options.centerMode === true) { 12514 if (_.options.slidesToShow === 2) { 12515 coef = -1.5; 12516 } else if (_.options.slidesToShow === 1) { 12517 coef = -2; 12518 } 12519 } 12520 verticalOffset = verticalHeight * _.options.slidesToShow * coef; 12521 } 12522 if (_.slideCount % _.options.slidesToScroll !== 0) { 12523 if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) { 12524 if (slideIndex > _.slideCount) { 12525 _.slideOffset = (_.options.slidesToShow - (sl
12525ideIndex - _.slideCount)) * _.slideWidth * -1; 12526 verticalOffset = (_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight * -1; 12527 } else { 12528 _.slideOffset = _.slideCount % _.options.slidesToScroll * _.slideWidth * -1; 12529 verticalOffset = _.slideCount % _.options.slidesToScroll * verticalHeight * -1; 12530 } 12531 } 12532 } 12533 } else { 12534 if (slideIndex + _.options.slidesToShow > _.slideCount) { 12535 _.slideOffset = (slideIndex + _.options.slidesToShow - _.slideCount) * _.slideWidth; 12536 verticalOffset = (slideIndex + _.options.slidesToShow - _.slideCount) * verticalHeight; 12537 } 12538 } 12539 12540 if (_.slideCount <= _.options.slidesToShow) { 12541 _.slideOffset = 0; 12542 verticalOffset = 0; 12543 } 12544 12545 if (_.options.centerMode === true && _.slideCount <= _.options.slidesToShow) { 12546 _.slideOffset = _.slideWidth * Math.floor(_.options.slidesToShow) / 2 - _.slideWidth * _.slideCount / 2; 12547 } else if (_.options.centerMode === true && _.options.infinite === true) { 12548 _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth; 12549 } else if (_.options.centerMode === true) { 12550 _.slideOffset = 0; 12551 _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2); 12552 } 12553 12554 if (_.options.vertical === false) { 12555 targetLeft = slideIndex * _.slideWidth * -1 + _.slideOffset; 12556 } else { 12557 targetLeft = slideIndex * verticalHeight * -1 + verticalOffset; 12558 } 12559 12560 if (_.options.variableWidth === true) { 12561
12562 if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) { 12563 targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex); 12564 } else { 12565 targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow); 12566 } 12567 12568 if (_.options.rtl === true) { 12569 if (targetSlide[0]) { 12570 targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1; 12571 } else { 12572 targetLeft = 0; 12573 } 12574 } else { 12575 targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0; 12576 } 12577 12578 if (_.options.centerMode === true) { 12579 if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) { 12580 targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex); 12581 } else { 12582 targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1); 12583 } 12584 12585 if (_.options.rtl === true) { 12586 if (targetSlide[0]) { 12587 targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1; 12588 } else { 12589 targetLeft = 0; 12590 } 12591 } else { 12592 targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0; 12593 } 12594 12595 targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2; 12596 } 12597 } 12598 12599 return targetLeft; 12600 }; 12601 12602 Slick.prototype.getOption = Slick.prototype.slickGetOption = function (option) { 12603 12604 var _ = this; 12605 12606 return _.options[option]; 12607 }; 12608 12609 Slick.prototype.getNavigableIndexes = function () { 12610 12611 var _ = this, 12612 breakPoint = 0, 12613 counter = 0, 12614 indexes = [], 12615 max; 12616 12617 if (_.options.infinite === false) { 12618 max = _.slideCount; 12619 } else { 12620 breakPoint = _.options.slidesToScroll * -1; 12621 counter = _.options.slidesToScroll * -1; 12622 max = _.slideCount * 2; 12623 } 12624 12625 while (breakPoint < max) { 12626 indexes.push(breakPoint); 12627 breakPoint = counter + _.options.slidesToScroll; 12628 counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow; 12629 } 12630 12631 return indexes; 12632 }; 12633 12634 Slick.prototype.getSlick = function () { 12635 12636 return this; 12637 }; 12638 12639 Slick.prototype.getSlideCount = function () { 12640 12641 var _ = this, 12642 slidesTraversed, 12643 swipedSlide, 12644 swipeTarget, 12645 centerOffset; 12646 12647 centerOffset = _.options.centerMode === true ? Math.floor(_.$list.width() / 2) : 0; 12648 swipeTarget = _.swipeLeft * -1 + centerOffset; 12649 12650 if (_.options.swipeToSlide === true) { 12651 12652 _.$slideTrack.find('.slick-slide').each(function (index, slide) { 12653 12654 var slideOuterWidth, slideOffset, slideRightBoundary; 12655 slideOuterWidth = $(slide).outerWidth(); 12656 slideOffset = slide.offsetLeft; 12657 if (_.options.centerMode !== true) { 12658 slideOffset += slideOuterWidth / 2; 12659 } 12660 12661 slideRightBoundary = slideOffset + slideOuterWidth; 12662 12663 if (swipeTarget < slideRightBoundary) { 12664 swipedSlide = slide; 12665 return false; 12666 } 12667 }); 12668 12669 slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1; 12670 12671 return slidesTraversed; 12672 } else { 12673 return _.options.slidesToScroll; 12674 } 12675 }; 12676 12677 Slick.prototype.goTo = Slick.prototype.slickGoTo = function (slide, dontAnimate) { 12678 12679 var _ = this; 12680 12681 _.changeSlide({ 12682 data: { 12683 message: 'index', 12684 index: parseInt(slide) 12685 } 12686 }, dontAnimate); 12687 }; 12688 12689 Slick.prototype.init = function (creation) { 12690 12691 var _ = this; 12692 12693 if (!$(_.$slider).hasClass('slick-initialized')) { 12694 12695 $(_.$slider).addClass('slick-initialized'); 12696 12697 _.buildRows(); 12698 _.buildOut(); 12699 _.setProps(); 12700 _.startLoad(); 12701 _.loadSlider(); 12702 _.initializeEvents(); 12703 _.updateArrows(); 12704 _.updateDots(); 12705 _.checkResponsive(true); 12706 _.focusHandler(); 12707 } 12708 12709 if (creation) { 12710 _.$slider.trigger('init', [_]); 12711 } 12712 12713 if (_.options.accessibility === true) { 12714 _.initADA(); 12715 } 12716 12717 if (_.options.autoplay) { 12718 12719 _.paused = false;
12720 _.autoPlay(); 12721 } 12722 }; 12723 12724 Slick.prototype.initADA = function () { 12725 var _ = this, 12726 numDotGroups = Math.ceil(_.slideCount / _.options.slidesToShow), 12727 tabControlIndexes = _.getNavigableIndexes().filter(function (val) { 12728 return val >= 0 && val < _.slideCount; 12729 }); 12730 12731 _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({ 12732 'aria-hidden': 'true', 12733 'tabindex': '-1' 12734 }).find('a, input, button, select').attr({ 12735 'tabindex': '-1' 12736 }); 12737 12738 if (_.$dots !== null) { 12739 _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function (i) { 12740 var slideControlIndex = tabControlIndexes.indexOf(i); 12741 12742 $(this).attr({ 12743 'role': 'tabpanel', 12744 'id': 'slick-slide' + _.instanceUid + i, 12745 'tabindex': -1 12746 }); 12747 12748 if (slideControlIndex !== -1) { 12749 var ariaButtonControl = 'slick-slide-control' + _.instanceUid + slideControlIndex; 12750 if ($('#' + ariaButtonControl).length) { 12751 $(this).attr({ 12752 'aria-describedby': ariaButtonControl 12753 }); 12754 } 12755 } 12756 }); 12757 12758 _.$dots.attr('role', 'tablist').find('li').each(function (i) { 12759 var mappedSlideIndex = tabControlIndexes[i]; 12760 12761 $(this).attr({ 12762 'role': 'presentation' 12763 }); 12764 12765 $(this).find('button').first().attr({ 12766 'role': 'tab', 12767 'id': 'slick-slide-control' + _.instanceUid + i, 12768 'aria-controls': 'slick-slide' + _.instanceUid + mappedSlideIndex, 12769 'aria-label': i + 1 + ' of ' + numDotGroups, 12770 'aria-selected': null, 12771 'tabindex': '-1' 12772 }); 12773 }).eq(_.currentSlide).find('button').attr({ 12774 'aria-selected': 'true', 12775 'tabindex': '0' 12776 }).end(); 12777 } 12778 12779 for (var i = _.currentSlide, max = i + _.options.slidesToShow; i < max; i++) { 12780 if (_.options.focusOnChange) { 12781 _.$slides.eq(i).attr({ 'tabindex': '0' }); 12782 } else { 12783 _.$slides.eq(i).removeAttr('tabindex'); 12784 } 12785 } 12786 12787 _.activateADA(); 12788 }; 12789 12790 Slick.prototype.initArrowEvents = function () { 12791 12792 var _ = this; 12793 12794 if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) { 12795 _.$prevArrow.off('click.slick').on('click.slick', { 12796 message: 'previous' 12797 }, _.changeSlide); 12798 _.$nextArrow.off('click.slick').on('click.slick', { 12799 message: 'next' 12800 }, _.changeSlide); 12801 12802 if (_.options.accessibility === true) { 12803 _.$prevArrow.on('keydown.slick', _.keyHandler); 12804 _.$nextArrow.on('keydown.slick', _.keyHandler); 12805 } 12806 } 12807 }; 12808 12809 Slick.prototype.initDotEvents = function () { 12810 12811 var _ = this; 12812 12813 if (_.options.dots === true && _.slideCount > _.options.slidesToShow) { 12814 $('li', _.$dots).on('click.slick', { 12815 message: 'index' 12816 }, _.changeSlide); 12817 12818 if (_.options.accessibility === true) { 12819 _.$dots.on('keydown.slick', _.keyHandler); 12820 } 12821 } 12822 12823 if (_.options.dots === true && _.options.pauseOnDotsHover === true && _.slideCount > _.options.slidesToShow) { 12824 12825 $('li', _.$dots).on('mouseenter.slick', $.proxy(_.interrupt, _, true)).on('mouseleave.slick', $.proxy(_.interrupt, _, false)); 12826 } 12827 }; 12828 12829 Slick.prototype.initSlideEvents = function () { 12830 12831 var _ = this; 12832 12833 if (_.options.pauseOnHover) { 12834 12835 _.$list.on('mouseenter.slick', $.proxy(_.interrupt, _, true)); 12836 _.$list.on('mouseleave.slick', $.proxy(_.interrupt, _, false)); 12837 } 12838 }; 12839 12840 Slick.prototype.initializeEvents = function () { 12841 12842 var _ = this; 12843 12844 _.initArrowEvents(); 12845 12846 _.initDotEvents(); 12847 _.initSlideEvents(); 12848 12849 _.$list.on('touchstart.slick mousedown.slick', { 12850 action: 'start' 12851 }, _.swipeHandler); 12852 _.$list.on('touchmove.slick mousemove.slick', { 12853 action: 'move' 12854 }, _.swipeHandler); 12855 _.$list.on('touchend.slick mouseup.slick', { 12856 action: 'end' 12857 }, _.swipeHandler);
12858 _.$list.on('touchcancel.slick mouseleave.slick', { 12859 action: 'end' 12860 }, _.swipeHandler); 12861 12862 _.$list.on('click.slick', _.clickHandler); 12863 12864 $(document).on(_.visibilityChange, $.proxy(_.visibility, _)); 12865 12866 if (_.options.accessibility === true) { 12867 _.$list.on('keydown.slick', _.keyHandler); 12868 } 12869 12870 if (_.options.focusOnSelect === true) { 12871 $(_.$slideTrack).children().on('click.slick', _.selectHandler); 12872 } 12873 12874 $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _)); 12875 12876 $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _)); 12877 12878 $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault); 12879 12880 $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition); 12881 $(_.setPosition); 12882 }; 12883 12884 Slick.prototype.initUI = function () { 12885 12886 var _ = this; 12887 12888 if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) { 12889 12890 _.$prevArrow.show(); 12891 _.$nextArrow.show(); 12892 } 12893 12894 if (_.options.dots === true && _.slideCount > _.options.slidesToShow) { 12895 12896 _.$dots.show(); 12897 } 12898 }; 12899 12900 Slick.prototype.keyHandler = function (event) { 12901 12902 var _ = this; 12903 //Dont slide if the cursor is inside the form fields and arrow keys are pressed 12904 if (!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) { 12905 if (event.keyCode === 37 && _.options.accessibility === true) { 12906 _.changeSlide({ 12907 data: { 12908 message: _.options.rtl === true ? 'next' : 'previous' 12909 } 12910 }); 12911 } else if (event.keyCode === 39 && _.options.accessibility === true) { 12912 _.changeSlide({ 12913 data: { 12914 message: _.options.rtl === true ? 'previous' : 'next' 12915 } 12916 }); 12917 } 12918 } 12919 }; 12920 12921 Slick.prototype.lazyLoad = function () { 12922 12923 var _ = this, 12924 loadRange, 12925 cloneRange, 12926 rangeStart, 12927 rangeEnd; 12928 12929 function loadImages(imagesScope) { 12930 12931 $('img[data-lazy]', imagesScope).each(function () { 12932 12933 var image = $(this), 12934 imageSource = $(this).attr('data-lazy'), 12935 imageSrcSet = $(this).attr('data-srcset'), 12936 imageSizes = $(this).attr('data-sizes') || _.$slider.attr('data-sizes'), 12937 imageToLoad = document.createElement('img'); 12938 12939 imageToLoad.onload = function () { 12940 12941 image.animate({ opacity: 0 }, 100, function () { 12942 12943 if (imageSrcSet) { 12944 image.attr('srcset', imageSrcSet); 12945 12946 if (imageSizes) { 12947 image.attr('sizes', imageSizes); 12948 } 12949 } 12950 12951 image.attr('src', imageSource).animate({ opacity: 1 }, 200, function () { 12952 image.removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading'); 12953 }); 12954 _.$slider.trigger('lazyLoaded', [_, image, imageSource]); 12955 }); 12956 }; 12957 12958 imageToLoad.onerror = function () { 12959 12960 image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error'); 12961 12962 _.$slider.trigger('lazyLoadError', [_, image, imageSource]); 12963 }; 12964 12965 imageToLoad.src = imageSource; 12966 }); 12967 } 12968 12969 if (_.options.centerMode === true) { 12970 if (_.options.infinite === true) { 12971 rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1); 12972 rangeEnd = rangeStart + _.options.slidesToShow + 2; 12973 } else { 12974 rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1)); 12975 rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide; 12976 } 12977 } else {
12978 rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide; 12979 rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow); 12980 if (_.options.fade === true) { 12981 if (rangeStart > 0) rangeStart--; 12982 if (rangeEnd <= _.slideCount) rangeEnd++; 12983 } 12984 } 12985 12986 loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd); 12987 12988 if (_.options.lazyLoad === 'anticipated') { 12989 var prevSlide = rangeStart - 1, 12990 nextSlide = rangeEnd, 12991 $slides = _.$slider.find('.slick-slide'); 12992 12993 for (var i = 0; i < _.options.slidesToScroll; i++) { 12994 if (prevSlide < 0) prevSlide = _.slideCount - 1; 12995 loadRange = loadRange.add($slides.eq(prevSlide)); 12996 loadRange = loadRange.add($slides.eq(nextSlide)); 12997 prevSlide--; 12998 nextSlide++; 12999 } 13000 } 13001 13002 loadImages(loadRange); 13003 13004 if (_.slideCount <= _.options.slidesToShow) { 13005 cloneRange = _.$slider.find('.slick-slide'); 13006 loadImages(cloneRange); 13007 } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow) { 13008 cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow); 13009 loadImages(cloneRange); 13010 } else if (_.currentSlide === 0) { 13011 cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1); 13012 loadImages(cloneRange); 13013 } 13014 }; 13015 13016 Slick.prototype.loadSlider = function () { 13017 13018 var _ = this; 13019 13020 _.setPosition(); 13021 13022 _.$slideTrack.css({ 13023 opacity: 1 13024 }); 13025 13026 _.$slider.removeClass('slick-loading'); 13027 13028 _.initUI(); 13029 13030 if (_.options.lazyLoad === 'progressive') { 13031 _.progressiveLazyLoad(); 13032 } 13033 }; 13034 13035 Slick.prototype.next = Slick.prototype.slickNext = function () { 13036 13037 var _ = this; 13038 13039 _.changeSlide({ 13040 data: { 13041 message: 'next' 13042 } 13043 }); 13044 }; 13045 13046 Slick.prototype.orientationChange = function () { 13047 13048 var _ = this; 13049 13050 _.checkResponsive(); 13051 _.setPosition(); 13052 }; 13053 13054 Slick.prototype.pause = Slick.prototype.slickPause = function () { 13055 13056 var _ = this; 13057 13058 _.autoPlayClear(); 13059 _.paused = true; 13060 }; 13061 13062 Slick.prototype.play = Slick.prototype.slickPlay = function () { 13063 13064 var _ = this; 13065 13066 _.autoPlay(); 13067 _.options.autoplay = true; 13068 _.paused = false; 13069 _.focussed = false; 13070 _.interrupted = false; 13071 }; 13072 13073 Slick.prototype.postSlide = function (index) { 13074 13075 var _ = this; 13076 13077 if (!_.unslicked) { 13078 13079 _.$slider.trigger('afterChange', [_, index]); 13080 13081 _.animating = false; 13082 13083 if (_.slideCount > _.options.slidesToShow) { 13084 _.setPosition(); 13085 } 13086 13087 _.swipeLeft = null; 13088 13089 if (_.options.autoplay) { 13090 _.autoPlay(); 13091 } 13092 13093 if (_.options.accessibility === true) { 13094 _.initADA(); 13095 13096 if (_.options.focusOnChange) { 13097 var $currentSlide = $(_.$slides.get(_.currentSlide)); 13098 $currentSlide.attr('tabindex', 0).focus(); 13099 } 13100 } 13101 } 13102 }; 13103 13104 Slick.prototype.prev = Slick.prototype.slickPrev = function () { 13105 13106 var _ = this; 13107 13108 _.changeSlide({ 13109 data: { 13110 message: 'previous' 13111 } 13112 }); 13113 }; 13114 13115 Slick.prototype.preventDefault = function (event) { 13116 13117 event.preventDefault(); 13118 }; 13119 13120 Slick.prototype.progressiveLazyLoad = function (tryCount) { 13121 13122 tryCount = tryCount || 1; 13123 13124 var _ = this, 13125 $imgsToLoad = $('img[data-lazy]', _.$slider), 13126 image, 13127 imageSource, 13128 imageSrcSet, 13129 imageSizes, 13130 imageToLoad; 13131 13132 if ($imgsToLoad.length) { 13133 13134 image = $imgsToLoad.first(); 13135 imageSource = image.attr('data-lazy'); 13136 imageSrcSet = image.attr('data-srcset'); 13137 imageSizes = image.attr('data-sizes') || _.$slider.attr('data-sizes'); 13138 imageToLoad = document.createElement('img'); 13139 13140 imageToLoad.onload = function () { 13141 13142 if (imageSrcSet) { 13143 image.attr('srcset', imageSrcSet); 13144 13145 if (imageSizes) { 13146 image.attr('sizes', imageSizes); 13147 } 13148 } 13149 13150 image.attr('src', imageSource).removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading'); 13151 13152 if (_.options.adaptiveHeight === true) { 13153 _.setPosition(); 13154 } 13155 13156 _.$slider.trigger('lazyLoaded', [_, image, imageSource]); 13157 _.progressiveLazyLoad(); 13158 }; 13159 13160 imageToLoad.onerror = function () { 13161 13162 if (tryCount < 3) { 13163 13164 /** 13165 * try to load the image 3 times, 13166 * leave a slight delay so we don't get 13167 * servers blocking the request. 13168 */ 13169 setTimeout(function () { 13170 _.progressiveLazyLoad(tryCount + 1); 13171 }, 500); 13172 } else { 13173 13174 image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error'); 13175 13176 _.$slider.trigger('lazyLoadError', [_, image, imageSource]); 13177 13178 _.progressiveLazyLoad(); 13179 } 13180 }; 13181 13182 imageToLoad.src = imageSource; 13183 } else { 13184 13185 _.$slider.trigger('allImagesLoaded', [_]); 13186 } 13187 }; 13188 13189 Slick.prototype.refresh = function (initializing) { 13190 13191 var _ = this, 13192 currentSlide, 13193 lastVisibleIndex; 13194 13195 lastVisibleIndex = _.slideCount - _.options.slidesToShow; 13196 13197 // in non-infinite sliders, we don't want to go past the 13198 // last visible index. 13199 if (!_.options.infinite && _.currentSlide > lastVisibleIndex) { 13200 _.currentSlide = lastVisibleIndex; 13201 } 13202 13203 // if less slides than to show, go to start. 13204 if (_.slideCount <= _.options.slidesToShow) { 13205 _.currentSlide = 0; 13206 } 13207 13208 currentSlide = _.currentSlide; 13209 13210 _.destroy(true); 13211 13212 $.extend(_, _.initials, { currentSlide: currentSlide }); 13213
13214 _.init(); 13215 13216 if (!initializing) { 13217 13218 _.changeSlide({ 13219 data: { 13220 message: 'index', 13221 index: currentSlide 13222 } 13223 }, false); 13224 } 13225 }; 13226 13227 Slick.prototype.registerBreakpoints = function () { 13228 13229 var _ = this, 13230 breakpoint, 13231 currentBreakpoint, 13232 l, 13233 responsiveSettings = _.options.responsive || null; 13234 13235 if ($.type(responsiveSettings) === 'array' && responsiveSettings.length) { 13236 13237 _.respondTo = _.options.respondTo || 'window'; 13238 13239 for (breakpoint in responsiveSettings) { 13240 13241 l = _.breakpoints.length - 1; 13242 13243 if (responsiveSettings.hasOwnProperty(breakpoint)) { 13244 currentBreakpoint = responsiveSettings[breakpoint].breakpoint; 13245 13246 // loop through the breakpoints and cut out any existing 13247 // ones with the same breakpoint number, we don't want dupes. 13248 while (l >= 0) { 13249 if (_.breakpoints[l] && _.breakpoints[l] === currentBreakpoint) { 13250 _.breakpoints.splice(l, 1); 13251 } 13252 l--; 13253 } 13254 13255 _.breakpoints.push(currentBreakpoint); 13256 _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings; 13257 } 13258 } 13259 13260 _.breakpoints.sort(function (a, b) { 13261 return _.options.mobileFirst ? a - b : b - a; 13262 }); 13263 } 13264 }; 13265 13266 Slick.prototype.reinit = function () { 13267 13268 var _ = this; 13269 13270 _.$slides = _.$slideTrack.children(_.options.slide).addClass('slick-slide'); 13271 13272 _.slideCount = _.$slides.length; 13273 13274 if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) { 13275 _.currentSlide = _.currentSlide - _.options.slidesToScroll; 13276 } 13277 13278 if (_.slideCount <= _.options.slidesToShow) { 13279 _.currentSlide = 0; 13280 } 13281 13282 _.registerBreakpoints(); 13283 13284 _.setProps(); 13285 _.setupInfinite(); 13286 _.buildArrows(); 13287 _.updateArrows(); 13288 _.initArrowEvents(); 13289 _.buildDots(); 13290 _.updateDots(); 13291 _.initDotEvents(); 13292 _.cleanUpSlideEvents(); 13293 _.initSlideEvents(); 13294 13295 _.checkResponsive(false, true); 13296 13297 if (_.options.focusOnSelect === true) { 13298 $(_.$slideTrack).children().on('click.slick', _.selectHandler); 13299 } 13300 13301 _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0); 13302 13303 _.setPosition(); 13304 _.focusHandler(); 13305 13306 _.paused = !_.options.autoplay; 13307 _.autoPlay(); 13308 13309 _.$slider.trigger('reInit', [_]); 13310 }; 13311 13312 Slick.prototype.resize = function () { 13313 13314 var _ = this; 13315 13316 if ($(window).width() !== _.windowWidth) { 13317 clearTimeout(_.windowDelay); 13318 _.windowDelay = window.setTimeout(function () { 13319 _.windowWidth = $(window).width(); 13320 _.checkResponsive(); 13321 if (!_.unslicked) { 13322 _.setPosition(); 13323 } 13324 }, 50); 13325 } 13326 }; 13327 13328 Slick.prototype.removeSlide = Slick.prototype.slickRemove = function (index, removeBefore, removeAll) { 13329 13330 var _ = this; 13331 13332 if (typeof index === 'boolean') { 13333 removeBefore = index; 13334 index = removeBefore === true ? 0 : _.slideCount - 1; 13335 } else { 13336 index = removeBefore === true ? --index : index; 13337 } 13338 13339 if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) { 13340 return false; 13341 } 13342 13343 _.unload(); 13344 13345 if (removeAll === true) { 13346 _.$slideTrack.children().remove(); 13347 } else { 13348 _.$slideTrack.children(this.options.slide).eq(index).remove(); 13349 } 13350 13351 _.$slides = _.$slideTrack.children(this.options.slide); 13352 13353 _.$slideTrack.children(this.options.slide).detach(); 13354 13355 _.$slideTrack.append(_.$slides); 13356 13357 _.$slidesCache = _.$slides; 13358 13359 _.reinit(); 13360 }; 13361 13362 Slick.prototype.setCSS = function (position) { 13363 13364 var _ = this, 13365 positionProps = {}, 13366 x, 13367 y; 13368 13369 if (_.options.rtl === true) { 13370 position = -position; 13371 } 13372 x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px'; 13373 y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px'; 13374 13375 positionProps[_.positionProp] = position; 13376 13377 if (_.transformsEnabled === false) { 13378 _.$slideTrack.css(positionProps); 13379 } else { 13380 positionProps = {}; 13381 if (_.cssTransitions === false) { 13382 positionProps[_.animType] = 'translate(' + x + ', ' + y + ')'; 13383 _.$slideTrack.css(positionProps); 13384 } else { 13385 positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)'; 13386 _.$slideTrack.css(positionProps); 13387 } 13388 } 13389 }; 13390 13391 Slick.prototype.setDimensions = function () { 13392 13393 var _ = this; 13394 13395 if (_.options.vertical === false) { 13396 if (_.options.centerMode === true) { 13397 _.$list.css({ 13398 padding: '0px ' + _.options.centerPadding 13399 }); 13400 } 13401 } else { 13402 _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow); 13403 if (_.options.centerMode === true) { 13404 _.$list.css({ 13405 padding: _.options.centerPadding + ' 0px' 13406 }); 13407 } 13408 } 13409 13410 _.listWidth = _.$list.width(); 13411 _.listHeight = _.$list.height(); 13412 13413 if (_.options.vertical === false && _.options.variableWidth === false) { 13414 _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow); 13415 _.$slideTrack.width(Math.ceil(_.slideWidth * _.$slideTrack.children('.slick-slide').length)); 13416 } else if (_.options.variableWidth === true) { 13417 _.$slideTrack.width(5000 * _.slideCount); 13418 } else { 13419 _.slideWidth = Math.ceil(_.listWidth); 13420 _.$slideTrack.height(Math.ceil(_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)); 13421 } 13422 13423 var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width(); 13424 if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset); 13425 }; 13426 13427 Slick.prototype.setFade = function () { 13428 13429 var _ = this, 13430 targetLeft; 13431 13432 _.$slides.each(function (index, element) { 13433 targetLeft = _.slideWidth * index * -1; 13434 if (_.options.rtl === true) { 13435 $(element).css({ 13436 position: 'relative', 13437 right: targetLeft, 13438 top: 0, 13439 zIndex: _.options.zIndex - 2, 13440 opacity: 0 13441 }); 13442 } else { 13443 $(element).css({ 13444 position: 'relative', 13445 left: targetLeft, 13446 top: 0, 13447 zIndex: _.options.zIndex - 2, 13448 opacity: 0 13449 }); 13450 } 13451 }); 13452 13453 _.$slides.eq(_.currentSlide).css({ 13454 zIndex: _.options.zIndex - 1, 13455 opacity: 1 13456 }); 13457 }; 13458 13459 Slick.prototype.setHeight = function () { 13460 13461 var _ = this; 13462 13463 if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) { 13464 var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true); 13465 _.$list.css('height', targetHeight); 13466 } 13467 }; 13468 13469 Slick.prototype.setOption = Slick.prototype.slickSetOption = function () { 13470 13471 /** 13472 * accepts arguments in format of: 13473 * 13474 * - for changing a single option's value: 13475 * .slick("setOption", option, value, refresh ) 13476 * 13477 * - for changing a set of responsive options: 13478 * .slick("setOption", 'responsive', [{}, ...], refresh ) 13479 * 13480 * - for updating multiple values at once (not responsive) 13481 * .slick("setOption", { 'option': value, ... }, refresh ) 13482 */ 13483 13484 var _ = this, 13485 l, 13486 item, 13487 option, 13488 value, 13489 refresh = false, 13490 type; 13491 13492 if ($.type(arguments[0]) === 'object') { 13493 13494 option = arguments[0]; 13495 refresh = arguments[1]; 13496 type = 'multiple'; 13497 } else if ($.type(arguments[0]) === 'string') { 13498 13499 option = arguments[0]; 13500 value = arguments[1]; 13501 refresh = arguments[2]; 13502 13503 if (arguments[0] === 'responsive' && $.type(arguments[1]) === 'array') { 13504 13505 type = 'responsive'; 13506 } else if (typeof arguments[1] !== 'undefined') { 13507 13508 type = 'single'; 13509 } 13510 } 13511 13512 if (type === 'single') { 13513
13514 _.options[option] = value; 13515 } else if (type === 'multiple') { 13516 13517 $.each(option, function (opt, val) { 13518 13519 _.options[opt] = val; 13520 }); 13521 } else if (type === 'responsive') { 13522 13523 for (item in value) { 13524 13525 if ($.type(_.options.responsive) !== 'array') { 13526 13527 _.options.responsive = [value[item]]; 13528 } else { 13529 13530 l = _.options.responsive.length - 1; 13531 13532 // loop through the responsive object and splice out duplicates. 13533 while (l >= 0) { 13534 13535 if (_.options.responsive[l].breakpoint === value[item].breakpoint) { 13536 13537 _.options.responsive.splice(l, 1); 13538 } 13539 13540 l--; 13541 } 13542 13543 _.options.responsive.push(value[item]); 13544 } 13545 } 13546 } 13547 13548 if (refresh) { 13549 13550 _.unload(); 13551 _.reinit(); 13552 } 13553 }; 13554 13555 Slick.prototype.setPosition = function () { 13556 13557 var _ = this; 13558 13559 _.setDimensions(); 13560 13561 _.setHeight(); 13562 13563 if (_.options.fade === false) { 13564 _.setCSS(_.getLeft(_.currentSlide)); 13565 } else { 13566 _.setFade(); 13567 } 13568 13569 _.$slider.trigger('setPosition', [_]); 13570 }; 13571 13572 Slick.prototype.setProps = function () { 13573 13574 var _ = this, 13575 bodyStyle = document.body.style; 13576 13577 _.positionProp = _.options.vertical === true ? 'top' : 'left'; 13578 13579 if (_.positionProp === 'top') { 13580 _.$slider.addClass('slick-vertical'); 13581 } else { 13582 _.$slider.removeClass('slick-vertical'); 13583 } 13584 13585 if (bodyStyle.WebkitTransition !== undefined || bodyStyle.MozTransition !== undefined || bodyStyle.msTransition !== undefined) { 13586 if (_.options.useCSS === true) { 13587 _.cssTransitions = true; 13588 } 13589 } 13590 13591 if (_.options.fade) { 13592 if (typeof _.options.zIndex === 'number') { 13593 if (_.options.zIndex < 3) { 13594 _.options.zIndex = 3; 13595 } 13596 } else { 13597 _.options.zIndex = _.defaults.zIndex; 13598 } 13599 } 13600 13601 if (bodyStyle.OTransform !== undefined) { 13602 _.animType = 'OTransform'; 13603 _.transformType = '-o-transform'; 13604 _.transitionType = 'OTransition'; 13605 if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
13606 } 13607 if (bodyStyle.MozTransform !== undefined) { 13608 _.animType = 'MozTransform'; 13609 _.transformType = '-moz-transform'; 13610 _.transitionType = 'MozTransition'; 13611 if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false; 13612 } 13613 if (bodyStyle.webkitTransform !== undefined) { 13614 _.animType = 'webkitTransform'; 13615 _.transformType = '-webkit-transform'; 13616 _.transitionType = 'webkitTransition'; 13617 if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false; 13618 } 13619 if (bodyStyle.msTransform !== undefined) { 13620 _.animType = 'msTransform'; 13621 _.transformType = '-ms-transform'; 13622 _.transitionType = 'msTransition'; 13623 if (bodyStyle.msTransform === undefined) _.animType = false; 13624 } 13625 if (bodyStyle.transform !== undefined && _.animType !== false) { 13626 _.animType = 'transform'; 13627 _.transformType = 'transform'; 13628 _.transitionType = 'transition'; 13629 } 13630 _.transformsEnabled = _.options.useTransform && _.animType !== null && _.animType !== false; 13631 }; 13632 13633 Slick.prototype.setSlideClasses = function (index) { 13634 13635 var _ = this, 13636 centerOffset, 13637 allSlides, 13638 indexOffset, 13639 remainder; 13640 13641 allSlides = _.$slider.find('.slick-slide').removeClass('slick-active slick-center slick-current').attr('aria-hidden', 'true'); 13642 13643 _.$slides.eq(index).addClass('slick-current'); 13644 13645 if (_.options.centerMode === true) { 13646 13647 var evenCoef = _.options.slidesToShow % 2 === 0 ? 1 : 0; 13648 13649 centerOffset = Math.floor(_.options.slidesToShow / 2); 13650 13651 if (_.options.infinite === true) { 13652 13653 if (index >= centerOffset && index <= _.slideCount - 1 - centerOffset) { 13654 _.$slides.slice(index - centerOffset + evenCoef, index + centerOffset + 1).addClass('slick-active').attr('aria-hidden', 'false'); 13655 } else { 13656 13657 indexOffset = _.options.slidesToShow + index; 13658 allSlides.slice(indexOffset - centerOffset + 1 + evenCoef, indexOffset + centerOffset + 2).addClass('slick-active').attr('aria-hidden', 'false'); 13659 } 13660 13661 if (index === 0) { 13662 13663 allSlides.eq(_.options.slidesToShow + _.slideCount + 1).addClass('slick-center'); 13664 } else if (index === _.slideCount - 1) { 13665 13666 allSlides.eq(_.options.slidesToShow).addClass('slick-center'); 13667 } 13668 } 13669 13670 _.$slides.eq(index).addClass('slick-center'); 13671 } else { 13672 13673 if (index >= 0 && index <= _.slideCount - _.options.slidesToShow) { 13674 13675 _.$slides.slice(index, index + _.options.slidesToShow).addClass('slick-active').attr('aria-hidden', 'false'); 13676 } else if (allSlides.length <= _.options.slidesToShow) { 13677 13678 allSlides.addClass('slick-active').attr('aria-hidden', 'false'); 13679 } else { 13680 13681 remainder = _.slideCount % _.options.slidesToShow; 13682 indexOffset = _.options.infinite === true ? _.options.slidesToShow + index : index; 13683 13684 if (_.options.slidesToShow == _.options.slidesToScroll && _.slideCount - index < _.options.slidesToShow) { 13685 13686 allSlides.slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder).addClass('slick-active').attr('aria-hidden', 'false'); 13687 } else { 13688 13689 allSlides.slice(indexOffset, indexOffset + _.options.slidesToShow).addClass('slick-active').attr('aria-hidden', 'false'); 13690 } 13691 } 13692 } 13693 13694 if (_.options.lazyLoad === 'ondemand' || _.options.lazyLoad === 'anticipated') { 13695 _.lazyLoad(); 13696 } 13697 }; 13698 13699 Slick.prototype.setupInfinite = function () { 13700 13701 var _ = this, 13702 i, 13703 slideIndex, 13704 infiniteCount; 13705 13706 if (_.options.fade === true) {
13707 _.options.centerMode = false; 13708 } 13709 13710 if (_.options.infinite === true && _.options.fade === false) { 13711 13712 slideIndex = null; 13713 13714 if (_.slideCount > _.options.slidesToShow) { 13715 13716 if (_.options.centerMode === true) { 13717 infiniteCount = _.options.slidesToShow + 1; 13718 } else { 13719 infiniteCount = _.options.slidesToShow; 13720 } 13721 13722 for (i = _.slideCount; i > _.slideCount - infiniteCount; i -= 1) { 13723 slideIndex = i - 1; 13724 $(_.$slides[slideIndex]).clone(true).attr('id', '').attr('data-slick-index', slideIndex - _.slideCount).prependTo(_.$slideTrack).addClass('slick-cloned'); 13725 } 13726 for (i = 0; i < infiniteCount + _.slideCount; i += 1) { 13727 slideIndex = i; 13728 $(_.$slides[slideIndex]).clone(true).attr('id', '').attr('data-slick-index', slideIndex + _.slideCount).appendTo(_.$slideTrack).addClass('slick-cloned'); 13729 } 13730 _.$slideTrack.find('.slick-cloned').find('[id]').each(function () { 13731 $(this).attr('id', ''); 13732 }); 13733 } 13734 } 13735 }; 13736 13737 Slick.prototype.interrupt = function (toggle) { 13738 13739 var _ = this; 13740 13741 if (!toggle) { 13742 _.autoPlay(); 13743 } 13744 _.interrupted = toggle; 13745 }; 13746 13747 Slick.prototype.selectHandler = function (event) { 13748 13749 var _ = this; 13750 13751 var targetElement = $(event.target).is('.slick-slide') ? $(event.target) : $(event.target).parents('.slick-slide'); 13752 13753 var index = parseInt(targetElement.attr('data-slick-index')); 13754 13755 if (!index) index = 0; 13756 13757 if (_.slideCount <= _.options.slidesToShow) { 13758 13759 _.slideHandler(index, false, true); 13760 return; 13761 } 13762 13763 _.slideHandler(index); 13764 }; 13765 13766 Slick.prototype.slideHandler = function (index, sync, dontAnimate) { 13767 13768 var targetSlide, 13769 animSlide, 13770 oldSlide, 13771 slideLeft, 13772 targetLeft = null, 13773 _ = this, 13774 navTarget; 13775 13776 sync = sync || false; 13777 13778 if (_.animating === true && _.options.waitForAnimate === true) { 13779 return; 13780 } 13781 13782 if (_.options.fade === true && _.currentSlide === index) { 13783 return; 13784 } 13785 13786 if (sync === false) { 13787 _.asNavFor(index); 13788 } 13789 13790 targetSlide = index; 13791 targetLeft = _.getLeft(targetSlide); 13792 slideLeft = _.getLeft(_.currentSlide); 13793 13794 _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft; 13795 13796 if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) { 13797 if (_.options.fade === false) { 13798 targetSlide = _.currentSlide; 13799 if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) { 13800 _.animateSlide(slideLeft, function () { 13801 _.postSlide(targetSlide); 13802 }); 13803 } else { 13804 _.postSlide(targetSlide); 13805 } 13806 } 13807 return; 13808 } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > _.slideCount - _.options.slidesToScroll)) { 13809 if (_.options.fade === false) { 13810 targetSlide = _.currentSlide; 13811 if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) { 13812 _.animateSlide(slideLeft, function () { 13813 _.postSlide(targetSlide); 13814 }); 13815 } else { 13816 _.postSlide(targetSlide); 13817 } 13818 } 13819 return; 13820 } 13821 13822 if (_.options.autoplay) { 13823 clearInterval(_.autoPlayTimer); 13824 } 13825 13826 if (targetSlide < 0) { 13827 if (_.slideCount % _.options.slidesToScroll !== 0) { 13828 animSlide = _.slideCount - _.slideCount % _.options.slidesToScroll; 13829 } else { 13830 animSlide = _.slideCount + targetSlide; 13831 } 13832 }
13832 else if (targetSlide >= _.slideCount) { 13833 if (_.slideCount % _.options.slidesToScroll !== 0) { 13834 animSlide = 0; 13835 } else { 13836 animSlide = targetSlide - _.slideCount; 13837 } 13838 } else { 13839 animSlide = targetSlide; 13840 } 13841 13842 _.animating = true; 13843 13844 _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]); 13845 13846 oldSlide = _.currentSlide; 13847 _.currentSlide = animSlide; 13848 13849 _.setSlideClasses(_.currentSlide); 13850 13851 if (_.options.asNavFor) { 13852 13853 navTarget = _.getNavTarget(); 13854 navTarget = navTarget.slick('getSlick'); 13855 13856 if (navTarget.slideCount <= navTarget.options.slidesToShow) { 13857 navTarget.setSlideClasses(_.currentSlide); 13858 } 13859 } 13860 13861 _.updateDots(); 13862 _.updateArrows(); 13863 13864 if (_.options.fade === true) { 13865 if (dontAnimate !== true) { 13866 13867 _.fadeSlideOut(oldSlide); 13868 13869 _.fadeSlide(animSlide, function () { 13870 _.postSlide(animSlide); 13871 }); 13872 } else { 13873 _.postSlide(animSlide); 13874 } 13875 _.animateHeight(); 13876 return; 13877 } 13878 13879 if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) { 13880 _.animateSlide(targetLeft, function () { 13881 _.postSlide(animSlide); 13882 }); 13883 } else { 13884 _.postSlide(animSlide); 13885 } 13886 }; 13887 13888 Slick.prototype.startLoad = function () { 13889 13890 var _ = this; 13891 13892 if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) { 13893 13894 _.$prevArrow.hide(); 13895 _.$nextArrow.hide(); 13896 } 13897 13898 if (_.options.dots === true && _.slideCount > _.options.slidesToShow) { 13899 13900 _.$dots.hide(); 13901 } 13902 13903 _.$slider.addClass('slick-loading'); 13904 }; 13905 13906 Slick.prototype.swipeDirection = function () { 13907 13908 var xDist, 13909 yDist, 13910 r, 13911 swipeAngle, 13912 _ = this; 13913 13914 xDist = _.touchObject.startX - _.touchObject.curX; 13915 yDist = _.touchObject.startY - _.touchObject.curY; 13916 r = Math.atan2(yDist, xDist); 13917 13918 swipeAngle = Math.round(r * 180 / Math.PI); 13919 if (swipeAngle < 0) { 13920 swipeAngle = 360 - Math.abs(swipeAngle); 13921 } 13922 13923 if (swipeAngle <= 45 && swipeAngle >= 0) { 13924 return _.options.rtl === false ? 'left' : 'right'; 13925 } 13926 if (swipeAngle <= 360 && swipeAngle >= 315) { 13927 return _.options.rtl === false ? 'left' : 'right'; 13928 } 13929 if (swipeAngle >= 135 && swipeAngle <= 225) { 13930 return _.options.rtl === false ? 'right' : 'left'; 13931 } 13932 if (_.options.verticalSwiping === true) { 13933 if (swipeAngle >= 35 && swipeAngle <= 135) { 13934 return 'down'; 13935 } else { 13936 return 'up'; 13937 } 13938 } 13939 13940 return 'vertical'; 13941 }; 13942 13943 Slick.prototype.swipeEnd = function (event) { 13944 13945 var _ = this, 13946 slideCount, 13947 direction; 13948 13949 _.dragging = false; 13950 _.swiping = false; 13951 13952 if (_.scrolling) { 13953 _.scrolling = false; 13954 return false; 13955 } 13956 13957 _.interrupted = false; 13958 _.shouldClick = _.touchObject.swipeLength > 10 ? false : true; 13959 13960 if (_.touchObject.curX === undefined) { 13961 return false; 13962 } 13963 13964 if (_.touchObject.edgeHit === true) { 13965 _.$slider.trigger('edge', [_, _.swipeDirection()]); 13966 } 13967 13968 if (_.touchObject.swipeLength >= _.touchObject.minSwipe) { 13969 13970 direction = _.swipeDirection(); 13971 13972 switch (direction) { 13973 13974 case 'left': 13975 case 'down': 13976 13977 slideCount = _.options.swipeToSlide ? _.checkNavigable(_.currentSlide + _.getSlideCount()) : _.currentSlide + _.getSlideCount(); 13978 13979 _.currentDirection = 0; 13980 13981 break; 13982 13983 case 'right': 13984 case 'up': 13985 13986 slideCount = _.options.swipeToSlide ? _.checkNavigable(_.currentSlide - _.getSlideCount()) : _.currentSlide - _.getSlideCount(); 13987 13988 _.currentDirection = 1; 13989 13990 break; 13991 13992 default: 13993 13994 } 13995 13996 if (direction != 'vertical') { 13997 13998 _.slideHandler(slideCount); 13999 _.touchObject = {}; 14000 _.$slider.trigger('swipe', [_, direction]); 14001 } 14002 } else { 14003 14004 if (_.touchObject.startX !== _.touchObject.curX) { 14005 14006 _.slideHandler(_.currentSlide); 14007 _.touchObject = {}; 14008 } 14009 } 14010 }; 14011 14012 Slick.prototype.swipeHandler = function (event) { 14013 14014 var _ = this; 14015 14016 if (_.options.swipe === false || 'ontouchend' in document && _.options.swipe === false) { 14017 return; 14018 } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) { 14019 return; 14020 } 14021 14022 _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ? event.originalEvent.touches.length : 1; 14023 14024 _.touchObject.minSwipe = _.listWidth / _.options.touchThreshold; 14025 14026 if (_.options.verticalSwiping === true) { 14027 _.touchObject.minSwipe = _.listHeight / _.options.touchThreshold; 14028 } 14029 14030 switch (event.data.action) { 14031 14032 case 'start': 14033 _.swipeStart(event); 14034 break; 14035 14036 case 'move': 14037 _.swipeMove(event); 14038 break; 14039 14040 case 'end': 14041 _.swipeEnd(event); 14042 break; 14043 14044 } 14045 }; 14046 14047 Slick.prototype.swipeMove = function (event) { 14048 14049 var _ = this, 14050 edgeWasHit = false, 14051 curLeft, 14052 swipeDirection, 14053 swipeLength, 14054 positionOffset, 14055 touches, 14056 verticalSwipeLength; 14057 14058 touches = event.originalEvent !== undefined ? event.originalEvent.touches : null; 14059 14060 if (!_.dragging || _.scrolling || touches && touches.length !== 1) { 14061 return false;
14062 } 14063 14064 curLeft = _.getLeft(_.currentSlide); 14065 14066 _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX; 14067 _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY; 14068 14069 _.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(_.touchObject.curX - _.touchObject.startX, 2))); 14070 14071 verticalSwipeLength = Math.round(Math.sqrt(Math.pow(_.touchObject.curY - _.touchObject.startY, 2))); 14072 14073 if (!_.options.verticalSwiping && !_.swiping && verticalSwipeLength > 4) { 14074 _.scrolling = true; 14075 return false; 14076 } 14077 14078 if (_.options.verticalSwiping === true) { 14079 _.touchObject.swipeLength = verticalSwipeLength; 14080 } 14081 14082 swipeDirection = _.swipeDirection(); 14083 14084 if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) { 14085 _.swiping = true; 14086 event.preventDefault(); 14087 } 14088 14089 positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1); 14090 if (_.options.verticalSwiping === true) { 14091 positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1; 14092 } 14093 14094 swipeLength = _.touchObject.swipeLength; 14095 14096 _.touchObject.edgeHit = false; 14097 14098 if (_.options.infinite === false) { 14099 if (_.currentSlide === 0 && swipeDirection === 'right' || _.currentSlide >= _.getDotCount() && swipeDirection === 'left') { 14100 swipeLength = _.touchObject.swipeLength * _.options.edgeFriction; 14101 _.touchObject.edgeHit = true; 14102 } 14103 } 14104 14105 if (_.options.vertical === false) { 14106 _.swipeLeft = curLeft + swipeLength * positionOffset; 14107 } else { 14108 _.swipeLeft = curLeft + swipeLength * (_.$list.height() / _.listWidth) * positionOffset; 14109 } 14110 if (_.options.verticalSwiping === true) { 14111 _.swipeLeft = curLeft + swipeLength * positionOffset; 14112 } 14113 14114 if (_.options.fade === true || _.options.touchMove === false) { 14115 return false; 14116 } 14117 14118 if (_.animating === true) { 14119 _.swipeLeft = null; 14120 return false; 14121 } 14122 14123 _.setCSS(_.swipeLeft); 14124 }; 14125 14126 Slick.prototype.swipeStart = function (event) { 14127 14128 var _ = this, 14129 touches; 14130 14131 _.interrupted = true; 14132 14133 if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) { 14134 _.touchObject = {}; 14135 return false; 14136 } 14137 14138 if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) { 14139 touches = event.originalEvent.touches[0]; 14140 } 14141 14142 _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX; 14143 _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY; 14144 14145 _.dragging = true; 14146 }; 14147 14148 Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function () { 14149 14150 var _ = this; 14151 14152 if (_.$slidesCache !== null) { 14153 14154 _.unload(); 14155 14156 _.$slideTrack.children(this.options.slide).detach(); 14157 14158 _.$slidesCache.appendTo(_.$slideTrack); 14159 14160 _.reinit(); 14161 } 14162 }; 14163 14164 Slick.prototype.unload = function () { 14165 14166 var _ = this; 14167 14168 $('.slick-cloned', _.$slider).remove(); 14169 14170 if (_.$dots) { 14171 _.$dots.remove(); 14172 } 14173 14174 if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) { 14175 _.$prevArrow.remove(); 14176 } 14177 14178 if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) { 14179 _.$nextArrow.remove(); 14180 } 14181 14182 _.$slides.removeClass('slick-slide slick-active slick-visible slick-current').attr('aria-hidden', 'true').css('width', ''); 14183 }; 14184 14185 Slick.prototype.unslick = function (fromBreakpoint) { 14186 14187 var _ = this; 14188 _.$slider.trigger('unslick', [_, fromBreakpoint]); 14189 _.destroy(); 14190 }; 14191 14192 Slick.prototype.updateArrows = function () { 14193 14194 var _ = this, 14195 centerOffset; 14196 14197 centerOffset = Math.floor(_.options.slidesToShow / 2); 14198 14199 if (_.options.arrows === true && _.slideCount > _.options.slidesToShow && !_.options.infinite) { 14200 14201 _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'); 14202 _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'); 14203 14204 if (_.currentSlide === 0) { 14205 14206 _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true'); 14207 _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'); 14208 } else if (_.currentSlide >
14208= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) { 14209 14210 _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true'); 14211 _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'); 14212 } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) { 14213 14214 _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true'); 14215 _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'); 14216 } 14217 } 14218 }; 14219 14220 Slick.prototype.updateDots = function () { 14221 14222 var _ = this; 14223 14224 if (_.$dots !== null) { 14225 14226 _.$dots.find('li').removeClass('slick-active').end(); 14227 14228 _.$dots.find('li').eq(Math.floor(_.currentSlide / _.options.slidesToScroll)).addClass('slick-active'); 14229 } 14230 }; 14231 14232 Slick.prototype.visibility = function () { 14233 14234 var _ = this; 14235 14236 if (_.options.autoplay) { 14237 14238 if (document[_.hidden]) { 14239 14240 _.interrupted = true; 14241 } else { 14242 14243 _.interrupted = false; 14244 } 14245 } 14246 }; 14247 14248 $.fn.slick = function () { 14249 var _ = this, 14250 opt = arguments[0], 14251 args = Array.prototype.slice.call(arguments, 1), 14252 l = _.length, 14253 i, 14254 ret; 14255 for (i = 0; i < l; i++) { 14256 if ((typeof opt === 'undefined' ? 'undefined' : _typeof(opt)) == 'object' || typeof opt == 'undefined') _[i].slick = new Slick(_[i], opt);else ret = _[i].slick[opt].apply(_[i].slick, args); 14257 if (typeof ret != 'undefined') return ret; 14258 } 14259 return _; 14260 }; 14261}); 14262 14263/***/ }), 14264/* 339 */ 14265/***/ (function(module, exports, __webpack_require__) { 14266 14267/* WEBPACK VAR INJECTION */(function(__webpack_provided_window_dot_jQuery) {// Generated by CoffeeScript 1.9.2 14268 14269/** 14270@license Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net 14271 */ 14272 14273(function () { 14274 var $, win; 14275 14276 $ = this.jQuery || __webpack_provided_window_dot_jQuery; 14277 14278 win = $(window); 14279 14280 $.fn.stick_in_parent = function (opts) { 14281 var doc, elm, enable_bottoming, fn, i, inner_scrolling, len, manual_spacer, offset_top, parent_selector, recalc_every, sticky_class; 14282 if (opts == null) { 14283 opts = {}; 14284 } 14285 sticky_class = opts.sticky_class, inner_scrolling = opts.inner_scrolling, recalc_every = opts.recalc_every, parent_selector = opts.parent, offset_top = opts.offset_top, manual_spacer = opts.spacer, enable_bottoming = opts.bottoming; 14286 if (offset_top == null) { 14287 offset_top = 0; 14288 } 14289 if (parent_selector == null) { 14290 parent_selector = void 0; 14291 } 14292 if (inner_scrolling == null) { 14293 inner_scrolling = true; 14294 } 14295 if (sticky_class == null) { 14296 sticky_class = "is_stuck"; 14297 } 14298 doc = $(document); 14299 if (enable_bottoming == null) { 14300 enable_bottoming = true; 14301 } 14302 fn = function fn(elm, padding_bottom, parent_top, parent_height, top, height, el_float, detached) { 14303 var bottomed, _detach, fixed, last_pos, last_scroll_height, offset, parent, recalc, recalc_and_tick, recalc_counter, spacer, tick; 14304 if (elm.data("sticky_kit")) { 14305 return; 14306 } 14307 elm.data("sticky_kit", true); 14308 last_scroll_height = doc.height(); 14309 parent = elm.parent(); 14310 if (parent_selector != null) { 14311 parent = parent.closest(parent_selector); 14312 } 14313 if (!parent.length) { 14314 throw "failed to find stick parent"; 14315 } 14316 fixed = false; 14317 bottomed = false; 14318 spacer = manual_spacer != null ? manual_spacer && elm.closest(manual_spacer) : $("<div />"); 14319 if (spacer) { 14320 spacer.css('position', elm.css('position')); 14321 } 14322 recalc = function recalc() { 14323 var border_top, padding_top, restore; 14324 if (detached) { 14325 return; 14326 } 14327 last_scroll_height = doc.height(); 14328 border_top = parseInt(parent.css("border-top-width"), 10); 14329 padding_top = parseInt(parent.css("padding-top"), 10); 14330 padding_bottom = parseInt(parent.css("padding-bottom"), 10); 14331 parent_top = parent.offset().top + border_top + padding_top; 14332 parent_height = parent.height(); 14333 if (fixed) { 14334 fixed = false;
14335 bottomed = false; 14336 if (manual_spacer == null) { 14337 elm.insertAfter(spacer); 14338 spacer.detach(); 14339 } 14340 elm.css({ 14341 position: "", 14342 top: "", 14343 width: "", 14344 bottom: "" 14345 }).removeClass(sticky_class); 14346 restore = true; 14347 } 14348 top = elm.offset().top - (parseInt(elm.css("margin-top"), 10) || 0) - offset_top; 14349 height = elm.outerHeight(true); 14350 el_float = elm.css("float"); 14351 if (spacer) { 14352 spacer.css({ 14353 width: elm.outerWidth(true), 14354 height: height, 14355 display: elm.css("display"), 14356 "vertical-align": elm.css("vertical-align"), 14357 "float": el_float 14358 }); 14359 } 14360 if (restore) { 14361 return tick(); 14362 } 14363 }; 14364 recalc(); 14365 if (height === parent_height) { 14366 return; 14367 } 14368 last_pos = void 0; 14369 offset = offset_top; 14370 recalc_counter = recalc_every; 14371 tick = function tick() { 14372 var css, delta, recalced, scroll, will_bottom, win_height; 14373 if (detached) { 14374 return; 14375 } 14376 recalced = false; 14377 if (recalc_counter != null) { 14378 recalc_counter -= 1; 14379 if (recalc_counter <= 0) { 14380 recalc_counter = recalc_every; 14381 recalc(); 14382 recalced = true; 14383 } 14384 } 14385 if (!recalced && doc.height() !== last_scroll_height) { 14386 recalc(); 14387 recalced = true; 14388 } 14389 scroll = win.scrollTop(); 14390 if (last_pos != null) { 14391 delta = scroll - last_pos; 14392 } 14393 last_pos = scroll; 14394 if (fixed) { 14395 if (enable_bottoming) { 14396 will_bottom = scroll + height + offset > parent_height + parent_top; 14397 if (bottomed && !will_bottom) { 14398 bottomed = false; 14399 elm.css({ 14400 position: "fixed", 14401 bottom: "", 14402 top: offset 14403 }).trigger("sticky_kit:unbottom"); 14404 } 14405 } 14406 if (scroll < top) { 14407 fixed = false; 14408 offset = offset_top; 14409 if (manual_spacer == null) { 14410 if (el_float === "left" || el_float === "right") { 14411 elm.insertAfter(spacer); 14412 } 14413 spacer.detach(); 14414 } 14415 css = { 14416 position: "", 14417 width: "", 14418 top: "" 14419 }; 14420 elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick"); 14421 } 14422 if (inner_scrolling) { 14423 win_height = win.height(); 14424 if (height + offset_top > win_height) { 14425 if (!bottomed) { 14426 offset -= delta; 14427 offset = Math.max(win_height - height, offset); 14428 offset = Math.min(offset_top, offset); 14429 if (fixed) { 14430 elm.css({ 14431 top: offset + "px" 14432 }); 14433 } 14434 } 14435 } 14436 } 14437 } else { 14438 if (scroll > top) { 14439 fixed = true; 14440 css = { 14441 position: "fixed", 14442 top: offset 14443 }; 14444 css.width = elm.css("box-sizing") === "border-box" ? elm.outerWidth() + "px" : elm.width() + "px"; 14445 elm.css(css).addClass(sticky_class); 14446 if (manual_spacer == null) { 14447 elm.after(spacer); 14448 if (el_float === "left" || el_float === "right") { 14449 spacer.append(elm); 14450 } 14451 } 14452 elm.trigger("sticky_kit:stick"); 14453 } 14454 } 14455 if (fixed && enable_bottoming) { 14456 if (will_bottom == null) { 14457 will_bottom = scroll + height + offset > parent_height + parent_top; 14458 } 14459 if (!bottomed && will_bottom) { 14460 bottomed = true; 14461 if (parent.css("position") === "static") { 14462 parent.css({ 14463 position: "relative" 14464 }); 14465 } 14466 return elm.css({ 14467 position: "absolute", 14468 bottom: padding_bottom, 14469 top: "auto" 14470 }).trigger("sticky_kit:bottom"); 14471 } 14472 } 14473 }; 14474 recalc_and_tick = function recalc_and_tick() { 14475 recalc(); 14476 return tick(); 14477 }; 14478 _detach = function detach() { 14479 detached = true; 14480 win.off("touchmove", tick); 14481 win.off("scroll", tick); 14482 win.off("resize", recalc_and_tick); 14483 $(document.body).off("sticky_kit:recalc", recalc_and_tick); 14484 elm.off("sticky_kit:detach", _detach); 14485 elm.removeData("sticky_kit"); 14486 elm.css({ 14487 position: "", 14488 bottom: "", 14489 top: "", 14490 width: "" 14491 }); 14492 parent.position("position", ""); 14493 if (fixed) { 14494 if (manual_spacer == null) { 14495 if (el_float === "left" || el_float === "right") { 14496 elm.insertAfter(spacer); 14497 } 14498 spacer.remove(); 14499 } 14500 return elm.removeClass(sticky_class); 14501 } 14502 }; 14503 win.on("touchmove", tick); 14504 win.on("scroll", tick); 14505 win.on("resize", recalc_and_tick); 14506 $(document.body).on("sticky_kit:recalc", recalc_and_tick); 14507 elm.on("sticky_kit:detach", _detach); 14508 return setTimeout(tick, 0); 14509 }; 14510 for (i = 0, len = this.length; i < len; i++) { 14511 elm = this[i]; 14512 fn($(elm)); 14513 } 14514 return this; 14515 }; 14516}).call(this); 14517/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3))) 14518 14519/***/ }), 14520/* 340 */ 14521/***/ (function(module, __webpack_exports__, __webpack_require__) { 14522 14523"use strict"; 14524/* harmony export (immutable) */ __webpack_exports__["a"] = binder; 14525/* unused harmony export fwa */ 14526function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } 14527 14528// v.2.2 14529 14530function binder(_ref) { 14531 var bounds = _ref.bounds, 14532 runTests = _ref.runTests; 14533 14534 var t0 = void 0, 14535 t1 = void 0; 14536 if (runTests) t0 = performance.now(); 14537 // polyfill for ".matches()" method 14538 if (!Element.prototype.matches) { 14539 Element.prototype.matches = Element.prototype.msMatchesSelector; 14540 } 14541 // gather all selectors in array 14542 var selectorsToFind = Object.keys(bounds); 14543 // find selectors in document 14544 var foundElements = [].concat(_toConsumableArray(document.querySelectorAll(selectorsToFind.join(",")))); 14545 // filter bounds for not founded selectors 14546 var filteredBounds = {}; 14547 14548 var _loop = function _loop(key) { 14549 if (foundElements.some(function (element) { 14550 return element.matches(key); 14551 })) { 14552 filteredBounds[key] = bounds[key]; 14553 } else { 14554 if (runTests) console.log("- " + key + " was not found"); 14555 } 14556 }; 14557 14558 for (var key in bounds) { 14559 _loop(key); 14560 } 14561 // gather all modules in one object 14562 var mergedModules = {}; 14563 for (var bound in filteredBounds) { 14564 var module = filteredBounds[bound]; 14565 var nature = Object.prototype.toString.call(module); 14566 if (nature === "[object Array]") { 14567 module.forEach(function (script) { 14568 if (Object.prototype.toString.call(script) === "[object Function]") { 14569 mergedModules[script.name] = script; 14570 mergedModules[script.name](); 14571 } else { 14572 mergedModules = Object.assign(mergedModules, script); 14573 } 14574 }); 14575 } else if (nature === "[object Object]") { 14576 if (module.f !== undefined) { 14577 var _mergedModules; 14578 14579 // call function with arguments 14580 mergedModules[module.f.name] = module.f; 14581 (_mergedModules = mergedModules)[module.f.name].apply(_mergedModules, _toConsumableArray(module.a)); 14582 } else { 14583 // or just merge object 14584 mergedModules = Object.assign(mergedModules, module); 14585 } 14586 } else if (nature === "[object Function]") { 14587 mergedModules[module.name] = module; 14588 mergedModules[module.name](); 14589 } else { 14590 console.log("! unsupported format: ", module); 14591 } 14592 } 14593 if (runTests) console.log("binderResultObject: ", mergedModules); 14594 if (runTests) t1 = performance.now(); 14595 if (runTests) console.log("Binder html parsing took " + (t1 - t0) + " milliseconds."); 14596} 14597 14598// for function with arguments 14599var fwa = function fwa() { 14600 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { 14601 args[_key] = arguments[_key]; 14602 } 14603 14604 return { f: args.shift(), a: args }; 14605}; 14606 14607/***/ }), 14608/* 341 */ 14609/***/ (function(module, __webpack_exports__, __webpack_require__) { 14610 14611"use strict"; 14612/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return constants; }); 14613 14614// these properties will be available from anywhere via this.property 14615var constants = { 14616 isTouch: "ontouchstart" in window ? function () { 14617 document.body.classList.add("touch");return true; 14618 }() : function () { 14619 document.body.classList.add("no-touch");return false;
14620 }(), 14621 body: $("body") 14622}; 14623/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14624 14625/***/ }), 14626/* 342 */ 14627/***/ (function(module, __webpack_exports__, __webpack_require__) { 14628 14629"use strict"; 14630/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = customSelect; 14631function customSelect() { 14632 if ($("select").length) { 14633 jcf.setOptions("Select", { 14634 wrapNative: false, 14635 fakeDropInBody: true, 14636 maxVisibleItems: 8 14637 }); 14638 jcf.replaceAll(); 14639 } 14640} 14641/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14642 14643/***/ }), 14644/* 343 */ 14645/***/ (function(module, __webpack_exports__, __webpack_require__) { 14646 14647"use strict"; 14648/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = serviceSlider; 14649function serviceSlider() { 14650 14651 $(".wrap-slider").each(function () { 14652 var curWarpSlider = $(this); 14653 var curSlider = curWarpSlider.find(".slider"); 14654 14655 if (curSlider.find(".slider-item").length > 1) { 14656 curSlider.slick({ 14657 dots: true, 14658 infinite: true, 14659 slidesToShow: 4, 14660 slidesToScroll: 4, 14661 appendDots: curWarpSlider, 14662 adaptiveHeight: true, 14663 dotsClass: "slick-dots custom-dots", 14664 arrows: false, 14665 autoplay: true, 14666 autoplaySpeed: 2500, 14667 responsive: [{ 14668 breakpoint: 767, 14669 settings: { 14670 slidesToShow: 1, 14671 slidesToScroll: 1 14672 } 14673 }, { 14674 breakpoint: 1023, 14675 settings: { 14676 slidesToShow: 2, 14677 slidesToScroll: 1 14678 } 14679 }] 14680 }); 14681 } 14682 }); 14683} 14684/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14685 14686/***/ }), 14687/* 344 */ 14688/***/ (function(module, __webpack_exports__, __webpack_require__) { 14689 14690"use strict"; 14691/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = healthySlider; 14692function healthySlider() { 14693 14694 $(".wrap-healthy-slider").each(function () { 14695 var curWarpSlider = $(this); 14696 var curSlider = curWarpSlider.find(".healthy-slider"); 14697 14698 if (curSlider.find(".slider-item").length > 1) { 14699 curSlider.slick({ 14700 dots: true, 14701 infinite: false, 14702 slidesToShow: 3, 14703 slidesToScroll: 1, 14704 appendDots: curWarpSlider, 14705 dotsClass: "slick-dots custom-dots", 14706 arrows: false, 14707 responsive: [{ 14708 breakpoint: 767, 14709 settings: { 14710 slidesToShow: 1.2 14711 } 14712 }, { 14713 breakpoint: 2500, 14714 settings: { 14715 slidesToShow: 2.4 14716 } 14717 }] 14718 }); 14719 } 14720 }); 14721} 14722/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14723 14724/***/ }), 14725/* 345 */ 14726/***/ (function(module, __webpack_exports__, __webpack_require__) { 14727 14728"use strict"; 14729/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = conversationSlider; 14730function conversationSlider() { 14731 14732 $(".wrap-conversation-slider").each(function () { 14733 var curWarpSlider = $(this); 14734 var curSlider = curWarpSlider.find(".conversation-slider"); 14735 14736 if (curSlider.find(".slider-item").length > 1) { 14737 curSlider.slick({ 14738 dots: true, 14739 infinite: false, 14740 slidesToShow: 4, 14741 slidesToScroll: 1, 14742 appendDots: curWarpSlider, 14743 dotsClass: "slick-dots custom-dots", 14744 arrows: false, 14745 adaptiveHeight: true, 14746 responsive: [{ 14747 breakpoint: 767, 14748 settings: { 14749 slidesToShow: 1.2 14750 } 14751 }, { 14752 breakpoint: 1023, 14753 settings: { 14754 slidesToShow: 2 14755 } 14756 }, { 14757 breakpoint: 1279, 14758 settings: { 14759 slidesToShow: 3 14760 } 14761 }] 14762 }); 14763 } 14764 }); 14765} 14766/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14767 14768/***/ }), 14769/* 346 */ 14770/***/ (function(module, __webpack_exports__, __webpack_require__) { 14771 14772"use strict"; 14773/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = modals; 14774function modals() { 14775 14776 var openBtn = $("[data-modal-open]"); 14777 var closeBtn = $("[data-modal-close]");
14778 var modalActiveClass = "modal-active"; 14779 var body = $("body"); 14780 var mainBlock = $(".main"); 14781 var openModal = function openModal(id) { 14782 var currentModal = $("[data-modal=" + id + "]"); 14783 if (currentModal === null) { 14784 return; 14785 } 14786 currentModal.addClass(modalActiveClass); 14787 14788 if (currentModal.hasClass("dark-overlay") && $(window).width() >= 1024) { 14789 body.addClass("overlay"); 14790 } else { 14791 mainBlock.addClass("lock"); 14792 body.addClass("scroll-lock"); 14793 } 14794 }; 14795 var goToCurrentSlide = function goToCurrentSlide(identifier, index) { 14796 // for modal slider 14797 var id = identifier; 14798 var modal = $("[data-modal=" + id + "]"); 14799 14800 if (modal.length) { 14801 var navSlider = modal.find(".slider-nav"); 14802 14803 if (navSlider.length) { 14804 navSlider.slick("slickGoTo", index); 14805 } 14806 } 14807 }; 14808 var setVideoLink = function setVideoLink(videoSrc, id) { 14809 // for modal video 14810 var currentModal = $("[data-modal=" + id + "]"); 14811 14812 currentModal.find("iframe").attr("src", videoSrc); 14813 }; 14814 14815 var setLightboxPopup = function setLightboxPopup(imageSrc, id){ 14816 // for modal image 14817 var currentModal = $("[data-modal=" + id + "]"); 14818 14819 currentModal.find("img").attr("src", imageSrc); 14820 currentModal.find("iframe").attr("src", imageSrc); 14821 14822 14823 //$("img.lightboxImg").attr("src", imageSrc); 14824 } 14825 14826 closeBtn.on("click", function (e) { 14827 e.preventDefault(); 14828 $(this).closest(".modal").removeClass(modalActiveClass); 14829 mainBlock.removeClass("lock"); 14830 body.removeClass("overlay"); 14831 body.removeClass("scroll-lock"); 14832 14833 var videoModal = $(this).closest('.video-modal'); 14834 14835 if (videoModal.length) { 14836 var iframe = $(videoModal).find('iframe'); 14837 $(iframe).attr('src', ''); 14838 } 14839 14840 var lightboxModal = $(this).closest('.popup-modal'); 14841 14842 if (lightboxModal.length) { 14843 var img = $(lightboxModal).find('img'); 14844 $(img).attr('src', ''); 14845 console.log("img src attr set to blank"); 14846 } 14847 14848 }); 14849 14850 openBtn.on("click", function (e) { 14851 e.preventDefault(); 14852 var id = $(this).data("modal-open"); 14853 openModal(id); 14854 14855 if (id === "slider") { 14856 goToCurrentSlide(id, $(this).index()); 14857 } else if (id === "video") { 14858 setVideoLink($(this).data("video-url"), id); 14859 } 14860 else if (id === "popup") { 14861 console.log("id set to popup, displaying lightbox modal."); 14862 14863 setLightboxPopup($(this).data("popup-url"), id); 14864 } 14865 }); 14866 14867 body.mouseup(function (e) { 14868 var activeModal = $("." + modalActiveClass); 14869 14870 if (!activeModal.is(e.target) && activeModal.has(e.target).length === 0) { 14871 14872 activeModal.removeClass(modalActiveClass); 14873 mainBlock.removeClass("lock"); 14874 body.removeClass("overlay"); 14875 body.removeClass("scroll-lock"); 14876 } 14877 }); 14878} 14879/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14880 14881/***/ }), 14882/* 347 */ 14883/***/ (function(module, __webpack_exports__, __webpack_require__) { 14884 14885"use strict"; 14886/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = dropdowns; 14887function dropdowns() { 14888 var body = $("body"); 14889 var mainBlock = $(".main"); 14890 var menuItemsWithDropDowns = body.find(".has-dropdown"); 14891 var openedDropdownClass = "active"; 14892 var eventType = "mouseenter"; 14893 var closeDropdownButton = $(".dropdown-body > .close-button"); 14894 var closeModal = function closeModal() { 14895 var modalWindows = $(".modal"); 14896 var modalActiveClass = "modal-active"; 14897 14898 if (modalWindows.length) { 14899 modalWindows.each(function () { 14900 var item = $(this); 14901 item.removeClass(modalActiveClass); 14902 }); 14903 } 14904 }; 14905 14906 if (body.hasClass("touch")) { 14907 eventType = "click"; 14908 } 14909 14910 if (closeDropdownButton.length) { 14911 closeDropdownButton.on("click", function () { 14912 $(this).closest(".has-dropdown").removeClass(openedDropdownClass); 14913 }); 14914 } 14915 14916 menuItemsWithDropDowns.on(eventType, "> .dropdown-head-title", function (e) { 14917 e.preventDefault(); 14918 14919 var curMenuItemHasDropdown = $(this).closest(".has-dropdown"); 14920 closeModal(); 14921 14922 $.each(menuItemsWithDropDowns, function () { 14923 var menuItemsWithDropDown = $(this); 14924 14925 menuItemsWithDropDown[(menuItemsWithDropDown.is(curMenuItemHasDropdown) ? "toggle" : "remove") + "Class"](openedDropdownClass); 14926 14927 if (!menuItemsWithDropDown.closest(".language-dropdown")) { 14928 mainBlock.addClass("lock"); 14929 } 14930 }); 14931 }); 14932 14933 menuItemsWithDropDowns.on("mouseleave", function (e) { 14934 $.each(menuItemsWithDropDowns, function () { 14935 var menuItemsWithDropDown = $(this); 14936 14937 if (menuItemsWithDropDown.hasClass(openedDropdownClass)) { 14938 menuItemsWithDropDown.removeClass(openedDropdownClass); 14939 } 14940 mainBlock.removeClass("lock"); 14941 }); 14942 }); 14943 14944 body.mouseup(function (e) { 14945 var menuItem = $(".has-dropdown"); 14946 14947 if (!menuItem.is(e.target) && menuItem.has(e.target).length === 0 && menuItem.hasClass(openedDropdownClass)) { 14948 14949 menuItem.removeClass(openedDropdownClass); 14950 mainBlock.removeClass("lock"); 14951 } 14952 }); 14953} 14954/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 14955 14956/***/ }), 14957/* 348 */ 14958/***/ (function(module, __webpack_exports__, __webpack_require__) { 14959 14960"use strict"; 14961/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = articlesSlider; 14962function articlesSlider() { 14963 $(window).on("load resize orientationchange", function () { 14964 $(".articles-slider").each(function () { 14965 var curWarpSlider = $(this); 14966 var curSlider = curWarpSlider.find(".slider"); 14967 14968 if ($(window).width() > 568) { 14969 if ($(curSlider).hasClass("slick-initialized")) { 14970 $(curSlider).slick("unslick"); 14971 } 14972 } else { 14973 if (!$(curSlider).hasClass("slick-initialized")) { 14974 var sliderItems = curSlider.find(".article-item"); 14975 14976 $(curSlider).slick({ 14977 dots: true, 14978 infinite: false, 14979 variableWidth: true, 14980 slidesToScroll: 1,
14981 arrows: false, 14982 mobileFirst: true, 14983 // adaptiveHeight: true, 14984 dotsClass: "slick-dots custom-dots" 14985 }); 14986 14987 if (sliderItems.length > 7) { 14988 curWarpSlider.addClass("show-arrows"); 14989 $(curSlider).slick("slickSetOption", { 14990 arrows: true, 14991 prevArrow: "<button class='slick-prev'><svg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0.666546 5.00002L5.66658 0V4.16667H17.3333V5.83333H5.66658V10L0.666546 5.00002Z' fill='#4497CB'/></svg></button>", 14992 nextArrow: "<button class='slick-next'><svg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M17.3332 5.00002L12.3332 0V4.16667H0.666504V5.83333H12.3332V10L17.3332 5.00002Z' fill='#4497CB'/></svg></button>", 14993 appendArrows: $(".slider-arrows"), 14994 dots: false 14995 }, true); 14996 } 14997 } 14998 } 14999 }); 15000 }); 15001} 15002/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15003 15004/***/ }), 15005/* 349 */ 15006/***/ (function(module, __webpack_exports__, __webpack_require__) { 15007 15008"use strict"; 15009/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = mediaSlider; 15010function mediaSlider() { 15011 $(".media-slider").each(function () { 15012 var curWarpSlider = $(this); 15013 var curSlider = curWarpSlider.find(".slider"); 15014 15015 curSlider.slick({ 15016 infinite: false, 15017 slidesToScroll: 1, 15018 slidesToShow: 1, 15019 dots: true, 15020 arrows: true, 15021 dotsClass: "slick-dots custom-dots", 15022 prevArrow: "<button class='slick-prev'><svg viewBox='0 0 24 24'><path d='M16 3L16 21L8 12L16 3Z'/></svg></button>", 15023 nextArrow: "<button class='slick-next'><svg viewBox='0 0 24 24'><path d='M8 3L8 21L16 12L8 3Z'/></svg></button>" 15024 }); 15025 }); 15026} 15027/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15028 15029/***/ }), 15030/* 350 */ 15031/***/ (function(module, __webpack_exports__, __webpack_require__) { 15032 15033"use strict"; 15034/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = accordion; 15035function accordion() { 15036 var expandedAttr = "aria-expanded"; 15037 var accordionClassName = "accordion"; 15038 var accordionSelector = "." + accordionClassName; 15039 var itemSelector = ".accordion-item"; 15040 var itemInnerSelector = ".hidden"; 15041 var itemButtonSelector = ".trigger"; 15042 var activeClass = "active"; 15043 15044 var accordionItem = function accordionItem(accordionButton) { 15045 var item = accordionButton.closest(itemSelector); 15046 var itemsOther = item.closest(accordionSelector).find(itemSelector).not(item); //item.siblings(); 15047 var isActive = item.hasClass(activeClass); 15048 15049 itemsOther.removeClass(activeClass).children(itemInnerSelector).slideUp(); 15050 itemsOther.children(itemButtonSelector).attr(expandedAttr, false); 15051 item[(isActive ? "remove" : "add") + "Class"](activeClass).children(itemInnerSelector).slideToggle(); 15052 item.children(itemButtonSelector).attr(expandedAttr, !isActive); 15053 }; 15054 15055 var initAccordion = function initAccordion(accordions) { 15056 $("body").on("click", ".trigger", function (e) { 15057 e.preventDefault(); 15058 accordionItem($(this)); 15059 }); 15060 accordions.each(function () { 15061 var accordion = $(this); 15062 if (!accordion.hasClass("closed-first")) { 15063 accordion.find(itemSelector + ":first" + " " + itemButtonSelector).trigger("click"); 15064 } 15065 }); 15066 }; 15067 15068 initAccordion($(accordionSelector)); 15069} 15070/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15071 15072/***/ }), 15073/* 351 */ 15074/***/ (function(module, __webpack_exports__, __webpack_require__) { 15075 15076"use strict"; 15077/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = getCareSlider; 15078function getCareSlider() { 15079 15080 $(".get-care-slider-wrapper").each(function () { 15081 var curWarpSlider = $(this); 15082 var curSlider = curWarpSlider.find(".get-care-slider"); 15083 var win = $(window); 15084 var winWidth = void 0; 15085 15086 win.on("load resize", function () { 15087 winWidth = win.width(); 15088 15089 if (winWidth < 1200) { 15090 if (curSlider.find(".slider-item").length > 1 && !curSlider.hasClass("slick-initialized")) { 15091 curSlider.slick({ 15092 dots: true, 15093 infinite: false, 15094 slidesToScroll: 1, 15095 appendDots: curWarpSlider, 15096 dotsClass: "slick-dots custom-dots",
15097 arrows: false, 15098 responsive: [{ 15099 breakpoint: 767, 15100 settings: { 15101 slidesToShow: 1.2 15102 } 15103 }, { 15104 breakpoint: 1023, 15105 settings: { 15106 slidesToShow: 2 15107 } 15108 }, { 15109 breakpoint: 1199, 15110 settings: { 15111 slidesToShow: 3 15112 } 15113 }, { 15114 breakpoint: 2500, 15115 settings: "unslick" 15116 }] 15117 }); 15118 } 15119 } 15120 }); 15121 }); 15122} 15123/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15124 15125/***/ }), 15126/* 352 */ 15127/***/ (function(module, __webpack_exports__, __webpack_require__) { 15128 15129"use strict"; 15130/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = filters; 15131function filters() { 15132 15133 var windowWidth = $(window).width(); 15134 15135 if (windowWidth < 1024) { 15136 var toggleButton = $(".filter-toggle-button"); 15137 var filtersContainer = $(".filters-body"); 15138 var applyFilters = $(".apply-filters"); 15139 15140 if (toggleButton.length) { 15141 toggleButton.on("click", function () { 15142 filtersContainer.toggle("slow"); 15143 }); 15144 } 15145 15146 if (applyFilters.length) { 15147 applyFilters.on("click", function () { 15148 filtersContainer.hide("slow"); 15149 }); 15150 } 15151 } 15152} 15153/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15154 15155/***/ }), 15156/* 353 */ 15157/***/ (function(module, __webpack_exports__, __webpack_require__) { 15158 15159"use strict"; 15160/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = tabs; 15161function tabs() { 15162 $(".tabs-buttons").on("click", ".tab-button:not(.active)", function () { 15163 $(this).addClass("active").siblings().removeClass("active").closest(".tabs").find(".tab").removeClass("active").eq($(this).index()).addClass("active"); 15164 }); 15165} 15166/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15167 15168/***/ }), 15169/* 354 */ 15170/***/ (function(module, __webpack_exports__, __webpack_require__) { 15171 15172"use strict"; 15173/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = scrollTo; 15174function scrollTo() { 15175 var buttons = $(".inside-nav a"); 15176 15177 buttons.on("click", function (e) { 15178 var $this = $(this); 15179 var elementToScroll = $this.attr("href"), 15180 headerHeight = $('.header-nav-bottom.is_stuck').outerHeight(); 15181 15182 if (elementToScroll[0] === '#' && $(elementToScroll).length) { 15183 e.preventDefault(); 15184 15185 $("html, body").animate({ 15186 scrollTop: $(elementToScroll).offset().top - headerHeight 15187 }, 2000); 15188 } 15189 }); 15190} 15191/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15192 15193/***/ }), 15194/* 355 */ 15195/***/ (function(module, __webpack_exports__, __webpack_require__) { 15196 15197"use strict"; 15198/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = doctorProfileMap; 15199function doctorProfileMap() { 15200 var mapsBlock = $(".locations .map"); 15201 var map = void 0; 15202 var initMap = function initMap(elem) { 15203 var lat = $(elem).data("lat"); 15204 var lng = $(elem).data("lng"); 15205 var latLng = { lat: lat, lng: lng }; 15206 var svgMarker = { 15207 path: "M26 0C11.6257 0 0 11.268 0 25.2C0 44.1 26 72 26 72C26 72 52 44.1 52 25.2C52 11.268 40.3743 0 26 0ZM26 34.2C20.8743 34.2 16.7143 30.168 16.7143 25.2C16.7143 20.232 20.8743 16.2 26 16.2C31.1257 16.2 35.2857 20.232 35.2857 25.2C35.2857 30.168 31.1257 34.2 26 34.2Z", 15208 fillColor: "#1D4189", 15209 fillOpacity: 1, 15210 strokeWeight: 0, 15211 rotation: 0, 15212 scale: 1, 15213 anchor: new google.maps.Point(19, 25) 15214 }; 15215 var stylers = [{ 15216 "stylers": [{ 15217 "hue": "#2c3e50" 15218 }, { 15219 "saturation": 250 15220 }] 15221 }, { 15222 "featureType": "road", 15223 "elementType": "geometry", 15224 "stylers": [{ 15225 "lightness": 50 15226 }, { 15227 "visibility": "simplified" 15228 }] 15229 }, { 15230 "featureType": "road", 15231 "elementType": "labels", 15232 "stylers": [{ 15233 "visibility": "off" 15234 }] 15235 }]; 15236 15237 map = new google.maps.Map(elem, { 15238 center: latLng, 15239 zoom: 14, 15240 disableDefaultUI: true, 15241 styles: stylers 15242 }); 15243 15244 var marker = new google.maps.Marker({ 15245 // position: latLng, 15246 position: map.getCenter(), 15247 map: map, 15248 icon: svgMarker 15249 }); 15250 }; 15251 15252 var _iteratorNormalCompletion = true; 15253 var _didIteratorError = false;
15254 var _iteratorError = undefined; 15255 15256 try { 15257 for (var _iterator = mapsBlock[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { 15258 var _map = _step.value; 15259 15260 initMap(_map); 15261 } 15262 } catch (err) { 15263 _didIteratorError = true; 15264 _iteratorError = err; 15265 } finally { 15266 try { 15267 if (!_iteratorNormalCompletion && _iterator.return) { 15268 _iterator.return(); 15269 } 15270 } finally { 15271 if (_didIteratorError) { 15272 throw _iteratorError; 15273 } 15274 } 15275 } 15276} 15277/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15278 15279/***/ }), 15280/* 356 */ 15281/***/ (function(module, __webpack_exports__, __webpack_require__) { 15282 15283"use strict"; 15284/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = socialListSticky; 15285function socialListSticky() { 15286 var $win = $(window); 15287 var positionAbsoluteClass = "position-absolute"; 15288 var positionStickyClass = "position-sticky"; 15289 15290 function checkIsLargeBreakpoint() { 15291 return $win.width() >= 1440; 15292 } 15293 15294 $win.on("load resize orientationchange scroll", function () { 15295 var targetBlock = document.querySelector('.sticky-social-networks'), 15296 curSection = $(targetBlock).closest('.container').parent(); 15297 15298 var togglePositionClass = function togglePositionClass() { 15299 if (checkIsLargeBreakpoint()) { 15300 // let targetBlock = $(curSection).find(".social-networks")[0]; 15301 var headerHeight = $('.header-nav-bottom.is_stuck').outerHeight(); 15302 var offsetTop = $(curSection).offset().top + ($(curSection).innerHeight() - $(curSection).height()); 15303 var winScrollTop = $win.scrollTop(); 15304 var bottomPosition = offsetTop + $(curSection).height() - $(targetBlock).height(); 15305 var isScrollOutsideTheBottomPosition = bottomPosition - headerHeight < winScrollTop; 15306 var isRemoveStickyClass = isScrollOutsideTheBottomPosition || offsetTop > winScrollTop; 15307 15308 if (isRemoveStickyClass) { 15309 targetBlock.style.top = null; 15310 targetBlock.classList.remove(positionStickyClass); 15311 targetBlock.classList["" + (isScrollOutsideTheBottomPosition ? "add" : "remove")](positionAbsoluteClass); 15312 } else { 15313 targetBlock.setAttribute("style", "top:95px;"); 15314 targetBlock.classList.remove(positionAbsoluteClass); 15315 targetBlock.classList.add(positionStickyClass); 15316 } 15317 } 15318 }; 15319 15320 togglePositionClass(); 15321 }); 15322} 15323/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15324 15325/***/ }), 15326/* 357 */ 15327/***/ (function(module, __webpack_exports__, __webpack_require__) { 15328 15329"use strict"; 15330/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = eventsSlider; 15331function eventsSlider() { 15332 $(".events-slider").each(function () { 15333 var curWarpSlider = $(this); 15334 var curSlider = curWarpSlider.find(".slider"); 15335 15336 curSlider.slick({ 15337 infinite: false, 15338 slidesToScroll: 1, 15339 slidesToShow: 1, 15340 dots: true, 15341 arrows: false, 15342 dotsClass: "slick-dots custom-dots" 15343 }); 15344 }); 15345} 15346/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15347 15348/***/ }), 15349/* 358 */ 15350/***/ (function(module, __webpack_exports__, __webpack_require__) { 15351 15352"use strict"; 15353/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = mediaSliderMobile; 15354function mediaSliderMobile() { 15355 $(window).on("load resize orientationchange", function () { 15356 $(".media-slider-mobile").each(function () { 15357 var curWarpSlider = $(this); 15358 var curSlider = curWarpSlider.find(".slider"); 15359 15360 if ($(window).width() > 568) { 15361 if ($(curSlider).hasClass("slick-initialized")) { 15362 $(curSlider).slick("unslick"); 15363 } 15364 } else { 15365 if (!$(curSlider).hasClass("slick-initialized")) { 15366 $(curSlider).slick({ 15367 dots: true, 15368 infinite: false, 15369 variableWidth: true, 15370 slidesToScroll: 1,
15371 arrows: false, 15372 mobileFirst: true, 15373 // adaptiveHeight: true, 15374 dotsClass: "slick-dots custom-dots" 15375 }); 15376 } 15377 } 15378 }); 15379 }); 15380} 15381/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15382 15383/***/ }), 15384/* 359 */ 15385/***/ (function(module, __webpack_exports__, __webpack_require__) { 15386 15387"use strict"; 15388/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = modalSlider; 15389function modalSlider() { 15390 15391 $(window).on("load", function () { 15392 var wrapper = $(".slider-modal-wrapper"); 15393 15394 wrapper.each(function () { 15395 var curWarpSlider = $(this); 15396 var curSlider = curWarpSlider.find(".slider"); 15397 var curSliderNav = curWarpSlider.find(".slider-nav"); 15398 15399 curSlider.slick({ 15400 slidesToShow: 1, 15401 infinite: false, 15402 arrows: true, 15403 fade: true, 15404 asNavFor: curSliderNav, 15405 prevArrow: "<button class='prev'><svg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0.666546 5.00002L5.66658 0V4.16667H17.3333V5.83333H5.66658V10L0.666546 5.00002Z' fill='white'/></svg></button>", 15406 nextArrow: "<button class='next'><svg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M17.3332 5.00002L12.3332 0V4.16667H0.666504V5.83333H12.3332V10L17.3332 5.00002Z' fill='white'/></svg></button>", 15407 responsive: [{ 15408 breakpoint: 767, 15409 settings: { 15410 arrows: false 15411 } 15412 }] 15413 }); 15414 curSliderNav.slick({ 15415 slidesToShow: 7, 15416 slidesToScroll: 1, 15417 asNavFor: curSlider, 15418 focusOnSelect: true, 15419 // centerMode: true, 15420 infinite: false, 15421 arrows: false, 15422 responsive: [{ 15423 breakpoint: 767, 15424 settings: { 15425 slidesToShow: 3 15426 } 15427 }, { 15428 breakpoint: 1024, 15429 settings: { 15430 slidesToShow: 5 15431 } 15432 }] 15433 15434 }); 15435 }); 15436 }); 15437} 15438/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15439 15440/***/ }), 15441/* 360 */ 15442/***/ (function(module, __webpack_exports__, __webpack_require__) { 15443 15444"use strict"; 15445/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = autocomplete; 15446function autocomplete() { 15447 15448 var autocompleteFunc = function autocompleteFunc(inp, context) { 15449 var isGlobal = !!inp.closest(".modal"); 15450 var parnetResult = isGlobal ? 'inner-modal-search' : 'modal-results-list'; 15451 15452 inp.addEventListener("keyup", function (e) { 15453 if (inp.value.length > 2) { 15454 $.ajax(isGlobal ? { 15455 type: 'post', 15456 url: popvars.ajax.url, 15457 data: { 15458 action: 'quick_search_pop_up', 15459 search_words: $(inp).val(), 15460 _ajax_nonce: popvars.ajax.search_pop_up_nonce_token 15461 } 15462 } : { 15463 type: 'post', 15464 url: vars.ajax.url, 15465 data: { 15466 action: 'quick_search_doctors', 15467 search_term: $(inp).val(), 15468 _ajax_nonce: vars.ajax.search_doctors_nonce_token 15469 } 15470 }).done(function (response) { 15471 if (response.items) { 15472 var container = void 0, 15473 links = void 0, 15474 i = void 0; 15475 15476 container = context.getElementsByClassName(parnetResult)[0]; 15477 if (!container) { 15478 return; 15479 } 15480 closeAllLists(); 15481 15482 container.innerHTML += response.items; 15483 container.classList.add("show-results"); 15484 links = container.getElementsByClassName('link'); 15485 iterateItems(links, inp.value); 15486 15487 for (i = 0; i < links.length; i++) { 15488 15489 links[i].addEventListener("click", function (e) { 15490 // e.preventDefault(); 15491 // inp.value = e.target.textContent; 15492 closeAllLists(); 15493 }); 15494 } 15495 } 15496 15497 context.classList.add("set-results"); 15498 }).fail(function (jqxhr, textStatus, error) {}); 15499 } else { 15500 closeAllLists(); 15501 } 15502 }); 15503 15504 var iterateItems = function iterateItems(items, substr) { 15505 for (var i = 0; i < items.length; i++) { 15506 textHighlight(items[i], items[i].textContent.toLocaleLowerCase(), substr.toLocaleLowerCase()); 15507 } 15508 }; 15509 15510 var textHighlight = function textHighlight(wrap, str, substr) { 15511 var startStr = void 0; 15512 var endStr = void 0; 15513 var finalStr = void 0; 15514 var middleStr = ""; 15515 if (substr.length) { 15516 15517 var regex = new RegExp(substr, 'gi'), 15518 result = void 0, 15519 indices = []; 15520 15521 while (result = regex.exec(str)) { 15522 indices.push(result.index); 15523 } 15524 if (indices.length) { 15525 for (var i = 0; i < indices.length; i++) {
15526 startStr = str.slice(0, indices[0]); 15527 endStr = str.slice(indices[indices.length - 1] + substr.length, -1); 15528 middleStr += "<strong>" + str.slice(indices[i], indices[i] + substr.length) + "</strong>"; 15529 if (indices[i + 1]) { 15530 middleStr = middleStr + str.slice(indices[i] + substr.length, indices[i + 1]); 15531 } 15532 finalStr = startStr + middleStr + endStr; 15533 } 15534 } else { 15535 finalStr = str; 15536 wrap.innerHTML = finalStr; 15537 } 15538 wrap.innerHTML = finalStr; 15539 } 15540 }; 15541 15542 var closeAllLists = function closeAllLists(element) { 15543 if (context.getElementsByClassName(parnetResult)[0]) { 15544 var container = context.getElementsByClassName(parnetResult)[0]; 15545 container.innerHTML = ''; 15546 container.classList.remove("show-results"); 15547 context.classList.remove("set-results"); 15548 } 15549 }; 15550 15551 document.addEventListener("click", function (e) { 15552 closeAllLists(e.target); 15553 }); 15554 }; 15555 15556 var searchBlock = document.querySelectorAll(".input-wrapper-search-pop-up, .input-wrapper-search"); 15557 15558 if (searchBlock.length) { 15559 15560 for (var i = 0; i < searchBlock.length; i++) { 15561 autocompleteFunc(searchBlock[i].getElementsByTagName("input")[0], searchBlock[i]); 15562 } 15563 } 15564} 15565/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15566 15567/***/ }), 15568/* 361 */ 15569/***/ (function(module, __webpack_exports__, __webpack_require__) { 15570 15571"use strict"; 15572/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = asideFilter; 15573function asideFilter() { 15574 15575 $(".filtering").each(function () { 15576 var curWrapper = $(this); 15577 var input = curWrapper.find("input[type='text']"); 15578 var group = curWrapper.find(".fieldset-title").text().trim().toLocaleLowerCase(); 15579 var result = curWrapper.find(".input-radio-list"); 15580 var resultItems = []; 15581 var learnMoreBtn = curWrapper.find(".links>.link"); 15582 var urlString = window.location.href; 15583 var url = new URL(urlString); 15584 var lang = url.searchParams.get("language"); 15585 var facility = url.searchParams.get("facility"); 15586 var specialty = url.searchParams.getAll("specialty"); 15587 15588 if (specialty[0]) { 15589 specialty = specialty[0].split(","); 15590 } 15591 15592 curWrapper.find("li").each(function (i, el) { 15593 15594 resultItems.push({ 15595 "value": $(el).find("input").val(), 15596 "label": $(el).find("label").text()//.toLocaleLowerCase() 15597 }); 15598 }); 15599 15600 var renderResult = function renderResult(resultItems) { 15601 return renderList(resultItems, result); 15602 }; 15603 var renderFilteredResult = function renderFilteredResult(val) { 15604 return renderResult(resultItems.filter(function (item) { 15605 return ~item.label.indexOf(val); 15606 })); 15607 }; 15608 var searchHandler = function searchHandler(_ref) { 15609 var value = _ref.target.value; 15610 return renderFilteredResult(value.toLocaleLowerCase()); 15611 }; 15612 15613 renderResult(resultItems); 15614 15615 function renderList() { 15616 var list = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; 15617 var el = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : resultsContainer; 15618 15619 el.empty(); 15620 if (list.length < 4) { 15621 curWrapper.addClass("hide-learn-more"); 15622 } else { 15623 curWrapper.removeClass("hide-learn-more"); 15624 } 15625 15626 $(list).each(function (index, item) { 15627 var new_el = void 0; 15628 15629 if (group === "language") { 15630 15631 if (lang === item.value) { 15632 new_el = "<li class=\"selected-radio-item\">\n <input type=\"radio\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" name=\"" + group + "\" checked=\"checked\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15633 15634 if (index > 3) { 15635 var radioItems = el.find("li"); 15636 radioItems.eq(3).addClass('hide-radio-item'); 15637 } 15638 } else { 15639 new_el = "<li>\n <input type=\"radio\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" name=\"" + group + "\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15640 } 15641 } else if (group === "facility") { 15642 if (facility === item.value) { 15643 new_el = "<li class=\"selected-radio-item\">\n <input type=\"radio\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" name=\"" + group + "\" checked=\"checked\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15644 15645 if (index > 3) { 15646 var radioItems = el.find("li"); 15647 radioItems.eq(3).addClass('hide-radio-item'); 15648 } 15649 } else { 15650 new_el = "<li>\n <input type=\"radio\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" name=\"" + group + "\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15651 } 15652 } else if (group === "specialty") { 15653 var flag = false;
15654 15655 for (var i = 0; i < specialty.length; i++) { 15656 if (String(specialty[i]) === item.value) { 15657 // checking value and one of search params (specialty) 15658 new_el = // create new element with checked 15659 "<li class=\"selected-radio-item\">\n <input type=\"checkbox\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" class=\"" + group + "\" checked=\"checked\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15660 15661 flag = true; 15662 15663 if (index > 3) { 15664 var _radioItems = el.find("li"); 15665 15666 for (var j = 3; j > 0; j--) { 15667 if (!$(_radioItems[j]).hasClass("selected-radio-item")) { 15668 _radioItems.eq(j).addClass("hide-radio-item"); 15669 break; 15670 } 15671 } 15672 } 15673 } 15674 } 15675 15676 if (!flag) { 15677 new_el = "<li>\n <input type=\"checkbox\" id=\"" + group + "-" + item.value + "\" value=\"" + item.value + "\" class=\"" + group + "\">\n <label for=\"" + group + "-" + item.value + "\">" + item.label + "</label>\n </li>"; 15678 } 15679 } 15680 15681 el.append(new_el); 15682 }); 15683 } 15684 15685 learnMoreBtn.on("click", function (e) { 15686 e.preventDefault(); 15687 result.toggleClass("show-items"); 15688 $(this).toggleClass("show-items"); 15689 }); 15690 15691 input.on("keyup", searchHandler); 15692 }); 15693} 15694/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15695 15696/***/ }), 15697/* 362 */ 15698/***/ (function(module, __webpack_exports__, __webpack_require__) { 15699 15700"use strict"; 15701/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = locationsMap; 15702function locationsMap() { 15703 var locations = void 0; 15704 var locationHolder = $(".search-result-map"); 15705 var popupInfo = locationHolder.find(".result-info-hospital"); 15706 var popupFacilityList = locationHolder.find(".tags-list"); 15707 var popupTitle = locationHolder.find(".location-title"); 15708 var popupText = locationHolder.find(".location-description"); 15709 var popupAddress = locationHolder.find("address"); 15710 var popupAppointmentsPhone = locationHolder.find(".appointments"); 15711 var popupPhone = locationHolder.find(".general-phone-link"); 15712 var popupLink = locationHolder.find(".button"); 15713 initMap(); 15714 15715 function initMap() { 15716 var pinWidth = void 0; 15717 var pinHeight = void 0; 15718 if (window.innerWidth >= 1200) { 15719 pinWidth = 52; 15720 pinHeight = 72; 15721 } else { 15722 pinWidth = 32; 15723 pinHeight = 52; 15724 } 15725 locations = mapData["locations"]; 15726 console.log(locations); 15727 var markers = []; 15728 var mapStyle = [{ 15729 "stylers": [{ 15730 "hue": "#2c3e50" 15731 }, { 15732 "saturation": 250 15733 }] 15734 }, { 15735 "featureType": "road", 15736 "elementType": "geometry", 15737 "stylers": [{ 15738 "lightness": 50 15739 }, { 15740 "visibility": "simplified" 15741 }] 15742 }, { 15743 "featureType": "road", 15744 "elementType": "labels", 15745 "stylers": [{ 15746 "visibility": "off" 15747 }] 15748 }]; 15749 15750 var USA_BOUNDS = { 15751 north: 55, 15752 south: 20, 15753 west: -95, 15754 east: -10 15755 }; 15756 var map = new google.maps.Map(document.getElementById('location-map-holder'), { 15757 styles: mapStyle, 15758 zoom: 12, 15759 minZoom: 3, 15760 scrollwheel: false, 15761 scaleControl: false, 15762 draggable: !(typeof window.orientation !== 'undefined' || navigator.userAgent.indexOf('IEMobile') !== -1), 15763 // zoomControl: false, 15764 // disableDoubleClickZoom: true, 15765 panControl: false, 15766 mapTypeControl: false, 15767 streetViewControl: false, 15768 overviewMapControl: false, 15769 fullscreenControl: false, 15770 center: new google.maps.LatLng(locations[0].lat, locations[0].lng), 15771 restriction: { 15772 latLngBounds: USA_BOUNDS,
15773 strictBounds: false 15774 } 15775 }); 15776 var bounds = new google.maps.LatLngBounds(); 15777 var marker = void 0, 15778 i = void 0; 15779 15780 var _loop = function _loop() { 15781 var lat = locations[i].lat; 15782 var lng = locations[i].lng; 15783 var markerPin = locations[i].pin; 15784 //console.log(markerPin); 15785 var markerPinActive = locations[i].pinActive; 15786 marker = new google.maps.Marker({ 15787 position: new google.maps.LatLng(lat, lng), 15788 map: map, 15789 icon: { 15790 url: markerPin, 15791 size: new google.maps.Size(pinWidth, pinHeight), 15792 scaledSize: new google.maps.Size(pinWidth, pinHeight) 15793 // size: new google.maps.Size(36, 50), 15794 // scaledSize: new google.maps.Size(36, 50), 15795 // title: locations[i].state 15796 } }); 15797 markers.push(marker); 15798 bounds.extend(marker.position); 15799 marker.addListener('mouseover', function () { 15800 return function () { 15801 this.setIcon(markerPinActive); 15802 }; 15803 }(marker, i)); 15804 15805 marker.addListener('mouseout', function () { 15806 return function () { 15807 this.setIcon(markerPin); 15808 }; 15809 }(marker, i)); 15810 15811 google.maps.event.addListener(marker, 'click', function (marker, i) { 15812 return function () { 15813 popupFacilityList.find(".tag-item").remove(); 15814 locations[i].facilityType.forEach(function (el) { 15815 popupFacilityList.append("<span class=\"tag-item\">" + el + "</span>"); 15816 }); 15817 popupTitle.text(locations[i].title); 15818 popupText.html(locations[i].text); 15819 popupAddress.text(locations[i].address); 15820 if (popupAppointmentsPhone.hasClass("hide")) { 15821 popupAppointmentsPhone.removeClass("hide"); 15822 } else { 15823 popupAppointmentsPhone.find("a").remove(); 15824 } 15825 if (popupPhone.hasClass("hide")) { 15826 popupPhone.removeClass("hide"); 15827 } else { 15828 popupPhone.find("a").remove(); 15829 } 15830 if (locations[i].popupAppointmentsPhone != "") { 15831 locations[i].popupAppointmentsPhone.forEach(function (el) { 15832 popupAppointmentsPhone.append("<a href=\"tel:" + el + "\" class=\"marker\">" + el + "</a>"); 15833 }); 15834 } else { 15835 popupAppointmentsPhone.addClass("hide"); 15836 } 15837 if (locations[i].popupPhone != "") { 15838 locations[i].popupPhone.forEach(function (el) { 15839 popupPhone.append("<a href=\"tel:" + el + "\" class=\"marker\">" + el + "</a>"); 15840 }); 15841 } else { 15842 popupPhone.addClass("hide"); 15843 } 15844 15845 popupLink.attr("href", locations[i].locationLink); 15846 popupInfo.addClass("show"); 15847 }; 15848 }(marker, i)); 15849 15850 if (locations.length < 2) { 15851 map.setZoom(16); 15852 console.log("inside global.js, map.setZoom value is 16"); 15853 } else { 15854 map.setZoom(11); 15855 //map.fitBounds(bounds); 15856 15857 console.log("inside global.js, map.fitBounds value is bounds originally. updated to use map.setZoom() with 11 as value instead"); 15858 } 15859 }; 15860 15861 for (i = 0; i < locations.length; i++) { 15862 _loop(); 15863 } 15864 } 15865 15866 locationHolder.find(".popup-close").on("click", function (e) { 15867 e.preventDefault(); 15868 popupInfo.removeClass("show"); 15869 setTimeout(function () { 15870 popupFacilityList.find(".tag-item").remove(); 15871 if (popupAppointmentsPhone.hasClass("hide")) { 15872 popupAppointmentsPhone.removeClass("hide"); 15873 } else { 15874 popupAppointmentsPhone.find("a").remove(); 15875 } 15876 if (popupPhone.hasClass("hide")) { 15877 popupPhone.removeClass("hide"); 15878 } else { 15879 popupPhone.find("a").remove(); 15880 } 15881 }, 700); 15882 }); 15883} 15884/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15885 15886/***/ }), 15887/* 363 */ 15888/***/ (function(module, __webpack_exports__, __webpack_require__) { 15889 15890"use strict"; 15891/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = heroVideo; 15892function heroVideo() { 15893 var bgv = $('.hero-section-bg video'); 15894 15895 $(window).on("load resize", function () { 15896 if (bgv.is(':visible') && $(window).width() >= 1200) { 15897 $('source', bgv).each(function () { 15898 var el = $(this); 15899 if (!el.hasClass('show')) { 15900 el.attr('src', el.data('src')); 15901 el.addClass('show'); 15902 bgv[0].load(); 15903 } 15904 }); 15905 } 15906 }); 15907} 15908/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15909 15910/***/ }), 15911/* 364 */ 15912/***/ (function(module, __webpack_exports__, __webpack_require__) { 15913 15914"use strict"; 15915/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = addIframeWrap; 15916function addIframeWrap() { 15917 var iframeHolder = "<div class=\"iframe-holder\"></div>"; 15918 $(".content iframe").each(function () { 15919 $(this).wrap(iframeHolder); 15920 }); 15921} 15922/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15923 15924/***/ }), 15925/* 365 */ 15926/***/ (function(module, __webpack_exports__, __webpack_require__) { 15927 15928"use strict"; 15929/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = setStickyElement; 15930function setStickyElement() { 15931 15932 var windowWidth = $(window).width(); 15933 15934 $(".sticky-element").each(function () { 15935 15936 if ($(this).hasClass("header-nav-bottom")) { 15937 $(this).stick_in_parent({ 15938 offset_top: 0, 15939 parent: ".wrapper" 15940 }); 15941 } else { 15942 15943 if (windowWidth >= 768) { 15944 $(this).stick_in_parent({ 15945 offset_top: 100 15946 }); 15947 } 15948 } 15949 }); 15950} 15951/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15952 15953/***/ }), 15954/* 366 */ 15955/***/ (function(module, __webpack_exports__, __webpack_require__) { 15956 15957"use strict"; 15958/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = disclaimerCookies; 15959function disclaimerCookies() { 15960 var $body = $("body"); 15961 var cookie = $(".disclaimer-modal"); 15962 var acceptCookie = cookie.find(".button"); 15963 15964 if (document.cookie.indexOf("disclaimerAccess=") >= 0) { 15965 cookie.hide(); 15966 } else { 15967 cookie.addClass("modal-active"); 15968 $body.addClass("overlay scroll-lock"); 15969 } 15970 15971 acceptCookie.on("click", function (e) { 15972 e.preventDefault(); 15973 var expiry = new Date(); 15974 expiry.setTime(expiry.getTime() + 1 * 24 * 60 * 60 * 1000); 15975 document.cookie = "disclaimerAccess=yes; path=/; expires=" + expiry.toGMTString(); 15976 cookie.removeClass("modal-active"); 15977 $body.removeClass("overlay scroll-lock"); 15978 }); 15979} 15980/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 15981 15982/***/ }), 15983/* 367 */ 15984/***/ (function(module, __webpack_exports__, __webpack_require__) { 15985 15986"use strict"; 15987/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = faqShowMore; 15988function faqShowMore() { 15989 var buttons = $(".faq-box .link"); 15990 15991 function triggerFunction(accordionItems, isActive) { 15992 $(accordionItems).each(function () { 15993 $(this)[(isActive ? "add" : "remove") + "Class"]("active"); 15994 $(this).children(".hidden")["slide" + (isActive ? "Down" : "Up")](); 15995 }); 15996 15997 isActive = !isActive; 15998 } 15999 16000 buttons.on("click", function (e) { 16001 e.preventDefault(); 16002 var $this = $(this), 16003 parentSection = $this.closest('.faq-box'), 16004 showHideBlock = $(parentSection).find('.accordion-item'); 16005 16006 if ($(showHideBlock).length) { 16007 var isActive = $(this).text() == "Open All" ? true : false;
16008 16009 triggerFunction(showHideBlock, isActive); 16010 16011 $(this).text($(this).text() == "Open All" ? "Close All" : "Open All"); 16012 } 16013 }); 16014} 16015/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 16016 16017/***/ }), 16018/* 368 */ 16019/***/ (function(module, __webpack_exports__, __webpack_require__) { 16020 16021"use strict"; 16022/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = patientStoriesSlider; 16023function patientStoriesSlider() { 16024 16025 $(".wrap-stories-slider").each(function () { 16026 var curWarpSlider = $(this); 16027 var curSlider = curWarpSlider.find(".stories-slider"); 16028 16029 curSlider.slick({ 16030 dots: true, 16031 infinite: false, 16032 slidesToShow: 1, 16033 variableWidth: true, 16034 appendDots: curWarpSlider, 16035 dotsClass: "slick-dots custom-dots", 16036 arrows: false 16037 }); 16038 }); 16039} 16040/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 16041 16042/***/ }), 16043/* 369 */ 16044/***/ (function(module, __webpack_exports__, __webpack_require__) { 16045 16046"use strict"; 16047/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = daterangeEvents; 16048function daterangeEvents() { 16049 var $inputDateRange = $('input[name="daterange"]'); 16050 16051 $inputDateRange.daterangepicker({ 16052 // autoUpdateInput: false, 16053 autoApply: true, 16054 // alwaysShowCalendars: true, 16055 parentEl: '.datepicker-range', 16056 linkedCalendars: false, 16057 locale: { 16058 cancelLabel: 'Clear', 16059 format: "MM/DD/YYYY", 16060 separator: " - ", 16061 monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "
16061November", "December"] 16062 } 16063 }); 16064 16065 $inputDateRange.val(''); 16066 16067 $inputDateRange.on('cancel.daterangepicker', function (ev, picker) { 16068 $inputDateRange.data('daterangepicker').setStartDate(new Date()); 16069 $inputDateRange.data('daterangepicker').setEndDate(new Date()); 16070 $(this).val(''); 16071 }); 16072 16073 // $('input[name="daterange"]').on('apply.daterangepicker', function(ev, picker) { 16074 // $(this).val(picker.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY')); 16075 // }); 16076} 16077/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 16078 16079/***/ }), 16080/* 370 */ 16081/***/ (function(module, __webpack_exports__, __webpack_require__) { 16082 16083"use strict"; 16084/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = notificationCookies; 16085function notificationCookies() { 16086 var cookie = $(".notification.cookies"); 16087 var acceptCookie = cookie.find(".notification-close"); 16088 16089 if (document.cookie.indexOf("notificationCookiesAccess=") >= 0) { 16090 cookie.hide(); 16091 } 16092 16093 acceptCookie.on("click", function (e) { 16094 e.preventDefault(); 16095 var expiry = new Date(); 16096 expiry.setTime(expiry.getTime() + 1 * 24 * 60 * 60 * 1000); 16097 document.cookie = "notificationCookiesAccess=yes; path=/; expires=" + expiry.toGMTString(); 16098 cookie.slideUp(); 16099 }); 16100} 16101/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 16102 16103/***/ }), 16104/* 371 */ 16105/***/ (function(module, __webpack_exports__, __webpack_require__) { 16106 16107"use strict"; 16108/* WEBPACK VAR INJECTION */(function($) {/* harmony export (immutable) */ __webpack_exports__["a"] = asideNav; 16109function asideNav() { 16110 $(".sidebar-nav").on("click", ".arrow", function (e) { 16111 var $this = $(this); 16112 16113 $this.parent("li").toggleClass("current_page_ancestor"); 16114 16115 e.stopPropagation(); 16116 }); 16117} 16118/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(3))) 16119 16120/***/ }) 16121/******/ ]);
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.