chimee
Version:
a video-player aims to bring wonderful experience on browser
1 lines • 150 kB
JavaScript
!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";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}function u(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}function b(r,i,e){if(u(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}function E(e){return"object"==typeof e?null!==e:"function"==typeof e}function p(e){if(!E(e))throw TypeError(e+" is not an object!");return e}function k(e){try{return!!e()}catch(e){return!0}}function r(e){return s?a.createElement(e):{}}function i(e,t){if(!E(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!E(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!E(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!E(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}function O(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function v(e,t){return d.call(e,t)}var o=t(n(function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}})),P=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),y=n(function(e){var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)}),x=(y.version,!k(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a=P.document,s=E(a)&&E(a.createElement),c=!x&&!k(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}),l=Object.defineProperty,f={f:x?Object.defineProperty:function(e,t,n){if(p(e),t=i(t,!0),p(n),c)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},S=x?function(e,t,n){return f.f(e,t,O(1,n))}:function(e,t,n){return e[t]=n,e},d={}.hasOwnProperty,g="prototype",m=function(e,t,n){var r,i,o,a=e&m.F,s=e&m.G,u=e&m.S,c=e&m.P,l=e&m.B,f=e&m.W,d=s?y:y[t]||(y[t]={}),h=d[g],p=s?P:u?P[t]:(P[t]||{})[g];for(r in s&&(n=t),n)(i=!a&&p&&void 0!==p[r])&&v(d,r)||(o=i?p[r]:n[r],d[r]=s&&"function"!=typeof p[r]?n[r]:l&&i?b(o,P):f&&p[r]==o?function(r){function e(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)}return e[g]=r[g],e}(o):c&&"function"==typeof o?b(Function.call,o):o,c&&((d.virtual||(d.virtual={}))[r]=o,e&m.R&&h&&!h[r]&&S(h,r,o)))};m.F=1,m.G=2,m.S=4,m.P=8,m.B=16,m.W=32,m.U=64,m.R=128;var j=m;j(j.S+j.F*!x,"Object",{defineProperty:f.f});function h(e,t,n){return D.defineProperty(e,t,n)}function w(e){return isNaN(e=+e)?0:(0<e?B:K)(e)}function _(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function T(e){return G.call(e).slice(8,-1)}function A(e){return H(_(e))}function C(e){return 0<e?U(w(e),9007199254740991):0}function M(e){return"Symbol(".concat(void 0===e?"":e,")_",(++X+J).toString(36))}function L(e){return ee[e]||(ee[e]=M(e))}function z(e,t){var n,r=A(e),i=0,o=[];for(n in r)n!=ne&&v(r,n)&&o.push(n);for(;t.length>i;)v(r,n=t[i++])&&(~te(o,n)||o.push(n));return o}function I(){}function F(e,t,n){e&&!v(e=n?e:e.prototype,pe)&&he(e,pe,{configurable:!0,value:t})}var N,D=y.Object,R=n(function(e){e.exports={default:h,__esModule:!0}}),$=t(R),V=t(n(function(e,t){t.__esModule=!0;var n,i=(n=R)&&n.__esModule?n:{default:n};function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}t.default=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}})),K=Math.ceil,B=Math.floor,W=S,q={},G={}.toString,H=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==T(e)?e.split(""):Object(e)},U=Math.min,Y=Math.max,Q=Math.min,Z=n(function(e){var t="__core-js_shared__",n=P[t]||(P[t]={});(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:y.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),X=0,J=Math.random(),ee=Z("keys"),te=(N=!1,function(e,t,n){var r,i,o,a=A(e),s=C(a.length),u=(i=s,(r=w(r=n))<0?Y(r+i,0):Q(r,i));if(N&&t!=t){for(;u<s;)if((o=a[u++])!=o)return!0}else for(;u<s;u++)if((N||u in a)&&a[u]===t)return N||u||0;return!N&&-1}),ne=L("IE_PROTO"),re="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ie=Object.keys||function(e){return z(e,re)},oe=x?Object.defineProperties:function(e,t){p(e);for(var n,r=ie(t),i=r.length,o=0;o<i;)f.f(e,n=r[o++],t[n]);return e},ae=P.document,se=ae&&ae.documentElement,ue=L("IE_PROTO"),ce="prototype",le=function(){var e,t=r("iframe"),n=re.length;for(t.style.display="none",se.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),le=e.F;n--;)delete le[ce][re[n]];return le()},fe=Object.create||function(e,t){var n;return null!==e?(I[ce]=p(e),n=new I,I[ce]=null,n[ue]=e):n=le(),void 0===t?n:oe(n,t)},de=n(function(e){var t=Z("wks"),n=P.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:M)("Symbol."+e))}).store=t}),he=f.f,pe=de("toStringTag"),ve={};S(ve,de("iterator"),function(){return this});function ye(e){return Object(_(e))}function ge(){return this}function me(e,t,n,r,i,o,a){var s,u,c;function l(e){if(!Oe&&e in g)return g[e];switch(e){case"keys":case Pe:return function(){return new n(this,e)}}return function(){return new n(this,e)}}u=t,c=r,(s=n).prototype=fe(ve,{next:O(1,c)}),F(s,u+" Iterator");var f,d,h,p=t+" Iterator",v=i==Pe,y=!1,g=e.prototype,m=g[ke]||g["@@iterator"]||i&&g[i],b=m||l(i),w=i?v?l("entries"):b:void 0,_="Array"==t&&g.entries||m;if(_&&(h=Ee(_.call(new e)))!==Object.prototype&&h.next&&F(h,p,!0),v&&m&&m.name!==Pe&&(y=!0,b=function(){return m.call(this)}),a&&(Oe||y||!g[ke])&&S(g,ke,b),q[t]=b,q[p]=ge,i)if(f={values:v?b:l(Pe),keys:o?b:l("keys"),entries:w},a)for(d in f)d in g||W(g,d,f[d]);else j(j.P+j.F*(Oe||y),t,f);return f}var be,we=L("IE_PROTO"),_e=Object.prototype,Ee=Object.getPrototypeOf||function(e){return e=ye(e),v(e,we)?e[we]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?_e:null},ke=de("iterator"),Oe=!([].keys&&"next"in[].keys()),Pe="values",xe=(be=!0,function(e,t){var n,r,i=String(_(e)),o=w(t),a=i.length;return o<0||a<=o?be?"":void 0:(n=i.charCodeAt(o))<55296||56319<n||o+1===a||(r=i.charCodeAt(o+1))<56320||57343<r?be?i.charAt(o):n:be?i.slice(o,o+2):r-56320+(n-55296<<10)+65536});me(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=xe(t,n),this._i+=e.length,{value:e,done:!1})});function Se(e,t){return{value:t,done:!!e}}me(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,Se(1)):Se(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");q.Arguments=q.Array;for(var je=de("toStringTag"),Te="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Ae=0;Ae<Te.length;Ae++){var Ce=Te[Ae],Me=P[Ce],Le=Me&&Me.prototype;Le&&!Le[je]&&S(Le,je,Ce),q[Ce]=q.Array}var ze={f:de},Ie=ze.f("iterator"),Fe=n(function(e){e.exports={default:Ie,__esModule:!0}});t(Fe);function Ne(e){var t=y.Symbol||(y.Symbol={});"_"==e.charAt(0)||e in t||qe(t,e,{value:ze.f(e)})}function De(e){var t=vt[e]=fe(st[lt]);return t._k=e,t}function Re(e,t){p(e);for(var n,r=function(e){var t=ie(e),n=Ge.f;if(n)for(var r,i=n(e),o=He.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t}(t=A(t)),i=0,o=r.length;i<o;)kt(e,n=r[i++],t[n]);return e}function $e(e){var t=ht.call(this,e=i(e,!0));return!(this===gt&&v(vt,e)&&!v(yt,e))&&(!(t||!v(this,e)||!v(vt,e)||v(this,ft)&&this[ft][e])||t)}function Ve(e,t){if(e=A(e),t=i(t,!0),e!==gt||!v(vt,t)||v(yt,t)){var n=it(e,t);return!n||!v(vt,t)||v(e,ft)&&e[ft][t]||(n.enumerable=!0),n}}function Ke(e){for(var t,n=at(A(e)),r=[],i=0;n.length>i;)v(vt,t=n[i++])||t==ft||t==rt||r.push(t);return r}function Be(e){for(var t,n=e===gt,r=at(n?yt:A(e)),i=[],o=0;r.length>o;)!v(vt,t=r[o++])||n&&!v(gt,t)||i.push(vt[t]);return i}var We=n(function(e){function n(e){t(e,r,{value:{i:"O"+ ++i,w:{}}})}var r=M("meta"),t=f.f,i=0,o=Object.isExtensible||function(){return!0},a=!k(function(){return o(Object.preventExtensions({}))}),s=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!E(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!v(e,r)){if(!o(e))return"F";if(!t)return"E";n(e)}return e[r].i},getWeak:function(e,t){if(!v(e,r)){if(!o(e))return!0;if(!t)return!1;n(e)}return e[r].w},onFreeze:function(e){return a&&s.NEED&&o(e)&&!v(e,r)&&n(e),e}}}),qe=(We.KEY,We.NEED,We.fastKey,We.getWeak,We.onFreeze,f.f),Ge={f:Object.getOwnPropertySymbols},He={f:{}.propertyIsEnumerable},Ue=Array.isArray||function(e){return"Array"==T(e)},Ye=re.concat("length","prototype"),Qe={f:Object.getOwnPropertyNames||function(e){return z(e,Ye)}},Ze=Qe.f,Xe={}.toString,Je="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],et={f:function(e){return Je&&"[object Window]"==Xe.call(e)?function(e){try{return Ze(e)}catch(e){return Je.slice()}}(e):Ze(A(e))}},tt=Object.getOwnPropertyDescriptor,nt={f:x?tt:function(e,t){if(e=A(e),t=i(t,!0),c)try{return tt(e,t)}catch(e){}if(v(e,t))return O(!He.f.call(e,t),e[t])}},rt=We.KEY,it=nt.f,ot=f.f,at=et.f,st=P.Symbol,ut=P.JSON,ct=ut&&ut.stringify,lt="prototype",ft=de("_hidden"),dt=de("toPrimitive"),ht={}.propertyIsEnumerable,pt=Z("symbol-registry"),vt=Z("symbols"),yt=Z("op-symbols"),gt=Object[lt],mt="function"==typeof st&&!!Ge.f,bt=P.QObject,wt=!bt||!bt[lt]||!bt[lt].findChild,_t=x&&k(function(){return 7!=fe(ot({},"a",{get:function(){return ot(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=it(gt,t);r&&delete gt[t],ot(e,t,n),r&&e!==gt&&ot(gt,t,r)}:ot,Et=mt&&"symbol"==typeof st.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof st},kt=function(e,t,n){return e===gt&&kt(yt,t,n),p(e),t=i(t,!0),p(n),v(vt,t)?(n.enumerable?(v(e,ft)&&e[ft][t]&&(e[ft][t]=!1),n=fe(n,{enumerable:O(0,!1)})):(v(e,ft)||ot(e,ft,O(1,{})),e[ft][t]=!0),_t(e,t,n)):ot(e,t,n)};mt||(W((st=function(e){if(this instanceof st)throw TypeError("Symbol is not a constructor!");var t=M(0<arguments.length?e:void 0),n=function(e){this===gt&&n.call(yt,e),v(this,ft)&&v(this[ft],t)&&(this[ft][t]=!1),_t(this,t,O(1,e))};return x&&wt&&_t(gt,t,{configurable:!0,set:n}),De(t)})[lt],"toString",function(){return this._k}),nt.f=Ve,f.f=kt,Qe.f=et.f=Ke,He.f=$e,Ge.f=Be,ze.f=function(e){return De(de(e))}),j(j.G+j.W+j.F*!mt,{Symbol:st});for(var Ot="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Pt=0;Ot.length>Pt;)de(Ot[Pt++]);for(var xt=ie(de.store),St=0;xt.length>St;)Ne(xt[St++]);j(j.S+j.F*!mt,"Symbol",{for:function(e){return v(pt,e+="")?pt[e]:pt[e]=st(e)},keyFor:function(e){if(!Et(e))throw TypeError(e+" is not a symbol!");for(var t in pt)if(pt[t]===e)return t},useSetter:function(){wt=!0},useSimple:function(){wt=!1}}),j(j.S+j.F*!mt,"Object",{create:function(e,t){return void 0===t?fe(e):Re(fe(e),t)},defineProperty:kt,defineProperties:Re,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:Ke,getOwnPropertySymbols:Be});var jt=k(function(){Ge.f(1)});j(j.S+j.F*jt,"Object",{getOwnPropertySymbols:function(e){return Ge.f(ye(e))}}),ut&&j(j.S+j.F*(!mt||k(function(){var e=st();return"[null]"!=ct([e])||"{}"!=ct({a:e})||"{}"!=ct(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=t=r[1],(E(t)||void 0!==e)&&!Et(e))return Ue(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Et(t))return t}),r[1]=t,ct.apply(ut,r)}}),st[lt][dt]||S(st[lt],dt,st[lt].valueOf),F(st,"Symbol"),F(Math,"Math",!0),F(P.JSON,"JSON",!0),Ne("asyncIterator"),Ne("observable");var Tt=y.Symbol,At=n(function(e){e.exports={default:Tt,__esModule:!0}});t(At);function Ct(e,t){var n=(y.Object||{})[e]||Object[e],r={};r[e]=t(n),j(j.S+j.F*k(function(){n(1)}),"Object",r)}var Mt=t(n(function(e,t){t.__esModule=!0;var n=o(Fe),r=o(At),i="function"==typeof r.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof r.default&&"symbol"===i(n.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":i(e)}}));Ct("keys",function(){return function(e){return ie(ye(e))}});var Lt=y.Object.keys,zt=t(n(function(e){e.exports={default:Lt,__esModule:!0}})),It=Math.floor;j(j.S,"Number",{isInteger:function(e){return!E(e)&&isFinite(e)&&It(e)===e}});function Ft(e,t,n){var r={},i=k(function(){return Rt[e]()||"
"!="
"[e]()}),o=r[e]=i?t(Bt):Rt[e];n&&(r[n]=o),j(j.P+j.F*i,"String",r)}var Nt=y.Number.isInteger,Dt=t(n(function(e){e.exports={default:Nt,__esModule:!0}})),Rt="\t\n\v\f\r \u2028\u2029\ufeff",$t="["+Rt+"]",Vt=RegExp("^"+$t+$t+"*"),Kt=RegExp($t+$t+"*$"),Bt=Ft.trim=function(e,t){return e=String(_(e)),1&t&&(e=e.replace(Vt,"")),2&t&&(e=e.replace(Kt,"")),e},Wt=P.parseFloat,qt=Ft.trim,Gt=1/Wt(Rt+"-0")!=-1/0?function(e){var t=qt(String(e),3),n=Wt(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Wt;j(j.S+j.F*(Number.parseFloat!=Gt),"Number",{parseFloat:Gt});var Ht=y.Number.parseFloat,Ut=t(n(function(e){e.exports={default:Ht,__esModule:!0}}));function Yt(e){return void 0!==e}function Qt(e){return null==e}function Zt(e){return Array.isArray(e)}function Xt(e){return"function"==typeof e}function Jt(e){return Object(e)===e&&"[object Object]"===String(e)&&!Xt(e)&&!Zt(e)}function en(e){return"number"==typeof e}function tn(e){return Dt(e)}function nn(e){return Zt(e)?0===e.length:Jt(e)?0===zt(e).length:!e}function rn(e){return e instanceof Event||(e&&e.originalEvent)instanceof Event}function on(e){return"string"==typeof e||e instanceof String}function an(e){return"boolean"==typeof e}function sn(e){return e&&("object"===(void 0===e?"undefined":Mt(e))||"function"==typeof e)&&"function"==typeof e.then}function un(e){return Qt(e)||an(e)||on(e)||en(e)}function cn(e){return"object"===("undefined"==typeof Node?"undefined":Mt(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":Mt(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}function ln(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":Mt(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":Mt(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)}function fn(e,t){if(!cn(e)||!cn(t))return!1;for(;t.parentNode;)if((t=t.parentNode)===e)return!0;return!1}function dn(e){return e instanceof Error}function hn(e,t){if(!on(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":Mt(e)));return on(t)?"["+(e=!pn.FORCE_GLOBAL_TAG&&e||pn.GLOBAL_TAG)+"] > "+t:"["+pn.GLOBAL_TAG+"] > "+e}var pn=(V(vn,null,[{key:"error",value:function(e,t){vn.ENABLE_ERROR&&(console.error||console.warn||console.log).call(console,hn(e,t))}},{key:"info",value:function(e,t){vn.ENABLE_INFO&&(console.info||console.log).call(console,hn(e,t))}},{key:"warn",value:function(e,t){vn.ENABLE_WARN&&(console.warn||console.log).call(console,hn(e,t))}},{key:"debug",value:function(e,t){vn.ENABLE_DEBUG&&(console.debug||console.log).call(console,hn(e,t))}},{key:"verbose",value:function(e,t){vn.ENABLE_VERBOSE&&console.log(hn(e,t))}}]),vn);function vn(){o(this,vn)}pn.GLOBAL_TAG="chimee",pn.FORCE_GLOBAL_TAG=!1,pn.ENABLE_ERROR=!0,pn.ENABLE_INFO=!0,pn.ENABLE_WARN=!0,pn.ENABLE_DEBUG=!0,pn.ENABLE_VERBOSE=!0;function yn(t,e,n,r){try{return r?e(p(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&p(i.call(t)),e}}n(function(_,E){!function(i,f){var d="function",e="model",t="name",n="type",r="vendor",o="version",a="architecture",s="console",u="mobile",c="tablet",l="smarttv",h="wearable",p={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:f},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},v={rgx:function(e,t){for(var n,r,i,o,a,s=0;s<t.length&&!o;){for(var u=t[s],c=t[s+1],l=n=0;l<u.length&&!o;)if(o=u[l++].exec(e))for(r=0;r<c.length;r++)a=o[++n],"object"==typeof(i=c[r])&&0<i.length?2==i.length?typeof i[1]==d?this[i[0]]=i[1].call(this,a):this[i[0]]=i[1]:3==i.length?typeof i[1]!=d||i[1].exec&&i[1].test?this[i[0]]=a?a.replace(i[1],i[2]):f:this[i[0]]=a?i[1].call(this,a,i[2]):f:4==i.length&&(this[i[0]]=a?i[3].call(this,a.replace(i[1],i[2])):f):this[i]=a||f;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&0<t[n].length){for(var r=0;r<t[n].length;r++)if(p.has(t[n][r],e))return"?"===n?f:n}else if(p.has(t[n],e))return"?"===n?f:n;return e}},y={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[t,o],[/(opios)[\/\s]+([\w\.]+)/i],[[t,"Opera Mini"],o],[/\s(opr)\/([\w\.]+)/i],[[t,"Opera"],o],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[t,o],[/(konqueror)\/([\w\.]+)/i],[[t,"Konqueror"],o],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[t,"IE"],o],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[t,"Edge"],o],[/(yabrowser)\/([\w\.]+)/i],[[t,"Yandex"],o],[/(Avast)\/([\w\.]+)/i],[[t,"Avast Secure Browser"],o],[/(AVG)\/([\w\.]+)/i],[[t,"AVG Secure Browser"],o],[/(puffin)\/([\w\.]+)/i],[[t,"Puffin"],o],[/(focus)\/([\w\.]+)/i],[[t,"Firefox Focus"],o],[/(opt)\/([\w\.]+)/i],[[t,"Opera Touch"],o],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[t,"UCBrowser"],o],[/(comodo_dragon)\/([\w\.]+)/i],[[t,/_/g," "],o],[/(windowswechat qbcore)\/([\w\.]+)/i],[[t,"WeChat(Win) Desktop"],o],[/(micromessenger)\/([\w\.]+)/i],[[t,"WeChat"],o],[/(brave)\/([\w\.]+)/i],[[t,"Brave"],o],[/(qqbrowserlite)\/([\w\.]+)/i],[t,o],[/(QQ)\/([\d\.]+)/i],[t,o],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[t,o],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[t,o],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[t,o],[/(MetaSr)[\/\s]?([\w\.]+)/i],[t],[/(LBBROWSER)/i],[t],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[o,[t,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[o,[t,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[t,o],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[o,[t,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[t,/(.+)/,"$1 WebView"],o],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[t,/(.+(?:g|us))(.+)/,"$1 $2"],o],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[o,[t,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[t,"Sailfish Browser"],o],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[t,o],[/(dolfin)\/([\w\.]+)/i],[[t,"Dolphin"],o],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[t,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[t,"Chrome"],o],[/(coast)\/([\w\.]+)/i],[[t,"Opera Coast"],o],[/fxios\/([\w\.-]+)/i],[o,[t,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[o,[t,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[o,t],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[t,"GSA"],o],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[t,[o,v.str,y.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[t,o],[/(navigator|netscape)\/([\w\.-]+)/i],[[t,"Netscape"],o],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[t,o]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[a,"amd64"]],[/(ia32(?=;))/i],[[a,p.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[a,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[a,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[a,/ower/,"",p.lowerize]],[/(sun4\w)[;\)]/i],[[a,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[a,p.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[e,r,[n,c]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[r,"Apple"],[n,c]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[r,"Apple"],[n,l]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[r,e,[n,c]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[r,"Amazon"],[n,c]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,v.str,y.device.amazon.model],[r,"Amazon"],[n,u]],[/android.+aft([bms])\sbuild/i],[e,[r,"Amazon"],[n,l]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,r,[n,u]],[/\((ip[honed|\s\w*]+);/i],[e,[r,"Apple"],[n,u]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[r,e,[n,u]],[/\(bb10;\s(\w+)/i],[e,[r,"BlackBerry"],[n,u]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[e,[r,"Asus"],[n,c]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[r,"Sony"],[e,"Xperia Tablet"],[n,c]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[e,[r,"Sony"],[n,u]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[r,e,[n,s]],[/android.+;\s(shield)\sbuild/i],[e,[r,"Nvidia"],[n,s]],[/(playstation\s[34portablevi]+)/i],[e,[r,"Sony"],[n,s]],[/(sprint\s(\w+))/i],[[r,v.str,y.device.sprint.vendor],[e,v.str,y.device.sprint.model],[n,u]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[r,[e,/_/g," "],[n,u]],[/(nexus\s9)/i],[e,[r,"HTC"],[n,c]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[e,[r,"Huawei"],[n,u]],[/android.+(bah2?-a?[lw]\d{2})/i],[e,[r,"Huawei"],[n,c]],[/(microsoft);\s(lumia[\s\w]+)/i],[r,e,[n,u]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[r,"Microsoft"],[n,s]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[r,"Microsoft"],[n,u]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[r,"Motorola"],[n,u]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[r,"Motorola"],[n,c]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[r,p.trim],[e,p.trim],[n,l]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[r,"Samsung"],[n,l]],[/\(dtv[\);].+(aquos)/i],[e,[r,"Sharp"],[n,l]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[r,"Samsung"],e,[n,c]],[/smart-tv.+(samsung)/i],[r,[n,l],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[r,"Samsung"],e,[n,u]],[/sie-(\w*)/i],[e,[r,"Siemens"],[n,u]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[r,"Nokia"],e,[n,u]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[e,[r,"Acer"],[n,c]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[r,"LG"],[n,c]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[r,"LG"],e,[n,c]],[/(lg) netcast\.tv/i],[r,e,[n,l]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[r,"LG"],[n,u]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[r,e,[n,c]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[r,"Lenovo"],[n,c]],[/(lenovo)[_\s-]?([\w-]+)/i],[r,e,[n,u]],[/linux;.+((jolla));/i],[r,e,[n,u]],[/((pebble))app\/[\d\.]+\s/i],[r,e,[n,h]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[r,e,[n,u]],[/crkey/i],[[e,"Chromecast"],[r,"Google"],[n,l]],[/android.+;\s(glass)\s\d/i],[e,[r,"Google"],[n,h]],[/android.+;\s(pixel c)[\s)]/i],[e,[r,"Google"],[n,c]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[e,[r,"Google"],[n,u]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,u]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[r,"Xiaomi"],[n,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[r,"Meizu"],[n,u]],[/(mz)-([\w-]{2,})/i],[[r,"Meizu"],e,[n,u]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[e,[r,"OnePlus"],[n,u]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[r,"RCA"],[n,c]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[r,"Dell"],[n,c]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[r,"Verizon"],[n,c]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[r,"Barnes & Noble"],e,[n,c]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[r,"NuVision"],[n,c]],[/android.+;\s(k88)\sbuild/i],[e,[r,"ZTE"],[n,c]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[r,"Swiss"],[n,u]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[r,"Swiss"],[n,c]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[r,"Zeki"],[n,c]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[r,"Dragon Touch"],e,[n,c]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[r,"Insignia"],[n,c]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[r,"NextBook"],[n,c]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[r,"Voice"],e,[n,u]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[r,"LvTel"],e,[n,u]],[/android.+;\s(PH-1)\s/i],[e,[r,"Essential"],[n,u]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[r,"Envizen"],[n,c]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[r,e,[n,c]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[r,"MachSpeed"],[n,c]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[r,e,[n,c]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[r,"Rotor"],[n,c]],[/android.+(KS(.+))\s+build/i],[e,[r,"Amazon"],[n,c]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[r,e,[n,c]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[n,p.lowerize],r,e],[/[\s\/\(](smart-?tv)[;\)]/i],[[n,l]],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[r,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[o,[t,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[o,[t,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[t,o],[/rv\:([\w\.]{1,9}).+(gecko)/i],[o,t]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[t,o],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[t,[o,v.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[t,"Windows"],[o,v.str,y.os.windows.version]],[/\((bb)(10);/i],[[t,"BlackBerry"],o],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[t,o],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[t,"Symbian"],o],[/\((series40);/i],[t],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[t,"Firefox OS"],o],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[t,o],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[t,"Chromium OS"],o],[/(sunos)\s?([\w\.\d]*)/i],[[t,"Solaris"],o],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[t,o],[/(haiku)\s(\w+)/i],[t,o],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[o,/_/g,"."],[t,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[t,"Mac OS"],[o,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[t,o]]},m=function(e,t){if("object"==typeof e&&(t=e,e=f),!(this instanceof m))return new m(e,t).getResult();var n=e||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=t?p.extend(g,t):g;return this.getBrowser=function(){var e={name:f,version:f};return v.rgx.call(e,n,r.browser),e.major=p.major(e.version),e},this.getCPU=function(){var e={architecture:f};return v.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:f,model:f,type:f};return v.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:f,version:f};return v.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:f,version:f};return v.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};m.VERSION="0.7.21",m.BROWSER={NAME:t,MAJOR:"major",VERSION:o},m.CPU={ARCHITECTURE:a},m.DEVICE={MODEL:e,VENDOR:r,TYPE:n,CONSOLE:s,MOBILE:u,SMARTTV:l,TABLET:c,WEARABLE:h,EMBEDDED:"embedded"},m.ENGINE={NAME:t,VERSION:o},m.OS={NAME:t,VERSION:o},_.exports&&(E=_.exports=m),E.UAParser=m;var b,w=i&&(i.jQuery||i.Zepto);w&&!w.ua&&(b=new m,w.ua=b.getResult(),w.ua.get=function(){return b.getUA()},w.ua.set=function(e){b.setUA(e);var t=b.getResult();for(var n in t)w.ua[n]=t[n]})}("object"==typeof window?window:e)}).UAParser;function gn(e){return void 0!==e&&(q.Array===e||_n[wn]===e)}function mn(e,t,n){t in e?f.f(e,t,O(0,n)):e[t]=n}function bn(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),En))?n:kn?T(t):"Object"==(r=T(t))&&"function"==typeof t.callee?"Arguments":r}var wn=de("iterator"),_n=Array.prototype,En=de("toStringTag"),kn="Arguments"==T(function(){return arguments}()),On=de("iterator"),Pn=y.getIteratorMethod=function(e){if(null!=e)return e[On]||e["@@iterator"]||q[bn(e)]},xn=de("iterator"),Sn=!1;try{[7][xn]().return=function(){Sn=!0}}catch(e){}function jn(e,t){if(t||Sn){var n=!1;try{var r=[7],i=r[xn]();i.next=function(){return{done:n=!0}},r[xn]=function(){return i},e(r)}catch(e){}return n}}j(j.S+j.F*!jn(function(e){}),"Array",{from:function(e,t,n){var r,i,o,a,s=ye(e),u="function"==typeof this?this:Array,c=arguments.length,l=1<c?t:void 0,f=void 0!==l,d=0,h=Pn(s);if(f&&(l=b(l,2<c?n:void 0,2)),null==h||u==Array&&gn(h))for(i=new u(r=C(s.length));d<r;d++)mn(i,d,f?l(s[d],d):s[d]);else for(a=h.call(s),i=new u;!(o=a.next()).done;d++)mn(i,d,f?yn(a,l,[o.value,d],!0):o.value);return i.length=d,i}});var Tn=y.Array.from,An=n(function(e){e.exports={default:Tn,__esModule:!0}}),Cn=t(An),Mn=t(n(function(e,t){t.__esModule=!0;var n,r=(n=An)&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,r.default)(e)}}));var Ln=function(o,e){var a=1<arguments.length&&void 0!==e?e:function(e,t,n){e[t]=n};return function e(t,n,r){if(Zt(t)||Jt(t)){for(var i in n=un(n)?Jt(t)?{}:[]:n,t)a(n,i,e(t[i],n[i],i));return n}return o(t,n,r)}}(function(e){return e});function zn(e){if(un(e))throw new TypeError("deepClone only accept non primitive type");return Ln(e)}function In(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length<2)throw new Error("deepAssign accept two and more argument");for(var r=t.length-1;-1<r;r--)if(un(t[r]))throw new TypeError("deepAssign only accept non primitive type");var i=t.shift();return t.forEach(function(e){return Ln(e,i)}),i}function Fn(e,i){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,t,n,r){return i||0!==r?n.toUpperCase():n.toLowerCase()})}function Nn(r,i){return r.bind?r.bind(i):r.apply?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(i,t)}:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.call.apply(r,[i].concat(Mn(t)))}}function Dn(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}function Rn(e,t){var n,r=p(e).constructor;return void 0===r||null==(n=p(r)[Gn])?t:u(n)}function $n(){var e,t=+this;Jn.hasOwnProperty(t)&&(e=Jn[t],delete Jn[t],e())}function Vn(e){$n.call(e.data)}var Kn,Bn,Wn,qn=n(function(e){var d={},h={},t=e.exports=function(e,t,n,r,i){var o,a,s,u,c=i?function(){return e}:Pn(e),l=b(n,r,t?2:1),f=0;if("function"!=typeof c)throw TypeError(e+" is not iterable!");if(gn(c)){for(o=C(e.length);f<o;f++)if((u=t?l(p(a=e[f])[0],a[1]):l(e[f]))===d||u===h)return u}else for(s=c.call(e);!(a=s.next()).done;)if((u=yn(s,l,a.value,t))===d||u===h)return u};t.BREAK=d,t.RETURN=h}),Gn=de("species"),Hn=P.process,Un=P.setImmediate,Yn=P.clearImmediate,Qn=P.MessageChannel,Zn=P.Dispatch,Xn=0,Jn={},er="onreadystatechange";Un&&Yn||(Un=function(e){for(var t=[],n=1;n<arguments.length;)t.push(arguments[n++]);return Jn[++Xn]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),t)},Kn(Xn),Xn},Yn=function(e){delete Jn[e]},"process"==T(Hn)?Kn=function(e){Hn.nextTick(b($n,e,1))}:Zn&&Zn.now?Kn=function(e){Zn.now(b($n,e,1))}:Qn?(Wn=(Bn=new Qn).port2,Bn.port1.onmessage=Vn,Kn=b(Wn.postMessage,Wn,1)):P.addEventListener&&"function"==typeof postMessage&&!P.importScripts?(Kn=function(e){P.postMessage(e+"","*")},P.addEventListener("message",Vn,!1)):Kn=er in r("script")?function(e){se.appendChild(r("script"))[er]=function(){se.removeChild(this),$n.call(e)}}:function(e){setTimeout(b($n,e,1),0)});var tr={set:Un,clear:Yn},nr=tr.set,rr=P.MutationObserver||P.WebKitMutationObserver,ir=P.process,or=P.Promise,ar="process"==T(ir);function sr(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=u(n),this.reject=u(r)}function ur(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}function cr(e,t){if(p(e),E(t)&&t.constructor===e)return t;var n=gr.f(e);return(0,n.resolve)(t),n.promise}function lr(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:S(e,r,t[r]);return e}var fr,dr,hr,pr,vr,yr,gr={f:function(e){return new sr(e)}},mr=P.navigator,br=mr&&mr.userAgent||"",wr=de("species"),_r=tr.set,Er=(pr=ar?function(){ir.nextTick(kr)}:!rr||P.navigator&&P.navigator.standalone?or&&or.resolve?(hr=or.resolve(void 0),function(){hr.then(kr)}):function(){nr.call(P,kr)}:(vr=!0,yr=document.createTextNode(""),new rr(kr).observe(yr,{characterData:!0}),function(){yr.data=vr=!vr}),function(e){var t={fn:e,next:void 0};dr&&(dr.next=t),fr||(fr=t,pr()),dr=t});function kr(){var e,t;for(ar&&(e=ir.domain)&&e.exit();fr;){t=fr.fn,fr=fr.next;try{t()}catch(e){throw fr?pr():dr=void 0,e}}dr=void 0,e&&e.enter()}function Or(){}function Pr(e){var t;return!(!E(e)||"function"!=typeof(t=e.then))&&t}function xr(l,t){var n;l._n||(l._n=!0,n=l._c,Er(function(){for(var u=l._v,c=1==l._s,e=0;n.length>e;)!function(e){var t,n,r,i=c?e.ok:e.fail,o=e.resolve,a=e.reject,s=e.domain;try{i?(c||(2==l._h&&qr(l),l._h=1),!0===i?t=u:(s&&s.enter(),t=i(u),s&&(s.exit(),r=!0)),t===e.promise?a(Ir("Promise-chain cycle")):(n=Pr(t))?n.call(t,o,a):o(t)):a(u)}catch(e){s&&!r&&s.exit(),a(e)}}(n[e++]);l._c=[],l._n=!1,t&&!l._h&&Br(l)}))}function Sr(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),xr(t,!0))}var jr,Tr,Ar,Cr,Mr,Lr,zr="Promise",Ir=P.TypeError,Fr=P.process,Nr=Fr&&Fr.versions,Dr=Nr&&Nr.v8||"",Rr=P[zr],$r="process"==bn(Fr),Vr=Tr=gr.f,Kr=!!function(){try{var e=Rr.resolve(1),t=(e.constructor={})[de("species")]=function(e){e(Or,Or)};return($r||"function"==typeof PromiseRejectionEvent)&&e.then(Or)instanceof t&&0!==Dr.indexOf("6.6")&&-1===br.indexOf("Chrome/66")}catch(e){}}(),Br=function(o){_r.call(P,function(){var e,t,n,r=o._v,i=Wr(o);if(i&&(e=ur(function(){$r?Fr.emit("unhandledRejection",r,o):(t=P.onunhandledrejection)?t({promise:o,reason:r}):(n=P.console)&&n.error&&n.error("Unhandled promise rejection",r)}),o._h=$r||Wr(o)?2:1),o._a=void 0,i&&e.e)throw e.v})},Wr=function(e){return 1!==e._h&&0===(e._a||e._c).length},qr=function(t){_r.call(P,function(){var e;$r?Fr.emit("rejectionHandled",t):(e=P.onrejectionhandled)&&e({promise:t,reason:t._v})})},Gr=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Ir("Promise can't be resolved itself");(n=Pr(e))?Er(function(){var t={_w:r,_d:!1};try{n.call(e,b(Gr,t,1),b(Sr,t,1))}catch(e){Sr.call(t,e)}}):(r._v=e,r._s=1,xr(r,!1))}catch(e){Sr.call({_w:r,_d:!1},e)}}};Kr||(Rr=function(e){Dn(this,Rr,zr,"_h"),u(e),jr.call(this);try{e(b(Gr,this,1),b(Sr,this,1))}catch(e){Sr.call(this,e)}},(jr=function(){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=lr(Rr.prototype,{then:function(e,t){var n=Vr(Rn(this,Rr));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=$r?Fr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&xr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),Ar=function(){var e=new jr;this.promise=e,this.resolve=b(Gr,e,1),this.reject=b(Sr,e,1)},gr.f=Vr=function(e){return e===Rr||e===Cr?new Ar:Tr(e)}),j(j.G+j.W+j.F*!Kr,{Promise:Rr}),F(Rr,zr),Lr="function"==typeof y[Mr=zr]?y[Mr]:P[Mr],x&&Lr&&!Lr[wr]&&f.f(Lr,wr,{configurable:!0,get:function(){return this}}),Cr=y[zr],j(j.S+j.F*!Kr,zr,{reject:function(e){var t=Vr(this);return(0,t.reject)(e),t.promise}}),j(j.S+!0*j.F,zr,{resolve:function(e){return cr(this===Cr?Rr:this,e)}}),j(j.S+j.F*!(Kr&&jn(function(e){Rr.all(e).catch(Or)})),zr,{all:function(e){var a=this,t=Vr(a),s=t.resolve,u=t.reject,n=ur(function(){var r=[],i=0,o=1;qn(e,!1,function(e){var t=i++,n=!1;r.push(void 0),o++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--o||s(r))},u)}),--o||s(r)});return n.e&&u(n.v),t.promise},race:function(e){var t=this,n=Vr(t),r=n.reject,i=ur(function(){qn(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),j(j.P+j.R,"Promise",{finally:function(t){var n=Rn(this,y.Promise||P.Promise),e="function"==typeof t;return this.then(e?function(e){return cr(n,t()).then(function(){return e})}:t,e?function(e){return cr(n,t()).then(function(){throw e})}:t)}}),j(j.S,"Promise",{try:function(e){var t=gr.f(this),n=ur(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var Hr=y.Promise,Ur=t(n(function(e){e.exports={default:Hr,__esModule:!0}})),Yr="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window);function Qr(n,e){var t=1<arguments.length&&void 0!==e?e:function(e,t){return e-t};return zt(n).sort(t).reduce(function(e,t){return e.concat(n[t])},[])}function Zr(o){for(var e=arguments.length,a=Array(1<e?e-1:0),t=1;t<e;t++)a[t-1]=arguments[t];return new Ur(function(r,i){!function e(t){if(!(t>=o.length)){var n=Xt(o[t])?o[t].apply(o,Mn(a)):o[t];return!1===n?i("stop"):Ur.resolve(n).then(function(){return e(t+1)}).catch(function(e){return i(e||"stop")})}r()}(0)})}function Xr(n){for(var e=arguments.length,r=Array(1<e?e-1:0),t=1;t<e;t++)r[t-1]=arguments[t];return function e(t){return t>=n.length||!1!==(Xt(n[t])?n[t].apply(n,Mn(r)):n[t])&&e(++t)}(0)}Yr&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),Yr&&(window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame);var Jr=Object.assign,ei=!Jr||k(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Jr({},e)[n]||Object.keys(Jr({},t)).join("")!=r})?function(e,t){for(var n=ye(e),r=arguments.length,i=1,o=Ge.f,a=He.f;i<r;)for(var s,u=H(arguments[i++]),c=o?ie(u).concat(o(u)):ie(u),l=c.length,f=0;f<l;)s=c[f++],x&&!a.call(u,s)||(n[s]=u[s]);return n}:Jr;j(j.S+j.F,"Object",{assign:ei});var ti=y.Object.assign,ni=t(n(function(e){e.exports={default:ti,__esModule:!0}}));j(j.S,"Object",{create:fe});function ri(e,t){return ii.create(e,t)}var ii=y.Object,oi=t(n(function(e){e.exports={default:ri,__esModule:!0}})),ai=oi(null);function si(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++ai.count);var r=n+"_"+t;return ai[r]||(ai[r]=[])}function ui(r,i,o,e,t){var a=3<arguments.length&&void 0!==e&&e,n=t;Xt(a)&&!n&&(n=a,a=void 0);var s=[o,void 0,a];a&&!n&&(n=function(){ci(r,i,o,a);for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.apply(r,t)}),n&&(s[1]=n),si(r,i).push(s)}function ci(e,t,n,r){var i=3<arguments.length&&void 0!==r&&r,o=si(e,t);if(n||i){var a=-1,s=void 0;return o.find(function(e,t){if((!n||e[0]===n)&&(!i||e[2]))return a=t,s=e[1],!0}),-1!==a&&o.splice(a,1),s}o.length=0}ai.count=0;var li=(V(fi,[{key:"on",value:function(e,t,n){var r=2<arguments.length&&void 0!==n&&n;return ui(this.__target,e,t,r),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t,n){var r=2<arguments.length&&void 0!==n&&n;return ci(this.__target,e,t,r),this}},{key:"emit",value:function(e,t){var n,r,i,o;return n=this.__target,r=e,i={data:t},(o=oi(null)).type=r,o.target=n,i&&ni(o,Jt(i)?i:{data:i}),si(n,r).forEach(function(e){(e[1]||e[0]).apply(n,[o])}),this}}]),fi);function fi(t,e){var n=this;if(o(this,fi),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":Mt(t)))throw new Error("CusEvent target are not object");this.__target=t,e&&["on","once","off","emit"].forEach(function(e){t[e]=n[e]})}}var di=Yr?document.createElement("div"):{},hi="innerText";"textContent"in di&&(hi="textContent");var pi=Array.prototype;function vi(e,t){return e.getAttribute(t)}function yi(e,t,n){void 0===n?e.removeAttribute(t):e.setAttribute(t,n)}function gi(t,e){var n,r;(e=e&&e.trim())&&(n=e.split(/\s+/),t.classList?n.forEach(function(e){return t.classList.add(e)}):(r=" "+(t.className||"")+" ",n.forEach(function(e){-1===r.indexOf(" "+e+" ")&&(r+=" "+e)}),t.className=r.trim()))}var mi=!1;try{var bi=Object.defineProperty({},"passive",{get:function(){mi=!0}});Yr&&window.addEventListener("test",null,bi)}catch(e){console.error(e)}function wi(e,t,n){var r,i=4<arguments.length&&void 0!==arguments[4]&&arguments[4];void 0!==i&&!an(i)&&mi&&(i={passive:!0}),3<arguments.length&&void 0!==arguments[3]&&arguments[3]&&((r=ci(e,t+"_once",n))&&(n=r)),e.removeEventListener(t,n,i)}function _i(r,i,o){var a,s=3<arguments.length&&void 0!==arguments[3]&&arguments[3],u=4<arguments.length&&void 0!==arguments[4]&&arguments[4];void 0!==u&&!an(u)&&mi&&(u={passive:!0}),s&&(a=o,o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.apply(this,t),wi(r,i,o,s,u)},ui(r,i+"_once",a,o)),r.addEventListener(i,o,u)}function Ei(i,o,e,a,t){var n=4<arguments.length&&void 0!==t&&t;void 0!==n&&!an(n)&&mi&&(n={passive:!0});function r(e){var n=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=arguments[3],r=[];arguments[2]&&r.push(e);for(;e&&e.parentNode!==t;)(e=e.parentNode)&&r.push(e);n&&r.push(t);return r}(e.target||e.srcElement,i,!0),t=Pi(o,i,!0),r=void 0;t.find?r=t.find(function(t){return n.find(function(e){return t===e})}):t.forEach(function(t){return!r&&n.forEach(function(e){r||t!==e||(r=e)})}),r&&a.apply(r,arguments)}ui(i,e+"_delegate_"+o,a,r),i.addEventListener(e,r,n)}function ki(e,t){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t]||e.style[t]}function Oi(e,t,n){if(Jt(t))for(var r in t)Oi(e,r,t[r]);else e.style[t]=n}function Pi(e,t,n){var r=n,i=(1<arguments.length&&void 0!==t?t:document).querySelectorAll(e);return r?Cn(i):i}var xi=(V(Si,[{key:"each",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.forEach.apply(this,t),this}},{key:"push",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.push.apply(this,t),this}},{key:"splice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ji(pi.splice.apply(this,t))}},{key:"find",value:function(t){var n=[];this.each(function(e){n=n.concat(Pi(t,e,!0))});var e=ji(n);return e.parent=this,e.selector=t,e}},{key:"append",value:function(e){var t=ji(e),n=this[0];return t.each(function(e){return n.appendChild(e)}),this}},{key:"appendTo",value:function(e){return ji(e).append(this),this}},{key:"text",value:function(t){return 0===arguments.length?this[0][hi]:this.each(function(e){e[hi]=t})}},{key:"html",value:function(t){return 0===arguments.length?this[0].innerHTML:this.each(function(e){e.innerHTML=t})}},{key:"attr",value:function(t,n){return 1===arguments.length?vi(this[0],t):this.each(function(e){return yi(e,t,n)})}},{key:"data",value:function(t,n){return 0===arguments.length?this[0].dataset||{}:1===arguments.length?(this[0].dataset||{})[t]:this.each(function(e){(e.dataset||(e.dataset={}))[t]=n})}},{key:"css",value:function(t,n){return 1!==arguments.length||Jt(t)?this.each(function(e){return Oi(e,t,n)}):ki(this[0],t)}},{key:"addClass",value:function(t){return this.each(function(e){return gi(e,t)})}},{key:"removeClass",value:function(o){return this.each(function(e){return t=e,void((n=(n=o)&&n.trim())&&(r=n.split(/\s+/),t.classList?r.forEach(function(e){return t.classList.remove(e)}):(i=" "+t.className+" ",r.forEach(function(e){for(var t=" "+e+" ";-1!==i.indexOf(t);)i=i.replace(t," ")}),t.className=i.trim())));var t,n,r,i})}},{key:"hasClass",value:function(e){return t=this[0],new RegExp("(?:^|\\s)"+e+"(?=\\s|$)").test(t.className);var t}},{key:"on",value:function(t,n,e,r){var i=2<arguments.length&&void 0!==e&&e,o=3<arguments.length&&void 0!==r&&r;return this.each(function(e){return _i(e,t,n,i,o)})}},{key:"off",value:function(t,n,e,r){var i=2<arguments.length&&void 0!==e&&e,o=3<arguments.length&&void 0!==r&&r;return this.each(function(e){return wi(e,t,n,i,o)})}},{key:"delegate",value:function(t,n,r,e){var i=3<arguments.length&&void 0!==e&&e;return this.each(function(e){return Ei(e,t,n,r,i)})}},{key:"undelegate",value:function(t,n,r,e){var i=3<arguments.length&&void 0!==e&&e;return this.each(function(e){return function(e,t,n,r,i){var o=4<arguments.length&&void 0!==i&&i;void 0!==o&&!an(o)&&mi&&(o={passive:!0});var a=ci(e,n+"_delegate_"+t,r);a&&e.removeEventListener(n,a,o)}(e,t,n,r,i)})}},{key:"remove",value:function(){return this.each(function(e){var t;(t=e).parentNode.removeChild(t)})}}]),Si);function Si(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;o(this,Si);var n=void 0,n=(this.selector=e)&&e.constructor===NodeList?Cn(e):Zt(e)?e:on(e)?0===e.indexOf("<")?(di.innerHTML=e,Pi("*",di,!0)):Pi(e,t,!0):[e];ni(this,n),this.length=n.length}function ji(e,t){return e.constructor===xi?e:new xi(e,t)}function Ti(e){return function(){var s=e.apply(this,arguments);return new Promise(function(o,a){return function t(e,n){try{var r=s[e](n),i=r.value}catch(e){return void a(e)}if(!r.done)return Promise.resolve(i).then(function(e){t("next",e)},function(e){t("throw",e)});o(i)}("next")})}}var Ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ci=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Mi=function(e,t,n){return t&&Li(e.prototype,t),n&&Li(e,n),e};function Li(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.definePr