From 723cbff6fa9fc4925749a5cef9d6141dc40242c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=BC=E5=85=88=E6=A3=AE?= Date: Sat, 16 May 2020 22:24:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0lib=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vue-aliplayer-v2.common.js | 1446 ++++++++++++++++--------------- lib/vue-aliplayer-v2.umd.js | 1446 ++++++++++++++++--------------- lib/vue-aliplayer-v2.umd.min.js | 2 +- 3 files changed, 1521 insertions(+), 1373 deletions(-) diff --git a/lib/vue-aliplayer-v2.common.js b/lib/vue-aliplayer-v2.common.js index 99cebe3..8183523 100644 --- a/lib/vue-aliplayer-v2.common.js +++ b/lib/vue-aliplayer-v2.common.js @@ -87,30 +87,83 @@ module.exports = /************************************************************************/ /******/ ({ -/***/ "0614": -/***/ (function(module, exports) { +/***/ "008a": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("f6b4"); +module.exports = function (it) { + return Object(defined(it)); }; /***/ }), -/***/ "0cc1": -/***/ (function(module, exports) { +/***/ "064e": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } +var anObject = __webpack_require__("69b3"); +var IE8_DOM_DEFINE = __webpack_require__("db6b"); +var toPrimitive = __webpack_require__("94b3"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("149f") ? 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; +}; + + +/***/ }), + +/***/ "09b9": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("224c"); +var defined = __webpack_require__("f6b4"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "0dc8": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e"); +var anObject = __webpack_require__("69b3"); +var getKeys = __webpack_require__("80a9"); + +module.exports = __webpack_require__("149f") ? 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; +}; + + +/***/ }), + +/***/ "0e8b": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("cb3d")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("86d4")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; }; @@ -120,6 +173,7 @@ module.exports = function (exec) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +// ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/setPublicPath.js @@ -139,20 +193,24 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js -var es6_function_name = __webpack_require__("7cfd"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("cc57"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"22e374de-vue-loader-template"}!./node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js -var web_dom_iterable = __webpack_require__("4634"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("6d57"); + +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.regexp.to-string.js +var es6_regexp_to_string = __webpack_require__("2b45"); + +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& // // @@ -171,15 +229,13 @@ var web_dom_iterable = __webpack_require__("4634"); source: { //播放源(此属性存在则优先于options.source) 动态切换,目前只支持同种格式(mp4/flv/m3u8)之间切换。暂不支持直播rtmp流切换。 required: false, - type: [Object], - default: function _default() { - return null; - } + type: [String], + default: null }, id: { required: false, type: [String], - default: "player-".concat(Date.parse(new Date())) + default: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()) }, cssLink: { //css版本源 @@ -567,7 +623,7 @@ var web_dom_iterable = __webpack_require__("4634"); */ getStatus: function getStatus() { // console.log(`获取播放器状态,包含的值`,this.player && this.player.fullscreenService && this.player && this.player.fullscreenService.getStatus()); - return this.player && this.player.fullscreenService && this.player.fullscreenService.getStatus(); + return this.player && this.player.getStatus(); }, /** @@ -682,7 +738,7 @@ var web_dom_iterable = __webpack_require__("4634"); }); // CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); -// CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js +// CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.2@vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). @@ -747,7 +803,12 @@ function normalizeComponent ( options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode - ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } + ? function () { + injectStyles.call( + this, + (options.functional ? this.parent : this).$root.$options.shadowRoot + ) + } : injectStyles } @@ -756,7 +817,7 @@ function normalizeComponent ( // 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 + // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) @@ -843,160 +904,116 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ }), -/***/ "1277": +/***/ "149f": /***/ (function(module, exports, __webpack_require__) { -var store = __webpack_require__("f341")('wks'); -var uid = __webpack_require__("4d2c"); -var Symbol = __webpack_require__("3f8b").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; - - -/***/ }), - -/***/ "17cb": -/***/ (function(module, exports, __webpack_require__) { - -var document = __webpack_require__("3f8b").document; -module.exports = document && document.documentElement; - - -/***/ }), - -/***/ "1f9e": -/***/ (function(module, exports, __webpack_require__) { - -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__("6117"); -var toLength = __webpack_require__("8941"); -var toAbsoluteIndex = __webpack_require__("c3a9"); -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; - }; -}; - - -/***/ }), - -/***/ "2498": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("3f8b"); -var core = __webpack_require__("da27"); -var hide = __webpack_require__("b8ea"); -var redefine = __webpack_require__("a6d5"); -var ctx = __webpack_require__("e85e"); -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; - - -/***/ }), - -/***/ "25ae": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = !__webpack_require__("f9a5") && !__webpack_require__("0cc1")(function () { - return Object.defineProperty(__webpack_require__("6618")('div'), 'a', { get: function () { return 7; } }).a != 7; +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("238a")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), -/***/ "2ab1": +/***/ "190b": /***/ (function(module, exports, __webpack_require__) { -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__("da0b"); -// 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"); +// 21.2.5.3 get RegExp.prototype.flags() +if (__webpack_require__("149f") && /./g.flags != 'g') __webpack_require__("064e").f(RegExp.prototype, 'flags', { + configurable: true, + get: __webpack_require__("f1fe") +}); + + +/***/ }), + +/***/ "224c": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("75c4"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), -/***/ "3038": +/***/ "238a": /***/ (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; +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; /***/ }), -/***/ "3d87": +/***/ "2b45": /***/ (function(module, exports, __webpack_require__) { -var def = __webpack_require__("d3d8").f; -var has = __webpack_require__("549d"); -var TAG = __webpack_require__("1277")('toStringTag'); +"use strict"; + +__webpack_require__("190b"); +var anObject = __webpack_require__("69b3"); +var $flags = __webpack_require__("f1fe"); +var DESCRIPTORS = __webpack_require__("149f"); +var TO_STRING = 'toString'; +var $toString = /./[TO_STRING]; + +var define = function (fn) { + __webpack_require__("bf16")(RegExp.prototype, TO_STRING, fn, true); +}; + +// 21.2.5.14 RegExp.prototype.toString() +if (__webpack_require__("238a")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { + define(function toString() { + var R = anObject(this); + return '/'.concat(R.source, '/', + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); + }); +// FF44- RegExp#toString has a wrong name +} else if ($toString.name != TO_STRING) { + define(function toString() { + return $toString.call(this); + }); +} + + +/***/ }), + +/***/ "32b9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("e005"); +var descriptor = __webpack_require__("cc33"); +var setToStringTag = __webpack_require__("399f"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("86d4")(IteratorPrototype, __webpack_require__("cb3d")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "399f": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("064e").f; +var has = __webpack_require__("e042"); +var TAG = __webpack_require__("cb3d")('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); @@ -1005,98 +1022,30 @@ module.exports = function (it, tag, stat) { /***/ }), -/***/ "3f8b": +/***/ "475d": /***/ (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 - - -/***/ }), - -/***/ "4634": -/***/ (function(module, exports, __webpack_require__) { - -var $iterators = __webpack_require__("96dd"); -var getKeys = __webpack_require__("7d56"); -var redefine = __webpack_require__("a6d5"); -var global = __webpack_require__("3f8b"); -var hide = __webpack_require__("b8ea"); -var Iterators = __webpack_require__("e3b3"); -var wks = __webpack_require__("1277"); -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 +module.exports = function (done, value) { + return { value: value, done: !!done }; }; -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); - } -} - /***/ }), -/***/ "4aef": +/***/ "492d": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var LIBRARY = __webpack_require__("6cc2"); -var $export = __webpack_require__("2498"); -var redefine = __webpack_require__("a6d5"); -var hide = __webpack_require__("b8ea"); -var Iterators = __webpack_require__("e3b3"); -var $iterCreate = __webpack_require__("c264"); -var setToStringTag = __webpack_require__("3d87"); -var getPrototypeOf = __webpack_require__("d15b"); -var ITERATOR = __webpack_require__("1277")('iterator'); +var LIBRARY = __webpack_require__("550e"); +var $export = __webpack_require__("e46b"); +var redefine = __webpack_require__("bf16"); +var hide = __webpack_require__("86d4"); +var Iterators = __webpack_require__("da6d"); +var $iterCreate = __webpack_require__("32b9"); +var setToStringTag = __webpack_require__("399f"); +var getPrototypeOf = __webpack_require__("58cf"); +var ITERATOR = __webpack_require__("cb3d")('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; @@ -1160,30 +1109,181 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE /***/ }), -/***/ "4d2c": +/***/ "4ce5": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("5daa"); +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); + }; +}; + + +/***/ }), + +/***/ "550e": /***/ (function(module, exports) { -var id = 0; -var px = Math.random(); +module.exports = false; + + +/***/ }), + +/***/ "56f2": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("6798")('keys'); +var uid = __webpack_require__("ec45"); module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); + return shared[key] || (shared[key] = uid(key)); }; /***/ }), -/***/ "549d": +/***/ "58cf": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("e042"); +var toObject = __webpack_require__("008a"); +var IE_PROTO = __webpack_require__("56f2")('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; +}; + + +/***/ }), + +/***/ "5daa": /***/ (function(module, exports) { -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; }; /***/ }), -/***/ "6077": +/***/ "6798": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("7ddc"); +var global = __webpack_require__("e7ad"); +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__("550e") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }), + +/***/ "69b3": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("fb68"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "6d57": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("e44b"); +var getKeys = __webpack_require__("80a9"); +var redefine = __webpack_require__("bf16"); +var global = __webpack_require__("e7ad"); +var hide = __webpack_require__("86d4"); +var Iterators = __webpack_require__("da6d"); +var wks = __webpack_require__("cb3d"); +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); + } +} + + +/***/ }), + +/***/ "75c4": /***/ (function(module, exports) { var toString = {}.toString; @@ -1195,40 +1295,292 @@ module.exports = function (it) { /***/ }), -/***/ "6117": +/***/ "7ddc": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.11' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "80a9": /***/ (function(module, exports, __webpack_require__) { -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__("9952"); -var defined = __webpack_require__("3038"); -module.exports = function (it) { - return IObject(defined(it)); +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("c2f7"); +var enumBugKeys = __webpack_require__("ceac"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); }; /***/ }), -/***/ "65c3": +/***/ "86d4": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e"); +var createDesc = __webpack_require__("cc33"); +module.exports = __webpack_require__("149f") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "8df1": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("e7ad").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "94b3": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("fb68"); +// 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"); +}; + + +/***/ }), + +/***/ "b3a6": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("09b9"); +var toLength = __webpack_require__("eafa"); +var toAbsoluteIndex = __webpack_require__("f58a"); +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; + }; +}; + + +/***/ }), + +/***/ "bf16": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("e7ad"); +var hide = __webpack_require__("86d4"); +var has = __webpack_require__("e042"); +var SRC = __webpack_require__("ec45")('src'); +var $toString = __webpack_require__("d07e"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("7ddc").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); +}); + + +/***/ }), + +/***/ "bfe7": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("fb68"); +var document = __webpack_require__("e7ad").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) : {}; +}; + + +/***/ }), + +/***/ "c2f7": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("e042"); +var toIObject = __webpack_require__("09b9"); +var arrayIndexOf = __webpack_require__("b3a6")(false); +var IE_PROTO = __webpack_require__("56f2")('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; +}; + + +/***/ }), + +/***/ "cb3d": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("6798")('wks'); +var uid = __webpack_require__("ec45"); +var Symbol = __webpack_require__("e7ad").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; + + +/***/ }), + +/***/ "cc33": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "cc57": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("149f") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "ceac": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "d07e": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6798")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "da6d": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "db6b": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("149f") && !__webpack_require__("238a")(function () { + return Object.defineProperty(__webpack_require__("bfe7")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "e005": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__("8cac"); -var dPs = __webpack_require__("8d69"); -var enumBugKeys = __webpack_require__("d93f"); -var IE_PROTO = __webpack_require__("9947")('IE_PROTO'); +var anObject = __webpack_require__("69b3"); +var dPs = __webpack_require__("0dc8"); +var enumBugKeys = __webpack_require__("ceac"); +var IE_PROTO = __webpack_require__("56f2")('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__("6618")('iframe'); + var iframe = __webpack_require__("bfe7")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; - __webpack_require__("17cb").appendChild(iframe); + __webpack_require__("8df1").appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); @@ -1256,168 +1608,32 @@ module.exports = Object.create || function create(O, Properties) { /***/ }), -/***/ "6618": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("da0b"); -var document = __webpack_require__("3f8b").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) : {}; -}; - - -/***/ }), - -/***/ "6cc2": +/***/ "e042": /***/ (function(module, exports) { -module.exports = false; - - -/***/ }), - -/***/ "6fe0": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__("f341")('native-function-to-string', Function.toString); - - -/***/ }), - -/***/ "7afe": -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__("549d"); -var toIObject = __webpack_require__("6117"); -var arrayIndexOf = __webpack_require__("1f9e")(false); -var IE_PROTO = __webpack_require__("9947")('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; +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); }; /***/ }), -/***/ "7cfd": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// 19.2.4.2 name -NAME in FProto || __webpack_require__("f9a5") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } -}); - - -/***/ }), - -/***/ "7d56": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__("7afe"); -var enumBugKeys = __webpack_require__("d93f"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "8451": -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; -}; - - -/***/ }), - -/***/ "8941": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.15 ToLength -var toInteger = __webpack_require__("a6ad"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "8cac": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("da0b"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), - -/***/ "8d69": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8"); -var anObject = __webpack_require__("8cac"); -var getKeys = __webpack_require__("7d56"); - -module.exports = __webpack_require__("f9a5") ? 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; -}; - - -/***/ }), - -/***/ "96dd": +/***/ "e44b": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var addToUnscopables = __webpack_require__("ab19"); -var step = __webpack_require__("c8e9"); -var Iterators = __webpack_require__("e3b3"); -var toIObject = __webpack_require__("6117"); +var addToUnscopables = __webpack_require__("0e8b"); +var step = __webpack_require__("475d"); +var Iterators = __webpack_require__("da6d"); +var toIObject = __webpack_require__("09b9"); // 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__("4aef")(Array, 'Array', function (iterated, kind) { +module.exports = __webpack_require__("492d")(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind @@ -1445,245 +1661,52 @@ addToUnscopables('entries'); /***/ }), -/***/ "9947": +/***/ "e46b": /***/ (function(module, exports, __webpack_require__) { -var shared = __webpack_require__("f341")('keys'); -var uid = __webpack_require__("4d2c"); -module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); -}; +var global = __webpack_require__("e7ad"); +var core = __webpack_require__("7ddc"); +var hide = __webpack_require__("86d4"); +var redefine = __webpack_require__("bf16"); +var ctx = __webpack_require__("4ce5"); +var PROTOTYPE = 'prototype'; - -/***/ }), - -/***/ "9952": -/***/ (function(module, exports, __webpack_require__) { - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__("6077"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); -}; - - -/***/ }), - -/***/ "a6ad": -/***/ (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); -}; - - -/***/ }), - -/***/ "a6d5": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("3f8b"); -var hide = __webpack_require__("b8ea"); -var has = __webpack_require__("549d"); -var SRC = __webpack_require__("4d2c")('src'); -var $toString = __webpack_require__("6fe0"); -var TO_STRING = 'toString'; -var TPL = ('' + $toString).split(TO_STRING); - -__webpack_require__("da27").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); +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; } -// 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); -}); - - -/***/ }), - -/***/ "a9cf": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.13 ToObject(argument) -var defined = __webpack_require__("3038"); -module.exports = function (it) { - return Object(defined(it)); }; - - -/***/ }), - -/***/ "ab19": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__("1277")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("b8ea")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; -}; - - -/***/ }), - -/***/ "b8ea": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8"); -var createDesc = __webpack_require__("0614"); -module.exports = __webpack_require__("f9a5") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "c264": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var create = __webpack_require__("65c3"); -var descriptor = __webpack_require__("0614"); -var setToStringTag = __webpack_require__("3d87"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__("b8ea")(IteratorPrototype, __webpack_require__("1277")('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; - - -/***/ }), - -/***/ "c3a9": -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__("a6ad"); -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); -}; - - -/***/ }), - -/***/ "c8e9": -/***/ (function(module, exports) { - -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; - - -/***/ }), - -/***/ "d15b": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__("549d"); -var toObject = __webpack_require__("a9cf"); -var IE_PROTO = __webpack_require__("9947")('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; -}; - - -/***/ }), - -/***/ "d3d8": -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__("8cac"); -var IE8_DOM_DEFINE = __webpack_require__("25ae"); -var toPrimitive = __webpack_require__("2ab1"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__("f9a5") ? 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; -}; - - -/***/ }), - -/***/ "d93f": -/***/ (function(module, exports) { - -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - - -/***/ }), - -/***/ "da0b": -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), - -/***/ "da27": -/***/ (function(module, exports) { - -var core = module.exports = { version: '2.6.10' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "e3b3": -/***/ (function(module, exports) { - -module.exports = {}; +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; /***/ }), @@ -1731,59 +1754,110 @@ module.exports = {}; /***/ }), -/***/ "e85e": +/***/ "e7ad": +/***/ (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 + + +/***/ }), + +/***/ "eafa": /***/ (function(module, exports, __webpack_require__) { -// optional / simple context binding -var aFunction = __webpack_require__("8451"); -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); - }; +// 7.1.15 ToLength +var toInteger = __webpack_require__("ee21"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), -/***/ "f341": -/***/ (function(module, exports, __webpack_require__) { +/***/ "ec45": +/***/ (function(module, exports) { -var core = __webpack_require__("da27"); -var global = __webpack_require__("3f8b"); -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__("6cc2") ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' -}); +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; /***/ }), -/***/ "f9a5": +/***/ "ee21": +/***/ (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); +}; + + +/***/ }), + +/***/ "f1fe": /***/ (function(module, exports, __webpack_require__) { -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__("0cc1")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); +"use strict"; + +// 21.2.5.3 get RegExp.prototype.flags +var anObject = __webpack_require__("69b3"); +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; +}; + + +/***/ }), + +/***/ "f58a": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("ee21"); +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); +}; + + +/***/ }), + +/***/ "f6b4": +/***/ (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; +}; + + +/***/ }), + +/***/ "fb68": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; /***/ }) diff --git a/lib/vue-aliplayer-v2.umd.js b/lib/vue-aliplayer-v2.umd.js index 0eb7126..699b729 100644 --- a/lib/vue-aliplayer-v2.umd.js +++ b/lib/vue-aliplayer-v2.umd.js @@ -96,30 +96,83 @@ return /******/ (function(modules) { // webpackBootstrap /************************************************************************/ /******/ ({ -/***/ "0614": -/***/ (function(module, exports) { +/***/ "008a": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("f6b4"); +module.exports = function (it) { + return Object(defined(it)); }; /***/ }), -/***/ "0cc1": -/***/ (function(module, exports) { +/***/ "064e": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } +var anObject = __webpack_require__("69b3"); +var IE8_DOM_DEFINE = __webpack_require__("db6b"); +var toPrimitive = __webpack_require__("94b3"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("149f") ? 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; +}; + + +/***/ }), + +/***/ "09b9": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("224c"); +var defined = __webpack_require__("f6b4"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "0dc8": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e"); +var anObject = __webpack_require__("69b3"); +var getKeys = __webpack_require__("80a9"); + +module.exports = __webpack_require__("149f") ? 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; +}; + + +/***/ }), + +/***/ "0e8b": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("cb3d")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("86d4")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; }; @@ -129,6 +182,7 @@ module.exports = function (exec) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +// ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/setPublicPath.js @@ -148,20 +202,24 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js -var es6_function_name = __webpack_require__("7cfd"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("cc57"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"22e374de-vue-loader-template"}!./node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=2633e826& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js -var web_dom_iterable = __webpack_require__("4634"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("6d57"); + +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.regexp.to-string.js +var es6_regexp_to_string = __webpack_require__("2b45"); + +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& // // @@ -180,15 +238,13 @@ var web_dom_iterable = __webpack_require__("4634"); source: { //播放源(此属性存在则优先于options.source) 动态切换,目前只支持同种格式(mp4/flv/m3u8)之间切换。暂不支持直播rtmp流切换。 required: false, - type: [Object], - default: function _default() { - return null; - } + type: [String], + default: null }, id: { required: false, type: [String], - default: "player-".concat(Date.parse(new Date())) + default: "player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase()) }, cssLink: { //css版本源 @@ -576,7 +632,7 @@ var web_dom_iterable = __webpack_require__("4634"); */ getStatus: function getStatus() { // console.log(`获取播放器状态,包含的值`,this.player && this.player.fullscreenService && this.player && this.player.fullscreenService.getStatus()); - return this.player && this.player.fullscreenService && this.player.fullscreenService.getStatus(); + return this.player && this.player.getStatus(); }, /** @@ -691,7 +747,7 @@ var web_dom_iterable = __webpack_require__("4634"); }); // CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); -// CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js +// CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.2@vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). @@ -756,7 +812,12 @@ function normalizeComponent ( options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode - ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } + ? function () { + injectStyles.call( + this, + (options.functional ? this.parent : this).$root.$options.shadowRoot + ) + } : injectStyles } @@ -765,7 +826,7 @@ function normalizeComponent ( // 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 + // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) @@ -852,160 +913,116 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ }), -/***/ "1277": +/***/ "149f": /***/ (function(module, exports, __webpack_require__) { -var store = __webpack_require__("f341")('wks'); -var uid = __webpack_require__("4d2c"); -var Symbol = __webpack_require__("3f8b").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; - - -/***/ }), - -/***/ "17cb": -/***/ (function(module, exports, __webpack_require__) { - -var document = __webpack_require__("3f8b").document; -module.exports = document && document.documentElement; - - -/***/ }), - -/***/ "1f9e": -/***/ (function(module, exports, __webpack_require__) { - -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__("6117"); -var toLength = __webpack_require__("8941"); -var toAbsoluteIndex = __webpack_require__("c3a9"); -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; - }; -}; - - -/***/ }), - -/***/ "2498": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("3f8b"); -var core = __webpack_require__("da27"); -var hide = __webpack_require__("b8ea"); -var redefine = __webpack_require__("a6d5"); -var ctx = __webpack_require__("e85e"); -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; - - -/***/ }), - -/***/ "25ae": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = !__webpack_require__("f9a5") && !__webpack_require__("0cc1")(function () { - return Object.defineProperty(__webpack_require__("6618")('div'), 'a', { get: function () { return 7; } }).a != 7; +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("238a")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), -/***/ "2ab1": +/***/ "190b": /***/ (function(module, exports, __webpack_require__) { -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__("da0b"); -// 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"); +// 21.2.5.3 get RegExp.prototype.flags() +if (__webpack_require__("149f") && /./g.flags != 'g') __webpack_require__("064e").f(RegExp.prototype, 'flags', { + configurable: true, + get: __webpack_require__("f1fe") +}); + + +/***/ }), + +/***/ "224c": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("75c4"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), -/***/ "3038": +/***/ "238a": /***/ (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; +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; /***/ }), -/***/ "3d87": +/***/ "2b45": /***/ (function(module, exports, __webpack_require__) { -var def = __webpack_require__("d3d8").f; -var has = __webpack_require__("549d"); -var TAG = __webpack_require__("1277")('toStringTag'); +"use strict"; + +__webpack_require__("190b"); +var anObject = __webpack_require__("69b3"); +var $flags = __webpack_require__("f1fe"); +var DESCRIPTORS = __webpack_require__("149f"); +var TO_STRING = 'toString'; +var $toString = /./[TO_STRING]; + +var define = function (fn) { + __webpack_require__("bf16")(RegExp.prototype, TO_STRING, fn, true); +}; + +// 21.2.5.14 RegExp.prototype.toString() +if (__webpack_require__("238a")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { + define(function toString() { + var R = anObject(this); + return '/'.concat(R.source, '/', + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); + }); +// FF44- RegExp#toString has a wrong name +} else if ($toString.name != TO_STRING) { + define(function toString() { + return $toString.call(this); + }); +} + + +/***/ }), + +/***/ "32b9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("e005"); +var descriptor = __webpack_require__("cc33"); +var setToStringTag = __webpack_require__("399f"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("86d4")(IteratorPrototype, __webpack_require__("cb3d")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "399f": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("064e").f; +var has = __webpack_require__("e042"); +var TAG = __webpack_require__("cb3d")('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); @@ -1014,98 +1031,30 @@ module.exports = function (it, tag, stat) { /***/ }), -/***/ "3f8b": +/***/ "475d": /***/ (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 - - -/***/ }), - -/***/ "4634": -/***/ (function(module, exports, __webpack_require__) { - -var $iterators = __webpack_require__("96dd"); -var getKeys = __webpack_require__("7d56"); -var redefine = __webpack_require__("a6d5"); -var global = __webpack_require__("3f8b"); -var hide = __webpack_require__("b8ea"); -var Iterators = __webpack_require__("e3b3"); -var wks = __webpack_require__("1277"); -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 +module.exports = function (done, value) { + return { value: value, done: !!done }; }; -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); - } -} - /***/ }), -/***/ "4aef": +/***/ "492d": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var LIBRARY = __webpack_require__("6cc2"); -var $export = __webpack_require__("2498"); -var redefine = __webpack_require__("a6d5"); -var hide = __webpack_require__("b8ea"); -var Iterators = __webpack_require__("e3b3"); -var $iterCreate = __webpack_require__("c264"); -var setToStringTag = __webpack_require__("3d87"); -var getPrototypeOf = __webpack_require__("d15b"); -var ITERATOR = __webpack_require__("1277")('iterator'); +var LIBRARY = __webpack_require__("550e"); +var $export = __webpack_require__("e46b"); +var redefine = __webpack_require__("bf16"); +var hide = __webpack_require__("86d4"); +var Iterators = __webpack_require__("da6d"); +var $iterCreate = __webpack_require__("32b9"); +var setToStringTag = __webpack_require__("399f"); +var getPrototypeOf = __webpack_require__("58cf"); +var ITERATOR = __webpack_require__("cb3d")('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; @@ -1169,30 +1118,181 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE /***/ }), -/***/ "4d2c": +/***/ "4ce5": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("5daa"); +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); + }; +}; + + +/***/ }), + +/***/ "550e": /***/ (function(module, exports) { -var id = 0; -var px = Math.random(); +module.exports = false; + + +/***/ }), + +/***/ "56f2": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("6798")('keys'); +var uid = __webpack_require__("ec45"); module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); + return shared[key] || (shared[key] = uid(key)); }; /***/ }), -/***/ "549d": +/***/ "58cf": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("e042"); +var toObject = __webpack_require__("008a"); +var IE_PROTO = __webpack_require__("56f2")('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; +}; + + +/***/ }), + +/***/ "5daa": /***/ (function(module, exports) { -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; }; /***/ }), -/***/ "6077": +/***/ "6798": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("7ddc"); +var global = __webpack_require__("e7ad"); +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__("550e") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }), + +/***/ "69b3": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("fb68"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "6d57": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("e44b"); +var getKeys = __webpack_require__("80a9"); +var redefine = __webpack_require__("bf16"); +var global = __webpack_require__("e7ad"); +var hide = __webpack_require__("86d4"); +var Iterators = __webpack_require__("da6d"); +var wks = __webpack_require__("cb3d"); +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); + } +} + + +/***/ }), + +/***/ "75c4": /***/ (function(module, exports) { var toString = {}.toString; @@ -1204,40 +1304,292 @@ module.exports = function (it) { /***/ }), -/***/ "6117": +/***/ "7ddc": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.11' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "80a9": /***/ (function(module, exports, __webpack_require__) { -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__("9952"); -var defined = __webpack_require__("3038"); -module.exports = function (it) { - return IObject(defined(it)); +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("c2f7"); +var enumBugKeys = __webpack_require__("ceac"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); }; /***/ }), -/***/ "65c3": +/***/ "86d4": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e"); +var createDesc = __webpack_require__("cc33"); +module.exports = __webpack_require__("149f") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "8df1": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("e7ad").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "94b3": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("fb68"); +// 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"); +}; + + +/***/ }), + +/***/ "b3a6": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("09b9"); +var toLength = __webpack_require__("eafa"); +var toAbsoluteIndex = __webpack_require__("f58a"); +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; + }; +}; + + +/***/ }), + +/***/ "bf16": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("e7ad"); +var hide = __webpack_require__("86d4"); +var has = __webpack_require__("e042"); +var SRC = __webpack_require__("ec45")('src'); +var $toString = __webpack_require__("d07e"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("7ddc").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); +}); + + +/***/ }), + +/***/ "bfe7": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("fb68"); +var document = __webpack_require__("e7ad").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) : {}; +}; + + +/***/ }), + +/***/ "c2f7": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("e042"); +var toIObject = __webpack_require__("09b9"); +var arrayIndexOf = __webpack_require__("b3a6")(false); +var IE_PROTO = __webpack_require__("56f2")('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; +}; + + +/***/ }), + +/***/ "cb3d": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("6798")('wks'); +var uid = __webpack_require__("ec45"); +var Symbol = __webpack_require__("e7ad").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; + + +/***/ }), + +/***/ "cc33": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "cc57": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("064e").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("149f") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "ceac": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "d07e": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6798")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "da6d": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "db6b": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("149f") && !__webpack_require__("238a")(function () { + return Object.defineProperty(__webpack_require__("bfe7")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "e005": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__("8cac"); -var dPs = __webpack_require__("8d69"); -var enumBugKeys = __webpack_require__("d93f"); -var IE_PROTO = __webpack_require__("9947")('IE_PROTO'); +var anObject = __webpack_require__("69b3"); +var dPs = __webpack_require__("0dc8"); +var enumBugKeys = __webpack_require__("ceac"); +var IE_PROTO = __webpack_require__("56f2")('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__("6618")('iframe'); + var iframe = __webpack_require__("bfe7")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; - __webpack_require__("17cb").appendChild(iframe); + __webpack_require__("8df1").appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); @@ -1265,168 +1617,32 @@ module.exports = Object.create || function create(O, Properties) { /***/ }), -/***/ "6618": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("da0b"); -var document = __webpack_require__("3f8b").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) : {}; -}; - - -/***/ }), - -/***/ "6cc2": +/***/ "e042": /***/ (function(module, exports) { -module.exports = false; - - -/***/ }), - -/***/ "6fe0": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__("f341")('native-function-to-string', Function.toString); - - -/***/ }), - -/***/ "7afe": -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__("549d"); -var toIObject = __webpack_require__("6117"); -var arrayIndexOf = __webpack_require__("1f9e")(false); -var IE_PROTO = __webpack_require__("9947")('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; +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); }; /***/ }), -/***/ "7cfd": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// 19.2.4.2 name -NAME in FProto || __webpack_require__("f9a5") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } -}); - - -/***/ }), - -/***/ "7d56": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__("7afe"); -var enumBugKeys = __webpack_require__("d93f"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "8451": -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; -}; - - -/***/ }), - -/***/ "8941": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.15 ToLength -var toInteger = __webpack_require__("a6ad"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "8cac": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("da0b"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), - -/***/ "8d69": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8"); -var anObject = __webpack_require__("8cac"); -var getKeys = __webpack_require__("7d56"); - -module.exports = __webpack_require__("f9a5") ? 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; -}; - - -/***/ }), - -/***/ "96dd": +/***/ "e44b": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var addToUnscopables = __webpack_require__("ab19"); -var step = __webpack_require__("c8e9"); -var Iterators = __webpack_require__("e3b3"); -var toIObject = __webpack_require__("6117"); +var addToUnscopables = __webpack_require__("0e8b"); +var step = __webpack_require__("475d"); +var Iterators = __webpack_require__("da6d"); +var toIObject = __webpack_require__("09b9"); // 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__("4aef")(Array, 'Array', function (iterated, kind) { +module.exports = __webpack_require__("492d")(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind @@ -1454,245 +1670,52 @@ addToUnscopables('entries'); /***/ }), -/***/ "9947": +/***/ "e46b": /***/ (function(module, exports, __webpack_require__) { -var shared = __webpack_require__("f341")('keys'); -var uid = __webpack_require__("4d2c"); -module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); -}; +var global = __webpack_require__("e7ad"); +var core = __webpack_require__("7ddc"); +var hide = __webpack_require__("86d4"); +var redefine = __webpack_require__("bf16"); +var ctx = __webpack_require__("4ce5"); +var PROTOTYPE = 'prototype'; - -/***/ }), - -/***/ "9952": -/***/ (function(module, exports, __webpack_require__) { - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__("6077"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); -}; - - -/***/ }), - -/***/ "a6ad": -/***/ (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); -}; - - -/***/ }), - -/***/ "a6d5": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("3f8b"); -var hide = __webpack_require__("b8ea"); -var has = __webpack_require__("549d"); -var SRC = __webpack_require__("4d2c")('src'); -var $toString = __webpack_require__("6fe0"); -var TO_STRING = 'toString'; -var TPL = ('' + $toString).split(TO_STRING); - -__webpack_require__("da27").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); +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; } -// 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); -}); - - -/***/ }), - -/***/ "a9cf": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.13 ToObject(argument) -var defined = __webpack_require__("3038"); -module.exports = function (it) { - return Object(defined(it)); }; - - -/***/ }), - -/***/ "ab19": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__("1277")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("b8ea")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; -}; - - -/***/ }), - -/***/ "b8ea": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("d3d8"); -var createDesc = __webpack_require__("0614"); -module.exports = __webpack_require__("f9a5") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "c264": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var create = __webpack_require__("65c3"); -var descriptor = __webpack_require__("0614"); -var setToStringTag = __webpack_require__("3d87"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__("b8ea")(IteratorPrototype, __webpack_require__("1277")('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; - - -/***/ }), - -/***/ "c3a9": -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__("a6ad"); -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); -}; - - -/***/ }), - -/***/ "c8e9": -/***/ (function(module, exports) { - -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; - - -/***/ }), - -/***/ "d15b": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__("549d"); -var toObject = __webpack_require__("a9cf"); -var IE_PROTO = __webpack_require__("9947")('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; -}; - - -/***/ }), - -/***/ "d3d8": -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__("8cac"); -var IE8_DOM_DEFINE = __webpack_require__("25ae"); -var toPrimitive = __webpack_require__("2ab1"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__("f9a5") ? 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; -}; - - -/***/ }), - -/***/ "d93f": -/***/ (function(module, exports) { - -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - - -/***/ }), - -/***/ "da0b": -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), - -/***/ "da27": -/***/ (function(module, exports) { - -var core = module.exports = { version: '2.6.10' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "e3b3": -/***/ (function(module, exports) { - -module.exports = {}; +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; /***/ }), @@ -1740,59 +1763,110 @@ module.exports = {}; /***/ }), -/***/ "e85e": +/***/ "e7ad": +/***/ (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 + + +/***/ }), + +/***/ "eafa": /***/ (function(module, exports, __webpack_require__) { -// optional / simple context binding -var aFunction = __webpack_require__("8451"); -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); - }; +// 7.1.15 ToLength +var toInteger = __webpack_require__("ee21"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), -/***/ "f341": -/***/ (function(module, exports, __webpack_require__) { +/***/ "ec45": +/***/ (function(module, exports) { -var core = __webpack_require__("da27"); -var global = __webpack_require__("3f8b"); -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__("6cc2") ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' -}); +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; /***/ }), -/***/ "f9a5": +/***/ "ee21": +/***/ (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); +}; + + +/***/ }), + +/***/ "f1fe": /***/ (function(module, exports, __webpack_require__) { -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__("0cc1")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); +"use strict"; + +// 21.2.5.3 get RegExp.prototype.flags +var anObject = __webpack_require__("69b3"); +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; +}; + + +/***/ }), + +/***/ "f58a": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("ee21"); +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); +}; + + +/***/ }), + +/***/ "f6b4": +/***/ (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; +}; + + +/***/ }), + +/***/ "fb68": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; /***/ }) diff --git a/lib/vue-aliplayer-v2.umd.min.js b/lib/vue-aliplayer-v2.umd.min.js index 6ef7e21..8bde5c9 100644 --- a/lib/vue-aliplayer-v2.umd.min.js +++ b/lib/vue-aliplayer-v2.umd.min.js @@ -1,2 +1,2 @@ -(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue-aliplayer-v2"]=t():e["vue-aliplayer-v2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="112a")}({"0614":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"0cc1":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"112a":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("7cfd");var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:e.id}})},o=[],a=(n("4634"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[Object],default:function(){return null}},id:{required:!1,type:[String],default:"player-".concat(Date.parse(new Date))},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,config:{id:null,width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(e){this.loadByUrl(e)}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},updated:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{init:function(){var e=this,t="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),a=document.getElementById(t);if(!a){var c=document.createElement("link");c.type="text/css",c.rel="stylesheet",c.href=this.cssLink,c.id=t,r[0].appendChild(c)}o?this.initPlayer():(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){e.initPlayer()})))},initPlayer:function(){var e=this;if("undefined"!=typeof window.Aliplayer){var t=this.options;if(t)for(var n in t)this.config[n]=t[n];if(this.source&&(this.config.source=this.source),this.config.id=this.id,this.player)this.player&&this.player.replay();else{this.player=Aliplayer(this.config);var r=function(t){e.player&&e.player.on(e.events[t],(function(n){e.$emit(e.events[t],n)}))};for(var i in this.events)r(i)}}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(e){this.player&&this.player.seek(e)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(e){this.player&&this.player.setVolume(e)},loadByUrl:function(e,t){this.player&&this.player.loadByUrl(e,t)},replayByVidAndPlayAuth:function(e,t){this.player&&this.player.replayByVidAndPlayAuth(e,t)},replayByVidAndAuthInfo:function(e,t,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(e,t,n,r,i,o)},setPlayerSize:function(e,t){this.player&&this.player.setPlayerSize(e,t)},setSpeed:function(e){this.player&&this.player.setSpeed(e)},setSanpshotProperties:function(e,t,n){this.player&&this.player.setSanpshotProperties(e,t,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getStatus()},setLiveTimeRange:function(e,t){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(e,t)},setRotate:function(e){this.player&&this.player.setRotate(e)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(e){this.player&&this.player.setImage(e)},dispose:function(){this.player&&this.player.dispose()},setCover:function(e){this.player&&this.player.setCover(e)},setProgressMarkers:function(e){this.player&&this.player.setProgressMarkers(e)},setPreviewTime:function(e){this.player&&this.player.setPreviewTime(e)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(e,t){this.player&&this.player.off(e,t)}},beforeDestroy:function(){var e=document.querySelector("head"),t=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');e&&t.forEach((function(t){e.removeChild(t)}))}}),c=a;function u(e,t,n,r,i,o,a,c){var u,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}var s=u(c,i,o,!1,null,null,null),f=s.exports;f.install=function(e){e.component(f.name,f)};var l=f,p=[l],d=function e(t){if(e.installed)return!1;e.installed=!0,p.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};t["default"]=y},1277:function(e,t,n){var r=n("f341")("wks"),i=n("4d2c"),o=n("3f8b").Symbol,a="function"==typeof o,c=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};c.store=r},"17cb":function(e,t,n){var r=n("3f8b").document;e.exports=r&&r.documentElement},"1f9e":function(e,t,n){var r=n("6117"),i=n("8941"),o=n("c3a9");e.exports=function(e){return function(t,n,a){var c,u=r(t),s=i(u.length),f=o(a,s);if(e&&n!=n){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===n)return e||f||0;return!e&&-1}}},2498:function(e,t,n){var r=n("3f8b"),i=n("da27"),o=n("b8ea"),a=n("a6d5"),c=n("e85e"),u="prototype",s=function(e,t,n){var f,l,p,d,y=e&s.F,h=e&s.G,v=e&s.S,m=e&s.P,g=e&s.B,S=h?r:v?r[t]||(r[t]={}):(r[t]||{})[u],b=h?i:i[t]||(i[t]={}),x=b[u]||(b[u]={});for(f in h&&(n=t),n)l=!y&&S&&void 0!==S[f],p=(l?S:n)[f],d=g&&l?c(p,r):m&&"function"==typeof p?c(Function.call,p):p,S&&a(S,f,p,e&s.U),b[f]!=p&&o(b,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},"25ae":function(e,t,n){e.exports=!n("f9a5")&&!n("0cc1")((function(){return 7!=Object.defineProperty(n("6618")("div"),"a",{get:function(){return 7}}).a}))},"2ab1":function(e,t,n){var r=n("da0b");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},3038:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"3d87":function(e,t,n){var r=n("d3d8").f,i=n("549d"),o=n("1277")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"3f8b":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},4634:function(e,t,n){for(var r=n("96dd"),i=n("7d56"),o=n("a6d5"),a=n("3f8b"),c=n("b8ea"),u=n("e3b3"),s=n("1277"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;h";t.style.display="none",n("17cb").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),s=e.F;while(r--)delete s[u][o[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c[u]=r(e),n=new c,c[u]=null,n[a]=e):n=s(),void 0===t?n:i(n,t)}},6618:function(e,t,n){var r=n("da0b"),i=n("3f8b").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"6cc2":function(e,t){e.exports=!1},"6fe0":function(e,t,n){e.exports=n("f341")("native-function-to-string",Function.toString)},"7afe":function(e,t,n){var r=n("549d"),i=n("6117"),o=n("1f9e")(!1),a=n("9947")("IE_PROTO");e.exports=function(e,t){var n,c=i(e),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);while(t.length>u)r(c,n=t[u++])&&(~o(s,n)||s.push(n));return s}},"7cfd":function(e,t,n){var r=n("d3d8").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("f9a5")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},"7d56":function(e,t,n){var r=n("7afe"),i=n("d93f");e.exports=Object.keys||function(e){return r(e,i)}},8451:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},8941:function(e,t,n){var r=n("a6ad"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"8cac":function(e,t,n){var r=n("da0b");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"8d69":function(e,t,n){var r=n("d3d8"),i=n("8cac"),o=n("7d56");e.exports=n("f9a5")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),c=a.length,u=0;while(c>u)r.f(e,n=a[u++],t[n]);return e}},"96dd":function(e,t,n){"use strict";var r=n("ab19"),i=n("c8e9"),o=n("e3b3"),a=n("6117");e.exports=n("4aef")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},9947:function(e,t,n){var r=n("f341")("keys"),i=n("4d2c");e.exports=function(e){return r[e]||(r[e]=i(e))}},9952:function(e,t,n){var r=n("6077");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},a6ad:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a6d5:function(e,t,n){var r=n("3f8b"),i=n("b8ea"),o=n("549d"),a=n("4d2c")("src"),c=n("6fe0"),u="toString",s=(""+c).split(u);n("da27").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||i(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},a9cf:function(e,t,n){var r=n("3038");e.exports=function(e){return Object(r(e))}},ab19:function(e,t,n){var r=n("1277")("unscopables"),i=Array.prototype;void 0==i[r]&&n("b8ea")(i,r,{}),e.exports=function(e){i[r][e]=!0}},b8ea:function(e,t,n){var r=n("d3d8"),i=n("0614");e.exports=n("f9a5")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},c264:function(e,t,n){"use strict";var r=n("65c3"),i=n("0614"),o=n("3d87"),a={};n("b8ea")(a,n("1277")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},c3a9:function(e,t,n){var r=n("a6ad"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},c8e9:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d15b:function(e,t,n){var r=n("549d"),i=n("a9cf"),o=n("9947")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},d3d8:function(e,t,n){var r=n("8cac"),i=n("25ae"),o=n("2ab1"),a=Object.defineProperty;t.f=n("f9a5")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},d93f:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},da0b:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},da27:function(e,t){var n=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},e3b3:function(e,t){e.exports={}},e67d:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},e85e:function(e,t,n){var r=n("8451");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},f341:function(e,t,n){var r=n("da27"),i=n("3f8b"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("6cc2")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},f9a5:function(e,t,n){e.exports=!n("0cc1")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}})})); +(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue-aliplayer-v2"]=t():e["vue-aliplayer-v2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="112a")}({"008a":function(e,t,n){var r=n("f6b4");e.exports=function(e){return Object(r(e))}},"064e":function(e,t,n){var r=n("69b3"),i=n("db6b"),o=n("94b3"),c=Object.defineProperty;t.f=n("149f")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return c(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"09b9":function(e,t,n){var r=n("224c"),i=n("f6b4");e.exports=function(e){return r(i(e))}},"0dc8":function(e,t,n){var r=n("064e"),i=n("69b3"),o=n("80a9");e.exports=n("149f")?Object.defineProperties:function(e,t){i(e);var n,c=o(t),a=c.length,u=0;while(a>u)r.f(e,n=c[u++],t[n]);return e}},"0e8b":function(e,t,n){var r=n("cb3d")("unscopables"),i=Array.prototype;void 0==i[r]&&n("86d4")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"112a":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("cc57");var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:e.id}})},o=[],c=(n("6d57"),n("2b45"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[String],default:null},id:{required:!1,type:[String],default:"player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase())},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,config:{id:null,width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(e){this.loadByUrl(e)}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},updated:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{init:function(){var e=this,t="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),c=document.getElementById(t);if(!c){var a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=this.cssLink,a.id=t,r[0].appendChild(a)}o?this.initPlayer():(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){e.initPlayer()})))},initPlayer:function(){var e=this;if("undefined"!=typeof window.Aliplayer){var t=this.options;if(t)for(var n in t)this.config[n]=t[n];if(this.source&&(this.config.source=this.source),this.config.id=this.id,this.player)this.player&&this.player.replay();else{this.player=Aliplayer(this.config);var r=function(t){e.player&&e.player.on(e.events[t],(function(n){e.$emit(e.events[t],n)}))};for(var i in this.events)r(i)}}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(e){this.player&&this.player.seek(e)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(e){this.player&&this.player.setVolume(e)},loadByUrl:function(e,t){this.player&&this.player.loadByUrl(e,t)},replayByVidAndPlayAuth:function(e,t){this.player&&this.player.replayByVidAndPlayAuth(e,t)},replayByVidAndAuthInfo:function(e,t,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(e,t,n,r,i,o)},setPlayerSize:function(e,t){this.player&&this.player.setPlayerSize(e,t)},setSpeed:function(e){this.player&&this.player.setSpeed(e)},setSanpshotProperties:function(e,t,n){this.player&&this.player.setSanpshotProperties(e,t,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.getStatus()},setLiveTimeRange:function(e,t){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(e,t)},setRotate:function(e){this.player&&this.player.setRotate(e)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(e){this.player&&this.player.setImage(e)},dispose:function(){this.player&&this.player.dispose()},setCover:function(e){this.player&&this.player.setCover(e)},setProgressMarkers:function(e){this.player&&this.player.setProgressMarkers(e)},setPreviewTime:function(e){this.player&&this.player.setPreviewTime(e)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(e,t){this.player&&this.player.off(e,t)}},beforeDestroy:function(){var e=document.querySelector("head"),t=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');e&&t.forEach((function(t){e.removeChild(t)}))}}),a=c;function u(e,t,n,r,i,o,c,a){var u,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),c?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},s._ssrRegister=u):i&&(u=a?function(){i.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}var s=u(a,i,o,!1,null,null,null),f=s.exports;f.install=function(e){e.component(f.name,f)};var l=f,p=[l],d=function e(t){if(e.installed)return!1;e.installed=!0,p.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};t["default"]=y},"149f":function(e,t,n){e.exports=!n("238a")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"190b":function(e,t,n){n("149f")&&"g"!=/./g.flags&&n("064e").f(RegExp.prototype,"flags",{configurable:!0,get:n("f1fe")})},"224c":function(e,t,n){var r=n("75c4");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"238a":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2b45":function(e,t,n){"use strict";n("190b");var r=n("69b3"),i=n("f1fe"),o=n("149f"),c="toString",a=/./[c],u=function(e){n("bf16")(RegExp.prototype,c,e,!0)};n("238a")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?u((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):a.name!=c&&u((function(){return a.call(this)}))},"32b9":function(e,t,n){"use strict";var r=n("e005"),i=n("cc33"),o=n("399f"),c={};n("86d4")(c,n("cb3d")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(c,{next:i(1,n)}),o(e,t+" Iterator")}},"399f":function(e,t,n){var r=n("064e").f,i=n("e042"),o=n("cb3d")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"475d":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"492d":function(e,t,n){"use strict";var r=n("550e"),i=n("e46b"),o=n("bf16"),c=n("86d4"),a=n("da6d"),u=n("32b9"),s=n("399f"),f=n("58cf"),l=n("cb3d")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",y="keys",h="values",v=function(){return this};e.exports=function(e,t,n,m,b,g,S){u(n,t,m);var x,w,_,P=function(e){if(!p&&e in L)return L[e];switch(e){case y:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",T=b==h,j=!1,L=e.prototype,E=L[l]||L[d]||b&&L[b],k=E||P(b),M=b?T?P("entries"):k:void 0,C="Array"==t&&L.entries||E;if(C&&(_=f(C.call(new e)),_!==Object.prototype&&_.next&&(s(_,O,!0),r||"function"==typeof _[l]||c(_,l,v))),T&&E&&E.name!==h&&(j=!0,k=function(){return E.call(this)}),r&&!S||!p&&!j&&L[l]||c(L,l,k),a[t]=k,a[O]=v,b)if(x={values:T?k:P(h),keys:g?k:P(y),entries:M},S)for(w in x)w in L||o(L,w,x[w]);else i(i.P+i.F*(p||j),t,x);return x}},"4ce5":function(e,t,n){var r=n("5daa");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"550e":function(e,t){e.exports=!1},"56f2":function(e,t,n){var r=n("6798")("keys"),i=n("ec45");e.exports=function(e){return r[e]||(r[e]=i(e))}},"58cf":function(e,t,n){var r=n("e042"),i=n("008a"),o=n("56f2")("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},"5daa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},6798:function(e,t,n){var r=n("7ddc"),i=n("e7ad"),o="__core-js_shared__",c=i[o]||(i[o]={});(e.exports=function(e,t){return c[e]||(c[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("550e")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"69b3":function(e,t,n){var r=n("fb68");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"6d57":function(e,t,n){for(var r=n("e44b"),i=n("80a9"),o=n("bf16"),c=n("e7ad"),a=n("86d4"),u=n("da6d"),s=n("cb3d"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;hf)if(a=u[f++],a!=a)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===n)return e||f||0;return!e&&-1}}},bf16:function(e,t,n){var r=n("e7ad"),i=n("86d4"),o=n("e042"),c=n("ec45")("src"),a=n("d07e"),u="toString",s=(""+a).split(u);n("7ddc").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(o(n,c)||i(n,c,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},bfe7:function(e,t,n){var r=n("fb68"),i=n("e7ad").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},c2f7:function(e,t,n){var r=n("e042"),i=n("09b9"),o=n("b3a6")(!1),c=n("56f2")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),u=0,s=[];for(n in a)n!=c&&r(a,n)&&s.push(n);while(t.length>u)r(a,n=t[u++])&&(~o(s,n)||s.push(n));return s}},cb3d:function(e,t,n){var r=n("6798")("wks"),i=n("ec45"),o=n("e7ad").Symbol,c="function"==typeof o,a=e.exports=function(e){return r[e]||(r[e]=c&&o[e]||(c?o:i)("Symbol."+e))};a.store=r},cc33:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},cc57:function(e,t,n){var r=n("064e").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,c="name";c in i||n("149f")&&r(i,c,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},ceac:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},d07e:function(e,t,n){e.exports=n("6798")("native-function-to-string",Function.toString)},da6d:function(e,t){e.exports={}},db6b:function(e,t,n){e.exports=!n("149f")&&!n("238a")((function(){return 7!=Object.defineProperty(n("bfe7")("div"),"a",{get:function(){return 7}}).a}))},e005:function(e,t,n){var r=n("69b3"),i=n("0dc8"),o=n("ceac"),c=n("56f2")("IE_PROTO"),a=function(){},u="prototype",s=function(){var e,t=n("bfe7")("iframe"),r=o.length,i="<",c=">";t.style.display="none",n("8df1").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+c+"document.F=Object"+i+"/script"+c),e.close(),s=e.F;while(r--)delete s[u][o[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[u]=r(e),n=new a,a[u]=null,n[c]=e):n=s(),void 0===t?n:i(n,t)}},e042:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},e44b:function(e,t,n){"use strict";var r=n("0e8b"),i=n("475d"),o=n("da6d"),c=n("09b9");e.exports=n("492d")(Array,"Array",(function(e,t){this._t=c(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e46b:function(e,t,n){var r=n("e7ad"),i=n("7ddc"),o=n("86d4"),c=n("bf16"),a=n("4ce5"),u="prototype",s=function(e,t,n){var f,l,p,d,y=e&s.F,h=e&s.G,v=e&s.S,m=e&s.P,b=e&s.B,g=h?r:v?r[t]||(r[t]={}):(r[t]||{})[u],S=h?i:i[t]||(i[t]={}),x=S[u]||(S[u]={});for(f in h&&(n=t),n)l=!y&&g&&void 0!==g[f],p=(l?g:n)[f],d=b&&l?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,g&&c(g,f,p,e&s.U),S[f]!=p&&o(S,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},e67d:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},e7ad:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},eafa:function(e,t,n){var r=n("ee21"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},ec45:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},ee21:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},f1fe:function(e,t,n){"use strict";var r=n("69b3");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},f58a:function(e,t,n){var r=n("ee21"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},f6b4:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},fb68:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}}})})); //# sourceMappingURL=vue-aliplayer-v2.umd.min.js.map \ No newline at end of file From 2af7bb54336888b4f85babe04b071892e6356811 Mon Sep 17 00:00:00 2001 From: zhouliujun <1096432931@qq.com> Date: Fri, 29 May 2020 10:51:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0lib=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vue-aliplayer-v2.common.js | 1476 +++++++++++++++---------------- lib/vue-aliplayer-v2.umd.js | 1476 +++++++++++++++---------------- lib/vue-aliplayer-v2.umd.min.js | 2 +- 3 files changed, 1471 insertions(+), 1483 deletions(-) diff --git a/lib/vue-aliplayer-v2.common.js b/lib/vue-aliplayer-v2.common.js index 8183523..698df7e 100644 --- a/lib/vue-aliplayer-v2.common.js +++ b/lib/vue-aliplayer-v2.common.js @@ -87,83 +87,30 @@ module.exports = /************************************************************************/ /******/ ({ -/***/ "008a": -/***/ (function(module, exports, __webpack_require__) { +/***/ "0614": +/***/ (function(module, exports) { -// 7.1.13 ToObject(argument) -var defined = __webpack_require__("f6b4"); -module.exports = function (it) { - return Object(defined(it)); +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; }; /***/ }), -/***/ "064e": -/***/ (function(module, exports, __webpack_require__) { +/***/ "0cc1": +/***/ (function(module, exports) { -var anObject = __webpack_require__("69b3"); -var IE8_DOM_DEFINE = __webpack_require__("db6b"); -var toPrimitive = __webpack_require__("94b3"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__("149f") ? 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; -}; - - -/***/ }), - -/***/ "09b9": -/***/ (function(module, exports, __webpack_require__) { - -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__("224c"); -var defined = __webpack_require__("f6b4"); -module.exports = function (it) { - return IObject(defined(it)); -}; - - -/***/ }), - -/***/ "0dc8": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e"); -var anObject = __webpack_require__("69b3"); -var getKeys = __webpack_require__("80a9"); - -module.exports = __webpack_require__("149f") ? 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; -}; - - -/***/ }), - -/***/ "0e8b": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__("cb3d")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("86d4")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; @@ -173,7 +120,6 @@ module.exports = function (key) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -// ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/setPublicPath.js @@ -193,23 +139,23 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.function.name.js -var es6_function_name = __webpack_require__("cc57"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("7cfd"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"22e374de-vue-loader-template"}!./node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=3211d44f& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=3211d44f& -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js -var web_dom_iterable = __webpack_require__("6d57"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("4634"); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.regexp.to-string.js -var es6_regexp_to_string = __webpack_require__("2b45"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.regexp.to-string.js +var es6_regexp_to_string = __webpack_require__("cc1d"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& // @@ -345,9 +291,16 @@ var es6_regexp_to_string = __webpack_require__("2b45"); }; }, watch: { - source: function source(url) { + source: function source() { //监听播放源变化 - this.loadByUrl(url); + this.init(); + }, + options: { + //配置项是对象,只能深度监听 + handler: function handler() { + this.init(); + }, + deep: true } }, mounted: function mounted() { @@ -424,27 +377,20 @@ var es6_regexp_to_string = __webpack_require__("2b45"); if (this.source) this.config.source = this.source; //播放源 - this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) { - // // console.log('播放器创建好了',player); - // }); + this.config.id = this.id; + this.player && this.player.dispose(); //防止实例的重复 - if (!this.player) { - // console.log(this.config); - this.player = Aliplayer(this.config); + this.player = Aliplayer(this.config); - var _loop = function _loop(ev) { - _this4.player && _this4.player.on(_this4.events[ev], function (e) { - // console.log(`object ${this.events[ev]}`,e); - _this4.$emit(_this4.events[ev], e); - }); - }; + var _loop = function _loop(ev) { + _this4.player && _this4.player.on(_this4.events[ev], function (e) { + // console.log(`object ${this.events[ev]}`,e); + _this4.$emit(_this4.events[ev], e); + }); + }; - for (var ev in this.events) { - _loop(ev); - } - } else { - this.player && this.player.replay(); //销毁后重播 - // console.log(`this.player && this.player.replay()`,'销毁后重播'); + for (var ev in this.events) { + _loop(ev); } //通过播放器实例的off方法取消订阅 //player.off('ready',handleReady); @@ -738,7 +684,7 @@ var es6_regexp_to_string = __webpack_require__("2b45"); }); // CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); -// CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.2@vue-loader/lib/runtime/componentNormalizer.js +// CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). @@ -803,12 +749,7 @@ function normalizeComponent ( options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode - ? function () { - injectStyles.call( - this, - (options.functional ? this.parent : this).$root.$options.shadowRoot - ) - } + ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } @@ -817,7 +758,7 @@ function normalizeComponent ( // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook - // register for functional component in vue file + // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) @@ -904,116 +845,160 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ }), -/***/ "149f": +/***/ "1277": /***/ (function(module, exports, __webpack_require__) { -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__("238a")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); +var store = __webpack_require__("f341")('wks'); +var uid = __webpack_require__("4d2c"); +var Symbol = __webpack_require__("3f8b").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; /***/ }), -/***/ "190b": +/***/ "17cb": /***/ (function(module, exports, __webpack_require__) { -// 21.2.5.3 get RegExp.prototype.flags() -if (__webpack_require__("149f") && /./g.flags != 'g') __webpack_require__("064e").f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__("f1fe") -}); +var document = __webpack_require__("3f8b").document; +module.exports = document && document.documentElement; /***/ }), -/***/ "224c": +/***/ "1f9e": /***/ (function(module, exports, __webpack_require__) { -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__("75c4"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("6117"); +var toLength = __webpack_require__("8941"); +var toAbsoluteIndex = __webpack_require__("c3a9"); +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; + }; }; /***/ }), -/***/ "238a": -/***/ (function(module, exports) { +/***/ "2498": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; +var global = __webpack_require__("3f8b"); +var core = __webpack_require__("da27"); +var hide = __webpack_require__("b8ea"); +var redefine = __webpack_require__("a6d5"); +var ctx = __webpack_require__("e85e"); +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; /***/ }), -/***/ "2b45": +/***/ "25ae": /***/ (function(module, exports, __webpack_require__) { -"use strict"; - -__webpack_require__("190b"); -var anObject = __webpack_require__("69b3"); -var $flags = __webpack_require__("f1fe"); -var DESCRIPTORS = __webpack_require__("149f"); -var TO_STRING = 'toString'; -var $toString = /./[TO_STRING]; - -var define = function (fn) { - __webpack_require__("bf16")(RegExp.prototype, TO_STRING, fn, true); -}; - -// 21.2.5.14 RegExp.prototype.toString() -if (__webpack_require__("238a")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { - define(function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); - }); -// FF44- RegExp#toString has a wrong name -} else if ($toString.name != TO_STRING) { - define(function toString() { - return $toString.call(this); - }); -} +module.exports = !__webpack_require__("f9a5") && !__webpack_require__("0cc1")(function () { + return Object.defineProperty(__webpack_require__("6618")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); /***/ }), -/***/ "32b9": +/***/ "2ab1": /***/ (function(module, exports, __webpack_require__) { -"use strict"; - -var create = __webpack_require__("e005"); -var descriptor = __webpack_require__("cc33"); -var setToStringTag = __webpack_require__("399f"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__("86d4")(IteratorPrototype, __webpack_require__("cb3d")('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("da0b"); +// 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"); }; /***/ }), -/***/ "399f": +/***/ "3038": +/***/ (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; +}; + + +/***/ }), + +/***/ "3d87": /***/ (function(module, exports, __webpack_require__) { -var def = __webpack_require__("064e").f; -var has = __webpack_require__("e042"); -var TAG = __webpack_require__("cb3d")('toStringTag'); +var def = __webpack_require__("d3d8").f; +var has = __webpack_require__("549d"); +var TAG = __webpack_require__("1277")('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); @@ -1022,30 +1007,98 @@ module.exports = function (it, tag, stat) { /***/ }), -/***/ "475d": +/***/ "3f8b": /***/ (function(module, exports) { -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; +// 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 /***/ }), -/***/ "492d": +/***/ "4634": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("96dd"); +var getKeys = __webpack_require__("7d56"); +var redefine = __webpack_require__("a6d5"); +var global = __webpack_require__("3f8b"); +var hide = __webpack_require__("b8ea"); +var Iterators = __webpack_require__("e3b3"); +var wks = __webpack_require__("1277"); +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); + } +} + + +/***/ }), + +/***/ "4aef": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var LIBRARY = __webpack_require__("550e"); -var $export = __webpack_require__("e46b"); -var redefine = __webpack_require__("bf16"); -var hide = __webpack_require__("86d4"); -var Iterators = __webpack_require__("da6d"); -var $iterCreate = __webpack_require__("32b9"); -var setToStringTag = __webpack_require__("399f"); -var getPrototypeOf = __webpack_require__("58cf"); -var ITERATOR = __webpack_require__("cb3d")('iterator'); +var LIBRARY = __webpack_require__("6cc2"); +var $export = __webpack_require__("2498"); +var redefine = __webpack_require__("a6d5"); +var hide = __webpack_require__("b8ea"); +var Iterators = __webpack_require__("e3b3"); +var $iterCreate = __webpack_require__("c264"); +var setToStringTag = __webpack_require__("3d87"); +var getPrototypeOf = __webpack_require__("d15b"); +var ITERATOR = __webpack_require__("1277")('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; @@ -1109,181 +1162,30 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE /***/ }), -/***/ "4ce5": -/***/ (function(module, exports, __webpack_require__) { - -// optional / simple context binding -var aFunction = __webpack_require__("5daa"); -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); - }; -}; - - -/***/ }), - -/***/ "550e": +/***/ "4d2c": /***/ (function(module, exports) { -module.exports = false; - - -/***/ }), - -/***/ "56f2": -/***/ (function(module, exports, __webpack_require__) { - -var shared = __webpack_require__("6798")('keys'); -var uid = __webpack_require__("ec45"); +var id = 0; +var px = Math.random(); module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), -/***/ "58cf": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__("e042"); -var toObject = __webpack_require__("008a"); -var IE_PROTO = __webpack_require__("56f2")('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; -}; - - -/***/ }), - -/***/ "5daa": +/***/ "549d": /***/ (function(module, exports) { -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); }; /***/ }), -/***/ "6798": -/***/ (function(module, exports, __webpack_require__) { - -var core = __webpack_require__("7ddc"); -var global = __webpack_require__("e7ad"); -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__("550e") ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' -}); - - -/***/ }), - -/***/ "69b3": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("fb68"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), - -/***/ "6d57": -/***/ (function(module, exports, __webpack_require__) { - -var $iterators = __webpack_require__("e44b"); -var getKeys = __webpack_require__("80a9"); -var redefine = __webpack_require__("bf16"); -var global = __webpack_require__("e7ad"); -var hide = __webpack_require__("86d4"); -var Iterators = __webpack_require__("da6d"); -var wks = __webpack_require__("cb3d"); -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); - } -} - - -/***/ }), - -/***/ "75c4": +/***/ "6077": /***/ (function(module, exports) { var toString = {}.toString; @@ -1295,292 +1197,40 @@ module.exports = function (it) { /***/ }), -/***/ "7ddc": -/***/ (function(module, exports) { - -var core = module.exports = { version: '2.6.11' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "80a9": +/***/ "6117": /***/ (function(module, exports, __webpack_require__) { -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__("c2f7"); -var enumBugKeys = __webpack_require__("ceac"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "86d4": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e"); -var createDesc = __webpack_require__("cc33"); -module.exports = __webpack_require__("149f") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "8df1": -/***/ (function(module, exports, __webpack_require__) { - -var document = __webpack_require__("e7ad").document; -module.exports = document && document.documentElement; - - -/***/ }), - -/***/ "94b3": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__("fb68"); -// 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"); -}; - - -/***/ }), - -/***/ "b3a6": -/***/ (function(module, exports, __webpack_require__) { - -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__("09b9"); -var toLength = __webpack_require__("eafa"); -var toAbsoluteIndex = __webpack_require__("f58a"); -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; - }; -}; - - -/***/ }), - -/***/ "bf16": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("e7ad"); -var hide = __webpack_require__("86d4"); -var has = __webpack_require__("e042"); -var SRC = __webpack_require__("ec45")('src'); -var $toString = __webpack_require__("d07e"); -var TO_STRING = 'toString'; -var TPL = ('' + $toString).split(TO_STRING); - -__webpack_require__("7ddc").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); -}); - - -/***/ }), - -/***/ "bfe7": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("fb68"); -var document = __webpack_require__("e7ad").document; -// typeof document.createElement is 'object' in old IE -var is = isObject(document) && isObject(document.createElement); +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("9952"); +var defined = __webpack_require__("3038"); module.exports = function (it) { - return is ? document.createElement(it) : {}; + return IObject(defined(it)); }; /***/ }), -/***/ "c2f7": -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__("e042"); -var toIObject = __webpack_require__("09b9"); -var arrayIndexOf = __webpack_require__("b3a6")(false); -var IE_PROTO = __webpack_require__("56f2")('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; -}; - - -/***/ }), - -/***/ "cb3d": -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__("6798")('wks'); -var uid = __webpack_require__("ec45"); -var Symbol = __webpack_require__("e7ad").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; - - -/***/ }), - -/***/ "cc33": -/***/ (function(module, exports) { - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ "cc57": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// 19.2.4.2 name -NAME in FProto || __webpack_require__("149f") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } -}); - - -/***/ }), - -/***/ "ceac": -/***/ (function(module, exports) { - -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - - -/***/ }), - -/***/ "d07e": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__("6798")('native-function-to-string', Function.toString); - - -/***/ }), - -/***/ "da6d": -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "db6b": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = !__webpack_require__("149f") && !__webpack_require__("238a")(function () { - return Object.defineProperty(__webpack_require__("bfe7")('div'), 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), - -/***/ "e005": +/***/ "65c3": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__("69b3"); -var dPs = __webpack_require__("0dc8"); -var enumBugKeys = __webpack_require__("ceac"); -var IE_PROTO = __webpack_require__("56f2")('IE_PROTO'); +var anObject = __webpack_require__("8cac"); +var dPs = __webpack_require__("8d69"); +var enumBugKeys = __webpack_require__("d93f"); +var IE_PROTO = __webpack_require__("9947")('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__("bfe7")('iframe'); + var iframe = __webpack_require__("6618")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; - __webpack_require__("8df1").appendChild(iframe); + __webpack_require__("17cb").appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); @@ -1608,32 +1258,168 @@ module.exports = Object.create || function create(O, Properties) { /***/ }), -/***/ "e042": -/***/ (function(module, exports) { +/***/ "6618": +/***/ (function(module, exports, __webpack_require__) { -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); +var isObject = __webpack_require__("da0b"); +var document = __webpack_require__("3f8b").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) : {}; }; /***/ }), -/***/ "e44b": +/***/ "6cc2": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "6fe0": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("f341")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "7afe": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("549d"); +var toIObject = __webpack_require__("6117"); +var arrayIndexOf = __webpack_require__("1f9e")(false); +var IE_PROTO = __webpack_require__("9947")('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; +}; + + +/***/ }), + +/***/ "7cfd": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("f9a5") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "7d56": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("7afe"); +var enumBugKeys = __webpack_require__("d93f"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "8451": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "8941": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("a6ad"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "8cac": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("da0b"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "8d69": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8"); +var anObject = __webpack_require__("8cac"); +var getKeys = __webpack_require__("7d56"); + +module.exports = __webpack_require__("f9a5") ? 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; +}; + + +/***/ }), + +/***/ "96dd": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var addToUnscopables = __webpack_require__("0e8b"); -var step = __webpack_require__("475d"); -var Iterators = __webpack_require__("da6d"); -var toIObject = __webpack_require__("09b9"); +var addToUnscopables = __webpack_require__("ab19"); +var step = __webpack_require__("c8e9"); +var Iterators = __webpack_require__("e3b3"); +var toIObject = __webpack_require__("6117"); // 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__("492d")(Array, 'Array', function (iterated, kind) { +module.exports = __webpack_require__("4aef")(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind @@ -1661,52 +1447,290 @@ addToUnscopables('entries'); /***/ }), -/***/ "e46b": +/***/ "9947": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("e7ad"); -var core = __webpack_require__("7ddc"); -var hide = __webpack_require__("86d4"); -var redefine = __webpack_require__("bf16"); -var ctx = __webpack_require__("4ce5"); -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; - } +var shared = __webpack_require__("f341")('keys'); +var uid = __webpack_require__("4d2c"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); }; -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; + + +/***/ }), + +/***/ "9952": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("6077"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "9f7e": +/***/ (function(module, exports, __webpack_require__) { + +// 21.2.5.3 get RegExp.prototype.flags() +if (__webpack_require__("f9a5") && /./g.flags != 'g') __webpack_require__("d3d8").f(RegExp.prototype, 'flags', { + configurable: true, + get: __webpack_require__("e7a1") +}); + + +/***/ }), + +/***/ "a6ad": +/***/ (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); +}; + + +/***/ }), + +/***/ "a6d5": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("3f8b"); +var hide = __webpack_require__("b8ea"); +var has = __webpack_require__("549d"); +var SRC = __webpack_require__("4d2c")('src'); +var $toString = __webpack_require__("6fe0"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("da27").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); +}); + + +/***/ }), + +/***/ "a9cf": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("3038"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "ab19": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("1277")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("b8ea")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; +}; + + +/***/ }), + +/***/ "b8ea": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8"); +var createDesc = __webpack_require__("0614"); +module.exports = __webpack_require__("f9a5") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "c264": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("65c3"); +var descriptor = __webpack_require__("0614"); +var setToStringTag = __webpack_require__("3d87"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("b8ea")(IteratorPrototype, __webpack_require__("1277")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "c3a9": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("a6ad"); +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); +}; + + +/***/ }), + +/***/ "c8e9": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "cc1d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +__webpack_require__("9f7e"); +var anObject = __webpack_require__("8cac"); +var $flags = __webpack_require__("e7a1"); +var DESCRIPTORS = __webpack_require__("f9a5"); +var TO_STRING = 'toString'; +var $toString = /./[TO_STRING]; + +var define = function (fn) { + __webpack_require__("a6d5")(RegExp.prototype, TO_STRING, fn, true); +}; + +// 21.2.5.14 RegExp.prototype.toString() +if (__webpack_require__("0cc1")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { + define(function toString() { + var R = anObject(this); + return '/'.concat(R.source, '/', + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); + }); +// FF44- RegExp#toString has a wrong name +} else if ($toString.name != TO_STRING) { + define(function toString() { + return $toString.call(this); + }); +} + + +/***/ }), + +/***/ "d15b": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("549d"); +var toObject = __webpack_require__("a9cf"); +var IE_PROTO = __webpack_require__("9947")('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; +}; + + +/***/ }), + +/***/ "d3d8": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("8cac"); +var IE8_DOM_DEFINE = __webpack_require__("25ae"); +var toPrimitive = __webpack_require__("2ab1"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("f9a5") ? 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; +}; + + +/***/ }), + +/***/ "d93f": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "da0b": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "da27": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.10' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "e3b3": +/***/ (function(module, exports) { + +module.exports = {}; /***/ }), @@ -1754,64 +1778,13 @@ module.exports = $export; /***/ }), -/***/ "e7ad": -/***/ (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 - - -/***/ }), - -/***/ "eafa": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.15 ToLength -var toInteger = __webpack_require__("ee21"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "ec45": -/***/ (function(module, exports) { - -var id = 0; -var px = Math.random(); -module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -}; - - -/***/ }), - -/***/ "ee21": -/***/ (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); -}; - - -/***/ }), - -/***/ "f1fe": +/***/ "e7a1": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags -var anObject = __webpack_require__("69b3"); +var anObject = __webpack_require__("8cac"); module.exports = function () { var that = anObject(this); var result = ''; @@ -1826,38 +1799,59 @@ module.exports = function () { /***/ }), -/***/ "f58a": +/***/ "e85e": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("ee21"); -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); +// optional / simple context binding +var aFunction = __webpack_require__("8451"); +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); + }; }; /***/ }), -/***/ "f6b4": -/***/ (function(module, exports) { +/***/ "f341": +/***/ (function(module, exports, __webpack_require__) { -// 7.2.1 RequireObjectCoercible(argument) -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; +var core = __webpack_require__("da27"); +var global = __webpack_require__("3f8b"); +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__("6cc2") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); /***/ }), -/***/ "fb68": -/***/ (function(module, exports) { +/***/ "f9a5": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("0cc1")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); /***/ }) diff --git a/lib/vue-aliplayer-v2.umd.js b/lib/vue-aliplayer-v2.umd.js index 699b729..2f5be21 100644 --- a/lib/vue-aliplayer-v2.umd.js +++ b/lib/vue-aliplayer-v2.umd.js @@ -96,83 +96,30 @@ return /******/ (function(modules) { // webpackBootstrap /************************************************************************/ /******/ ({ -/***/ "008a": -/***/ (function(module, exports, __webpack_require__) { +/***/ "0614": +/***/ (function(module, exports) { -// 7.1.13 ToObject(argument) -var defined = __webpack_require__("f6b4"); -module.exports = function (it) { - return Object(defined(it)); +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; }; /***/ }), -/***/ "064e": -/***/ (function(module, exports, __webpack_require__) { +/***/ "0cc1": +/***/ (function(module, exports) { -var anObject = __webpack_require__("69b3"); -var IE8_DOM_DEFINE = __webpack_require__("db6b"); -var toPrimitive = __webpack_require__("94b3"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__("149f") ? 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; -}; - - -/***/ }), - -/***/ "09b9": -/***/ (function(module, exports, __webpack_require__) { - -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__("224c"); -var defined = __webpack_require__("f6b4"); -module.exports = function (it) { - return IObject(defined(it)); -}; - - -/***/ }), - -/***/ "0dc8": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e"); -var anObject = __webpack_require__("69b3"); -var getKeys = __webpack_require__("80a9"); - -module.exports = __webpack_require__("149f") ? 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; -}; - - -/***/ }), - -/***/ "0e8b": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__("cb3d")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("86d4")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; @@ -182,7 +129,6 @@ module.exports = function (key) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -// ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@3.12.1@@vue/cli-service/lib/commands/build/setPublicPath.js @@ -202,23 +148,23 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.function.name.js -var es6_function_name = __webpack_require__("cc57"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("7cfd"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"22e374de-vue-loader-template"}!./node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"05d0d90a-vue-loader-template"}!./node_modules/_vue-loader@15.7.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=template&id=3211d44f& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":_vm.id}})} var staticRenderFns = [] -// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=0d33cae0& +// CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=template&id=3211d44f& -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/web.dom.iterable.js -var web_dom_iterable = __webpack_require__("6d57"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("4634"); -// EXTERNAL MODULE: ./node_modules/_core-js@2.6.11@core-js/modules/es6.regexp.to-string.js -var es6_regexp_to_string = __webpack_require__("2b45"); +// EXTERNAL MODULE: ./node_modules/_core-js@2.6.10@core-js/modules/es6.regexp.to-string.js +var es6_regexp_to_string = __webpack_require__("cc1d"); -// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& +// CONCATENATED MODULE: ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.2@vue-loader/lib??vue-loader-options!./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& // @@ -354,9 +300,16 @@ var es6_regexp_to_string = __webpack_require__("2b45"); }; }, watch: { - source: function source(url) { + source: function source() { //监听播放源变化 - this.loadByUrl(url); + this.init(); + }, + options: { + //配置项是对象,只能深度监听 + handler: function handler() { + this.init(); + }, + deep: true } }, mounted: function mounted() { @@ -433,27 +386,20 @@ var es6_regexp_to_string = __webpack_require__("2b45"); if (this.source) this.config.source = this.source; //播放源 - this.config.id = this.id; // this.player = new Aliplayer(this.config, function(player) { - // // console.log('播放器创建好了',player); - // }); + this.config.id = this.id; + this.player && this.player.dispose(); //防止实例的重复 - if (!this.player) { - // console.log(this.config); - this.player = Aliplayer(this.config); + this.player = Aliplayer(this.config); - var _loop = function _loop(ev) { - _this4.player && _this4.player.on(_this4.events[ev], function (e) { - // console.log(`object ${this.events[ev]}`,e); - _this4.$emit(_this4.events[ev], e); - }); - }; + var _loop = function _loop(ev) { + _this4.player && _this4.player.on(_this4.events[ev], function (e) { + // console.log(`object ${this.events[ev]}`,e); + _this4.$emit(_this4.events[ev], e); + }); + }; - for (var ev in this.events) { - _loop(ev); - } - } else { - this.player && this.player.replay(); //销毁后重播 - // console.log(`this.player && this.player.replay()`,'销毁后重播'); + for (var ev in this.events) { + _loop(ev); } //通过播放器实例的off方法取消订阅 //player.off('ready',handleReady); @@ -747,7 +693,7 @@ var es6_regexp_to_string = __webpack_require__("2b45"); }); // CONCATENATED MODULE: ./packages/AliplayerV2/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); -// CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.2@vue-loader/lib/runtime/componentNormalizer.js +// CONCATENATED MODULE: ./node_modules/_vue-loader@15.7.2@vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). @@ -812,12 +758,7 @@ function normalizeComponent ( options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode - ? function () { - injectStyles.call( - this, - (options.functional ? this.parent : this).$root.$options.shadowRoot - ) - } + ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } @@ -826,7 +767,7 @@ function normalizeComponent ( // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook - // register for functional component in vue file + // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) @@ -913,116 +854,160 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ }), -/***/ "149f": +/***/ "1277": /***/ (function(module, exports, __webpack_require__) { -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__("238a")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); +var store = __webpack_require__("f341")('wks'); +var uid = __webpack_require__("4d2c"); +var Symbol = __webpack_require__("3f8b").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; /***/ }), -/***/ "190b": +/***/ "17cb": /***/ (function(module, exports, __webpack_require__) { -// 21.2.5.3 get RegExp.prototype.flags() -if (__webpack_require__("149f") && /./g.flags != 'g') __webpack_require__("064e").f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__("f1fe") -}); +var document = __webpack_require__("3f8b").document; +module.exports = document && document.documentElement; /***/ }), -/***/ "224c": +/***/ "1f9e": /***/ (function(module, exports, __webpack_require__) { -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__("75c4"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("6117"); +var toLength = __webpack_require__("8941"); +var toAbsoluteIndex = __webpack_require__("c3a9"); +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; + }; }; /***/ }), -/***/ "238a": -/***/ (function(module, exports) { +/***/ "2498": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; +var global = __webpack_require__("3f8b"); +var core = __webpack_require__("da27"); +var hide = __webpack_require__("b8ea"); +var redefine = __webpack_require__("a6d5"); +var ctx = __webpack_require__("e85e"); +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; /***/ }), -/***/ "2b45": +/***/ "25ae": /***/ (function(module, exports, __webpack_require__) { -"use strict"; - -__webpack_require__("190b"); -var anObject = __webpack_require__("69b3"); -var $flags = __webpack_require__("f1fe"); -var DESCRIPTORS = __webpack_require__("149f"); -var TO_STRING = 'toString'; -var $toString = /./[TO_STRING]; - -var define = function (fn) { - __webpack_require__("bf16")(RegExp.prototype, TO_STRING, fn, true); -}; - -// 21.2.5.14 RegExp.prototype.toString() -if (__webpack_require__("238a")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { - define(function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); - }); -// FF44- RegExp#toString has a wrong name -} else if ($toString.name != TO_STRING) { - define(function toString() { - return $toString.call(this); - }); -} +module.exports = !__webpack_require__("f9a5") && !__webpack_require__("0cc1")(function () { + return Object.defineProperty(__webpack_require__("6618")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); /***/ }), -/***/ "32b9": +/***/ "2ab1": /***/ (function(module, exports, __webpack_require__) { -"use strict"; - -var create = __webpack_require__("e005"); -var descriptor = __webpack_require__("cc33"); -var setToStringTag = __webpack_require__("399f"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__("86d4")(IteratorPrototype, __webpack_require__("cb3d")('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("da0b"); +// 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"); }; /***/ }), -/***/ "399f": +/***/ "3038": +/***/ (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; +}; + + +/***/ }), + +/***/ "3d87": /***/ (function(module, exports, __webpack_require__) { -var def = __webpack_require__("064e").f; -var has = __webpack_require__("e042"); -var TAG = __webpack_require__("cb3d")('toStringTag'); +var def = __webpack_require__("d3d8").f; +var has = __webpack_require__("549d"); +var TAG = __webpack_require__("1277")('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); @@ -1031,30 +1016,98 @@ module.exports = function (it, tag, stat) { /***/ }), -/***/ "475d": +/***/ "3f8b": /***/ (function(module, exports) { -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; +// 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 /***/ }), -/***/ "492d": +/***/ "4634": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("96dd"); +var getKeys = __webpack_require__("7d56"); +var redefine = __webpack_require__("a6d5"); +var global = __webpack_require__("3f8b"); +var hide = __webpack_require__("b8ea"); +var Iterators = __webpack_require__("e3b3"); +var wks = __webpack_require__("1277"); +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); + } +} + + +/***/ }), + +/***/ "4aef": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var LIBRARY = __webpack_require__("550e"); -var $export = __webpack_require__("e46b"); -var redefine = __webpack_require__("bf16"); -var hide = __webpack_require__("86d4"); -var Iterators = __webpack_require__("da6d"); -var $iterCreate = __webpack_require__("32b9"); -var setToStringTag = __webpack_require__("399f"); -var getPrototypeOf = __webpack_require__("58cf"); -var ITERATOR = __webpack_require__("cb3d")('iterator'); +var LIBRARY = __webpack_require__("6cc2"); +var $export = __webpack_require__("2498"); +var redefine = __webpack_require__("a6d5"); +var hide = __webpack_require__("b8ea"); +var Iterators = __webpack_require__("e3b3"); +var $iterCreate = __webpack_require__("c264"); +var setToStringTag = __webpack_require__("3d87"); +var getPrototypeOf = __webpack_require__("d15b"); +var ITERATOR = __webpack_require__("1277")('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; @@ -1118,181 +1171,30 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE /***/ }), -/***/ "4ce5": -/***/ (function(module, exports, __webpack_require__) { - -// optional / simple context binding -var aFunction = __webpack_require__("5daa"); -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); - }; -}; - - -/***/ }), - -/***/ "550e": +/***/ "4d2c": /***/ (function(module, exports) { -module.exports = false; - - -/***/ }), - -/***/ "56f2": -/***/ (function(module, exports, __webpack_require__) { - -var shared = __webpack_require__("6798")('keys'); -var uid = __webpack_require__("ec45"); +var id = 0; +var px = Math.random(); module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), -/***/ "58cf": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__("e042"); -var toObject = __webpack_require__("008a"); -var IE_PROTO = __webpack_require__("56f2")('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; -}; - - -/***/ }), - -/***/ "5daa": +/***/ "549d": /***/ (function(module, exports) { -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); }; /***/ }), -/***/ "6798": -/***/ (function(module, exports, __webpack_require__) { - -var core = __webpack_require__("7ddc"); -var global = __webpack_require__("e7ad"); -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__("550e") ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' -}); - - -/***/ }), - -/***/ "69b3": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("fb68"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), - -/***/ "6d57": -/***/ (function(module, exports, __webpack_require__) { - -var $iterators = __webpack_require__("e44b"); -var getKeys = __webpack_require__("80a9"); -var redefine = __webpack_require__("bf16"); -var global = __webpack_require__("e7ad"); -var hide = __webpack_require__("86d4"); -var Iterators = __webpack_require__("da6d"); -var wks = __webpack_require__("cb3d"); -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); - } -} - - -/***/ }), - -/***/ "75c4": +/***/ "6077": /***/ (function(module, exports) { var toString = {}.toString; @@ -1304,292 +1206,40 @@ module.exports = function (it) { /***/ }), -/***/ "7ddc": -/***/ (function(module, exports) { - -var core = module.exports = { version: '2.6.11' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "80a9": +/***/ "6117": /***/ (function(module, exports, __webpack_require__) { -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__("c2f7"); -var enumBugKeys = __webpack_require__("ceac"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "86d4": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e"); -var createDesc = __webpack_require__("cc33"); -module.exports = __webpack_require__("149f") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "8df1": -/***/ (function(module, exports, __webpack_require__) { - -var document = __webpack_require__("e7ad").document; -module.exports = document && document.documentElement; - - -/***/ }), - -/***/ "94b3": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__("fb68"); -// 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"); -}; - - -/***/ }), - -/***/ "b3a6": -/***/ (function(module, exports, __webpack_require__) { - -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__("09b9"); -var toLength = __webpack_require__("eafa"); -var toAbsoluteIndex = __webpack_require__("f58a"); -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; - }; -}; - - -/***/ }), - -/***/ "bf16": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("e7ad"); -var hide = __webpack_require__("86d4"); -var has = __webpack_require__("e042"); -var SRC = __webpack_require__("ec45")('src'); -var $toString = __webpack_require__("d07e"); -var TO_STRING = 'toString'; -var TPL = ('' + $toString).split(TO_STRING); - -__webpack_require__("7ddc").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); -}); - - -/***/ }), - -/***/ "bfe7": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("fb68"); -var document = __webpack_require__("e7ad").document; -// typeof document.createElement is 'object' in old IE -var is = isObject(document) && isObject(document.createElement); +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("9952"); +var defined = __webpack_require__("3038"); module.exports = function (it) { - return is ? document.createElement(it) : {}; + return IObject(defined(it)); }; /***/ }), -/***/ "c2f7": -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__("e042"); -var toIObject = __webpack_require__("09b9"); -var arrayIndexOf = __webpack_require__("b3a6")(false); -var IE_PROTO = __webpack_require__("56f2")('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; -}; - - -/***/ }), - -/***/ "cb3d": -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__("6798")('wks'); -var uid = __webpack_require__("ec45"); -var Symbol = __webpack_require__("e7ad").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; - - -/***/ }), - -/***/ "cc33": -/***/ (function(module, exports) { - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ "cc57": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("064e").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// 19.2.4.2 name -NAME in FProto || __webpack_require__("149f") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } -}); - - -/***/ }), - -/***/ "ceac": -/***/ (function(module, exports) { - -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - - -/***/ }), - -/***/ "d07e": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__("6798")('native-function-to-string', Function.toString); - - -/***/ }), - -/***/ "da6d": -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "db6b": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = !__webpack_require__("149f") && !__webpack_require__("238a")(function () { - return Object.defineProperty(__webpack_require__("bfe7")('div'), 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), - -/***/ "e005": +/***/ "65c3": /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__("69b3"); -var dPs = __webpack_require__("0dc8"); -var enumBugKeys = __webpack_require__("ceac"); -var IE_PROTO = __webpack_require__("56f2")('IE_PROTO'); +var anObject = __webpack_require__("8cac"); +var dPs = __webpack_require__("8d69"); +var enumBugKeys = __webpack_require__("d93f"); +var IE_PROTO = __webpack_require__("9947")('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__("bfe7")('iframe'); + var iframe = __webpack_require__("6618")('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; - __webpack_require__("8df1").appendChild(iframe); + __webpack_require__("17cb").appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); @@ -1617,32 +1267,168 @@ module.exports = Object.create || function create(O, Properties) { /***/ }), -/***/ "e042": -/***/ (function(module, exports) { +/***/ "6618": +/***/ (function(module, exports, __webpack_require__) { -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); +var isObject = __webpack_require__("da0b"); +var document = __webpack_require__("3f8b").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) : {}; }; /***/ }), -/***/ "e44b": +/***/ "6cc2": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "6fe0": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("f341")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "7afe": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("549d"); +var toIObject = __webpack_require__("6117"); +var arrayIndexOf = __webpack_require__("1f9e")(false); +var IE_PROTO = __webpack_require__("9947")('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; +}; + + +/***/ }), + +/***/ "7cfd": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("f9a5") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "7d56": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("7afe"); +var enumBugKeys = __webpack_require__("d93f"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "8451": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "8941": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("a6ad"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "8cac": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("da0b"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "8d69": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8"); +var anObject = __webpack_require__("8cac"); +var getKeys = __webpack_require__("7d56"); + +module.exports = __webpack_require__("f9a5") ? 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; +}; + + +/***/ }), + +/***/ "96dd": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var addToUnscopables = __webpack_require__("0e8b"); -var step = __webpack_require__("475d"); -var Iterators = __webpack_require__("da6d"); -var toIObject = __webpack_require__("09b9"); +var addToUnscopables = __webpack_require__("ab19"); +var step = __webpack_require__("c8e9"); +var Iterators = __webpack_require__("e3b3"); +var toIObject = __webpack_require__("6117"); // 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__("492d")(Array, 'Array', function (iterated, kind) { +module.exports = __webpack_require__("4aef")(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind @@ -1670,52 +1456,290 @@ addToUnscopables('entries'); /***/ }), -/***/ "e46b": +/***/ "9947": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("e7ad"); -var core = __webpack_require__("7ddc"); -var hide = __webpack_require__("86d4"); -var redefine = __webpack_require__("bf16"); -var ctx = __webpack_require__("4ce5"); -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; - } +var shared = __webpack_require__("f341")('keys'); +var uid = __webpack_require__("4d2c"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); }; -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; + + +/***/ }), + +/***/ "9952": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("6077"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "9f7e": +/***/ (function(module, exports, __webpack_require__) { + +// 21.2.5.3 get RegExp.prototype.flags() +if (__webpack_require__("f9a5") && /./g.flags != 'g') __webpack_require__("d3d8").f(RegExp.prototype, 'flags', { + configurable: true, + get: __webpack_require__("e7a1") +}); + + +/***/ }), + +/***/ "a6ad": +/***/ (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); +}; + + +/***/ }), + +/***/ "a6d5": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("3f8b"); +var hide = __webpack_require__("b8ea"); +var has = __webpack_require__("549d"); +var SRC = __webpack_require__("4d2c")('src'); +var $toString = __webpack_require__("6fe0"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("da27").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); +}); + + +/***/ }), + +/***/ "a9cf": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("3038"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "ab19": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("1277")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("b8ea")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; +}; + + +/***/ }), + +/***/ "b8ea": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d3d8"); +var createDesc = __webpack_require__("0614"); +module.exports = __webpack_require__("f9a5") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "c264": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("65c3"); +var descriptor = __webpack_require__("0614"); +var setToStringTag = __webpack_require__("3d87"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("b8ea")(IteratorPrototype, __webpack_require__("1277")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "c3a9": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("a6ad"); +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); +}; + + +/***/ }), + +/***/ "c8e9": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "cc1d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +__webpack_require__("9f7e"); +var anObject = __webpack_require__("8cac"); +var $flags = __webpack_require__("e7a1"); +var DESCRIPTORS = __webpack_require__("f9a5"); +var TO_STRING = 'toString'; +var $toString = /./[TO_STRING]; + +var define = function (fn) { + __webpack_require__("a6d5")(RegExp.prototype, TO_STRING, fn, true); +}; + +// 21.2.5.14 RegExp.prototype.toString() +if (__webpack_require__("0cc1")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { + define(function toString() { + var R = anObject(this); + return '/'.concat(R.source, '/', + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); + }); +// FF44- RegExp#toString has a wrong name +} else if ($toString.name != TO_STRING) { + define(function toString() { + return $toString.call(this); + }); +} + + +/***/ }), + +/***/ "d15b": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("549d"); +var toObject = __webpack_require__("a9cf"); +var IE_PROTO = __webpack_require__("9947")('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; +}; + + +/***/ }), + +/***/ "d3d8": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("8cac"); +var IE8_DOM_DEFINE = __webpack_require__("25ae"); +var toPrimitive = __webpack_require__("2ab1"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("f9a5") ? 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; +}; + + +/***/ }), + +/***/ "d93f": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "da0b": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "da27": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.10' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "e3b3": +/***/ (function(module, exports) { + +module.exports = {}; /***/ }), @@ -1763,64 +1787,13 @@ module.exports = $export; /***/ }), -/***/ "e7ad": -/***/ (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 - - -/***/ }), - -/***/ "eafa": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.15 ToLength -var toInteger = __webpack_require__("ee21"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "ec45": -/***/ (function(module, exports) { - -var id = 0; -var px = Math.random(); -module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -}; - - -/***/ }), - -/***/ "ee21": -/***/ (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); -}; - - -/***/ }), - -/***/ "f1fe": +/***/ "e7a1": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags -var anObject = __webpack_require__("69b3"); +var anObject = __webpack_require__("8cac"); module.exports = function () { var that = anObject(this); var result = ''; @@ -1835,38 +1808,59 @@ module.exports = function () { /***/ }), -/***/ "f58a": +/***/ "e85e": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("ee21"); -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); +// optional / simple context binding +var aFunction = __webpack_require__("8451"); +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); + }; }; /***/ }), -/***/ "f6b4": -/***/ (function(module, exports) { +/***/ "f341": +/***/ (function(module, exports, __webpack_require__) { -// 7.2.1 RequireObjectCoercible(argument) -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; +var core = __webpack_require__("da27"); +var global = __webpack_require__("3f8b"); +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__("6cc2") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); /***/ }), -/***/ "fb68": -/***/ (function(module, exports) { +/***/ "f9a5": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("0cc1")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); /***/ }) diff --git a/lib/vue-aliplayer-v2.umd.min.js b/lib/vue-aliplayer-v2.umd.min.js index 8bde5c9..b494835 100644 --- a/lib/vue-aliplayer-v2.umd.min.js +++ b/lib/vue-aliplayer-v2.umd.min.js @@ -1,2 +1,2 @@ -(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue-aliplayer-v2"]=t():e["vue-aliplayer-v2"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="112a")}({"008a":function(e,t,n){var r=n("f6b4");e.exports=function(e){return Object(r(e))}},"064e":function(e,t,n){var r=n("69b3"),i=n("db6b"),o=n("94b3"),c=Object.defineProperty;t.f=n("149f")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return c(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"09b9":function(e,t,n){var r=n("224c"),i=n("f6b4");e.exports=function(e){return r(i(e))}},"0dc8":function(e,t,n){var r=n("064e"),i=n("69b3"),o=n("80a9");e.exports=n("149f")?Object.defineProperties:function(e,t){i(e);var n,c=o(t),a=c.length,u=0;while(a>u)r.f(e,n=c[u++],t[n]);return e}},"0e8b":function(e,t,n){var r=n("cb3d")("unscopables"),i=Array.prototype;void 0==i[r]&&n("86d4")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"112a":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("cc57");var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:e.id}})},o=[],c=(n("6d57"),n("2b45"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[String],default:null},id:{required:!1,type:[String],default:"player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase())},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,config:{id:null,width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(e){this.loadByUrl(e)}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},updated:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{init:function(){var e=this,t="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),c=document.getElementById(t);if(!c){var a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=this.cssLink,a.id=t,r[0].appendChild(a)}o?this.initPlayer():(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){e.initPlayer()})))},initPlayer:function(){var e=this;if("undefined"!=typeof window.Aliplayer){var t=this.options;if(t)for(var n in t)this.config[n]=t[n];if(this.source&&(this.config.source=this.source),this.config.id=this.id,this.player)this.player&&this.player.replay();else{this.player=Aliplayer(this.config);var r=function(t){e.player&&e.player.on(e.events[t],(function(n){e.$emit(e.events[t],n)}))};for(var i in this.events)r(i)}}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(e){this.player&&this.player.seek(e)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(e){this.player&&this.player.setVolume(e)},loadByUrl:function(e,t){this.player&&this.player.loadByUrl(e,t)},replayByVidAndPlayAuth:function(e,t){this.player&&this.player.replayByVidAndPlayAuth(e,t)},replayByVidAndAuthInfo:function(e,t,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(e,t,n,r,i,o)},setPlayerSize:function(e,t){this.player&&this.player.setPlayerSize(e,t)},setSpeed:function(e){this.player&&this.player.setSpeed(e)},setSanpshotProperties:function(e,t,n){this.player&&this.player.setSanpshotProperties(e,t,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.getStatus()},setLiveTimeRange:function(e,t){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(e,t)},setRotate:function(e){this.player&&this.player.setRotate(e)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(e){this.player&&this.player.setImage(e)},dispose:function(){this.player&&this.player.dispose()},setCover:function(e){this.player&&this.player.setCover(e)},setProgressMarkers:function(e){this.player&&this.player.setProgressMarkers(e)},setPreviewTime:function(e){this.player&&this.player.setPreviewTime(e)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(e,t){this.player&&this.player.off(e,t)}},beforeDestroy:function(){var e=document.querySelector("head"),t=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');e&&t.forEach((function(t){e.removeChild(t)}))}}),a=c;function u(e,t,n,r,i,o,c,a){var u,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),c?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},s._ssrRegister=u):i&&(u=a?function(){i.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}var s=u(a,i,o,!1,null,null,null),f=s.exports;f.install=function(e){e.component(f.name,f)};var l=f,p=[l],d=function e(t){if(e.installed)return!1;e.installed=!0,p.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};t["default"]=y},"149f":function(e,t,n){e.exports=!n("238a")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"190b":function(e,t,n){n("149f")&&"g"!=/./g.flags&&n("064e").f(RegExp.prototype,"flags",{configurable:!0,get:n("f1fe")})},"224c":function(e,t,n){var r=n("75c4");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"238a":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2b45":function(e,t,n){"use strict";n("190b");var r=n("69b3"),i=n("f1fe"),o=n("149f"),c="toString",a=/./[c],u=function(e){n("bf16")(RegExp.prototype,c,e,!0)};n("238a")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?u((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):a.name!=c&&u((function(){return a.call(this)}))},"32b9":function(e,t,n){"use strict";var r=n("e005"),i=n("cc33"),o=n("399f"),c={};n("86d4")(c,n("cb3d")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(c,{next:i(1,n)}),o(e,t+" Iterator")}},"399f":function(e,t,n){var r=n("064e").f,i=n("e042"),o=n("cb3d")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"475d":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"492d":function(e,t,n){"use strict";var r=n("550e"),i=n("e46b"),o=n("bf16"),c=n("86d4"),a=n("da6d"),u=n("32b9"),s=n("399f"),f=n("58cf"),l=n("cb3d")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",y="keys",h="values",v=function(){return this};e.exports=function(e,t,n,m,b,g,S){u(n,t,m);var x,w,_,P=function(e){if(!p&&e in L)return L[e];switch(e){case y:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",T=b==h,j=!1,L=e.prototype,E=L[l]||L[d]||b&&L[b],k=E||P(b),M=b?T?P("entries"):k:void 0,C="Array"==t&&L.entries||E;if(C&&(_=f(C.call(new e)),_!==Object.prototype&&_.next&&(s(_,O,!0),r||"function"==typeof _[l]||c(_,l,v))),T&&E&&E.name!==h&&(j=!0,k=function(){return E.call(this)}),r&&!S||!p&&!j&&L[l]||c(L,l,k),a[t]=k,a[O]=v,b)if(x={values:T?k:P(h),keys:g?k:P(y),entries:M},S)for(w in x)w in L||o(L,w,x[w]);else i(i.P+i.F*(p||j),t,x);return x}},"4ce5":function(e,t,n){var r=n("5daa");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"550e":function(e,t){e.exports=!1},"56f2":function(e,t,n){var r=n("6798")("keys"),i=n("ec45");e.exports=function(e){return r[e]||(r[e]=i(e))}},"58cf":function(e,t,n){var r=n("e042"),i=n("008a"),o=n("56f2")("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},"5daa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},6798:function(e,t,n){var r=n("7ddc"),i=n("e7ad"),o="__core-js_shared__",c=i[o]||(i[o]={});(e.exports=function(e,t){return c[e]||(c[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("550e")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"69b3":function(e,t,n){var r=n("fb68");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"6d57":function(e,t,n){for(var r=n("e44b"),i=n("80a9"),o=n("bf16"),c=n("e7ad"),a=n("86d4"),u=n("da6d"),s=n("cb3d"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;hf)if(a=u[f++],a!=a)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===n)return e||f||0;return!e&&-1}}},bf16:function(e,t,n){var r=n("e7ad"),i=n("86d4"),o=n("e042"),c=n("ec45")("src"),a=n("d07e"),u="toString",s=(""+a).split(u);n("7ddc").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(o(n,c)||i(n,c,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},bfe7:function(e,t,n){var r=n("fb68"),i=n("e7ad").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},c2f7:function(e,t,n){var r=n("e042"),i=n("09b9"),o=n("b3a6")(!1),c=n("56f2")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),u=0,s=[];for(n in a)n!=c&&r(a,n)&&s.push(n);while(t.length>u)r(a,n=t[u++])&&(~o(s,n)||s.push(n));return s}},cb3d:function(e,t,n){var r=n("6798")("wks"),i=n("ec45"),o=n("e7ad").Symbol,c="function"==typeof o,a=e.exports=function(e){return r[e]||(r[e]=c&&o[e]||(c?o:i)("Symbol."+e))};a.store=r},cc33:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},cc57:function(e,t,n){var r=n("064e").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,c="name";c in i||n("149f")&&r(i,c,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},ceac:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},d07e:function(e,t,n){e.exports=n("6798")("native-function-to-string",Function.toString)},da6d:function(e,t){e.exports={}},db6b:function(e,t,n){e.exports=!n("149f")&&!n("238a")((function(){return 7!=Object.defineProperty(n("bfe7")("div"),"a",{get:function(){return 7}}).a}))},e005:function(e,t,n){var r=n("69b3"),i=n("0dc8"),o=n("ceac"),c=n("56f2")("IE_PROTO"),a=function(){},u="prototype",s=function(){var e,t=n("bfe7")("iframe"),r=o.length,i="<",c=">";t.style.display="none",n("8df1").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+c+"document.F=Object"+i+"/script"+c),e.close(),s=e.F;while(r--)delete s[u][o[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[u]=r(e),n=new a,a[u]=null,n[c]=e):n=s(),void 0===t?n:i(n,t)}},e042:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},e44b:function(e,t,n){"use strict";var r=n("0e8b"),i=n("475d"),o=n("da6d"),c=n("09b9");e.exports=n("492d")(Array,"Array",(function(e,t){this._t=c(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e46b:function(e,t,n){var r=n("e7ad"),i=n("7ddc"),o=n("86d4"),c=n("bf16"),a=n("4ce5"),u="prototype",s=function(e,t,n){var f,l,p,d,y=e&s.F,h=e&s.G,v=e&s.S,m=e&s.P,b=e&s.B,g=h?r:v?r[t]||(r[t]={}):(r[t]||{})[u],S=h?i:i[t]||(i[t]={}),x=S[u]||(S[u]={});for(f in h&&(n=t),n)l=!y&&g&&void 0!==g[f],p=(l?g:n)[f],d=b&&l?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,g&&c(g,f,p,e&s.U),S[f]!=p&&o(S,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},e67d:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},e7ad:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},eafa:function(e,t,n){var r=n("ee21"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},ec45:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},ee21:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},f1fe:function(e,t,n){"use strict";var r=n("69b3");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},f58a:function(e,t,n){var r=n("ee21"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},f6b4:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},fb68:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}}})})); +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-aliplayer-v2"]=e():t["vue-aliplayer-v2"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="112a")}({"0614":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"0cc1":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"112a":function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("e67d"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("7cfd");var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:t.id}})},o=[],a=(n("4634"),n("cc1d"),{name:"VueAliplayerV2",props:{options:{required:!1,type:[Object],default:function(){return null}},source:{required:!1,type:[String],default:null},id:{required:!1,type:[String],default:"player-".concat(Math.random().toString(36).substr(2).toLocaleUpperCase())},cssLink:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"},scriptSrc:{required:!1,type:[String],default:"https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"}},data:function(){return{player:null,config:{id:null,width:"100%",autoplay:!0},events:["ready","play","pause","canplay","playing","ended","liveStreamStop","onM3u8Retry","hideBar","showBar","waiting","timeupdate","snapshoted","requestFullScreen","cancelFullScreen","error","startSeek","completeSeek"]}},watch:{source:function(){this.init()},options:{handler:function(){this.init()},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},updated:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{init:function(){var t=this,e="aliplayer-min-css",n="aliplayer-min-js",r=document.getElementsByTagName("head"),i=document.getElementsByTagName("html"),o=document.getElementById(n),a=document.getElementById(e);if(!a){var c=document.createElement("link");c.type="text/css",c.rel="stylesheet",c.href=this.cssLink,c.id=e,r[0].appendChild(c)}o?this.initPlayer():(o=document.createElement("script"),o.type="text/javascript",o.id=n,o.src=this.scriptSrc,i[0].appendChild(o),o.addEventListener("load",(function(){t.initPlayer()})))},initPlayer:function(){var t=this;if("undefined"!=typeof window.Aliplayer){var e=this.options;if(e)for(var n in e)this.config[n]=e[n];this.source&&(this.config.source=this.source),this.config.id=this.id,this.player&&this.player.dispose(),this.player=Aliplayer(this.config);var r=function(e){t.player&&t.player.on(t.events[e],(function(n){t.$emit(t.events[e],n)}))};for(var i in this.events)r(i)}},getPlayer:function(){return this.player},play:function(){this.player&&this.player.play()},pause:function(){this.player&&this.player.pause()},replay:function(){this.player&&this.player.replay()},seek:function(t){this.player&&this.player.seek(t)},getCurrentTime:function(){return this.player&&this.player.getCurrentTime()},getDuration:function(){return this.player&&this.player.getDuration()},getVolume:function(){return this.player&&this.player.getVolume()},setVolume:function(t){this.player&&this.player.setVolume(t)},loadByUrl:function(t,e){this.player&&this.player.loadByUrl(t,e)},replayByVidAndPlayAuth:function(t,e){this.player&&this.player.replayByVidAndPlayAuth(t,e)},replayByVidAndAuthInfo:function(t,e,n,r,i,o){this.player&&this.player.replayByVidAndAuthInfo(t,e,n,r,i,o)},setPlayerSize:function(t,e){this.player&&this.player.setPlayerSize(t,e)},setSpeed:function(t){this.player&&this.player.setSpeed(t)},setSanpshotProperties:function(t,e,n){this.player&&this.player.setSanpshotProperties(t,e,n)},requestFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.requestFullScreen()},cancelFullScreen:function(){this.player&&this.player.fullscreenService&&this.player.fullscreenService.cancelFullScreen()},getIsFullScreen:function(){return this.player&&this.player.fullscreenService&&this.player.fullscreenService.getIsFullScreen()},getStatus:function(){return this.player&&this.player.getStatus()},setLiveTimeRange:function(t,e){this.player&&this.player.liveShiftSerivce&&this.player.liveShiftSerivce.setLiveTimeRange(t,e)},setRotate:function(t){this.player&&this.player.setRotate(t)},getRotate:function(){return this.player&&this.player.getRotate()},setImage:function(t){this.player&&this.player.setImage(t)},dispose:function(){this.player&&this.player.dispose()},setCover:function(t){this.player&&this.player.setCover(t)},setProgressMarkers:function(t){this.player&&this.player.setProgressMarkers(t)},setPreviewTime:function(t){this.player&&this.player.setPreviewTime(t)},getPreviewTime:function(){return this.player&&this.player.getPreviewTime()},isPreview:function(){this.player&&this.player.isPreview()},off:function(t,e){this.player&&this.player.off(t,e)}},beforeDestroy:function(){var t=document.querySelector("head"),e=document.querySelectorAll('script[src="https://g.alicdn.com/de/prismplayer/2.8.2/hls/aliplayer-hls-min.js"]');t&&e.forEach((function(e){t.removeChild(e)}))}}),c=a;function u(t,e,n,r,i,o,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}var s=u(c,i,o,!1,null,null,null),f=s.exports;f.install=function(t){t.component(f.name,f)};var l=f,p=[l],d=function t(e){if(t.installed)return!1;t.installed=!0,p.map((function(t){return e.component(t.name,t)}))};"undefined"!==typeof window&&window.Vue&&d(window.Vue);var y={install:d,Player:l};e["default"]=y},1277:function(t,e,n){var r=n("f341")("wks"),i=n("4d2c"),o=n("3f8b").Symbol,a="function"==typeof o,c=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};c.store=r},"17cb":function(t,e,n){var r=n("3f8b").document;t.exports=r&&r.documentElement},"1f9e":function(t,e,n){var r=n("6117"),i=n("8941"),o=n("c3a9");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=i(u.length),f=o(a,s);if(t&&n!=n){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},2498:function(t,e,n){var r=n("3f8b"),i=n("da27"),o=n("b8ea"),a=n("a6d5"),c=n("e85e"),u="prototype",s=function(t,e,n){var f,l,p,d,y=t&s.F,h=t&s.G,v=t&s.S,m=t&s.P,g=t&s.B,b=h?r:v?r[e]||(r[e]={}):(r[e]||{})[u],S=h?i:i[e]||(i[e]={}),x=S[u]||(S[u]={});for(f in h&&(n=e),n)l=!y&&b&&void 0!==b[f],p=(l?b:n)[f],d=g&&l?c(p,r):m&&"function"==typeof p?c(Function.call,p):p,b&&a(b,f,p,t&s.U),S[f]!=p&&o(S,f,d),m&&x[f]!=p&&(x[f]=p)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"25ae":function(t,e,n){t.exports=!n("f9a5")&&!n("0cc1")((function(){return 7!=Object.defineProperty(n("6618")("div"),"a",{get:function(){return 7}}).a}))},"2ab1":function(t,e,n){var r=n("da0b");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3038:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"3d87":function(t,e,n){var r=n("d3d8").f,i=n("549d"),o=n("1277")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"3f8b":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},4634:function(t,e,n){for(var r=n("96dd"),i=n("7d56"),o=n("a6d5"),a=n("3f8b"),c=n("b8ea"),u=n("e3b3"),s=n("1277"),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=i(d),h=0;h";e.style.display="none",n("17cb").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),s=t.F;while(r--)delete s[u][o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[u]=r(t),n=new c,c[u]=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},6618:function(t,e,n){var r=n("da0b"),i=n("3f8b").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"6cc2":function(t,e){t.exports=!1},"6fe0":function(t,e,n){t.exports=n("f341")("native-function-to-string",Function.toString)},"7afe":function(t,e,n){var r=n("549d"),i=n("6117"),o=n("1f9e")(!1),a=n("9947")("IE_PROTO");t.exports=function(t,e){var n,c=i(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);while(e.length>u)r(c,n=e[u++])&&(~o(s,n)||s.push(n));return s}},"7cfd":function(t,e,n){var r=n("d3d8").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("f9a5")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7d56":function(t,e,n){var r=n("7afe"),i=n("d93f");t.exports=Object.keys||function(t){return r(t,i)}},8451:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},8941:function(t,e,n){var r=n("a6ad"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"8cac":function(t,e,n){var r=n("da0b");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"8d69":function(t,e,n){var r=n("d3d8"),i=n("8cac"),o=n("7d56");t.exports=n("f9a5")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),c=a.length,u=0;while(c>u)r.f(t,n=a[u++],e[n]);return t}},"96dd":function(t,e,n){"use strict";var r=n("ab19"),i=n("c8e9"),o=n("e3b3"),a=n("6117");t.exports=n("4aef")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},9947:function(t,e,n){var r=n("f341")("keys"),i=n("4d2c");t.exports=function(t){return r[t]||(r[t]=i(t))}},9952:function(t,e,n){var r=n("6077");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"9f7e":function(t,e,n){n("f9a5")&&"g"!=/./g.flags&&n("d3d8").f(RegExp.prototype,"flags",{configurable:!0,get:n("e7a1")})},a6ad:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a6d5:function(t,e,n){var r=n("3f8b"),i=n("b8ea"),o=n("549d"),a=n("4d2c")("src"),c=n("6fe0"),u="toString",s=(""+c).split(u);n("da27").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},a9cf:function(t,e,n){var r=n("3038");t.exports=function(t){return Object(r(t))}},ab19:function(t,e,n){var r=n("1277")("unscopables"),i=Array.prototype;void 0==i[r]&&n("b8ea")(i,r,{}),t.exports=function(t){i[r][t]=!0}},b8ea:function(t,e,n){var r=n("d3d8"),i=n("0614");t.exports=n("f9a5")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},c264:function(t,e,n){"use strict";var r=n("65c3"),i=n("0614"),o=n("3d87"),a={};n("b8ea")(a,n("1277")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},c3a9:function(t,e,n){var r=n("a6ad"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},c8e9:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},cc1d:function(t,e,n){"use strict";n("9f7e");var r=n("8cac"),i=n("e7a1"),o=n("f9a5"),a="toString",c=/./[a],u=function(t){n("a6d5")(RegExp.prototype,a,t,!0)};n("0cc1")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?u((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):c.name!=a&&u((function(){return c.call(this)}))},d15b:function(t,e,n){var r=n("549d"),i=n("a9cf"),o=n("9947")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},d3d8:function(t,e,n){var r=n("8cac"),i=n("25ae"),o=n("2ab1"),a=Object.defineProperty;e.f=n("f9a5")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},d93f:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},da0b:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},da27:function(t,e){var n=t.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},e3b3:function(t,e){t.exports={}},e67d:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},e7a1:function(t,e,n){"use strict";var r=n("8cac");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},e85e:function(t,e,n){var r=n("8451");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},f341:function(t,e,n){var r=n("da27"),i=n("3f8b"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("6cc2")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},f9a5:function(t,e,n){t.exports=!n("0cc1")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}})})); //# sourceMappingURL=vue-aliplayer-v2.umd.min.js.map \ No newline at end of file