(function webpackUniversalModuleDefinition (root, factory) { if (typeof exports === 'object' && typeof module === 'object') { module.exports = factory(require('vue')) } else if (typeof define === 'function' && define.amd) { define([], factory) } else if (typeof exports === 'object') { exports['vue-router-tab'] = factory(require('vue')) } else { root['vue-router-tab'] = factory(root['Vue']) } })((typeof self !== 'undefined' ? self : this), function (__WEBPACK_EXTERNAL_MODULE__8bbf__) { return /******/ (function (modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {} /******/ /******/ // The require function /******/ function __webpack_require__ (moduleId) { /******/ /******/ // Check if module is in cache /******/ if (installedModules[moduleId]) { /******/ return installedModules[moduleId].exports /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ } /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) /******/ /******/ // Flag the module as loaded /******/ module.l = true /******/ /******/ // Return the exports of the module /******/ return module.exports /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function (exports, name, getter) { /******/ if (!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }) /******/ } /******/ } /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function (exports) { /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }) /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }) /******/ } /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function (value, mode) { /******/ if (mode & 1) value = __webpack_require__(value) /******/ if (mode & 8) return value /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value /******/ var ns = Object.create(null) /******/ __webpack_require__.r(ns) /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }) /******/ if (mode & 2 && typeof value !== 'string') for (var key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) /******/ return ns /******/ } /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function (module) { /******/ var getter = module && module.__esModule /******/ ? function getDefault () { return module['default'] } /******/ : function getModuleExports () { return module } /******/ __webpack_require__.d(getter, 'a', getter) /******/ return getter /******/ } /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = '' /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 'fb15') /******/ }) /************************************************************************/ /******/ ({ /***/ '01f9': /***/ function (module, exports, __webpack_require__) { 'use strict' var LIBRARY = __webpack_require__('2d00') var $export = __webpack_require__('5ca1') var redefine = __webpack_require__('2aba') var hide = __webpack_require__('32e9') var Iterators = __webpack_require__('84f2') var $iterCreate = __webpack_require__('41a0') var setToStringTag = __webpack_require__('7f20') var getPrototypeOf = __webpack_require__('38fd') var ITERATOR = __webpack_require__('2b4c')('iterator') var BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator' var KEYS = 'keys' var VALUES = 'values' var returnThis = function () { return this } module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next) var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind] switch (kind) { case KEYS: return function keys () { return new Constructor(this, kind) } case VALUES: return function values () { return new Constructor(this, kind) } } return function entries () { return new Constructor(this, kind) } } var TAG = NAME + ' Iterator' var DEF_VALUES = DEFAULT == VALUES var VALUES_BUG = false var proto = Base.prototype var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] var $default = $native || getMethod(DEFAULT) var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined var $anyNative = NAME == 'Array' ? proto.entries || $native : $native var methods, key, IteratorPrototype // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())) if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true) // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] !== 'function') hide(IteratorPrototype, ITERATOR, returnThis) } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true $default = function values () { return $native.call(this) } } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default) } // Plug for library Iterators[NAME] = $default Iterators[TAG] = returnThis if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries } if (FORCED) { for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]) } } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods) } return methods } /***/ }, /***/ '02f4': /***/ function (module, exports, __webpack_require__) { var toInteger = __webpack_require__('4588') var defined = __webpack_require__('be13') // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)) var i = toInteger(pos) var l = s.length var a, b if (i < 0 || i >= l) return TO_STRING ? '' : undefined a = s.charCodeAt(i) return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000 } } /***/ }, /***/ '0390': /***/ function (module, exports, __webpack_require__) { 'use strict' var at = __webpack_require__('02f4')(true) // `AdvanceStringIndex` abstract operation // https://tc39.github.io/ecma262/#sec-advancestringindex module.exports = function (S, index, unicode) { return index + (unicode ? at(S, index).length : 1) } /***/ }, /***/ '07e3': /***/ function (module, exports) { var hasOwnProperty = {}.hasOwnProperty module.exports = function (it, key) { return hasOwnProperty.call(it, key) } /***/ }, /***/ '0a49': /***/ function (module, exports, __webpack_require__) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter // 3 -> Array#some // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex var ctx = __webpack_require__('9b43') var IObject = __webpack_require__('626a') var toObject = __webpack_require__('4bf8') var toLength = __webpack_require__('9def') var asc = __webpack_require__('cd1c') module.exports = function (TYPE, $create) { var IS_MAP = TYPE == 1 var IS_FILTER = TYPE == 2 var IS_SOME = TYPE == 3 var IS_EVERY = TYPE == 4 var IS_FIND_INDEX = TYPE == 6 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX var create = $create || asc return function ($this, callbackfn, that) { var O = toObject($this) var self = IObject(O) var f = ctx(callbackfn, that, 3) var length = toLength(self.length) var index = 0 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined var val, res for (;length > index; index++) { if (NO_HOLES || index in self) { val = self[index] res = f(val, index, O) if (TYPE) { if (IS_MAP) result[index] = res // map else if (res) { switch (TYPE) { case 3: return true // some case 5: return val // find case 6: return index // findIndex case 2: result.push(val) // filter } } else if (IS_EVERY) return false // every } } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result } } /***/ }, /***/ '0bfb': /***/ function (module, exports, __webpack_require__) { 'use strict' // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__('cb7c') module.exports = function () { var that = anObject(this) var result = '' if (that.global) result += 'g' if (that.ignoreCase) result += 'i' if (that.multiline) result += 'm' if (that.unicode) result += 'u' if (that.sticky) result += 'y' return result } /***/ }, /***/ '0d58': /***/ function (module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__('ce10') var enumBugKeys = __webpack_require__('e11e') module.exports = Object.keys || function keys (O) { return $keys(O, enumBugKeys) } /***/ }, /***/ '0fc9': /***/ function (module, exports, __webpack_require__) { var toInteger = __webpack_require__('3a38') var max = Math.max var min = Math.min module.exports = function (index, length) { index = toInteger(index) return index < 0 ? max(index + length, 0) : min(index, length) } /***/ }, /***/ '1169': /***/ function (module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__('2d95') module.exports = Array.isArray || function isArray (arg) { return cof(arg) == 'Array' } /***/ }, /***/ '1173': /***/ function (module, exports) { module.exports = function (it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!') } return it } /***/ }, /***/ '1495': /***/ function (module, exports, __webpack_require__) { var dP = __webpack_require__('86cc') var anObject = __webpack_require__('cb7c') var getKeys = __webpack_require__('0d58') module.exports = __webpack_require__('9e1e') ? Object.defineProperties : function defineProperties (O, Properties) { anObject(O) var keys = getKeys(Properties) var length = keys.length var i = 0 var P while (length > i) dP.f(O, P = keys[i++], Properties[P]) return O } /***/ }, /***/ '1654': /***/ function (module, exports, __webpack_require__) { 'use strict' var $at = __webpack_require__('71c1')(true) // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__('30f1')(String, 'String', function (iterated) { this._t = String(iterated) // target this._i = 0 // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t var index = this._i var point if (index >= O.length) return { value: undefined, done: true } point = $at(O, index) this._i += point.length return { value: point, done: false } }) /***/ }, /***/ '1691': /***/ function (module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(',') /***/ }, /***/ '1af6': /***/ function (module, exports, __webpack_require__) { // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = __webpack_require__('63b6') $export($export.S, 'Array', { isArray: __webpack_require__('9003') }) /***/ }, /***/ '1bc3': /***/ function (module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__('f772') // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it var fn, val if (S && typeof (fn = it.toString) === 'function' && !isObject(val = fn.call(it))) return val if (typeof (fn = it.valueOf) === 'function' && !isObject(val = fn.call(it))) return val if (!S && typeof (fn = it.toString) === 'function' && !isObject(val = fn.call(it))) return val throw TypeError("Can't convert object to primitive value") } /***/ }, /***/ '1ec9': /***/ function (module, exports, __webpack_require__) { var isObject = __webpack_require__('f772') var document = __webpack_require__('e53d').document // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement) module.exports = function (it) { return is ? document.createElement(it) : {} } /***/ }, /***/ '20d6': /***/ function (module, exports, __webpack_require__) { 'use strict' // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = __webpack_require__('5ca1') var $find = __webpack_require__('0a49')(6) var KEY = 'findIndex' var forced = true // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false }) $export($export.P + $export.F * forced, 'Array', { findIndex: function findIndex (callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined) } }) __webpack_require__('9c6c')(KEY) /***/ }, /***/ '214f': /***/ function (module, exports, __webpack_require__) { 'use strict' __webpack_require__('b0c5') var redefine = __webpack_require__('2aba') var hide = __webpack_require__('32e9') var fails = __webpack_require__('79e5') var defined = __webpack_require__('be13') var wks = __webpack_require__('2b4c') var regexpExec = __webpack_require__('520a') var SPECIES = wks('species') var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { // #replace needs built-in support for named groups. // #match works fine because it just return the exec results, even if it has // a "grops" property. var re = /./ re.exec = function () { var result = [] result.groups = { a: '7' } return result } return ''.replace(re, '$') !== '7' }) var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec var re = /(?:)/ var originalExec = re.exec re.exec = function () { return originalExec.apply(this, arguments) } var result = 'ab'.split(re) return result.length === 2 && result[0] === 'a' && result[1] === 'b' })() module.exports = function (KEY, length, exec) { var SYMBOL = wks(KEY) var DELEGATES_TO_SYMBOL = !fails(function () { // String methods call symbol-named RegEp methods var O = {} O[SYMBOL] = function () { return 7 } return ''[KEY](O) != 7 }) var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { // Symbol-named RegExp methods call .exec var execCalled = false var re = /a/ re.exec = function () { execCalled = true; return null } if (KEY === 'split') { // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {} re.constructor[SPECIES] = function () { return re } } re[SYMBOL]('') return !execCalled }) : undefined if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) ) { var nativeRegExpMethod = /./[SYMBOL] var fns = exec( defined, SYMBOL, ''[KEY], function maybeCallNative (nativeMethod, regexp, str, arg2, forceStringMethod) { if (regexp.exec === regexpExec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) } } return { done: true, value: nativeMethod.call(str, regexp, arg2) } } return { done: false } } ) var strfn = fns[0] var rxfn = fns[1] redefine(String.prototype, KEY, strfn) hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) // 21.2.5.11 RegExp.prototype[@@split](string, limit) ? function (string, arg) { return rxfn.call(string, this, arg) } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) : function (string) { return rxfn.call(string, this) } ) } } /***/ }, /***/ '230e': /***/ function (module, exports, __webpack_require__) { var isObject = __webpack_require__('d3f4') var document = __webpack_require__('7726').document // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement) module.exports = function (it) { return is ? document.createElement(it) : {} } /***/ }, /***/ '23c6': /***/ function (module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__('2d95') var TAG = __webpack_require__('2b4c')('toStringTag') // ES3 wrong here var ARG = cof(function () { return arguments }()) == 'Arguments' // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key] } catch (e) { /* empty */ } } module.exports = function (it) { var O, T, B return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) === 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee === 'function' ? 'Arguments' : B } /***/ }, /***/ '241e': /***/ function (module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__('25eb') module.exports = function (it) { return Object(defined(it)) } /***/ }, /***/ '24c5': /***/ function (module, exports, __webpack_require__) { 'use strict' var LIBRARY = __webpack_require__('b8e3') var global = __webpack_require__('e53d') var ctx = __webpack_require__('d864') var classof = __webpack_require__('40c3') var $export = __webpack_require__('63b6') var isObject = __webpack_require__('f772') var aFunction = __webpack_require__('79aa') var anInstance = __webpack_require__('1173') var forOf = __webpack_require__('a22a') var speciesConstructor = __webpack_require__('f201') var task = __webpack_require__('4178').set var microtask = __webpack_require__('aba2')() var newPromiseCapabilityModule = __webpack_require__('656e') var perform = __webpack_require__('4439') var userAgent = __webpack_require__('bc13') var promiseResolve = __webpack_require__('cd78') var PROMISE = 'Promise' var TypeError = global.TypeError var process = global.process var versions = process && process.versions var v8 = versions && versions.v8 || '' var $Promise = global[PROMISE] var isNode = classof(process) == 'process' var empty = function () { /* empty */ } var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f var USE_NATIVE = !!(function () { try { // correct subclassing with @@species support var promise = $Promise.resolve(1) var FakePromise = (promise.constructor = {})[__webpack_require__('5168')('species')] = function (exec) { exec(empty, empty) } // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return (isNode || typeof PromiseRejectionEvent === 'function') && promise.then(empty) instanceof FakePromise && // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // we can't detect it synchronously, so just check versions v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1 } catch (e) { /* empty */ } }()) // helpers var isThenable = function (it) { var then return isObject(it) && typeof (then = it.then) === 'function' ? then : false } var notify = function (promise, isReject) { if (promise._n) return promise._n = true var chain = promise._c microtask(function () { var value = promise._v var ok = promise._s == 1 var i = 0 var run = function (reaction) { var handler = ok ? reaction.ok : reaction.fail var resolve = reaction.resolve var reject = reaction.reject var domain = reaction.domain var result, then, exited try { if (handler) { if (!ok) { if (promise._h == 2) onHandleUnhandled(promise) promise._h = 1 } if (handler === true) result = value else { if (domain) domain.enter() result = handler(value) // may throw if (domain) { domain.exit() exited = true } } if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')) } else if (then = isThenable(result)) { then.call(result, resolve, reject) } else resolve(result) } else reject(value) } catch (e) { if (domain && !exited) domain.exit() reject(e) } } while (chain.length > i) run(chain[i++]) // variable length - can't use forEach promise._c = [] promise._n = false if (isReject && !promise._h) onUnhandled(promise) }) } var onUnhandled = function (promise) { task.call(global, function () { var value = promise._v var unhandled = isUnhandled(promise) var result, handler, console if (unhandled) { result = perform(function () { if (isNode) { process.emit('unhandledRejection', value, promise) } else if (handler = global.onunhandledrejection) { handler({ promise: promise, reason: value }) } else if ((console = global.console) && console.error) { console.error('Unhandled promise rejection', value) } }) // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should promise._h = isNode || isUnhandled(promise) ? 2 : 1 } promise._a = undefined if (unhandled && result.e) throw result.v }) } var isUnhandled = function (promise) { return promise._h !== 1 && (promise._a || promise._c).length === 0 } var onHandleUnhandled = function (promise) { task.call(global, function () { var handler if (isNode) { process.emit('rejectionHandled', promise) } else if (handler = global.onrejectionhandled) { handler({ promise: promise, reason: promise._v }) } }) } var $reject = function (value) { var promise = this if (promise._d) return promise._d = true promise = promise._w || promise // unwrap promise._v = value promise._s = 2 if (!promise._a) promise._a = promise._c.slice() notify(promise, true) } var $resolve = function (value) { var promise = this var then if (promise._d) return promise._d = true promise = promise._w || promise // unwrap try { if (promise === value) throw TypeError("Promise can't be resolved itself") if (then = isThenable(value)) { microtask(function () { var wrapper = { _w: promise, _d: false } // wrap try { then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)) } catch (e) { $reject.call(wrapper, e) } }) } else { promise._v = value promise._s = 1 notify(promise, false) } } catch (e) { $reject.call({ _w: promise, _d: false }, e) // wrap } } // constructor polyfill if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) $Promise = function Promise (executor) { anInstance(this, $Promise, PROMISE, '_h') aFunction(executor) Internal.call(this) try { executor(ctx($resolve, this, 1), ctx($reject, this, 1)) } catch (err) { $reject.call(this, err) } } // eslint-disable-next-line no-unused-vars Internal = function Promise (executor) { this._c = [] // <- awaiting reactions this._a = undefined // <- checked in isUnhandled reactions this._s = 0 // <- state this._d = false // <- done this._v = undefined // <- value this._h = 0 // <- rejection state, 0 - default, 1 - handled, 2 - unhandled this._n = false // <- notify } Internal.prototype = __webpack_require__('5c95')($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then (onFulfilled, onRejected) { var reaction = newPromiseCapability(speciesConstructor(this, $Promise)) reaction.ok = typeof onFulfilled === 'function' ? onFulfilled : true reaction.fail = typeof onRejected === 'function' && onRejected reaction.domain = isNode ? process.domain : undefined this._c.push(reaction) if (this._a) this._a.push(reaction) if (this._s) notify(this, false) return reaction.promise }, // 25.4.5.1 Promise.prototype.catch(onRejected) 'catch': function (onRejected) { return this.then(undefined, onRejected) } }) OwnPromiseCapability = function () { var promise = new Internal() this.promise = promise this.resolve = ctx($resolve, promise, 1) this.reject = ctx($reject, promise, 1) } newPromiseCapabilityModule.f = newPromiseCapability = function (C) { return C === $Promise || C === Wrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C) } } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }) __webpack_require__('45f2')($Promise, PROMISE) __webpack_require__('4c95')(PROMISE) Wrapper = __webpack_require__('584a')[PROMISE] // statics $export($export.S + $export.F * !USE_NATIVE, PROMISE, { // 25.4.4.5 Promise.reject(r) reject: function reject (r) { var capability = newPromiseCapability(this) var $$reject = capability.reject $$reject(r) return capability.promise } }) $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { // 25.4.4.6 Promise.resolve(x) resolve: function resolve (x) { return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x) } }) $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__('4ee1')(function (iter) { $Promise.all(iter)['catch'](empty) })), PROMISE, { // 25.4.4.1 Promise.all(iterable) all: function all (iterable) { var C = this var capability = newPromiseCapability(C) var resolve = capability.resolve var reject = capability.reject var result = perform(function () { var values = [] var index = 0 var remaining = 1 forOf(iterable, false, function (promise) { var $index = index++ var alreadyCalled = false values.push(undefined) remaining++ C.resolve(promise).then(function (value) { if (alreadyCalled) return alreadyCalled = true values[$index] = value --remaining || resolve(values) }, reject) }) --remaining || resolve(values) }) if (result.e) reject(result.v) return capability.promise }, // 25.4.4.4 Promise.race(iterable) race: function race (iterable) { var C = this var capability = newPromiseCapability(C) var reject = capability.reject var result = perform(function () { forOf(iterable, false, function (promise) { C.resolve(promise).then(capability.resolve, reject) }) }) if (result.e) reject(result.v) return capability.promise } }) /***/ }, /***/ '25eb': /***/ function (module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it) return it } /***/ }, /***/ '294c': /***/ function (module, exports) { module.exports = function (exec) { try { return !!exec() } catch (e) { return true } } /***/ }, /***/ '2aba': /***/ function (module, exports, __webpack_require__) { var global = __webpack_require__('7726') var hide = __webpack_require__('32e9') var has = __webpack_require__('69a8') var SRC = __webpack_require__('ca5aa')('src') var $toString = __webpack_require__('fa5b') var TO_STRING = 'toString' var TPL = ('' + $toString).split(TO_STRING) __webpack_require__('8378').inspectSource = function (it) { return $toString.call(it) }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val === 'function' if (isFunction) has(val, 'name') || hide(val, 'name', key) if (O[key] === val) return if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))) if (O === global) { O[key] = val } else if (!safe) { delete O[key] hide(O, key, val) } else if (O[key]) { O[key] = val } else { hide(O, key, val) } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString () { return typeof this === 'function' && this[SRC] || $toString.call(this) }) /***/ }, /***/ '2aeb': /***/ function (module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__('cb7c') var dPs = __webpack_require__('1495') var enumBugKeys = __webpack_require__('e11e') var IE_PROTO = __webpack_require__('613b')('IE_PROTO') var Empty = function () { /* empty */ } var PROTOTYPE = 'prototype' // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__('230e')('iframe') var i = enumBugKeys.length var lt = '<' var gt = '>' var iframeDocument iframe.style.display = 'none' __webpack_require__('fab2').appendChild(iframe) iframe.src = 'javascript:' // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document iframeDocument.open() iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt) iframeDocument.close() createDict = iframeDocument.F while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]] return createDict() } module.exports = Object.create || function create (O, Properties) { var result if (O !== null) { Empty[PROTOTYPE] = anObject(O) result = new Empty() Empty[PROTOTYPE] = null // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O } else result = createDict() return Properties === undefined ? result : dPs(result, Properties) } /***/ }, /***/ '2b4c': /***/ function (module, exports, __webpack_require__) { var store = __webpack_require__('5537')('wks') var uid = __webpack_require__('ca5aa') var Symbol = __webpack_require__('7726').Symbol var USE_SYMBOL = typeof Symbol === 'function' var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)) } $exports.store = store /***/ }, /***/ '2d00': /***/ function (module, exports) { module.exports = false /***/ }, /***/ '2d3b': /***/ function (module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }, /***/ '2d95': /***/ function (module, exports) { var toString = {}.toString module.exports = function (it) { return toString.call(it).slice(8, -1) } /***/ }, /***/ '3024': /***/ function (module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined switch (args.length) { case 0: return un ? fn() : fn.call(that) case 1: return un ? fn(args[0]) : fn.call(that, args[0]) case 2: return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]) case 3: return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]) case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]) } return fn.apply(that, args) } /***/ }, /***/ '30f1': /***/ function (module, exports, __webpack_require__) { 'use strict' var LIBRARY = __webpack_require__('b8e3') var $export = __webpack_require__('63b6') var redefine = __webpack_require__('9138') var hide = __webpack_require__('35e8') var Iterators = __webpack_require__('481b') var $iterCreate = __webpack_require__('8f60') var setToStringTag = __webpack_require__('45f2') var getPrototypeOf = __webpack_require__('53e2') var ITERATOR = __webpack_require__('5168')('iterator') var BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator' var KEYS = 'keys' var VALUES = 'values' var returnThis = function () { return this } module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next) var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind] switch (kind) { case KEYS: return function keys () { return new Constructor(this, kind) } case VALUES: return function values () { return new Constructor(this, kind) } } return function entries () { return new Constructor(this, kind) } } var TAG = NAME + ' Iterator' var DEF_VALUES = DEFAULT == VALUES var VALUES_BUG = false var proto = Base.prototype var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] var $default = $native || getMethod(DEFAULT) var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined var $anyNative = NAME == 'Array' ? proto.entries || $native : $native var methods, key, IteratorPrototype // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())) if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true) // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] !== 'function') hide(IteratorPrototype, ITERATOR, returnThis) } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true $default = function values () { return $native.call(this) } } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default) } // Plug for library Iterators[NAME] = $default Iterators[TAG] = returnThis if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries } if (FORCED) { for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]) } } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods) } return methods } /***/ }, /***/ '32e9': /***/ function (module, exports, __webpack_require__) { var dP = __webpack_require__('86cc') var createDesc = __webpack_require__('4630') module.exports = __webpack_require__('9e1e') ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)) } : function (object, key, value) { object[key] = value return object } /***/ }, /***/ '32fc': /***/ function (module, exports, __webpack_require__) { var document = __webpack_require__('e53d').document module.exports = document && document.documentElement /***/ }, /***/ '335c': /***/ function (module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__('6b4c') // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it) } /***/ }, /***/ '355d': /***/ function (module, exports) { exports.f = {}.propertyIsEnumerable /***/ }, /***/ '35e8': /***/ function (module, exports, __webpack_require__) { var dP = __webpack_require__('d9f6') var createDesc = __webpack_require__('aebd') module.exports = __webpack_require__('8e60') ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)) } : function (object, key, value) { object[key] = value return object } /***/ }, /***/ '36c3': /***/ function (module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__('335c') var defined = __webpack_require__('25eb') module.exports = function (it) { return IObject(defined(it)) } /***/ }, /***/ '3702': /***/ function (module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__('481b') var ITERATOR = __webpack_require__('5168')('iterator') var ArrayProto = Array.prototype module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it) } /***/ }, /***/ '38fd': /***/ function (module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__('69a8') var toObject = __webpack_require__('4bf8') var IE_PROTO = __webpack_require__('613b')('IE_PROTO') var ObjectProto = Object.prototype module.exports = Object.getPrototypeOf || function (O) { O = toObject(O) if (has(O, IE_PROTO)) return O[IE_PROTO] if (typeof O.constructor === 'function' && O instanceof O.constructor) { return O.constructor.prototype } return O instanceof Object ? ObjectProto : null } /***/ }, /***/ '3a38': /***/ function (module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil var floor = Math.floor module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it) } /***/ }, /***/ '3c11': /***/ function (module, exports, __webpack_require__) { 'use strict' // https://github.com/tc39/proposal-promise-finally var $export = __webpack_require__('63b6') var core = __webpack_require__('584a') var global = __webpack_require__('e53d') var speciesConstructor = __webpack_require__('f201') var promiseResolve = __webpack_require__('cd78') $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { var C = speciesConstructor(this, core.Promise || global.Promise) var isFunction = typeof onFinally === 'function' return this.then( isFunction ? function (x) { return promiseResolve(C, onFinally()).then(function () { return x }) } : onFinally, isFunction ? function (e) { return promiseResolve(C, onFinally()).then(function () { throw e }) } : onFinally ) } }) /***/ }, /***/ '40c3': /***/ function (module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__('6b4c') var TAG = __webpack_require__('5168')('toStringTag') // ES3 wrong here var ARG = cof(function () { return arguments }()) == 'Arguments' // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key] } catch (e) { /* empty */ } } module.exports = function (it) { var O, T, B return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) === 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee === 'function' ? 'Arguments' : B } /***/ }, /***/ '4178': /***/ function (module, exports, __webpack_require__) { var ctx = __webpack_require__('d864') var invoke = __webpack_require__('3024') var html = __webpack_require__('32fc') var cel = __webpack_require__('1ec9') var global = __webpack_require__('e53d') var process = global.process var setTask = global.setImmediate var clearTask = global.clearImmediate var MessageChannel = global.MessageChannel var Dispatch = global.Dispatch var counter = 0 var queue = {} var ONREADYSTATECHANGE = 'onreadystatechange' var defer, channel, port var run = function () { var id = +this // eslint-disable-next-line no-prototype-builtins if (queue.hasOwnProperty(id)) { var fn = queue[id] delete queue[id] fn() } } var listener = function (event) { run.call(event.data) } // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!setTask || !clearTask) { setTask = function setImmediate (fn) { var args = [] var i = 1 while (arguments.length > i) args.push(arguments[i++]) queue[++counter] = function () { // eslint-disable-next-line no-new-func invoke(typeof fn === 'function' ? fn : Function(fn), args) } defer(counter) return counter } clearTask = function clearImmediate (id) { delete queue[id] } // Node.js 0.8- if (__webpack_require__('6b4c')(process) == 'process') { defer = function (id) { process.nextTick(ctx(run, id, 1)) } // Sphere (JS game engine) Dispatch API } else if (Dispatch && Dispatch.now) { defer = function (id) { Dispatch.now(ctx(run, id, 1)) } // Browsers with MessageChannel, includes WebWorkers } else if (MessageChannel) { channel = new MessageChannel() port = channel.port2 channel.port1.onmessage = listener defer = ctx(port.postMessage, port, 1) // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if (global.addEventListener && typeof postMessage === 'function' && !global.importScripts) { defer = function (id) { global.postMessage(id + '', '*') } global.addEventListener('message', listener, false) // IE8- } else if (ONREADYSTATECHANGE in cel('script')) { defer = function (id) { html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { html.removeChild(this) run.call(id) } } // Rest old browsers } else { defer = function (id) { setTimeout(ctx(run, id, 1), 0) } } } module.exports = { set: setTask, clear: clearTask } /***/ }, /***/ '41a0': /***/ function (module, exports, __webpack_require__) { 'use strict' var create = __webpack_require__('2aeb') var descriptor = __webpack_require__('4630') var setToStringTag = __webpack_require__('7f20') var IteratorPrototype = {} // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__('32e9')(IteratorPrototype, __webpack_require__('2b4c')('iterator'), function () { return this }) module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }) setToStringTag(Constructor, NAME + ' Iterator') } /***/ }, /***/ '43fc': /***/ function (module, exports, __webpack_require__) { 'use strict' // https://github.com/tc39/proposal-promise-try var $export = __webpack_require__('63b6') var newPromiseCapability = __webpack_require__('656e') var perform = __webpack_require__('4439') $export($export.S, 'Promise', { 'try': function (callbackfn) { var promiseCapability = newPromiseCapability.f(this) var result = perform(callbackfn); (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v) return promiseCapability.promise } }) /***/ }, /***/ '4439': /***/ function (module, exports) { module.exports = function (exec) { try { return { e: false, v: exec() } } catch (e) { return { e: true, v: e } } } /***/ }, /***/ '4588': /***/ function (module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil var floor = Math.floor module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it) } /***/ }, /***/ '45f2': /***/ function (module, exports, __webpack_require__) { var def = __webpack_require__('d9f6').f var has = __webpack_require__('07e3') var TAG = __webpack_require__('5168')('toStringTag') module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }) } /***/ }, /***/ '4630': /***/ function (module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value } } /***/ }, /***/ '469f': /***/ function (module, exports, __webpack_require__) { __webpack_require__('6c1c') __webpack_require__('1654') module.exports = __webpack_require__('7d7b') /***/ }, /***/ '481b': /***/ function (module, exports) { module.exports = {} /***/ }, /***/ '4917': /***/ function (module, exports, __webpack_require__) { 'use strict' var anObject = __webpack_require__('cb7c') var toLength = __webpack_require__('9def') var advanceStringIndex = __webpack_require__('0390') var regExpExec = __webpack_require__('5f1b') // @@match logic __webpack_require__('214f')('match', 1, function (defined, MATCH, $match, maybeCallNative) { return [ // `String.prototype.match` method // https://tc39.github.io/ecma262/#sec-string.prototype.match function match (regexp) { var O = defined(this) var fn = regexp == undefined ? undefined : regexp[MATCH] return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)) }, // `RegExp.prototype[@@match]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match function (regexp) { var res = maybeCallNative($match, regexp, this) if (res.done) return res.value var rx = anObject(regexp) var S = String(this) if (!rx.global) return regExpExec(rx, S) var fullUnicode = rx.unicode rx.lastIndex = 0 var A = [] var n = 0 var result while ((result = regExpExec(rx, S)) !== null) { var matchStr = String(result[0]) A[n] = matchStr if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode) n++ } return n === 0 ? null : A } ] }) /***/ }, /***/ '4aa6': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('dc62') /***/ }, /***/ '4bf8': /***/ function (module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__('be13') module.exports = function (it) { return Object(defined(it)) } /***/ }, /***/ '4c95': /***/ function (module, exports, __webpack_require__) { 'use strict' var global = __webpack_require__('e53d') var core = __webpack_require__('584a') var dP = __webpack_require__('d9f6') var DESCRIPTORS = __webpack_require__('8e60') var SPECIES = __webpack_require__('5168')('species') module.exports = function (KEY) { var C = typeof core[KEY] === 'function' ? core[KEY] : global[KEY] if (DESCRIPTORS && C && !C[SPECIES]) { dP.f(C, SPECIES, { configurable: true, get: function () { return this } }) } } /***/ }, /***/ '4ee1': /***/ function (module, exports, __webpack_require__) { var ITERATOR = __webpack_require__('5168')('iterator') var SAFE_CLOSING = false try { var riter = [7][ITERATOR]() riter['return'] = function () { SAFE_CLOSING = true } // eslint-disable-next-line no-throw-literal Array.from(riter, function () { throw 2 }) } catch (e) { /* empty */ } module.exports = function (exec, skipClosing) { if (!skipClosing && !SAFE_CLOSING) return false var safe = false try { var arr = [7] var iter = arr[ITERATOR]() iter.next = function () { return { done: safe = true } } arr[ITERATOR] = function () { return iter } exec(arr) } catch (e) { /* empty */ } return safe } /***/ }, /***/ '50ed': /***/ function (module, exports) { module.exports = function (done, value) { return { value: value, done: !!done } } /***/ }, /***/ '5168': /***/ function (module, exports, __webpack_require__) { var store = __webpack_require__('dbdb')('wks') var uid = __webpack_require__('62a0') var Symbol = __webpack_require__('e53d').Symbol var USE_SYMBOL = typeof Symbol === 'function' var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)) } $exports.store = store /***/ }, /***/ '5176': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('51b6') /***/ }, /***/ '51b6': /***/ function (module, exports, __webpack_require__) { __webpack_require__('a3c3') module.exports = __webpack_require__('584a').Object.assign /***/ }, /***/ '520a': /***/ function (module, exports, __webpack_require__) { 'use strict' var regexpFlags = __webpack_require__('0bfb') var nativeExec = RegExp.prototype.exec // This always refers to the native implementation, because the // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, // which loads this file before patching the method. var nativeReplace = String.prototype.replace var patchedExec = nativeExec var LAST_INDEX = 'lastIndex' var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/ var re2 = /b*/g nativeExec.call(re1, 'a') nativeExec.call(re2, 'a') return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0 })() // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED if (PATCH) { patchedExec = function exec (str) { var re = this var lastIndex, reCopy, match, i if (NPCG_INCLUDED) { reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)) } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX] match = nativeExec.call(re, str) if (UPDATES_LAST_INDEX_WRONG && match) { re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ // eslint-disable-next-line no-loop-func nativeReplace.call(match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined } }) } return match } } module.exports = patchedExec /***/ }, /***/ '53e2': /***/ function (module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__('07e3') var toObject = __webpack_require__('241e') var IE_PROTO = __webpack_require__('5559')('IE_PROTO') var ObjectProto = Object.prototype module.exports = Object.getPrototypeOf || function (O) { O = toObject(O) if (has(O, IE_PROTO)) return O[IE_PROTO] if (typeof O.constructor === 'function' && O instanceof O.constructor) { return O.constructor.prototype } return O instanceof Object ? ObjectProto : null } /***/ }, /***/ '5537': /***/ function (module, exports, __webpack_require__) { var core = __webpack_require__('8378') var global = __webpack_require__('7726') var SHARED = '__core-js_shared__' var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}) })('versions', []).push({ version: core.version, mode: __webpack_require__('2d00') ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }) /***/ }, /***/ '5559': /***/ function (module, exports, __webpack_require__) { var shared = __webpack_require__('dbdb')('keys') var uid = __webpack_require__('62a0') module.exports = function (key) { return shared[key] || (shared[key] = uid(key)) } /***/ }, /***/ '584a': /***/ function (module, exports) { var core = module.exports = { version: '2.6.5' } if (typeof __e === 'number') __e = core // eslint-disable-line no-undef /***/ }, /***/ '5b4e': /***/ function (module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__('36c3') var toLength = __webpack_require__('b447') var toAbsoluteIndex = __webpack_require__('0fc9') module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this) var length = toLength(O.length) var index = toAbsoluteIndex(fromIndex, length) var value // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) { while (length > index) { value = O[index++] // eslint-disable-next-line no-self-compare if (value != value) return true // Array#indexOf ignores holes, Array#includes - not } } else { for (;length > index; index++) { if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0 } } } return !IS_INCLUDES && -1 } } /***/ }, /***/ '5c95': /***/ function (module, exports, __webpack_require__) { var hide = __webpack_require__('35e8') module.exports = function (target, src, safe) { for (var key in src) { if (safe && target[key]) target[key] = src[key] else hide(target, key, src[key]) } return target } /***/ }, /***/ '5ca1': /***/ function (module, exports, __webpack_require__) { var global = __webpack_require__('7726') var core = __webpack_require__('8378') var hide = __webpack_require__('32e9') var redefine = __webpack_require__('2aba') var ctx = __webpack_require__('9b43') var PROTOTYPE = 'prototype' var $export = function (type, name, source) { var IS_FORCED = type & $export.F var IS_GLOBAL = type & $export.G var IS_STATIC = type & $export.S var IS_PROTO = type & $export.P var IS_BIND = type & $export.B var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE] var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}) var key, own, out, exp if (IS_GLOBAL) source = name for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined // export native or passed out = (own ? target : source)[key] // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out === 'function' ? ctx(Function.call, out) : out // extend global if (target) redefine(target, key, out, type & $export.U) // export if (exports[key] != out) hide(exports, key, exp) if (IS_PROTO && expProto[key] != out) expProto[key] = out } } global.core = core // type bitmap $export.F = 1 // forced $export.G = 2 // global $export.S = 4 // static $export.P = 8 // proto $export.B = 16 // bind $export.W = 32 // wrap $export.U = 64 // safe $export.R = 128 // real proto method for `library` module.exports = $export /***/ }, /***/ '5d73': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('469f') /***/ }, /***/ '5f1b': /***/ function (module, exports, __webpack_require__) { 'use strict' var classof = __webpack_require__('23c6') var builtinExec = RegExp.prototype.exec // `RegExpExec` abstract operation // https://tc39.github.io/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec if (typeof exec === 'function') { var result = exec.call(R, S) if (typeof result !== 'object') { throw new TypeError('RegExp exec method returned something other than an Object or null') } return result } if (classof(R) !== 'RegExp') { throw new TypeError('RegExp#exec called on incompatible receiver') } return builtinExec.call(R, S) } /***/ }, /***/ '613b': /***/ function (module, exports, __webpack_require__) { var shared = __webpack_require__('5537')('keys') var uid = __webpack_require__('ca5aa') module.exports = function (key) { return shared[key] || (shared[key] = uid(key)) } /***/ }, /***/ '626a': /***/ function (module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__('2d95') // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it) } /***/ }, /***/ '62a0': /***/ function (module, exports) { var id = 0 var px = Math.random() module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)) } /***/ }, /***/ '63b6': /***/ function (module, exports, __webpack_require__) { var global = __webpack_require__('e53d') var core = __webpack_require__('584a') var ctx = __webpack_require__('d864') var hide = __webpack_require__('35e8') var has = __webpack_require__('07e3') var PROTOTYPE = 'prototype' var $export = function (type, name, source) { var IS_FORCED = type & $export.F var IS_GLOBAL = type & $export.G var IS_STATIC = type & $export.S var IS_PROTO = type & $export.P var IS_BIND = type & $export.B var IS_WRAP = type & $export.W var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) var expProto = exports[PROTOTYPE] var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] var key, own, out if (IS_GLOBAL) source = name for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined if (own && has(exports, key)) continue // export native or passed out = own ? target[key] : source[key] // prevent global pollution for namespaces exports[key] = IS_GLOBAL && typeof target[key] !== 'function' ? source[key] // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function (C) { var F = function (a, b, c) { if (this instanceof C) { switch (arguments.length) { case 0: return new C() case 1: return new C(a) case 2: return new C(a, b) } return new C(a, b, c) } return C.apply(this, arguments) } F[PROTOTYPE] = C[PROTOTYPE] return F // make static versions for prototype methods })(out) : IS_PROTO && typeof out === 'function' ? ctx(Function.call, out) : out // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% if (IS_PROTO) { (exports.virtual || (exports.virtual = {}))[key] = out // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out) } } } // type bitmap $export.F = 1 // forced $export.G = 2 // global $export.S = 4 // static $export.P = 8 // proto $export.B = 16 // bind $export.W = 32 // wrap $export.U = 64 // safe $export.R = 128 // real proto method for `library` module.exports = $export /***/ }, /***/ '656e': /***/ function (module, exports, __webpack_require__) { 'use strict' // 25.4.1.5 NewPromiseCapability(C) var aFunction = __webpack_require__('79aa') function PromiseCapability (C) { var resolve, reject this.promise = new C(function ($$resolve, $$reject) { if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor') resolve = $$resolve reject = $$reject }) this.resolve = aFunction(resolve) this.reject = aFunction(reject) } module.exports.f = function (C) { return new PromiseCapability(C) } /***/ }, /***/ '6821': /***/ function (module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__('626a') var defined = __webpack_require__('be13') module.exports = function (it) { return IObject(defined(it)) } /***/ }, /***/ '696e': /***/ function (module, exports, __webpack_require__) { __webpack_require__('c207') __webpack_require__('1654') __webpack_require__('6c1c') __webpack_require__('24c5') __webpack_require__('3c11') __webpack_require__('43fc') module.exports = __webpack_require__('584a').Promise /***/ }, /***/ '69a8': /***/ function (module, exports) { var hasOwnProperty = {}.hasOwnProperty module.exports = function (it, key) { return hasOwnProperty.call(it, key) } /***/ }, /***/ '6a99': /***/ function (module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__('d3f4') // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it var fn, val if (S && typeof (fn = it.toString) === 'function' && !isObject(val = fn.call(it))) return val if (typeof (fn = it.valueOf) === 'function' && !isObject(val = fn.call(it))) return val if (!S && typeof (fn = it.toString) === 'function' && !isObject(val = fn.call(it))) return val throw TypeError("Can't convert object to primitive value") } /***/ }, /***/ '6b4c': /***/ function (module, exports) { var toString = {}.toString module.exports = function (it) { return toString.call(it).slice(8, -1) } /***/ }, /***/ '6c1c': /***/ function (module, exports, __webpack_require__) { __webpack_require__('c367') var global = __webpack_require__('e53d') var hide = __webpack_require__('35e8') var Iterators = __webpack_require__('481b') var TO_STRING_TAG = __webpack_require__('5168')('toStringTag') var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + 'TextTrackList,TouchList').split(',') for (var i = 0; i < DOMIterables.length; i++) { var NAME = DOMIterables[i] var Collection = global[NAME] var proto = Collection && Collection.prototype if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME) Iterators[NAME] = Iterators.Array } /***/ }, /***/ '71c1': /***/ function (module, exports, __webpack_require__) { var toInteger = __webpack_require__('3a38') var defined = __webpack_require__('25eb') // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)) var i = toInteger(pos) var l = s.length var a, b if (i < 0 || i >= l) return TO_STRING ? '' : undefined a = s.charCodeAt(i) return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000 } } /***/ }, /***/ '7514': /***/ function (module, exports, __webpack_require__) { 'use strict' // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__('5ca1') var $find = __webpack_require__('0a49')(5) var KEY = 'find' var forced = true // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false }) $export($export.P + $export.F * forced, 'Array', { find: function find (callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined) } }) __webpack_require__('9c6c')(KEY) /***/ }, /***/ '7726': /***/ function (module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window !== 'undefined' && window.Math == Math ? window : typeof self !== 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')() if (typeof __g === 'number') __g = global // eslint-disable-line no-undef /***/ }, /***/ '77f1': /***/ function (module, exports, __webpack_require__) { var toInteger = __webpack_require__('4588') var max = Math.max var min = Math.min module.exports = function (index, length) { index = toInteger(index) return index < 0 ? max(index + length, 0) : min(index, length) } /***/ }, /***/ '794b': /***/ function (module, exports, __webpack_require__) { module.exports = !__webpack_require__('8e60') && !__webpack_require__('294c')(function () { return Object.defineProperty(__webpack_require__('1ec9')('div'), 'a', { get: function () { return 7 } }).a != 7 }) /***/ }, /***/ '795b': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('696e') /***/ }, /***/ '79aa': /***/ function (module, exports) { module.exports = function (it) { if (typeof it !== 'function') throw TypeError(it + ' is not a function!') return it } /***/ }, /***/ '79e5': /***/ function (module, exports) { module.exports = function (exec) { try { return !!exec() } catch (e) { return true } } /***/ }, /***/ '7cd6': /***/ function (module, exports, __webpack_require__) { var classof = __webpack_require__('40c3') var ITERATOR = __webpack_require__('5168')('iterator') var Iterators = __webpack_require__('481b') module.exports = __webpack_require__('584a').getIteratorMethod = function (it) { if (it != undefined) { return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)] } } /***/ }, /***/ '7d7b': /***/ function (module, exports, __webpack_require__) { var anObject = __webpack_require__('e4ae') var get = __webpack_require__('7cd6') module.exports = __webpack_require__('584a').getIterator = function (it) { var iterFn = get(it) if (typeof iterFn !== 'function') throw TypeError(it + ' is not iterable!') return anObject(iterFn.call(it)) } /***/ }, /***/ '7e90': /***/ function (module, exports, __webpack_require__) { var dP = __webpack_require__('d9f6') var anObject = __webpack_require__('e4ae') var getKeys = __webpack_require__('c3a1') module.exports = __webpack_require__('8e60') ? Object.defineProperties : function defineProperties (O, Properties) { anObject(O) var keys = getKeys(Properties) var length = keys.length var i = 0 var P while (length > i) dP.f(O, P = keys[i++], Properties[P]) return O } /***/ }, /***/ '7f20': /***/ function (module, exports, __webpack_require__) { var def = __webpack_require__('86cc').f var has = __webpack_require__('69a8') var TAG = __webpack_require__('2b4c')('toStringTag') module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }) } /***/ }, /***/ '7f7f': /***/ function (module, exports, __webpack_require__) { var dP = __webpack_require__('86cc').f var FProto = Function.prototype var nameRE = /^\s*function ([^ (]*)/ var NAME = 'name' // 19.2.4.2 name NAME in FProto || __webpack_require__('9e1e') && dP(FProto, NAME, { configurable: true, get: function () { try { return ('' + this).match(nameRE)[1] } catch (e) { return '' } } }) /***/ }, /***/ '8378': /***/ function (module, exports) { var core = module.exports = { version: '2.6.5' } if (typeof __e === 'number') __e = core // eslint-disable-line no-undef /***/ }, /***/ '8436': /***/ function (module, exports) { module.exports = function () { /* empty */ } /***/ }, /***/ '84f2': /***/ function (module, exports) { module.exports = {} /***/ }, /***/ '86cc': /***/ function (module, exports, __webpack_require__) { var anObject = __webpack_require__('cb7c') var IE8_DOM_DEFINE = __webpack_require__('c69a') var toPrimitive = __webpack_require__('6a99') var dP = Object.defineProperty exports.f = __webpack_require__('9e1e') ? Object.defineProperty : function defineProperty (O, P, Attributes) { anObject(O) P = toPrimitive(P, true) anObject(Attributes) if (IE8_DOM_DEFINE) { try { return dP(O, P, Attributes) } catch (e) { /* empty */ } } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!') if ('value' in Attributes) O[P] = Attributes.value return O } /***/ }, /***/ '8bbf': /***/ function (module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__ /***/ }, /***/ '8e60': /***/ function (module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__('294c')(function () { return Object.defineProperty({}, 'a', { get: function () { return 7 } }).a != 7 }) /***/ }, /***/ '8f60': /***/ function (module, exports, __webpack_require__) { 'use strict' var create = __webpack_require__('a159') var descriptor = __webpack_require__('aebd') var setToStringTag = __webpack_require__('45f2') var IteratorPrototype = {} // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__('35e8')(IteratorPrototype, __webpack_require__('5168')('iterator'), function () { return this }) module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }) setToStringTag(Constructor, NAME + ' Iterator') } /***/ }, /***/ '9003': /***/ function (module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__('6b4c') module.exports = Array.isArray || function isArray (arg) { return cof(arg) == 'Array' } /***/ }, /***/ '9138': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('35e8') /***/ }, /***/ '9306': /***/ function (module, exports, __webpack_require__) { 'use strict' // 19.1.2.1 Object.assign(target, source, ...) var getKeys = __webpack_require__('c3a1') var gOPS = __webpack_require__('9aa9') var pIE = __webpack_require__('355d') var toObject = __webpack_require__('241e') var IObject = __webpack_require__('335c') var $assign = Object.assign // should work with symbols and should have deterministic property order (V8 bug) module.exports = !$assign || __webpack_require__('294c')(function () { var A = {} var B = {} // eslint-disable-next-line no-undef var S = Symbol() var K = 'abcdefghijklmnopqrst' A[S] = 7 K.split('').forEach(function (k) { B[k] = k }) return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K }) ? function assign (target, source) { // eslint-disable-line no-unused-vars var T = toObject(target) var aLen = arguments.length var index = 1 var getSymbols = gOPS.f var isEnum = pIE.f while (aLen > index) { var S = IObject(arguments[index++]) var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S) var length = keys.length var j = 0 var key while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key] } return T } : $assign /***/ }, /***/ '9427': /***/ function (module, exports, __webpack_require__) { var $export = __webpack_require__('63b6') // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: __webpack_require__('a159') }) /***/ }, /***/ '96cf': /***/ function (module, exports) { /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ !(function (global) { 'use strict' var Op = Object.prototype var hasOwn = Op.hasOwnProperty var undefined // More compressible than void 0. var $Symbol = typeof Symbol === 'function' ? Symbol : {} var iteratorSymbol = $Symbol.iterator || '@@iterator' var asyncIteratorSymbol = $Symbol.asyncIterator || '@@asyncIterator' var toStringTagSymbol = $Symbol.toStringTag || '@@toStringTag' var inModule = typeof module === 'object' var runtime = global.regeneratorRuntime if (runtime) { if (inModule) { // If regeneratorRuntime is defined globally and we're in a module, // make the exports object identical to regeneratorRuntime. module.exports = runtime } // Don't bother evaluating the rest of this file if the runtime was // already defined globally. return } // Define the runtime globally (as expected by generated code) as either // module.exports (if we're in a module) or a new, empty object. runtime = global.regeneratorRuntime = inModule ? module.exports : {} function wrap (innerFn, outerFn, self, tryLocsList) { // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator var generator = Object.create(protoGenerator.prototype) var context = new Context(tryLocsList || []) // The ._invoke method unifies the implementations of the .next, // .throw, and .return methods. generator._invoke = makeInvokeMethod(innerFn, self, context) return generator } runtime.wrap = wrap // Try/catch helper to minimize deoptimizations. Returns a completion // record like context.tryEntries[i].completion. This interface could // have been (and was previously) designed to take a closure to be // invoked without arguments, but in all the cases we care about we // already have an existing method we want to call, so there's no need // to create a new function object. We can even get away with assuming // the method takes exactly one argument, since that happens to be true // in every case, so we don't have to touch the arguments object. The // only additional allocation required is the completion record, which // has a stable shape and so hopefully should be cheap to allocate. function tryCatch (fn, obj, arg) { try { return { type: 'normal', arg: fn.call(obj, arg) } } catch (err) { return { type: 'throw', arg: err } } } var GenStateSuspendedStart = 'suspendedStart' var GenStateSuspendedYield = 'suspendedYield' var GenStateExecuting = 'executing' var GenStateCompleted = 'completed' // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. var ContinueSentinel = {} // Dummy constructor functions that we use as the .constructor and // .constructor.prototype properties for functions that return Generator // objects. For full spec compliance, you may wish to configure your // minifier not to mangle the names of these two functions. function Generator () {} function GeneratorFunction () {} function GeneratorFunctionPrototype () {} // This is a polyfill for %IteratorPrototype% for environments that // don't natively support it. var IteratorPrototype = {} IteratorPrototype[iteratorSymbol] = function () { return this } var getProto = Object.getPrototypeOf var NativeIteratorPrototype = getProto && getProto(getProto(values([]))) if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { // This environment has a native %IteratorPrototype%; use it instead // of the polyfill. IteratorPrototype = NativeIteratorPrototype } var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype) GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype GeneratorFunctionPrototype.constructor = GeneratorFunction GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = 'GeneratorFunction' // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods (prototype) { ['next', 'throw', 'return'].forEach(function (method) { prototype[method] = function (arg) { return this._invoke(method, arg) } }) } runtime.isGeneratorFunction = function (genFun) { var ctor = typeof genFun === 'function' && genFun.constructor return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. (ctor.displayName || ctor.name) === 'GeneratorFunction' : false } runtime.mark = function (genFun) { if (Object.setPrototypeOf) { Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) } else { genFun.__proto__ = GeneratorFunctionPrototype if (!(toStringTagSymbol in genFun)) { genFun[toStringTagSymbol] = 'GeneratorFunction' } } genFun.prototype = Object.create(Gp) return genFun } // Within the body of any async function, `await x` is transformed to // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test // `hasOwn.call(value, "__await")` to determine if the yielded value is // meant to be awaited. runtime.awrap = function (arg) { return { __await: arg } } function AsyncIterator (generator) { function invoke (method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg) if (record.type === 'throw') { reject(record.arg) } else { var result = record.arg var value = result.value if (value && typeof value === 'object' && hasOwn.call(value, '__await')) { return Promise.resolve(value.__await).then(function (value) { invoke('next', value, resolve, reject) }, function (err) { invoke('throw', err, resolve, reject) }) } return Promise.resolve(value).then(function (unwrapped) { // When a yielded Promise is resolved, its final value becomes // the .value of the Promise<{value,done}> result for the // current iteration. result.value = unwrapped resolve(result) }, function (error) { // If a rejected Promise was yielded, throw the rejection back // into the async generator function so it can be handled there. return invoke('throw', error, resolve, reject) }) } } var previousPromise function enqueue (method, arg) { function callInvokeWithMethodAndArg () { return new Promise(function (resolve, reject) { invoke(method, arg, resolve, reject) }) } return previousPromise = // If enqueue has been called before, then we want to wait until // all previous Promises have been resolved before calling invoke, // so that results are always delivered in the correct order. If // enqueue has not been called before, then it is important to // call invoke immediately, without waiting on a callback to fire, // so that the async generator function has the opportunity to do // any necessary setup in a predictable way. This predictability // is why the Promise constructor synchronously invokes its // executor callback, and why async functions synchronously // execute code before the first await. Since we implement simple // async functions in terms of async generators, it is especially // important to get this right, even though it requires care. previousPromise ? previousPromise.then( callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later // invocations of the iterator. callInvokeWithMethodAndArg ) : callInvokeWithMethodAndArg() } // Define the unified helper method that is used to implement .next, // .throw, and .return (see defineIteratorMethods). this._invoke = enqueue } defineIteratorMethods(AsyncIterator.prototype) AsyncIterator.prototype[asyncIteratorSymbol] = function () { return this } runtime.AsyncIterator = AsyncIterator // Note that simple async functions are implemented on top of // AsyncIterator objects; they just return a Promise for the value of // the final result produced by the iterator. runtime.async = function (innerFn, outerFn, self, tryLocsList) { var iter = new AsyncIterator( wrap(innerFn, outerFn, self, tryLocsList) ) return runtime.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. : iter.next().then(function (result) { return result.done ? result.value : iter.next() }) } function makeInvokeMethod (innerFn, self, context) { var state = GenStateSuspendedStart return function invoke (method, arg) { if (state === GenStateExecuting) { throw new Error('Generator is already running') } if (state === GenStateCompleted) { if (method === 'throw') { throw arg } // Be forgiving, per 25.3.3.3.3 of the spec: // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume return doneResult() } context.method = method context.arg = arg while (true) { var delegate = context.delegate if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context) if (delegateResult) { if (delegateResult === ContinueSentinel) continue return delegateResult } } if (context.method === 'next') { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg } else if (context.method === 'throw') { if (state === GenStateSuspendedStart) { state = GenStateCompleted throw context.arg } context.dispatchException(context.arg) } else if (context.method === 'return') { context.abrupt('return', context.arg) } state = GenStateExecuting var record = tryCatch(innerFn, self, context) if (record.type === 'normal') { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done ? GenStateCompleted : GenStateSuspendedYield if (record.arg === ContinueSentinel) { continue } return { value: record.arg, done: context.done } } else if (record.type === 'throw') { state = GenStateCompleted // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. context.method = 'throw' context.arg = record.arg } } } } // Call delegate.iterator[context.method](context.arg) and handle the // result, either by returning a { value, done } result from the // delegate iterator, or by modifying context.method and context.arg, // setting context.delegate to null, and returning the ContinueSentinel. function maybeInvokeDelegate (delegate, context) { var method = delegate.iterator[context.method] if (method === undefined) { // A .throw or .return when the delegate iterator has no .throw // method always terminates the yield* loop. context.delegate = null if (context.method === 'throw') { if (delegate.iterator.return) { // If the delegate iterator has a return method, give it a // chance to clean up. context.method = 'return' context.arg = undefined maybeInvokeDelegate(delegate, context) if (context.method === 'throw') { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel } } context.method = 'throw' context.arg = new TypeError( "The iterator does not provide a 'throw' method") } return ContinueSentinel } var record = tryCatch(method, delegate.iterator, context.arg) if (record.type === 'throw') { context.method = 'throw' context.arg = record.arg context.delegate = null return ContinueSentinel } var info = record.arg if (!info) { context.method = 'throw' context.arg = new TypeError('iterator result is not an object') context.delegate = null return ContinueSentinel } if (info.done) { // Assign the result of the finished delegate to the temporary // variable specified by delegate.resultName (see delegateYield). context[delegate.resultName] = info.value // Resume execution at the desired location (see delegateYield). context.next = delegate.nextLoc // If context.method was "throw" but the delegate handled the // exception, let the outer generator proceed normally. If // context.method was "next", forget context.arg since it has been // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. if (context.method !== 'return') { context.method = 'next' context.arg = undefined } } else { // Re-yield the result returned by the delegate method. return info } // The delegate iterator is finished, so forget it and continue with // the outer generator. context.delegate = null return ContinueSentinel } // Define Generator.prototype.{next,throw,return} in terms of the // unified ._invoke helper method. defineIteratorMethods(Gp) Gp[toStringTagSymbol] = 'Generator' // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the // iterator prototype chain incorrectly implement this, causing the Generator // object to not be returned from this call. This ensures that doesn't happen. // See https://github.com/facebook/regenerator/issues/274 for more details. Gp[iteratorSymbol] = function () { return this } Gp.toString = function () { return '[object Generator]' } function pushTryEntry (locs) { var entry = { tryLoc: locs[0] } if (1 in locs) { entry.catchLoc = locs[1] } if (2 in locs) { entry.finallyLoc = locs[2] entry.afterLoc = locs[3] } this.tryEntries.push(entry) } function resetTryEntry (entry) { var record = entry.completion || {} record.type = 'normal' delete record.arg entry.completion = record } function Context (tryLocsList) { // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. this.tryEntries = [{ tryLoc: 'root' }] tryLocsList.forEach(pushTryEntry, this) this.reset(true) } runtime.keys = function (object) { var keys = [] for (var key in object) { keys.push(key) } keys.reverse() // Rather than returning an object with a next method, we keep // things simple and return the next function itself. return function next () { while (keys.length) { var key = keys.pop() if (key in object) { next.value = key next.done = false return next } } // To avoid creating an additional object, we just hang the .value // and .done properties off the next function object itself. This // also ensures that the minifier will not anonymize the function. next.done = true return next } } function values (iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol] if (iteratorMethod) { return iteratorMethod.call(iterable) } if (typeof iterable.next === 'function') { return iterable } if (!isNaN(iterable.length)) { var i = -1; var next = function next () { while (++i < iterable.length) { if (hasOwn.call(iterable, i)) { next.value = iterable[i] next.done = false return next } } next.value = undefined next.done = true return next } return next.next = next } } // Return an iterator with no values. return { next: doneResult } } runtime.values = values function doneResult () { return { value: undefined, done: true } } Context.prototype = { constructor: Context, reset: function (skipTempReset) { this.prev = 0 this.next = 0 // Resetting context._sent for legacy support of Babel's // function.sent implementation. this.sent = this._sent = undefined this.done = false this.delegate = null this.method = 'next' this.arg = undefined this.tryEntries.forEach(resetTryEntry) if (!skipTempReset) { for (var name in this) { // Not sure about the optimal order of these conditions: if (name.charAt(0) === 't' && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { this[name] = undefined } } } }, stop: function () { this.done = true var rootEntry = this.tryEntries[0] var rootRecord = rootEntry.completion if (rootRecord.type === 'throw') { throw rootRecord.arg } return this.rval }, dispatchException: function (exception) { if (this.done) { throw exception } var context = this function handle (loc, caught) { record.type = 'throw' record.arg = exception context.next = loc if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. context.method = 'next' context.arg = undefined } return !!caught } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i] var record = entry.completion if (entry.tryLoc === 'root') { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. return handle('end') } if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, 'catchLoc') var hasFinally = hasOwn.call(entry, 'finallyLoc') if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true) } else if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc) } } else if (hasCatch) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true) } } else if (hasFinally) { if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc) } } else { throw new Error('try statement without catch or finally') } } } }, abrupt: function (type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i] if (entry.tryLoc <= this.prev && hasOwn.call(entry, 'finallyLoc') && this.prev < entry.finallyLoc) { var finallyEntry = entry break } } if (finallyEntry && (type === 'break' || type === 'continue') && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { // Ignore the finally entry if control is not jumping to a // location outside the try/catch block. finallyEntry = null } var record = finallyEntry ? finallyEntry.completion : {} record.type = type record.arg = arg if (finallyEntry) { this.method = 'next' this.next = finallyEntry.finallyLoc return ContinueSentinel } return this.complete(record) }, complete: function (record, afterLoc) { if (record.type === 'throw') { throw record.arg } if (record.type === 'break' || record.type === 'continue') { this.next = record.arg } else if (record.type === 'return') { this.rval = this.arg = record.arg this.method = 'return' this.next = 'end' } else if (record.type === 'normal' && afterLoc) { this.next = afterLoc } return ContinueSentinel }, finish: function (finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i] if (entry.finallyLoc === finallyLoc) { this.complete(entry.completion, entry.afterLoc) resetTryEntry(entry) return ContinueSentinel } } }, 'catch': function (tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i] if (entry.tryLoc === tryLoc) { var record = entry.completion if (record.type === 'throw') { var thrown = record.arg resetTryEntry(entry) } return thrown } } // The context.catch method must only be called with a location // argument that corresponds to a known catch block. throw new Error('illegal catch attempt') }, delegateYield: function (iterable, resultName, nextLoc) { this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc } if (this.method === 'next') { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined } return ContinueSentinel } } })( // In sloppy mode, unbound `this` refers to the global object, fallback to // Function constructor if we're in global strict mode. That is sadly a form // of indirect eval which violates Content Security Policy. (function () { return this || (typeof self === 'object' && self) })() || Function('return this')() ) /***/ }, /***/ '9aa9': /***/ function (module, exports) { exports.f = Object.getOwnPropertySymbols /***/ }, /***/ '9b43': /***/ function (module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__('d8e8') module.exports = function (fn, that, length) { aFunction(fn) if (that === undefined) return fn switch (length) { case 1: return function (a) { return fn.call(that, a) } case 2: return function (a, b) { return fn.call(that, a, b) } case 3: return function (a, b, c) { return fn.call(that, a, b, c) } } return function (/* ...args */) { return fn.apply(that, arguments) } } /***/ }, /***/ '9c6c': /***/ function (module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = __webpack_require__('2b4c')('unscopables') var ArrayProto = Array.prototype if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__('32e9')(ArrayProto, UNSCOPABLES, {}) module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true } /***/ }, /***/ '9def': /***/ function (module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__('4588') var min = Math.min module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0 // pow(2, 53) - 1 == 9007199254740991 } /***/ }, /***/ '9e1e': /***/ function (module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__('79e5')(function () { return Object.defineProperty({}, 'a', { get: function () { return 7 } }).a != 7 }) /***/ }, /***/ 'a159': /***/ function (module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__('e4ae') var dPs = __webpack_require__('7e90') var enumBugKeys = __webpack_require__('1691') var IE_PROTO = __webpack_require__('5559')('IE_PROTO') var Empty = function () { /* empty */ } var PROTOTYPE = 'prototype' // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__('1ec9')('iframe') var i = enumBugKeys.length var lt = '<' var gt = '>' var iframeDocument iframe.style.display = 'none' __webpack_require__('32fc').appendChild(iframe) iframe.src = 'javascript:' // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document iframeDocument.open() iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt) iframeDocument.close() createDict = iframeDocument.F while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]] return createDict() } module.exports = Object.create || function create (O, Properties) { var result if (O !== null) { Empty[PROTOTYPE] = anObject(O) result = new Empty() Empty[PROTOTYPE] = null // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O } else result = createDict() return Properties === undefined ? result : dPs(result, Properties) } /***/ }, /***/ 'a22a': /***/ function (module, exports, __webpack_require__) { var ctx = __webpack_require__('d864') var call = __webpack_require__('b0dc') var isArrayIter = __webpack_require__('3702') var anObject = __webpack_require__('e4ae') var toLength = __webpack_require__('b447') var getIterFn = __webpack_require__('7cd6') var BREAK = {} var RETURN = {} var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { var iterFn = ITERATOR ? function () { return iterable } : getIterFn(iterable) var f = ctx(fn, that, entries ? 2 : 1) var index = 0 var length, step, iterator, result if (typeof iterFn !== 'function') throw TypeError(iterable + ' is not iterable!') // fast case for arrays with default iterator if (isArrayIter(iterFn)) { for (length = toLength(iterable.length); length > index; index++) { result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]) if (result === BREAK || result === RETURN) return result } } else { for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { result = call(iterator, f, step.value, entries) if (result === BREAK || result === RETURN) return result } } } exports.BREAK = BREAK exports.RETURN = RETURN /***/ }, /***/ 'a3c3': /***/ function (module, exports, __webpack_require__) { // 19.1.3.1 Object.assign(target, source) var $export = __webpack_require__('63b6') $export($export.S + $export.F, 'Object', { assign: __webpack_require__('9306') }) /***/ }, /***/ 'a481': /***/ function (module, exports, __webpack_require__) { 'use strict' var anObject = __webpack_require__('cb7c') var toObject = __webpack_require__('4bf8') var toLength = __webpack_require__('9def') var toInteger = __webpack_require__('4588') var advanceStringIndex = __webpack_require__('0390') var regExpExec = __webpack_require__('5f1b') var max = Math.max var min = Math.min var floor = Math.floor var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g var maybeToString = function (it) { return it === undefined ? it : String(it) } // @@replace logic __webpack_require__('214f')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { return [ // `String.prototype.replace` method // https://tc39.github.io/ecma262/#sec-string.prototype.replace function replace (searchValue, replaceValue) { var O = defined(this) var fn = searchValue == undefined ? undefined : searchValue[REPLACE] return fn !== undefined ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue) }, // `RegExp.prototype[@@replace]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace function (regexp, replaceValue) { var res = maybeCallNative($replace, regexp, this, replaceValue) if (res.done) return res.value var rx = anObject(regexp) var S = String(this) var functionalReplace = typeof replaceValue === 'function' if (!functionalReplace) replaceValue = String(replaceValue) var global = rx.global if (global) { var fullUnicode = rx.unicode rx.lastIndex = 0 } var results = [] while (true) { var result = regExpExec(rx, S) if (result === null) break results.push(result) if (!global) break var matchStr = String(result[0]) if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode) } var accumulatedResult = '' var nextSourcePosition = 0 for (var i = 0; i < results.length; i++) { result = results[i] var matched = String(result[0]) var position = max(min(toInteger(result.index), S.length), 0) var captures = [] // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])) var namedCaptures = result.groups if (functionalReplace) { var replacerArgs = [matched].concat(captures, position, S) if (namedCaptures !== undefined) replacerArgs.push(namedCaptures) var replacement = String(replaceValue.apply(undefined, replacerArgs)) } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue) } if (position >= nextSourcePosition) { accumulatedResult += S.slice(nextSourcePosition, position) + replacement nextSourcePosition = position + matched.length } } return accumulatedResult + S.slice(nextSourcePosition) } ] // https://tc39.github.io/ecma262/#sec-getsubstitution function getSubstitution (matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length var m = captures.length var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED if (namedCaptures !== undefined) { namedCaptures = toObject(namedCaptures) symbols = SUBSTITUTION_SYMBOLS } return $replace.call(replacement, symbols, function (match, ch) { var capture switch (ch.charAt(0)) { case '$': return '$' case '&': return matched case '`': return str.slice(0, position) case "'": return str.slice(tailPos) case '<': capture = namedCaptures[ch.slice(1, -1)] break default: // \d\d? var n = +ch if (n === 0) return match if (n > m) { var f = floor(n / 10) if (f === 0) return match if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1) return match } capture = captures[n - 1] } return capture === undefined ? '' : capture }) } }) /***/ }, /***/ 'a745': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('f410') /***/ }, /***/ 'aba2': /***/ function (module, exports, __webpack_require__) { var global = __webpack_require__('e53d') var macrotask = __webpack_require__('4178').set var Observer = global.MutationObserver || global.WebKitMutationObserver var process = global.process var Promise = global.Promise var isNode = __webpack_require__('6b4c')(process) == 'process' module.exports = function () { var head, last, notify var flush = function () { var parent, fn if (isNode && (parent = process.domain)) parent.exit() while (head) { fn = head.fn head = head.next try { fn() } catch (e) { if (head) notify() else last = undefined throw e } } last = undefined if (parent) parent.enter() } // Node.js if (isNode) { notify = function () { process.nextTick(flush) } // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 } else if (Observer && !(global.navigator && global.navigator.standalone)) { var toggle = true var node = document.createTextNode('') new Observer(flush).observe(node, { characterData: true }) // eslint-disable-line no-new notify = function () { node.data = toggle = !toggle } // environments with maybe non-completely correct, but existent Promise } else if (Promise && Promise.resolve) { // Promise.resolve without an argument throws an error in LG WebOS 2 var promise = Promise.resolve(undefined) notify = function () { promise.then(flush) } // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - window.postMessag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) macrotask.call(global, flush) } } return function (fn) { var task = { fn: fn, next: undefined } if (last) last.next = task if (!head) { head = task notify() } last = task } } /***/ }, /***/ 'ac6a': /***/ function (module, exports, __webpack_require__) { var $iterators = __webpack_require__('cadf') var getKeys = __webpack_require__('0d58') var redefine = __webpack_require__('2aba') var global = __webpack_require__('7726') var hide = __webpack_require__('32e9') var Iterators = __webpack_require__('84f2') var wks = __webpack_require__('2b4c') var ITERATOR = wks('iterator') var TO_STRING_TAG = wks('toStringTag') var ArrayValues = Iterators.Array var DOMIterables = { CSSRuleList: true, // TODO: Not spec compliant, should be false. CSSStyleDeclaration: false, CSSValueList: false, ClientRectList: false, DOMRectList: false, DOMStringList: false, DOMTokenList: true, DataTransferItemList: false, FileList: false, HTMLAllCollection: false, HTMLCollection: false, HTMLFormElement: false, HTMLSelectElement: false, MediaList: true, // TODO: Not spec compliant, should be false. MimeTypeArray: false, NamedNodeMap: false, NodeList: true, PaintRequestList: false, Plugin: false, PluginArray: false, SVGLengthList: false, SVGNumberList: false, SVGPathSegList: false, SVGPointList: false, SVGStringList: false, SVGTransformList: false, SourceBufferList: false, StyleSheetList: true, // TODO: Not spec compliant, should be false. TextTrackCueList: false, TextTrackList: false, TouchList: false } for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { var NAME = collections[i] var explicit = DOMIterables[NAME] var Collection = global[NAME] var proto = Collection && Collection.prototype var key if (proto) { if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues) if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME) Iterators[NAME] = ArrayValues if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true) } } /***/ }, /***/ 'aebd': /***/ function (module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value } } /***/ }, /***/ 'b0c5': /***/ function (module, exports, __webpack_require__) { 'use strict' var regexpExec = __webpack_require__('520a') __webpack_require__('5ca1')({ target: 'RegExp', proto: true, forced: regexpExec !== /./.exec }, { exec: regexpExec }) /***/ }, /***/ 'b0dc': /***/ function (module, exports, __webpack_require__) { // call something on iterator step with safe closing on error var anObject = __webpack_require__('e4ae') module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value) // 7.4.6 IteratorClose(iterator, completion) } catch (e) { var ret = iterator['return'] if (ret !== undefined) anObject(ret.call(iterator)) throw e } } /***/ }, /***/ 'b447': /***/ function (module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__('3a38') var min = Math.min module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0 // pow(2, 53) - 1 == 9007199254740991 } /***/ }, /***/ 'b8e3': /***/ function (module, exports) { module.exports = true /***/ }, /***/ 'bc13': /***/ function (module, exports, __webpack_require__) { var global = __webpack_require__('e53d') var navigator = global.navigator module.exports = navigator && navigator.userAgent || '' /***/ }, /***/ 'be13': /***/ function (module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it) return it } /***/ }, /***/ 'c207': /***/ function (module, exports) { /***/ }, /***/ 'c366': /***/ function (module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__('6821') var toLength = __webpack_require__('9def') var toAbsoluteIndex = __webpack_require__('77f1') module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this) var length = toLength(O.length) var index = toAbsoluteIndex(fromIndex, length) var value // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) { while (length > index) { value = O[index++] // eslint-disable-next-line no-self-compare if (value != value) return true // Array#indexOf ignores holes, Array#includes - not } } else { for (;length > index; index++) { if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0 } } } return !IS_INCLUDES && -1 } } /***/ }, /***/ 'c367': /***/ function (module, exports, __webpack_require__) { 'use strict' var addToUnscopables = __webpack_require__('8436') var step = __webpack_require__('50ed') var Iterators = __webpack_require__('481b') var toIObject = __webpack_require__('36c3') // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__('30f1')(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated) // target this._i = 0 // next index this._k = kind // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t var kind = this._k var index = this._i++ if (!O || index >= O.length) { this._t = undefined return step(1) } if (kind == 'keys') return step(0, index) if (kind == 'values') return step(0, O[index]) return step(0, [index, O[index]]) }, 'values') // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array addToUnscopables('keys') addToUnscopables('values') addToUnscopables('entries') /***/ }, /***/ 'c3a1': /***/ function (module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__('e6f3') var enumBugKeys = __webpack_require__('1691') module.exports = Object.keys || function keys (O) { return $keys(O, enumBugKeys) } /***/ }, /***/ 'c69a': /***/ function (module, exports, __webpack_require__) { module.exports = !__webpack_require__('9e1e') && !__webpack_require__('79e5')(function () { return Object.defineProperty(__webpack_require__('230e')('div'), 'a', { get: function () { return 7 } }).a != 7 }) /***/ }, /***/ 'ca5a': /***/ function (module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }, /***/ 'ca5aa': /***/ function (module, exports) { var id = 0 var px = Math.random() module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)) } /***/ }, /***/ 'cadf': /***/ function (module, exports, __webpack_require__) { 'use strict' var addToUnscopables = __webpack_require__('9c6c') var step = __webpack_require__('d53b') var Iterators = __webpack_require__('84f2') var toIObject = __webpack_require__('6821') // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__('01f9')(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated) // target this._i = 0 // next index this._k = kind // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t var kind = this._k var index = this._i++ if (!O || index >= O.length) { this._t = undefined return step(1) } if (kind == 'keys') return step(0, index) if (kind == 'values') return step(0, O[index]) return step(0, [index, O[index]]) }, 'values') // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array addToUnscopables('keys') addToUnscopables('values') addToUnscopables('entries') /***/ }, /***/ 'cb7c': /***/ function (module, exports, __webpack_require__) { var isObject = __webpack_require__('d3f4') module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!') return it } /***/ }, /***/ 'cd1c': /***/ function (module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = __webpack_require__('e853') module.exports = function (original, length) { return new (speciesConstructor(original))(length) } /***/ }, /***/ 'cd78': /***/ function (module, exports, __webpack_require__) { var anObject = __webpack_require__('e4ae') var isObject = __webpack_require__('f772') var newPromiseCapability = __webpack_require__('656e') module.exports = function (C, x) { anObject(C) if (isObject(x) && x.constructor === C) return x var promiseCapability = newPromiseCapability.f(C) var resolve = promiseCapability.resolve resolve(x) return promiseCapability.promise } /***/ }, /***/ 'ce10': /***/ function (module, exports, __webpack_require__) { var has = __webpack_require__('69a8') var toIObject = __webpack_require__('6821') var arrayIndexOf = __webpack_require__('c366')(false) var IE_PROTO = __webpack_require__('613b')('IE_PROTO') module.exports = function (object, names) { var O = toIObject(object) var i = 0 var result = [] var key for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key) // Don't enum bug & hidden keys while (names.length > i) { if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key) } } return result } /***/ }, /***/ 'd3f4': /***/ function (module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function' } /***/ }, /***/ 'd53b': /***/ function (module, exports) { module.exports = function (done, value) { return { value: value, done: !!done } } /***/ }, /***/ 'd864': /***/ function (module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__('79aa') module.exports = function (fn, that, length) { aFunction(fn) if (that === undefined) return fn switch (length) { case 1: return function (a) { return fn.call(that, a) } case 2: return function (a, b) { return fn.call(that, a, b) } case 3: return function (a, b, c) { return fn.call(that, a, b, c) } } return function (/* ...args */) { return fn.apply(that, arguments) } } /***/ }, /***/ 'd8de': /***/ function (module, __webpack_exports__, __webpack_require__) { 'use strict' /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('2d3b') /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0__) /* unused harmony reexport * */ /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_transition_scss_vue_type_style_index_1_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a) /***/ }, /***/ 'd8e8': /***/ function (module, exports) { module.exports = function (it) { if (typeof it !== 'function') throw TypeError(it + ' is not a function!') return it } /***/ }, /***/ 'd9f6': /***/ function (module, exports, __webpack_require__) { var anObject = __webpack_require__('e4ae') var IE8_DOM_DEFINE = __webpack_require__('794b') var toPrimitive = __webpack_require__('1bc3') var dP = Object.defineProperty exports.f = __webpack_require__('8e60') ? Object.defineProperty : function defineProperty (O, P, Attributes) { anObject(O) P = toPrimitive(P, true) anObject(Attributes) if (IE8_DOM_DEFINE) { try { return dP(O, P, Attributes) } catch (e) { /* empty */ } } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!') if ('value' in Attributes) O[P] = Attributes.value return O } /***/ }, /***/ 'dbdb': /***/ function (module, exports, __webpack_require__) { var core = __webpack_require__('584a') var global = __webpack_require__('e53d') var SHARED = '__core-js_shared__' var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}) })('versions', []).push({ version: core.version, mode: __webpack_require__('b8e3') ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }) /***/ }, /***/ 'dc62': /***/ function (module, exports, __webpack_require__) { __webpack_require__('9427') var $Object = __webpack_require__('584a').Object module.exports = function create (P, D) { return $Object.create(P, D) } /***/ }, /***/ 'e11e': /***/ function (module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(',') /***/ }, /***/ 'e4ae': /***/ function (module, exports, __webpack_require__) { var isObject = __webpack_require__('f772') module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!') return it } /***/ }, /***/ 'e53d': /***/ function (module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window !== 'undefined' && window.Math == Math ? window : typeof self !== 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')() if (typeof __g === 'number') __g = global // eslint-disable-line no-undef /***/ }, /***/ 'e6f3': /***/ function (module, exports, __webpack_require__) { var has = __webpack_require__('07e3') var toIObject = __webpack_require__('36c3') var arrayIndexOf = __webpack_require__('5b4e')(false) var IE_PROTO = __webpack_require__('5559')('IE_PROTO') module.exports = function (object, names) { var O = toIObject(object) var i = 0 var result = [] var key for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key) // Don't enum bug & hidden keys while (names.length > i) { if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key) } } return result } /***/ }, /***/ 'e853': /***/ function (module, exports, __webpack_require__) { var isObject = __webpack_require__('d3f4') var isArray = __webpack_require__('1169') var SPECIES = __webpack_require__('2b4c')('species') module.exports = function (original) { var C if (isArray(original)) { C = original.constructor // cross-realm fallback if (typeof C === 'function' && (C === Array || isArray(C.prototype))) C = undefined if (isObject(C)) { C = C[SPECIES] if (C === null) C = undefined } } return C === undefined ? Array : C } /***/ }, /***/ 'f143': /***/ function (module, __webpack_exports__, __webpack_require__) { 'use strict' /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__('ca5a') /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) /* unused harmony reexport * */ /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_RouterTab_scss_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a) /***/ }, /***/ 'f201': /***/ function (module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__('e4ae') var aFunction = __webpack_require__('79aa') var SPECIES = __webpack_require__('5168')('species') module.exports = function (O, D) { var C = anObject(O).constructor var S return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S) } /***/ }, /***/ 'f410': /***/ function (module, exports, __webpack_require__) { __webpack_require__('1af6') module.exports = __webpack_require__('584a').Array.isArray /***/ }, /***/ 'f772': /***/ function (module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function' } /***/ }, /***/ 'fa5b': /***/ function (module, exports, __webpack_require__) { module.exports = __webpack_require__('5537')('native-function-to-string', Function.toString) /***/ }, /***/ 'fab2': /***/ function (module, exports, __webpack_require__) { var document = __webpack_require__('7726').document module.exports = document && document.documentElement /***/ }, /***/ 'fb15': /***/ function (module, __webpack_exports__, __webpack_require__) { 'use strict' __webpack_require__.r(__webpack_exports__) // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js // This file is imported into lib/wc client bundles. if (typeof window !== 'undefined') { var setPublicPath_i if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) { __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line } } // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null) // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js var es6_function_name = __webpack_require__('7f7f') // EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js var runtime = __webpack_require__('96cf') // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/promise.js var promise = __webpack_require__('795b') var promise_default = /* #__PURE__ */__webpack_require__.n(promise) // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator.js function asyncGeneratorStep (gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg) var value = info.value } catch (error) { reject(error) return } if (info.done) { resolve(value) } else { promise_default.a.resolve(value).then(_next, _throw) } } function _asyncToGenerator (fn) { return function () { var self = this var args = arguments return new promise_default.a(function (resolve, reject) { var gen = fn.apply(self, args) function _next (value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, 'next', value) } function _throw (err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, 'throw', err) } _next(undefined) }) } } // CONCATENATED MODULE: ./src/lib/RouterTab/mixins/RouterPage.js // 路由页面混入 /* harmony default export */ var RouterPage = ({ // 创建前记录缓存 created: function created () { var $route = this.$route var $vnode = this.$vnode var $alive = $vnode && $vnode.data.routerAlive if (!$alive) return false var key = $alive.getAliveKey($route) // 更新缓存数据 var cacheItem = $alive.set(key, { route: $route, vm: this }) // 监听routerTab字段,更新页签信息 this.$watch('routerTab', function (val, old) { cacheItem.tab = typeof val === 'string' ? { title: val } : val $alive.set(key, cacheItem) }, { deep: true, immediate: true }) }, // 解决webpack热加载后组件缓存不更新 activated: (function () { var _activated = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee () { var $routerTab, $vnode, ctorId return regeneratorRuntime.wrap(function _callee$ (_context) { while (1) { switch (_context.prev = _context.next) { case 0: $routerTab = this.$routerTab, $vnode = this.$vnode if ($vnode && $vnode.data.routerAlive) { _context.next = 3 break } return _context.abrupt('return', false) case 3: ctorId = $vnode.componentOptions.Ctor.cid // 热加载后Ctor.cid改变 if (this._ctorId && this._ctorId !== ctorId) { this.$destroy() $routerTab.refresh() } this._ctorId = ctorId case 6: case 'end': return _context.stop() } } }, _callee, this) })) function activated () { return _activated.apply(this, arguments) } return activated }()) }) // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"232b01b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/lib/RouterTab/components/RouterTab.vue?vue&type=template&id=b27c84e2& var render = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('div', { staticClass: 'router-tab' }, [_c('header', { staticClass: 'router-tab-header' }, [_c('div', { staticClass: 'router-tab-scroll' }, [_c('transition-group', _vm._b({ staticClass: 'router-tab-nav', attrs: { 'tag': 'ul' }, on: { 'after-enter': _vm.onTabTransitionEnd, 'after-leave': _vm.onTabTransitionEnd } }, 'transition-group', typeof _vm.tabTransition === 'string' ? { name: _vm.tabTransition } : _vm.tabTransition, false), _vm._l((_vm.items), function (ref, index) { var id = ref.id var to = ref.to var title = ref.title var icon = ref.icon var tips = ref.tips var closable = ref.closable return _c('router-link', { key: id || to, staticClass: 'router-tab-item', class: { actived: _vm.activedTab === id, contextmenu: _vm.contextmenu.id === id }, attrs: { 'tag': 'li', 'title': tips || title || '', 'to': to }, nativeOn: { 'contextmenu': function ($event) { $event.preventDefault(); return (function (e) { return _vm.showContextmenu(id, index, e) })($event) } } }, [_vm._t('default', [(icon) ? _c('i', { staticClass: 'tab-icon', class: icon }) : _vm._e(), _c('span', { staticClass: 'tab-title' }, [_vm._v(_vm._s(title || '新页签'))]), (closable !== false && _vm.items.length > 1) ? _c('i', { staticClass: 'tab-close', on: { 'click': function ($event) { $event.preventDefault(); return _vm.close(id) } } }) : _vm._e()], null, { tab: _vm.items[index], tabs: _vm.items, index: index })], 2) }), 1)], 1), _c('a', { staticClass: 'el-icon-caret-left nav-prev', on: { 'click': function ($event) { return _vm.tabScroll('left') } } }), _c('a', { staticClass: 'el-icon-caret-right nav-next', on: { 'click': function ($event) { return _vm.tabScroll('right') } } })]), _c('div', { staticClass: 'router-tab-container', class: { loading: _vm.loading } }, [_c('router-alive', { ref: 'routerAlive', attrs: { 'alive-key': _vm.aliveKey }, on: { 'update': _vm.updateTab } }, [_c('transition', _vm._b({ attrs: { 'appear': '' }, on: { 'after-enter': _vm.onPageTransitionEnd, 'after-leave': _vm.onPageTransitionEnd } }, 'transition', typeof _vm.pageTransition === 'string' ? { name: _vm.pageTransition } : _vm.pageTransition, false), [(_vm.isRouterAlive) ? _c('router-view', _vm._b({ ref: 'routerView' }, 'router-view', _vm.routerView, false)) : _vm._e()], 1)], 1)], 1), _c('transition', { attrs: { 'name': 'router-tab-zoom-lt' } }, [(_vm.contextmenu.id) ? _c('div', { staticClass: 'router-tab-contextmenu', style: (('left: ' + (_vm.contextmenu.left) + 'px; top: ' + (_vm.contextmenu.top) + 'px;')) }, [_c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': !_vm.isContextTabActived }, on: { 'click': function ($event) { _vm.isContextTabActived && _vm.refresh(_vm.contextmenu.id) } } }, [_vm._v('刷新')]), _c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': _vm.items.length < 2 }, on: { 'click': function ($event) { _vm.items.length > 1 && _vm.refreshAll() } } }, [_vm._v('刷新所有')]), _c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': !_vm.isContextTabCanBeClosed }, on: { 'click': function ($event) { _vm.isContextTabCanBeClosed && _vm.close(_vm.contextmenu.id) } } }, [_vm._v('关闭')]), _c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': !_vm.tabsLeft.length }, on: { 'click': function ($event) { _vm.tabsLeft.length && _vm.closeMulti(_vm.tabsLeft) } } }, [_vm._v('关闭左侧')]), _c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': !_vm.tabsRight.length }, on: { 'click': function ($event) { _vm.tabsRight.length && _vm.closeMulti(_vm.tabsRight) } } }, [_vm._v('关闭右侧')]), _c('a', { staticClass: 'contextmenu-item', attrs: { 'disabled': !_vm.tabsOther.length }, on: { 'click': function ($event) { _vm.tabsOther.length && _vm.closeMulti(_vm.tabsOther) } } }, [_vm._v('关闭其他')])]) : _vm._e()])], 1) } var staticRenderFns = [] // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.vue?vue&type=template&id=b27c84e2& // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js var web_dom_iterable = __webpack_require__('ac6a') // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js var es6_array_iterator = __webpack_require__('cadf') // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/get-iterator.js var get_iterator = __webpack_require__('5d73') var get_iterator_default = /* #__PURE__ */__webpack_require__.n(get_iterator) // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js var es6_regexp_replace = __webpack_require__('a481') // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js var es6_array_find = __webpack_require__('7514') // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find-index.js var es6_array_find_index = __webpack_require__('20d6') // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/assign.js var object_assign = __webpack_require__('5176') var assign_default = /* #__PURE__ */__webpack_require__.n(object_assign) // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.match.js var es6_regexp_match = __webpack_require__('4917') // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__('8bbf') var external_commonjs_vue_commonjs2_vue_root_Vue_default = /* #__PURE__ */__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_) // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js var is_array = __webpack_require__('a745') var is_array_default = /* #__PURE__ */__webpack_require__.n(is_array) // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/create.js var create = __webpack_require__('4aa6') var create_default = /* #__PURE__ */__webpack_require__.n(create) // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterAlive.js // 空对象和数组 var emptyObj = create_default()(null) var emptyArray = [] function isDef (v) { return v !== undefined && v !== null } function getFirstComponentChild (children) { if (is_array_default()(children)) { for (var i = 0; i < children.length; i++) { var c = children[i] if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) { return c } } } } function isAsyncPlaceholder (node) { return node.isComment && node.asyncFactory } // 获取路由不带hash的路径 var getPathWithoutHash = function getPathWithoutHash (route) { return route.hash ? route.fullPath.replace(route.hash, '') : route.fullPath } // 是否相似路由 var isAlikeRoute = function isAlikeRoute (route1, route2) { return getPathWithoutHash(route1) === getPathWithoutHash(route2) } // 获取路由页面组件 var getRouteComponent = function getRouteComponent (_ref) { var matched = _ref.matched return matched[matched.length - 1].components.default } // 路由是否共用组件 function isSameComponentRoute (route1, route2) { return getRouteComponent(route1) === getRouteComponent(route2) } /* harmony default export */ var RouterAlive = ({ name: 'router-alive', props: { // 缓存key,如果为函数,则参数为route aliveKey: { type: [String, Function], default: 'path' } }, beforeCreate: function beforeCreate () { assign_default()(this, { cache: create_default()(null), lastRoute: this.$route }) }, render: function render () { var slot = this.$slots.default var vnode = getFirstComponentChild(slot) var vmOpts = vnode && vnode.componentOptions if (vmOpts) { var cache = this.cache var $route = this.$route var lastRoute = this.lastRoute // 如果是transition组件,页面组件则为子元素 var pageNode = vmOpts.tag === 'transition' ? vmOpts.children[0] : vnode if (pageNode && pageNode.componentOptions) { // 获取缓存 var key = this.getAliveKey() var cacheItem = cache[key] var _ref2 = cacheItem || emptyObj var cacheVm = _ref2.vm var cacheRoute = _ref2.route // 是否需要重载路由强制刷新页面组件 var needReloadRouter = false // 路由是否改变 var isRouteChange = lastRoute !== $route // 是否跟上次路由共用组件 var isSameComponent = isRouteChange && isSameComponentRoute($route, lastRoute) if (isRouteChange) { // 更新上次路由 this.lastRoute = $route // 添加缓存 if (!cacheItem) { this.set(key, { route: $route }) } } if (cacheVm) { // 缓存组件的路由地址除hash外一致则取缓存的组件 if (isAlikeRoute(cacheRoute, $route)) { pageNode.componentInstance = cacheVm } else { // 缓存组件路由地址不匹配则销毁缓存并重载路由 cacheVm.$destroy() cacheItem.vm = null needReloadRouter = true } } // 路由改变后但组件相同需重载路由 if (isSameComponent) needReloadRouter = true // 重载路由以强制更新页面 needReloadRouter && this.$routerTab.reloadRouter() // 标记为keepAlive和routerAlive pageNode.data.keepAlive = true pageNode.data.routerAlive = this } } return vnode || slot && slot[0] }, methods: { // 获取缓存key getAliveKey: function getAliveKey () { var route = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$route var aliveKey = route.meta && route.meta.aliveKey || this.aliveKey || 'path' if (typeof aliveKey === 'function') { return aliveKey.bind(this)(route) } return route[aliveKey] }, // 设置缓存项 set: function set (key, item) { var cache = this.cache this.$emit('update', key, item) // 更新缓存数据 return cache[key] = item }, // 删除缓存项 remove: function remove (key) { var cache = this.cache var item = cache[key] // 销毁组件实例 if (item) { item.vm && item.vm.$destroy() delete cache[key] } this.$emit('remove', [key]) }, // 清理缓存 clear: function clear (key) { var item = this.cache[key] var vm = item && item.vm if (vm) { vm.$destroy() item.vm = null } } } }) // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader??ref--13-0!./src/lib/RouterTab/components/RouterTab.js?vue&type=script&lang=js& // 滚动 function scrollTo ($el) { var left = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0 var top = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0 if ($el.scrollTo) { $el.scrollTo({ left: left, top: top, behavior: 'smooth' }) } else { $el.scrollLeft = left $el.scrollTop = top } } // 防抖 function debounce (fn) { var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200 var timeout = null return function () { var context = this var args = arguments clearTimeout(timeout) timeout = setTimeout(function () { fn.call(context, args) }, delay) } } /* harmony default export */ var RouterTabvue_type_script_lang_js_ = ({ name: 'router-tab', components: { RouterAlive: RouterAlive }, props: { // 缓存key,如果为函数,则参数为route aliveKey: RouterAlive.props.aliveKey, // 初始页签数据 tabs: { type: Array, default: function _default () { return [] } }, // router-view组件配置 routerView: Object, // 页签过渡效果 tabTransition: { type: [String, Object], default: 'router-tab-zoom-lb' }, // 页面过渡效果 pageTransition: { type: [String, Object], default: function _default () { return { name: 'router-tab-swap', mode: 'out-in' } } } }, data: function data () { return { loading: false, // 路由页面loading items: [], // 页签项 activedTab: null, // 当前激活的页签 isRouterAlive: true, // 右键菜单 contextmenu: { id: null, index: -1, left: 0, top: 0 } } }, computed: { // 右键菜单是否当前页签 isContextTabActived: function isContextTabActived () { return this.contextmenu.id === this.activedTab }, // 右键页签是否允许关闭 isContextTabCanBeClosed: function isContextTabCanBeClosed () { var items = this.items var contextmenu = this.contextmenu var contextTab = items[contextmenu.index] return items.length > 1 && contextTab && contextTab.closable !== false }, // 左侧可关闭的页签 tabsLeft: function tabsLeft () { var items = this.items var _this$contextmenu = this.contextmenu var id = _this$contextmenu.id var index = _this$contextmenu.index return id ? items.slice(0, index).filter(function (_ref) { var closable = _ref.closable return closable !== false }) : emptyArray }, // 左侧可关闭的页签 tabsRight: function tabsRight () { var items = this.items var _this$contextmenu2 = this.contextmenu var id = _this$contextmenu2.id var index = _this$contextmenu2.index return id ? items.slice(index + 1).filter(function (_ref2) { var closable = _ref2.closable return closable !== false }) : emptyArray }, // 其他可关闭的页签 tabsOther: function tabsOther () { var items = this.items var id = this.contextmenu.id return id ? items.filter(function (_ref3) { var closable = _ref3.closable var tid = _ref3.id return closable !== false && id !== tid }) : emptyArray } }, watch: { // 路由切换更新激活的页签 $route: function $route (_$route) { this.loading = false this.hideContextmenu() this.updateActivedTab() }, activedTab: function activedTab () { var _this = this // 激活页签时,如果当前页签不在可视区域,则滚动显示页签 this.$nextTick(function () { var $cur = _this.$el.querySelector('.router-tab-nav .actived') var $scr = _this.$el.querySelector('.router-tab-scroll') if ($cur) { var cLeft = $cur.offsetLeft var sLeft = $scr.scrollLeft if (cLeft < sLeft || cLeft + $cur.clientWidth > sLeft + $scr.clientWidth) { _this.adjust() } } }) }, // 监听右键菜单显示关闭 'contextmenu.id': function contextmenuId (val, old) { var _this2 = this if (!old && val) { // 显示右键菜单,绑定点击关闭事件 document.addEventListener('click', this.onClick = function (e) { if (e.target !== _this2.$el.querySelector('.router-tab-contextmenu')) { _this2.hideContextmenu() } }) } else if (old && !val) { // 隐藏右键菜单,移除点击关闭事件 document.removeEventListener('click', this.onClick) } } }, beforeCreate: function beforeCreate () { // 添加到原型链 external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$routerTab = this }, created: function created () { this.getTabItems() this.updateActivedTab() this.$router.beforeEach(this.routerPageLeaveGuard) }, mounted: function mounted () { // 页面载入和浏览器窗口大小改变时调整Tab滚动显示 window.addEventListener('resize', this.onResize = debounce(this.adjust)) }, destroyed: function destroyed () { // 销毁后移除监听事件 window.removeEventListener('resize', this.onResize) }, methods: { getAliveKey: RouterAlive.methods.getAliveKey, // 页面离开导航守卫 routerPageLeaveGuard: function routerPageLeaveGuard (to, from, next) { if (this._isDestroyed) { var hooks = this.$router.beforeHooks var idx = hooks.indexOf(this.routerPageLeaveGuard) // 移除已销毁的RouterTab实例注册的导航守卫 if (idx > -1) hooks.splice(idx, 1) next() } else { var id = this.getAliveKey(to) var $alive = this.$refs.routerAlive var _ref4 = $alive && $alive.cache[id] || emptyObj var cacheRoute = _ref4.route // 如果不是相同路由则检查beforePageLeave if (cacheRoute && !isAlikeRoute(to, cacheRoute)) { this.pageLeavePromise(id, 'replace').then(function () { return next() }).catch(function () { return next(false) }) } else { next() } } }, // 根据初始页签数据生成页签列表 getTabItems: function getTabItems () { var _this3 = this var tabs = this.tabs var $router = this.$router var ids = {} this.items = tabs.map(function (item, index) { var _ref5 = typeof item === 'string' ? { to: item } : item || emptyObj var to = _ref5.to var closable = _ref5.closable var route = to && $router.match(to) if (route) { var tab = _this3.getRouteTab(route) var id = tab.id // 根据id去重 if (!ids[id]) { return ids[id] = assign_default()(tab, { closable: closable !== false }) } } }).filter(function (item) { return !!item }) }, // 更新激活的页签 updateActivedTab: function updateActivedTab () { this.activedTab = this.getAliveKey() }, // 更新tab数据 updateTab: function updateTab (key, _ref6) { var route = _ref6.route var tab = _ref6.tab var items = this.items var getRouteTab = this.getRouteTab var matchIdx = items.findIndex(function (_ref7) { var id = _ref7.id return id === key }) var item = assign_default()(getRouteTab(route), tab) if (matchIdx > -1) { var matchTab = items[matchIdx] item.closable = matchTab.closable !== false this.$set(items, matchIdx, item) } else { items.push(item) } }, // 从route中获取tab数据 getRouteTab: function getRouteTab (route) { var id = this.getAliveKey(route) var to = route.fullPath var meta = route.meta var title = meta.title var icon = meta.icon var tips = meta.tips return { id: id, to: to, title: title, icon: icon, tips: tips } }, // 页面离开Promise pageLeavePromise: function pageLeavePromise (id, type) { var _this4 = this return new promise_default.a(function (resolve, reject) { var $alive = _this4.$refs.routerAlive var tab = _this4.items.find(function (item) { return item.id === id }) // 当前页签 var _ref8 = $alive.cache[id] || emptyObj var vm = _ref8.vm // 缓存数据 var beforePageLeave = vm && vm.$vnode.componentOptions.Ctor.options.beforePageLeave if (typeof beforePageLeave === 'function') { // 页签关闭前 beforePageLeave.bind(vm)(resolve, reject, tab, type) } else { resolve() } }) }, // 关闭tab项 closeTabItem: function closeTabItem (id) { var items = this.items var $alive = this.$refs.routerAlive var idx = items.findIndex(function (item) { return item.id === id }) return this.pageLeavePromise(id, 'close').then(function () { // 承诺关闭后移除页签和缓存 $alive.remove(id) idx > -1 && items.splice(idx, 1) }).catch(function (e) {}) }, // 关闭页签 close: (function () { var _close = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee () { var id var activedTab var items var $router var idx var nextTab var _args = arguments return regeneratorRuntime.wrap(function _callee$ (_context) { while (1) { switch (_context.prev = _context.next) { case 0: id = _args.length > 0 && _args[0] !== undefined ? _args[0] : this.activedTab activedTab = this.activedTab, items = this.items, $router = this.$router idx = items.findIndex(function (item) { return item.id === id }) _context.next = 5 return this.closeTabItem(id) case 5: // 如果关闭当前页签,则打开后一个页签 if (activedTab === id) { nextTab = items[idx] || items[idx - 1] $router.replace(nextTab.to) } case 6: case 'end': return _context.stop() } } }, _callee, this) })) function close () { return _close.apply(this, arguments) } return close }()), // 关闭多个页签 closeMulti: (function () { var _closeMulti = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee2 (tabs) { var _this5 = this var items, $router, contextmenu, closeTabItem, nextTab, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, id return regeneratorRuntime.wrap(function _callee2$ (_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: items = this.items, $router = this.$router, contextmenu = this.contextmenu, closeTabItem = this.closeTabItem nextTab = items.find(function (_ref9) { var id = _ref9.id return id === contextmenu.id }) _iteratorNormalCompletion = true _didIteratorError = false _iteratorError = undefined _context2.prev = 5 _iterator = get_iterator_default()(tabs) case 7: if (_iteratorNormalCompletion = (_step = _iterator.next()).done) { _context2.next = 19 break } id = _step.value.id _context2.prev = 9 _context2.next = 12 return closeTabItem(id) case 12: _context2.next = 16 break case 14: _context2.prev = 14 _context2.t0 = _context2['catch'](9) case 16: _iteratorNormalCompletion = true _context2.next = 7 break case 19: _context2.next = 25 break case 21: _context2.prev = 21 _context2.t1 = _context2['catch'](5) _didIteratorError = true _iteratorError = _context2.t1 case 25: _context2.prev = 25 _context2.prev = 26 if (!_iteratorNormalCompletion && _iterator.return != null) { _iterator.return() } case 28: _context2.prev = 28 if (!_didIteratorError) { _context2.next = 31 break } throw _iteratorError case 31: return _context2.finish(28) case 32: return _context2.finish(25) case 33: // 当前页签如已关闭,则打开右键选中页签 if (items.findIndex(function (_ref10) { var id = _ref10.id return id === _this5.activedTab }) === -1) { $router.replace(nextTab.to) } case 34: case 'end': return _context2.stop() } } }, _callee2, this, [[5, 21, 25, 33], [9, 14], [26,, 28, 32]]) })) function closeMulti (_x) { return _closeMulti.apply(this, arguments) } return closeMulti }()), // 刷新指定页签 refresh: (function () { var _refresh = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee3 () { var id var _args3 = arguments return regeneratorRuntime.wrap(function _callee3$ (_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: id = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : this.activedTab _context3.prev = 1 _context3.next = 4 return this.pageLeavePromise(id, 'refresh') case 4: this.$refs.routerAlive.clear(id) this.reloadRouter() _context3.next = 10 break case 8: _context3.prev = 8 _context3.t0 = _context3['catch'](1) case 10: case 'end': return _context3.stop() } } }, _callee3, this, [[1, 8]]) })) function refresh () { return _refresh.apply(this, arguments) } return refresh }()), /** * 刷新所有页签 * @param {boolean} [force=false] 是否强制刷新,如果强制则忽略页面beforePageLeave */ refreshAll: (function () { var _refreshAll = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee4 () { var force var $alive var cache var id var _args4 = arguments return regeneratorRuntime.wrap(function _callee4$ (_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: force = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : false $alive = this.$refs.routerAlive cache = $alive.cache _context4.t0 = regeneratorRuntime.keys(cache) case 4: if ((_context4.t1 = _context4.t0()).done) { _context4.next = 20 break } id = _context4.t1.value if (force) { _context4.next = 17 break } _context4.prev = 7 _context4.next = 10 return this.pageLeavePromise(id, 'refresh') case 10: $alive.clear(id) _context4.next = 15 break case 13: _context4.prev = 13 _context4.t2 = _context4['catch'](7) case 15: _context4.next = 18 break case 17: $alive.clear(id) case 18: _context4.next = 4 break case 20: this.reloadRouter() case 21: case 'end': return _context4.stop() } } }, _callee4, this, [[7, 13]]) })) function refreshAll () { return _refreshAll.apply(this, arguments) } return refreshAll }()), // 重载路由组件 reloadRouter: (function () { var _reloadRouter = _asyncToGenerator( /* #__PURE__ */ regeneratorRuntime.mark(function _callee5 () { return regeneratorRuntime.wrap(function _callee5$ (_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: this.isRouterAlive = false // 页面过渡结束后会设置为true case 1: case 'end': return _context5.stop() } } }, _callee5, this) })) function reloadRouter () { return _reloadRouter.apply(this, arguments) } return reloadRouter }()), // 页签过渡结束 onTabTransitionEnd: function onTabTransitionEnd () { this.adjust() }, // 页面过渡结束 onPageTransitionEnd: function onPageTransitionEnd () { if (!this.isRouterAlive) this.isRouterAlive = true }, // 显示页签右键菜单 showContextmenu: function showContextmenu (id, index, e) { // 菜单定位 var _ref11 = e || emptyObj var top = _ref11.y var left = _ref11.x assign_default()(this.contextmenu, { id: id, index: index, top: top, left: left }) }, // 关闭页签右键菜单 hideContextmenu: function hideContextmenu () { this.showContextmenu(null, -1) }, // Tab滚动 tabScroll: function tabScroll (direction) { var $tab = this.$el.querySelector('.router-tab-header') var $scr = $tab.querySelector('.router-tab-scroll') var space = $tab.clientWidth - 110 scrollTo($scr, $scr.scrollLeft + (direction === 'left' ? -space : space)) }, // 调整Tab滚动显示 adjust: function adjust () { var $tab = this.$el.querySelector('.router-tab-header') var $scr = $tab.querySelector('.router-tab-scroll') var $nav = $scr.querySelector('.router-tab-nav') var $cur = $nav.querySelector('.actived') var isScroll = $nav.clientWidth > $scr.clientWidth // 判断是否需要滚动 $tab.classList[isScroll ? 'add' : 'remove']('is-scroll') if ($cur && isScroll) { scrollTo($scr, $cur.offsetLeft + ($cur.clientWidth - $scr.clientWidth) / 2) } } } }) // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.js?vue&type=script&lang=js& /* harmony default export */ var components_RouterTabvue_type_script_lang_js_ = (RouterTabvue_type_script_lang_js_) // EXTERNAL MODULE: ./src/lib/RouterTab/scss/RouterTab.scss?vue&type=style&index=0&lang=scss& var RouterTabvue_type_style_index_0_lang_scss_ = __webpack_require__('f143') // EXTERNAL MODULE: ./src/lib/RouterTab/scss/transition.scss?vue&type=style&index=1&lang=scss& var transitionvue_type_style_index_1_lang_scss_ = __webpack_require__('d8de') // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } // CONCATENATED MODULE: ./src/lib/RouterTab/components/RouterTab.vue /* normalize component */ var component = normalizeComponent( components_RouterTabvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* harmony default export */ var RouterTab = (component.exports) // CONCATENATED MODULE: ./src/lib/RouterTab/index.js // 安装 RouterTab.install = function (Vue, options) { Vue.component(RouterTab.name, RouterTab) Vue.mixin(RouterPage) } // 如果浏览器环境且拥有全局Vue,则自动安装组件 if (typeof window !== 'undefined' && window.Vue) { window.Vue.use(RouterTab) } /* harmony default export */ var lib_RouterTab = (RouterTab) // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js /* harmony default export */ var entry_lib = __webpack_exports__['default'] = (lib_RouterTab) /***/ } /******/ }) }) // # sourceMappingURL=vue-router-tab.umd.js.map