@nocobase/plugin-verification 1.7.0-beta.3 → 1.7.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/1d2d85cba43aed14.js +10 -0
- package/dist/client/{providerTypes/index.d.ts → VerificationMenu.d.ts} +5 -4
- package/dist/client/c88007c6800b52fb.js +10 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client/index.js +1 -1
- package/dist/client/locale/index.d.ts +1 -1
- package/dist/client/otp-verification/VerificationCode.d.ts +16 -0
- package/dist/client/otp-verification/sms/AdminSettingsForm.d.ts +12 -0
- package/dist/client/otp-verification/sms/BindForm.d.ts +11 -0
- package/dist/client/otp-verification/sms/VerificationForm.d.ts +11 -0
- package/dist/client/otp-verification/sms/index.d.ts +26 -0
- package/dist/client/otp-verification/sms/provider-manager.d.ts +19 -0
- package/dist/client/{VerificationProviders.d.ts → otp-verification/sms/providers/AliyunSettings.d.ts} +1 -1
- package/dist/{server/actions/index.d.ts → client/otp-verification/sms/providers/TencentSettings.d.ts} +2 -3
- package/dist/client/schemas/verificators.d.ts +66 -0
- package/dist/client/verification-manager/index.d.ts +32 -0
- package/dist/client/{ProviderOptions.d.ts → verificators/VerificatorSelect.d.ts} +1 -2
- package/dist/client/verificators/Verificators.d.ts +12 -0
- package/dist/client/verificators/verification-types.d.ts +24 -0
- package/dist/collections/verificators.d.ts +50 -0
- package/dist/collections/verificators.js +70 -0
- package/dist/constants.d.ts +11 -0
- package/dist/constants.js +42 -0
- package/dist/externalVersion.js +13 -13
- package/dist/locale/en-US.json +17 -1
- package/dist/locale/nl-NL.json +12 -12
- package/dist/locale/zh-CN.json +19 -2
- package/dist/node_modules/@alicloud/dysmsapi20170525/dist/client.js +2 -2
- package/dist/node_modules/@alicloud/dysmsapi20170525/package.json +1 -1
- package/dist/node_modules/@alicloud/openapi-client/dist/client.js +2 -2
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/dist/client.js +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/dist/node_modules/tencentcloud-sdk-nodejs/package.json +1 -1
- package/dist/node_modules/tencentcloud-sdk-nodejs/tencentcloud/index.js +2 -2
- package/dist/server/Plugin.d.ts +5 -16
- package/dist/server/Plugin.js +57 -72
- package/dist/server/actions/verificators.d.ts +18 -0
- package/dist/server/actions/verificators.js +175 -0
- package/dist/server/{actions/verifications.d.ts → collections/otp-records.d.ts} +2 -2
- package/dist/server/collections/otp-records.js +75 -0
- package/dist/server/collections/users-verificators.d.ts +14 -0
- package/dist/server/collections/users-verificators.js +58 -0
- package/dist/server/collections/verificators.d.ts +10 -0
- package/dist/server/{actions/index.js → collections/verificators.js} +10 -19
- package/dist/server/constants.d.ts +0 -2
- package/dist/server/constants.js +2 -8
- package/dist/server/index.d.ts +5 -2
- package/dist/server/index.js +12 -5
- package/dist/server/migrations/20250111192640-providers2verificators.d.ts +14 -0
- package/dist/server/migrations/20250111192640-providers2verificators.js +97 -0
- package/dist/server/otp-verification/index.d.ts +25 -0
- package/dist/server/otp-verification/index.js +94 -0
- package/dist/server/otp-verification/sms/index.d.ts +37 -0
- package/dist/server/otp-verification/sms/index.js +87 -0
- package/dist/server/{providers/Provider.d.ts → otp-verification/sms/providers/index.d.ts} +2 -4
- package/dist/server/{providers/Provider.js → otp-verification/sms/providers/index.js} +8 -10
- package/dist/server/{providers → otp-verification/sms/providers}/sms-aliyun.d.ts +3 -3
- package/dist/server/{providers → otp-verification/sms/providers}/sms-aliyun.js +4 -4
- package/dist/server/{providers → otp-verification/sms/providers}/sms-tencent.d.ts +3 -3
- package/dist/server/{providers → otp-verification/sms/providers}/sms-tencent.js +4 -4
- package/dist/server/otp-verification/sms/resource/sms-otp-providers.d.ts +16 -0
- package/dist/server/otp-verification/sms/resource/sms-otp-providers.js +41 -0
- package/dist/server/otp-verification/sms/resource/sms-otp.d.ts +18 -0
- package/dist/server/otp-verification/sms/resource/sms-otp.js +141 -0
- package/dist/server/verification-manager.d.ts +68 -0
- package/dist/server/verification-manager.js +223 -0
- package/dist/server/verification.d.ts +70 -0
- package/dist/server/verification.js +70 -0
- package/package.json +8 -6
- package/dist/client/7551e1f2e04bca2f.js +0 -10
- package/dist/client/providerTypes/sms-aliyun.d.ts +0 -66
- package/dist/client/providerTypes/sms-tencent.d.ts +0 -66
- package/dist/server/actions/verifications.js +0 -146
- package/dist/server/providers/index.d.ts +0 -15
- package/dist/server/providers/index.js +0 -52
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){var e={14812:function(e,t,s){e.exports={parallel:s(8210),serial:s(50445),serialOrdered:s(3578)}},1700:function(e){e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},72794:function(e,t,s){var r=s(15295);e.exports=async;function async(e){var t=false;r((function(){t=true}));return function async_callback(s,i){if(t){e(s,i)}else{r((function nextTick_callback(){e(s,i)}))}}}},15295:function(e){e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},9023:function(e,t,s){var r=s(72794),i=s(1700);e.exports=iterate;function iterate(e,t,s,r){var n=s["keyedList"]?s["keyedList"][s.index]:s.index;s.jobs[n]=runJob(t,n,e[n],(function(e,t){if(!(n in s.jobs)){return}delete s.jobs[n];if(e){i(s)}else{s.results[n]=t}r(e,s.results)}))}function runJob(e,t,s,i){var n;if(e.length==2){n=e(s,r(i))}else{n=e(s,t,r(i))}return n}},42474:function(e){e.exports=state;function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};if(t){r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])})}return r}},37942:function(e,t,s){var r=s(1700),i=s(72794);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;r(this);i(e)(null,this.results)}},8210:function(e,t,s){var r=s(9023),i=s(42474),n=s(37942);e.exports=parallel;function parallel(e,t,s){var a=i(e);while(a.index<(a["keyedList"]||e).length){r(e,t,a,(function(e,t){if(e){s(e,t);return}if(Object.keys(a.jobs).length===0){s(null,a.results);return}}));a.index++}return n.bind(a,s)}},50445:function(e,t,s){var r=s(3578);e.exports=serial;function serial(e,t,s){return r(e,t,null,s)}},3578:function(e,t,s){var r=s(9023),i=s(42474),n=s(37942);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,s,a){var c=i(e,s);r(e,t,c,(function iteratorHandler(s,i){if(s){a(s,i);return}c.index++;if(c.index<(c["keyedList"]||e).length){r(e,t,c,iteratorHandler);return}a(null,c.results)}));return n.bind(c,a)}function ascending(e,t){return e<t?-1:e>t?1:0}function descending(e,t){return-1*ascending(e,t)}},87558:function(e){(function(t){"use strict";var s,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,n=Math.floor,a="[BigNumber Error] ",c=a+"Number primitive has more than 15 significant digits: ",u=1e14,o=14,l=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,y=1e9;function clone(e){var t,s,h,m=BigNumber.prototype={constructor:BigNumber,toString:null,valueOf:null},b=new BigNumber(1),D=20,q=4,v=-7,C=21,g=-1e7,S=1e7,P=false,M=1,A=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},T="0123456789abcdefghijklmnopqrstuvwxyz",I=true;function BigNumber(e,t){var i,a,u,p,d,y,m,b,v=this;if(!(v instanceof BigNumber))return new BigNumber(e,t);if(t==null){if(e&&e._isBigNumber===true){v.s=e.s;if(!e.c||e.e>S){v.c=v.e=null}else if(e.e<g){v.c=[v.e=0]}else{v.e=e.e;v.c=e.c.slice()}return}if((y=typeof e=="number")&&e*0==0){v.s=1/e<0?(e=-e,-1):1;if(e===~~e){for(p=0,d=e;d>=10;d/=10,p++);if(p>S){v.c=v.e=null}else{v.e=p;v.c=[e]}return}b=String(e)}else{if(!r.test(b=String(e)))return h(v,b,y);v.s=b.charCodeAt(0)==45?(b=b.slice(1),-1):1}if((p=b.indexOf("."))>-1)b=b.replace(".","");if((d=b.search(/e/i))>0){if(p<0)p=d;p+=+b.slice(d+1);b=b.substring(0,d)}else if(p<0){p=b.length}}else{intCheck(t,2,T.length,"Base");if(t==10&&I){v=new BigNumber(e);return round(v,D+v.e+1,q)}b=String(e);if(y=typeof e=="number"){if(e*0!=0)return h(v,b,y,t);v.s=1/e<0?(b=b.slice(1),-1):1;if(BigNumber.DEBUG&&b.replace(/^0\.0*|\./,"").length>15){throw Error(c+e)}}else{v.s=b.charCodeAt(0)===45?(b=b.slice(1),-1):1}i=T.slice(0,t);p=d=0;for(m=b.length;d<m;d++){if(i.indexOf(a=b.charAt(d))<0){if(a=="."){if(d>p){p=m;continue}}else if(!u){if(b==b.toUpperCase()&&(b=b.toLowerCase())||b==b.toLowerCase()&&(b=b.toUpperCase())){u=true;d=-1;p=0;continue}}return h(v,String(e),y,t)}}y=false;b=s(b,t,10,v.s);if((p=b.indexOf("."))>-1)b=b.replace(".","");else p=b.length}for(d=0;b.charCodeAt(d)===48;d++);for(m=b.length;b.charCodeAt(--m)===48;);if(b=b.slice(d,++m)){m-=d;if(y&&BigNumber.DEBUG&&m>15&&(e>l||e!==n(e))){throw Error(c+v.s*e)}if((p=p-d-1)>S){v.c=v.e=null}else if(p<g){v.c=[v.e=0]}else{v.e=p;v.c=[];d=(p+1)%o;if(p<0)d+=o;if(d<m){if(d)v.c.push(+b.slice(0,d));for(m-=o;d<m;){v.c.push(+b.slice(d,d+=o))}d=o-(b=b.slice(d)).length}else{d-=m}for(;d--;b+="0");v.c.push(+b)}}else{v.c=[v.e=0]}}BigNumber.clone=clone;BigNumber.ROUND_UP=0;BigNumber.ROUND_DOWN=1;BigNumber.ROUND_CEIL=2;BigNumber.ROUND_FLOOR=3;BigNumber.ROUND_HALF_UP=4;BigNumber.ROUND_HALF_DOWN=5;BigNumber.ROUND_HALF_EVEN=6;BigNumber.ROUND_HALF_CEIL=7;BigNumber.ROUND_HALF_FLOOR=8;BigNumber.EUCLID=9;BigNumber.config=BigNumber.set=function(e){var t,s;if(e!=null){if(typeof e=="object"){if(e.hasOwnProperty(t="DECIMAL_PLACES")){s=e[t];intCheck(s,0,y,t);D=s}if(e.hasOwnProperty(t="ROUNDING_MODE")){s=e[t];intCheck(s,0,8,t);q=s}if(e.hasOwnProperty(t="EXPONENTIAL_AT")){s=e[t];if(s&&s.pop){intCheck(s[0],-y,0,t);intCheck(s[1],0,y,t);v=s[0];C=s[1]}else{intCheck(s,-y,y,t);v=-(C=s<0?-s:s)}}if(e.hasOwnProperty(t="RANGE")){s=e[t];if(s&&s.pop){intCheck(s[0],-y,-1,t);intCheck(s[1],1,y,t);g=s[0];S=s[1]}else{intCheck(s,-y,y,t);if(s){g=-(S=s<0?-s:s)}else{throw Error(a+t+" cannot be zero: "+s)}}}if(e.hasOwnProperty(t="CRYPTO")){s=e[t];if(s===!!s){if(s){if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)){P=s}else{P=!s;throw Error(a+"crypto unavailable")}}else{P=s}}else{throw Error(a+t+" not true or false: "+s)}}if(e.hasOwnProperty(t="MODULO_MODE")){s=e[t];intCheck(s,0,9,t);M=s}if(e.hasOwnProperty(t="POW_PRECISION")){s=e[t];intCheck(s,0,y,t);A=s}if(e.hasOwnProperty(t="FORMAT")){s=e[t];if(typeof s=="object")R=s;else throw Error(a+t+" not an object: "+s)}if(e.hasOwnProperty(t="ALPHABET")){s=e[t];if(typeof s=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(s)){I=s.slice(0,10)=="0123456789";T=s}else{throw Error(a+t+" invalid: "+s)}}}else{throw Error(a+"Object expected: "+e)}}return{DECIMAL_PLACES:D,ROUNDING_MODE:q,EXPONENTIAL_AT:[v,C],RANGE:[g,S],CRYPTO:P,MODULO_MODE:M,POW_PRECISION:A,FORMAT:R,ALPHABET:T}};BigNumber.isBigNumber=function(e){if(!e||e._isBigNumber!==true)return false;if(!BigNumber.DEBUG)return true;var t,s,r=e.c,i=e.e,c=e.s;e:if({}.toString.call(r)=="[object Array]"){if((c===1||c===-1)&&i>=-y&&i<=y&&i===n(i)){if(r[0]===0){if(i===0&&r.length===1)return true;break e}t=(i+1)%o;if(t<1)t+=o;if(String(r[0]).length==t){for(t=0;t<r.length;t++){s=r[t];if(s<0||s>=u||s!==n(s))break e}if(s!==0)return true}}}else if(r===null&&i===null&&(c===null||c===1||c===-1)){return true}throw Error(a+"Invalid BigNumber: "+e)};BigNumber.maximum=BigNumber.max=function(){return maxOrMin(arguments,-1)};BigNumber.minimum=BigNumber.min=function(){return maxOrMin(arguments,1)};BigNumber.random=function(){var e=9007199254740992;var t=Math.random()*e&2097151?function(){return n(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(e){var s,r,c,u,l,d=0,h=[],m=new BigNumber(b);if(e==null)e=D;else intCheck(e,0,y);u=i(e/o);if(P){if(crypto.getRandomValues){s=crypto.getRandomValues(new Uint32Array(u*=2));for(;d<u;){l=s[d]*131072+(s[d+1]>>>11);if(l>=9e15){r=crypto.getRandomValues(new Uint32Array(2));s[d]=r[0];s[d+1]=r[1]}else{h.push(l%1e14);d+=2}}d=u/2}else if(crypto.randomBytes){s=crypto.randomBytes(u*=7);for(;d<u;){l=(s[d]&31)*281474976710656+s[d+1]*1099511627776+s[d+2]*4294967296+s[d+3]*16777216+(s[d+4]<<16)+(s[d+5]<<8)+s[d+6];if(l>=9e15){crypto.randomBytes(7).copy(s,d)}else{h.push(l%1e14);d+=7}}d=u/7}else{P=false;throw Error(a+"crypto unavailable")}}if(!P){for(;d<u;){l=t();if(l<9e15)h[d++]=l%1e14}}u=h[--d];e%=o;if(u&&e){l=p[o-e];h[d]=n(u/l)*l}for(;h[d]===0;h.pop(),d--);if(d<0){h=[c=0]}else{for(c=-1;h[0]===0;h.splice(0,1),c-=o);for(d=1,l=h[0];l>=10;l/=10,d++);if(d<o)c-=o-d}m.e=c;m.c=h;return m}}();BigNumber.sum=function(){var e=1,t=arguments,s=new BigNumber(t[0]);for(;e<t.length;)s=s.plus(t[e++]);return s};s=function(){var e="0123456789";function toBaseOut(e,t,s,r){var i,n=[0],a,c=0,u=e.length;for(;c<u;){for(a=n.length;a--;n[a]*=t);n[0]+=r.indexOf(e.charAt(c++));for(i=0;i<n.length;i++){if(n[i]>s-1){if(n[i+1]==null)n[i+1]=0;n[i+1]+=n[i]/s|0;n[i]%=s}}}return n.reverse()}return function(s,r,i,n,a){var c,u,o,l,p,d,y,h,m=s.indexOf("."),b=D,v=q;if(m>=0){l=A;A=0;s=s.replace(".","");h=new BigNumber(r);d=h.pow(s.length-m);A=l;h.c=toBaseOut(toFixedPoint(coeffToString(d.c),d.e,"0"),10,i,e);h.e=h.c.length}y=toBaseOut(s,r,i,a?(c=T,e):(c=e,T));o=l=y.length;for(;y[--l]==0;y.pop());if(!y[0])return c.charAt(0);if(m<0){--o}else{d.c=y;d.e=o;d.s=n;d=t(d,h,b,v,i);y=d.c;p=d.r;o=d.e}u=o+b+1;m=y[u];l=i/2;p=p||u<0||y[u+1]!=null;p=v<4?(m!=null||p)&&(v==0||v==(d.s<0?3:2)):m>l||m==l&&(v==4||p||v==6&&y[u-1]&1||v==(d.s<0?8:7));if(u<1||!y[0]){s=p?toFixedPoint(c.charAt(1),-b,c.charAt(0)):c.charAt(0)}else{y.length=u;if(p){for(--i;++y[--u]>i;){y[u]=0;if(!u){++o;y=[1].concat(y)}}}for(l=y.length;!y[--l];);for(m=0,s="";m<=l;s+=c.charAt(y[m++]));s=toFixedPoint(s,o,c.charAt(0))}return s}}();t=function(){function multiply(e,t,s){var r,i,n,a,c=0,u=e.length,o=t%d,l=t/d|0;for(e=e.slice();u--;){n=e[u]%d;a=e[u]/d|0;r=l*n+a*o;i=o*n+r%d*d+c;c=(i/s|0)+(r/d|0)+l*a;e[u]=i%s}if(c)e=[c].concat(e);return e}function compare(e,t,s,r){var i,n;if(s!=r){n=s>r?1:-1}else{for(i=n=0;i<s;i++){if(e[i]!=t[i]){n=e[i]>t[i]?1:-1;break}}}return n}function subtract(e,t,s,r){var i=0;for(;s--;){e[s]-=i;i=e[s]<t[s]?1:0;e[s]=i*r+e[s]-t[s]}for(;!e[0]&&e.length>1;e.splice(0,1));}return function(e,t,s,r,i){var a,c,l,p,d,y,h,m,b,D,q,v,C,g,S,P,M,A=e.s==t.s?1:-1,R=e.c,T=t.c;if(!R||!R[0]||!T||!T[0]){return new BigNumber(!e.s||!t.s||(R?T&&R[0]==T[0]:!T)?NaN:R&&R[0]==0||!T?A*0:A/0)}m=new BigNumber(A);b=m.c=[];c=e.e-t.e;A=s+c+1;if(!i){i=u;c=bitFloor(e.e/o)-bitFloor(t.e/o);A=A/o|0}for(l=0;T[l]==(R[l]||0);l++);if(T[l]>(R[l]||0))c--;if(A<0){b.push(1);p=true}else{g=R.length;P=T.length;l=0;A+=2;d=n(i/(T[0]+1));if(d>1){T=multiply(T,d,i);R=multiply(R,d,i);P=T.length;g=R.length}C=P;D=R.slice(0,P);q=D.length;for(;q<P;D[q++]=0);M=T.slice();M=[0].concat(M);S=T[0];if(T[1]>=i/2)S++;do{d=0;a=compare(T,D,P,q);if(a<0){v=D[0];if(P!=q)v=v*i+(D[1]||0);d=n(v/S);if(d>1){if(d>=i)d=i-1;y=multiply(T,d,i);h=y.length;q=D.length;while(compare(y,D,h,q)==1){d--;subtract(y,P<h?M:T,h,i);h=y.length;a=1}}else{if(d==0){a=d=1}y=T.slice();h=y.length}if(h<q)y=[0].concat(y);subtract(D,y,q,i);q=D.length;if(a==-1){while(compare(T,D,P,q)<1){d++;subtract(D,P<q?M:T,q,i);q=D.length}}}else if(a===0){d++;D=[0]}b[l++]=d;if(D[0]){D[q++]=R[C]||0}else{D=[R[C]];q=1}}while((C++<g||D[0]!=null)&&A--);p=D[0]!=null;if(!b[0])b.splice(0,1)}if(i==u){for(l=1,A=b[0];A>=10;A/=10,l++);round(m,s+(m.e=l+c*o-1)+1,r,p)}else{m.e=c;m.r=+p}return m}}();function format(e,t,s,r){var i,n,a,c,u;if(s==null)s=q;else intCheck(s,0,8);if(!e.c)return e.toString();i=e.c[0];a=e.e;if(t==null){u=coeffToString(e.c);u=r==1||r==2&&(a<=v||a>=C)?toExponential(u,a):toFixedPoint(u,a,"0")}else{e=round(new BigNumber(e),t,s);n=e.e;u=coeffToString(e.c);c=u.length;if(r==1||r==2&&(t<=n||n<=v)){for(;c<t;u+="0",c++);u=toExponential(u,n)}else{t-=a;u=toFixedPoint(u,n,"0");if(n+1>c){if(--t>0)for(u+=".";t--;u+="0");}else{t+=n-c;if(t>0){if(n+1==c)u+=".";for(;t--;u+="0");}}}}return e.s<0&&i?"-"+u:u}function maxOrMin(e,t){var s,r,i=1,n=new BigNumber(e[0]);for(;i<e.length;i++){r=new BigNumber(e[i]);if(!r.s||(s=compare(n,r))===t||s===0&&n.s===t){n=r}}return n}function normalise(e,t,s){var r=1,i=t.length;for(;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,r++);if((s=r+s*o-1)>S){e.c=e.e=null}else if(s<g){e.c=[e.e=0]}else{e.e=s;e.c=t}return e}h=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,s=/^\.([^.]+)$/,r=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(n,c,u,o){var l,p=u?c:c.replace(i,"");if(r.test(p)){n.s=isNaN(p)?null:p<0?-1:1}else{if(!u){p=p.replace(e,(function(e,t,s){l=(s=s.toLowerCase())=="x"?16:s=="b"?2:8;return!o||o==l?t:e}));if(o){l=o;p=p.replace(t,"$1").replace(s,"0.$1")}if(c!=p)return new BigNumber(p,l)}if(BigNumber.DEBUG){throw Error(a+"Not a"+(o?" base "+o:"")+" number: "+c)}n.s=null}n.c=n.e=null}}();function round(e,t,s,r){var a,c,l,d,y,h,m,b=e.c,D=p;if(b){e:{for(a=1,d=b[0];d>=10;d/=10,a++);c=t-a;if(c<0){c+=o;l=t;y=b[h=0];m=n(y/D[a-l-1]%10)}else{h=i((c+1)/o);if(h>=b.length){if(r){for(;b.length<=h;b.push(0));y=m=0;a=1;c%=o;l=c-o+1}else{break e}}else{y=d=b[h];for(a=1;d>=10;d/=10,a++);c%=o;l=c-o+a;m=l<0?0:n(y/D[a-l-1]%10)}}r=r||t<0||b[h+1]!=null||(l<0?y:y%D[a-l-1]);r=s<4?(m||r)&&(s==0||s==(e.s<0?3:2)):m>5||m==5&&(s==4||r||s==6&&(c>0?l>0?y/D[a-l]:0:b[h-1])%10&1||s==(e.s<0?8:7));if(t<1||!b[0]){b.length=0;if(r){t-=e.e+1;b[0]=D[(o-t%o)%o];e.e=-t||0}else{b[0]=e.e=0}return e}if(c==0){b.length=h;d=1;h--}else{b.length=h+1;d=D[o-c];b[h]=l>0?n(y/D[a-l]%D[l])*d:0}if(r){for(;;){if(h==0){for(c=1,l=b[0];l>=10;l/=10,c++);l=b[0]+=d;for(d=1;l>=10;l/=10,d++);if(c!=d){e.e++;if(b[0]==u)b[0]=1}break}else{b[h]+=d;if(b[h]!=u)break;b[h--]=0;d=1}}}for(c=b.length;b[--c]===0;b.pop());}if(e.e>S){e.c=e.e=null}else if(e.e<g){e.c=[e.e=0]}}return e}function valueOf(e){var t,s=e.e;if(s===null)return e.toString();t=coeffToString(e.c);t=s<=v||s>=C?toExponential(t,s):toFixedPoint(t,s,"0");return e.s<0?"-"+t:t}m.absoluteValue=m.abs=function(){var e=new BigNumber(this);if(e.s<0)e.s=1;return e};m.comparedTo=function(e,t){return compare(this,new BigNumber(e,t))};m.decimalPlaces=m.dp=function(e,t){var s,r,i,n=this;if(e!=null){intCheck(e,0,y);if(t==null)t=q;else intCheck(t,0,8);return round(new BigNumber(n),e+n.e+1,t)}if(!(s=n.c))return null;r=((i=s.length-1)-bitFloor(this.e/o))*o;if(i=s[i])for(;i%10==0;i/=10,r--);if(r<0)r=0;return r};m.dividedBy=m.div=function(e,s){return t(this,new BigNumber(e,s),D,q)};m.dividedToIntegerBy=m.idiv=function(e,s){return t(this,new BigNumber(e,s),0,1)};m.exponentiatedBy=m.pow=function(e,t){var s,r,c,u,l,p,d,y,h,m=this;e=new BigNumber(e);if(e.c&&!e.isInteger()){throw Error(a+"Exponent not an integer: "+valueOf(e))}if(t!=null)t=new BigNumber(t);p=e.e>14;if(!m.c||!m.c[0]||m.c[0]==1&&!m.e&&m.c.length==1||!e.c||!e.c[0]){h=new BigNumber(Math.pow(+valueOf(m),p?e.s*(2-isOdd(e)):+valueOf(e)));return t?h.mod(t):h}d=e.s<0;if(t){if(t.c?!t.c[0]:!t.s)return new BigNumber(NaN);r=!d&&m.isInteger()&&t.isInteger();if(r)m=m.mod(t)}else if(e.e>9&&(m.e>0||m.e<-1||(m.e==0?m.c[0]>1||p&&m.c[1]>=24e7:m.c[0]<8e13||p&&m.c[0]<=9999975e7))){u=m.s<0&&isOdd(e)?-0:0;if(m.e>-1)u=1/u;return new BigNumber(d?1/u:u)}else if(A){u=i(A/o+2)}if(p){s=new BigNumber(.5);if(d)e.s=1;y=isOdd(e)}else{c=Math.abs(+valueOf(e));y=c%2}h=new BigNumber(b);for(;;){if(y){h=h.times(m);if(!h.c)break;if(u){if(h.c.length>u)h.c.length=u}else if(r){h=h.mod(t)}}if(c){c=n(c/2);if(c===0)break;y=c%2}else{e=e.times(s);round(e,e.e+1,1);if(e.e>14){y=isOdd(e)}else{c=+valueOf(e);if(c===0)break;y=c%2}}m=m.times(m);if(u){if(m.c&&m.c.length>u)m.c.length=u}else if(r){m=m.mod(t)}}if(r)return h;if(d)h=b.div(h);return t?h.mod(t):u?round(h,A,q,l):h};m.integerValue=function(e){var t=new BigNumber(this);if(e==null)e=q;else intCheck(e,0,8);return round(t,t.e+1,e)};m.isEqualTo=m.eq=function(e,t){return compare(this,new BigNumber(e,t))===0};m.isFinite=function(){return!!this.c};m.isGreaterThan=m.gt=function(e,t){return compare(this,new BigNumber(e,t))>0};m.isGreaterThanOrEqualTo=m.gte=function(e,t){return(t=compare(this,new BigNumber(e,t)))===1||t===0};m.isInteger=function(){return!!this.c&&bitFloor(this.e/o)>this.c.length-2};m.isLessThan=m.lt=function(e,t){return compare(this,new BigNumber(e,t))<0};m.isLessThanOrEqualTo=m.lte=function(e,t){return(t=compare(this,new BigNumber(e,t)))===-1||t===0};m.isNaN=function(){return!this.s};m.isNegative=function(){return this.s<0};m.isPositive=function(){return this.s>0};m.isZero=function(){return!!this.c&&this.c[0]==0};m.minus=function(e,t){var s,r,i,n,a=this,c=a.s;e=new BigNumber(e,t);t=e.s;if(!c||!t)return new BigNumber(NaN);if(c!=t){e.s=-t;return a.plus(e)}var l=a.e/o,p=e.e/o,d=a.c,y=e.c;if(!l||!p){if(!d||!y)return d?(e.s=-t,e):new BigNumber(y?a:NaN);if(!d[0]||!y[0]){return y[0]?(e.s=-t,e):new BigNumber(d[0]?a:q==3?-0:0)}}l=bitFloor(l);p=bitFloor(p);d=d.slice();if(c=l-p){if(n=c<0){c=-c;i=d}else{p=l;i=y}i.reverse();for(t=c;t--;i.push(0));i.reverse()}else{r=(n=(c=d.length)<(t=y.length))?c:t;for(c=t=0;t<r;t++){if(d[t]!=y[t]){n=d[t]<y[t];break}}}if(n){i=d;d=y;y=i;e.s=-e.s}t=(r=y.length)-(s=d.length);if(t>0)for(;t--;d[s++]=0);t=u-1;for(;r>c;){if(d[--r]<y[r]){for(s=r;s&&!d[--s];d[s]=t);--d[s];d[r]+=u}d[r]-=y[r]}for(;d[0]==0;d.splice(0,1),--p);if(!d[0]){e.s=q==3?-1:1;e.c=[e.e=0];return e}return normalise(e,d,p)};m.modulo=m.mod=function(e,s){var r,i,n=this;e=new BigNumber(e,s);if(!n.c||!e.s||e.c&&!e.c[0]){return new BigNumber(NaN)}else if(!e.c||n.c&&!n.c[0]){return new BigNumber(n)}if(M==9){i=e.s;e.s=1;r=t(n,e,0,3);e.s=i;r.s*=i}else{r=t(n,e,0,M)}e=n.minus(r.times(e));if(!e.c[0]&&M==1)e.s=n.s;return e};m.multipliedBy=m.times=function(e,t){var s,r,i,n,a,c,l,p,y,h,m,b,D,q,v,C=this,g=C.c,S=(e=new BigNumber(e,t)).c;if(!g||!S||!g[0]||!S[0]){if(!C.s||!e.s||g&&!g[0]&&!S||S&&!S[0]&&!g){e.c=e.e=e.s=null}else{e.s*=C.s;if(!g||!S){e.c=e.e=null}else{e.c=[0];e.e=0}}return e}r=bitFloor(C.e/o)+bitFloor(e.e/o);e.s*=C.s;l=g.length;h=S.length;if(l<h){D=g;g=S;S=D;i=l;l=h;h=i}for(i=l+h,D=[];i--;D.push(0));q=u;v=d;for(i=h;--i>=0;){s=0;m=S[i]%v;b=S[i]/v|0;for(a=l,n=i+a;n>i;){p=g[--a]%v;y=g[a]/v|0;c=b*p+y*m;p=m*p+c%v*v+D[n]+s;s=(p/q|0)+(c/v|0)+b*y;D[n--]=p%q}D[n]=s}if(s){++r}else{D.splice(0,1)}return normalise(e,D,r)};m.negated=function(){var e=new BigNumber(this);e.s=-e.s||null;return e};m.plus=function(e,t){var s,r=this,i=r.s;e=new BigNumber(e,t);t=e.s;if(!i||!t)return new BigNumber(NaN);if(i!=t){e.s=-t;return r.minus(e)}var n=r.e/o,a=e.e/o,c=r.c,l=e.c;if(!n||!a){if(!c||!l)return new BigNumber(i/0);if(!c[0]||!l[0])return l[0]?e:new BigNumber(c[0]?r:i*0)}n=bitFloor(n);a=bitFloor(a);c=c.slice();if(i=n-a){if(i>0){a=n;s=l}else{i=-i;s=c}s.reverse();for(;i--;s.push(0));s.reverse()}i=c.length;t=l.length;if(i-t<0){s=l;l=c;c=s;t=i}for(i=0;t;){i=(c[--t]=c[t]+l[t]+i)/u|0;c[t]=u===c[t]?0:c[t]%u}if(i){c=[i].concat(c);++a}return normalise(e,c,a)};m.precision=m.sd=function(e,t){var s,r,i,n=this;if(e!=null&&e!==!!e){intCheck(e,1,y);if(t==null)t=q;else intCheck(t,0,8);return round(new BigNumber(n),e,t)}if(!(s=n.c))return null;i=s.length-1;r=i*o+1;if(i=s[i]){for(;i%10==0;i/=10,r--);for(i=s[0];i>=10;i/=10,r++);}if(e&&n.e+1>r)r=n.e+1;return r};m.shiftedBy=function(e){intCheck(e,-l,l);return this.times("1e"+e)};m.squareRoot=m.sqrt=function(){var e,s,r,i,n,a=this,c=a.c,u=a.s,o=a.e,l=D+4,p=new BigNumber("0.5");if(u!==1||!c||!c[0]){return new BigNumber(!u||u<0&&(!c||c[0])?NaN:c?a:1/0)}u=Math.sqrt(+valueOf(a));if(u==0||u==1/0){s=coeffToString(c);if((s.length+o)%2==0)s+="0";u=Math.sqrt(+s);o=bitFloor((o+1)/2)-(o<0||o%2);if(u==1/0){s="5e"+o}else{s=u.toExponential();s=s.slice(0,s.indexOf("e")+1)+o}r=new BigNumber(s)}else{r=new BigNumber(u+"")}if(r.c[0]){o=r.e;u=o+l;if(u<3)u=0;for(;;){n=r;r=p.times(n.plus(t(a,n,l,1)));if(coeffToString(n.c).slice(0,u)===(s=coeffToString(r.c)).slice(0,u)){if(r.e<o)--u;s=s.slice(u-3,u+1);if(s=="9999"||!i&&s=="4999"){if(!i){round(n,n.e+D+2,0);if(n.times(n).eq(a)){r=n;break}}l+=4;u+=4;i=1}else{if(!+s||!+s.slice(1)&&s.charAt(0)=="5"){round(r,r.e+D+2,1);e=!r.times(r).eq(a)}break}}}}return round(r,r.e+D+1,q,e)};m.toExponential=function(e,t){if(e!=null){intCheck(e,0,y);e++}return format(this,e,t,1)};m.toFixed=function(e,t){if(e!=null){intCheck(e,0,y);e=e+this.e+1}return format(this,e,t)};m.toFormat=function(e,t,s){var r,i=this;if(s==null){if(e!=null&&t&&typeof t=="object"){s=t;t=null}else if(e&&typeof e=="object"){s=e;e=t=null}else{s=R}}else if(typeof s!="object"){throw Error(a+"Argument not an object: "+s)}r=i.toFixed(e,t);if(i.c){var n,c=r.split("."),u=+s.groupSize,o=+s.secondaryGroupSize,l=s.groupSeparator||"",p=c[0],d=c[1],y=i.s<0,h=y?p.slice(1):p,m=h.length;if(o){n=u;u=o;o=n;m-=n}if(u>0&&m>0){n=m%u||u;p=h.substr(0,n);for(;n<m;n+=u)p+=l+h.substr(n,u);if(o>0)p+=l+h.slice(n);if(y)p="-"+p}r=d?p+(s.decimalSeparator||"")+((o=+s.fractionGroupSize)?d.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+(s.fractionGroupSeparator||"")):d):p}return(s.prefix||"")+r+(s.suffix||"")};m.toFraction=function(e){var s,r,i,n,c,u,l,d,y,h,m,D,v=this,C=v.c;if(e!=null){l=new BigNumber(e);if(!l.isInteger()&&(l.c||l.s!==1)||l.lt(b)){throw Error(a+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+valueOf(l))}}if(!C)return new BigNumber(v);s=new BigNumber(b);y=r=new BigNumber(b);i=d=new BigNumber(b);D=coeffToString(C);c=s.e=D.length-v.e-1;s.c[0]=p[(u=c%o)<0?o+u:u];e=!e||l.comparedTo(s)>0?c>0?s:y:l;u=S;S=1/0;l=new BigNumber(D);d.c[0]=0;for(;;){h=t(l,s,0,1);n=r.plus(h.times(i));if(n.comparedTo(e)==1)break;r=i;i=n;y=d.plus(h.times(n=y));d=n;s=l.minus(h.times(n=s));l=n}n=t(e.minus(r),i,0,1);d=d.plus(n.times(y));r=r.plus(n.times(i));d.s=y.s=v.s;c=c*2;m=t(y,i,c,q).minus(v).abs().comparedTo(t(d,r,c,q).minus(v).abs())<1?[y,i]:[d,r];S=u;return m};m.toNumber=function(){return+valueOf(this)};m.toPrecision=function(e,t){if(e!=null)intCheck(e,1,y);return format(this,e,t,2)};m.toString=function(e){var t,r=this,i=r.s,n=r.e;if(n===null){if(i){t="Infinity";if(i<0)t="-"+t}else{t="NaN"}}else{if(e==null){t=n<=v||n>=C?toExponential(coeffToString(r.c),n):toFixedPoint(coeffToString(r.c),n,"0")}else if(e===10&&I){r=round(new BigNumber(r),D+n+1,q);t=toFixedPoint(coeffToString(r.c),r.e,"0")}else{intCheck(e,2,T.length,"Base");t=s(toFixedPoint(coeffToString(r.c),n,"0"),10,e,i,true)}if(i<0&&r.c[0])t="-"+t}return t};m.valueOf=m.toJSON=function(){return valueOf(this)};m._isBigNumber=true;if(e!=null)BigNumber.set(e);return BigNumber}function bitFloor(e){var t=e|0;return e>0||e===t?t:t-1}function coeffToString(e){var t,s,r=1,i=e.length,n=e[0]+"";for(;r<i;){t=e[r++]+"";s=o-t.length;for(;s--;t="0"+t);n+=t}for(i=n.length;n.charCodeAt(--i)===48;);return n.slice(0,i+1||1)}function compare(e,t){var s,r,i=e.c,n=t.c,a=e.s,c=t.s,u=e.e,o=t.e;if(!a||!c)return null;s=i&&!i[0];r=n&&!n[0];if(s||r)return s?r?0:-c:a;if(a!=c)return a;s=a<0;r=u==o;if(!i||!n)return r?0:!i^s?1:-1;if(!r)return u>o^s?1:-1;c=(u=i.length)<(o=n.length)?u:o;for(a=0;a<c;a++)if(i[a]!=n[a])return i[a]>n[a]^s?1:-1;return u==o?0:u>o^s?1:-1}function intCheck(e,t,s,r){if(e<t||e>s||e!==n(e)){throw Error(a+(r||"Argument")+(typeof e=="number"?e<t||e>s?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}}function isOdd(e){var t=e.c.length-1;return bitFloor(e.e/o)==t&&e.c[t]%2!=0}function toExponential(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function toFixedPoint(e,t,s){var r,i;if(t<0){for(i=s+".";++t;i+=s);e=i+e}else{r=e.length;if(++t>r){for(i=s,t-=r;--t;i+=s);e+=i}else if(t<r){e=e.slice(0,t)+"."+e.slice(t)}}return e}s=clone();s["default"]=s.BigNumber=s;if(typeof define=="function"&&define.amd){define((function(){return s}))}else if(true&&e.exports){e.exports=s}else{if(!t){t=typeof self!="undefined"&&self?self:window}t.BigNumber=s}})(this)},85443:function(e,t,s){var r=s(73837);var i=s(12781).Stream;var n=s(18611);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}r.inherits(CombinedStream,i);CombinedStream.create=function(e){var t=new this;e=e||{};for(var s in e){t[s]=e[s]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof n)){var s=n.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=s}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){i.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var s=e;this.write(s);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},84697:function(e){var t=1e3;var s=t*60;var r=s*60;var i=r*24;var n=i*7;var a=i*365.25;e.exports=function(e,t){t=t||{};var s=typeof e;if(s==="string"&&e.length>0){return parse(e)}else if(s==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c){return}var u=parseFloat(c[1]);var o=(c[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*n;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*s;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var n=Math.abs(e);if(n>=i){return Math.round(e/i)+"d"}if(n>=r){return Math.round(e/r)+"h"}if(n>=s){return Math.round(e/s)+"m"}if(n>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var n=Math.abs(e);if(n>=i){return plural(e,n,i,"day")}if(n>=r){return plural(e,n,r,"hour")}if(n>=s){return plural(e,n,s,"minute")}if(n>=t){return plural(e,n,t,"second")}return e+" ms"}function plural(e,t,s,r){var i=t>=s*1.5;return Math.round(e/s)+" "+r+(i?"s":"")}},28222:function(e,t,s){t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const s="color: "+this.color;t.splice(1,0,s,"color: inherit");let r=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}r++;if(e==="%c"){i=r}}));t.splice(i,0,s)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=s(46243)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},46243:function(e,t,s){function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=s(84697);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let s=0;s<e.length;s++){t=(t<<5)-t+e.charCodeAt(s);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let s=null;let r;let i;function debug(...e){if(!debug.enabled){return}const s=debug;const r=Number(new Date);const i=r-(t||r);s.diff=i;s.prev=t;s.curr=r;t=r;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,r)=>{if(t==="%%"){return"%"}n++;const i=createDebug.formatters[r];if(typeof i==="function"){const r=e[n];t=i.call(s,r);e.splice(n,1);n--}return t}));createDebug.formatArgs.call(s,e);const a=s.log||createDebug.log;a.apply(s,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(s!==null){return s}if(r!==createDebug.namespaces){r=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{s=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const s=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);s.log=this.log;return s}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const s=(typeof e==="string"?e:"").split(/[\s,]+/);const r=s.length;for(t=0;t<r;t++){if(!s[t]){continue}e=s[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let s;for(t=0,s=createDebug.skips.length;t<s;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,s=createDebug.names.length;t<s;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},38237:function(e,t,s){if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=s(28222)}else{e.exports=s(35332)}},35332:function(e,t,s){const r=s(76224);const i=s(73837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=s(59318);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const s=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];if(/^(yes|on|true|enabled)$/i.test(r)){r=true}else if(/^(no|off|false|disabled)$/i.test(r)){r=false}else if(r==="null"){r=null}else{r=Number(r)}e[s]=r;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:s,useColors:r}=this;if(r){const r=this.color;const i="[3"+(r<8?r:"8;5;"+r);const n=` ${i};1m${s} [0m`;t[0]=n+t[0].split("\n").join("\n"+n);t.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+s+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const s=Object.keys(t.inspectOpts);for(let r=0;r<s.length;r++){e.inspectOpts[s[r]]=t.inspectOpts[s[r]]}}e.exports=s(46243)(t);const{formatters:n}=e.exports;n.o=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};n.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},18611:function(e,t,s){var r=s(12781).Stream;var i=s(73837);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}i.inherits(DelayedStream,r);DelayedStream.create=function(e,t){var s=new this;t=t||{};for(var r in t){s[r]=t[r]}s.source=e;var i=e.emit;e.emit=function(){s._handleEmit(arguments);return i.apply(e,arguments)};e.on("error",(function(){}));if(s.pauseStream){e.pause()}return s};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},28685:function(e,t,s){"use strict";var r=s(19032);e.exports.O=convert;function convert(e,t,s){s=checkEncoding(s||"UTF-8");t=checkEncoding(t||"UTF-8");e=e||"";var r;if(s!=="UTF-8"&&typeof e==="string"){e=Buffer.from(e,"binary")}if(s===t){if(typeof e==="string"){r=Buffer.from(e)}else{r=e}}else{try{r=convertIconvLite(e,t,s)}catch(t){console.error(t);r=e}}if(typeof r==="string"){r=Buffer.from(r,"utf-8")}return r}function convertIconvLite(e,t,s){if(t==="UTF-8"){return r.decode(e,s)}else if(s==="UTF-8"){return r.encode(e,t)}else{return r.encode(r.decode(e,s),t)}}function checkEncoding(e){return(e||"").toString().trim().replace(/^latin[\-_]?(\d+)$/i,"ISO-8859-$1").replace(/^win(?:dows)?[\-_]?(\d+)$/i,"WINDOWS-$1").replace(/^utf[\-_]?(\d+)$/i,"UTF-$1").replace(/^ks_c_5601\-1987$/i,"CP949").replace(/^us[\-_]?ascii$/i,"ASCII").toUpperCase()}},91585:function(e,t,s){"use strict";const{PassThrough:r}=s(12781);e.exports=e=>{e={...e};const{array:t}=e;let{encoding:s}=e;const i=s==="buffer";let n=false;if(t){n=!(s||i)}else{s=s||"utf8"}if(i){s=null}const a=new r({objectMode:n});if(s){a.setEncoding(s)}let c=0;const u=[];a.on("data",(e=>{u.push(e);if(n){c=u.length}else{c+=e.length}}));a.getBufferedValue=()=>{if(t){return u}return i?Buffer.concat(u,c):u.join("")};a.getBufferedLength=()=>c;return a}},21766:function(e,t,s){"use strict";const{constants:r}=s(14300);const i=s(12781);const{promisify:n}=s(73837);const a=s(91585);const c=n(i.pipeline);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){throw new Error("Expected a stream")}t={maxBuffer:Infinity,...t};const{maxBuffer:s}=t;const i=a(t);await new Promise(((t,n)=>{const rejectPromise=e=>{if(e&&i.getBufferedLength()<=r.MAX_LENGTH){e.bufferedData=i.getBufferedValue()}n(e)};(async()=>{try{await c(e,i);t()}catch(e){rejectPromise(e)}})();i.on("data",(()=>{if(i.getBufferedLength()>s){rejectPromise(new MaxBufferError)}}))}));return i.getBufferedValue()}e.exports=getStream;e.exports.buffer=(e,t)=>getStream(e,{...t,encoding:"buffer"});e.exports.array=(e,t)=>getStream(e,{...t,array:true});e.exports.MaxBufferError=MaxBufferError},31621:function(e){"use strict";e.exports=(e,t)=>{t=t||process.argv;const s=e.startsWith("-")?"":e.length===1?"-":"--";const r=t.indexOf(s+e);const i=t.indexOf("--");return r!==-1&&(i===-1?true:r<i)}},15098:function(e,t,s){"use strict";var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,i){function fulfilled(e){try{step(r.next(e))}catch(e){i(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){i(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=i(s(41808));const a=i(s(24404));const c=i(s(57310));const u=i(s(39491));const o=i(s(38237));const l=s(70439);const p=i(s(595));const d=o.default("https-proxy-agent:agent");class HttpsProxyAgent extends l.Agent{constructor(e){let t;if(typeof e==="string"){t=c.default.parse(e)}else{t=e}if(!t){throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!")}d("creating new HttpsProxyAgent instance: %o",t);super(t);const s=Object.assign({},t);this.secureProxy=t.secureProxy||isHTTPS(s.protocol);s.host=s.hostname||s.host;if(typeof s.port==="string"){s.port=parseInt(s.port,10)}if(!s.port&&s.host){s.port=this.secureProxy?443:80}if(this.secureProxy&&!("ALPNProtocols"in s)){s.ALPNProtocols=["http 1.1"]}if(s.host&&s.path){delete s.path;delete s.pathname}this.proxy=s}callback(e,t){return r(this,void 0,void 0,(function*(){const{proxy:s,secureProxy:r}=this;let i;if(r){d("Creating `tls.Socket`: %o",s);i=a.default.connect(s)}else{d("Creating `net.Socket`: %o",s);i=n.default.connect(s)}const c=Object.assign({},s.headers);const o=`${t.host}:${t.port}`;let l=`CONNECT ${o} HTTP/1.1\r\n`;if(s.auth){c["Proxy-Authorization"]=`Basic ${Buffer.from(s.auth).toString("base64")}`}let{host:y,port:h,secureEndpoint:m}=t;if(!isDefaultPort(h,m)){y+=`:${h}`}c.Host=y;c.Connection="close";for(const e of Object.keys(c)){l+=`${e}: ${c[e]}\r\n`}const b=p.default(i);i.write(`${l}\r\n`);const{statusCode:D,buffered:q}=yield b;if(D===200){e.once("socket",resume);if(t.secureEndpoint){d("Upgrading socket connection to TLS");const e=t.servername||t.host;return a.default.connect(Object.assign(Object.assign({},omit(t,"host","hostname","path","port")),{socket:i,servername:e}))}return i}i.destroy();const v=new n.default.Socket({writable:false});v.readable=true;e.once("socket",(e=>{d("replaying proxy buffer for failed request");u.default(e.listenerCount("data")>0);e.push(q);e.push(null)}));return v}))}}t["default"]=HttpsProxyAgent;function resume(e){e.resume()}function isDefaultPort(e,t){return Boolean(!t&&e===80||t&&e===443)}function isHTTPS(e){return typeof e==="string"?/^https:?$/i.test(e):false}function omit(e,...t){const s={};let r;for(r in e){if(!t.includes(r)){s[r]=e[r]}}return s}},77219:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=r(s(15098));function createHttpsProxyAgent(e){return new i.default(e)}(function(e){e.HttpsProxyAgent=i.default;e.prototype=i.default.prototype})(createHttpsProxyAgent||(createHttpsProxyAgent={}));e.exports=createHttpsProxyAgent},595:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const i=r(s(38237));const n=i.default("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,s)=>{let r=0;const i=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("close",onclose);e.removeListener("readable",read)}function onclose(e){n("onclose had error %o",e)}function onend(){n("onend")}function onerror(e){cleanup();n("onerror %o",e);s(e)}function ondata(e){i.push(e);r+=e.length;const s=Buffer.concat(i,r);const a=s.indexOf("\r\n\r\n");if(a===-1){n("have not received end of HTTP headers yet...");read();return}const c=s.toString("ascii",0,s.indexOf("\r\n"));const u=+c.split(" ")[1];n("got proxy server response: %o",c);t({statusCode:u,buffered:s})}e.on("error",onerror);e.on("close",onclose);e.on("end",onend);read()}))}t["default"]=parseProxyResponse},70439:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=s(82361);const n=r(s(38237));const a=r(s(28997));const c=n.default("agent-base");function isAgent(e){return Boolean(e)&&typeof e.addRequest==="function"}function isSecureEndpoint(){const{stack:e}=new Error;if(typeof e!=="string")return false;return e.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}function createAgent(e,t){return new createAgent.Agent(e,t)}(function(e){class Agent extends i.EventEmitter{constructor(e,t){super();let s=t;if(typeof e==="function"){this.callback=e}else if(e){s=e}this.timeout=null;if(s&&typeof s.timeout==="number"){this.timeout=s.timeout}this.maxFreeSockets=1;this.maxSockets=1;this.maxTotalSockets=Infinity;this.sockets={};this.freeSockets={};this.requests={};this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number"){return this.explicitDefaultPort}return isSecureEndpoint()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){if(typeof this.explicitProtocol==="string"){return this.explicitProtocol}return isSecureEndpoint()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,s){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const s=Object.assign({},t);if(typeof s.secureEndpoint!=="boolean"){s.secureEndpoint=isSecureEndpoint()}if(s.host==null){s.host="localhost"}if(s.port==null){s.port=s.secureEndpoint?443:80}if(s.protocol==null){s.protocol=s.secureEndpoint?"https:":"http:"}if(s.host&&s.path){delete s.path}delete s.agent;delete s.hostname;delete s._defaultAgent;delete s.defaultPort;delete s.createConnection;e._last=true;e.shouldKeepAlive=false;let r=false;let i=null;const n=s.timeout||this.timeout;const onerror=t=>{if(e._hadError)return;e.emit("error",t);e._hadError=true};const ontimeout=()=>{i=null;r=true;const e=new Error(`A "socket" was not created for HTTP request before ${n}ms`);e.code="ETIMEOUT";onerror(e)};const callbackError=e=>{if(r)return;if(i!==null){clearTimeout(i);i=null}onerror(e)};const onsocket=t=>{if(r)return;if(i!=null){clearTimeout(i);i=null}if(isAgent(t)){c("Callback returned another Agent instance %o",t.constructor.name);t.addRequest(e,s);return}if(t){t.once("free",(()=>{this.freeSocket(t,s)}));e.onSocket(t);return}const n=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);onerror(n)};if(typeof this.callback!=="function"){onerror(new Error("`callback` is not defined"));return}if(!this.promisifiedCallback){if(this.callback.length>=3){c("Converting legacy callback function to promise");this.promisifiedCallback=a.default(this.callback)}else{this.promisifiedCallback=this.callback}}if(typeof n==="number"&&n>0){i=setTimeout(ontimeout,n)}if("port"in s&&typeof s.port!=="number"){s.port=Number(s.port)}try{c("Resolving socket for %o request: %o",s.protocol,`${e.method} ${e.path}`);Promise.resolve(this.promisifiedCallback(e,s)).then(onsocket,callbackError)}catch(e){Promise.reject(e).catch(callbackError)}}freeSocket(e,t){c("Freeing socket %o %o",e.constructor.name,t);e.destroy()}destroy(){c("Destroying agent %o",this.constructor.name)}}e.Agent=Agent;e.prototype=e.Agent.prototype})(createAgent||(createAgent={}));e.exports=createAgent},28997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function promisify(e){return function(t,s){return new Promise(((r,i)=>{e.call(this,t,s,((e,t)=>{if(e){i(e)}else{r(t)}}))}))}}t["default"]=promisify},39695:function(e,t,s){"use strict";var r=s(15118).Buffer;t._dbcs=DBCSCodec;var i=-1,n=-2,a=-10,c=-1e3,u=new Array(256),o=-1;for(var l=0;l<256;l++)u[l]=i;function DBCSCodec(e,t){this.encodingName=e.encodingName;if(!e)throw new Error("DBCS codec is called without the data.");if(!e.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var s=e.table();this.decodeTables=[];this.decodeTables[0]=u.slice(0);this.decodeTableSeq=[];for(var r=0;r<s.length;r++)this._addDecodeChunk(s[r]);if(typeof e.gb18030==="function"){this.gb18030=e.gb18030();var a=this.decodeTables.length;this.decodeTables.push(u.slice(0));var o=this.decodeTables.length;this.decodeTables.push(u.slice(0));var l=this.decodeTables[0];for(var r=129;r<=254;r++){var p=this.decodeTables[c-l[r]];for(var d=48;d<=57;d++){if(p[d]===i){p[d]=c-a}else if(p[d]>c){throw new Error("gb18030 decode tables conflict at byte 2")}var y=this.decodeTables[c-p[d]];for(var h=129;h<=254;h++){if(y[h]===i){y[h]=c-o}else if(y[h]===c-o){continue}else if(y[h]>c){throw new Error("gb18030 decode tables conflict at byte 3")}var m=this.decodeTables[c-y[h]];for(var b=48;b<=57;b++){if(m[b]===i)m[b]=n}}}}}this.defaultCharUnicode=t.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var D={};if(e.encodeSkipVals)for(var r=0;r<e.encodeSkipVals.length;r++){var q=e.encodeSkipVals[r];if(typeof q==="number")D[q]=true;else for(var d=q.from;d<=q.to;d++)D[d]=true}this._fillEncodeTable(0,0,D);if(e.encodeAdd){for(var v in e.encodeAdd)if(Object.prototype.hasOwnProperty.call(e.encodeAdd,v))this._setEncodeChar(v.charCodeAt(0),e.encodeAdd[v])}this.defCharSB=this.encodeTable[0][t.defaultCharSingleByte.charCodeAt(0)];if(this.defCharSB===i)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===i)this.defCharSB="?".charCodeAt(0)}DBCSCodec.prototype.encoder=DBCSEncoder;DBCSCodec.prototype.decoder=DBCSDecoder;DBCSCodec.prototype._getDecodeTrieNode=function(e){var t=[];for(;e>0;e>>>=8)t.push(e&255);if(t.length==0)t.push(0);var s=this.decodeTables[0];for(var r=t.length-1;r>0;r--){var n=s[t[r]];if(n==i){s[t[r]]=c-this.decodeTables.length;this.decodeTables.push(s=u.slice(0))}else if(n<=c){s=this.decodeTables[c-n]}else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+e.toString(16))}return s};DBCSCodec.prototype._addDecodeChunk=function(e){var t=parseInt(e[0],16);var s=this._getDecodeTrieNode(t);t=t&255;for(var r=1;r<e.length;r++){var i=e[r];if(typeof i==="string"){for(var n=0;n<i.length;){var c=i.charCodeAt(n++);if(55296<=c&&c<56320){var u=i.charCodeAt(n++);if(56320<=u&&u<57344)s[t++]=65536+(c-55296)*1024+(u-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+e[0])}else if(4080<c&&c<=4095){var o=4095-c+2;var l=[];for(var p=0;p<o;p++)l.push(i.charCodeAt(n++));s[t++]=a-this.decodeTableSeq.length;this.decodeTableSeq.push(l)}else s[t++]=c}}else if(typeof i==="number"){var d=s[t-1]+1;for(var n=0;n<i;n++)s[t++]=d++}else throw new Error("Incorrect type '"+typeof i+"' given in "+this.encodingName+" at chunk "+e[0])}if(t>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+e[0]+": too long"+t)};DBCSCodec.prototype._getEncodeBucket=function(e){var t=e>>8;if(this.encodeTable[t]===undefined)this.encodeTable[t]=u.slice(0);return this.encodeTable[t]};DBCSCodec.prototype._setEncodeChar=function(e,t){var s=this._getEncodeBucket(e);var r=e&255;if(s[r]<=a)this.encodeTableSeq[a-s[r]][o]=t;else if(s[r]==i)s[r]=t};DBCSCodec.prototype._setEncodeSequence=function(e,t){var s=e[0];var r=this._getEncodeBucket(s);var n=s&255;var c;if(r[n]<=a){c=this.encodeTableSeq[a-r[n]]}else{c={};if(r[n]!==i)c[o]=r[n];r[n]=a-this.encodeTableSeq.length;this.encodeTableSeq.push(c)}for(var u=1;u<e.length-1;u++){var l=c[s];if(typeof l==="object")c=l;else{c=c[s]={};if(l!==undefined)c[o]=l}}s=e[e.length-1];c[s]=t};DBCSCodec.prototype._fillEncodeTable=function(e,t,s){var r=this.decodeTables[e];var i=false;var n={};for(var u=0;u<256;u++){var o=r[u];var l=t+u;if(s[l])continue;if(o>=0){this._setEncodeChar(o,l);i=true}else if(o<=c){var p=c-o;if(!n[p]){var d=l<<8>>>0;if(this._fillEncodeTable(p,d,s))i=true;else n[p]=true}}else if(o<=a){this._setEncodeSequence(this.decodeTableSeq[a-o],l);i=true}}return i};function DBCSEncoder(e,t){this.leadSurrogate=-1;this.seqObj=undefined;this.encodeTable=t.encodeTable;this.encodeTableSeq=t.encodeTableSeq;this.defaultCharSingleByte=t.defCharSB;this.gb18030=t.gb18030}DBCSEncoder.prototype.write=function(e){var t=r.alloc(e.length*(this.gb18030?4:3)),s=this.leadSurrogate,n=this.seqObj,c=-1,u=0,l=0;while(true){if(c===-1){if(u==e.length)break;var p=e.charCodeAt(u++)}else{var p=c;c=-1}if(55296<=p&&p<57344){if(p<56320){if(s===-1){s=p;continue}else{s=p;p=i}}else{if(s!==-1){p=65536+(s-55296)*1024+(p-56320);s=-1}else{p=i}}}else if(s!==-1){c=p;p=i;s=-1}var d=i;if(n!==undefined&&p!=i){var y=n[p];if(typeof y==="object"){n=y;continue}else if(typeof y=="number"){d=y}else if(y==undefined){y=n[o];if(y!==undefined){d=y;c=p}else{}}n=undefined}else if(p>=0){var h=this.encodeTable[p>>8];if(h!==undefined)d=h[p&255];if(d<=a){n=this.encodeTableSeq[a-d];continue}if(d==i&&this.gb18030){var m=findIdx(this.gb18030.uChars,p);if(m!=-1){var d=this.gb18030.gbChars[m]+(p-this.gb18030.uChars[m]);t[l++]=129+Math.floor(d/12600);d=d%12600;t[l++]=48+Math.floor(d/1260);d=d%1260;t[l++]=129+Math.floor(d/10);d=d%10;t[l++]=48+d;continue}}}if(d===i)d=this.defaultCharSingleByte;if(d<256){t[l++]=d}else if(d<65536){t[l++]=d>>8;t[l++]=d&255}else if(d<16777216){t[l++]=d>>16;t[l++]=d>>8&255;t[l++]=d&255}else{t[l++]=d>>>24;t[l++]=d>>>16&255;t[l++]=d>>>8&255;t[l++]=d&255}}this.seqObj=n;this.leadSurrogate=s;return t.slice(0,l)};DBCSEncoder.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===undefined)return;var e=r.alloc(10),t=0;if(this.seqObj){var s=this.seqObj[o];if(s!==undefined){if(s<256){e[t++]=s}else{e[t++]=s>>8;e[t++]=s&255}}else{}this.seqObj=undefined}if(this.leadSurrogate!==-1){e[t++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return e.slice(0,t)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(e,t){this.nodeIdx=0;this.prevBytes=[];this.decodeTables=t.decodeTables;this.decodeTableSeq=t.decodeTableSeq;this.defaultCharUnicode=t.defaultCharUnicode;this.gb18030=t.gb18030}DBCSDecoder.prototype.write=function(e){var t=r.alloc(e.length*2),s=this.nodeIdx,u=this.prevBytes,o=this.prevBytes.length,l=-this.prevBytes.length,p;for(var d=0,y=0;d<e.length;d++){var h=d>=0?e[d]:u[d+o];var p=this.decodeTables[s][h];if(p>=0){}else if(p===i){p=this.defaultCharUnicode.charCodeAt(0);d=l}else if(p===n){if(d>=3){var m=(e[d-3]-129)*12600+(e[d-2]-48)*1260+(e[d-1]-129)*10+(h-48)}else{var m=(u[d-3+o]-129)*12600+((d-2>=0?e[d-2]:u[d-2+o])-48)*1260+((d-1>=0?e[d-1]:u[d-1+o])-129)*10+(h-48)}var b=findIdx(this.gb18030.gbChars,m);p=this.gb18030.uChars[b]+m-this.gb18030.gbChars[b]}else if(p<=c){s=c-p;continue}else if(p<=a){var D=this.decodeTableSeq[a-p];for(var q=0;q<D.length-1;q++){p=D[q];t[y++]=p&255;t[y++]=p>>8}p=D[D.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+p+" at "+s+"/"+h);if(p>=65536){p-=65536;var v=55296|p>>10;t[y++]=v&255;t[y++]=v>>8;p=56320|p&1023}t[y++]=p&255;t[y++]=p>>8;s=0;l=d+1}this.nodeIdx=s;this.prevBytes=l>=0?Array.prototype.slice.call(e,l):u.slice(l+o).concat(Array.prototype.slice.call(e));return t.slice(0,y).toString("ucs2")};DBCSDecoder.prototype.end=function(){var e="";while(this.prevBytes.length>0){e+=this.defaultCharUnicode;var t=this.prevBytes.slice(1);this.prevBytes=[];this.nodeIdx=0;if(t.length>0)e+=this.write(t)}this.prevBytes=[];this.nodeIdx=0;return e};function findIdx(e,t){if(e[0]>t)return-1;var s=0,r=e.length;while(s<r-1){var i=s+(r-s+1>>1);if(e[i]<=t)s=i;else r=i}return s}},91386:function(e,t,s){"use strict";e.exports={shiftjis:{type:"_dbcs",table:function(){return s(27014)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return s(31532)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return s(13336)}},gbk:{type:"_dbcs",table:function(){return s(13336).concat(s(44346))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return s(13336).concat(s(44346))},gb18030:function(){return s(36258)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return s(77348)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return s(74284)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return s(74284).concat(s(63480))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},82733:function(e,t,s){"use strict";var r=[s(12376),s(59557),s(11155),s(51644),s(26657),s(41080),s(21012),s(39695),s(91386)];for(var i=0;i<r.length;i++){var n=r[i];for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a))t[a]=n[a]}},12376:function(e,t,s){"use strict";var r=s(15118).Buffer;e.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(e,t){this.enc=e.encodingName;this.bomAware=e.bomAware;if(this.enc==="base64")this.encoder=InternalEncoderBase64;else if(this.enc==="cesu8"){this.enc="utf8";this.encoder=InternalEncoderCesu8;if(r.from("eda0bdedb2a9","hex").toString()!=="💩"){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=t.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var i=s(71576).StringDecoder;if(!i.prototype.end)i.prototype.end=function(){};function InternalDecoder(e,t){this.decoder=new i(t.enc)}InternalDecoder.prototype.write=function(e){if(!r.isBuffer(e)){e=r.from(e)}return this.decoder.write(e)};InternalDecoder.prototype.end=function(){return this.decoder.end()};function InternalEncoder(e,t){this.enc=t.enc}InternalEncoder.prototype.write=function(e){return r.from(e,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(e,t){this.prevStr=""}InternalEncoderBase64.prototype.write=function(e){e=this.prevStr+e;var t=e.length-e.length%4;this.prevStr=e.slice(t);e=e.slice(0,t);return r.from(e,"base64")};InternalEncoderBase64.prototype.end=function(){return r.from(this.prevStr,"base64")};function InternalEncoderCesu8(e,t){}InternalEncoderCesu8.prototype.write=function(e){var t=r.alloc(e.length*3),s=0;for(var i=0;i<e.length;i++){var n=e.charCodeAt(i);if(n<128)t[s++]=n;else if(n<2048){t[s++]=192+(n>>>6);t[s++]=128+(n&63)}else{t[s++]=224+(n>>>12);t[s++]=128+(n>>>6&63);t[s++]=128+(n&63)}}return t.slice(0,s)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(e,t){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=t.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(e){var t=this.acc,s=this.contBytes,r=this.accBytes,i="";for(var n=0;n<e.length;n++){var a=e[n];if((a&192)!==128){if(s>0){i+=this.defaultCharUnicode;s=0}if(a<128){i+=String.fromCharCode(a)}else if(a<224){t=a&31;s=1;r=1}else if(a<240){t=a&15;s=2;r=1}else{i+=this.defaultCharUnicode}}else{if(s>0){t=t<<6|a&63;s--;r++;if(s===0){if(r===2&&t<128&&t>0)i+=this.defaultCharUnicode;else if(r===3&&t<2048)i+=this.defaultCharUnicode;else i+=String.fromCharCode(t)}}else{i+=this.defaultCharUnicode}}}this.acc=t;this.contBytes=s;this.accBytes=r;return i};InternalDecoderCesu8.prototype.end=function(){var e=0;if(this.contBytes>0)e+=this.defaultCharUnicode;return e}},26657:function(e,t,s){"use strict";var r=s(15118).Buffer;t._sbcs=SBCSCodec;function SBCSCodec(e,t){if(!e)throw new Error("SBCS codec is called without the data.");if(!e.chars||e.chars.length!==128&&e.chars.length!==256)throw new Error("Encoding '"+e.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(e.chars.length===128){var s="";for(var i=0;i<128;i++)s+=String.fromCharCode(i);e.chars=s+e.chars}this.decodeBuf=r.from(e.chars,"ucs2");var n=r.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(var i=0;i<e.chars.length;i++)n[e.chars.charCodeAt(i)]=i;this.encodeBuf=n}SBCSCodec.prototype.encoder=SBCSEncoder;SBCSCodec.prototype.decoder=SBCSDecoder;function SBCSEncoder(e,t){this.encodeBuf=t.encodeBuf}SBCSEncoder.prototype.write=function(e){var t=r.alloc(e.length);for(var s=0;s<e.length;s++)t[s]=this.encodeBuf[e.charCodeAt(s)];return t};SBCSEncoder.prototype.end=function(){};function SBCSDecoder(e,t){this.decodeBuf=t.decodeBuf}SBCSDecoder.prototype.write=function(e){var t=this.decodeBuf;var s=r.alloc(e.length*2);var i=0,n=0;for(var a=0;a<e.length;a++){i=e[a]*2;n=a*2;s[n]=t[i];s[n+1]=t[i+1]}return s.toString("ucs2")};SBCSDecoder.prototype.end=function(){}},21012:function(e){"use strict";e.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"
Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"
Ħ˘£¤�Ĥ§¨İŞĞĴ�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"
ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"
ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"
���¤�������،�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"
‘’£€₯¦§¨©ͺ«¬�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"
�¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"
ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"
กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"
”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"
Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"
¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"
ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"
ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"
¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"
ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"
¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"
�և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:"
ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},41080:function(e){"use strict";e.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},11155:function(e,t,s){"use strict";var r=s(15118).Buffer;t.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(e){var t=r.from(e,"ucs2");for(var s=0;s<t.length;s+=2){var i=t[s];t[s]=t[s+1];t[s+1]=i}return t};Utf16BEEncoder.prototype.end=function(){};function Utf16BEDecoder(){this.overflowByte=-1}Utf16BEDecoder.prototype.write=function(e){if(e.length==0)return"";var t=r.alloc(e.length+1),s=0,i=0;if(this.overflowByte!==-1){t[0]=e[0];t[1]=this.overflowByte;s=1;i=2}for(;s<e.length-1;s+=2,i+=2){t[i]=e[s+1];t[i+1]=e[s]}this.overflowByte=s==e.length-1?e[e.length-1]:-1;return t.slice(0,i).toString("ucs2")};Utf16BEDecoder.prototype.end=function(){this.overflowByte=-1};t.utf16=Utf16Codec;function Utf16Codec(e,t){this.iconv=t}Utf16Codec.prototype.encoder=Utf16Encoder;Utf16Codec.prototype.decoder=Utf16Decoder;function Utf16Encoder(e,t){e=e||{};if(e.addBOM===undefined)e.addBOM=true;this.encoder=t.iconv.getEncoder("utf-16le",e)}Utf16Encoder.prototype.write=function(e){return this.encoder.write(e)};Utf16Encoder.prototype.end=function(){return this.encoder.end()};function Utf16Decoder(e,t){this.decoder=null;this.initialBufs=[];this.initialBufsLen=0;this.options=e||{};this.iconv=t.iconv}Utf16Decoder.prototype.write=function(e){if(!this.decoder){this.initialBufs.push(e);this.initialBufsLen+=e.length;if(this.initialBufsLen<16)return"";var t=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var s="";for(var r=0;r<this.initialBufs.length;r++)s+=this.decoder.write(this.initialBufs[r]);this.initialBufs.length=this.initialBufsLen=0;return s}return this.decoder.write(e)};Utf16Decoder.prototype.end=function(){if(!this.decoder){var e=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);var t="";for(var s=0;s<this.initialBufs.length;s++)t+=this.decoder.write(this.initialBufs[s]);var r=this.decoder.end();if(r)t+=r;this.initialBufs.length=this.initialBufsLen=0;return t}return this.decoder.end()};function detectEncoding(e,t){var s=[];var r=0;var i=0,n=0;e:for(var a=0;a<e.length;a++){var c=e[a];for(var u=0;u<c.length;u++){s.push(c[u]);if(s.length===2){if(r===0){if(s[0]===255&&s[1]===254)return"utf-16le";if(s[0]===254&&s[1]===255)return"utf-16be"}if(s[0]===0&&s[1]!==0)n++;if(s[0]!==0&&s[1]===0)i++;s.length=0;r++;if(r>=100){break e}}}}if(n>i)return"utf-16be";if(n<i)return"utf-16le";return t||"utf-16le"}},59557:function(e,t,s){"use strict";var r=s(15118).Buffer;t._utf32=Utf32Codec;function Utf32Codec(e,t){this.iconv=t;this.bomAware=true;this.isLE=e.isLE}t.utf32le={type:"_utf32",isLE:true};t.utf32be={type:"_utf32",isLE:false};t.ucs4le="utf32le";t.ucs4be="utf32be";Utf32Codec.prototype.encoder=Utf32Encoder;Utf32Codec.prototype.decoder=Utf32Decoder;function Utf32Encoder(e,t){this.isLE=t.isLE;this.highSurrogate=0}Utf32Encoder.prototype.write=function(e){var t=r.from(e,"ucs2");var s=r.alloc(t.length*2);var i=this.isLE?s.writeUInt32LE:s.writeUInt32BE;var n=0;for(var a=0;a<t.length;a+=2){var c=t.readUInt16LE(a);var u=55296<=c&&c<56320;var o=56320<=c&&c<57344;if(this.highSurrogate){if(u||!o){i.call(s,this.highSurrogate,n);n+=4}else{var l=(this.highSurrogate-55296<<10|c-56320)+65536;i.call(s,l,n);n+=4;this.highSurrogate=0;continue}}if(u)this.highSurrogate=c;else{i.call(s,c,n);n+=4;this.highSurrogate=0}}if(n<s.length)s=s.slice(0,n);return s};Utf32Encoder.prototype.end=function(){if(!this.highSurrogate)return;var e=r.alloc(4);if(this.isLE)e.writeUInt32LE(this.highSurrogate,0);else e.writeUInt32BE(this.highSurrogate,0);this.highSurrogate=0;return e};function Utf32Decoder(e,t){this.isLE=t.isLE;this.badChar=t.iconv.defaultCharUnicode.charCodeAt(0);this.overflow=[]}Utf32Decoder.prototype.write=function(e){if(e.length===0)return"";var t=0;var s=0;var i=r.alloc(e.length+4);var n=0;var a=this.isLE;var c=this.overflow;var u=this.badChar;if(c.length>0){for(;t<e.length&&c.length<4;t++)c.push(e[t]);if(c.length===4){if(a){s=c[t]|c[t+1]<<8|c[t+2]<<16|c[t+3]<<24}else{s=c[t+3]|c[t+2]<<8|c[t+1]<<16|c[t]<<24}c.length=0;n=_writeCodepoint(i,n,s,u)}}for(;t<e.length-3;t+=4){if(a){s=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}else{s=e[t+3]|e[t+2]<<8|e[t+1]<<16|e[t]<<24}n=_writeCodepoint(i,n,s,u)}for(;t<e.length;t++){c.push(e[t])}return i.slice(0,n).toString("ucs2")};function _writeCodepoint(e,t,s,r){if(s<0||s>1114111){s=r}if(s>=65536){s-=65536;var i=55296|s>>10;e[t++]=i&255;e[t++]=i>>8;var s=56320|s&1023}e[t++]=s&255;e[t++]=s>>8;return t}Utf32Decoder.prototype.end=function(){this.overflow.length=0};t.utf32=Utf32AutoCodec;t.ucs4="utf32";function Utf32AutoCodec(e,t){this.iconv=t}Utf32AutoCodec.prototype.encoder=Utf32AutoEncoder;Utf32AutoCodec.prototype.decoder=Utf32AutoDecoder;function Utf32AutoEncoder(e,t){e=e||{};if(e.addBOM===undefined)e.addBOM=true;this.encoder=t.iconv.getEncoder(e.defaultEncoding||"utf-32le",e)}Utf32AutoEncoder.prototype.write=function(e){return this.encoder.write(e)};Utf32AutoEncoder.prototype.end=function(){return this.encoder.end()};function Utf32AutoDecoder(e,t){this.decoder=null;this.initialBufs=[];this.initialBufsLen=0;this.options=e||{};this.iconv=t.iconv}Utf32AutoDecoder.prototype.write=function(e){if(!this.decoder){this.initialBufs.push(e);this.initialBufsLen+=e.length;if(this.initialBufsLen<32)return"";var t=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var s="";for(var r=0;r<this.initialBufs.length;r++)s+=this.decoder.write(this.initialBufs[r]);this.initialBufs.length=this.initialBufsLen=0;return s}return this.decoder.write(e)};Utf32AutoDecoder.prototype.end=function(){if(!this.decoder){var e=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);var t="";for(var s=0;s<this.initialBufs.length;s++)t+=this.decoder.write(this.initialBufs[s]);var r=this.decoder.end();if(r)t+=r;this.initialBufs.length=this.initialBufsLen=0;return t}return this.decoder.end()};function detectEncoding(e,t){var s=[];var r=0;var i=0,n=0;var a=0,c=0;e:for(var u=0;u<e.length;u++){var o=e[u];for(var l=0;l<o.length;l++){s.push(o[l]);if(s.length===4){if(r===0){if(s[0]===255&&s[1]===254&&s[2]===0&&s[3]===0){return"utf-32le"}if(s[0]===0&&s[1]===0&&s[2]===254&&s[3]===255){return"utf-32be"}}if(s[0]!==0||s[1]>16)n++;if(s[3]!==0||s[2]>16)i++;if(s[0]===0&&s[1]===0&&(s[2]!==0||s[3]!==0))c++;if((s[0]!==0||s[1]!==0)&&s[2]===0&&s[3]===0)a++;s.length=0;r++;if(r>=100){break e}}}}if(c-n>a-i)return"utf-32be";if(c-n<a-i)return"utf-32le";return t||"utf-32le"}},51644:function(e,t,s){"use strict";var r=s(15118).Buffer;t.utf7=Utf7Codec;t.unicode11utf7="utf7";function Utf7Codec(e,t){this.iconv=t}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var i=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(e,t){this.iconv=t.iconv}Utf7Encoder.prototype.write=function(e){return r.from(e.replace(i,function(e){return"+"+(e==="+"?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var n=/[A-Za-z0-9\/+]/;var a=[];for(var c=0;c<256;c++)a[c]=n.test(String.fromCharCode(c));var u="+".charCodeAt(0),o="-".charCodeAt(0),l="&".charCodeAt(0);Utf7Decoder.prototype.write=function(e){var t="",s=0,i=this.inBase64,n=this.base64Accum;for(var c=0;c<e.length;c++){if(!i){if(e[c]==u){t+=this.iconv.decode(e.slice(s,c),"ascii");s=c+1;i=true}}else{if(!a[e[c]]){if(c==s&&e[c]==o){t+="+"}else{var l=n+this.iconv.decode(e.slice(s,c),"ascii");t+=this.iconv.decode(r.from(l,"base64"),"utf16-be")}if(e[c]!=o)c--;s=c+1;i=false;n=""}}}if(!i){t+=this.iconv.decode(e.slice(s),"ascii")}else{var l=n+this.iconv.decode(e.slice(s),"ascii");var p=l.length-l.length%8;n=l.slice(p);l=l.slice(0,p);t+=this.iconv.decode(r.from(l,"base64"),"utf16-be")}this.inBase64=i;this.base64Accum=n;return t};Utf7Decoder.prototype.end=function(){var e="";if(this.inBase64&&this.base64Accum.length>0)e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return e};t.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(e,t){this.iconv=t}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=r.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(e){var t=this.inBase64,s=this.base64Accum,i=this.base64AccumIdx,n=r.alloc(e.length*5+10),a=0;for(var c=0;c<e.length;c++){var u=e.charCodeAt(c);if(32<=u&&u<=126){if(t){if(i>0){a+=n.write(s.slice(0,i).toString("base64").replace(/\//g,",").replace(/=+$/,""),a);i=0}n[a++]=o;t=false}if(!t){n[a++]=u;if(u===l)n[a++]=o}}else{if(!t){n[a++]=l;t=true}if(t){s[i++]=u>>8;s[i++]=u&255;if(i==s.length){a+=n.write(s.toString("base64").replace(/\//g,","),a);i=0}}}}this.inBase64=t;this.base64AccumIdx=i;return n.slice(0,a)};Utf7IMAPEncoder.prototype.end=function(){var e=r.alloc(10),t=0;if(this.inBase64){if(this.base64AccumIdx>0){t+=e.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t);this.base64AccumIdx=0}e[t++]=o;this.inBase64=false}return e.slice(0,t)};function Utf7IMAPDecoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var p=a.slice();p[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(e){var t="",s=0,i=this.inBase64,n=this.base64Accum;for(var a=0;a<e.length;a++){if(!i){if(e[a]==l){t+=this.iconv.decode(e.slice(s,a),"ascii");s=a+1;i=true}}else{if(!p[e[a]]){if(a==s&&e[a]==o){t+="&"}else{var c=n+this.iconv.decode(e.slice(s,a),"ascii").replace(/,/g,"/");t+=this.iconv.decode(r.from(c,"base64"),"utf16-be")}if(e[a]!=o)a--;s=a+1;i=false;n=""}}}if(!i){t+=this.iconv.decode(e.slice(s),"ascii")}else{var c=n+this.iconv.decode(e.slice(s),"ascii").replace(/,/g,"/");var u=c.length-c.length%8;n=c.slice(u);c=c.slice(0,u);t+=this.iconv.decode(r.from(c,"base64"),"utf16-be")}this.inBase64=i;this.base64Accum=n;return t};Utf7IMAPDecoder.prototype.end=function(){var e="";if(this.inBase64&&this.base64Accum.length>0)e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return e}},67961:function(e,t){"use strict";var s="\ufeff";t.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(e,t){this.encoder=e;this.addBOM=true}PrependBOMWrapper.prototype.write=function(e){if(this.addBOM){e=s+e;this.addBOM=false}return this.encoder.write(e)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};t.StripBOM=StripBOMWrapper;function StripBOMWrapper(e,t){this.decoder=e;this.pass=false;this.options=t||{}}StripBOMWrapper.prototype.write=function(e){var t=this.decoder.write(e);if(this.pass||!t)return t;if(t[0]===s){t=t.slice(1);if(typeof this.options.stripBOM==="function")this.options.stripBOM()}this.pass=true;return t};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},19032:function(e,t,s){"use strict";var r=s(15118).Buffer;var i=s(67961),n=e.exports;n.encodings=null;n.defaultCharUnicode="�";n.defaultCharSingleByte="?";n.encode=function encode(e,t,s){e=""+(e||"");var i=n.getEncoder(t,s);var a=i.write(e);var c=i.end();return c&&c.length>0?r.concat([a,c]):a};n.decode=function decode(e,t,s){if(typeof e==="string"){if(!n.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");n.skipDecodeWarning=true}e=r.from(""+(e||""),"binary")}var i=n.getDecoder(t,s);var a=i.write(e);var c=i.end();return c?a+c:a};n.encodingExists=function encodingExists(e){try{n.getCodec(e);return true}catch(e){return false}};n.toEncoding=n.encode;n.fromEncoding=n.decode;n._codecDataCache={};n.getCodec=function getCodec(e){if(!n.encodings)n.encodings=s(82733);var t=n._canonicalizeEncoding(e);var r={};while(true){var i=n._codecDataCache[t];if(i)return i;var a=n.encodings[t];switch(typeof a){case"string":t=a;break;case"object":for(var c in a)r[c]=a[c];if(!r.encodingName)r.encodingName=t;t=a.type;break;case"function":if(!r.encodingName)r.encodingName=t;i=new a(r,n);n._codecDataCache[r.encodingName]=i;return i;default:throw new Error("Encoding not recognized: '"+e+"' (searched as: '"+t+"')")}}};n._canonicalizeEncoding=function(e){return(""+e).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};n.getEncoder=function getEncoder(e,t){var s=n.getCodec(e),r=new s.encoder(t,s);if(s.bomAware&&t&&t.addBOM)r=new i.PrependBOM(r,t);return r};n.getDecoder=function getDecoder(e,t){var s=n.getCodec(e),r=new s.decoder(t,s);if(s.bomAware&&!(t&&t.stripBOM===false))r=new i.StripBOM(r,t);return r};n.enableStreamingAPI=function enableStreamingAPI(e){if(n.supportsStreams)return;var t=s(76409)(e);n.IconvLiteEncoderStream=t.IconvLiteEncoderStream;n.IconvLiteDecoderStream=t.IconvLiteDecoderStream;n.encodeStream=function encodeStream(e,t){return new n.IconvLiteEncoderStream(n.getEncoder(e,t),t)};n.decodeStream=function decodeStream(e,t){return new n.IconvLiteDecoderStream(n.getDecoder(e,t),t)};n.supportsStreams=true};var a;try{a=s(12781)}catch(e){}if(a&&a.Transform){n.enableStreamingAPI(a)}else{n.encodeStream=n.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}}if(false){}},76409:function(e,t,s){"use strict";var r=s(15118).Buffer;e.exports=function(e){var t=e.Transform;function IconvLiteEncoderStream(e,s){this.conv=e;s=s||{};s.decodeStrings=false;t.call(this,s)}IconvLiteEncoderStream.prototype=Object.create(t.prototype,{constructor:{value:IconvLiteEncoderStream}});IconvLiteEncoderStream.prototype._transform=function(e,t,s){if(typeof e!="string")return s(new Error("Iconv encoding stream needs strings as its input."));try{var r=this.conv.write(e);if(r&&r.length)this.push(r);s()}catch(e){s(e)}};IconvLiteEncoderStream.prototype._flush=function(e){try{var t=this.conv.end();if(t&&t.length)this.push(t);e()}catch(t){e(t)}};IconvLiteEncoderStream.prototype.collect=function(e){var t=[];this.on("error",e);this.on("data",(function(e){t.push(e)}));this.on("end",(function(){e(null,r.concat(t))}));return this};function IconvLiteDecoderStream(e,s){this.conv=e;s=s||{};s.encoding=this.encoding="utf8";t.call(this,s)}IconvLiteDecoderStream.prototype=Object.create(t.prototype,{constructor:{value:IconvLiteDecoderStream}});IconvLiteDecoderStream.prototype._transform=function(e,t,s){if(!r.isBuffer(e)&&!(e instanceof Uint8Array))return s(new Error("Iconv decoding stream needs buffers as its input."));try{var i=this.conv.write(e);if(i&&i.length)this.push(i,this.encoding);s()}catch(e){s(e)}};IconvLiteDecoderStream.prototype._flush=function(e){try{var t=this.conv.end();if(t&&t.length)this.push(t,this.encoding);e()}catch(t){e(t)}};IconvLiteDecoderStream.prototype.collect=function(e){var t="";this.on("error",e);this.on("data",(function(e){t+=e}));this.on("end",(function(){e(null,t)}));return this};return{IconvLiteEncoderStream:IconvLiteEncoderStream,IconvLiteDecoderStream:IconvLiteDecoderStream}}},55031:function(e,t,s){var r=s(78574).stringify;var i=s(89099);e.exports=function(e){return{parse:i(e),stringify:r}};e.exports.parse=i();e.exports.stringify=r},89099:function(e,t,s){var r=null;const i=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/;const n=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var json_parse=function(e){"use strict";var t={strict:false,storeAsString:false,alwaysParseAsBig:false,useNativeBigInt:false,protoAction:"error",constructorAction:"error"};if(e!==undefined&&e!==null){if(e.strict===true){t.strict=true}if(e.storeAsString===true){t.storeAsString=true}t.alwaysParseAsBig=e.alwaysParseAsBig===true?e.alwaysParseAsBig:false;t.useNativeBigInt=e.useNativeBigInt===true?e.useNativeBigInt:false;if(typeof e.constructorAction!=="undefined"){if(e.constructorAction==="error"||e.constructorAction==="ignore"||e.constructorAction==="preserve"){t.constructorAction=e.constructorAction}else{throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`)}}if(typeof e.protoAction!=="undefined"){if(e.protoAction==="error"||e.protoAction==="ignore"||e.protoAction==="preserve"){t.protoAction=e.protoAction}else{throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`)}}}var a,c,u={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o,error=function(e){throw{name:"SyntaxError",message:e,at:a,text:o}},next=function(e){if(e&&e!==c){error("Expected '"+e+"' instead of '"+c+"'")}c=o.charAt(a);a+=1;return c},number=function(){var e,i="";if(c==="-"){i="-";next("-")}while(c>="0"&&c<="9"){i+=c;next()}if(c==="."){i+=".";while(next()&&c>="0"&&c<="9"){i+=c}}if(c==="e"||c==="E"){i+=c;next();if(c==="-"||c==="+"){i+=c;next()}while(c>="0"&&c<="9"){i+=c;next()}}e=+i;if(!isFinite(e)){error("Bad number")}else{if(r==null)r=s(87558);if(i.length>15)return t.storeAsString?i:t.useNativeBigInt?BigInt(i):new r(i);else return!t.alwaysParseAsBig?e:t.useNativeBigInt?BigInt(e):new r(e)}},string=function(){var e,t,s="",r;if(c==='"'){var i=a;while(next()){if(c==='"'){if(a-1>i)s+=o.substring(i,a-1);next();return s}if(c==="\\"){if(a-1>i)s+=o.substring(i,a-1);next();if(c==="u"){r=0;for(t=0;t<4;t+=1){e=parseInt(next(),16);if(!isFinite(e)){break}r=r*16+e}s+=String.fromCharCode(r)}else if(typeof u[c]==="string"){s+=u[c]}else{break}i=a}}}error("Bad string")},white=function(){while(c&&c<=" "){next()}},word=function(){switch(c){case"t":next("t");next("r");next("u");next("e");return true;case"f":next("f");next("a");next("l");next("s");next("e");return false;case"n":next("n");next("u");next("l");next("l");return null}error("Unexpected '"+c+"'")},l,array=function(){var e=[];if(c==="["){next("[");white();if(c==="]"){next("]");return e}while(c){e.push(l());white();if(c==="]"){next("]");return e}next(",");white()}}error("Bad array")},object=function(){var e,s=Object.create(null);if(c==="{"){next("{");white();if(c==="}"){next("}");return s}while(c){e=string();white();next(":");if(t.strict===true&&Object.hasOwnProperty.call(s,e)){error('Duplicate key "'+e+'"')}if(i.test(e)===true){if(t.protoAction==="error"){error("Object contains forbidden prototype property")}else if(t.protoAction==="ignore"){l()}else{s[e]=l()}}else if(n.test(e)===true){if(t.constructorAction==="error"){error("Object contains forbidden constructor property")}else if(t.constructorAction==="ignore"){l()}else{s[e]=l()}}else{s[e]=l()}white();if(c==="}"){next("}");return s}next(",");white()}}error("Bad object")};l=function(){white();switch(c){case"{":return object();case"[":return array();case'"':return string();case"-":return number();default:return c>="0"&&c<="9"?number():word()}};return function(e,t){var s;o=e+"";a=0;c=" ";s=l();white();if(c){error("Syntax error")}return typeof t==="function"?function walk(e,s){var r,i,n=e[s];if(n&&typeof n==="object"){Object.keys(n).forEach((function(e){i=walk(n,e);if(i!==undefined){n[e]=i}else{delete n[e]}}))}return t.call(e,s,n)}({"":s},""):s}};e.exports=json_parse},78574:function(e,t,s){var r=s(87558);var i=e.exports;(function(){"use strict";function f(e){return e<10?"0"+e:e}var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,t=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s,n,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},c;function quote(e){t.lastIndex=0;return t.test(e)?'"'+e.replace(t,(function(e){var t=a[e];return typeof t==="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var i,a,u,o,l=s,p,d=t[e],y=d!=null&&(d instanceof r||r.isBigNumber(d));if(d&&typeof d==="object"&&typeof d.toJSON==="function"){d=d.toJSON(e)}if(typeof c==="function"){d=c.call(t,e,d)}switch(typeof d){case"string":if(y){return d}else{return quote(d)}case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":case"bigint":return String(d);case"object":if(!d){return"null"}s+=n;p=[];if(Object.prototype.toString.apply(d)==="[object Array]"){o=d.length;for(i=0;i<o;i+=1){p[i]=str(i,d)||"null"}u=p.length===0?"[]":s?"[\n"+s+p.join(",\n"+s)+"\n"+l+"]":"["+p.join(",")+"]";s=l;return u}if(c&&typeof c==="object"){o=c.length;for(i=0;i<o;i+=1){if(typeof c[i]==="string"){a=c[i];u=str(a,d);if(u){p.push(quote(a)+(s?": ":":")+u)}}}}else{Object.keys(d).forEach((function(e){var t=str(e,d);if(t){p.push(quote(e)+(s?": ":":")+t)}}))}u=p.length===0?"{}":s?"{\n"+s+p.join(",\n"+s)+"\n"+l+"}":"{"+p.join(",")+"}";s=l;return u}}if(typeof i.stringify!=="function"){i.stringify=function(e,t,r){var i;s="";n="";if(typeof r==="number"){for(i=0;i<r;i+=1){n+=" "}}else if(typeof r==="string"){n=r}c=t;if(t&&typeof t!=="function"&&(typeof t!=="object"||typeof t.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":e})}}})()},47426:function(e,t,s){
|
|
1
|
+
(function(){var e={14812:function(e,t,s){e.exports={parallel:s(8210),serial:s(50445),serialOrdered:s(3578)}},1700:function(e){e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},72794:function(e,t,s){var r=s(15295);e.exports=async;function async(e){var t=false;r((function(){t=true}));return function async_callback(s,i){if(t){e(s,i)}else{r((function nextTick_callback(){e(s,i)}))}}}},15295:function(e){e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},9023:function(e,t,s){var r=s(72794),i=s(1700);e.exports=iterate;function iterate(e,t,s,r){var n=s["keyedList"]?s["keyedList"][s.index]:s.index;s.jobs[n]=runJob(t,n,e[n],(function(e,t){if(!(n in s.jobs)){return}delete s.jobs[n];if(e){i(s)}else{s.results[n]=t}r(e,s.results)}))}function runJob(e,t,s,i){var n;if(e.length==2){n=e(s,r(i))}else{n=e(s,t,r(i))}return n}},42474:function(e){e.exports=state;function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};if(t){r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])})}return r}},37942:function(e,t,s){var r=s(1700),i=s(72794);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;r(this);i(e)(null,this.results)}},8210:function(e,t,s){var r=s(9023),i=s(42474),n=s(37942);e.exports=parallel;function parallel(e,t,s){var a=i(e);while(a.index<(a["keyedList"]||e).length){r(e,t,a,(function(e,t){if(e){s(e,t);return}if(Object.keys(a.jobs).length===0){s(null,a.results);return}}));a.index++}return n.bind(a,s)}},50445:function(e,t,s){var r=s(3578);e.exports=serial;function serial(e,t,s){return r(e,t,null,s)}},3578:function(e,t,s){var r=s(9023),i=s(42474),n=s(37942);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,s,a){var c=i(e,s);r(e,t,c,(function iteratorHandler(s,i){if(s){a(s,i);return}c.index++;if(c.index<(c["keyedList"]||e).length){r(e,t,c,iteratorHandler);return}a(null,c.results)}));return n.bind(c,a)}function ascending(e,t){return e<t?-1:e>t?1:0}function descending(e,t){return-1*ascending(e,t)}},87558:function(e){(function(t){"use strict";var s,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,n=Math.floor,a="[BigNumber Error] ",c=a+"Number primitive has more than 15 significant digits: ",u=1e14,o=14,l=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,y=1e9;function clone(e){var t,s,h,m=BigNumber.prototype={constructor:BigNumber,toString:null,valueOf:null},b=new BigNumber(1),D=20,q=4,v=-7,C=21,g=-1e7,S=1e7,P=false,M=1,A=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},T="0123456789abcdefghijklmnopqrstuvwxyz",I=true;function BigNumber(e,t){var i,a,u,p,d,y,m,b,v=this;if(!(v instanceof BigNumber))return new BigNumber(e,t);if(t==null){if(e&&e._isBigNumber===true){v.s=e.s;if(!e.c||e.e>S){v.c=v.e=null}else if(e.e<g){v.c=[v.e=0]}else{v.e=e.e;v.c=e.c.slice()}return}if((y=typeof e=="number")&&e*0==0){v.s=1/e<0?(e=-e,-1):1;if(e===~~e){for(p=0,d=e;d>=10;d/=10,p++);if(p>S){v.c=v.e=null}else{v.e=p;v.c=[e]}return}b=String(e)}else{if(!r.test(b=String(e)))return h(v,b,y);v.s=b.charCodeAt(0)==45?(b=b.slice(1),-1):1}if((p=b.indexOf("."))>-1)b=b.replace(".","");if((d=b.search(/e/i))>0){if(p<0)p=d;p+=+b.slice(d+1);b=b.substring(0,d)}else if(p<0){p=b.length}}else{intCheck(t,2,T.length,"Base");if(t==10&&I){v=new BigNumber(e);return round(v,D+v.e+1,q)}b=String(e);if(y=typeof e=="number"){if(e*0!=0)return h(v,b,y,t);v.s=1/e<0?(b=b.slice(1),-1):1;if(BigNumber.DEBUG&&b.replace(/^0\.0*|\./,"").length>15){throw Error(c+e)}}else{v.s=b.charCodeAt(0)===45?(b=b.slice(1),-1):1}i=T.slice(0,t);p=d=0;for(m=b.length;d<m;d++){if(i.indexOf(a=b.charAt(d))<0){if(a=="."){if(d>p){p=m;continue}}else if(!u){if(b==b.toUpperCase()&&(b=b.toLowerCase())||b==b.toLowerCase()&&(b=b.toUpperCase())){u=true;d=-1;p=0;continue}}return h(v,String(e),y,t)}}y=false;b=s(b,t,10,v.s);if((p=b.indexOf("."))>-1)b=b.replace(".","");else p=b.length}for(d=0;b.charCodeAt(d)===48;d++);for(m=b.length;b.charCodeAt(--m)===48;);if(b=b.slice(d,++m)){m-=d;if(y&&BigNumber.DEBUG&&m>15&&(e>l||e!==n(e))){throw Error(c+v.s*e)}if((p=p-d-1)>S){v.c=v.e=null}else if(p<g){v.c=[v.e=0]}else{v.e=p;v.c=[];d=(p+1)%o;if(p<0)d+=o;if(d<m){if(d)v.c.push(+b.slice(0,d));for(m-=o;d<m;){v.c.push(+b.slice(d,d+=o))}d=o-(b=b.slice(d)).length}else{d-=m}for(;d--;b+="0");v.c.push(+b)}}else{v.c=[v.e=0]}}BigNumber.clone=clone;BigNumber.ROUND_UP=0;BigNumber.ROUND_DOWN=1;BigNumber.ROUND_CEIL=2;BigNumber.ROUND_FLOOR=3;BigNumber.ROUND_HALF_UP=4;BigNumber.ROUND_HALF_DOWN=5;BigNumber.ROUND_HALF_EVEN=6;BigNumber.ROUND_HALF_CEIL=7;BigNumber.ROUND_HALF_FLOOR=8;BigNumber.EUCLID=9;BigNumber.config=BigNumber.set=function(e){var t,s;if(e!=null){if(typeof e=="object"){if(e.hasOwnProperty(t="DECIMAL_PLACES")){s=e[t];intCheck(s,0,y,t);D=s}if(e.hasOwnProperty(t="ROUNDING_MODE")){s=e[t];intCheck(s,0,8,t);q=s}if(e.hasOwnProperty(t="EXPONENTIAL_AT")){s=e[t];if(s&&s.pop){intCheck(s[0],-y,0,t);intCheck(s[1],0,y,t);v=s[0];C=s[1]}else{intCheck(s,-y,y,t);v=-(C=s<0?-s:s)}}if(e.hasOwnProperty(t="RANGE")){s=e[t];if(s&&s.pop){intCheck(s[0],-y,-1,t);intCheck(s[1],1,y,t);g=s[0];S=s[1]}else{intCheck(s,-y,y,t);if(s){g=-(S=s<0?-s:s)}else{throw Error(a+t+" cannot be zero: "+s)}}}if(e.hasOwnProperty(t="CRYPTO")){s=e[t];if(s===!!s){if(s){if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)){P=s}else{P=!s;throw Error(a+"crypto unavailable")}}else{P=s}}else{throw Error(a+t+" not true or false: "+s)}}if(e.hasOwnProperty(t="MODULO_MODE")){s=e[t];intCheck(s,0,9,t);M=s}if(e.hasOwnProperty(t="POW_PRECISION")){s=e[t];intCheck(s,0,y,t);A=s}if(e.hasOwnProperty(t="FORMAT")){s=e[t];if(typeof s=="object")R=s;else throw Error(a+t+" not an object: "+s)}if(e.hasOwnProperty(t="ALPHABET")){s=e[t];if(typeof s=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(s)){I=s.slice(0,10)=="0123456789";T=s}else{throw Error(a+t+" invalid: "+s)}}}else{throw Error(a+"Object expected: "+e)}}return{DECIMAL_PLACES:D,ROUNDING_MODE:q,EXPONENTIAL_AT:[v,C],RANGE:[g,S],CRYPTO:P,MODULO_MODE:M,POW_PRECISION:A,FORMAT:R,ALPHABET:T}};BigNumber.isBigNumber=function(e){if(!e||e._isBigNumber!==true)return false;if(!BigNumber.DEBUG)return true;var t,s,r=e.c,i=e.e,c=e.s;e:if({}.toString.call(r)=="[object Array]"){if((c===1||c===-1)&&i>=-y&&i<=y&&i===n(i)){if(r[0]===0){if(i===0&&r.length===1)return true;break e}t=(i+1)%o;if(t<1)t+=o;if(String(r[0]).length==t){for(t=0;t<r.length;t++){s=r[t];if(s<0||s>=u||s!==n(s))break e}if(s!==0)return true}}}else if(r===null&&i===null&&(c===null||c===1||c===-1)){return true}throw Error(a+"Invalid BigNumber: "+e)};BigNumber.maximum=BigNumber.max=function(){return maxOrMin(arguments,-1)};BigNumber.minimum=BigNumber.min=function(){return maxOrMin(arguments,1)};BigNumber.random=function(){var e=9007199254740992;var t=Math.random()*e&2097151?function(){return n(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(e){var s,r,c,u,l,d=0,h=[],m=new BigNumber(b);if(e==null)e=D;else intCheck(e,0,y);u=i(e/o);if(P){if(crypto.getRandomValues){s=crypto.getRandomValues(new Uint32Array(u*=2));for(;d<u;){l=s[d]*131072+(s[d+1]>>>11);if(l>=9e15){r=crypto.getRandomValues(new Uint32Array(2));s[d]=r[0];s[d+1]=r[1]}else{h.push(l%1e14);d+=2}}d=u/2}else if(crypto.randomBytes){s=crypto.randomBytes(u*=7);for(;d<u;){l=(s[d]&31)*281474976710656+s[d+1]*1099511627776+s[d+2]*4294967296+s[d+3]*16777216+(s[d+4]<<16)+(s[d+5]<<8)+s[d+6];if(l>=9e15){crypto.randomBytes(7).copy(s,d)}else{h.push(l%1e14);d+=7}}d=u/7}else{P=false;throw Error(a+"crypto unavailable")}}if(!P){for(;d<u;){l=t();if(l<9e15)h[d++]=l%1e14}}u=h[--d];e%=o;if(u&&e){l=p[o-e];h[d]=n(u/l)*l}for(;h[d]===0;h.pop(),d--);if(d<0){h=[c=0]}else{for(c=-1;h[0]===0;h.splice(0,1),c-=o);for(d=1,l=h[0];l>=10;l/=10,d++);if(d<o)c-=o-d}m.e=c;m.c=h;return m}}();BigNumber.sum=function(){var e=1,t=arguments,s=new BigNumber(t[0]);for(;e<t.length;)s=s.plus(t[e++]);return s};s=function(){var e="0123456789";function toBaseOut(e,t,s,r){var i,n=[0],a,c=0,u=e.length;for(;c<u;){for(a=n.length;a--;n[a]*=t);n[0]+=r.indexOf(e.charAt(c++));for(i=0;i<n.length;i++){if(n[i]>s-1){if(n[i+1]==null)n[i+1]=0;n[i+1]+=n[i]/s|0;n[i]%=s}}}return n.reverse()}return function(s,r,i,n,a){var c,u,o,l,p,d,y,h,m=s.indexOf("."),b=D,v=q;if(m>=0){l=A;A=0;s=s.replace(".","");h=new BigNumber(r);d=h.pow(s.length-m);A=l;h.c=toBaseOut(toFixedPoint(coeffToString(d.c),d.e,"0"),10,i,e);h.e=h.c.length}y=toBaseOut(s,r,i,a?(c=T,e):(c=e,T));o=l=y.length;for(;y[--l]==0;y.pop());if(!y[0])return c.charAt(0);if(m<0){--o}else{d.c=y;d.e=o;d.s=n;d=t(d,h,b,v,i);y=d.c;p=d.r;o=d.e}u=o+b+1;m=y[u];l=i/2;p=p||u<0||y[u+1]!=null;p=v<4?(m!=null||p)&&(v==0||v==(d.s<0?3:2)):m>l||m==l&&(v==4||p||v==6&&y[u-1]&1||v==(d.s<0?8:7));if(u<1||!y[0]){s=p?toFixedPoint(c.charAt(1),-b,c.charAt(0)):c.charAt(0)}else{y.length=u;if(p){for(--i;++y[--u]>i;){y[u]=0;if(!u){++o;y=[1].concat(y)}}}for(l=y.length;!y[--l];);for(m=0,s="";m<=l;s+=c.charAt(y[m++]));s=toFixedPoint(s,o,c.charAt(0))}return s}}();t=function(){function multiply(e,t,s){var r,i,n,a,c=0,u=e.length,o=t%d,l=t/d|0;for(e=e.slice();u--;){n=e[u]%d;a=e[u]/d|0;r=l*n+a*o;i=o*n+r%d*d+c;c=(i/s|0)+(r/d|0)+l*a;e[u]=i%s}if(c)e=[c].concat(e);return e}function compare(e,t,s,r){var i,n;if(s!=r){n=s>r?1:-1}else{for(i=n=0;i<s;i++){if(e[i]!=t[i]){n=e[i]>t[i]?1:-1;break}}}return n}function subtract(e,t,s,r){var i=0;for(;s--;){e[s]-=i;i=e[s]<t[s]?1:0;e[s]=i*r+e[s]-t[s]}for(;!e[0]&&e.length>1;e.splice(0,1));}return function(e,t,s,r,i){var a,c,l,p,d,y,h,m,b,D,q,v,C,g,S,P,M,A=e.s==t.s?1:-1,R=e.c,T=t.c;if(!R||!R[0]||!T||!T[0]){return new BigNumber(!e.s||!t.s||(R?T&&R[0]==T[0]:!T)?NaN:R&&R[0]==0||!T?A*0:A/0)}m=new BigNumber(A);b=m.c=[];c=e.e-t.e;A=s+c+1;if(!i){i=u;c=bitFloor(e.e/o)-bitFloor(t.e/o);A=A/o|0}for(l=0;T[l]==(R[l]||0);l++);if(T[l]>(R[l]||0))c--;if(A<0){b.push(1);p=true}else{g=R.length;P=T.length;l=0;A+=2;d=n(i/(T[0]+1));if(d>1){T=multiply(T,d,i);R=multiply(R,d,i);P=T.length;g=R.length}C=P;D=R.slice(0,P);q=D.length;for(;q<P;D[q++]=0);M=T.slice();M=[0].concat(M);S=T[0];if(T[1]>=i/2)S++;do{d=0;a=compare(T,D,P,q);if(a<0){v=D[0];if(P!=q)v=v*i+(D[1]||0);d=n(v/S);if(d>1){if(d>=i)d=i-1;y=multiply(T,d,i);h=y.length;q=D.length;while(compare(y,D,h,q)==1){d--;subtract(y,P<h?M:T,h,i);h=y.length;a=1}}else{if(d==0){a=d=1}y=T.slice();h=y.length}if(h<q)y=[0].concat(y);subtract(D,y,q,i);q=D.length;if(a==-1){while(compare(T,D,P,q)<1){d++;subtract(D,P<q?M:T,q,i);q=D.length}}}else if(a===0){d++;D=[0]}b[l++]=d;if(D[0]){D[q++]=R[C]||0}else{D=[R[C]];q=1}}while((C++<g||D[0]!=null)&&A--);p=D[0]!=null;if(!b[0])b.splice(0,1)}if(i==u){for(l=1,A=b[0];A>=10;A/=10,l++);round(m,s+(m.e=l+c*o-1)+1,r,p)}else{m.e=c;m.r=+p}return m}}();function format(e,t,s,r){var i,n,a,c,u;if(s==null)s=q;else intCheck(s,0,8);if(!e.c)return e.toString();i=e.c[0];a=e.e;if(t==null){u=coeffToString(e.c);u=r==1||r==2&&(a<=v||a>=C)?toExponential(u,a):toFixedPoint(u,a,"0")}else{e=round(new BigNumber(e),t,s);n=e.e;u=coeffToString(e.c);c=u.length;if(r==1||r==2&&(t<=n||n<=v)){for(;c<t;u+="0",c++);u=toExponential(u,n)}else{t-=a;u=toFixedPoint(u,n,"0");if(n+1>c){if(--t>0)for(u+=".";t--;u+="0");}else{t+=n-c;if(t>0){if(n+1==c)u+=".";for(;t--;u+="0");}}}}return e.s<0&&i?"-"+u:u}function maxOrMin(e,t){var s,r,i=1,n=new BigNumber(e[0]);for(;i<e.length;i++){r=new BigNumber(e[i]);if(!r.s||(s=compare(n,r))===t||s===0&&n.s===t){n=r}}return n}function normalise(e,t,s){var r=1,i=t.length;for(;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,r++);if((s=r+s*o-1)>S){e.c=e.e=null}else if(s<g){e.c=[e.e=0]}else{e.e=s;e.c=t}return e}h=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,s=/^\.([^.]+)$/,r=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(n,c,u,o){var l,p=u?c:c.replace(i,"");if(r.test(p)){n.s=isNaN(p)?null:p<0?-1:1}else{if(!u){p=p.replace(e,(function(e,t,s){l=(s=s.toLowerCase())=="x"?16:s=="b"?2:8;return!o||o==l?t:e}));if(o){l=o;p=p.replace(t,"$1").replace(s,"0.$1")}if(c!=p)return new BigNumber(p,l)}if(BigNumber.DEBUG){throw Error(a+"Not a"+(o?" base "+o:"")+" number: "+c)}n.s=null}n.c=n.e=null}}();function round(e,t,s,r){var a,c,l,d,y,h,m,b=e.c,D=p;if(b){e:{for(a=1,d=b[0];d>=10;d/=10,a++);c=t-a;if(c<0){c+=o;l=t;y=b[h=0];m=n(y/D[a-l-1]%10)}else{h=i((c+1)/o);if(h>=b.length){if(r){for(;b.length<=h;b.push(0));y=m=0;a=1;c%=o;l=c-o+1}else{break e}}else{y=d=b[h];for(a=1;d>=10;d/=10,a++);c%=o;l=c-o+a;m=l<0?0:n(y/D[a-l-1]%10)}}r=r||t<0||b[h+1]!=null||(l<0?y:y%D[a-l-1]);r=s<4?(m||r)&&(s==0||s==(e.s<0?3:2)):m>5||m==5&&(s==4||r||s==6&&(c>0?l>0?y/D[a-l]:0:b[h-1])%10&1||s==(e.s<0?8:7));if(t<1||!b[0]){b.length=0;if(r){t-=e.e+1;b[0]=D[(o-t%o)%o];e.e=-t||0}else{b[0]=e.e=0}return e}if(c==0){b.length=h;d=1;h--}else{b.length=h+1;d=D[o-c];b[h]=l>0?n(y/D[a-l]%D[l])*d:0}if(r){for(;;){if(h==0){for(c=1,l=b[0];l>=10;l/=10,c++);l=b[0]+=d;for(d=1;l>=10;l/=10,d++);if(c!=d){e.e++;if(b[0]==u)b[0]=1}break}else{b[h]+=d;if(b[h]!=u)break;b[h--]=0;d=1}}}for(c=b.length;b[--c]===0;b.pop());}if(e.e>S){e.c=e.e=null}else if(e.e<g){e.c=[e.e=0]}}return e}function valueOf(e){var t,s=e.e;if(s===null)return e.toString();t=coeffToString(e.c);t=s<=v||s>=C?toExponential(t,s):toFixedPoint(t,s,"0");return e.s<0?"-"+t:t}m.absoluteValue=m.abs=function(){var e=new BigNumber(this);if(e.s<0)e.s=1;return e};m.comparedTo=function(e,t){return compare(this,new BigNumber(e,t))};m.decimalPlaces=m.dp=function(e,t){var s,r,i,n=this;if(e!=null){intCheck(e,0,y);if(t==null)t=q;else intCheck(t,0,8);return round(new BigNumber(n),e+n.e+1,t)}if(!(s=n.c))return null;r=((i=s.length-1)-bitFloor(this.e/o))*o;if(i=s[i])for(;i%10==0;i/=10,r--);if(r<0)r=0;return r};m.dividedBy=m.div=function(e,s){return t(this,new BigNumber(e,s),D,q)};m.dividedToIntegerBy=m.idiv=function(e,s){return t(this,new BigNumber(e,s),0,1)};m.exponentiatedBy=m.pow=function(e,t){var s,r,c,u,l,p,d,y,h,m=this;e=new BigNumber(e);if(e.c&&!e.isInteger()){throw Error(a+"Exponent not an integer: "+valueOf(e))}if(t!=null)t=new BigNumber(t);p=e.e>14;if(!m.c||!m.c[0]||m.c[0]==1&&!m.e&&m.c.length==1||!e.c||!e.c[0]){h=new BigNumber(Math.pow(+valueOf(m),p?e.s*(2-isOdd(e)):+valueOf(e)));return t?h.mod(t):h}d=e.s<0;if(t){if(t.c?!t.c[0]:!t.s)return new BigNumber(NaN);r=!d&&m.isInteger()&&t.isInteger();if(r)m=m.mod(t)}else if(e.e>9&&(m.e>0||m.e<-1||(m.e==0?m.c[0]>1||p&&m.c[1]>=24e7:m.c[0]<8e13||p&&m.c[0]<=9999975e7))){u=m.s<0&&isOdd(e)?-0:0;if(m.e>-1)u=1/u;return new BigNumber(d?1/u:u)}else if(A){u=i(A/o+2)}if(p){s=new BigNumber(.5);if(d)e.s=1;y=isOdd(e)}else{c=Math.abs(+valueOf(e));y=c%2}h=new BigNumber(b);for(;;){if(y){h=h.times(m);if(!h.c)break;if(u){if(h.c.length>u)h.c.length=u}else if(r){h=h.mod(t)}}if(c){c=n(c/2);if(c===0)break;y=c%2}else{e=e.times(s);round(e,e.e+1,1);if(e.e>14){y=isOdd(e)}else{c=+valueOf(e);if(c===0)break;y=c%2}}m=m.times(m);if(u){if(m.c&&m.c.length>u)m.c.length=u}else if(r){m=m.mod(t)}}if(r)return h;if(d)h=b.div(h);return t?h.mod(t):u?round(h,A,q,l):h};m.integerValue=function(e){var t=new BigNumber(this);if(e==null)e=q;else intCheck(e,0,8);return round(t,t.e+1,e)};m.isEqualTo=m.eq=function(e,t){return compare(this,new BigNumber(e,t))===0};m.isFinite=function(){return!!this.c};m.isGreaterThan=m.gt=function(e,t){return compare(this,new BigNumber(e,t))>0};m.isGreaterThanOrEqualTo=m.gte=function(e,t){return(t=compare(this,new BigNumber(e,t)))===1||t===0};m.isInteger=function(){return!!this.c&&bitFloor(this.e/o)>this.c.length-2};m.isLessThan=m.lt=function(e,t){return compare(this,new BigNumber(e,t))<0};m.isLessThanOrEqualTo=m.lte=function(e,t){return(t=compare(this,new BigNumber(e,t)))===-1||t===0};m.isNaN=function(){return!this.s};m.isNegative=function(){return this.s<0};m.isPositive=function(){return this.s>0};m.isZero=function(){return!!this.c&&this.c[0]==0};m.minus=function(e,t){var s,r,i,n,a=this,c=a.s;e=new BigNumber(e,t);t=e.s;if(!c||!t)return new BigNumber(NaN);if(c!=t){e.s=-t;return a.plus(e)}var l=a.e/o,p=e.e/o,d=a.c,y=e.c;if(!l||!p){if(!d||!y)return d?(e.s=-t,e):new BigNumber(y?a:NaN);if(!d[0]||!y[0]){return y[0]?(e.s=-t,e):new BigNumber(d[0]?a:q==3?-0:0)}}l=bitFloor(l);p=bitFloor(p);d=d.slice();if(c=l-p){if(n=c<0){c=-c;i=d}else{p=l;i=y}i.reverse();for(t=c;t--;i.push(0));i.reverse()}else{r=(n=(c=d.length)<(t=y.length))?c:t;for(c=t=0;t<r;t++){if(d[t]!=y[t]){n=d[t]<y[t];break}}}if(n){i=d;d=y;y=i;e.s=-e.s}t=(r=y.length)-(s=d.length);if(t>0)for(;t--;d[s++]=0);t=u-1;for(;r>c;){if(d[--r]<y[r]){for(s=r;s&&!d[--s];d[s]=t);--d[s];d[r]+=u}d[r]-=y[r]}for(;d[0]==0;d.splice(0,1),--p);if(!d[0]){e.s=q==3?-1:1;e.c=[e.e=0];return e}return normalise(e,d,p)};m.modulo=m.mod=function(e,s){var r,i,n=this;e=new BigNumber(e,s);if(!n.c||!e.s||e.c&&!e.c[0]){return new BigNumber(NaN)}else if(!e.c||n.c&&!n.c[0]){return new BigNumber(n)}if(M==9){i=e.s;e.s=1;r=t(n,e,0,3);e.s=i;r.s*=i}else{r=t(n,e,0,M)}e=n.minus(r.times(e));if(!e.c[0]&&M==1)e.s=n.s;return e};m.multipliedBy=m.times=function(e,t){var s,r,i,n,a,c,l,p,y,h,m,b,D,q,v,C=this,g=C.c,S=(e=new BigNumber(e,t)).c;if(!g||!S||!g[0]||!S[0]){if(!C.s||!e.s||g&&!g[0]&&!S||S&&!S[0]&&!g){e.c=e.e=e.s=null}else{e.s*=C.s;if(!g||!S){e.c=e.e=null}else{e.c=[0];e.e=0}}return e}r=bitFloor(C.e/o)+bitFloor(e.e/o);e.s*=C.s;l=g.length;h=S.length;if(l<h){D=g;g=S;S=D;i=l;l=h;h=i}for(i=l+h,D=[];i--;D.push(0));q=u;v=d;for(i=h;--i>=0;){s=0;m=S[i]%v;b=S[i]/v|0;for(a=l,n=i+a;n>i;){p=g[--a]%v;y=g[a]/v|0;c=b*p+y*m;p=m*p+c%v*v+D[n]+s;s=(p/q|0)+(c/v|0)+b*y;D[n--]=p%q}D[n]=s}if(s){++r}else{D.splice(0,1)}return normalise(e,D,r)};m.negated=function(){var e=new BigNumber(this);e.s=-e.s||null;return e};m.plus=function(e,t){var s,r=this,i=r.s;e=new BigNumber(e,t);t=e.s;if(!i||!t)return new BigNumber(NaN);if(i!=t){e.s=-t;return r.minus(e)}var n=r.e/o,a=e.e/o,c=r.c,l=e.c;if(!n||!a){if(!c||!l)return new BigNumber(i/0);if(!c[0]||!l[0])return l[0]?e:new BigNumber(c[0]?r:i*0)}n=bitFloor(n);a=bitFloor(a);c=c.slice();if(i=n-a){if(i>0){a=n;s=l}else{i=-i;s=c}s.reverse();for(;i--;s.push(0));s.reverse()}i=c.length;t=l.length;if(i-t<0){s=l;l=c;c=s;t=i}for(i=0;t;){i=(c[--t]=c[t]+l[t]+i)/u|0;c[t]=u===c[t]?0:c[t]%u}if(i){c=[i].concat(c);++a}return normalise(e,c,a)};m.precision=m.sd=function(e,t){var s,r,i,n=this;if(e!=null&&e!==!!e){intCheck(e,1,y);if(t==null)t=q;else intCheck(t,0,8);return round(new BigNumber(n),e,t)}if(!(s=n.c))return null;i=s.length-1;r=i*o+1;if(i=s[i]){for(;i%10==0;i/=10,r--);for(i=s[0];i>=10;i/=10,r++);}if(e&&n.e+1>r)r=n.e+1;return r};m.shiftedBy=function(e){intCheck(e,-l,l);return this.times("1e"+e)};m.squareRoot=m.sqrt=function(){var e,s,r,i,n,a=this,c=a.c,u=a.s,o=a.e,l=D+4,p=new BigNumber("0.5");if(u!==1||!c||!c[0]){return new BigNumber(!u||u<0&&(!c||c[0])?NaN:c?a:1/0)}u=Math.sqrt(+valueOf(a));if(u==0||u==1/0){s=coeffToString(c);if((s.length+o)%2==0)s+="0";u=Math.sqrt(+s);o=bitFloor((o+1)/2)-(o<0||o%2);if(u==1/0){s="5e"+o}else{s=u.toExponential();s=s.slice(0,s.indexOf("e")+1)+o}r=new BigNumber(s)}else{r=new BigNumber(u+"")}if(r.c[0]){o=r.e;u=o+l;if(u<3)u=0;for(;;){n=r;r=p.times(n.plus(t(a,n,l,1)));if(coeffToString(n.c).slice(0,u)===(s=coeffToString(r.c)).slice(0,u)){if(r.e<o)--u;s=s.slice(u-3,u+1);if(s=="9999"||!i&&s=="4999"){if(!i){round(n,n.e+D+2,0);if(n.times(n).eq(a)){r=n;break}}l+=4;u+=4;i=1}else{if(!+s||!+s.slice(1)&&s.charAt(0)=="5"){round(r,r.e+D+2,1);e=!r.times(r).eq(a)}break}}}}return round(r,r.e+D+1,q,e)};m.toExponential=function(e,t){if(e!=null){intCheck(e,0,y);e++}return format(this,e,t,1)};m.toFixed=function(e,t){if(e!=null){intCheck(e,0,y);e=e+this.e+1}return format(this,e,t)};m.toFormat=function(e,t,s){var r,i=this;if(s==null){if(e!=null&&t&&typeof t=="object"){s=t;t=null}else if(e&&typeof e=="object"){s=e;e=t=null}else{s=R}}else if(typeof s!="object"){throw Error(a+"Argument not an object: "+s)}r=i.toFixed(e,t);if(i.c){var n,c=r.split("."),u=+s.groupSize,o=+s.secondaryGroupSize,l=s.groupSeparator||"",p=c[0],d=c[1],y=i.s<0,h=y?p.slice(1):p,m=h.length;if(o){n=u;u=o;o=n;m-=n}if(u>0&&m>0){n=m%u||u;p=h.substr(0,n);for(;n<m;n+=u)p+=l+h.substr(n,u);if(o>0)p+=l+h.slice(n);if(y)p="-"+p}r=d?p+(s.decimalSeparator||"")+((o=+s.fractionGroupSize)?d.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+(s.fractionGroupSeparator||"")):d):p}return(s.prefix||"")+r+(s.suffix||"")};m.toFraction=function(e){var s,r,i,n,c,u,l,d,y,h,m,D,v=this,C=v.c;if(e!=null){l=new BigNumber(e);if(!l.isInteger()&&(l.c||l.s!==1)||l.lt(b)){throw Error(a+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+valueOf(l))}}if(!C)return new BigNumber(v);s=new BigNumber(b);y=r=new BigNumber(b);i=d=new BigNumber(b);D=coeffToString(C);c=s.e=D.length-v.e-1;s.c[0]=p[(u=c%o)<0?o+u:u];e=!e||l.comparedTo(s)>0?c>0?s:y:l;u=S;S=1/0;l=new BigNumber(D);d.c[0]=0;for(;;){h=t(l,s,0,1);n=r.plus(h.times(i));if(n.comparedTo(e)==1)break;r=i;i=n;y=d.plus(h.times(n=y));d=n;s=l.minus(h.times(n=s));l=n}n=t(e.minus(r),i,0,1);d=d.plus(n.times(y));r=r.plus(n.times(i));d.s=y.s=v.s;c=c*2;m=t(y,i,c,q).minus(v).abs().comparedTo(t(d,r,c,q).minus(v).abs())<1?[y,i]:[d,r];S=u;return m};m.toNumber=function(){return+valueOf(this)};m.toPrecision=function(e,t){if(e!=null)intCheck(e,1,y);return format(this,e,t,2)};m.toString=function(e){var t,r=this,i=r.s,n=r.e;if(n===null){if(i){t="Infinity";if(i<0)t="-"+t}else{t="NaN"}}else{if(e==null){t=n<=v||n>=C?toExponential(coeffToString(r.c),n):toFixedPoint(coeffToString(r.c),n,"0")}else if(e===10&&I){r=round(new BigNumber(r),D+n+1,q);t=toFixedPoint(coeffToString(r.c),r.e,"0")}else{intCheck(e,2,T.length,"Base");t=s(toFixedPoint(coeffToString(r.c),n,"0"),10,e,i,true)}if(i<0&&r.c[0])t="-"+t}return t};m.valueOf=m.toJSON=function(){return valueOf(this)};m._isBigNumber=true;if(e!=null)BigNumber.set(e);return BigNumber}function bitFloor(e){var t=e|0;return e>0||e===t?t:t-1}function coeffToString(e){var t,s,r=1,i=e.length,n=e[0]+"";for(;r<i;){t=e[r++]+"";s=o-t.length;for(;s--;t="0"+t);n+=t}for(i=n.length;n.charCodeAt(--i)===48;);return n.slice(0,i+1||1)}function compare(e,t){var s,r,i=e.c,n=t.c,a=e.s,c=t.s,u=e.e,o=t.e;if(!a||!c)return null;s=i&&!i[0];r=n&&!n[0];if(s||r)return s?r?0:-c:a;if(a!=c)return a;s=a<0;r=u==o;if(!i||!n)return r?0:!i^s?1:-1;if(!r)return u>o^s?1:-1;c=(u=i.length)<(o=n.length)?u:o;for(a=0;a<c;a++)if(i[a]!=n[a])return i[a]>n[a]^s?1:-1;return u==o?0:u>o^s?1:-1}function intCheck(e,t,s,r){if(e<t||e>s||e!==n(e)){throw Error(a+(r||"Argument")+(typeof e=="number"?e<t||e>s?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}}function isOdd(e){var t=e.c.length-1;return bitFloor(e.e/o)==t&&e.c[t]%2!=0}function toExponential(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function toFixedPoint(e,t,s){var r,i;if(t<0){for(i=s+".";++t;i+=s);e=i+e}else{r=e.length;if(++t>r){for(i=s,t-=r;--t;i+=s);e+=i}else if(t<r){e=e.slice(0,t)+"."+e.slice(t)}}return e}s=clone();s["default"]=s.BigNumber=s;if(typeof define=="function"&&define.amd){define((function(){return s}))}else if(true&&e.exports){e.exports=s}else{if(!t){t=typeof self!="undefined"&&self?self:window}t.BigNumber=s}})(this)},85443:function(e,t,s){var r=s(73837);var i=s(12781).Stream;var n=s(18611);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}r.inherits(CombinedStream,i);CombinedStream.create=function(e){var t=new this;e=e||{};for(var s in e){t[s]=e[s]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof n)){var s=n.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=s}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){i.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var s=e;this.write(s);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},84697:function(e){var t=1e3;var s=t*60;var r=s*60;var i=r*24;var n=i*7;var a=i*365.25;e.exports=function(e,t){t=t||{};var s=typeof e;if(s==="string"&&e.length>0){return parse(e)}else if(s==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c){return}var u=parseFloat(c[1]);var o=(c[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*n;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*s;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var n=Math.abs(e);if(n>=i){return Math.round(e/i)+"d"}if(n>=r){return Math.round(e/r)+"h"}if(n>=s){return Math.round(e/s)+"m"}if(n>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var n=Math.abs(e);if(n>=i){return plural(e,n,i,"day")}if(n>=r){return plural(e,n,r,"hour")}if(n>=s){return plural(e,n,s,"minute")}if(n>=t){return plural(e,n,t,"second")}return e+" ms"}function plural(e,t,s,r){var i=t>=s*1.5;return Math.round(e/s)+" "+r+(i?"s":"")}},28222:function(e,t,s){t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const s="color: "+this.color;t.splice(1,0,s,"color: inherit");let r=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}r++;if(e==="%c"){i=r}}));t.splice(i,0,s)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=s(46243)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},46243:function(e,t,s){function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=s(84697);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let s=0;s<e.length;s++){t=(t<<5)-t+e.charCodeAt(s);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let s=null;let r;let i;function debug(...e){if(!debug.enabled){return}const s=debug;const r=Number(new Date);const i=r-(t||r);s.diff=i;s.prev=t;s.curr=r;t=r;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,r)=>{if(t==="%%"){return"%"}n++;const i=createDebug.formatters[r];if(typeof i==="function"){const r=e[n];t=i.call(s,r);e.splice(n,1);n--}return t}));createDebug.formatArgs.call(s,e);const a=s.log||createDebug.log;a.apply(s,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(s!==null){return s}if(r!==createDebug.namespaces){r=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{s=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const s=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);s.log=this.log;return s}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const s=(typeof e==="string"?e:"").split(/[\s,]+/);const r=s.length;for(t=0;t<r;t++){if(!s[t]){continue}e=s[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let s;for(t=0,s=createDebug.skips.length;t<s;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,s=createDebug.names.length;t<s;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},38237:function(e,t,s){if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=s(28222)}else{e.exports=s(35332)}},35332:function(e,t,s){const r=s(76224);const i=s(73837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=s(59318);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const s=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];if(/^(yes|on|true|enabled)$/i.test(r)){r=true}else if(/^(no|off|false|disabled)$/i.test(r)){r=false}else if(r==="null"){r=null}else{r=Number(r)}e[s]=r;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:s,useColors:r}=this;if(r){const r=this.color;const i="[3"+(r<8?r:"8;5;"+r);const n=` ${i};1m${s} [0m`;t[0]=n+t[0].split("\n").join("\n"+n);t.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+s+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const s=Object.keys(t.inspectOpts);for(let r=0;r<s.length;r++){e.inspectOpts[s[r]]=t.inspectOpts[s[r]]}}e.exports=s(46243)(t);const{formatters:n}=e.exports;n.o=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};n.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},18611:function(e,t,s){var r=s(12781).Stream;var i=s(73837);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}i.inherits(DelayedStream,r);DelayedStream.create=function(e,t){var s=new this;t=t||{};for(var r in t){s[r]=t[r]}s.source=e;var i=e.emit;e.emit=function(){s._handleEmit(arguments);return i.apply(e,arguments)};e.on("error",(function(){}));if(s.pauseStream){e.pause()}return s};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},28685:function(e,t,s){"use strict";var r=s(19032);e.exports.O=convert;function convert(e,t,s){s=checkEncoding(s||"UTF-8");t=checkEncoding(t||"UTF-8");e=e||"";var r;if(s!=="UTF-8"&&typeof e==="string"){e=Buffer.from(e,"binary")}if(s===t){if(typeof e==="string"){r=Buffer.from(e)}else{r=e}}else{try{r=convertIconvLite(e,t,s)}catch(t){console.error(t);r=e}}if(typeof r==="string"){r=Buffer.from(r,"utf-8")}return r}function convertIconvLite(e,t,s){if(t==="UTF-8"){return r.decode(e,s)}else if(s==="UTF-8"){return r.encode(e,t)}else{return r.encode(r.decode(e,s),t)}}function checkEncoding(e){return(e||"").toString().trim().replace(/^latin[\-_]?(\d+)$/i,"ISO-8859-$1").replace(/^win(?:dows)?[\-_]?(\d+)$/i,"WINDOWS-$1").replace(/^utf[\-_]?(\d+)$/i,"UTF-$1").replace(/^ks_c_5601\-1987$/i,"CP949").replace(/^us[\-_]?ascii$/i,"ASCII").toUpperCase()}},91585:function(e,t,s){"use strict";const{PassThrough:r}=s(12781);e.exports=e=>{e={...e};const{array:t}=e;let{encoding:s}=e;const i=s==="buffer";let n=false;if(t){n=!(s||i)}else{s=s||"utf8"}if(i){s=null}const a=new r({objectMode:n});if(s){a.setEncoding(s)}let c=0;const u=[];a.on("data",(e=>{u.push(e);if(n){c=u.length}else{c+=e.length}}));a.getBufferedValue=()=>{if(t){return u}return i?Buffer.concat(u,c):u.join("")};a.getBufferedLength=()=>c;return a}},21766:function(e,t,s){"use strict";const{constants:r}=s(14300);const i=s(12781);const{promisify:n}=s(73837);const a=s(91585);const c=n(i.pipeline);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){throw new Error("Expected a stream")}t={maxBuffer:Infinity,...t};const{maxBuffer:s}=t;const i=a(t);await new Promise(((t,n)=>{const rejectPromise=e=>{if(e&&i.getBufferedLength()<=r.MAX_LENGTH){e.bufferedData=i.getBufferedValue()}n(e)};(async()=>{try{await c(e,i);t()}catch(e){rejectPromise(e)}})();i.on("data",(()=>{if(i.getBufferedLength()>s){rejectPromise(new MaxBufferError)}}))}));return i.getBufferedValue()}e.exports=getStream;e.exports.buffer=(e,t)=>getStream(e,{...t,encoding:"buffer"});e.exports.array=(e,t)=>getStream(e,{...t,array:true});e.exports.MaxBufferError=MaxBufferError},15098:function(e,t,s){"use strict";var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,i){function fulfilled(e){try{step(r.next(e))}catch(e){i(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){i(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=i(s(41808));const a=i(s(24404));const c=i(s(57310));const u=i(s(39491));const o=i(s(38237));const l=s(70439);const p=i(s(595));const d=o.default("https-proxy-agent:agent");class HttpsProxyAgent extends l.Agent{constructor(e){let t;if(typeof e==="string"){t=c.default.parse(e)}else{t=e}if(!t){throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!")}d("creating new HttpsProxyAgent instance: %o",t);super(t);const s=Object.assign({},t);this.secureProxy=t.secureProxy||isHTTPS(s.protocol);s.host=s.hostname||s.host;if(typeof s.port==="string"){s.port=parseInt(s.port,10)}if(!s.port&&s.host){s.port=this.secureProxy?443:80}if(this.secureProxy&&!("ALPNProtocols"in s)){s.ALPNProtocols=["http 1.1"]}if(s.host&&s.path){delete s.path;delete s.pathname}this.proxy=s}callback(e,t){return r(this,void 0,void 0,(function*(){const{proxy:s,secureProxy:r}=this;let i;if(r){d("Creating `tls.Socket`: %o",s);i=a.default.connect(s)}else{d("Creating `net.Socket`: %o",s);i=n.default.connect(s)}const c=Object.assign({},s.headers);const o=`${t.host}:${t.port}`;let l=`CONNECT ${o} HTTP/1.1\r\n`;if(s.auth){c["Proxy-Authorization"]=`Basic ${Buffer.from(s.auth).toString("base64")}`}let{host:y,port:h,secureEndpoint:m}=t;if(!isDefaultPort(h,m)){y+=`:${h}`}c.Host=y;c.Connection="close";for(const e of Object.keys(c)){l+=`${e}: ${c[e]}\r\n`}const b=p.default(i);i.write(`${l}\r\n`);const{statusCode:D,buffered:q}=yield b;if(D===200){e.once("socket",resume);if(t.secureEndpoint){d("Upgrading socket connection to TLS");const e=t.servername||t.host;return a.default.connect(Object.assign(Object.assign({},omit(t,"host","hostname","path","port")),{socket:i,servername:e}))}return i}i.destroy();const v=new n.default.Socket({writable:false});v.readable=true;e.once("socket",(e=>{d("replaying proxy buffer for failed request");u.default(e.listenerCount("data")>0);e.push(q);e.push(null)}));return v}))}}t["default"]=HttpsProxyAgent;function resume(e){e.resume()}function isDefaultPort(e,t){return Boolean(!t&&e===80||t&&e===443)}function isHTTPS(e){return typeof e==="string"?/^https:?$/i.test(e):false}function omit(e,...t){const s={};let r;for(r in e){if(!t.includes(r)){s[r]=e[r]}}return s}},77219:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=r(s(15098));function createHttpsProxyAgent(e){return new i.default(e)}(function(e){e.HttpsProxyAgent=i.default;e.prototype=i.default.prototype})(createHttpsProxyAgent||(createHttpsProxyAgent={}));e.exports=createHttpsProxyAgent},595:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const i=r(s(38237));const n=i.default("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,s)=>{let r=0;const i=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("close",onclose);e.removeListener("readable",read)}function onclose(e){n("onclose had error %o",e)}function onend(){n("onend")}function onerror(e){cleanup();n("onerror %o",e);s(e)}function ondata(e){i.push(e);r+=e.length;const s=Buffer.concat(i,r);const a=s.indexOf("\r\n\r\n");if(a===-1){n("have not received end of HTTP headers yet...");read();return}const c=s.toString("ascii",0,s.indexOf("\r\n"));const u=+c.split(" ")[1];n("got proxy server response: %o",c);t({statusCode:u,buffered:s})}e.on("error",onerror);e.on("close",onclose);e.on("end",onend);read()}))}t["default"]=parseProxyResponse},70439:function(e,t,s){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=s(82361);const n=r(s(38237));const a=r(s(28997));const c=n.default("agent-base");function isAgent(e){return Boolean(e)&&typeof e.addRequest==="function"}function isSecureEndpoint(){const{stack:e}=new Error;if(typeof e!=="string")return false;return e.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}function createAgent(e,t){return new createAgent.Agent(e,t)}(function(e){class Agent extends i.EventEmitter{constructor(e,t){super();let s=t;if(typeof e==="function"){this.callback=e}else if(e){s=e}this.timeout=null;if(s&&typeof s.timeout==="number"){this.timeout=s.timeout}this.maxFreeSockets=1;this.maxSockets=1;this.maxTotalSockets=Infinity;this.sockets={};this.freeSockets={};this.requests={};this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number"){return this.explicitDefaultPort}return isSecureEndpoint()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){if(typeof this.explicitProtocol==="string"){return this.explicitProtocol}return isSecureEndpoint()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,s){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const s=Object.assign({},t);if(typeof s.secureEndpoint!=="boolean"){s.secureEndpoint=isSecureEndpoint()}if(s.host==null){s.host="localhost"}if(s.port==null){s.port=s.secureEndpoint?443:80}if(s.protocol==null){s.protocol=s.secureEndpoint?"https:":"http:"}if(s.host&&s.path){delete s.path}delete s.agent;delete s.hostname;delete s._defaultAgent;delete s.defaultPort;delete s.createConnection;e._last=true;e.shouldKeepAlive=false;let r=false;let i=null;const n=s.timeout||this.timeout;const onerror=t=>{if(e._hadError)return;e.emit("error",t);e._hadError=true};const ontimeout=()=>{i=null;r=true;const e=new Error(`A "socket" was not created for HTTP request before ${n}ms`);e.code="ETIMEOUT";onerror(e)};const callbackError=e=>{if(r)return;if(i!==null){clearTimeout(i);i=null}onerror(e)};const onsocket=t=>{if(r)return;if(i!=null){clearTimeout(i);i=null}if(isAgent(t)){c("Callback returned another Agent instance %o",t.constructor.name);t.addRequest(e,s);return}if(t){t.once("free",(()=>{this.freeSocket(t,s)}));e.onSocket(t);return}const n=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);onerror(n)};if(typeof this.callback!=="function"){onerror(new Error("`callback` is not defined"));return}if(!this.promisifiedCallback){if(this.callback.length>=3){c("Converting legacy callback function to promise");this.promisifiedCallback=a.default(this.callback)}else{this.promisifiedCallback=this.callback}}if(typeof n==="number"&&n>0){i=setTimeout(ontimeout,n)}if("port"in s&&typeof s.port!=="number"){s.port=Number(s.port)}try{c("Resolving socket for %o request: %o",s.protocol,`${e.method} ${e.path}`);Promise.resolve(this.promisifiedCallback(e,s)).then(onsocket,callbackError)}catch(e){Promise.reject(e).catch(callbackError)}}freeSocket(e,t){c("Freeing socket %o %o",e.constructor.name,t);e.destroy()}destroy(){c("Destroying agent %o",this.constructor.name)}}e.Agent=Agent;e.prototype=e.Agent.prototype})(createAgent||(createAgent={}));e.exports=createAgent},28997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function promisify(e){return function(t,s){return new Promise(((r,i)=>{e.call(this,t,s,((e,t)=>{if(e){i(e)}else{r(t)}}))}))}}t["default"]=promisify},39695:function(e,t,s){"use strict";var r=s(15118).Buffer;t._dbcs=DBCSCodec;var i=-1,n=-2,a=-10,c=-1e3,u=new Array(256),o=-1;for(var l=0;l<256;l++)u[l]=i;function DBCSCodec(e,t){this.encodingName=e.encodingName;if(!e)throw new Error("DBCS codec is called without the data.");if(!e.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var s=e.table();this.decodeTables=[];this.decodeTables[0]=u.slice(0);this.decodeTableSeq=[];for(var r=0;r<s.length;r++)this._addDecodeChunk(s[r]);if(typeof e.gb18030==="function"){this.gb18030=e.gb18030();var a=this.decodeTables.length;this.decodeTables.push(u.slice(0));var o=this.decodeTables.length;this.decodeTables.push(u.slice(0));var l=this.decodeTables[0];for(var r=129;r<=254;r++){var p=this.decodeTables[c-l[r]];for(var d=48;d<=57;d++){if(p[d]===i){p[d]=c-a}else if(p[d]>c){throw new Error("gb18030 decode tables conflict at byte 2")}var y=this.decodeTables[c-p[d]];for(var h=129;h<=254;h++){if(y[h]===i){y[h]=c-o}else if(y[h]===c-o){continue}else if(y[h]>c){throw new Error("gb18030 decode tables conflict at byte 3")}var m=this.decodeTables[c-y[h]];for(var b=48;b<=57;b++){if(m[b]===i)m[b]=n}}}}}this.defaultCharUnicode=t.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var D={};if(e.encodeSkipVals)for(var r=0;r<e.encodeSkipVals.length;r++){var q=e.encodeSkipVals[r];if(typeof q==="number")D[q]=true;else for(var d=q.from;d<=q.to;d++)D[d]=true}this._fillEncodeTable(0,0,D);if(e.encodeAdd){for(var v in e.encodeAdd)if(Object.prototype.hasOwnProperty.call(e.encodeAdd,v))this._setEncodeChar(v.charCodeAt(0),e.encodeAdd[v])}this.defCharSB=this.encodeTable[0][t.defaultCharSingleByte.charCodeAt(0)];if(this.defCharSB===i)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===i)this.defCharSB="?".charCodeAt(0)}DBCSCodec.prototype.encoder=DBCSEncoder;DBCSCodec.prototype.decoder=DBCSDecoder;DBCSCodec.prototype._getDecodeTrieNode=function(e){var t=[];for(;e>0;e>>>=8)t.push(e&255);if(t.length==0)t.push(0);var s=this.decodeTables[0];for(var r=t.length-1;r>0;r--){var n=s[t[r]];if(n==i){s[t[r]]=c-this.decodeTables.length;this.decodeTables.push(s=u.slice(0))}else if(n<=c){s=this.decodeTables[c-n]}else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+e.toString(16))}return s};DBCSCodec.prototype._addDecodeChunk=function(e){var t=parseInt(e[0],16);var s=this._getDecodeTrieNode(t);t=t&255;for(var r=1;r<e.length;r++){var i=e[r];if(typeof i==="string"){for(var n=0;n<i.length;){var c=i.charCodeAt(n++);if(55296<=c&&c<56320){var u=i.charCodeAt(n++);if(56320<=u&&u<57344)s[t++]=65536+(c-55296)*1024+(u-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+e[0])}else if(4080<c&&c<=4095){var o=4095-c+2;var l=[];for(var p=0;p<o;p++)l.push(i.charCodeAt(n++));s[t++]=a-this.decodeTableSeq.length;this.decodeTableSeq.push(l)}else s[t++]=c}}else if(typeof i==="number"){var d=s[t-1]+1;for(var n=0;n<i;n++)s[t++]=d++}else throw new Error("Incorrect type '"+typeof i+"' given in "+this.encodingName+" at chunk "+e[0])}if(t>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+e[0]+": too long"+t)};DBCSCodec.prototype._getEncodeBucket=function(e){var t=e>>8;if(this.encodeTable[t]===undefined)this.encodeTable[t]=u.slice(0);return this.encodeTable[t]};DBCSCodec.prototype._setEncodeChar=function(e,t){var s=this._getEncodeBucket(e);var r=e&255;if(s[r]<=a)this.encodeTableSeq[a-s[r]][o]=t;else if(s[r]==i)s[r]=t};DBCSCodec.prototype._setEncodeSequence=function(e,t){var s=e[0];var r=this._getEncodeBucket(s);var n=s&255;var c;if(r[n]<=a){c=this.encodeTableSeq[a-r[n]]}else{c={};if(r[n]!==i)c[o]=r[n];r[n]=a-this.encodeTableSeq.length;this.encodeTableSeq.push(c)}for(var u=1;u<e.length-1;u++){var l=c[s];if(typeof l==="object")c=l;else{c=c[s]={};if(l!==undefined)c[o]=l}}s=e[e.length-1];c[s]=t};DBCSCodec.prototype._fillEncodeTable=function(e,t,s){var r=this.decodeTables[e];var i=false;var n={};for(var u=0;u<256;u++){var o=r[u];var l=t+u;if(s[l])continue;if(o>=0){this._setEncodeChar(o,l);i=true}else if(o<=c){var p=c-o;if(!n[p]){var d=l<<8>>>0;if(this._fillEncodeTable(p,d,s))i=true;else n[p]=true}}else if(o<=a){this._setEncodeSequence(this.decodeTableSeq[a-o],l);i=true}}return i};function DBCSEncoder(e,t){this.leadSurrogate=-1;this.seqObj=undefined;this.encodeTable=t.encodeTable;this.encodeTableSeq=t.encodeTableSeq;this.defaultCharSingleByte=t.defCharSB;this.gb18030=t.gb18030}DBCSEncoder.prototype.write=function(e){var t=r.alloc(e.length*(this.gb18030?4:3)),s=this.leadSurrogate,n=this.seqObj,c=-1,u=0,l=0;while(true){if(c===-1){if(u==e.length)break;var p=e.charCodeAt(u++)}else{var p=c;c=-1}if(55296<=p&&p<57344){if(p<56320){if(s===-1){s=p;continue}else{s=p;p=i}}else{if(s!==-1){p=65536+(s-55296)*1024+(p-56320);s=-1}else{p=i}}}else if(s!==-1){c=p;p=i;s=-1}var d=i;if(n!==undefined&&p!=i){var y=n[p];if(typeof y==="object"){n=y;continue}else if(typeof y=="number"){d=y}else if(y==undefined){y=n[o];if(y!==undefined){d=y;c=p}else{}}n=undefined}else if(p>=0){var h=this.encodeTable[p>>8];if(h!==undefined)d=h[p&255];if(d<=a){n=this.encodeTableSeq[a-d];continue}if(d==i&&this.gb18030){var m=findIdx(this.gb18030.uChars,p);if(m!=-1){var d=this.gb18030.gbChars[m]+(p-this.gb18030.uChars[m]);t[l++]=129+Math.floor(d/12600);d=d%12600;t[l++]=48+Math.floor(d/1260);d=d%1260;t[l++]=129+Math.floor(d/10);d=d%10;t[l++]=48+d;continue}}}if(d===i)d=this.defaultCharSingleByte;if(d<256){t[l++]=d}else if(d<65536){t[l++]=d>>8;t[l++]=d&255}else if(d<16777216){t[l++]=d>>16;t[l++]=d>>8&255;t[l++]=d&255}else{t[l++]=d>>>24;t[l++]=d>>>16&255;t[l++]=d>>>8&255;t[l++]=d&255}}this.seqObj=n;this.leadSurrogate=s;return t.slice(0,l)};DBCSEncoder.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===undefined)return;var e=r.alloc(10),t=0;if(this.seqObj){var s=this.seqObj[o];if(s!==undefined){if(s<256){e[t++]=s}else{e[t++]=s>>8;e[t++]=s&255}}else{}this.seqObj=undefined}if(this.leadSurrogate!==-1){e[t++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return e.slice(0,t)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(e,t){this.nodeIdx=0;this.prevBytes=[];this.decodeTables=t.decodeTables;this.decodeTableSeq=t.decodeTableSeq;this.defaultCharUnicode=t.defaultCharUnicode;this.gb18030=t.gb18030}DBCSDecoder.prototype.write=function(e){var t=r.alloc(e.length*2),s=this.nodeIdx,u=this.prevBytes,o=this.prevBytes.length,l=-this.prevBytes.length,p;for(var d=0,y=0;d<e.length;d++){var h=d>=0?e[d]:u[d+o];var p=this.decodeTables[s][h];if(p>=0){}else if(p===i){p=this.defaultCharUnicode.charCodeAt(0);d=l}else if(p===n){if(d>=3){var m=(e[d-3]-129)*12600+(e[d-2]-48)*1260+(e[d-1]-129)*10+(h-48)}else{var m=(u[d-3+o]-129)*12600+((d-2>=0?e[d-2]:u[d-2+o])-48)*1260+((d-1>=0?e[d-1]:u[d-1+o])-129)*10+(h-48)}var b=findIdx(this.gb18030.gbChars,m);p=this.gb18030.uChars[b]+m-this.gb18030.gbChars[b]}else if(p<=c){s=c-p;continue}else if(p<=a){var D=this.decodeTableSeq[a-p];for(var q=0;q<D.length-1;q++){p=D[q];t[y++]=p&255;t[y++]=p>>8}p=D[D.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+p+" at "+s+"/"+h);if(p>=65536){p-=65536;var v=55296|p>>10;t[y++]=v&255;t[y++]=v>>8;p=56320|p&1023}t[y++]=p&255;t[y++]=p>>8;s=0;l=d+1}this.nodeIdx=s;this.prevBytes=l>=0?Array.prototype.slice.call(e,l):u.slice(l+o).concat(Array.prototype.slice.call(e));return t.slice(0,y).toString("ucs2")};DBCSDecoder.prototype.end=function(){var e="";while(this.prevBytes.length>0){e+=this.defaultCharUnicode;var t=this.prevBytes.slice(1);this.prevBytes=[];this.nodeIdx=0;if(t.length>0)e+=this.write(t)}this.prevBytes=[];this.nodeIdx=0;return e};function findIdx(e,t){if(e[0]>t)return-1;var s=0,r=e.length;while(s<r-1){var i=s+(r-s+1>>1);if(e[i]<=t)s=i;else r=i}return s}},91386:function(e,t,s){"use strict";e.exports={shiftjis:{type:"_dbcs",table:function(){return s(27014)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return s(31532)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return s(13336)}},gbk:{type:"_dbcs",table:function(){return s(13336).concat(s(44346))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return s(13336).concat(s(44346))},gb18030:function(){return s(36258)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return s(77348)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return s(74284)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return s(74284).concat(s(63480))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},82733:function(e,t,s){"use strict";var r=[s(12376),s(59557),s(11155),s(51644),s(26657),s(41080),s(21012),s(39695),s(91386)];for(var i=0;i<r.length;i++){var n=r[i];for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a))t[a]=n[a]}},12376:function(e,t,s){"use strict";var r=s(15118).Buffer;e.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(e,t){this.enc=e.encodingName;this.bomAware=e.bomAware;if(this.enc==="base64")this.encoder=InternalEncoderBase64;else if(this.enc==="cesu8"){this.enc="utf8";this.encoder=InternalEncoderCesu8;if(r.from("eda0bdedb2a9","hex").toString()!=="💩"){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=t.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var i=s(71576).StringDecoder;if(!i.prototype.end)i.prototype.end=function(){};function InternalDecoder(e,t){this.decoder=new i(t.enc)}InternalDecoder.prototype.write=function(e){if(!r.isBuffer(e)){e=r.from(e)}return this.decoder.write(e)};InternalDecoder.prototype.end=function(){return this.decoder.end()};function InternalEncoder(e,t){this.enc=t.enc}InternalEncoder.prototype.write=function(e){return r.from(e,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(e,t){this.prevStr=""}InternalEncoderBase64.prototype.write=function(e){e=this.prevStr+e;var t=e.length-e.length%4;this.prevStr=e.slice(t);e=e.slice(0,t);return r.from(e,"base64")};InternalEncoderBase64.prototype.end=function(){return r.from(this.prevStr,"base64")};function InternalEncoderCesu8(e,t){}InternalEncoderCesu8.prototype.write=function(e){var t=r.alloc(e.length*3),s=0;for(var i=0;i<e.length;i++){var n=e.charCodeAt(i);if(n<128)t[s++]=n;else if(n<2048){t[s++]=192+(n>>>6);t[s++]=128+(n&63)}else{t[s++]=224+(n>>>12);t[s++]=128+(n>>>6&63);t[s++]=128+(n&63)}}return t.slice(0,s)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(e,t){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=t.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(e){var t=this.acc,s=this.contBytes,r=this.accBytes,i="";for(var n=0;n<e.length;n++){var a=e[n];if((a&192)!==128){if(s>0){i+=this.defaultCharUnicode;s=0}if(a<128){i+=String.fromCharCode(a)}else if(a<224){t=a&31;s=1;r=1}else if(a<240){t=a&15;s=2;r=1}else{i+=this.defaultCharUnicode}}else{if(s>0){t=t<<6|a&63;s--;r++;if(s===0){if(r===2&&t<128&&t>0)i+=this.defaultCharUnicode;else if(r===3&&t<2048)i+=this.defaultCharUnicode;else i+=String.fromCharCode(t)}}else{i+=this.defaultCharUnicode}}}this.acc=t;this.contBytes=s;this.accBytes=r;return i};InternalDecoderCesu8.prototype.end=function(){var e=0;if(this.contBytes>0)e+=this.defaultCharUnicode;return e}},26657:function(e,t,s){"use strict";var r=s(15118).Buffer;t._sbcs=SBCSCodec;function SBCSCodec(e,t){if(!e)throw new Error("SBCS codec is called without the data.");if(!e.chars||e.chars.length!==128&&e.chars.length!==256)throw new Error("Encoding '"+e.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(e.chars.length===128){var s="";for(var i=0;i<128;i++)s+=String.fromCharCode(i);e.chars=s+e.chars}this.decodeBuf=r.from(e.chars,"ucs2");var n=r.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(var i=0;i<e.chars.length;i++)n[e.chars.charCodeAt(i)]=i;this.encodeBuf=n}SBCSCodec.prototype.encoder=SBCSEncoder;SBCSCodec.prototype.decoder=SBCSDecoder;function SBCSEncoder(e,t){this.encodeBuf=t.encodeBuf}SBCSEncoder.prototype.write=function(e){var t=r.alloc(e.length);for(var s=0;s<e.length;s++)t[s]=this.encodeBuf[e.charCodeAt(s)];return t};SBCSEncoder.prototype.end=function(){};function SBCSDecoder(e,t){this.decodeBuf=t.decodeBuf}SBCSDecoder.prototype.write=function(e){var t=this.decodeBuf;var s=r.alloc(e.length*2);var i=0,n=0;for(var a=0;a<e.length;a++){i=e[a]*2;n=a*2;s[n]=t[i];s[n+1]=t[i+1]}return s.toString("ucs2")};SBCSDecoder.prototype.end=function(){}},21012:function(e){"use strict";e.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"
Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"
Ħ˘£¤�Ĥ§¨İŞĞĴ�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"
ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"
ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"
���¤�������،�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"
‘’£€₯¦§¨©ͺ«¬�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"
�¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"
ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"
กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"
”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"
Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"
¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"
ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"
ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"
¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"
ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"
¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"
�և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:"
ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},41080:function(e){"use strict";e.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},11155:function(e,t,s){"use strict";var r=s(15118).Buffer;t.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(e){var t=r.from(e,"ucs2");for(var s=0;s<t.length;s+=2){var i=t[s];t[s]=t[s+1];t[s+1]=i}return t};Utf16BEEncoder.prototype.end=function(){};function Utf16BEDecoder(){this.overflowByte=-1}Utf16BEDecoder.prototype.write=function(e){if(e.length==0)return"";var t=r.alloc(e.length+1),s=0,i=0;if(this.overflowByte!==-1){t[0]=e[0];t[1]=this.overflowByte;s=1;i=2}for(;s<e.length-1;s+=2,i+=2){t[i]=e[s+1];t[i+1]=e[s]}this.overflowByte=s==e.length-1?e[e.length-1]:-1;return t.slice(0,i).toString("ucs2")};Utf16BEDecoder.prototype.end=function(){this.overflowByte=-1};t.utf16=Utf16Codec;function Utf16Codec(e,t){this.iconv=t}Utf16Codec.prototype.encoder=Utf16Encoder;Utf16Codec.prototype.decoder=Utf16Decoder;function Utf16Encoder(e,t){e=e||{};if(e.addBOM===undefined)e.addBOM=true;this.encoder=t.iconv.getEncoder("utf-16le",e)}Utf16Encoder.prototype.write=function(e){return this.encoder.write(e)};Utf16Encoder.prototype.end=function(){return this.encoder.end()};function Utf16Decoder(e,t){this.decoder=null;this.initialBufs=[];this.initialBufsLen=0;this.options=e||{};this.iconv=t.iconv}Utf16Decoder.prototype.write=function(e){if(!this.decoder){this.initialBufs.push(e);this.initialBufsLen+=e.length;if(this.initialBufsLen<16)return"";var t=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var s="";for(var r=0;r<this.initialBufs.length;r++)s+=this.decoder.write(this.initialBufs[r]);this.initialBufs.length=this.initialBufsLen=0;return s}return this.decoder.write(e)};Utf16Decoder.prototype.end=function(){if(!this.decoder){var e=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);var t="";for(var s=0;s<this.initialBufs.length;s++)t+=this.decoder.write(this.initialBufs[s]);var r=this.decoder.end();if(r)t+=r;this.initialBufs.length=this.initialBufsLen=0;return t}return this.decoder.end()};function detectEncoding(e,t){var s=[];var r=0;var i=0,n=0;e:for(var a=0;a<e.length;a++){var c=e[a];for(var u=0;u<c.length;u++){s.push(c[u]);if(s.length===2){if(r===0){if(s[0]===255&&s[1]===254)return"utf-16le";if(s[0]===254&&s[1]===255)return"utf-16be"}if(s[0]===0&&s[1]!==0)n++;if(s[0]!==0&&s[1]===0)i++;s.length=0;r++;if(r>=100){break e}}}}if(n>i)return"utf-16be";if(n<i)return"utf-16le";return t||"utf-16le"}},59557:function(e,t,s){"use strict";var r=s(15118).Buffer;t._utf32=Utf32Codec;function Utf32Codec(e,t){this.iconv=t;this.bomAware=true;this.isLE=e.isLE}t.utf32le={type:"_utf32",isLE:true};t.utf32be={type:"_utf32",isLE:false};t.ucs4le="utf32le";t.ucs4be="utf32be";Utf32Codec.prototype.encoder=Utf32Encoder;Utf32Codec.prototype.decoder=Utf32Decoder;function Utf32Encoder(e,t){this.isLE=t.isLE;this.highSurrogate=0}Utf32Encoder.prototype.write=function(e){var t=r.from(e,"ucs2");var s=r.alloc(t.length*2);var i=this.isLE?s.writeUInt32LE:s.writeUInt32BE;var n=0;for(var a=0;a<t.length;a+=2){var c=t.readUInt16LE(a);var u=55296<=c&&c<56320;var o=56320<=c&&c<57344;if(this.highSurrogate){if(u||!o){i.call(s,this.highSurrogate,n);n+=4}else{var l=(this.highSurrogate-55296<<10|c-56320)+65536;i.call(s,l,n);n+=4;this.highSurrogate=0;continue}}if(u)this.highSurrogate=c;else{i.call(s,c,n);n+=4;this.highSurrogate=0}}if(n<s.length)s=s.slice(0,n);return s};Utf32Encoder.prototype.end=function(){if(!this.highSurrogate)return;var e=r.alloc(4);if(this.isLE)e.writeUInt32LE(this.highSurrogate,0);else e.writeUInt32BE(this.highSurrogate,0);this.highSurrogate=0;return e};function Utf32Decoder(e,t){this.isLE=t.isLE;this.badChar=t.iconv.defaultCharUnicode.charCodeAt(0);this.overflow=[]}Utf32Decoder.prototype.write=function(e){if(e.length===0)return"";var t=0;var s=0;var i=r.alloc(e.length+4);var n=0;var a=this.isLE;var c=this.overflow;var u=this.badChar;if(c.length>0){for(;t<e.length&&c.length<4;t++)c.push(e[t]);if(c.length===4){if(a){s=c[t]|c[t+1]<<8|c[t+2]<<16|c[t+3]<<24}else{s=c[t+3]|c[t+2]<<8|c[t+1]<<16|c[t]<<24}c.length=0;n=_writeCodepoint(i,n,s,u)}}for(;t<e.length-3;t+=4){if(a){s=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}else{s=e[t+3]|e[t+2]<<8|e[t+1]<<16|e[t]<<24}n=_writeCodepoint(i,n,s,u)}for(;t<e.length;t++){c.push(e[t])}return i.slice(0,n).toString("ucs2")};function _writeCodepoint(e,t,s,r){if(s<0||s>1114111){s=r}if(s>=65536){s-=65536;var i=55296|s>>10;e[t++]=i&255;e[t++]=i>>8;var s=56320|s&1023}e[t++]=s&255;e[t++]=s>>8;return t}Utf32Decoder.prototype.end=function(){this.overflow.length=0};t.utf32=Utf32AutoCodec;t.ucs4="utf32";function Utf32AutoCodec(e,t){this.iconv=t}Utf32AutoCodec.prototype.encoder=Utf32AutoEncoder;Utf32AutoCodec.prototype.decoder=Utf32AutoDecoder;function Utf32AutoEncoder(e,t){e=e||{};if(e.addBOM===undefined)e.addBOM=true;this.encoder=t.iconv.getEncoder(e.defaultEncoding||"utf-32le",e)}Utf32AutoEncoder.prototype.write=function(e){return this.encoder.write(e)};Utf32AutoEncoder.prototype.end=function(){return this.encoder.end()};function Utf32AutoDecoder(e,t){this.decoder=null;this.initialBufs=[];this.initialBufsLen=0;this.options=e||{};this.iconv=t.iconv}Utf32AutoDecoder.prototype.write=function(e){if(!this.decoder){this.initialBufs.push(e);this.initialBufsLen+=e.length;if(this.initialBufsLen<32)return"";var t=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var s="";for(var r=0;r<this.initialBufs.length;r++)s+=this.decoder.write(this.initialBufs[r]);this.initialBufs.length=this.initialBufsLen=0;return s}return this.decoder.write(e)};Utf32AutoDecoder.prototype.end=function(){if(!this.decoder){var e=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);var t="";for(var s=0;s<this.initialBufs.length;s++)t+=this.decoder.write(this.initialBufs[s]);var r=this.decoder.end();if(r)t+=r;this.initialBufs.length=this.initialBufsLen=0;return t}return this.decoder.end()};function detectEncoding(e,t){var s=[];var r=0;var i=0,n=0;var a=0,c=0;e:for(var u=0;u<e.length;u++){var o=e[u];for(var l=0;l<o.length;l++){s.push(o[l]);if(s.length===4){if(r===0){if(s[0]===255&&s[1]===254&&s[2]===0&&s[3]===0){return"utf-32le"}if(s[0]===0&&s[1]===0&&s[2]===254&&s[3]===255){return"utf-32be"}}if(s[0]!==0||s[1]>16)n++;if(s[3]!==0||s[2]>16)i++;if(s[0]===0&&s[1]===0&&(s[2]!==0||s[3]!==0))c++;if((s[0]!==0||s[1]!==0)&&s[2]===0&&s[3]===0)a++;s.length=0;r++;if(r>=100){break e}}}}if(c-n>a-i)return"utf-32be";if(c-n<a-i)return"utf-32le";return t||"utf-32le"}},51644:function(e,t,s){"use strict";var r=s(15118).Buffer;t.utf7=Utf7Codec;t.unicode11utf7="utf7";function Utf7Codec(e,t){this.iconv=t}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var i=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(e,t){this.iconv=t.iconv}Utf7Encoder.prototype.write=function(e){return r.from(e.replace(i,function(e){return"+"+(e==="+"?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var n=/[A-Za-z0-9\/+]/;var a=[];for(var c=0;c<256;c++)a[c]=n.test(String.fromCharCode(c));var u="+".charCodeAt(0),o="-".charCodeAt(0),l="&".charCodeAt(0);Utf7Decoder.prototype.write=function(e){var t="",s=0,i=this.inBase64,n=this.base64Accum;for(var c=0;c<e.length;c++){if(!i){if(e[c]==u){t+=this.iconv.decode(e.slice(s,c),"ascii");s=c+1;i=true}}else{if(!a[e[c]]){if(c==s&&e[c]==o){t+="+"}else{var l=n+this.iconv.decode(e.slice(s,c),"ascii");t+=this.iconv.decode(r.from(l,"base64"),"utf16-be")}if(e[c]!=o)c--;s=c+1;i=false;n=""}}}if(!i){t+=this.iconv.decode(e.slice(s),"ascii")}else{var l=n+this.iconv.decode(e.slice(s),"ascii");var p=l.length-l.length%8;n=l.slice(p);l=l.slice(0,p);t+=this.iconv.decode(r.from(l,"base64"),"utf16-be")}this.inBase64=i;this.base64Accum=n;return t};Utf7Decoder.prototype.end=function(){var e="";if(this.inBase64&&this.base64Accum.length>0)e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return e};t.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(e,t){this.iconv=t}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=r.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(e){var t=this.inBase64,s=this.base64Accum,i=this.base64AccumIdx,n=r.alloc(e.length*5+10),a=0;for(var c=0;c<e.length;c++){var u=e.charCodeAt(c);if(32<=u&&u<=126){if(t){if(i>0){a+=n.write(s.slice(0,i).toString("base64").replace(/\//g,",").replace(/=+$/,""),a);i=0}n[a++]=o;t=false}if(!t){n[a++]=u;if(u===l)n[a++]=o}}else{if(!t){n[a++]=l;t=true}if(t){s[i++]=u>>8;s[i++]=u&255;if(i==s.length){a+=n.write(s.toString("base64").replace(/\//g,","),a);i=0}}}}this.inBase64=t;this.base64AccumIdx=i;return n.slice(0,a)};Utf7IMAPEncoder.prototype.end=function(){var e=r.alloc(10),t=0;if(this.inBase64){if(this.base64AccumIdx>0){t+=e.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t);this.base64AccumIdx=0}e[t++]=o;this.inBase64=false}return e.slice(0,t)};function Utf7IMAPDecoder(e,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var p=a.slice();p[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(e){var t="",s=0,i=this.inBase64,n=this.base64Accum;for(var a=0;a<e.length;a++){if(!i){if(e[a]==l){t+=this.iconv.decode(e.slice(s,a),"ascii");s=a+1;i=true}}else{if(!p[e[a]]){if(a==s&&e[a]==o){t+="&"}else{var c=n+this.iconv.decode(e.slice(s,a),"ascii").replace(/,/g,"/");t+=this.iconv.decode(r.from(c,"base64"),"utf16-be")}if(e[a]!=o)a--;s=a+1;i=false;n=""}}}if(!i){t+=this.iconv.decode(e.slice(s),"ascii")}else{var c=n+this.iconv.decode(e.slice(s),"ascii").replace(/,/g,"/");var u=c.length-c.length%8;n=c.slice(u);c=c.slice(0,u);t+=this.iconv.decode(r.from(c,"base64"),"utf16-be")}this.inBase64=i;this.base64Accum=n;return t};Utf7IMAPDecoder.prototype.end=function(){var e="";if(this.inBase64&&this.base64Accum.length>0)e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return e}},67961:function(e,t){"use strict";var s="\ufeff";t.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(e,t){this.encoder=e;this.addBOM=true}PrependBOMWrapper.prototype.write=function(e){if(this.addBOM){e=s+e;this.addBOM=false}return this.encoder.write(e)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};t.StripBOM=StripBOMWrapper;function StripBOMWrapper(e,t){this.decoder=e;this.pass=false;this.options=t||{}}StripBOMWrapper.prototype.write=function(e){var t=this.decoder.write(e);if(this.pass||!t)return t;if(t[0]===s){t=t.slice(1);if(typeof this.options.stripBOM==="function")this.options.stripBOM()}this.pass=true;return t};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},19032:function(e,t,s){"use strict";var r=s(15118).Buffer;var i=s(67961),n=e.exports;n.encodings=null;n.defaultCharUnicode="�";n.defaultCharSingleByte="?";n.encode=function encode(e,t,s){e=""+(e||"");var i=n.getEncoder(t,s);var a=i.write(e);var c=i.end();return c&&c.length>0?r.concat([a,c]):a};n.decode=function decode(e,t,s){if(typeof e==="string"){if(!n.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");n.skipDecodeWarning=true}e=r.from(""+(e||""),"binary")}var i=n.getDecoder(t,s);var a=i.write(e);var c=i.end();return c?a+c:a};n.encodingExists=function encodingExists(e){try{n.getCodec(e);return true}catch(e){return false}};n.toEncoding=n.encode;n.fromEncoding=n.decode;n._codecDataCache={};n.getCodec=function getCodec(e){if(!n.encodings)n.encodings=s(82733);var t=n._canonicalizeEncoding(e);var r={};while(true){var i=n._codecDataCache[t];if(i)return i;var a=n.encodings[t];switch(typeof a){case"string":t=a;break;case"object":for(var c in a)r[c]=a[c];if(!r.encodingName)r.encodingName=t;t=a.type;break;case"function":if(!r.encodingName)r.encodingName=t;i=new a(r,n);n._codecDataCache[r.encodingName]=i;return i;default:throw new Error("Encoding not recognized: '"+e+"' (searched as: '"+t+"')")}}};n._canonicalizeEncoding=function(e){return(""+e).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};n.getEncoder=function getEncoder(e,t){var s=n.getCodec(e),r=new s.encoder(t,s);if(s.bomAware&&t&&t.addBOM)r=new i.PrependBOM(r,t);return r};n.getDecoder=function getDecoder(e,t){var s=n.getCodec(e),r=new s.decoder(t,s);if(s.bomAware&&!(t&&t.stripBOM===false))r=new i.StripBOM(r,t);return r};n.enableStreamingAPI=function enableStreamingAPI(e){if(n.supportsStreams)return;var t=s(76409)(e);n.IconvLiteEncoderStream=t.IconvLiteEncoderStream;n.IconvLiteDecoderStream=t.IconvLiteDecoderStream;n.encodeStream=function encodeStream(e,t){return new n.IconvLiteEncoderStream(n.getEncoder(e,t),t)};n.decodeStream=function decodeStream(e,t){return new n.IconvLiteDecoderStream(n.getDecoder(e,t),t)};n.supportsStreams=true};var a;try{a=s(12781)}catch(e){}if(a&&a.Transform){n.enableStreamingAPI(a)}else{n.encodeStream=n.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}}if(false){}},76409:function(e,t,s){"use strict";var r=s(15118).Buffer;e.exports=function(e){var t=e.Transform;function IconvLiteEncoderStream(e,s){this.conv=e;s=s||{};s.decodeStrings=false;t.call(this,s)}IconvLiteEncoderStream.prototype=Object.create(t.prototype,{constructor:{value:IconvLiteEncoderStream}});IconvLiteEncoderStream.prototype._transform=function(e,t,s){if(typeof e!="string")return s(new Error("Iconv encoding stream needs strings as its input."));try{var r=this.conv.write(e);if(r&&r.length)this.push(r);s()}catch(e){s(e)}};IconvLiteEncoderStream.prototype._flush=function(e){try{var t=this.conv.end();if(t&&t.length)this.push(t);e()}catch(t){e(t)}};IconvLiteEncoderStream.prototype.collect=function(e){var t=[];this.on("error",e);this.on("data",(function(e){t.push(e)}));this.on("end",(function(){e(null,r.concat(t))}));return this};function IconvLiteDecoderStream(e,s){this.conv=e;s=s||{};s.encoding=this.encoding="utf8";t.call(this,s)}IconvLiteDecoderStream.prototype=Object.create(t.prototype,{constructor:{value:IconvLiteDecoderStream}});IconvLiteDecoderStream.prototype._transform=function(e,t,s){if(!r.isBuffer(e)&&!(e instanceof Uint8Array))return s(new Error("Iconv decoding stream needs buffers as its input."));try{var i=this.conv.write(e);if(i&&i.length)this.push(i,this.encoding);s()}catch(e){s(e)}};IconvLiteDecoderStream.prototype._flush=function(e){try{var t=this.conv.end();if(t&&t.length)this.push(t,this.encoding);e()}catch(t){e(t)}};IconvLiteDecoderStream.prototype.collect=function(e){var t="";this.on("error",e);this.on("data",(function(e){t+=e}));this.on("end",(function(){e(null,t)}));return this};return{IconvLiteEncoderStream:IconvLiteEncoderStream,IconvLiteDecoderStream:IconvLiteDecoderStream}}},55031:function(e,t,s){var r=s(78574).stringify;var i=s(89099);e.exports=function(e){return{parse:i(e),stringify:r}};e.exports.parse=i();e.exports.stringify=r},89099:function(e,t,s){var r=null;const i=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/;const n=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var json_parse=function(e){"use strict";var t={strict:false,storeAsString:false,alwaysParseAsBig:false,useNativeBigInt:false,protoAction:"error",constructorAction:"error"};if(e!==undefined&&e!==null){if(e.strict===true){t.strict=true}if(e.storeAsString===true){t.storeAsString=true}t.alwaysParseAsBig=e.alwaysParseAsBig===true?e.alwaysParseAsBig:false;t.useNativeBigInt=e.useNativeBigInt===true?e.useNativeBigInt:false;if(typeof e.constructorAction!=="undefined"){if(e.constructorAction==="error"||e.constructorAction==="ignore"||e.constructorAction==="preserve"){t.constructorAction=e.constructorAction}else{throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`)}}if(typeof e.protoAction!=="undefined"){if(e.protoAction==="error"||e.protoAction==="ignore"||e.protoAction==="preserve"){t.protoAction=e.protoAction}else{throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`)}}}var a,c,u={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o,error=function(e){throw{name:"SyntaxError",message:e,at:a,text:o}},next=function(e){if(e&&e!==c){error("Expected '"+e+"' instead of '"+c+"'")}c=o.charAt(a);a+=1;return c},number=function(){var e,i="";if(c==="-"){i="-";next("-")}while(c>="0"&&c<="9"){i+=c;next()}if(c==="."){i+=".";while(next()&&c>="0"&&c<="9"){i+=c}}if(c==="e"||c==="E"){i+=c;next();if(c==="-"||c==="+"){i+=c;next()}while(c>="0"&&c<="9"){i+=c;next()}}e=+i;if(!isFinite(e)){error("Bad number")}else{if(r==null)r=s(87558);if(i.length>15)return t.storeAsString?i:t.useNativeBigInt?BigInt(i):new r(i);else return!t.alwaysParseAsBig?e:t.useNativeBigInt?BigInt(e):new r(e)}},string=function(){var e,t,s="",r;if(c==='"'){var i=a;while(next()){if(c==='"'){if(a-1>i)s+=o.substring(i,a-1);next();return s}if(c==="\\"){if(a-1>i)s+=o.substring(i,a-1);next();if(c==="u"){r=0;for(t=0;t<4;t+=1){e=parseInt(next(),16);if(!isFinite(e)){break}r=r*16+e}s+=String.fromCharCode(r)}else if(typeof u[c]==="string"){s+=u[c]}else{break}i=a}}}error("Bad string")},white=function(){while(c&&c<=" "){next()}},word=function(){switch(c){case"t":next("t");next("r");next("u");next("e");return true;case"f":next("f");next("a");next("l");next("s");next("e");return false;case"n":next("n");next("u");next("l");next("l");return null}error("Unexpected '"+c+"'")},l,array=function(){var e=[];if(c==="["){next("[");white();if(c==="]"){next("]");return e}while(c){e.push(l());white();if(c==="]"){next("]");return e}next(",");white()}}error("Bad array")},object=function(){var e,s=Object.create(null);if(c==="{"){next("{");white();if(c==="}"){next("}");return s}while(c){e=string();white();next(":");if(t.strict===true&&Object.hasOwnProperty.call(s,e)){error('Duplicate key "'+e+'"')}if(i.test(e)===true){if(t.protoAction==="error"){error("Object contains forbidden prototype property")}else if(t.protoAction==="ignore"){l()}else{s[e]=l()}}else if(n.test(e)===true){if(t.constructorAction==="error"){error("Object contains forbidden constructor property")}else if(t.constructorAction==="ignore"){l()}else{s[e]=l()}}else{s[e]=l()}white();if(c==="}"){next("}");return s}next(",");white()}}error("Bad object")};l=function(){white();switch(c){case"{":return object();case"[":return array();case'"':return string();case"-":return number();default:return c>="0"&&c<="9"?number():word()}};return function(e,t){var s;o=e+"";a=0;c=" ";s=l();white();if(c){error("Syntax error")}return typeof t==="function"?function walk(e,s){var r,i,n=e[s];if(n&&typeof n==="object"){Object.keys(n).forEach((function(e){i=walk(n,e);if(i!==undefined){n[e]=i}else{delete n[e]}}))}return t.call(e,s,n)}({"":s},""):s}};e.exports=json_parse},78574:function(e,t,s){var r=s(87558);var i=e.exports;(function(){"use strict";function f(e){return e<10?"0"+e:e}var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,t=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s,n,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},c;function quote(e){t.lastIndex=0;return t.test(e)?'"'+e.replace(t,(function(e){var t=a[e];return typeof t==="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var i,a,u,o,l=s,p,d=t[e],y=d!=null&&(d instanceof r||r.isBigNumber(d));if(d&&typeof d==="object"&&typeof d.toJSON==="function"){d=d.toJSON(e)}if(typeof c==="function"){d=c.call(t,e,d)}switch(typeof d){case"string":if(y){return d}else{return quote(d)}case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":case"bigint":return String(d);case"object":if(!d){return"null"}s+=n;p=[];if(Object.prototype.toString.apply(d)==="[object Array]"){o=d.length;for(i=0;i<o;i+=1){p[i]=str(i,d)||"null"}u=p.length===0?"[]":s?"[\n"+s+p.join(",\n"+s)+"\n"+l+"]":"["+p.join(",")+"]";s=l;return u}if(c&&typeof c==="object"){o=c.length;for(i=0;i<o;i+=1){if(typeof c[i]==="string"){a=c[i];u=str(a,d);if(u){p.push(quote(a)+(s?": ":":")+u)}}}}else{Object.keys(d).forEach((function(e){var t=str(e,d);if(t){p.push(quote(e)+(s?": ":":")+t)}}))}u=p.length===0?"{}":s?"{\n"+s+p.join(",\n"+s)+"\n"+l+"}":"{"+p.join(",")+"}";s=l;return u}}if(typeof i.stringify!=="function"){i.stringify=function(e,t,r){var i;s="";n="";if(typeof r==="number"){for(i=0;i<r;i+=1){n+=" "}}else if(typeof r==="string"){n=r}c=t;if(t&&typeof t!=="function"&&(typeof t!=="object"||typeof t.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":e})}}})()},47426:function(e,t,s){
|
|
2
2
|
/*!
|
|
3
3
|
* mime-db
|
|
4
4
|
* Copyright(c) 2014 Jonathan Ong
|
|
@@ -11,7 +11,7 @@ e.exports=s(53765)},43583:function(e,t,s){"use strict";
|
|
|
11
11
|
* Copyright(c) 2014 Jonathan Ong
|
|
12
12
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
13
13
|
* MIT Licensed
|
|
14
|
-
*/var r=s(47426);var i=s(71017).extname;var n=/^\s*([^;\s]*)(?:;|\s|$)/;var a=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=n.exec(e);var s=t&&r[t[1].toLowerCase()];if(s&&s.charset){return s.charset}if(t&&a.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var s=e.indexOf("/")===-1?t.lookup(e):e;if(!s){return false}if(s.indexOf("charset")===-1){var r=t.charset(s);if(r)s+="; charset="+r.toLowerCase()}return s}function extension(e){if(!e||typeof e!=="string"){return false}var s=n.exec(e);var r=s&&t.extensions[s[1].toLowerCase()];if(!r||!r.length){return false}return r[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var s=i("x."+e).toLowerCase().substr(1);if(!s){return false}return t.types[s]||false}function populateMaps(e,t){var s=["nginx","apache",undefined,"iana"];Object.keys(r).forEach((function forEachMimeType(i){var n=r[i];var a=n.extensions;if(!a||!a.length){return}e[i]=a;for(var c=0;c<a.length;c++){var u=a[c];if(t[u]){var o=s.indexOf(r[t[u]].source);var l=s.indexOf(n.source);if(t[u]!=="application/octet-stream"&&(o>l||o===l&&t[u].substr(0,12)==="application/")){continue}}t[u]=i}}))}},80467:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var r=_interopDefault(s(12781));var i=_interopDefault(s(13685));var n=_interopDefault(s(57310));var a=_interopDefault(s(73323));var c=_interopDefault(s(95687));var u=_interopDefault(s(59796));const o=r.Readable;const l=Symbol("buffer");const p=Symbol("type");class Blob{constructor(){this[p]="";const e=arguments[0];const t=arguments[1];const s=[];let r=0;if(e){const t=e;const i=Number(t.length);for(let e=0;e<i;e++){const i=t[e];let n;if(i instanceof Buffer){n=i}else if(ArrayBuffer.isView(i)){n=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(i instanceof ArrayBuffer){n=Buffer.from(i)}else if(i instanceof Blob){n=i[l]}else{n=Buffer.from(typeof i==="string"?i:String(i))}r+=n.length;s.push(n)}}this[l]=Buffer.concat(s);let i=t&&t.type!==undefined&&String(t.type).toLowerCase();if(i&&!/[^\u0020-\u007E]/.test(i)){this[p]=i}}get size(){return this[l].length}get type(){return this[p]}text(){return Promise.resolve(this[l].toString())}arrayBuffer(){const e=this[l];const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new o;e._read=function(){};e.push(this[l]);e.push(null);return e}toString(){return"[object Blob]"}slice(){const e=this.size;const t=arguments[0];const s=arguments[1];let r,i;if(t===undefined){r=0}else if(t<0){r=Math.max(e+t,0)}else{r=Math.min(t,e)}if(s===undefined){i=e}else if(s<0){i=Math.max(e+s,0)}else{i=Math.min(s,e)}const n=Math.max(i-r,0);const a=this[l];const c=a.slice(r,r+n);const u=new Blob([],{type:arguments[2]});u[l]=c;return u}}Object.defineProperties(Blob.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});Object.defineProperty(Blob.prototype,Symbol.toStringTag,{value:"Blob",writable:false,enumerable:false,configurable:true});function FetchError(e,t,s){Error.call(this,e);this.message=e;this.type=t;if(s){this.code=this.errno=s.code}Error.captureStackTrace(this,this.constructor)}FetchError.prototype=Object.create(Error.prototype);FetchError.prototype.constructor=FetchError;FetchError.prototype.name="FetchError";let d;try{d=s(28685).O}catch(e){}const y=Symbol("Body internals");const h=r.PassThrough;function Body(e){var t=this;var s=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=s.size;let n=i===undefined?0:i;var a=s.timeout;let c=a===undefined?0:a;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e));else if(Buffer.isBuffer(e));else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof r);else{e=Buffer.from(String(e))}this[y]={body:e,disturbed:false,error:null};this.size=n;this.timeout=c;if(e instanceof r){e.on("error",(function(e){const s=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[y].error=s}))}}Body.prototype={get body(){return this[y].body},get bodyUsed(){return this[y].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[l]:t})}))},json(){var e=this;return consumeBody.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(e){return e.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then((function(t){return convertBody(t,e.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const s=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,s)}}};function consumeBody(){var e=this;if(this[y].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[y].disturbed=true;if(this[y].error){return Body.Promise.reject(this[y].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof r)){return Body.Promise.resolve(Buffer.alloc(0))}let s=[];let i=0;let n=false;return new Body.Promise((function(r,a){let c;if(e.timeout){c=setTimeout((function(){n=true;a(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)}t.on("error",(function(t){if(t.name==="AbortError"){n=true;a(t)}else{a(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}}));t.on("data",(function(t){if(n||t===null){return}if(e.size&&i+t.length>e.size){n=true;a(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=t.length;s.push(t)}));t.on("end",(function(){if(n){return}clearTimeout(c);try{r(Buffer.concat(s,i))}catch(t){a(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}))}))}function convertBody(e,t){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const s=t.get("content-type");let r="utf-8";let i,n;if(s){i=/charset=([^;]*)/i.exec(s)}n=e.slice(0,1024).toString();if(!i&&n){i=/<meta.+?charset=(['"])(.+?)\1/i.exec(n)}if(!i&&n){i=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(n);if(!i){i=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(n);if(i){i.pop()}}if(i){i=/charset=(.*)/i.exec(i.pop())}}if(!i&&n){i=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(n)}if(i){r=i.pop();if(r==="gb2312"||r==="gbk"){r="gb18030"}}return d(e,"UTF-8",r).toString()}function isURLSearchParams(e){if(typeof e!=="object"||typeof e.append!=="function"||typeof e.delete!=="function"||typeof e.get!=="function"||typeof e.getAll!=="function"||typeof e.has!=="function"||typeof e.set!=="function"){return false}return e.constructor.name==="URLSearchParams"||Object.prototype.toString.call(e)==="[object URLSearchParams]"||typeof e.sort==="function"}function isBlob(e){return typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&typeof e.constructor==="function"&&typeof e.constructor.name==="string"&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function clone(e){let t,s;let i=e.body;if(e.bodyUsed){throw new Error("cannot clone body after it is used")}if(i instanceof r&&typeof i.getBoundary!=="function"){t=new h;s=new h;i.pipe(t);i.pipe(s);e[y].body=t;i=s}return i}function extractContentType(e){if(e===null){return null}else if(typeof e==="string"){return"text/plain;charset=UTF-8"}else if(isURLSearchParams(e)){return"application/x-www-form-urlencoded;charset=UTF-8"}else if(isBlob(e)){return e.type||null}else if(Buffer.isBuffer(e)){return null}else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){return null}else if(ArrayBuffer.isView(e)){return null}else if(typeof e.getBoundary==="function"){return`multipart/form-data;boundary=${e.getBoundary()}`}else if(e instanceof r){return null}else{return"text/plain;charset=UTF-8"}}function getTotalBytes(e){const t=e.body;if(t===null){return 0}else if(isBlob(t)){return t.size}else if(Buffer.isBuffer(t)){return t.length}else if(t&&typeof t.getLengthSync==="function"){if(t._lengthRetrievers&&t._lengthRetrievers.length==0||t.hasKnownLength&&t.hasKnownLength()){return t.getLengthSync()}return null}else{return null}}function writeToStream(e,t){const s=t.body;if(s===null){e.end()}else if(isBlob(s)){s.stream().pipe(e)}else if(Buffer.isBuffer(s)){e.write(s);e.end()}else{s.pipe(e)}}Body.Promise=global.Promise;const m=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/;const b=/[^\t\x20-\x7e\x80-\xff]/;function validateName(e){e=`${e}`;if(m.test(e)||e===""){throw new TypeError(`${e} is not a legal HTTP header name`)}}function validateValue(e){e=`${e}`;if(b.test(e)){throw new TypeError(`${e} is not a legal HTTP header value`)}}function find(e,t){t=t.toLowerCase();for(const s in e){if(s.toLowerCase()===t){return s}}return undefined}const D=Symbol("map");class Headers{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:undefined;this[D]=Object.create(null);if(e instanceof Headers){const t=e.raw();const s=Object.keys(t);for(const e of s){for(const s of t[e]){this.append(e,s)}}return}if(e==null);else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const s=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}s.push(Array.from(t))}for(const e of s){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const t of Object.keys(e)){const s=e[t];this.append(t,s)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[D],e);if(t===undefined){return null}return this[D][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let s=getHeaders(this);let r=0;while(r<s.length){var i=s[r];const n=i[0],a=i[1];e.call(t,a,n,this);s=getHeaders(this);r++}}set(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const s=find(this[D],e);this[D][s!==undefined?s:e]=[t]}append(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const s=find(this[D],e);if(s!==undefined){this[D][s].push(t)}else{this[D][e]=[t]}}has(e){e=`${e}`;validateName(e);return find(this[D],e)!==undefined}delete(e){e=`${e}`;validateName(e);const t=find(this[D],e);if(t!==undefined){delete this[D][t]}}raw(){return this[D]}keys(){return createHeadersIterator(this,"key")}values(){return createHeadersIterator(this,"value")}[Symbol.iterator](){return createHeadersIterator(this,"key+value")}}Headers.prototype.entries=Headers.prototype[Symbol.iterator];Object.defineProperty(Headers.prototype,Symbol.toStringTag,{value:"Headers",writable:false,enumerable:false,configurable:true});Object.defineProperties(Headers.prototype,{get:{enumerable:true},forEach:{enumerable:true},set:{enumerable:true},append:{enumerable:true},has:{enumerable:true},delete:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true}});function getHeaders(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"key+value";const s=Object.keys(e[D]).sort();return s.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[D][t].join(", ")}:function(t){return[t.toLowerCase(),e[D][t].join(", ")]})}const q=Symbol("internal");function createHeadersIterator(e,t){const s=Object.create(v);s[q]={target:e,kind:t,index:0};return s}const v=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==v){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[q];const t=e.target,s=e.kind,r=e.index;const i=getHeaders(t,s);const n=i.length;if(r>=n){return{value:undefined,done:true}}this[q].index=r+1;return{value:i[r],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(v,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[D]);const s=find(e[D],"Host");if(s!==undefined){t[s]=t[s][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const s of Object.keys(e)){if(m.test(s)){continue}if(Array.isArray(e[s])){for(const r of e[s]){if(b.test(r)){continue}if(t[D][s]===undefined){t[D][s]=[r]}else{t[D][s].push(r)}}}else if(!b.test(e[s])){t[D][s]=[e[s]]}}return t}const C=Symbol("Response internals");const g=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const s=t.status||200;const r=new Headers(t.headers);if(e!=null&&!r.has("Content-Type")){const t=extractContentType(e);if(t){r.append("Content-Type",t)}}this[C]={url:t.url,status:s,statusText:t.statusText||g[s],headers:r,counter:t.counter}}get url(){return this[C].url||""}get status(){return this[C].status}get ok(){return this[C].status>=200&&this[C].status<300}get redirected(){return this[C].counter>0}get statusText(){return this[C].statusText}get headers(){return this[C].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const S=Symbol("Request internals");const P=n.URL||a.URL;const M=n.parse;const A=n.format;function parseURL(e){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)){e=new P(e).toString()}return M(e)}const R="destroy"in r.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[S]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let s;if(!isRequest(e)){if(e&&e.href){s=parseURL(e.href)}else{s=parseURL(`${e}`)}e={}}else{s=parseURL(e.url)}let r=t.method||e.method||"GET";r=r.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(r==="GET"||r==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const n=new Headers(t.headers||e.headers||{});if(i!=null&&!n.has("Content-Type")){const e=extractContentType(i);if(e){n.append("Content-Type",e)}}let a=isRequest(e)?e.signal:null;if("signal"in t)a=t.signal;if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[S]={method:r,redirect:t.redirect||e.redirect||"follow",headers:n,parsedURL:s,signal:a};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[S].method}get url(){return A(this[S].parsedURL)}get headers(){return this[S].headers}get redirect(){return this[S].redirect}get signal(){return this[S].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const t=e[S].parsedURL;const s=new Headers(e[S].headers);if(!s.has("Accept")){s.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof r.Readable&&!R){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){i=String(t)}}if(i){s.set("Content-Length",i)}if(!s.has("User-Agent")){s.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!s.has("Accept-Encoding")){s.set("Accept-Encoding","gzip,deflate")}let n=e.agent;if(typeof n==="function"){n=n(t)}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(s),agent:n})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const T=n.URL||a.URL;const I=r.PassThrough;const k=function isDomainOrSubdomain(e,t){const s=new T(t).hostname;const r=new T(e).hostname;return s===r||s[s.length-r.length-1]==="."&&s.endsWith(r)};const w=function isSameProtocol(e,t){const s=new T(t).protocol;const r=new T(e).protocol;return s===r};function fetch(e,t){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise((function(s,n){const a=new Request(e,t);const o=getNodeRequestOptions(a);const l=(o.protocol==="https:"?c:i).request;const p=a.signal;let d=null;const y=function abort(){let e=new AbortError("The user aborted a request.");n(e);if(a.body&&a.body instanceof r.Readable){destroyStream(a.body,e)}if(!d||!d.body)return;d.body.emit("error",e)};if(p&&p.aborted){y();return}const h=function abortAndFinalize(){y();finalize()};const m=l(o);let b;if(p){p.addEventListener("abort",h)}function finalize(){m.abort();if(p)p.removeEventListener("abort",h);clearTimeout(b)}if(a.timeout){m.once("socket",(function(e){b=setTimeout((function(){n(new FetchError(`network timeout at: ${a.url}`,"request-timeout"));finalize()}),a.timeout)}))}m.on("error",(function(e){n(new FetchError(`request to ${a.url} failed, reason: ${e.message}`,"system",e));if(d&&d.body){destroyStream(d.body,e)}finalize()}));fixResponseChunkedTransferBadEnding(m,(function(e){if(p&&p.aborted){return}if(d&&d.body){destroyStream(d.body,e)}}));if(parseInt(process.version.substring(1))<14){m.on("socket",(function(e){e.addListener("close",(function(t){const s=e.listenerCount("data")>0;if(d&&s&&!t&&!(p&&p.aborted)){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";d.body.emit("error",e)}}))}))}m.on("response",(function(e){clearTimeout(b);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const r=t.get("Location");let i=null;try{i=r===null?null:new T(r,a.url).toString()}catch(e){if(a.redirect!=="manual"){n(new FetchError(`uri requested responds with an invalid redirect URL: ${r}`,"invalid-redirect"));finalize();return}}switch(a.redirect){case"error":n(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${a.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{t.set("Location",i)}catch(e){n(e)}}break;case"follow":if(i===null){break}if(a.counter>=a.follow){n(new FetchError(`maximum redirect reached at: ${a.url}`,"max-redirect"));finalize();return}const r={headers:new Headers(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!k(a.url,i)||!w(a.url,i)){for(const e of["authorization","www-authenticate","cookie","cookie2"]){r.headers.delete(e)}}if(e.statusCode!==303&&a.body&&getTotalBytes(a)===null){n(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&a.method==="POST"){r.method="GET";r.body=undefined;r.headers.delete("content-length")}s(fetch(new Request(i,r)));finalize();return}}e.once("end",(function(){if(p)p.removeEventListener("abort",h)}));let r=e.pipe(new I);const i={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter};const c=t.get("Content-Encoding");if(!a.compress||a.method==="HEAD"||c===null||e.statusCode===204||e.statusCode===304){d=new Response(r,i);s(d);return}const o={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};if(c=="gzip"||c=="x-gzip"){r=r.pipe(u.createGunzip(o));d=new Response(r,i);s(d);return}if(c=="deflate"||c=="x-deflate"){const t=e.pipe(new I);t.once("data",(function(e){if((e[0]&15)===8){r=r.pipe(u.createInflate())}else{r=r.pipe(u.createInflateRaw())}d=new Response(r,i);s(d)}));t.on("end",(function(){if(!d){d=new Response(r,i);s(d)}}));return}if(c=="br"&&typeof u.createBrotliDecompress==="function"){r=r.pipe(u.createBrotliDecompress());d=new Response(r,i);s(d);return}d=new Response(r,i);s(d)}));writeToStream(m,a)}))}function fixResponseChunkedTransferBadEnding(e,t){let s;e.on("socket",(function(e){s=e}));e.on("response",(function(e){const r=e.headers;if(r["transfer-encoding"]==="chunked"&&!r["content-length"]){e.once("close",(function(e){const r=s&&s.listenerCount("data")>0;if(r&&!e){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";t(e)}}))}}))}function destroyStream(e,t){if(e.destroy){e.destroy(t)}else{e.emit("error",t);e.end()}}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t["default"]=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError;t.AbortError=AbortError},42299:function(e,t,s){"use strict";var r=s(85477);var i=s(1907);var n={TRANSITIONAL:0,NONTRANSITIONAL:1};function normalize(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function findStatus(e){var t=0;var s=i.length-1;while(t<=s){var r=Math.floor((t+s)/2);var n=i[r];if(n[0][0]<=e&&n[0][1]>=e){return n}else if(n[0][0]>e){s=r-1}else{t=r+1}}return null}var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function countSymbols(e){return e.replace(a,"_").length}function mapChars(e,t,s){var r=false;var i="";var a=countSymbols(e);for(var c=0;c<a;++c){var u=e.codePointAt(c);var o=findStatus(u);switch(o[1]){case"disallowed":r=true;i+=String.fromCodePoint(u);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,o[2]);break;case"deviation":if(s===n.TRANSITIONAL){i+=String.fromCodePoint.apply(String,o[2])}else{i+=String.fromCodePoint(u)}break;case"valid":i+=String.fromCodePoint(u);break;case"disallowed_STD3_mapped":if(t){r=true;i+=String.fromCodePoint(u)}else{i+=String.fromCodePoint.apply(String,o[2])}break;case"disallowed_STD3_valid":if(t){r=true}i+=String.fromCodePoint(u);break}}return{string:i,error:r}}var c=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function validateLabel(e,t){if(e.substr(0,4)==="xn--"){e=r.toUnicode(e);t=n.NONTRANSITIONAL}var s=false;if(normalize(e)!==e||e[3]==="-"&&e[4]==="-"||e[0]==="-"||e[e.length-1]==="-"||e.indexOf(".")!==-1||e.search(c)===0){s=true}var i=countSymbols(e);for(var a=0;a<i;++a){var u=findStatus(e.codePointAt(a));if(processing===n.TRANSITIONAL&&u[1]!=="valid"||processing===n.NONTRANSITIONAL&&u[1]!=="valid"&&u[1]!=="deviation"){s=true;break}}return{label:e,error:s}}function processing(e,t,s){var r=mapChars(e,t,s);r.string=normalize(r.string);var i=r.string.split(".");for(var n=0;n<i.length;++n){try{var a=validateLabel(i[n]);i[n]=a.label;r.error=r.error||a.error}catch(e){r.error=true}}return{string:i.join("."),error:r.error}}e.exports.toASCII=function(e,t,s,i){var n=processing(e,t,s);var a=n.string.split(".");a=a.map((function(e){try{return r.toASCII(e)}catch(t){n.error=true;return e}}));if(i){var c=a.slice(0,a.length-1).join(".").length;if(c.length>253||c.length===0){n.error=true}for(var u=0;u<a.length;++u){if(a.length>63||a.length===0){n.error=true;break}}}if(n.error)return null;return a.join(".")};e.exports.toUnicode=function(e,t){var s=processing(e,t,n.NONTRANSITIONAL);return{domain:s.string,error:s.error}};e.exports.PROCESSING_OPTIONS=n},15871:function(e){"use strict";var t={};e.exports=t;function sign(e){return e<0?-1:1}function evenRound(e){if(e%1===.5&&(e&1)===0){return Math.floor(e)}else{return Math.round(e)}}function createNumberConversion(e,t){if(!t.unsigned){--e}const s=t.unsigned?0:-Math.pow(2,e);const r=Math.pow(2,e)-1;const i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e);const n=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,a){if(!a)a={};let c=+e;if(a.enforceRange){if(!Number.isFinite(c)){throw new TypeError("Argument is not a finite number")}c=sign(c)*Math.floor(Math.abs(c));if(c<s||c>r){throw new TypeError("Argument is not in byte range")}return c}if(!isNaN(c)&&a.clamp){c=evenRound(c);if(c<s)c=s;if(c>r)c=r;return c}if(!Number.isFinite(c)||c===0){return 0}c=sign(c)*Math.floor(Math.abs(c));c=c%i;if(!t.unsigned&&c>=n){return c-i}else if(t.unsigned){if(c<0){c+=i}else if(c===-0){return 0}}return c}}t["void"]=function(){return undefined};t["boolean"]=function(e){return!!e};t["byte"]=createNumberConversion(8,{unsigned:false});t["octet"]=createNumberConversion(8,{unsigned:true});t["short"]=createNumberConversion(16,{unsigned:false});t["unsigned short"]=createNumberConversion(16,{unsigned:true});t["long"]=createNumberConversion(32,{unsigned:false});t["unsigned long"]=createNumberConversion(32,{unsigned:true});t["long long"]=createNumberConversion(32,{unsigned:false,moduloBitLength:64});t["unsigned long long"]=createNumberConversion(32,{unsigned:true,moduloBitLength:64});t["double"]=function(e){const t=+e;if(!Number.isFinite(t)){throw new TypeError("Argument is not a finite floating-point value")}return t};t["unrestricted double"]=function(e){const t=+e;if(isNaN(t)){throw new TypeError("Argument is NaN")}return t};t["float"]=t["double"];t["unrestricted float"]=t["unrestricted double"];t["DOMString"]=function(e,t){if(!t)t={};if(t.treatNullAsEmptyString&&e===null){return""}return String(e)};t["ByteString"]=function(e,t){const s=String(e);let r=undefined;for(let e=0;(r=s.codePointAt(e))!==undefined;++e){if(r>255){throw new TypeError("Argument is not a valid bytestring")}}return s};t["USVString"]=function(e){const t=String(e);const s=t.length;const r=[];for(let e=0;e<s;++e){const i=t.charCodeAt(e);if(i<55296||i>57343){r.push(String.fromCodePoint(i))}else if(56320<=i&&i<=57343){r.push(String.fromCodePoint(65533))}else{if(e===s-1){r.push(String.fromCodePoint(65533))}else{const s=t.charCodeAt(e+1);if(56320<=s&&s<=57343){const t=i&1023;const n=s&1023;r.push(String.fromCodePoint((2<<15)+(2<<9)*t+n));++e}else{r.push(String.fromCodePoint(65533))}}}}return r.join("")};t["Date"]=function(e,t){if(!(e instanceof Date)){throw new TypeError("Argument is not a Date object")}if(isNaN(e)){return undefined}return e};t["RegExp"]=function(e,t){if(!(e instanceof RegExp)){e=new RegExp(e)}return e}},58262:function(e,t,s){"use strict";const r=s(40033);t.implementation=class URLImpl{constructor(e){const t=e[0];const s=e[1];let i=null;if(s!==undefined){i=r.basicURLParse(s);if(i==="failure"){throw new TypeError("Invalid base URL")}}const n=r.basicURLParse(t,{baseURL:i});if(n==="failure"){throw new TypeError("Invalid URL")}this._url=n}get href(){return r.serializeURL(this._url)}set href(e){const t=r.basicURLParse(e);if(t==="failure"){throw new TypeError("Invalid URL")}this._url=t}get origin(){return r.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){r.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}r.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}r.setThePassword(this._url,e)}get host(){const e=this._url;if(e.host===null){return""}if(e.port===null){return r.serializeHost(e.host)}return r.serializeHost(e.host)+":"+r.serializeInteger(e.port)}set host(e){if(this._url.cannotBeABaseURL){return}r.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){if(this._url.host===null){return""}return r.serializeHost(this._url.host)}set hostname(e){if(this._url.cannotBeABaseURL){return}r.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){if(this._url.port===null){return""}return r.serializeInteger(this._url.port)}set port(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}if(e===""){this._url.port=null}else{r.basicURLParse(e,{url:this._url,stateOverride:"port"})}}get pathname(){if(this._url.cannotBeABaseURL){return this._url.path[0]}if(this._url.path.length===0){return""}return"/"+this._url.path.join("/")}set pathname(e){if(this._url.cannotBeABaseURL){return}this._url.path=[];r.basicURLParse(e,{url:this._url,stateOverride:"path start"})}get search(){if(this._url.query===null||this._url.query===""){return""}return"?"+this._url.query}set search(e){const t=this._url;if(e===""){t.query=null;return}const s=e[0]==="?"?e.substring(1):e;t.query="";r.basicURLParse(s,{url:t,stateOverride:"query"})}get hash(){if(this._url.fragment===null||this._url.fragment===""){return""}return"#"+this._url.fragment}set hash(e){if(e===""){this._url.fragment=null;return}const t=e[0]==="#"?e.substring(1):e;this._url.fragment="";r.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},80653:function(e,t,s){"use strict";const r=s(15871);const i=s(60276);const n=s(58262);const a=i.implSymbol;function URL(t){if(!this||this[a]||!(this instanceof URL)){throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.")}if(arguments.length<1){throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.")}const s=[];for(let e=0;e<arguments.length&&e<2;++e){s[e]=arguments[e]}s[0]=r["USVString"](s[0]);if(s[1]!==undefined){s[1]=r["USVString"](s[1])}e.exports.setup(this,s)}URL.prototype.toJSON=function toJSON(){if(!this||!e.exports.is(this)){throw new TypeError("Illegal invocation")}const t=[];for(let e=0;e<arguments.length&&e<0;++e){t[e]=arguments[e]}return this[a].toJSON.apply(this[a],t)};Object.defineProperty(URL.prototype,"href",{get(){return this[a].href},set(e){e=r["USVString"](e);this[a].href=e},enumerable:true,configurable:true});URL.prototype.toString=function(){if(!this||!e.exports.is(this)){throw new TypeError("Illegal invocation")}return this.href};Object.defineProperty(URL.prototype,"origin",{get(){return this[a].origin},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"protocol",{get(){return this[a].protocol},set(e){e=r["USVString"](e);this[a].protocol=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"username",{get(){return this[a].username},set(e){e=r["USVString"](e);this[a].username=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"password",{get(){return this[a].password},set(e){e=r["USVString"](e);this[a].password=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"host",{get(){return this[a].host},set(e){e=r["USVString"](e);this[a].host=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"hostname",{get(){return this[a].hostname},set(e){e=r["USVString"](e);this[a].hostname=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"port",{get(){return this[a].port},set(e){e=r["USVString"](e);this[a].port=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"pathname",{get(){return this[a].pathname},set(e){e=r["USVString"](e);this[a].pathname=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"search",{get(){return this[a].search},set(e){e=r["USVString"](e);this[a].search=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"hash",{get(){return this[a].hash},set(e){e=r["USVString"](e);this[a].hash=e},enumerable:true,configurable:true});e.exports={is(e){return!!e&&e[a]instanceof n.implementation},create(e,t){let s=Object.create(URL.prototype);this.setup(s,e,t);return s},setup(e,t,s){if(!s)s={};s.wrapper=e;e[a]=new n.implementation(t,s);e[a][i.wrapperSymbol]=e},interface:URL,expose:{Window:{URL:URL},Worker:{URL:URL}}}},73323:function(e,t,s){"use strict";t.URL=s(80653)["interface"];t.serializeURL=s(40033).serializeURL;t.serializeURLOrigin=s(40033).serializeURLOrigin;t.basicURLParse=s(40033).basicURLParse;t.setTheUsername=s(40033).setTheUsername;t.setThePassword=s(40033).setThePassword;t.serializeHost=s(40033).serializeHost;t.serializeInteger=s(40033).serializeInteger;t.parseURL=s(40033).parseURL},40033:function(e,t,s){"use strict";const r=s(85477);const i=s(42299);const n={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443};const a=Symbol("failure");function countSymbols(e){return r.ucs2.decode(e).length}function at(e,t){const s=e[t];return isNaN(s)?undefined:String.fromCodePoint(s)}function isASCIIDigit(e){return e>=48&&e<=57}function isASCIIAlpha(e){return e>=65&&e<=90||e>=97&&e<=122}function isASCIIAlphanumeric(e){return isASCIIAlpha(e)||isASCIIDigit(e)}function isASCIIHex(e){return isASCIIDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isSingleDot(e){return e==="."||e.toLowerCase()==="%2e"}function isDoubleDot(e){e=e.toLowerCase();return e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"}function isWindowsDriveLetterCodePoints(e,t){return isASCIIAlpha(e)&&(t===58||t===124)}function isWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&(e[1]===":"||e[1]==="|")}function isNormalizedWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&e[1]===":"}function containsForbiddenHostCodePoint(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function containsForbiddenHostCodePointExcludingPercent(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function isSpecialScheme(e){return n[e]!==undefined}function isSpecial(e){return isSpecialScheme(e.scheme)}function defaultPort(e){return n[e]}function percentEncode(e){let t=e.toString(16).toUpperCase();if(t.length===1){t="0"+t}return"%"+t}function utf8PercentEncode(e){const t=new Buffer(e);let s="";for(let e=0;e<t.length;++e){s+=percentEncode(t[e])}return s}function utf8PercentDecode(e){const t=new Buffer(e);const s=[];for(let e=0;e<t.length;++e){if(t[e]!==37){s.push(t[e])}else if(t[e]===37&&isASCIIHex(t[e+1])&&isASCIIHex(t[e+2])){s.push(parseInt(t.slice(e+1,e+3).toString(),16));e+=2}else{s.push(t[e])}}return new Buffer(s).toString()}function isC0ControlPercentEncode(e){return e<=31||e>126}const c=new Set([32,34,35,60,62,63,96,123,125]);function isPathPercentEncode(e){return isC0ControlPercentEncode(e)||c.has(e)}const u=new Set([47,58,59,61,64,91,92,93,94,124]);function isUserinfoPercentEncode(e){return isPathPercentEncode(e)||u.has(e)}function percentEncodeChar(e,t){const s=String.fromCodePoint(e);if(t(e)){return utf8PercentEncode(s)}return s}function parseIPv4Number(e){let t=10;if(e.length>=2&&e.charAt(0)==="0"&&e.charAt(1).toLowerCase()==="x"){e=e.substring(2);t=16}else if(e.length>=2&&e.charAt(0)==="0"){e=e.substring(1);t=8}if(e===""){return 0}const s=t===10?/[^0-9]/:t===16?/[^0-9A-Fa-f]/:/[^0-7]/;if(s.test(e)){return a}return parseInt(e,t)}function parseIPv4(e){const t=e.split(".");if(t[t.length-1]===""){if(t.length>1){t.pop()}}if(t.length>4){return e}const s=[];for(const r of t){if(r===""){return e}const t=parseIPv4Number(r);if(t===a){return e}s.push(t)}for(let e=0;e<s.length-1;++e){if(s[e]>255){return a}}if(s[s.length-1]>=Math.pow(256,5-s.length)){return a}let r=s.pop();let i=0;for(const e of s){r+=e*Math.pow(256,3-i);++i}return r}function serializeIPv4(e){let t="";let s=e;for(let e=1;e<=4;++e){t=String(s%256)+t;if(e!==4){t="."+t}s=Math.floor(s/256)}return t}function parseIPv6(e){const t=[0,0,0,0,0,0,0,0];let s=0;let i=null;let n=0;e=r.ucs2.decode(e);if(e[n]===58){if(e[n+1]!==58){return a}n+=2;++s;i=s}while(n<e.length){if(s===8){return a}if(e[n]===58){if(i!==null){return a}++n;++s;i=s;continue}let r=0;let c=0;while(c<4&&isASCIIHex(e[n])){r=r*16+parseInt(at(e,n),16);++n;++c}if(e[n]===46){if(c===0){return a}n-=c;if(s>6){return a}let r=0;while(e[n]!==undefined){let i=null;if(r>0){if(e[n]===46&&r<4){++n}else{return a}}if(!isASCIIDigit(e[n])){return a}while(isASCIIDigit(e[n])){const t=parseInt(at(e,n));if(i===null){i=t}else if(i===0){return a}else{i=i*10+t}if(i>255){return a}++n}t[s]=t[s]*256+i;++r;if(r===2||r===4){++s}}if(r!==4){return a}break}else if(e[n]===58){++n;if(e[n]===undefined){return a}}else if(e[n]!==undefined){return a}t[s]=r;++s}if(i!==null){let e=s-i;s=7;while(s!==0&&e>0){const r=t[i+e-1];t[i+e-1]=t[s];t[s]=r;--s;--e}}else if(i===null&&s!==8){return a}return t}function serializeIPv6(e){let t="";const s=findLongestZeroSequence(e);const r=s.idx;let i=false;for(let s=0;s<=7;++s){if(i&&e[s]===0){continue}else if(i){i=false}if(r===s){const e=s===0?"::":":";t+=e;i=true;continue}t+=e[s].toString(16);if(s!==7){t+=":"}}return t}function parseHost(e,t){if(e[0]==="["){if(e[e.length-1]!=="]"){return a}return parseIPv6(e.substring(1,e.length-1))}if(!t){return parseOpaqueHost(e)}const s=utf8PercentDecode(e);const r=i.toASCII(s,false,i.PROCESSING_OPTIONS.NONTRANSITIONAL,false);if(r===null){return a}if(containsForbiddenHostCodePoint(r)){return a}const n=parseIPv4(r);if(typeof n==="number"||n===a){return n}return r}function parseOpaqueHost(e){if(containsForbiddenHostCodePointExcludingPercent(e)){return a}let t="";const s=r.ucs2.decode(e);for(let e=0;e<s.length;++e){t+=percentEncodeChar(s[e],isC0ControlPercentEncode)}return t}function findLongestZeroSequence(e){let t=null;let s=1;let r=null;let i=0;for(let n=0;n<e.length;++n){if(e[n]!==0){if(i>s){t=r;s=i}r=null;i=0}else{if(r===null){r=n}++i}}if(i>s){t=r;s=i}return{idx:t,len:s}}function serializeHost(e){if(typeof e==="number"){return serializeIPv4(e)}if(e instanceof Array){return"["+serializeIPv6(e)+"]"}return e}function trimControlChars(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function trimTabAndNewline(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}function shortenPath(e){const t=e.path;if(t.length===0){return}if(e.scheme==="file"&&t.length===1&&isNormalizedWindowsDriveLetter(t[0])){return}t.pop()}function includesCredentials(e){return e.username!==""||e.password!==""}function cannotHaveAUsernamePasswordPort(e){return e.host===null||e.host===""||e.cannotBeABaseURL||e.scheme==="file"}function isNormalizedWindowsDriveLetter(e){return/^[A-Za-z]:$/.test(e)}function URLStateMachine(e,t,s,i,n){this.pointer=0;this.input=e;this.base=t||null;this.encodingOverride=s||"utf-8";this.stateOverride=n;this.url=i;this.failure=false;this.parseError=false;if(!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:false};const e=trimControlChars(this.input);if(e!==this.input){this.parseError=true}this.input=e}const c=trimTabAndNewline(this.input);if(c!==this.input){this.parseError=true}this.input=c;this.state=n||"scheme start";this.buffer="";this.atFlag=false;this.arrFlag=false;this.passwordTokenSeenFlag=false;this.input=r.ucs2.decode(this.input);for(;this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer];const t=isNaN(e)?undefined:String.fromCodePoint(e);const s=this["parse "+this.state](e,t);if(!s){break}else if(s===a){this.failure=true;break}}}URLStateMachine.prototype["parse scheme start"]=function parseSchemeStart(e,t){if(isASCIIAlpha(e)){this.buffer+=t.toLowerCase();this.state="scheme"}else if(!this.stateOverride){this.state="no scheme";--this.pointer}else{this.parseError=true;return a}return true};URLStateMachine.prototype["parse scheme"]=function parseScheme(e,t){if(isASCIIAlphanumeric(e)||e===43||e===45||e===46){this.buffer+=t.toLowerCase()}else if(e===58){if(this.stateOverride){if(isSpecial(this.url)&&!isSpecialScheme(this.buffer)){return false}if(!isSpecial(this.url)&&isSpecialScheme(this.buffer)){return false}if((includesCredentials(this.url)||this.url.port!==null)&&this.buffer==="file"){return false}if(this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)){return false}}this.url.scheme=this.buffer;this.buffer="";if(this.stateOverride){return false}if(this.url.scheme==="file"){if(this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47){this.parseError=true}this.state="file"}else if(isSpecial(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme){this.state="special relative or authority"}else if(isSpecial(this.url)){this.state="special authority slashes"}else if(this.input[this.pointer+1]===47){this.state="path or authority";++this.pointer}else{this.url.cannotBeABaseURL=true;this.url.path.push("");this.state="cannot-be-a-base-URL path"}}else if(!this.stateOverride){this.buffer="";this.state="no scheme";this.pointer=-1}else{this.parseError=true;return a}return true};URLStateMachine.prototype["parse no scheme"]=function parseNoScheme(e){if(this.base===null||this.base.cannotBeABaseURL&&e!==35){return a}else if(this.base.cannotBeABaseURL&&e===35){this.url.scheme=this.base.scheme;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.url.cannotBeABaseURL=true;this.state="fragment"}else if(this.base.scheme==="file"){this.state="file";--this.pointer}else{this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse special relative or authority"]=function parseSpecialRelativeOrAuthority(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse path or authority"]=function parsePathOrAuthority(e){if(e===47){this.state="authority"}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative"]=function parseRelative(e){this.url.scheme=this.base.scheme;if(isNaN(e)){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===47){this.state="relative slash"}else if(e===63){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else if(isSpecial(this.url)&&e===92){this.parseError=true;this.state="relative slash"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice(0,this.base.path.length-1);this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative slash"]=function parseRelativeSlash(e){if(isSpecial(this.url)&&(e===47||e===92)){if(e===92){this.parseError=true}this.state="special authority ignore slashes"}else if(e===47){this.state="authority"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse special authority slashes"]=function parseSpecialAuthoritySlashes(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="special authority ignore slashes";--this.pointer}return true};URLStateMachine.prototype["parse special authority ignore slashes"]=function parseSpecialAuthorityIgnoreSlashes(e){if(e!==47&&e!==92){this.state="authority";--this.pointer}else{this.parseError=true}return true};URLStateMachine.prototype["parse authority"]=function parseAuthority(e,t){if(e===64){this.parseError=true;if(this.atFlag){this.buffer="%40"+this.buffer}this.atFlag=true;const e=countSymbols(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(e===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=true;continue}const s=percentEncodeChar(e,isUserinfoPercentEncode);if(this.passwordTokenSeenFlag){this.url.password+=s}else{this.url.username+=s}}this.buffer=""}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92){if(this.atFlag&&this.buffer===""){this.parseError=true;return a}this.pointer-=countSymbols(this.buffer)+1;this.buffer="";this.state="host"}else{this.buffer+=t}return true};URLStateMachine.prototype["parse hostname"]=URLStateMachine.prototype["parse host"]=function parseHostName(e,t){if(this.stateOverride&&this.url.scheme==="file"){--this.pointer;this.state="file host"}else if(e===58&&!this.arrFlag){if(this.buffer===""){this.parseError=true;return a}const e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}this.url.host=e;this.buffer="";this.state="port";if(this.stateOverride==="hostname"){return false}}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92){--this.pointer;if(isSpecial(this.url)&&this.buffer===""){this.parseError=true;return a}else if(this.stateOverride&&this.buffer===""&&(includesCredentials(this.url)||this.url.port!==null)){this.parseError=true;return false}const e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}this.url.host=e;this.buffer="";this.state="path start";if(this.stateOverride){return false}}else{if(e===91){this.arrFlag=true}else if(e===93){this.arrFlag=false}this.buffer+=t}return true};URLStateMachine.prototype["parse port"]=function parsePort(e,t){if(isASCIIDigit(e)){this.buffer+=t}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92||this.stateOverride){if(this.buffer!==""){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1){this.parseError=true;return a}this.url.port=e===defaultPort(this.url.scheme)?null:e;this.buffer=""}if(this.stateOverride){return false}this.state="path start";--this.pointer}else{this.parseError=true;return a}return true};const o=new Set([47,92,63,35]);URLStateMachine.prototype["parse file"]=function parseFile(e){this.url.scheme="file";if(e===47||e===92){if(e===92){this.parseError=true}this.state="file slash"}else if(this.base!==null&&this.base.scheme==="file"){if(isNaN(e)){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===63){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else{if(this.input.length-this.pointer-1===0||!isWindowsDriveLetterCodePoints(e,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!o.has(this.input[this.pointer+2])){this.url.host=this.base.host;this.url.path=this.base.path.slice();shortenPath(this.url)}else{this.parseError=true}this.state="path";--this.pointer}}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file slash"]=function parseFileSlash(e){if(e===47||e===92){if(e===92){this.parseError=true}this.state="file host"}else{if(this.base!==null&&this.base.scheme==="file"){if(isNormalizedWindowsDriveLetterString(this.base.path[0])){this.url.path.push(this.base.path[0])}else{this.url.host=this.base.host}}this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file host"]=function parseFileHost(e,t){if(isNaN(e)||e===47||e===92||e===63||e===35){--this.pointer;if(!this.stateOverride&&isWindowsDriveLetterString(this.buffer)){this.parseError=true;this.state="path"}else if(this.buffer===""){this.url.host="";if(this.stateOverride){return false}this.state="path start"}else{let e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}if(e==="localhost"){e=""}this.url.host=e;if(this.stateOverride){return false}this.buffer="";this.state="path start"}}else{this.buffer+=t}return true};URLStateMachine.prototype["parse path start"]=function parsePathStart(e){if(isSpecial(this.url)){if(e===92){this.parseError=true}this.state="path";if(e!==47&&e!==92){--this.pointer}}else if(!this.stateOverride&&e===63){this.url.query="";this.state="query"}else if(!this.stateOverride&&e===35){this.url.fragment="";this.state="fragment"}else if(e!==undefined){this.state="path";if(e!==47){--this.pointer}}return true};URLStateMachine.prototype["parse path"]=function parsePath(e){if(isNaN(e)||e===47||isSpecial(this.url)&&e===92||!this.stateOverride&&(e===63||e===35)){if(isSpecial(this.url)&&e===92){this.parseError=true}if(isDoubleDot(this.buffer)){shortenPath(this.url);if(e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}}else if(isSingleDot(this.buffer)&&e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}else if(!isSingleDot(this.buffer)){if(this.url.scheme==="file"&&this.url.path.length===0&&isWindowsDriveLetterString(this.buffer)){if(this.url.host!==""&&this.url.host!==null){this.parseError=true;this.url.host=""}this.buffer=this.buffer[0]+":"}this.url.path.push(this.buffer)}this.buffer="";if(this.url.scheme==="file"&&(e===undefined||e===63||e===35)){while(this.url.path.length>1&&this.url.path[0]===""){this.parseError=true;this.url.path.shift()}}if(e===63){this.url.query="";this.state="query"}if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=percentEncodeChar(e,isPathPercentEncode)}return true};URLStateMachine.prototype["parse cannot-be-a-base-URL path"]=function parseCannotBeABaseURLPath(e){if(e===63){this.url.query="";this.state="query"}else if(e===35){this.url.fragment="";this.state="fragment"}else{if(!isNaN(e)&&e!==37){this.parseError=true}if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}if(!isNaN(e)){this.url.path[0]=this.url.path[0]+percentEncodeChar(e,isC0ControlPercentEncode)}}return true};URLStateMachine.prototype["parse query"]=function parseQuery(e,t){if(isNaN(e)||!this.stateOverride&&e===35){if(!isSpecial(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss"){this.encodingOverride="utf-8"}const t=new Buffer(this.buffer);for(let e=0;e<t.length;++e){if(t[e]<33||t[e]>126||t[e]===34||t[e]===35||t[e]===60||t[e]===62){this.url.query+=percentEncode(t[e])}else{this.url.query+=String.fromCodePoint(t[e])}}this.buffer="";if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=t}return true};URLStateMachine.prototype["parse fragment"]=function parseFragment(e){if(isNaN(e)){}else if(e===0){this.parseError=true}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.url.fragment+=percentEncodeChar(e,isC0ControlPercentEncode)}return true};function serializeURL(e,t){let s=e.scheme+":";if(e.host!==null){s+="//";if(e.username!==""||e.password!==""){s+=e.username;if(e.password!==""){s+=":"+e.password}s+="@"}s+=serializeHost(e.host);if(e.port!==null){s+=":"+e.port}}else if(e.host===null&&e.scheme==="file"){s+="//"}if(e.cannotBeABaseURL){s+=e.path[0]}else{for(const t of e.path){s+="/"+t}}if(e.query!==null){s+="?"+e.query}if(!t&&e.fragment!==null){s+="#"+e.fragment}return s}function serializeOrigin(e){let t=e.scheme+"://";t+=serializeHost(e.host);if(e.port!==null){t+=":"+e.port}return t}e.exports.serializeURL=serializeURL;e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return serializeOrigin({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}};e.exports.basicURLParse=function(e,t){if(t===undefined){t={}}const s=new URLStateMachine(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);if(s.failure){return"failure"}return s.url};e.exports.setTheUsername=function(e,t){e.username="";const s=r.ucs2.decode(t);for(let t=0;t<s.length;++t){e.username+=percentEncodeChar(s[t],isUserinfoPercentEncode)}};e.exports.setThePassword=function(e,t){e.password="";const s=r.ucs2.decode(t);for(let t=0;t<s.length;++t){e.password+=percentEncodeChar(s[t],isUserinfoPercentEncode)}};e.exports.serializeHost=serializeHost;e.exports.cannotHaveAUsernamePasswordPort=cannotHaveAUsernamePasswordPort;e.exports.serializeInteger=function(e){return String(e)};e.exports.parseURL=function(t,s){if(s===undefined){s={}}return e.exports.basicURLParse(t,{baseURL:s.baseURL,encodingOverride:s.encodingOverride})}},60276:function(e){"use strict";e.exports.mixin=function mixin(e,t){const s=Object.getOwnPropertyNames(t);for(let r=0;r<s.length;++r){Object.defineProperty(e,s[r],Object.getOwnPropertyDescriptor(t,s[r]))}};e.exports.wrapperSymbol=Symbol("wrapper");e.exports.implSymbol=Symbol("impl");e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]};e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},15118:function(e,t,s){"use strict";var r=s(14300);var i=r.Buffer;var n={};var a;for(a in r){if(!r.hasOwnProperty(a))continue;if(a==="SlowBuffer"||a==="Buffer")continue;n[a]=r[a]}var c=n.Buffer={};for(a in i){if(!i.hasOwnProperty(a))continue;if(a==="allocUnsafe"||a==="allocUnsafeSlow")continue;c[a]=i[a]}n.Buffer.prototype=i.prototype;if(!c.from||c.from===Uint8Array.from){c.from=function(e,t,s){if(typeof e==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e)}if(e&&typeof e.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}return i(e,t,s)}}if(!c.alloc){c.alloc=function(e,t,s){if(typeof e!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof e)}if(e<0||e>=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var r=i(e);if(!t||t.length===0){r.fill(0)}else if(typeof s==="string"){r.fill(t,s)}else{r.fill(t)}return r}}if(!n.kStringMaxLength){try{n.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!n.constants){n.constants={MAX_LENGTH:n.kMaxLength};if(n.kStringMaxLength){n.constants.MAX_STRING_LENGTH=n.kStringMaxLength}}e.exports=n},59318:function(e,t,s){"use strict";const r=s(22037);const i=s(31621);const n=process.env;let a;if(i("no-color")||i("no-colors")||i("color=false")){a=false}else if(i("color")||i("colors")||i("color=true")||i("color=always")){a=true}if("FORCE_COLOR"in n){a=n.FORCE_COLOR.length===0||parseInt(n.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(a===false){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&a!==true){return 0}const t=a?1:0;if(process.platform==="win32"){const e=r.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in n){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||n.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in n){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0}if(n.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(n.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)){return 1}if("COLORTERM"in n){return 1}if(n.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},36087:function(e,t,s){var r=s(85443);var i=s(73837);var n=s(71017);var a=s(13685);var c=s(95687);var u=s(57310).parse;var o=s(57147);var l=s(43583);var p=s(14812);var d=s(83033);e.exports=FormData;i.inherits(FormData,r);function FormData(e){if(!(this instanceof FormData)){return new FormData(e)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];r.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,s){s=s||{};if(typeof s=="string"){s={filename:s}}var n=r.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(i.isArray(t)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(e,t,s);var c=this._multiPartFooter();n(a);n(t);n(c);this._trackLength(a,t,s)};FormData.prototype._trackLength=function(e,t,s){var r=0;if(s.knownLength!=null){r+=+s.knownLength}else if(Buffer.isBuffer(t)){r=t.length}else if(typeof t==="string"){r=Buffer.byteLength(t)}this._valueLength+=r;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))){return}if(!s.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{o.stat(e.path,(function(s,r){var i;if(s){t(s);return}i=r.size-(e.start?e.start:0);t(null,i)}))}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",(function(s){e.pause();t(null,+s.headers["content-length"])}));e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,s){if(typeof s.header=="string"){return s.header}var r=this._getContentDisposition(t,s);var i=this._getContentType(t,s);var n="";var a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};if(typeof s.header=="object"){d(a,s.header)}var c;for(var u in a){if(!a.hasOwnProperty(u))continue;c=a[u];if(c==null){continue}if(!Array.isArray(c)){c=[c]}if(c.length){n+=u+": "+c.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+n+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var s,r;if(typeof t.filepath==="string"){s=n.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){s=n.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){s=n.basename(e.client._httpMessage.path||"")}if(s){r='filename="'+s+'"'}return r};FormData.prototype._getContentType=function(e,t){var s=t.contentType;if(!s&&e.name){s=l.lookup(e.name)}if(!s&&e.path){s=l.lookup(e.path)}if(!s&&e.readable&&e.hasOwnProperty("httpVersion")){s=e.headers["content-type"]}if(!s&&(t.filepath||t.filename)){s=l.lookup(t.filepath||t.filename)}if(!s&&typeof e=="object"){s=FormData.DEFAULT_CONTENT_TYPE}return s};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var s=this._streams.length===0;if(s){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var s={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){s[t.toLowerCase()]=e[t]}}return s};FormData.prototype.setBoundary=function(e){this._boundary=e};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var e=new Buffer.alloc(0);var t=this.getBoundary();for(var s=0,r=this._streams.length;s<r;s++){if(typeof this._streams[s]!=="function"){if(Buffer.isBuffer(this._streams[s])){e=Buffer.concat([e,this._streams[s]])}else{e=Buffer.concat([e,Buffer.from(this._streams[s])])}if(typeof this._streams[s]!=="string"||this._streams[s].substring(2,t.length+2)!==t){e=Buffer.concat([e,Buffer.from(FormData.LINE_BREAK)])}}}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};FormData.prototype._generateBoundary=function(){var e="--------------------------";for(var t=0;t<24;t++){e+=Math.floor(Math.random()*10).toString(16)}this._boundary=e};FormData.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length){e+=this._lastBoundary().length}if(!this.hasKnownLength()){this._error(new Error("Cannot calculate proper length in synchronous way."))}return e};FormData.prototype.hasKnownLength=function(){var e=true;if(this._valuesToMeasure.length){e=false}return e};FormData.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length){t+=this._lastBoundary().length}if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}p.parallel(this._valuesToMeasure,this._lengthRetriever,(function(s,r){if(s){e(s);return}r.forEach((function(e){t+=e}));e(null,t)}))};FormData.prototype.submit=function(e,t){var s,r,i={method:"post"};if(typeof e=="string"){e=u(e);r=d({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)}else{r=d(e,i);if(!r.port){r.port=r.protocol=="https:"?443:80}}r.headers=this.getHeaders(e.headers);if(r.protocol=="https:"){s=c.request(r)}else{s=a.request(r)}this.getLength(function(e,r){if(e){this._error(e);return}s.setHeader("Content-Length",r);this.pipe(s);if(t){var i;var callback=function(e,r){s.removeListener("error",callback);s.removeListener("response",i);return t.call(this,e,r)};i=callback.bind(this,null);s.on("error",callback);s.on("response",i)}}.bind(this));return s};FormData.prototype._error=function(e){if(!this.error){this.error=e;this.pause();this.emit("error",e)}};FormData.prototype.toString=function(){return"[object FormData]"}},83033:function(e){e.exports=function(e,t){Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]}));return e}},6689:function(e){"use strict";const isStream=e=>e!==null&&typeof e==="object"&&typeof e.pipe==="function";isStream.writable=e=>isStream(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object";isStream.readable=e=>isStream(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object";isStream.duplex=e=>isStream.writable(e)&&isStream.readable(e);isStream.transform=e=>isStream.duplex(e)&&typeof e._transform==="function";e.exports=isStream},96814:function(e){
|
|
14
|
+
*/var r=s(47426);var i=s(71017).extname;var n=/^\s*([^;\s]*)(?:;|\s|$)/;var a=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=n.exec(e);var s=t&&r[t[1].toLowerCase()];if(s&&s.charset){return s.charset}if(t&&a.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var s=e.indexOf("/")===-1?t.lookup(e):e;if(!s){return false}if(s.indexOf("charset")===-1){var r=t.charset(s);if(r)s+="; charset="+r.toLowerCase()}return s}function extension(e){if(!e||typeof e!=="string"){return false}var s=n.exec(e);var r=s&&t.extensions[s[1].toLowerCase()];if(!r||!r.length){return false}return r[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var s=i("x."+e).toLowerCase().substr(1);if(!s){return false}return t.types[s]||false}function populateMaps(e,t){var s=["nginx","apache",undefined,"iana"];Object.keys(r).forEach((function forEachMimeType(i){var n=r[i];var a=n.extensions;if(!a||!a.length){return}e[i]=a;for(var c=0;c<a.length;c++){var u=a[c];if(t[u]){var o=s.indexOf(r[t[u]].source);var l=s.indexOf(n.source);if(t[u]!=="application/octet-stream"&&(o>l||o===l&&t[u].substr(0,12)==="application/")){continue}}t[u]=i}}))}},80467:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var r=_interopDefault(s(12781));var i=_interopDefault(s(13685));var n=_interopDefault(s(57310));var a=_interopDefault(s(73323));var c=_interopDefault(s(95687));var u=_interopDefault(s(59796));const o=r.Readable;const l=Symbol("buffer");const p=Symbol("type");class Blob{constructor(){this[p]="";const e=arguments[0];const t=arguments[1];const s=[];let r=0;if(e){const t=e;const i=Number(t.length);for(let e=0;e<i;e++){const i=t[e];let n;if(i instanceof Buffer){n=i}else if(ArrayBuffer.isView(i)){n=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(i instanceof ArrayBuffer){n=Buffer.from(i)}else if(i instanceof Blob){n=i[l]}else{n=Buffer.from(typeof i==="string"?i:String(i))}r+=n.length;s.push(n)}}this[l]=Buffer.concat(s);let i=t&&t.type!==undefined&&String(t.type).toLowerCase();if(i&&!/[^\u0020-\u007E]/.test(i)){this[p]=i}}get size(){return this[l].length}get type(){return this[p]}text(){return Promise.resolve(this[l].toString())}arrayBuffer(){const e=this[l];const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new o;e._read=function(){};e.push(this[l]);e.push(null);return e}toString(){return"[object Blob]"}slice(){const e=this.size;const t=arguments[0];const s=arguments[1];let r,i;if(t===undefined){r=0}else if(t<0){r=Math.max(e+t,0)}else{r=Math.min(t,e)}if(s===undefined){i=e}else if(s<0){i=Math.max(e+s,0)}else{i=Math.min(s,e)}const n=Math.max(i-r,0);const a=this[l];const c=a.slice(r,r+n);const u=new Blob([],{type:arguments[2]});u[l]=c;return u}}Object.defineProperties(Blob.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});Object.defineProperty(Blob.prototype,Symbol.toStringTag,{value:"Blob",writable:false,enumerable:false,configurable:true});function FetchError(e,t,s){Error.call(this,e);this.message=e;this.type=t;if(s){this.code=this.errno=s.code}Error.captureStackTrace(this,this.constructor)}FetchError.prototype=Object.create(Error.prototype);FetchError.prototype.constructor=FetchError;FetchError.prototype.name="FetchError";let d;try{d=s(28685).O}catch(e){}const y=Symbol("Body internals");const h=r.PassThrough;function Body(e){var t=this;var s=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=s.size;let n=i===undefined?0:i;var a=s.timeout;let c=a===undefined?0:a;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e));else if(Buffer.isBuffer(e));else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof r);else{e=Buffer.from(String(e))}this[y]={body:e,disturbed:false,error:null};this.size=n;this.timeout=c;if(e instanceof r){e.on("error",(function(e){const s=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[y].error=s}))}}Body.prototype={get body(){return this[y].body},get bodyUsed(){return this[y].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[l]:t})}))},json(){var e=this;return consumeBody.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(e){return e.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then((function(t){return convertBody(t,e.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const s=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,s)}}};function consumeBody(){var e=this;if(this[y].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[y].disturbed=true;if(this[y].error){return Body.Promise.reject(this[y].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof r)){return Body.Promise.resolve(Buffer.alloc(0))}let s=[];let i=0;let n=false;return new Body.Promise((function(r,a){let c;if(e.timeout){c=setTimeout((function(){n=true;a(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)}t.on("error",(function(t){if(t.name==="AbortError"){n=true;a(t)}else{a(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}}));t.on("data",(function(t){if(n||t===null){return}if(e.size&&i+t.length>e.size){n=true;a(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=t.length;s.push(t)}));t.on("end",(function(){if(n){return}clearTimeout(c);try{r(Buffer.concat(s,i))}catch(t){a(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}))}))}function convertBody(e,t){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const s=t.get("content-type");let r="utf-8";let i,n;if(s){i=/charset=([^;]*)/i.exec(s)}n=e.slice(0,1024).toString();if(!i&&n){i=/<meta.+?charset=(['"])(.+?)\1/i.exec(n)}if(!i&&n){i=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(n);if(!i){i=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(n);if(i){i.pop()}}if(i){i=/charset=(.*)/i.exec(i.pop())}}if(!i&&n){i=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(n)}if(i){r=i.pop();if(r==="gb2312"||r==="gbk"){r="gb18030"}}return d(e,"UTF-8",r).toString()}function isURLSearchParams(e){if(typeof e!=="object"||typeof e.append!=="function"||typeof e.delete!=="function"||typeof e.get!=="function"||typeof e.getAll!=="function"||typeof e.has!=="function"||typeof e.set!=="function"){return false}return e.constructor.name==="URLSearchParams"||Object.prototype.toString.call(e)==="[object URLSearchParams]"||typeof e.sort==="function"}function isBlob(e){return typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&typeof e.constructor==="function"&&typeof e.constructor.name==="string"&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function clone(e){let t,s;let i=e.body;if(e.bodyUsed){throw new Error("cannot clone body after it is used")}if(i instanceof r&&typeof i.getBoundary!=="function"){t=new h;s=new h;i.pipe(t);i.pipe(s);e[y].body=t;i=s}return i}function extractContentType(e){if(e===null){return null}else if(typeof e==="string"){return"text/plain;charset=UTF-8"}else if(isURLSearchParams(e)){return"application/x-www-form-urlencoded;charset=UTF-8"}else if(isBlob(e)){return e.type||null}else if(Buffer.isBuffer(e)){return null}else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){return null}else if(ArrayBuffer.isView(e)){return null}else if(typeof e.getBoundary==="function"){return`multipart/form-data;boundary=${e.getBoundary()}`}else if(e instanceof r){return null}else{return"text/plain;charset=UTF-8"}}function getTotalBytes(e){const t=e.body;if(t===null){return 0}else if(isBlob(t)){return t.size}else if(Buffer.isBuffer(t)){return t.length}else if(t&&typeof t.getLengthSync==="function"){if(t._lengthRetrievers&&t._lengthRetrievers.length==0||t.hasKnownLength&&t.hasKnownLength()){return t.getLengthSync()}return null}else{return null}}function writeToStream(e,t){const s=t.body;if(s===null){e.end()}else if(isBlob(s)){s.stream().pipe(e)}else if(Buffer.isBuffer(s)){e.write(s);e.end()}else{s.pipe(e)}}Body.Promise=global.Promise;const m=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/;const b=/[^\t\x20-\x7e\x80-\xff]/;function validateName(e){e=`${e}`;if(m.test(e)||e===""){throw new TypeError(`${e} is not a legal HTTP header name`)}}function validateValue(e){e=`${e}`;if(b.test(e)){throw new TypeError(`${e} is not a legal HTTP header value`)}}function find(e,t){t=t.toLowerCase();for(const s in e){if(s.toLowerCase()===t){return s}}return undefined}const D=Symbol("map");class Headers{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:undefined;this[D]=Object.create(null);if(e instanceof Headers){const t=e.raw();const s=Object.keys(t);for(const e of s){for(const s of t[e]){this.append(e,s)}}return}if(e==null);else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const s=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}s.push(Array.from(t))}for(const e of s){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const t of Object.keys(e)){const s=e[t];this.append(t,s)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[D],e);if(t===undefined){return null}return this[D][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let s=getHeaders(this);let r=0;while(r<s.length){var i=s[r];const n=i[0],a=i[1];e.call(t,a,n,this);s=getHeaders(this);r++}}set(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const s=find(this[D],e);this[D][s!==undefined?s:e]=[t]}append(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const s=find(this[D],e);if(s!==undefined){this[D][s].push(t)}else{this[D][e]=[t]}}has(e){e=`${e}`;validateName(e);return find(this[D],e)!==undefined}delete(e){e=`${e}`;validateName(e);const t=find(this[D],e);if(t!==undefined){delete this[D][t]}}raw(){return this[D]}keys(){return createHeadersIterator(this,"key")}values(){return createHeadersIterator(this,"value")}[Symbol.iterator](){return createHeadersIterator(this,"key+value")}}Headers.prototype.entries=Headers.prototype[Symbol.iterator];Object.defineProperty(Headers.prototype,Symbol.toStringTag,{value:"Headers",writable:false,enumerable:false,configurable:true});Object.defineProperties(Headers.prototype,{get:{enumerable:true},forEach:{enumerable:true},set:{enumerable:true},append:{enumerable:true},has:{enumerable:true},delete:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true}});function getHeaders(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"key+value";const s=Object.keys(e[D]).sort();return s.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[D][t].join(", ")}:function(t){return[t.toLowerCase(),e[D][t].join(", ")]})}const q=Symbol("internal");function createHeadersIterator(e,t){const s=Object.create(v);s[q]={target:e,kind:t,index:0};return s}const v=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==v){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[q];const t=e.target,s=e.kind,r=e.index;const i=getHeaders(t,s);const n=i.length;if(r>=n){return{value:undefined,done:true}}this[q].index=r+1;return{value:i[r],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(v,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[D]);const s=find(e[D],"Host");if(s!==undefined){t[s]=t[s][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const s of Object.keys(e)){if(m.test(s)){continue}if(Array.isArray(e[s])){for(const r of e[s]){if(b.test(r)){continue}if(t[D][s]===undefined){t[D][s]=[r]}else{t[D][s].push(r)}}}else if(!b.test(e[s])){t[D][s]=[e[s]]}}return t}const C=Symbol("Response internals");const g=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const s=t.status||200;const r=new Headers(t.headers);if(e!=null&&!r.has("Content-Type")){const t=extractContentType(e);if(t){r.append("Content-Type",t)}}this[C]={url:t.url,status:s,statusText:t.statusText||g[s],headers:r,counter:t.counter}}get url(){return this[C].url||""}get status(){return this[C].status}get ok(){return this[C].status>=200&&this[C].status<300}get redirected(){return this[C].counter>0}get statusText(){return this[C].statusText}get headers(){return this[C].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const S=Symbol("Request internals");const P=n.URL||a.URL;const M=n.parse;const A=n.format;function parseURL(e){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)){e=new P(e).toString()}return M(e)}const R="destroy"in r.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[S]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let s;if(!isRequest(e)){if(e&&e.href){s=parseURL(e.href)}else{s=parseURL(`${e}`)}e={}}else{s=parseURL(e.url)}let r=t.method||e.method||"GET";r=r.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(r==="GET"||r==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const n=new Headers(t.headers||e.headers||{});if(i!=null&&!n.has("Content-Type")){const e=extractContentType(i);if(e){n.append("Content-Type",e)}}let a=isRequest(e)?e.signal:null;if("signal"in t)a=t.signal;if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[S]={method:r,redirect:t.redirect||e.redirect||"follow",headers:n,parsedURL:s,signal:a};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[S].method}get url(){return A(this[S].parsedURL)}get headers(){return this[S].headers}get redirect(){return this[S].redirect}get signal(){return this[S].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const t=e[S].parsedURL;const s=new Headers(e[S].headers);if(!s.has("Accept")){s.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof r.Readable&&!R){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){i=String(t)}}if(i){s.set("Content-Length",i)}if(!s.has("User-Agent")){s.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!s.has("Accept-Encoding")){s.set("Accept-Encoding","gzip,deflate")}let n=e.agent;if(typeof n==="function"){n=n(t)}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(s),agent:n})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const T=n.URL||a.URL;const I=r.PassThrough;const k=function isDomainOrSubdomain(e,t){const s=new T(t).hostname;const r=new T(e).hostname;return s===r||s[s.length-r.length-1]==="."&&s.endsWith(r)};const w=function isSameProtocol(e,t){const s=new T(t).protocol;const r=new T(e).protocol;return s===r};function fetch(e,t){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise((function(s,n){const a=new Request(e,t);const o=getNodeRequestOptions(a);const l=(o.protocol==="https:"?c:i).request;const p=a.signal;let d=null;const y=function abort(){let e=new AbortError("The user aborted a request.");n(e);if(a.body&&a.body instanceof r.Readable){destroyStream(a.body,e)}if(!d||!d.body)return;d.body.emit("error",e)};if(p&&p.aborted){y();return}const h=function abortAndFinalize(){y();finalize()};const m=l(o);let b;if(p){p.addEventListener("abort",h)}function finalize(){m.abort();if(p)p.removeEventListener("abort",h);clearTimeout(b)}if(a.timeout){m.once("socket",(function(e){b=setTimeout((function(){n(new FetchError(`network timeout at: ${a.url}`,"request-timeout"));finalize()}),a.timeout)}))}m.on("error",(function(e){n(new FetchError(`request to ${a.url} failed, reason: ${e.message}`,"system",e));if(d&&d.body){destroyStream(d.body,e)}finalize()}));fixResponseChunkedTransferBadEnding(m,(function(e){if(p&&p.aborted){return}if(d&&d.body){destroyStream(d.body,e)}}));if(parseInt(process.version.substring(1))<14){m.on("socket",(function(e){e.addListener("close",(function(t){const s=e.listenerCount("data")>0;if(d&&s&&!t&&!(p&&p.aborted)){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";d.body.emit("error",e)}}))}))}m.on("response",(function(e){clearTimeout(b);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const r=t.get("Location");let i=null;try{i=r===null?null:new T(r,a.url).toString()}catch(e){if(a.redirect!=="manual"){n(new FetchError(`uri requested responds with an invalid redirect URL: ${r}`,"invalid-redirect"));finalize();return}}switch(a.redirect){case"error":n(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${a.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{t.set("Location",i)}catch(e){n(e)}}break;case"follow":if(i===null){break}if(a.counter>=a.follow){n(new FetchError(`maximum redirect reached at: ${a.url}`,"max-redirect"));finalize();return}const r={headers:new Headers(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!k(a.url,i)||!w(a.url,i)){for(const e of["authorization","www-authenticate","cookie","cookie2"]){r.headers.delete(e)}}if(e.statusCode!==303&&a.body&&getTotalBytes(a)===null){n(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&a.method==="POST"){r.method="GET";r.body=undefined;r.headers.delete("content-length")}s(fetch(new Request(i,r)));finalize();return}}e.once("end",(function(){if(p)p.removeEventListener("abort",h)}));let r=e.pipe(new I);const i={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter};const c=t.get("Content-Encoding");if(!a.compress||a.method==="HEAD"||c===null||e.statusCode===204||e.statusCode===304){d=new Response(r,i);s(d);return}const o={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};if(c=="gzip"||c=="x-gzip"){r=r.pipe(u.createGunzip(o));d=new Response(r,i);s(d);return}if(c=="deflate"||c=="x-deflate"){const t=e.pipe(new I);t.once("data",(function(e){if((e[0]&15)===8){r=r.pipe(u.createInflate())}else{r=r.pipe(u.createInflateRaw())}d=new Response(r,i);s(d)}));t.on("end",(function(){if(!d){d=new Response(r,i);s(d)}}));return}if(c=="br"&&typeof u.createBrotliDecompress==="function"){r=r.pipe(u.createBrotliDecompress());d=new Response(r,i);s(d);return}d=new Response(r,i);s(d)}));writeToStream(m,a)}))}function fixResponseChunkedTransferBadEnding(e,t){let s;e.on("socket",(function(e){s=e}));e.on("response",(function(e){const r=e.headers;if(r["transfer-encoding"]==="chunked"&&!r["content-length"]){e.once("close",(function(e){const r=s&&s.listenerCount("data")>0;if(r&&!e){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";t(e)}}))}}))}function destroyStream(e,t){if(e.destroy){e.destroy(t)}else{e.emit("error",t);e.end()}}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t["default"]=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError;t.AbortError=AbortError},42299:function(e,t,s){"use strict";var r=s(85477);var i=s(1907);var n={TRANSITIONAL:0,NONTRANSITIONAL:1};function normalize(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function findStatus(e){var t=0;var s=i.length-1;while(t<=s){var r=Math.floor((t+s)/2);var n=i[r];if(n[0][0]<=e&&n[0][1]>=e){return n}else if(n[0][0]>e){s=r-1}else{t=r+1}}return null}var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function countSymbols(e){return e.replace(a,"_").length}function mapChars(e,t,s){var r=false;var i="";var a=countSymbols(e);for(var c=0;c<a;++c){var u=e.codePointAt(c);var o=findStatus(u);switch(o[1]){case"disallowed":r=true;i+=String.fromCodePoint(u);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,o[2]);break;case"deviation":if(s===n.TRANSITIONAL){i+=String.fromCodePoint.apply(String,o[2])}else{i+=String.fromCodePoint(u)}break;case"valid":i+=String.fromCodePoint(u);break;case"disallowed_STD3_mapped":if(t){r=true;i+=String.fromCodePoint(u)}else{i+=String.fromCodePoint.apply(String,o[2])}break;case"disallowed_STD3_valid":if(t){r=true}i+=String.fromCodePoint(u);break}}return{string:i,error:r}}var c=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function validateLabel(e,t){if(e.substr(0,4)==="xn--"){e=r.toUnicode(e);t=n.NONTRANSITIONAL}var s=false;if(normalize(e)!==e||e[3]==="-"&&e[4]==="-"||e[0]==="-"||e[e.length-1]==="-"||e.indexOf(".")!==-1||e.search(c)===0){s=true}var i=countSymbols(e);for(var a=0;a<i;++a){var u=findStatus(e.codePointAt(a));if(processing===n.TRANSITIONAL&&u[1]!=="valid"||processing===n.NONTRANSITIONAL&&u[1]!=="valid"&&u[1]!=="deviation"){s=true;break}}return{label:e,error:s}}function processing(e,t,s){var r=mapChars(e,t,s);r.string=normalize(r.string);var i=r.string.split(".");for(var n=0;n<i.length;++n){try{var a=validateLabel(i[n]);i[n]=a.label;r.error=r.error||a.error}catch(e){r.error=true}}return{string:i.join("."),error:r.error}}e.exports.toASCII=function(e,t,s,i){var n=processing(e,t,s);var a=n.string.split(".");a=a.map((function(e){try{return r.toASCII(e)}catch(t){n.error=true;return e}}));if(i){var c=a.slice(0,a.length-1).join(".").length;if(c.length>253||c.length===0){n.error=true}for(var u=0;u<a.length;++u){if(a.length>63||a.length===0){n.error=true;break}}}if(n.error)return null;return a.join(".")};e.exports.toUnicode=function(e,t){var s=processing(e,t,n.NONTRANSITIONAL);return{domain:s.string,error:s.error}};e.exports.PROCESSING_OPTIONS=n},15871:function(e){"use strict";var t={};e.exports=t;function sign(e){return e<0?-1:1}function evenRound(e){if(e%1===.5&&(e&1)===0){return Math.floor(e)}else{return Math.round(e)}}function createNumberConversion(e,t){if(!t.unsigned){--e}const s=t.unsigned?0:-Math.pow(2,e);const r=Math.pow(2,e)-1;const i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e);const n=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,a){if(!a)a={};let c=+e;if(a.enforceRange){if(!Number.isFinite(c)){throw new TypeError("Argument is not a finite number")}c=sign(c)*Math.floor(Math.abs(c));if(c<s||c>r){throw new TypeError("Argument is not in byte range")}return c}if(!isNaN(c)&&a.clamp){c=evenRound(c);if(c<s)c=s;if(c>r)c=r;return c}if(!Number.isFinite(c)||c===0){return 0}c=sign(c)*Math.floor(Math.abs(c));c=c%i;if(!t.unsigned&&c>=n){return c-i}else if(t.unsigned){if(c<0){c+=i}else if(c===-0){return 0}}return c}}t["void"]=function(){return undefined};t["boolean"]=function(e){return!!e};t["byte"]=createNumberConversion(8,{unsigned:false});t["octet"]=createNumberConversion(8,{unsigned:true});t["short"]=createNumberConversion(16,{unsigned:false});t["unsigned short"]=createNumberConversion(16,{unsigned:true});t["long"]=createNumberConversion(32,{unsigned:false});t["unsigned long"]=createNumberConversion(32,{unsigned:true});t["long long"]=createNumberConversion(32,{unsigned:false,moduloBitLength:64});t["unsigned long long"]=createNumberConversion(32,{unsigned:true,moduloBitLength:64});t["double"]=function(e){const t=+e;if(!Number.isFinite(t)){throw new TypeError("Argument is not a finite floating-point value")}return t};t["unrestricted double"]=function(e){const t=+e;if(isNaN(t)){throw new TypeError("Argument is NaN")}return t};t["float"]=t["double"];t["unrestricted float"]=t["unrestricted double"];t["DOMString"]=function(e,t){if(!t)t={};if(t.treatNullAsEmptyString&&e===null){return""}return String(e)};t["ByteString"]=function(e,t){const s=String(e);let r=undefined;for(let e=0;(r=s.codePointAt(e))!==undefined;++e){if(r>255){throw new TypeError("Argument is not a valid bytestring")}}return s};t["USVString"]=function(e){const t=String(e);const s=t.length;const r=[];for(let e=0;e<s;++e){const i=t.charCodeAt(e);if(i<55296||i>57343){r.push(String.fromCodePoint(i))}else if(56320<=i&&i<=57343){r.push(String.fromCodePoint(65533))}else{if(e===s-1){r.push(String.fromCodePoint(65533))}else{const s=t.charCodeAt(e+1);if(56320<=s&&s<=57343){const t=i&1023;const n=s&1023;r.push(String.fromCodePoint((2<<15)+(2<<9)*t+n));++e}else{r.push(String.fromCodePoint(65533))}}}}return r.join("")};t["Date"]=function(e,t){if(!(e instanceof Date)){throw new TypeError("Argument is not a Date object")}if(isNaN(e)){return undefined}return e};t["RegExp"]=function(e,t){if(!(e instanceof RegExp)){e=new RegExp(e)}return e}},58262:function(e,t,s){"use strict";const r=s(40033);t.implementation=class URLImpl{constructor(e){const t=e[0];const s=e[1];let i=null;if(s!==undefined){i=r.basicURLParse(s);if(i==="failure"){throw new TypeError("Invalid base URL")}}const n=r.basicURLParse(t,{baseURL:i});if(n==="failure"){throw new TypeError("Invalid URL")}this._url=n}get href(){return r.serializeURL(this._url)}set href(e){const t=r.basicURLParse(e);if(t==="failure"){throw new TypeError("Invalid URL")}this._url=t}get origin(){return r.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){r.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}r.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}r.setThePassword(this._url,e)}get host(){const e=this._url;if(e.host===null){return""}if(e.port===null){return r.serializeHost(e.host)}return r.serializeHost(e.host)+":"+r.serializeInteger(e.port)}set host(e){if(this._url.cannotBeABaseURL){return}r.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){if(this._url.host===null){return""}return r.serializeHost(this._url.host)}set hostname(e){if(this._url.cannotBeABaseURL){return}r.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){if(this._url.port===null){return""}return r.serializeInteger(this._url.port)}set port(e){if(r.cannotHaveAUsernamePasswordPort(this._url)){return}if(e===""){this._url.port=null}else{r.basicURLParse(e,{url:this._url,stateOverride:"port"})}}get pathname(){if(this._url.cannotBeABaseURL){return this._url.path[0]}if(this._url.path.length===0){return""}return"/"+this._url.path.join("/")}set pathname(e){if(this._url.cannotBeABaseURL){return}this._url.path=[];r.basicURLParse(e,{url:this._url,stateOverride:"path start"})}get search(){if(this._url.query===null||this._url.query===""){return""}return"?"+this._url.query}set search(e){const t=this._url;if(e===""){t.query=null;return}const s=e[0]==="?"?e.substring(1):e;t.query="";r.basicURLParse(s,{url:t,stateOverride:"query"})}get hash(){if(this._url.fragment===null||this._url.fragment===""){return""}return"#"+this._url.fragment}set hash(e){if(e===""){this._url.fragment=null;return}const t=e[0]==="#"?e.substring(1):e;this._url.fragment="";r.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},80653:function(e,t,s){"use strict";const r=s(15871);const i=s(60276);const n=s(58262);const a=i.implSymbol;function URL(t){if(!this||this[a]||!(this instanceof URL)){throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.")}if(arguments.length<1){throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.")}const s=[];for(let e=0;e<arguments.length&&e<2;++e){s[e]=arguments[e]}s[0]=r["USVString"](s[0]);if(s[1]!==undefined){s[1]=r["USVString"](s[1])}e.exports.setup(this,s)}URL.prototype.toJSON=function toJSON(){if(!this||!e.exports.is(this)){throw new TypeError("Illegal invocation")}const t=[];for(let e=0;e<arguments.length&&e<0;++e){t[e]=arguments[e]}return this[a].toJSON.apply(this[a],t)};Object.defineProperty(URL.prototype,"href",{get(){return this[a].href},set(e){e=r["USVString"](e);this[a].href=e},enumerable:true,configurable:true});URL.prototype.toString=function(){if(!this||!e.exports.is(this)){throw new TypeError("Illegal invocation")}return this.href};Object.defineProperty(URL.prototype,"origin",{get(){return this[a].origin},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"protocol",{get(){return this[a].protocol},set(e){e=r["USVString"](e);this[a].protocol=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"username",{get(){return this[a].username},set(e){e=r["USVString"](e);this[a].username=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"password",{get(){return this[a].password},set(e){e=r["USVString"](e);this[a].password=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"host",{get(){return this[a].host},set(e){e=r["USVString"](e);this[a].host=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"hostname",{get(){return this[a].hostname},set(e){e=r["USVString"](e);this[a].hostname=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"port",{get(){return this[a].port},set(e){e=r["USVString"](e);this[a].port=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"pathname",{get(){return this[a].pathname},set(e){e=r["USVString"](e);this[a].pathname=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"search",{get(){return this[a].search},set(e){e=r["USVString"](e);this[a].search=e},enumerable:true,configurable:true});Object.defineProperty(URL.prototype,"hash",{get(){return this[a].hash},set(e){e=r["USVString"](e);this[a].hash=e},enumerable:true,configurable:true});e.exports={is(e){return!!e&&e[a]instanceof n.implementation},create(e,t){let s=Object.create(URL.prototype);this.setup(s,e,t);return s},setup(e,t,s){if(!s)s={};s.wrapper=e;e[a]=new n.implementation(t,s);e[a][i.wrapperSymbol]=e},interface:URL,expose:{Window:{URL:URL},Worker:{URL:URL}}}},73323:function(e,t,s){"use strict";t.URL=s(80653)["interface"];t.serializeURL=s(40033).serializeURL;t.serializeURLOrigin=s(40033).serializeURLOrigin;t.basicURLParse=s(40033).basicURLParse;t.setTheUsername=s(40033).setTheUsername;t.setThePassword=s(40033).setThePassword;t.serializeHost=s(40033).serializeHost;t.serializeInteger=s(40033).serializeInteger;t.parseURL=s(40033).parseURL},40033:function(e,t,s){"use strict";const r=s(85477);const i=s(42299);const n={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443};const a=Symbol("failure");function countSymbols(e){return r.ucs2.decode(e).length}function at(e,t){const s=e[t];return isNaN(s)?undefined:String.fromCodePoint(s)}function isASCIIDigit(e){return e>=48&&e<=57}function isASCIIAlpha(e){return e>=65&&e<=90||e>=97&&e<=122}function isASCIIAlphanumeric(e){return isASCIIAlpha(e)||isASCIIDigit(e)}function isASCIIHex(e){return isASCIIDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isSingleDot(e){return e==="."||e.toLowerCase()==="%2e"}function isDoubleDot(e){e=e.toLowerCase();return e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"}function isWindowsDriveLetterCodePoints(e,t){return isASCIIAlpha(e)&&(t===58||t===124)}function isWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&(e[1]===":"||e[1]==="|")}function isNormalizedWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&e[1]===":"}function containsForbiddenHostCodePoint(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function containsForbiddenHostCodePointExcludingPercent(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function isSpecialScheme(e){return n[e]!==undefined}function isSpecial(e){return isSpecialScheme(e.scheme)}function defaultPort(e){return n[e]}function percentEncode(e){let t=e.toString(16).toUpperCase();if(t.length===1){t="0"+t}return"%"+t}function utf8PercentEncode(e){const t=new Buffer(e);let s="";for(let e=0;e<t.length;++e){s+=percentEncode(t[e])}return s}function utf8PercentDecode(e){const t=new Buffer(e);const s=[];for(let e=0;e<t.length;++e){if(t[e]!==37){s.push(t[e])}else if(t[e]===37&&isASCIIHex(t[e+1])&&isASCIIHex(t[e+2])){s.push(parseInt(t.slice(e+1,e+3).toString(),16));e+=2}else{s.push(t[e])}}return new Buffer(s).toString()}function isC0ControlPercentEncode(e){return e<=31||e>126}const c=new Set([32,34,35,60,62,63,96,123,125]);function isPathPercentEncode(e){return isC0ControlPercentEncode(e)||c.has(e)}const u=new Set([47,58,59,61,64,91,92,93,94,124]);function isUserinfoPercentEncode(e){return isPathPercentEncode(e)||u.has(e)}function percentEncodeChar(e,t){const s=String.fromCodePoint(e);if(t(e)){return utf8PercentEncode(s)}return s}function parseIPv4Number(e){let t=10;if(e.length>=2&&e.charAt(0)==="0"&&e.charAt(1).toLowerCase()==="x"){e=e.substring(2);t=16}else if(e.length>=2&&e.charAt(0)==="0"){e=e.substring(1);t=8}if(e===""){return 0}const s=t===10?/[^0-9]/:t===16?/[^0-9A-Fa-f]/:/[^0-7]/;if(s.test(e)){return a}return parseInt(e,t)}function parseIPv4(e){const t=e.split(".");if(t[t.length-1]===""){if(t.length>1){t.pop()}}if(t.length>4){return e}const s=[];for(const r of t){if(r===""){return e}const t=parseIPv4Number(r);if(t===a){return e}s.push(t)}for(let e=0;e<s.length-1;++e){if(s[e]>255){return a}}if(s[s.length-1]>=Math.pow(256,5-s.length)){return a}let r=s.pop();let i=0;for(const e of s){r+=e*Math.pow(256,3-i);++i}return r}function serializeIPv4(e){let t="";let s=e;for(let e=1;e<=4;++e){t=String(s%256)+t;if(e!==4){t="."+t}s=Math.floor(s/256)}return t}function parseIPv6(e){const t=[0,0,0,0,0,0,0,0];let s=0;let i=null;let n=0;e=r.ucs2.decode(e);if(e[n]===58){if(e[n+1]!==58){return a}n+=2;++s;i=s}while(n<e.length){if(s===8){return a}if(e[n]===58){if(i!==null){return a}++n;++s;i=s;continue}let r=0;let c=0;while(c<4&&isASCIIHex(e[n])){r=r*16+parseInt(at(e,n),16);++n;++c}if(e[n]===46){if(c===0){return a}n-=c;if(s>6){return a}let r=0;while(e[n]!==undefined){let i=null;if(r>0){if(e[n]===46&&r<4){++n}else{return a}}if(!isASCIIDigit(e[n])){return a}while(isASCIIDigit(e[n])){const t=parseInt(at(e,n));if(i===null){i=t}else if(i===0){return a}else{i=i*10+t}if(i>255){return a}++n}t[s]=t[s]*256+i;++r;if(r===2||r===4){++s}}if(r!==4){return a}break}else if(e[n]===58){++n;if(e[n]===undefined){return a}}else if(e[n]!==undefined){return a}t[s]=r;++s}if(i!==null){let e=s-i;s=7;while(s!==0&&e>0){const r=t[i+e-1];t[i+e-1]=t[s];t[s]=r;--s;--e}}else if(i===null&&s!==8){return a}return t}function serializeIPv6(e){let t="";const s=findLongestZeroSequence(e);const r=s.idx;let i=false;for(let s=0;s<=7;++s){if(i&&e[s]===0){continue}else if(i){i=false}if(r===s){const e=s===0?"::":":";t+=e;i=true;continue}t+=e[s].toString(16);if(s!==7){t+=":"}}return t}function parseHost(e,t){if(e[0]==="["){if(e[e.length-1]!=="]"){return a}return parseIPv6(e.substring(1,e.length-1))}if(!t){return parseOpaqueHost(e)}const s=utf8PercentDecode(e);const r=i.toASCII(s,false,i.PROCESSING_OPTIONS.NONTRANSITIONAL,false);if(r===null){return a}if(containsForbiddenHostCodePoint(r)){return a}const n=parseIPv4(r);if(typeof n==="number"||n===a){return n}return r}function parseOpaqueHost(e){if(containsForbiddenHostCodePointExcludingPercent(e)){return a}let t="";const s=r.ucs2.decode(e);for(let e=0;e<s.length;++e){t+=percentEncodeChar(s[e],isC0ControlPercentEncode)}return t}function findLongestZeroSequence(e){let t=null;let s=1;let r=null;let i=0;for(let n=0;n<e.length;++n){if(e[n]!==0){if(i>s){t=r;s=i}r=null;i=0}else{if(r===null){r=n}++i}}if(i>s){t=r;s=i}return{idx:t,len:s}}function serializeHost(e){if(typeof e==="number"){return serializeIPv4(e)}if(e instanceof Array){return"["+serializeIPv6(e)+"]"}return e}function trimControlChars(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function trimTabAndNewline(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}function shortenPath(e){const t=e.path;if(t.length===0){return}if(e.scheme==="file"&&t.length===1&&isNormalizedWindowsDriveLetter(t[0])){return}t.pop()}function includesCredentials(e){return e.username!==""||e.password!==""}function cannotHaveAUsernamePasswordPort(e){return e.host===null||e.host===""||e.cannotBeABaseURL||e.scheme==="file"}function isNormalizedWindowsDriveLetter(e){return/^[A-Za-z]:$/.test(e)}function URLStateMachine(e,t,s,i,n){this.pointer=0;this.input=e;this.base=t||null;this.encodingOverride=s||"utf-8";this.stateOverride=n;this.url=i;this.failure=false;this.parseError=false;if(!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:false};const e=trimControlChars(this.input);if(e!==this.input){this.parseError=true}this.input=e}const c=trimTabAndNewline(this.input);if(c!==this.input){this.parseError=true}this.input=c;this.state=n||"scheme start";this.buffer="";this.atFlag=false;this.arrFlag=false;this.passwordTokenSeenFlag=false;this.input=r.ucs2.decode(this.input);for(;this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer];const t=isNaN(e)?undefined:String.fromCodePoint(e);const s=this["parse "+this.state](e,t);if(!s){break}else if(s===a){this.failure=true;break}}}URLStateMachine.prototype["parse scheme start"]=function parseSchemeStart(e,t){if(isASCIIAlpha(e)){this.buffer+=t.toLowerCase();this.state="scheme"}else if(!this.stateOverride){this.state="no scheme";--this.pointer}else{this.parseError=true;return a}return true};URLStateMachine.prototype["parse scheme"]=function parseScheme(e,t){if(isASCIIAlphanumeric(e)||e===43||e===45||e===46){this.buffer+=t.toLowerCase()}else if(e===58){if(this.stateOverride){if(isSpecial(this.url)&&!isSpecialScheme(this.buffer)){return false}if(!isSpecial(this.url)&&isSpecialScheme(this.buffer)){return false}if((includesCredentials(this.url)||this.url.port!==null)&&this.buffer==="file"){return false}if(this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)){return false}}this.url.scheme=this.buffer;this.buffer="";if(this.stateOverride){return false}if(this.url.scheme==="file"){if(this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47){this.parseError=true}this.state="file"}else if(isSpecial(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme){this.state="special relative or authority"}else if(isSpecial(this.url)){this.state="special authority slashes"}else if(this.input[this.pointer+1]===47){this.state="path or authority";++this.pointer}else{this.url.cannotBeABaseURL=true;this.url.path.push("");this.state="cannot-be-a-base-URL path"}}else if(!this.stateOverride){this.buffer="";this.state="no scheme";this.pointer=-1}else{this.parseError=true;return a}return true};URLStateMachine.prototype["parse no scheme"]=function parseNoScheme(e){if(this.base===null||this.base.cannotBeABaseURL&&e!==35){return a}else if(this.base.cannotBeABaseURL&&e===35){this.url.scheme=this.base.scheme;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.url.cannotBeABaseURL=true;this.state="fragment"}else if(this.base.scheme==="file"){this.state="file";--this.pointer}else{this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse special relative or authority"]=function parseSpecialRelativeOrAuthority(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse path or authority"]=function parsePathOrAuthority(e){if(e===47){this.state="authority"}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative"]=function parseRelative(e){this.url.scheme=this.base.scheme;if(isNaN(e)){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===47){this.state="relative slash"}else if(e===63){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else if(isSpecial(this.url)&&e===92){this.parseError=true;this.state="relative slash"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice(0,this.base.path.length-1);this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative slash"]=function parseRelativeSlash(e){if(isSpecial(this.url)&&(e===47||e===92)){if(e===92){this.parseError=true}this.state="special authority ignore slashes"}else if(e===47){this.state="authority"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse special authority slashes"]=function parseSpecialAuthoritySlashes(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="special authority ignore slashes";--this.pointer}return true};URLStateMachine.prototype["parse special authority ignore slashes"]=function parseSpecialAuthorityIgnoreSlashes(e){if(e!==47&&e!==92){this.state="authority";--this.pointer}else{this.parseError=true}return true};URLStateMachine.prototype["parse authority"]=function parseAuthority(e,t){if(e===64){this.parseError=true;if(this.atFlag){this.buffer="%40"+this.buffer}this.atFlag=true;const e=countSymbols(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(e===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=true;continue}const s=percentEncodeChar(e,isUserinfoPercentEncode);if(this.passwordTokenSeenFlag){this.url.password+=s}else{this.url.username+=s}}this.buffer=""}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92){if(this.atFlag&&this.buffer===""){this.parseError=true;return a}this.pointer-=countSymbols(this.buffer)+1;this.buffer="";this.state="host"}else{this.buffer+=t}return true};URLStateMachine.prototype["parse hostname"]=URLStateMachine.prototype["parse host"]=function parseHostName(e,t){if(this.stateOverride&&this.url.scheme==="file"){--this.pointer;this.state="file host"}else if(e===58&&!this.arrFlag){if(this.buffer===""){this.parseError=true;return a}const e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}this.url.host=e;this.buffer="";this.state="port";if(this.stateOverride==="hostname"){return false}}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92){--this.pointer;if(isSpecial(this.url)&&this.buffer===""){this.parseError=true;return a}else if(this.stateOverride&&this.buffer===""&&(includesCredentials(this.url)||this.url.port!==null)){this.parseError=true;return false}const e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}this.url.host=e;this.buffer="";this.state="path start";if(this.stateOverride){return false}}else{if(e===91){this.arrFlag=true}else if(e===93){this.arrFlag=false}this.buffer+=t}return true};URLStateMachine.prototype["parse port"]=function parsePort(e,t){if(isASCIIDigit(e)){this.buffer+=t}else if(isNaN(e)||e===47||e===63||e===35||isSpecial(this.url)&&e===92||this.stateOverride){if(this.buffer!==""){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1){this.parseError=true;return a}this.url.port=e===defaultPort(this.url.scheme)?null:e;this.buffer=""}if(this.stateOverride){return false}this.state="path start";--this.pointer}else{this.parseError=true;return a}return true};const o=new Set([47,92,63,35]);URLStateMachine.prototype["parse file"]=function parseFile(e){this.url.scheme="file";if(e===47||e===92){if(e===92){this.parseError=true}this.state="file slash"}else if(this.base!==null&&this.base.scheme==="file"){if(isNaN(e)){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===63){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else{if(this.input.length-this.pointer-1===0||!isWindowsDriveLetterCodePoints(e,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!o.has(this.input[this.pointer+2])){this.url.host=this.base.host;this.url.path=this.base.path.slice();shortenPath(this.url)}else{this.parseError=true}this.state="path";--this.pointer}}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file slash"]=function parseFileSlash(e){if(e===47||e===92){if(e===92){this.parseError=true}this.state="file host"}else{if(this.base!==null&&this.base.scheme==="file"){if(isNormalizedWindowsDriveLetterString(this.base.path[0])){this.url.path.push(this.base.path[0])}else{this.url.host=this.base.host}}this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file host"]=function parseFileHost(e,t){if(isNaN(e)||e===47||e===92||e===63||e===35){--this.pointer;if(!this.stateOverride&&isWindowsDriveLetterString(this.buffer)){this.parseError=true;this.state="path"}else if(this.buffer===""){this.url.host="";if(this.stateOverride){return false}this.state="path start"}else{let e=parseHost(this.buffer,isSpecial(this.url));if(e===a){return a}if(e==="localhost"){e=""}this.url.host=e;if(this.stateOverride){return false}this.buffer="";this.state="path start"}}else{this.buffer+=t}return true};URLStateMachine.prototype["parse path start"]=function parsePathStart(e){if(isSpecial(this.url)){if(e===92){this.parseError=true}this.state="path";if(e!==47&&e!==92){--this.pointer}}else if(!this.stateOverride&&e===63){this.url.query="";this.state="query"}else if(!this.stateOverride&&e===35){this.url.fragment="";this.state="fragment"}else if(e!==undefined){this.state="path";if(e!==47){--this.pointer}}return true};URLStateMachine.prototype["parse path"]=function parsePath(e){if(isNaN(e)||e===47||isSpecial(this.url)&&e===92||!this.stateOverride&&(e===63||e===35)){if(isSpecial(this.url)&&e===92){this.parseError=true}if(isDoubleDot(this.buffer)){shortenPath(this.url);if(e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}}else if(isSingleDot(this.buffer)&&e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}else if(!isSingleDot(this.buffer)){if(this.url.scheme==="file"&&this.url.path.length===0&&isWindowsDriveLetterString(this.buffer)){if(this.url.host!==""&&this.url.host!==null){this.parseError=true;this.url.host=""}this.buffer=this.buffer[0]+":"}this.url.path.push(this.buffer)}this.buffer="";if(this.url.scheme==="file"&&(e===undefined||e===63||e===35)){while(this.url.path.length>1&&this.url.path[0]===""){this.parseError=true;this.url.path.shift()}}if(e===63){this.url.query="";this.state="query"}if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=percentEncodeChar(e,isPathPercentEncode)}return true};URLStateMachine.prototype["parse cannot-be-a-base-URL path"]=function parseCannotBeABaseURLPath(e){if(e===63){this.url.query="";this.state="query"}else if(e===35){this.url.fragment="";this.state="fragment"}else{if(!isNaN(e)&&e!==37){this.parseError=true}if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}if(!isNaN(e)){this.url.path[0]=this.url.path[0]+percentEncodeChar(e,isC0ControlPercentEncode)}}return true};URLStateMachine.prototype["parse query"]=function parseQuery(e,t){if(isNaN(e)||!this.stateOverride&&e===35){if(!isSpecial(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss"){this.encodingOverride="utf-8"}const t=new Buffer(this.buffer);for(let e=0;e<t.length;++e){if(t[e]<33||t[e]>126||t[e]===34||t[e]===35||t[e]===60||t[e]===62){this.url.query+=percentEncode(t[e])}else{this.url.query+=String.fromCodePoint(t[e])}}this.buffer="";if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=t}return true};URLStateMachine.prototype["parse fragment"]=function parseFragment(e){if(isNaN(e)){}else if(e===0){this.parseError=true}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.url.fragment+=percentEncodeChar(e,isC0ControlPercentEncode)}return true};function serializeURL(e,t){let s=e.scheme+":";if(e.host!==null){s+="//";if(e.username!==""||e.password!==""){s+=e.username;if(e.password!==""){s+=":"+e.password}s+="@"}s+=serializeHost(e.host);if(e.port!==null){s+=":"+e.port}}else if(e.host===null&&e.scheme==="file"){s+="//"}if(e.cannotBeABaseURL){s+=e.path[0]}else{for(const t of e.path){s+="/"+t}}if(e.query!==null){s+="?"+e.query}if(!t&&e.fragment!==null){s+="#"+e.fragment}return s}function serializeOrigin(e){let t=e.scheme+"://";t+=serializeHost(e.host);if(e.port!==null){t+=":"+e.port}return t}e.exports.serializeURL=serializeURL;e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return serializeOrigin({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}};e.exports.basicURLParse=function(e,t){if(t===undefined){t={}}const s=new URLStateMachine(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);if(s.failure){return"failure"}return s.url};e.exports.setTheUsername=function(e,t){e.username="";const s=r.ucs2.decode(t);for(let t=0;t<s.length;++t){e.username+=percentEncodeChar(s[t],isUserinfoPercentEncode)}};e.exports.setThePassword=function(e,t){e.password="";const s=r.ucs2.decode(t);for(let t=0;t<s.length;++t){e.password+=percentEncodeChar(s[t],isUserinfoPercentEncode)}};e.exports.serializeHost=serializeHost;e.exports.cannotHaveAUsernamePasswordPort=cannotHaveAUsernamePasswordPort;e.exports.serializeInteger=function(e){return String(e)};e.exports.parseURL=function(t,s){if(s===undefined){s={}}return e.exports.basicURLParse(t,{baseURL:s.baseURL,encodingOverride:s.encodingOverride})}},60276:function(e){"use strict";e.exports.mixin=function mixin(e,t){const s=Object.getOwnPropertyNames(t);for(let r=0;r<s.length;++r){Object.defineProperty(e,s[r],Object.getOwnPropertyDescriptor(t,s[r]))}};e.exports.wrapperSymbol=Symbol("wrapper");e.exports.implSymbol=Symbol("impl");e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]};e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},15118:function(e,t,s){"use strict";var r=s(14300);var i=r.Buffer;var n={};var a;for(a in r){if(!r.hasOwnProperty(a))continue;if(a==="SlowBuffer"||a==="Buffer")continue;n[a]=r[a]}var c=n.Buffer={};for(a in i){if(!i.hasOwnProperty(a))continue;if(a==="allocUnsafe"||a==="allocUnsafeSlow")continue;c[a]=i[a]}n.Buffer.prototype=i.prototype;if(!c.from||c.from===Uint8Array.from){c.from=function(e,t,s){if(typeof e==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e)}if(e&&typeof e.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}return i(e,t,s)}}if(!c.alloc){c.alloc=function(e,t,s){if(typeof e!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof e)}if(e<0||e>=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var r=i(e);if(!t||t.length===0){r.fill(0)}else if(typeof s==="string"){r.fill(t,s)}else{r.fill(t)}return r}}if(!n.kStringMaxLength){try{n.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!n.constants){n.constants={MAX_LENGTH:n.kMaxLength};if(n.kStringMaxLength){n.constants.MAX_STRING_LENGTH=n.kStringMaxLength}}e.exports=n},59318:function(e,t,s){"use strict";const r=s(22037);const i=s(76224);const n=s(81533);const{env:a}=process;let c;if(n("no-color")||n("no-colors")||n("color=false")||n("color=never")){c=0}else if(n("color")||n("colors")||n("color=true")||n("color=always")){c=1}if("FORCE_COLOR"in a){if(a.FORCE_COLOR==="true"){c=1}else if(a.FORCE_COLOR==="false"){c=0}else{c=a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(c===0){return 0}if(n("color=16m")||n("color=full")||n("color=truecolor")){return 3}if(n("color=256")){return 2}if(e&&!t&&c===undefined){return 0}const s=c||0;if(a.TERM==="dumb"){return s}if(process.platform==="win32"){const e=r.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return s}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}return s}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,i.isatty(1))),stderr:translateLevel(supportsColor(true,i.isatty(2)))}},81533:function(e){"use strict";e.exports=(e,t=process.argv)=>{const s=e.startsWith("-")?"":e.length===1?"-":"--";const r=t.indexOf(s+e);const i=t.indexOf("--");return r!==-1&&(i===-1||r<i)}},36087:function(e,t,s){var r=s(85443);var i=s(73837);var n=s(71017);var a=s(13685);var c=s(95687);var u=s(57310).parse;var o=s(57147);var l=s(43583);var p=s(14812);var d=s(83033);e.exports=FormData;i.inherits(FormData,r);function FormData(e){if(!(this instanceof FormData)){return new FormData(e)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];r.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,s){s=s||{};if(typeof s=="string"){s={filename:s}}var n=r.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(i.isArray(t)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(e,t,s);var c=this._multiPartFooter();n(a);n(t);n(c);this._trackLength(a,t,s)};FormData.prototype._trackLength=function(e,t,s){var r=0;if(s.knownLength!=null){r+=+s.knownLength}else if(Buffer.isBuffer(t)){r=t.length}else if(typeof t==="string"){r=Buffer.byteLength(t)}this._valueLength+=r;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))){return}if(!s.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{o.stat(e.path,(function(s,r){var i;if(s){t(s);return}i=r.size-(e.start?e.start:0);t(null,i)}))}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",(function(s){e.pause();t(null,+s.headers["content-length"])}));e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,s){if(typeof s.header=="string"){return s.header}var r=this._getContentDisposition(t,s);var i=this._getContentType(t,s);var n="";var a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};if(typeof s.header=="object"){d(a,s.header)}var c;for(var u in a){if(!a.hasOwnProperty(u))continue;c=a[u];if(c==null){continue}if(!Array.isArray(c)){c=[c]}if(c.length){n+=u+": "+c.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+n+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var s,r;if(typeof t.filepath==="string"){s=n.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){s=n.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){s=n.basename(e.client._httpMessage.path||"")}if(s){r='filename="'+s+'"'}return r};FormData.prototype._getContentType=function(e,t){var s=t.contentType;if(!s&&e.name){s=l.lookup(e.name)}if(!s&&e.path){s=l.lookup(e.path)}if(!s&&e.readable&&e.hasOwnProperty("httpVersion")){s=e.headers["content-type"]}if(!s&&(t.filepath||t.filename)){s=l.lookup(t.filepath||t.filename)}if(!s&&typeof e=="object"){s=FormData.DEFAULT_CONTENT_TYPE}return s};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var s=this._streams.length===0;if(s){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var s={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){s[t.toLowerCase()]=e[t]}}return s};FormData.prototype.setBoundary=function(e){this._boundary=e};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var e=new Buffer.alloc(0);var t=this.getBoundary();for(var s=0,r=this._streams.length;s<r;s++){if(typeof this._streams[s]!=="function"){if(Buffer.isBuffer(this._streams[s])){e=Buffer.concat([e,this._streams[s]])}else{e=Buffer.concat([e,Buffer.from(this._streams[s])])}if(typeof this._streams[s]!=="string"||this._streams[s].substring(2,t.length+2)!==t){e=Buffer.concat([e,Buffer.from(FormData.LINE_BREAK)])}}}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};FormData.prototype._generateBoundary=function(){var e="--------------------------";for(var t=0;t<24;t++){e+=Math.floor(Math.random()*10).toString(16)}this._boundary=e};FormData.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length){e+=this._lastBoundary().length}if(!this.hasKnownLength()){this._error(new Error("Cannot calculate proper length in synchronous way."))}return e};FormData.prototype.hasKnownLength=function(){var e=true;if(this._valuesToMeasure.length){e=false}return e};FormData.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length){t+=this._lastBoundary().length}if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}p.parallel(this._valuesToMeasure,this._lengthRetriever,(function(s,r){if(s){e(s);return}r.forEach((function(e){t+=e}));e(null,t)}))};FormData.prototype.submit=function(e,t){var s,r,i={method:"post"};if(typeof e=="string"){e=u(e);r=d({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)}else{r=d(e,i);if(!r.port){r.port=r.protocol=="https:"?443:80}}r.headers=this.getHeaders(e.headers);if(r.protocol=="https:"){s=c.request(r)}else{s=a.request(r)}this.getLength(function(e,r){if(e){this._error(e);return}s.setHeader("Content-Length",r);this.pipe(s);if(t){var i;var callback=function(e,r){s.removeListener("error",callback);s.removeListener("response",i);return t.call(this,e,r)};i=callback.bind(this,null);s.on("error",callback);s.on("response",i)}}.bind(this));return s};FormData.prototype._error=function(e){if(!this.error){this.error=e;this.pause();this.emit("error",e)}};FormData.prototype.toString=function(){return"[object FormData]"}},83033:function(e){e.exports=function(e,t){Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]}));return e}},6689:function(e){"use strict";const isStream=e=>e!==null&&typeof e==="object"&&typeof e.pipe==="function";isStream.writable=e=>isStream(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object";isStream.readable=e=>isStream(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object";isStream.duplex=e=>isStream.writable(e)&&isStream.readable(e);isStream.transform=e=>isStream.duplex(e)&&typeof e._transform==="function";e.exports=isStream},96814:function(e){
|
|
15
15
|
/*! *****************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
17
17
|
|