From 7caf84917766cf50d9533c2da2adbe57efe72052 Mon Sep 17 00:00:00 2001 From: luchweb Date: Fri, 17 Jun 2022 18:06:18 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/obs-upload.common.js | 6 ++++-- dist/obs-upload.esm.mjs | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dist/obs-upload.common.js b/dist/obs-upload.common.js index f228374..408c176 100644 --- a/dist/obs-upload.common.js +++ b/dist/obs-upload.common.js @@ -1,2 +1,4 @@ -/*! obs-upload version 1.0.0 */ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("esdk-obs-browserjs"),e=require("lodash-es"),r=require("nanoid"),n=require("p-retry"),o=require("p-all");function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=i(t),c=i(n),a=i(o),f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var l=function(t){return t&&t.Math==Math&&t},p=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof f&&f)||function(){return this}()||Function("return this")(),d={},v=function(t){try{return!!t()}catch(t){return!0}},h=!v((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),y=!v((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),m=y,g=Function.prototype.call,b=m?g.bind(g):function(){return g.apply(g,arguments)},S={},_={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,O=w&&!_.call({1:2},1);S.f=O?function(t){var e=w(this,t);return!!e&&e.enumerable}:_;var x,E,j=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},k=y,P=Function.prototype,T=P.bind,I=P.call,C=k&&T.bind(I,I),N=k?function(t){return t&&C(t)}:function(t){return t&&function(){return I.apply(t,arguments)}},R=N,A=R({}.toString),D=R("".slice),M=function(t){return D(A(t),8,-1)},L=v,F=M,U=Object,V=N("".split),z=L((function(){return!U("z").propertyIsEnumerable(0)}))?function(t){return"String"==F(t)?V(t,""):U(t)}:U,B=TypeError,K=function(t){if(null==t)throw B("Can't call method on "+t);return t},G=z,W=K,J=function(t){return G(W(t))},q=function(t){return"function"==typeof t},H=q,$=function(t){return"object"==typeof t?null!==t:H(t)},X=p,Y=q,Q=function(t){return Y(t)?t:void 0},Z=function(t,e){return arguments.length<2?Q(X[t]):X[t]&&X[t][e]},tt=N({}.isPrototypeOf),et=Z("navigator","userAgent")||"",rt=p,nt=et,ot=rt.process,it=rt.Deno,ut=ot&&ot.versions||it&&it.version,ct=ut&&ut.v8;ct&&(E=(x=ct.split("."))[0]>0&&x[0]<4?1:+(x[0]+x[1])),!E&&nt&&(!(x=nt.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=nt.match(/Chrome\/(\d+)/))&&(E=+x[1]);var at=E,ft=at,st=v,lt=!!Object.getOwnPropertySymbols&&!st((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ft&&ft<41})),pt=lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,dt=Z,vt=q,ht=tt,yt=Object,mt=pt?function(t){return"symbol"==typeof t}:function(t){var e=dt("Symbol");return vt(e)&&ht(e.prototype,yt(t))},gt=String,bt=function(t){try{return gt(t)}catch(t){return"Object"}},St=q,_t=bt,wt=TypeError,Ot=function(t){if(St(t))return t;throw wt(_t(t)+" is not a function")},xt=Ot,Et=function(t,e){var r=t[e];return null==r?void 0:xt(r)},jt=b,kt=q,Pt=$,Tt=TypeError,It={exports:{}},Ct=p,Nt=Object.defineProperty,Rt=function(t,e){try{Nt(Ct,t,{value:e,configurable:!0,writable:!0})}catch(r){Ct[t]=e}return e},At=Rt,Dt=p["__core-js_shared__"]||At("__core-js_shared__",{}),Mt=Dt;(It.exports=function(t,e){return Mt[t]||(Mt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.8",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"});var Lt=K,Ft=Object,Ut=function(t){return Ft(Lt(t))},Vt=Ut,zt=N({}.hasOwnProperty),Bt=Object.hasOwn||function(t,e){return zt(Vt(t),e)},Kt=N,Gt=0,Wt=Math.random(),Jt=Kt(1..toString),qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Jt(++Gt+Wt,36)},Ht=p,$t=It.exports,Xt=Bt,Yt=qt,Qt=lt,Zt=pt,te=$t("wks"),ee=Ht.Symbol,re=ee&&ee.for,ne=Zt?ee:ee&&ee.withoutSetter||Yt,oe=function(t){if(!Xt(te,t)||!Qt&&"string"!=typeof te[t]){var e="Symbol."+t;Qt&&Xt(ee,t)?te[t]=ee[t]:te[t]=Zt&&re?re(e):ne(e)}return te[t]},ie=b,ue=$,ce=mt,ae=Et,fe=function(t,e){var r,n;if("string"===e&&kt(r=t.toString)&&!Pt(n=jt(r,t)))return n;if(kt(r=t.valueOf)&&!Pt(n=jt(r,t)))return n;if("string"!==e&&kt(r=t.toString)&&!Pt(n=jt(r,t)))return n;throw Tt("Can't convert object to primitive value")},se=TypeError,le=oe("toPrimitive"),pe=function(t,e){if(!ue(t)||ce(t))return t;var r,n=ae(t,le);if(n){if(void 0===e&&(e="default"),r=ie(n,t,e),!ue(r)||ce(r))return r;throw se("Can't convert object to primitive value")}return void 0===e&&(e="number"),fe(t,e)},de=pe,ve=mt,he=function(t){var e=de(t,"string");return ve(e)?e:e+""},ye=$,me=p.document,ge=ye(me)&&ye(me.createElement),be=function(t){return ge?me.createElement(t):{}},Se=be,_e=!h&&!v((function(){return 7!=Object.defineProperty(Se("div"),"a",{get:function(){return 7}}).a})),we=h,Oe=b,xe=S,Ee=j,je=J,ke=he,Pe=Bt,Te=_e,Ie=Object.getOwnPropertyDescriptor;d.f=we?Ie:function(t,e){if(t=je(t),e=ke(e),Te)try{return Ie(t,e)}catch(t){}if(Pe(t,e))return Ee(!Oe(xe.f,t,e),t[e])};var Ce={},Ne=h&&v((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Re=$,Ae=String,De=TypeError,Me=function(t){if(Re(t))return t;throw De(Ae(t)+" is not an object")},Le=h,Fe=_e,Ue=Ne,Ve=Me,ze=he,Be=TypeError,Ke=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor;Ce.f=Le?Ue?function(t,e,r){if(Ve(t),e=ze(e),Ve(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=Ge(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Ke(t,e,r)}:Ke:function(t,e,r){if(Ve(t),e=ze(e),Ve(r),Fe)try{return Ke(t,e,r)}catch(t){}if("get"in r||"set"in r)throw Be("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var We=Ce,Je=j,qe=h?function(t,e,r){return We.f(t,e,Je(1,r))}:function(t,e,r){return t[e]=r,t},He={exports:{}},$e=h,Xe=Bt,Ye=Function.prototype,Qe=$e&&Object.getOwnPropertyDescriptor,Ze=Xe(Ye,"name"),tr={EXISTS:Ze,PROPER:Ze&&"something"===function(){}.name,CONFIGURABLE:Ze&&(!$e||$e&&Qe(Ye,"name").configurable)},er=q,rr=Dt,nr=N(Function.toString);er(rr.inspectSource)||(rr.inspectSource=function(t){return nr(t)});var or,ir,ur,cr=rr.inspectSource,ar=q,fr=cr,sr=p.WeakMap,lr=ar(sr)&&/native code/.test(fr(sr)),pr=It.exports,dr=qt,vr=pr("keys"),hr=function(t){return vr[t]||(vr[t]=dr(t))},yr={},mr=lr,gr=p,br=N,Sr=$,_r=qe,wr=Bt,Or=Dt,xr=hr,Er=yr,jr=gr.TypeError,kr=gr.WeakMap;if(mr||Or.state){var Pr=Or.state||(Or.state=new kr),Tr=br(Pr.get),Ir=br(Pr.has),Cr=br(Pr.set);or=function(t,e){if(Ir(Pr,t))throw new jr("Object already initialized");return e.facade=t,Cr(Pr,t,e),e},ir=function(t){return Tr(Pr,t)||{}},ur=function(t){return Ir(Pr,t)}}else{var Nr=xr("state");Er[Nr]=!0,or=function(t,e){if(wr(t,Nr))throw new jr("Object already initialized");return e.facade=t,_r(t,Nr,e),e},ir=function(t){return wr(t,Nr)?t[Nr]:{}},ur=function(t){return wr(t,Nr)}}var Rr={set:or,get:ir,has:ur,enforce:function(t){return ur(t)?ir(t):or(t,{})},getterFor:function(t){return function(e){var r;if(!Sr(e)||(r=ir(e)).type!==t)throw jr("Incompatible receiver, "+t+" required");return r}}},Ar=v,Dr=q,Mr=Bt,Lr=h,Fr=tr.CONFIGURABLE,Ur=cr,Vr=Rr.enforce,zr=Rr.get,Br=Object.defineProperty,Kr=Lr&&!Ar((function(){return 8!==Br((function(){}),"length",{value:8}).length})),Gr=String(String).split("String"),Wr=He.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Mr(t,"name")||Fr&&t.name!==e)&&Br(t,"name",{value:e,configurable:!0}),Kr&&r&&Mr(r,"arity")&&t.length!==r.arity&&Br(t,"length",{value:r.arity});try{r&&Mr(r,"constructor")&&r.constructor?Lr&&Br(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Vr(t);return Mr(n,"source")||(n.source=Gr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Wr((function(){return Dr(this)&&zr(this).source||Ur(this)}),"toString");var Jr=q,qr=qe,Hr=He.exports,$r=Rt,Xr=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;return Jr(r)&&Hr(r,i,n),n.global?o?t[e]=r:$r(e,r):(n.unsafe?t[e]&&(o=!0):delete t[e],o?t[e]=r:qr(t,e,r)),t},Yr={},Qr=Math.ceil,Zr=Math.floor,tn=Math.trunc||function(t){var e=+t;return(e>0?Zr:Qr)(e)},en=function(t){var e=+t;return e!=e||0===e?0:tn(e)},rn=en,nn=Math.max,on=Math.min,un=function(t,e){var r=rn(t);return r<0?nn(r+e,0):on(r,e)},cn=en,an=Math.min,fn=function(t){return t>0?an(cn(t),9007199254740991):0},sn=fn,ln=function(t){return sn(t.length)},pn=J,dn=un,vn=ln,hn=function(t){return function(e,r,n){var o,i=pn(e),u=vn(i),c=dn(n,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},yn={includes:hn(!0),indexOf:hn(!1)},mn=Bt,gn=J,bn=yn.indexOf,Sn=yr,_n=N([].push),wn=function(t,e){var r,n=gn(t),o=0,i=[];for(r in n)!mn(Sn,r)&&mn(n,r)&&_n(i,r);for(;e.length>o;)mn(n,r=e[o++])&&(~bn(i,r)||_n(i,r));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xn=wn,En=On.concat("length","prototype");Yr.f=Object.getOwnPropertyNames||function(t){return xn(t,En)};var jn={};jn.f=Object.getOwnPropertySymbols;var kn=Z,Pn=Yr,Tn=jn,In=Me,Cn=N([].concat),Nn=kn("Reflect","ownKeys")||function(t){var e=Pn.f(In(t)),r=Tn.f;return r?Cn(e,r(t)):e},Rn=Bt,An=Nn,Dn=d,Mn=Ce,Ln=v,Fn=q,Un=/#|\.prototype\./,Vn=function(t,e){var r=Bn[zn(t)];return r==Gn||r!=Kn&&(Fn(e)?Ln(e):!!e)},zn=Vn.normalize=function(t){return String(t).replace(Un,".").toLowerCase()},Bn=Vn.data={},Kn=Vn.NATIVE="N",Gn=Vn.POLYFILL="P",Wn=Vn,Jn=p,qn=d.f,Hn=qe,$n=Xr,Xn=Rt,Yn=function(t,e,r){for(var n=An(e),o=Mn.f,i=Dn.f,u=0;uu;)_o.f(t,r=o[u++],n[r]);return t};var Eo,jo=Z("document","documentElement"),ko=Me,Po=go,To=On,Io=yr,Co=jo,No=be,Ro=hr("IE_PROTO"),Ao=function(){},Do=function(t){return"