From 619cb4e9e73c1db39af6cf5f46fcc1099a21dfa6 Mon Sep 17 00:00:00 2001 From: toxic-johann <353904974@qq.com> Date: Fri, 3 Nov 2017 00:10:53 +0800 Subject: [PATCH] [build] 0.4.1 --- lib/index.browser.js | 6 +++--- lib/index.js | 6 +++--- lib/index.min.js | 2 +- lib/index.mjs | 6 +++--- package.json | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/index.browser.js b/lib/index.browser.js index fb9e25c4..5eff2876 100644 --- a/lib/index.browser.js +++ b/lib/index.browser.js @@ -1,6 +1,6 @@ /** - * chimee v0.4.0 + * chimee v0.4.1 * (c) 2017 toxic-johann * Released under MIT */ @@ -8742,7 +8742,7 @@ var Plugin = (_dec$3 = autobindClass(), _dec$3(_class$3 = function (_VideoWrappe var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this)); _this.destroyed = false; - _this.VERSION = '0.4.0'; + _this.VERSION = '0.4.1'; _this.__operable = true; _this.__level = 0; @@ -10592,7 +10592,7 @@ var Chimee = (_dec = autobindClass(), _dec(_class = (_class2 = (_temp = _class3 }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [frozen], { enumerable: true, initializer: function initializer() { - return '0.4.0'; + return '0.4.1'; } }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [frozen], { enumerable: true, diff --git a/lib/index.js b/lib/index.js index 4603095d..f46354cd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,6 +1,6 @@ /** - * chimee v0.4.0 + * chimee v0.4.1 * (c) 2017 toxic-johann * Released under MIT */ @@ -4155,7 +4155,7 @@ var Plugin = (_dec$3 = toxicDecorators.autobindClass(), _dec$3(_class$3 = functi var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this)); _this.destroyed = false; - _this.VERSION = '0.4.0'; + _this.VERSION = '0.4.1'; _this.__operable = true; _this.__level = 0; @@ -5724,7 +5724,7 @@ var Chimee = (_dec = toxicDecorators.autobindClass(), _dec(_class = (_class2 = ( }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [toxicDecorators.frozen], { enumerable: true, initializer: function initializer() { - return '0.4.0'; + return '0.4.1'; } }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [toxicDecorators.frozen], { enumerable: true, diff --git a/lib/index.min.js b/lib/index.min.js index 97d1069e..c4e1b1c2 100644 --- a/lib/index.min.js +++ b/lib/index.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Chimee=t()}(this,function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return void 0!==e}function n(e){return void 0===e||null===e}function i(e){return Array.isArray(e)}function o(e){return"function"==typeof e}function a(e){return Object(e)===e&&"[object Object]"===String(e)&&!o(e)&&!i(e)}function u(e){return"number"==typeof e}function s(e){return!i(e)&&e-Gn(e)+1>=0}function c(e){return Cn(e)}function l(e){return i(e)?0===e.length:a(e)?0===An(e).length:!e}function f(e){return e instanceof Event||(e&&e.originalEvent)instanceof Event}function d(e){return"string"==typeof e||e instanceof String}function h(e){return"boolean"==typeof e}function p(e){return!!e&&("object"===(void 0===e?"undefined":Sn(e))||"function"==typeof e)&&"function"==typeof e.then}function v(e){return n(e)||h(e)||d(e)||u(e)}function y(e){return!!("object"===("undefined"==typeof Node?"undefined":Sn(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":Sn(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}function g(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":Sn(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":Sn(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)}function m(e,t){if(!y(e)||!y(t))return!1;for(;t.parentNode;)if((t=t.parentNode)===e)return!0;return!1}function b(e){return/<[^>]+?>/.test(e)}function w(e){return e instanceof Error}function _(e,t){if(!d(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":Sn(e)));return d(t)?"["+(e=Kn.FORCE_GLOBAL_TAG?Kn.GLOBAL_TAG:e||Kn.GLOBAL_TAG)+"] > "+t:"["+Kn.GLOBAL_TAG+"] > "+e}function E(e){if(v(e))throw new TypeError("deepClone only accept non primitive type");return pi(e)}function k(){for(var e=arguments.length,t=Array(e),r=0;r-1;n--)if(v(t[n]))throw new TypeError("deepAssign only accept non primitive type");var i=t.shift();return t.forEach(function(e){return pi(e,i)}),i}function O(e,t){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,r,n,i){return t||0!==i?n.toUpperCase():n.toLowerCase()})}function x(e){return O(e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function P(e,t){return e.bind?e.bind(t):e.apply?function(){for(var r=arguments.length,n=Array(r),i=0;i2&&void 0!==arguments[2]?arguments[2]:{},o=r.throwError,a=void 0!==o&&o,u=r.backup;if(d(t)&&(t=t.split(".")),!i(t))throw new TypeError("keys of getDeepProperty must be string or Array");for(var s=[],c=e,l=0,f=t.length;l0?"."+s.join("."):" itself")+" is "+c);return u}c=c[h],s.push(h)}return c}function j(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=rt(t),this.reject=rt(r)}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return+e-+t};return An(e).sort(t).reduce(function(t,r){return t.concat(e[r])},[])}function A(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n=e.length)){var u=o(e[a])?e[a].apply(e,hi(r)):e[a];return!1===u?n("stop"):uo.resolve(u).then(function(){return i(a+1)}).catch(function(e){return n(e||"stop")})}t()}(0)})}function L(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n=e.length||!1!==(o(e[n])?e[n].apply(e,hi(r)):e[n])&&t(++n)}(0)}function M(e,t){var r=e.__evt_id;r||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),r=e.__evt_id=++go.count);var n=r+"_"+t,i=go[n];return i||(i=go[n]=[]),i}function C(e,t,r){var n=yo(null);n.type=t,n.target=e,r&&fo(n,a(r)?r:{data:r}),M(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[n])})}function z(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(n)&&!i&&(i=n,n=void 0);var a=[r,void 0,n];n&&!i&&(i=function(){N(e,t,r,n);for(var i=arguments.length,o=Array(i),a=0;a3&&void 0!==arguments[3]&&arguments[3],i=M(e,t);if(r||n){var o=-1,a=void 0;return i.find(function(e,t){if((!r||e[0]===r)&&(!n||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function F(e,t){var r=e.__evt_id;r||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),r=e.__evt_id=++bo.count);var n=r+"_"+t,i=bo[n];return i||(i=bo[n]=[]),i}function D(e,t,r){var n=yo(null);n.type=t,n.target=e,r&&fo(n,a(r)?r:{data:r}),F(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[n])})}function $(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(n)&&!i&&(i=n,n=void 0);var a=[r,void 0,n];n&&!i&&(i=function(){I(e,t,r,n);for(var i=arguments.length,o=Array(i),a=0;a3&&void 0!==arguments[3]&&arguments[3],i=F(e,t);if(r||n){var o=-1,a=void 0;return i.find(function(e,t){if((!r||e[0]===r)&&(!n||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function R(e){return di(e)}function V(e,t){return e.getAttribute(t)}function H(e,t,r){void 0===r?e.removeAttribute(t):e.setAttribute(t,r)}function B(e,t){if(t&&(t=t.trim())){var r=t.split(/\s+/);if(e.classList)r.forEach(function(t){return e.classList.add(t)});else{var n=" "+(e.className||"")+" ";r.forEach(function(e){-1===n.indexOf(" "+e+" ")&&(n+=" "+e)}),e.className=n.trim()}}}function W(e,t){if(t&&(t=t.trim())){var r=t.split(/\s+/);if(e.classList)r.forEach(function(t){return e.classList.remove(t)});else{var n=" "+e.className+" ";r.forEach(function(e){for(var t=" "+e+" ";-1!==n.indexOf(t);)n=n.replace(t," ")}),e.className=n.trim()}}}function G(e,t){return new RegExp("(?:^|\\s)"+t+"(?=\\s|$)").test(e.className)}function K(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(n){var o=I(e,t+"_once",r);o&&(r=o)}e.removeEventListener(t,r,i)}function U(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(n){var o=r;$(e,t+"_once",o,r=function(){for(var a=arguments.length,u=Array(a),s=0;s4&&void 0!==arguments[4]&&arguments[4],o=function(r){var i=ee(r.target||r.srcElement,e,!0),o=X(t,e,!0).find(function(e){return i.find(function(t){return e===t})});o&&n.apply(o,arguments)};$(e,r+"_delegate_"+t,n,o),e.addEventListener(r,o,i)}function Y(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=I(e,r+"_delegate_"+t,n);o&&e.removeEventListener(r,o,i)}function Q(e,t){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t]||e.style[t]}function Z(e,t,r){if(a(t))for(var n in t)Z(e,n,t[n]);else e.style[t]=r}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,r=arguments[2],n=t.querySelectorAll(e);return r?di(n):n}function J(e){e.parentNode.removeChild(e)}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments[2],n=arguments[3],i=[];for(r&&i.push(e);e&&e.parentNode!==t;)(e=e.parentNode)&&i.push(e);return n&&i.push(t),i}function te(e,t){return e.constructor===ko?e:new ko(e,t)}function re(e){if(!e||!e.hasOwnProperty)return!1;for(var t=["value","initializer","get","set"],r=0,n=t.length;r1&&void 0!==arguments[1]?arguments[1]:"You must pass me an array of function";if(!i(e)||e.length<1)throw new TypeError(t);if(1===e.length){if(!o(e[0]))throw new TypeError(t);return e[0]}return e.reduce(function(e,r){if(!o(r)||!o(e))throw new TypeError(t);return function(t){return P(r,this)(P(e,this)(t))}})}function se(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.get,r=e.set,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.preGet,u=void 0!==a&&a,s=n.preSet,c=void 0===s||s;if(!(o(t)||o(r)||i(t)&&t.length>0||i(r)&&r.length>0))throw new TypeError("@accessor need a getter or setter. If you don't need to add setter/getter. You should remove @accessor");var l="@accessor only accept function or array of function as getter/setter";return t=i(t)?ue(t,l):t,r=i(r)?ue(r,l):r,function(e,n,i){var a=i||{},s=a.configurable,l=void 0===s||s,f=a.enumerable,d=void 0===f||f,h=o(t),p=o(r),v=function(e){return h?P(t,this)(e):e},y=function(e){return p?P(r,this)(e):e};if(ne(i)){var g=i.get,m=i.set,b=o(g),w=o(m);return{get:b||h?function(){var e=this,t=P(v,this),r=function(){return b?P(g,e)():void 0};return(u?[t,r]:[r,t]).reduce(function(e,t){return t(e)},void 0)}:void 0,set:w||p?function(e){var t=this,r=P(y,this),n=function(e){return w?P(m,t)(e):e};return(c?[r,n]:[n,r]).reduce(function(e,t){return t(e)},e)}:void 0,configurable:l,enumerable:d}}if(oe(i)){var _=i.initializer,E=void 0,k=!1;return{get:function(){var e=P(v,this);return k?e(E):(E=P(_,this)(),k=!0,e(E))},set:function(e){var t=P(y,this);return E=c?t(e):e,k=!0,c||t(E),E},configurable:l,enumerable:d}}var O=(i||{}).value;return{get:function(){return P(v,this)(O)},set:function(e){var t=P(y,this);return O=c?t(e):e,c||t(O),O},configurable:l,enumerable:d}}}function le(){for(var e=arguments.length,t=Array(e),r=0;r2&&re(t[2]))throw new Error("You may use @before straightly, @before return decorators, you should call it before you set it as decorator.");for(var n=t.length-1;n>-1;n--)if(!o(t[n]))throw new TypeError("@before only accept function parameter");return function(e,r,n){var a=n||{},u=a.value,s=a.configurable,c=a.enumerable,l=a.writable;if(!o(u))throw new TypeError('@before can only be used on function, please check the property "'+r+'" is a method or not.');return{value:function(){for(var e=this,r=arguments.length,n=Array(r),o=0;o2&&re(t[2]))throw new Error("You may use @initialize straightly, @initialize return decorators, you need to call it");var n=ue(t,"@initialize only accept function parameter");return function(e,t,r){if(void 0===r)return{value:P(n,e)(),configurable:!0,writable:!0,enumerable:!0};if(ne(r)){var i=!1;return ce({get:function(e){return i?e:P(n,this)(e)},set:r.set?function(e){return i=!0,e}:void 0})(e,t,r)}if(oe(r)){var o=r.initializer;return{initializer:function(){return P(n,this)(P(o,this)())},configurable:r.configurable,writable:r.writable,enumerable:r.enumerable}}return{value:P(n,this)(r.value),writable:r.writable,configurable:r.configurable,enumerable:r.enumerable}}}function de(e,t,r,n,i,o){var a=r.configurable,u=r.enumerable,s=o.force,c=o.omit,l=ts(n,i);if(void 0!==l){if(c)return;if(!s)throw new Error('"'+t+'" is an existing property, if you want to override it, please set "force" true in @alias option.');if(!l.configurable)throw new Error('property "'+t+'" is unconfigurable.')}rs(n,i,{get:function(){return e[t]},set:function(r){return e[t]=r,t},configurable:a,enumerable:u})}function he(e,t,r){if(2===arguments.length?d(e)&&(r=t,t=e,e=void 0):1===arguments.length&&(t=e,e=void 0),!d(t))throw new TypeError("@alias need a string as a key to find the porperty to set alias on");var n="If you want to use @alias to set alias on other instance, you must pass in a legal instance";if(void 0!==e&&v(e))throw new TypeError(n);var i=a(r)?r:{force:!1,omit:!1},o=i.force,u=i.omit;return function(r,i,a){function s(e,t,r){var i=v(e)?t:e,o=r.split("."),a=o.slice(-1),u=sa(a,1)[0];if(i=S(i,o.slice(0,-1),{throwError:!0}),v(i))throw new TypeError(n);return{target:i,name:u}}if(a=a||{value:void 0,configurable:!0,writable:!0,enumerable:!0},oe(a))return fe(function(r){var n=s(e,this,t),c=n.target,l=n.name;return de(this,i,a,c,l,{force:o,omit:u}),r})(r,i,a);if(ne(a)){var c=void 0,l=function(r){if(c)return r;var n=s(e,this,t),l=n.target,f=n.name;return de(this,i,a,l,f,{force:o,omit:u}),c=!0,r};return ce({get:l,set:l})(r,i,a)}var f=s(e,r,t),d=f.target,h=f.name;return de(r,i,a,d,h,{force:o,omit:u}),a}}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requirement,a=t.customArgs,u=void 0!==a&&a;return function(){for(var t=arguments.length,a=Array(t>1?t-1:0),s=1;s0&&void 0!==arguments[0]?arguments[0]:{},l=c.exclude,f=void 0===l?[]:l,d=c.include,h=void 0===d?[]:d,p=c.construct,y=void 0!==p&&p,g=c.self,m=void 0!==g&&g;if(!i(f))throw new TypeError("options.exclude must be an array");if(!i(h))throw new TypeError("options.include must be an array");return function(t){var i=o(t);if(!m&&!i)throw new TypeError("@"+e.name+"Class can only be used on class");if(m&&v(t))throw new TypeError("@"+e.name+"Class must be used on non-primitive type value in 'self' mode");var s=m?t:t.prototype;if(n(s))throw new Error("The prototype of the "+t.name+" is empty, please check it");var c=es(s);Ju(s).concat(h).forEach(function(t){var n=c[t];"constructor"===t&&!y||m&&i&&["name","length","prototype"].indexOf(t)>-1||f.indexOf(t)>-1||o(r)&&!1===r(s,t,n,{self:m})||ns(s,t,(u?e.apply(void 0,hi(a)):e)(s,t,n))})}}}function ve(e,t){if(void 0===Pa)throw new Error("Using @autobind on "+t.name+"() requires WeakMap support due to its use of super."+t.name+"()");os||(os=new Pa),!1===os.has(e)&&os.set(e,new Pa);var r=os.get(e);return!1===r.has(t)&&r.set(t,P(t,e)),r.get(t)}function ye(e,t,r){if(1===arguments.length)return is()(e);var n=r||{},i=n.value,a=n.configurable;if(!o(i))throw new TypeError('@autobind can only be used on functions, not "'+i+'" in '+(void 0===i?"undefined":Sn(i))+' on property "'+t+'"');var u=e.constructor;return{configurable:a,enumerable:!1,get:function(){var r=this,n=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{}).other;if(!o(e)&&!p(e)&&!d(e))throw new TypeError("@waitUntil only accept Function, Promise or String");return function(r,i,a){var u=a||{},s=u.value,c=u.configurable;if(!o(s))throw new TypeError("@waituntil can only be used on function, but not "+s+' on property "'+i+'"');var l=!1,f=[],d=p(e)?function(){return e}:o(e)?e:function(){var r=e.split("."),i=r.slice(-1),o=v(t)?this:t;if(!l){var a=S(o,r.slice(0,-1));if(n(a))return a;var u=us(a,i),s=function(e){if(!0===e)for(;f.length>0;)f[0](),f.shift();return e},c=re(u)?ce({set:s})(a,i,u):ce({set:s})(a,i,{value:void 0,configurable:!0,enumerable:!0,writable:!0});ss(a,i,c),l=!0}return S(o,r)};return{value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:{},u=r.self,s=void 0!==u&&u,c=r.omit,l=void 0!==c&&c,f=o(t);if(f||i(t)){if(!o(e))throw new TypeError("If you want to decorator class, you must pass it a legal class");if(f)t(e);else for(var d=0,h=t.length;d-1)return function(){c=!0,P(l,n).apply(void 0,arguments),c=!1,t()};if(!0===s[r])return l;if(a(l)||i(l)){var f=s[r]||_e(l,t,{diff:o,operationPrefix:u});return s[r]=f,f}return s[r]=!0,l},set:function(e,r,n){var l=e[r],f=a(n)||i(n)?_e(n,t,{diff:o,operationPrefix:u}):n;return e[r]=f,s[r]=!0,!!(c||o&&l===f)||(t(),!0)},deleteProperty:function(e,r){return delete e[r],delete s[r],!!c||(t(),!0)}}),f=(n={},Sa(n,u+"set",[fe(function(e){return function(e,t){l[e]=t}}),be]),Sa(n,u+"del",[fe(function(e){return function(e){delete l[e]}}),be]),n);return we(l,f,{self:!0}),l}function Ee(e,t,r){function n(e){var r=void 0;return e.reduce(function(e,n){return e[n]=[ce({set:function(e){return r=this[n],e}}),ce({get:function(e){return f[n]?e:((a(e)||i(e))&&Ee(e,t,{operationPrefix:c,diff:l}),f[n]=!0,e)},set:function(e){return(a(e)||i(e))&&Ee(e,t,{operationPrefix:c,diff:l}),f[n]=!0,d||l&&r===e||t(),e}},{preSet:!1})],e},{})}var u,s=this,c=r.operationPrefix,l=r.diff,f={},d=!1,h=n(Ju(e));if(we(e,h,{self:!0,omit:!0}),i(e)){var p=fs.reduce(function(r,i){return r[i]=[fe(function(r){return r=o(r)?r:Array.prototype[i],function(){var i=e.length;if(d=!0,P(r,e).apply(void 0,arguments),d=!1,i2&&void 0!==arguments[2]?arguments[2]:{},u=a.disable,c=a.isNewVal;if(c=c||-1===Ju(e).indexOf(r),o(t)&&P(t,s)(r,i,{disable:!0,isNewVal:c}),c){var l=n([r]);we(e,l,{self:!0,omit:!0})}u||(e[r]=i)}}),be]),Sa(u,c+"del",[fe(function(r){return function(n){o(r)?P(r,s)(n):delete e[n],t()}}),be]),u);return we(e,v,{self:!0}),e}function ke(){for(var e=arguments.length,t=Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.other,n=t.backup;if(!o(e)&&!d(e))throw new TypeError("@runnable only accept Function or String");return function(t,i,a){var u=a||{},s=u.value,c=u.configurable;if(!o(s))throw new TypeError("@runnable can only be used on method, but not "+s+' on property "'+i+'".');var l=o(e)?e:function(){var t=e.split(".");return S(v(r)?this:r,t)};return n=o(n)?n:function(){},{value:function(){return!0===P(l,this).apply(void 0,arguments)?P(s,this).apply(void 0,arguments):P(n,this).apply(void 0,arguments)},enumerable:!1,configurable:c,writable:!1}}}function xe(e,t,r){return void 0===r?{value:void 0,enumerable:!0,configurable:!0,writable:!0}:(r.configurable=!0,r)}function Pe(){for(var e=arguments.length,t=Array(e),r=0;r2?["set"].concat(t):2===t.length?["video","container","wrapper","videoElement"].indexOf(t[0])>-1?["get"].concat(t):["set","container"].concat(t):["get","container"].concat(t)}function Me(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function Ce(e,t,r,n,i){var o={};return Object.keys(n).forEach(function(e){o[e]=n[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce(function(r,n){return n(e,t,r)||r},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}function ze(e){return d(e)?e:void 0}function Ne(e){return ce({get:function(t){return this.dispatcher.videoConfigReady&&this.inited?this.dom.videoElement[e]:t},set:function(t){return this.dispatcher.videoConfigReady?(this.dom.videoElement[e]=t,t):t}})}function Fe(e){var t=a(e)?e:{set:e,get:e,isBoolean:!1},r=t.set,n=t.get,i=t.isBoolean;return ce({get:function(e){return this.dispatcher.videoConfigReady&&this.inited?this.dom.videoElement[n]:e},set:function(e){if(!this.dispatcher.videoConfigReady)return e;var t=i?e?"":void 0:null===e?void 0:e;return this.dom.setAttr("video",r,t),e}})}function De(e,t){return ce({get:function(r){var n=this.dom.getAttr("video",e);return this.dispatcher.videoConfigReady&&this.inited?t?!!n:n:r},set:function(r){if(!this.dispatcher.videoConfigReady)return r;var n=t?r||void 0:null===r?void 0:r;return this.dom.setAttr("video",e,n),r}})}function $e(e){return ce({get:function(t){if(!this.dispatcher.videoConfigReady)return t;var r=this.dom.getAttr("video",e),n=this.dom.videoElement[e];return s(r)&&u(n)?n:r||void 0},set:function(t){if(!this.dispatcher.videoConfigReady)return t;var r=void 0;return void 0===t||u(t)?r=t:d(t)&&!Number.isNaN(parseFloat(t))&&(r=t),this.dom.setAttr("video",e,r),r}})}function Ie(e,t,r,n,i){var o={};return Object.keys(n).forEach(function(e){o[e]=n[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce(function(r,n){return n(e,t,r)||r},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}function Re(e,t,r){if(a(t))for(var n in t)Re(e,n,t[n]);else e.style[t]=r}function Ve(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(a(t)&&(r=t),d(e)&&(t=e),g(e)||(e=document),!d(t))throw new Error("You must pass in a string as name, but not "+(void 0===t?"undefined":Sn(t))+".");for(var n=r.keyOnly,i=void 0!==n&&n,o=0;o2&&void 0!==arguments[2]?arguments[2]:{},n=r.bubbles,i=void 0===n||n,u=r.cancelable,s=void 0===u||u,c=void 0;if(o(Event)?c=new Event(t,{bubbles:i,cancelable:s}):document.createEvent?(c=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):document.createEventObject&&((c=document.createEventObject()).eventType=t,c.eventName=t),!a(c)&&!f(c))throw new Error("We can't create an object on this browser, please report to author");e.dispatchEvent?e.dispatchEvent(c):e.fireEvent?e.fireEvent("on"+c.eventType,c):e[t]?e[t]():e["on"+t]&&e["on"+t]()}function Be(e,t,r,n,i){var o={};return Object.keys(n).forEach(function(e){o[e]=n[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce(function(r,n){return n(e,t,r)||r},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}function We(e,t,r,n,i){var o={};return Object.keys(n).forEach(function(e){o[e]=n[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce(function(r,n){return n(e,t,r)||r},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}function Ge(e){if("video"===e&&(e="videoElement"),!g(this[e]))throw new TypeError('Your target "'+e+'" is not a legal HTMLElement');for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n0?xt:Ot)(e)},St=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},jt=yt,Tt={}.hasOwnProperty,At=function(e,t){return Tt.call(e,t)},Lt={},Mt={}.toString,Ct=function(e){return Mt.call(e).slice(8,-1)},zt=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Ct(e)?e.split(""):Object(e)},Nt=function(e){return zt(St(e))},Ft=Math.min,Dt=function(e){return e>0?Ft(Pt(e),9007199254740991):0},$t=Math.max,It=Math.min,Rt=function(e,t){return(e=Pt(e))<0?$t(e+t,0):It(e,t)},Vt=et["__core-js_shared__"]||(et["__core-js_shared__"]={}),Ht=function(e){return Vt[e]||(Vt[e]={})},Bt=0,Wt=Math.random(),Gt=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Bt+Wt).toString(36))},Kt=Ht("keys"),Ut=function(e){return Kt[e]||(Kt[e]=Gt(e))},qt=function(e){return function(t,r,n){var i,o=Nt(t),a=Dt(o.length),u=Rt(n,a);if(e&&r!=r){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((e||u in o)&&o[u]===r)return e||u||0;return!e&&-1}}(!1),Yt=Ut("IE_PROTO"),Qt=function(e,t){var r,n=Nt(e),i=0,o=[];for(r in n)r!=Yt&&At(n,r)&&o.push(r);for(;t.length>i;)At(n,r=t[i++])&&(~qt(o,r)||o.push(r));return o},Zt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Xt=Object.keys||function(e){return Qt(e,Zt)},Jt=ut?Object.defineProperties:function(e,t){ot(e);for(var r,n=Xt(t),i=n.length,o=0;i>o;)pt.f(e,r=n[o++],t[r]);return e},er=et.document,tr=er&&er.documentElement,rr=Ut("IE_PROTO"),nr=function(){},ir=function(){var e,t=lt("iframe"),r=Zt.length;for(t.style.display="none",tr.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("