libs-js
Version:
2 lines (1 loc) • 22.9 kB
JavaScript
function createCommonjsModule(t,e){return t(e={exports:{}},e.exports),e.exports}var _fails=function(t){try{return!!t()}catch(t){return!0}},_descriptors=!_fails(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),_library=!1,_global=createCommonjsModule(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),_core=createCommonjsModule(function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)}),_core_1=_core.version,_isObject=function(t){return"object"==typeof t?null!==t:"function"==typeof t},_anObject=function(t){if(!_isObject(t))throw TypeError(t+" is not an object!");return t},document=_global.document,is=_isObject(document)&&_isObject(document.createElement),_domCreate=function(t){return is?document.createElement(t):{}},_ie8DomDefine=!_descriptors&&!_fails(function(){return 7!=Object.defineProperty(_domCreate("div"),"a",{get:function(){return 7}}).a}),_toPrimitive=function(t,e){if(!_isObject(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!_isObject(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!_isObject(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!_isObject(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},dP=Object.defineProperty,f=_descriptors?Object.defineProperty:function(t,e,r){if(_anObject(t),e=_toPrimitive(e,!0),_anObject(r),_ie8DomDefine)try{return dP(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t},_objectDp={f:f},_propertyDesc=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},_hide=_descriptors?function(t,e,r){return _objectDp.f(t,e,_propertyDesc(1,r))}:function(t,e,r){return t[e]=r,t},hasOwnProperty={}.hasOwnProperty,_has=function(t,e){return hasOwnProperty.call(t,e)},id=0,px=Math.random(),_uid=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++id+px).toString(36))},_shared=createCommonjsModule(function(t){var e="__core-js_shared__",r=_global[e]||(_global[e]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:_core.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),_functionToString=_shared("native-function-to-string",Function.toString),_redefine=createCommonjsModule(function(t){var i=_uid("src"),e="toString",c=(""+_functionToString).split(e);_core.inspectSource=function(t){return _functionToString.call(t)},(t.exports=function(t,e,r,n){var o="function"==typeof r;o&&(_has(r,"name")||_hide(r,"name",e)),t[e]!==r&&(o&&(_has(r,i)||_hide(r,i,t[e]?""+t[e]:c.join(String(e)))),t===_global?t[e]=r:n?t[e]?t[e]=r:_hide(t,e,r):(delete t[e],_hide(t,e,r)))})(Function.prototype,e,function(){return"function"==typeof this&&this[i]||_functionToString.call(this)})}),_aFunction=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},_ctx=function(n,o,t){if(_aFunction(n),void 0===o)return n;switch(t){case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,r){return n.call(o,t,e,r)}}return function(){return n.apply(o,arguments)}},PROTOTYPE="prototype",$export=function(t,e,r){var n,o,i,c,u=t&$export.F,a=t&$export.G,s=t&$export.S,f=t&$export.P,_=t&$export.B,l=a?_global:s?_global[e]||(_global[e]={}):(_global[e]||{})[PROTOTYPE],p=a?_core:_core[e]||(_core[e]={}),h=p[PROTOTYPE]||(p[PROTOTYPE]={});for(n in a&&(r=e),r)i=((o=!u&&l&&void 0!==l[n])?l:r)[n],c=_&&o?_ctx(i,_global):f&&"function"==typeof i?_ctx(Function.call,i):i,l&&_redefine(l,n,i,t&$export.U),p[n]!=i&&_hide(p,n,c),f&&h[n]!=i&&(h[n]=i)};_global.core=_core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128;for(var Typed,_export=$export,TYPED=_uid("typed_array"),VIEW=_uid("view"),ABV=!(!_global.ArrayBuffer||!_global.DataView),CONSTR=ABV,i=0,l=9,TypedArrayConstructors="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");i<l;)(Typed=_global[TypedArrayConstructors[i++]])?(_hide(Typed.prototype,TYPED,!0),_hide(Typed.prototype,VIEW,!0)):CONSTR=!1;var _typed={ABV:ABV,CONSTR:CONSTR,TYPED:TYPED,VIEW:VIEW},_redefineAll=function(t,e,r){for(var n in e)_redefine(t,n,e[n],r);return t},_anInstance=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t},ceil=Math.ceil,floor=Math.floor,_toInteger=function(t){return isNaN(t=+t)?0:(0<t?floor:ceil)(t)},min=Math.min,_toLength=function(t){return 0<t?min(_toInteger(t),9007199254740991):0},_toIndex=function(t){if(void 0===t)return 0;var e=_toInteger(t),r=_toLength(e);if(e!==r)throw RangeError("Wrong length!");return r},toString={}.toString,_cof=function(t){return toString.call(t).slice(8,-1)},_iobject=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==_cof(t)?t.split(""):Object(t)},_defined=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},_toIobject=function(t){return _iobject(_defined(t))},max=Math.max,min$1=Math.min,_toAbsoluteIndex=function(t,e){return(t=_toInteger(t))<0?max(t+e,0):min$1(t,e)},_arrayIncludes=function(u){return function(t,e,r){var n,o=_toIobject(t),i=_toLength(o.length),c=_toAbsoluteIndex(r,i);if(u&&e!=e){for(;c<i;)if((n=o[c++])!=n)return!0}else for(;c<i;c++)if((u||c in o)&&o[c]===e)return u||c||0;return!u&&-1}},shared=_shared("keys"),_sharedKey=function(t){return shared[t]||(shared[t]=_uid(t))},arrayIndexOf=_arrayIncludes(!1),IE_PROTO=_sharedKey("IE_PROTO"),_objectKeysInternal=function(t,e){var r,n=_toIobject(t),o=0,i=[];for(r in n)r!=IE_PROTO&&_has(n,r)&&i.push(r);for(;e.length>o;)_has(n,r=e[o++])&&(~arrayIndexOf(i,r)||i.push(r));return i},_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),hiddenKeys=_enumBugKeys.concat("length","prototype"),f$1=Object.getOwnPropertyNames||function(t){return _objectKeysInternal(t,hiddenKeys)},_objectGopn={f:f$1},_toObject=function(t){return Object(_defined(t))},_arrayFill=function(t,e,r){for(var n=_toObject(this),o=_toLength(n.length),i=arguments.length,c=_toAbsoluteIndex(1<i?e:void 0,o),u=2<i?r:void 0,a=void 0===u?o:_toAbsoluteIndex(u,o);c<a;)n[c++]=t;return n},_wks=createCommonjsModule(function(t){var e=_shared("wks"),r=_global.Symbol,n="function"==typeof r;(t.exports=function(t){return e[t]||(e[t]=n&&r[t]||(n?r:_uid)("Symbol."+t))}).store=e}),def=_objectDp.f,TAG=_wks("toStringTag"),_setToStringTag=function(t,e,r){t&&!_has(t=r?t:t.prototype,TAG)&&def(t,TAG,{configurable:!0,value:e})},_typedBuffer=createCommonjsModule(function(t,e){var r=_objectGopn.f,n=_objectDp.f,o="ArrayBuffer",i="DataView",c="prototype",_="Wrong index!",u=_global[o],a=_global[i],s=_global.Math,l=_global.RangeError,p=_global.Infinity,f=u,h=s.abs,d=s.pow,y=s.floor,g=s.log,b=s.LN2,v="byteLength",O="byteOffset",T=_descriptors?"_b":"buffer",I=_descriptors?"_l":v,E=_descriptors?"_o":O;function A(t,e,r){var n,o,i,c=new Array(r),u=8*r-e-1,a=(1<<u)-1,s=a>>1,f=23===e?d(2,-24)-d(2,-77):0,_=0,l=t<0||0===t&&1/t<0?1:0;for((t=h(t))!=t||t===p?(o=t!=t?1:0,n=a):(n=y(g(t)/b),t*(i=d(2,-n))<1&&(n--,i*=2),2<=(t+=1<=n+s?f/i:f*d(2,1-s))*i&&(n++,i/=2),a<=n+s?(o=0,n=a):1<=n+s?(o=(t*i-1)*d(2,e),n+=s):(o=t*d(2,s-1)*d(2,e),n=0));8<=e;c[_++]=255&o,o/=256,e-=8);for(n=n<<e|o,u+=e;0<u;c[_++]=255&n,n/=256,u-=8);return c[--_]|=128*l,c}function S(t,e,r){var n,o=8*r-e-1,i=(1<<o)-1,c=i>>1,u=o-7,a=r-1,s=t[a--],f=127&s;for(s>>=7;0<u;f=256*f+t[a],a--,u-=8);for(n=f&(1<<-u)-1,f>>=-u,u+=e;0<u;n=256*n+t[a],a--,u-=8);if(0===f)f=1-c;else{if(f===i)return n?NaN:s?-p:p;n+=d(2,e),f-=c}return(s?-1:1)*n*d(2,f-e)}function j(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function m(t){return[255&t]}function w(t){return[255&t,t>>8&255]}function P(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function x(t){return A(t,52,8)}function R(t){return A(t,23,4)}function $(t,e,r){n(t[c],e,{get:function(){return this[r]}})}function C(t,e,r,n){var o=_toIndex(+r);if(o+e>t[I])throw l(_);var i=t[T]._b,c=o+t[E],u=i.slice(c,c+e);return n?u:u.reverse()}function D(t,e,r,n,o,i){var c=_toIndex(+r);if(c+e>t[I])throw l(_);for(var u=t[T]._b,a=c+t[E],s=n(+o),f=0;f<e;f++)u[a+f]=s[i?f:e-f-1]}if(_typed.ABV){if(!_fails(function(){u(1)})||!_fails(function(){new u(-1)})||_fails(function(){return new u,new u(1.5),new u(NaN),u.name!=o})){for(var F,U=(u=function(t){return _anInstance(this,u),new f(_toIndex(t))})[c]=f[c],B=r(f),L=0;B.length>L;)(F=B[L++])in u||_hide(u,F,f[F]);U.constructor=u}var G=new a(new u(2)),M=a[c].setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||_redefineAll(a[c],{setInt8:function(t,e){M.call(this,t,e<<24>>24)},setUint8:function(t,e){M.call(this,t,e<<24>>24)}},!0)}else u=function(t){_anInstance(this,u,o);var e=_toIndex(t);this._b=_arrayFill.call(new Array(e),0),this[I]=e},a=function(t,e,r){_anInstance(this,a,i),_anInstance(t,u,i);var n=t[I],o=_toInteger(e);if(o<0||n<o)throw l("Wrong offset!");if(n<o+(r=void 0===r?n-o:_toLength(r)))throw l("Wrong length!");this[T]=t,this[E]=o,this[I]=r},_descriptors&&($(u,v,"_l"),$(a,"buffer","_b"),$(a,v,"_l"),$(a,O,"_o")),_redefineAll(a[c],{getInt8:function(t){return C(this,1,t)[0]<<24>>24},getUint8:function(t){return C(this,1,t)[0]},getInt16:function(t,e){var r=C(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=C(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return j(C(this,4,t,e))},getUint32:function(t,e){return j(C(this,4,t,e))>>>0},getFloat32:function(t,e){return S(C(this,4,t,e),23,4)},getFloat64:function(t,e){return S(C(this,8,t,e),52,8)},setInt8:function(t,e){D(this,1,t,m,e)},setUint8:function(t,e){D(this,1,t,m,e)},setInt16:function(t,e,r){D(this,2,t,w,e,r)},setUint16:function(t,e,r){D(this,2,t,w,e,r)},setInt32:function(t,e,r){D(this,4,t,P,e,r)},setUint32:function(t,e,r){D(this,4,t,P,e,r)},setFloat32:function(t,e,r){D(this,4,t,R,e,r)},setFloat64:function(t,e,r){D(this,8,t,x,e,r)}});_setToStringTag(u,o),_setToStringTag(a,i),_hide(a[c],_typed.VIEW,!0),e[o]=u,e[i]=a}),TAG$1=_wks("toStringTag"),ARG="Arguments"==_cof(function(){return arguments}()),tryGet=function(t,e){try{return t[e]}catch(t){}},_classof=function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=tryGet(e=Object(t),TAG$1))?r:ARG?_cof(e):"Object"==(n=_cof(e))&&"function"==typeof e.callee?"Arguments":n},_iterators={},ITERATOR=_wks("iterator"),ArrayProto=Array.prototype,_isArrayIter=function(t){return void 0!==t&&(_iterators.Array===t||ArrayProto[ITERATOR]===t)},_objectKeys=Object.keys||function(t){return _objectKeysInternal(t,_enumBugKeys)},_objectDps=_descriptors?Object.defineProperties:function(t,e){_anObject(t);for(var r,n=_objectKeys(e),o=n.length,i=0;i<o;)_objectDp.f(t,r=n[i++],e[r]);return t},document$1=_global.document,_html=document$1&&document$1.documentElement,IE_PROTO$1=_sharedKey("IE_PROTO"),Empty=function(){},PROTOTYPE$1="prototype",createDict=function(){var t,e=_domCreate("iframe"),r=_enumBugKeys.length;for(e.style.display="none",_html.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),createDict=t.F;r--;)delete createDict[PROTOTYPE$1][_enumBugKeys[r]];return createDict()},_objectCreate=Object.create||function(t,e){var r;return null!==t?(Empty[PROTOTYPE$1]=_anObject(t),r=new Empty,Empty[PROTOTYPE$1]=null,r[IE_PROTO$1]=t):r=createDict(),void 0===e?r:_objectDps(r,e)},IE_PROTO$2=_sharedKey("IE_PROTO"),ObjectProto=Object.prototype,_objectGpo=Object.getPrototypeOf||function(t){return t=_toObject(t),_has(t,IE_PROTO$2)?t[IE_PROTO$2]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ObjectProto:null},ITERATOR$1=_wks("iterator"),core_getIteratorMethod=_core.getIteratorMethod=function(t){if(null!=t)return t[ITERATOR$1]||t["@@iterator"]||_iterators[_classof(t)]},_isArray=Array.isArray||function(t){return"Array"==_cof(t)},SPECIES=_wks("species"),_arraySpeciesConstructor=function(t){var e;return _isArray(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!_isArray(e.prototype)||(e=void 0),_isObject(e)&&null===(e=e[SPECIES])&&(e=void 0)),void 0===e?Array:e},_arraySpeciesCreate=function(t,e){return new(_arraySpeciesConstructor(t))(e)},_arrayMethods=function(_,t){var l=1==_,p=2==_,h=3==_,d=4==_,y=6==_,g=5==_||y,b=t||_arraySpeciesCreate;return function(t,e,r){for(var n,o,i=_toObject(t),c=_iobject(i),u=_ctx(e,r,3),a=_toLength(c.length),s=0,f=l?b(t,a):p?b(t,0):void 0;s<a;s++)if((g||s in c)&&(o=u(n=c[s],s,i),_))if(l)f[s]=o;else if(o)switch(_){case 3:return!0;case 5:return n;case 6:return s;case 2:f.push(n)}else if(d)return!1;return y?-1:h||d?d:f}},SPECIES$1=_wks("species"),_speciesConstructor=function(t,e){var r,n=_anObject(t).constructor;return void 0===n||null==(r=_anObject(n)[SPECIES$1])?e:_aFunction(r)},UNSCOPABLES=_wks("unscopables"),ArrayProto$1=Array.prototype;null==ArrayProto$1[UNSCOPABLES]&&_hide(ArrayProto$1,UNSCOPABLES,{});var _addToUnscopables=function(t){ArrayProto$1[UNSCOPABLES][t]=!0},_iterStep=function(t,e){return{value:e,done:!!t}},IteratorPrototype={};_hide(IteratorPrototype,_wks("iterator"),function(){return this});var _iterCreate=function(t,e,r){t.prototype=_objectCreate(IteratorPrototype,{next:_propertyDesc(1,r)}),_setToStringTag(t,e+" Iterator")},ITERATOR$2=_wks("iterator"),BUGGY=!([].keys&&"next"in[].keys()),FF_ITERATOR="@@iterator",KEYS="keys",VALUES="values",returnThis=function(){return this},_iterDefine=function(t,e,r,n,o,i,c){_iterCreate(r,e,n);function u(t){if(!BUGGY&&t in h)return h[t];switch(t){case KEYS:case VALUES:return function(){return new r(this,t)}}return function(){return new r(this,t)}}var a,s,f,_=e+" Iterator",l=o==VALUES,p=!1,h=t.prototype,d=h[ITERATOR$2]||h[FF_ITERATOR]||o&&h[o],y=d||u(o),g=o?l?u("entries"):y:void 0,b="Array"==e&&h.entries||d;if(b&&(f=_objectGpo(b.call(new t)))!==Object.prototype&&f.next&&(_setToStringTag(f,_,!0),"function"!=typeof f[ITERATOR$2]&&_hide(f,ITERATOR$2,returnThis)),l&&d&&d.name!==VALUES&&(p=!0,y=function(){return d.call(this)}),!BUGGY&&!p&&h[ITERATOR$2]||_hide(h,ITERATOR$2,y),_iterators[e]=y,_iterators[_]=returnThis,o)if(a={values:l?y:u(VALUES),keys:i?y:u(KEYS),entries:g},c)for(s in a)s in h||_redefine(h,s,a[s]);else _export(_export.P+_export.F*(BUGGY||p),e,a);return a},es6_array_iterator=_iterDefine(Array,"Array",function(t,e){this._t=_toIobject(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,_iterStep(1)):_iterStep(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values");_iterators.Arguments=_iterators.Array,_addToUnscopables("keys"),_addToUnscopables("values"),_addToUnscopables("entries");var ITERATOR$3=_wks("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR$3]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,function(){throw 2})}catch(t){}var _iterDetect=function(t,e){if(!e&&!SAFE_CLOSING)return!1;var r=!1;try{var n=[7],o=n[ITERATOR$3]();o.next=function(){return{done:r=!0}},n[ITERATOR$3]=function(){return o},t(n)}catch(t){}return r},SPECIES$2=_wks("species"),_setSpecies=function(t){var e=_global[t];_descriptors&&e&&!e[SPECIES$2]&&_objectDp.f(e,SPECIES$2,{configurable:!0,get:function(){return this}})},_arrayCopyWithin=[].copyWithin||function(t,e,r){var n=_toObject(this),o=_toLength(n.length),i=_toAbsoluteIndex(t,o),c=_toAbsoluteIndex(e,o),u=2<arguments.length?r:void 0,a=Math.min((void 0===u?o:_toAbsoluteIndex(u,o))-c,o-i),s=1;for(c<i&&i<c+a&&(s=-1,c+=a-1,i+=a-1);0<a--;)c in n?n[i]=n[c]:delete n[i],i+=s,c+=s;return n},f$2={}.propertyIsEnumerable,_objectPie={f:f$2},gOPD=Object.getOwnPropertyDescriptor,f$3=_descriptors?gOPD:function(t,e){if(t=_toIobject(t),e=_toPrimitive(e,!0),_ie8DomDefine)try{return gOPD(t,e)}catch(t){}if(_has(t,e))return _propertyDesc(!_objectPie.f.call(t,e),t[e])},_objectGopd={f:f$3},_typedArray=createCommonjsModule(function(t){if(_descriptors){var g=_library,b=_global,v=_fails,O=_export,T=_typed,h=_ctx,I=_anInstance,r=_propertyDesc,E=_hide,e=_redefineAll,n=_toInteger,A=_toLength,S=_toIndex,i=_toAbsoluteIndex,o=_toPrimitive,c=_has,j=_classof,m=_isObject,d=_toObject,y=_isArrayIter,w=_objectCreate,P=_objectGpo,x=_objectGopn.f,R=core_getIteratorMethod,u=_uid,a=_wks,s=_arrayMethods,f=_arrayIncludes,_=_speciesConstructor,l=es6_array_iterator,$=_iterators,C=_iterDetect,D=_setSpecies,p=_arrayFill,F=_arrayCopyWithin,U=_objectDp,B=_objectGopd,L=U.f,G=B.f,M=b.RangeError,k=b.TypeError,N=b.Uint8Array,Y="ArrayBuffer",V="Shared"+Y,K="BYTES_PER_ELEMENT",W="prototype",z=Array[W],q=_typedBuffer.ArrayBuffer,H=_typedBuffer.DataView,J=s(0),Q=s(2),X=s(3),Z=s(4),tt=s(5),et=s(6),rt=f(!0),nt=f(!1),ot=l.values,it=l.keys,ct=l.entries,ut=z.lastIndexOf,at=z.reduce,st=z.reduceRight,ft=z.join,_t=z.sort,lt=z.slice,pt=z.toString,ht=z.toLocaleString,dt=a("iterator"),yt=a("toStringTag"),gt=u("typed_constructor"),bt=u("def_constructor"),vt=T.CONSTR,Ot=T.TYPED,Tt=T.VIEW,It="Wrong length!",Et=s(1,function(t,e){return wt(_(t,t[bt]),e)}),At=v(function(){return 1===new N(new Uint16Array([1]).buffer)[0]}),St=!!N&&!!N[W].set&&v(function(){new N(1).set({})}),jt=function(t,e){var r=n(t);if(r<0||r%e)throw M("Wrong offset!");return r},mt=function(t){if(m(t)&&Ot in t)return t;throw k(t+" is not a typed array!")},wt=function(t,e){if(!(m(t)&> in t))throw k("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return xt(_(t,t[bt]),e)},xt=function(t,e){for(var r=0,n=e.length,o=wt(t,n);r<n;)o[r]=e[r++];return o},Rt=function(t,e,r){L(t,e,{get:function(){return this._d[r]}})},$t=function(t,e,r){var n,o,i,c,u,a,s=d(t),f=arguments.length,_=1<f?e:void 0,l=void 0!==_,p=R(s);if(null!=p&&!y(p)){for(a=p.call(s),i=[],n=0;!(u=a.next()).done;n++)i.push(u.value);s=i}for(l&&2<f&&(_=h(_,r,2)),n=0,o=A(s.length),c=wt(this,o);n<o;n++)c[n]=l?_(s[n],n):s[n];return c},Ct=function(){for(var t=0,e=arguments.length,r=wt(this,e);t<e;)r[t]=arguments[t++];return r},Dt=!!N&&v(function(){ht.call(new N(1))}),Ft=function(){return ht.apply(Dt?lt.call(mt(this)):mt(this),arguments)},Ut={copyWithin:function(t,e,r){return F.call(mt(this),t,e,2<arguments.length?r:void 0)},every:function(t,e){return Z(mt(this),t,1<arguments.length?e:void 0)},fill:function(t){return p.apply(mt(this),arguments)},filter:function(t,e){return Pt(this,Q(mt(this),t,1<arguments.length?e:void 0))},find:function(t,e){return tt(mt(this),t,1<arguments.length?e:void 0)},findIndex:function(t,e){return et(mt(this),t,1<arguments.length?e:void 0)},forEach:function(t,e){J(mt(this),t,1<arguments.length?e:void 0)},indexOf:function(t,e){return nt(mt(this),t,1<arguments.length?e:void 0)},includes:function(t,e){return rt(mt(this),t,1<arguments.length?e:void 0)},join:function(t){return ft.apply(mt(this),arguments)},lastIndexOf:function(t){return ut.apply(mt(this),arguments)},map:function(t,e){return Et(mt(this),t,1<arguments.length?e:void 0)},reduce:function(t){return at.apply(mt(this),arguments)},reduceRight:function(t){return st.apply(mt(this),arguments)},reverse:function(){for(var t,e=this,r=mt(e).length,n=Math.floor(r/2),o=0;o<n;)t=e[o],e[o++]=e[--r],e[r]=t;return e},some:function(t,e){return X(mt(this),t,1<arguments.length?e:void 0)},sort:function(t){return _t.call(mt(this),t)},subarray:function(t,e){var r=mt(this),n=r.length,o=i(t,n);return new(_(r,r[bt]))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,A((void 0===e?n:i(e,n))-o))}},Bt=function(t,e){return Pt(this,lt.call(mt(this),t,e))},Lt=function(t,e){mt(this);var r=jt(e,1),n=this.length,o=d(t),i=A(o.length),c=0;if(n<i+r)throw M(It);for(;c<i;)this[r+c]=o[c++]},Gt={entries:function(){return ct.call(mt(this))},keys:function(){return it.call(mt(this))},values:function(){return ot.call(mt(this))}},Mt=function(t,e){return m(t)&&t[Ot]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},kt=function(t,e){return Mt(t,e=o(e,!0))?r(2,t[e]):G(t,e)},Nt=function(t,e,r){return!(Mt(t,e=o(e,!0))&&m(r)&&c(r,"value"))||c(r,"get")||c(r,"set")||r.configurable||c(r,"writable")&&!r.writable||c(r,"enumerable")&&!r.enumerable?L(t,e,r):(t[e]=r.value,t)};vt||(B.f=kt,U.f=Nt),O(O.S+O.F*!vt,"Object",{getOwnPropertyDescriptor:kt,defineProperty:Nt}),v(function(){pt.call({})})&&(pt=ht=function(){return ft.call(this)});var Yt=e({},Ut);e(Yt,Gt),E(Yt,dt,Gt.values),e(Yt,{slice:Bt,set:Lt,constructor:function(){},toString:pt,toLocaleString:Ft}),Rt(Yt,"buffer","b"),Rt(Yt,"byteOffset","o"),Rt(Yt,"byteLength","l"),Rt(Yt,"length","e"),L(Yt,yt,{get:function(){return this[Ot]}}),t.exports=function(t,_,e,i){function l(t,o){L(t,o,{get:function(){return t=o,(e=this._d).v[r](t*_+e.o,At);var t,e},set:function(t){return e=o,r=t,n=this._d,i&&(r=(r=Math.round(r))<0?0:255<r?255:255&r),void n.v[c](e*_+n.o,r,At);var e,r,n},enumerable:!0})}var p=t+((i=!!i)?"Clamped":"")+"Array",r="get"+t,c="set"+t,h=b[p],u=h||{},n=h&&P(h),o=!h||!T.ABV,a={},s=h&&h[W];o?(h=e(function(t,e,r,n){I(t,h,p,"_d");var o,i,c,u,a=0,s=0;if(m(e)){if(!(e instanceof q||(u=j(e))==Y||u==V))return Ot in e?xt(h,e):$t.call(h,e);o=e,s=jt(r,_);var f=e.byteLength;if(void 0===n){if(f%_)throw M(It);if((i=f-s)<0)throw M(It)}else if(f<(i=A(n)*_)+s)throw M(It);c=i/_}else c=S(e),o=new q(i=c*_);for(E(t,"_d",{b:o,o:s,l:i,e:c,v:new H(o)});a<c;)l(t,a++)}),s=h[W]=w(Yt),E(s,"constructor",h)):v(function(){h(1)})&&v(function(){new h(-1)})&&C(function(t){new h,new h(null),new h(1.5),new h(t)},!0)||(h=e(function(t,e,r,n){var o;return I(t,h,p),m(e)?e instanceof q||(o=j(e))==Y||o==V?void 0!==n?new u(e,jt(r,_),n):void 0!==r?new u(e,jt(r,_)):new u(e):Ot in e?xt(h,e):$t.call(h,e):new u(S(e))}),J(n!==Function.prototype?x(u).concat(x(n)):x(u),function(t){t in h||E(h,t,u[t])}),h[W]=s,g||(s.constructor=h));var f=s[dt],d=!!f&&("values"==f.name||null==f.name),y=Gt.values;E(h,gt,!0),E(s,Ot,p),E(s,Tt,!0),E(s,bt,h),(i?new h(1)[yt]==p:yt in s)||L(s,yt,{get:function(){return p}}),a[p]=h,O(O.G+O.W+O.F*(h!=u),a),O(O.S,p,{BYTES_PER_ELEMENT:_}),O(O.S+O.F*v(function(){u.of.call(h,1)}),p,{from:$t,of:Ct}),K in s||E(s,K,_),O(O.P,p,Ut),D(p),O(O.P+O.F*St,p,{set:Lt}),O(O.P+O.F*!d,p,Gt),g||s.toString==pt||(s.toString=pt),O(O.P+O.F*v(function(){new h(1).slice()}),p,{slice:Bt}),O(O.P+O.F*(v(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!v(function(){s.toLocaleString.call([1,2])})),p,{toLocaleString:Ft}),$[p]=d?f:y,g||d||E(s,dt,y)}}else t.exports=function(){}});_typedArray("Uint8",1,function(n){return function(t,e,r){return n(this,t,e,r)}});var base64ToBlob=function(t){for(var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:512,n=atob(t),o=[],i=0;i<n.length;i+=r){for(var c=n.slice(i,i+r),u=new Array(c.length),a=0;a<c.length;a++)u[a]=c.charCodeAt(a);var s=new Uint8Array(u);o.push(s)}return new Blob(o,{type:e})};module.exports=base64ToBlob;
;