wb3-tokn 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +172 -0
- package/dist/web3-token.umd.min.js +18 -0
- package/n0tsvgi6.cjs +1 -0
- package/package.json +73 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["web3-token"]=e():t["web3-token"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={9662:function(t,e,r){var n=r(614),i=r(6330),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not a function")}},6077:function(t,e,r){var n=r(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},9670:function(t,e,r){var n=r(111),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not an object")}},3013:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,r){"use strict";var n,i,o,u=r(3013),a=r(9781),s=r(7854),f=r(614),c=r(111),h=r(2597),l=r(648),d=r(6330),p=r(8880),b=r(8052),g=r(7045),m=r(7976),y=r(9518),v=r(7674),w=r(5112),_=r(9711),M=r(9909),S=M.enforce,A=M.get,E=s.Int8Array,k=E&&E.prototype,x=s.Uint8ClampedArray,O=x&&x.prototype,I=E&&y(E),R=k&&y(k),j=Object.prototype,B=s.TypeError,P=w("toStringTag"),T=_("TYPED_ARRAY_TAG"),z="TypedArrayConstructor",N=u&&!!v&&"Opera"!==l(s.opera),L=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},q={BigInt64Array:8,BigUint64Array:8},U=function(t){if(!c(t))return!1;var e=l(t);return"DataView"===e||h(C,e)||h(q,e)},D=function(t){var e=y(t);if(c(e)){var r=A(e);return r&&h(r,z)?r[z]:D(e)}},F=function(t){if(!c(t))return!1;var e=l(t);return h(C,e)||h(q,e)},K=function(t){if(F(t))return t;throw B("Target is not a typed array")},H=function(t){if(f(t)&&(!v||m(I,t)))return t;throw B(d(t)+" is not a typed array constructor")},W=function(t,e,r,n){if(a){if(r)for(var i in C){var o=s[i];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(u){try{o.prototype[t]=e}catch(f){}}}R[t]&&!r||b(R,t,r?e:N&&k[t]||e,n)}},V=function(t,e,r){var n,i;if(a){if(v){if(r)for(n in C)if(i=s[n],i&&h(i,t))try{delete i[t]}catch(o){}if(I[t]&&!r)return;try{return b(I,t,r?e:N&&I[t]||e)}catch(o){}}for(n in C)i=s[n],!i||i[t]&&!r||b(i,t,e)}};for(n in C)i=s[n],o=i&&i.prototype,o?S(o)[z]=i:N=!1;for(n in q)i=s[n],o=i&&i.prototype,o&&(S(o)[z]=i);if((!N||!f(I)||I===Function.prototype)&&(I=function(){throw B("Incorrect invocation")},N))for(n in C)s[n]&&v(s[n],I);if((!N||!R||R===j)&&(R=I.prototype,N))for(n in C)s[n]&&v(s[n].prototype,R);if(N&&y(O)!==R&&v(O,R),a&&!h(R,P))for(n in L=!0,g(R,P,{configurable:!0,get:function(){return c(this)?this[T]:void 0}}),C)s[n]&&p(s[n],T,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:L&&T,aTypedArray:K,aTypedArrayConstructor:H,exportTypedArrayMethod:W,exportTypedArrayStaticMethod:V,getTypedArrayConstructor:D,isView:U,isTypedArray:F,TypedArray:I,TypedArrayPrototype:R}},7745:function(t,e,r){var n=r(6244);t.exports=function(t,e){var r=0,i=n(e),o=new t(i);while(i>r)o[r]=e[r++];return o}},1318:function(t,e,r){var n=r(5656),i=r(1400),o=r(6244),u=function(t){return function(e,r,u){var a,s=n(e),f=o(s),c=i(u,f);if(t&&r!=r){while(f>c)if(a=s[c++],a!=a)return!0}else for(;f>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},3658:function(t,e,r){"use strict";var n=r(9781),i=r(3157),o=TypeError,u=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!u(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},1843:function(t,e,r){var n=r(6244);t.exports=function(t,e){for(var r=n(t),i=new e(r),o=0;o<r;o++)i[o]=t[r-o-1];return i}},1572:function(t,e,r){var n=r(6244),i=r(9303),o=RangeError;t.exports=function(t,e,r,u){var a=n(t),s=i(r),f=s<0?a+s:s;if(f>=a||f<0)throw o("Incorrect index");for(var c=new e(a),h=0;h<a;h++)c[h]=h===f?u:t[h];return c}},4326:function(t,e,r){var n=r(1702),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:function(t,e,r){var n=r(1694),i=r(614),o=r(4326),u=r(5112),a=u("toStringTag"),s=Object,f="Arguments"==o(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(r){}};t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=c(e=s(t),a))?r:f?o(e):"Object"==(n=o(e))&&i(e.callee)?"Arguments":n}},9920:function(t,e,r){var n=r(2597),i=r(3887),o=r(1236),u=r(3070);t.exports=function(t,e,r){for(var a=i(e),s=u.f,f=o.f,c=0;c<a.length;c++){var h=a[c];n(t,h)||r&&n(r,h)||s(t,h,f(e,h))}}},8544:function(t,e,r){var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},8880:function(t,e,r){var n=r(9781),i=r(3070),o=r(9114);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7045:function(t,e,r){var n=r(6339),i=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},8052:function(t,e,r){var n=r(614),i=r(3070),o=r(6339),u=r(3072);t.exports=function(t,e,r,a){a||(a={});var s=a.enumerable,f=void 0!==a.name?a.name:e;if(n(r)&&o(r,f,a),a.global)s?t[e]=r:u(e,r);else{try{a.unsafe?t[e]&&(s=!0):delete t[e]}catch(c){}s?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},3072:function(t,e,r){var n=r(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},5117:function(t,e,r){"use strict";var n=r(6330),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+n(e)+" of "+n(t))}},9781:function(t,e,r){var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,r="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:function(t,e,r){var n=r(7854),i=r(111),o=n.document,u=i(o)&&i(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},7207:function(t){var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,r){var n,i,o=r(7854),u=r(8113),a=o.process,s=o.Deno,f=a&&a.versions||s&&s.version,c=f&&f.v8;c&&(n=c.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&u&&(n=u.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,r){var n=r(7854),i=r(1236).f,o=r(8880),u=r(8052),a=r(3072),s=r(9920),f=r(4705);t.exports=function(t,e){var r,c,h,l,d,p,b=t.target,g=t.global,m=t.stat;if(c=g?n:m?n[b]||a(b,{}):(n[b]||{}).prototype,c)for(h in e){if(d=e[h],t.dontCallGetSet?(p=i(c,h),l=p&&p.value):l=c[h],r=f(g?h:b+(m?".":"#")+h,t.forced),!r&&void 0!==l){if(typeof d==typeof l)continue;s(d,l)}(t.sham||l&&l.sham)&&o(d,"sham",!0),u(c,h,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,r){var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,r){var n=r(4374),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,r){var n=r(9781),i=r(2597),o=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),s=a&&"something"===function(){}.name,f=a&&(!n||n&&u(o,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:f}},5668:function(t,e,r){var n=r(1702),i=r(9662);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(o){}}},1702:function(t,e,r){var n=r(4374),i=Function.prototype,o=i.call,u=n&&i.bind.bind(o,o);t.exports=n?u:function(t){return function(){return o.apply(t,arguments)}}},5005:function(t,e,r){var n=r(7854),i=r(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},8173:function(t,e,r){var n=r(9662),i=r(8554);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:function(t,e,r){var n=r(1702),i=r(7908),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,r){var n=r(9781),i=r(7293),o=r(317);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,r){var n=r(1702),i=r(7293),o=r(4326),u=Object,a=n("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):u(t)}:u},2788:function(t,e,r){var n=r(1702),i=r(614),o=r(5465),u=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return u(t)}),t.exports=o.inspectSource},9909:function(t,e,r){var n,i,o,u=r(4811),a=r(7854),s=r(111),f=r(8880),c=r(2597),h=r(5465),l=r(6200),d=r(3501),p="Object already initialized",b=a.TypeError,g=a.WeakMap,m=function(t){return o(t)?i(t):n(t,{})},y=function(t){return function(e){var r;if(!s(e)||(r=i(e)).type!==t)throw b("Incompatible receiver, "+t+" required");return r}};if(u||h.state){var v=h.state||(h.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw b(p);return e.facade=t,v.set(t,e),e},i=function(t){return v.get(t)||{}},o=function(t){return v.has(t)}}else{var w=l("state");d[w]=!0,n=function(t,e){if(c(t,w))throw b(p);return e.facade=t,f(t,w,e),e},i=function(t){return c(t,w)?t[w]:{}},o=function(t){return c(t,w)}}t.exports={set:n,get:i,has:o,enforce:m,getterFor:y}},3157:function(t,e,r){var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4067:function(t,e,r){var n=r(648);t.exports=function(t){var e=n(t);return"BigInt64Array"==e||"BigUint64Array"==e}},614:function(t,e,r){var n=r(4154),i=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},4705:function(t,e,r){var n=r(7293),i=r(614),o=/#|\.prototype\./,u=function(t,e){var r=s[a(t)];return r==c||r!=f&&(i(e)?n(e):!!e)},a=u.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=u.data={},f=u.NATIVE="N",c=u.POLYFILL="P";t.exports=u},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,r){var n=r(614),i=r(4154),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===o}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:function(t){t.exports=!1},2190:function(t,e,r){var n=r(5005),i=r(614),o=r(7976),u=r(3307),a=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,a(t))}},6244:function(t,e,r){var n=r(7466);t.exports=function(t){return n(t.length)}},6339:function(t,e,r){var n=r(1702),i=r(7293),o=r(614),u=r(2597),a=r(9781),s=r(6530).CONFIGURABLE,f=r(2788),c=r(9909),h=c.enforce,l=c.get,d=String,p=Object.defineProperty,b=n("".slice),g=n("".replace),m=n([].join),y=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),v=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===b(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!u(t,"name")||s&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&u(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&u(r,"constructor")&&r.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var n=h(t);return u(n,"source")||(n.source=m(v,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&l(this).source||f(this)}),"toString")},4758:function(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3070:function(t,e,r){var n=r(9781),i=r(4664),o=r(3353),u=r(9670),a=r(4948),s=TypeError,f=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",l="configurable",d="writable";e.f=n?o?function(t,e,r){if(u(t),e=a(e),u(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=c(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:l in r?r[l]:n[l],enumerable:h in r?r[h]:n[h],writable:!1})}return f(t,e,r)}:f:function(t,e,r){if(u(t),e=a(e),u(r),i)try{return f(t,e,r)}catch(n){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:function(t,e,r){var n=r(9781),i=r(6916),o=r(5296),u=r(9114),a=r(5656),s=r(4948),f=r(2597),c=r(4664),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=a(t),e=s(e),c)try{return h(t,e)}catch(r){}if(f(t,e))return u(!i(o.f,t,e),t[e])}},8006:function(t,e,r){var n=r(6324),i=r(748),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},9518:function(t,e,r){var n=r(2597),i=r(614),o=r(7908),u=r(6200),a=r(8544),s=u("IE_PROTO"),f=Object,c=f.prototype;t.exports=a?f.getPrototypeOf:function(t){var e=o(t);if(n(e,s))return e[s];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof f?c:null}},7976:function(t,e,r){var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:function(t,e,r){var n=r(1702),i=r(2597),o=r(5656),u=r(1318).indexOf,a=r(3501),s=n([].push);t.exports=function(t,e){var r,n=o(t),f=0,c=[];for(r in n)!i(a,r)&&i(n,r)&&s(c,r);while(e.length>f)i(n,r=e[f++])&&(~u(c,r)||s(c,r));return c}},5296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:function(t,e,r){var n=r(5668),i=r(9670),o=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(u){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},2140:function(t,e,r){var n=r(6916),i=r(614),o=r(111),u=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&i(r=t.toString)&&!o(a=n(r,t)))return a;if(i(r=t.valueOf)&&!o(a=n(r,t)))return a;if("string"!==e&&i(r=t.toString)&&!o(a=n(r,t)))return a;throw u("Can't convert object to primitive value")}},3887:function(t,e,r){var n=r(5005),i=r(1702),o=r(8006),u=r(5181),a=r(9670),s=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=u.f;return r?s(e,r(t)):e}},7066:function(t,e,r){"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4488:function(t,e,r){var n=r(8554),i=TypeError;t.exports=function(t){if(n(t))throw i("Can't call method on "+t);return t}},6200:function(t,e,r){var n=r(2309),i=r(9711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,r){var n=r(7854),i=r(3072),o="__core-js_shared__",u=n[o]||i(o,{});t.exports=u},2309:function(t,e,r){var n=r(1913),i=r(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,r){var n=r(7392),i=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:function(t,e,r){var n=r(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},4599:function(t,e,r){var n=r(7593),i=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw i("Can't convert number to bigint");return BigInt(e)}},5656:function(t,e,r){var n=r(8361),i=r(4488);t.exports=function(t){return n(i(t))}},9303:function(t,e,r){var n=r(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},7466:function(t,e,r){var n=r(9303),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},7908:function(t,e,r){var n=r(4488),i=Object;t.exports=function(t){return i(n(t))}},7593:function(t,e,r){var n=r(6916),i=r(111),o=r(2190),u=r(8173),a=r(2140),s=r(5112),f=TypeError,c=s("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,s=u(t,c);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!i(r)||o(r))return r;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,r){var n=r(7593),i=r(2190);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},1694:function(t,e,r){var n=r(5112),i=n("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},9711:function(t,e,r){var n=r(1702),i=0,o=Math.random(),u=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++i+o,36)}},3307:function(t,e,r){var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,r){var n=r(9781),i=r(7293);t.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,r){var n=r(7854),i=r(614),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},5112:function(t,e,r){var n=r(7854),i=r(2309),o=r(2597),u=r(9711),a=r(6293),s=r(3307),f=n.Symbol,c=i("wks"),h=s?f["for"]||f:f&&f.withoutSetter||u;t.exports=function(t){return o(c,t)||(c[t]=a&&o(f,t)?f[t]:h("Symbol."+t)),c[t]}},7658:function(t,e,r){"use strict";var n=r(2109),i=r(7908),o=r(6244),u=r(3658),a=r(7207),s=r(7293),f=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=f||!c();n({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=i(this),r=o(e),n=arguments.length;a(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return u(e,r),r}})},541:function(t,e,r){"use strict";var n=r(2109),i=r(7908),o=r(6244),u=r(3658),a=r(5117),s=r(7207),f=1!==[].unshift(0),c=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}},h=f||!c();n({target:"Array",proto:!0,arity:1,forced:h},{unshift:function(t){var e=i(this),r=o(e),n=arguments.length;if(n){s(r+n);var f=r;while(f--){var c=f+n;f in e?e[c]=e[f]:a(e,c)}for(var h=0;h<n;h++)e[h]=arguments[h]}return u(e,r+n)}})},2087:function(t,e,r){var n=r(7854),i=r(9781),o=r(7045),u=r(7066),a=r(7293),s=n.RegExp,f=s.prototype,c=i&&a((function(){var t=!0;try{s(".","d")}catch(c){t=!1}var e={},r="",n=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var u in t&&(o.hasIndices="d"),o)i(u,o[u]);var a=Object.getOwnPropertyDescriptor(f,"flags").get.call(e);return a!==n||r!==n}));c&&o(f,"flags",{configurable:!0,get:u})},1439:function(t,e,r){"use strict";var n=r(1843),i=r(260),o=i.aTypedArray,u=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;u("toReversed",(function(){return n(o(this),a(this))}))},7585:function(t,e,r){"use strict";var n=r(260),i=r(1702),o=r(9662),u=r(7745),a=n.aTypedArray,s=n.getTypedArrayConstructor,f=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);f("toSorted",(function(t){void 0!==t&&o(t);var e=a(this),r=u(s(e),e);return c(r,t)}))},5315:function(t,e,r){"use strict";var n=r(1572),i=r(260),o=r(4067),u=r(9303),a=r(4599),s=i.aTypedArray,f=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();c("with",{with:function(t,e){var r=s(this),i=u(t),c=o(r)?a(e):+e;return n(r,f(r),i,c)}}["with"],!h)},3767:function(t,e,r){r(1439)},8585:function(t,e,r){r(7585)},8696:function(t,e,r){r(5315)},4108:function(t,e,r){"use strict";var n=r(4478),i=r(2409);function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r(7658);var a,s,f=r(3200),c=f.codes,h=c.ERR_AMBIGUOUS_ARGUMENT,l=c.ERR_INVALID_ARG_TYPE,d=c.ERR_INVALID_ARG_VALUE,p=c.ERR_INVALID_RETURN_VALUE,b=c.ERR_MISSING_ARGS,g=r(7604),m=r(9162),y=m.inspect,v=r(9162).types,w=v.isPromise,_=v.isRegExp,M=Object.assign?Object.assign:r(8486).assign,S=Object.is?Object.is:r(2095);new Map;function A(){var t=r(2893);a=t.isDeepEqual,s=t.isDeepStrictEqual}var E=!1,k=t.exports=j,x={};function O(t){if(t.message instanceof Error)throw t.message;throw new g(t)}function I(t,e,r,o,u){var a,s=arguments.length;if(0===s)a="Failed";else if(1===s)r=t,t=void 0;else{if(!1===E){E=!0;var f=n.emitWarning?n.emitWarning:i.warn.bind(i);f("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===s&&(o="!=")}if(r instanceof Error)throw r;var c={actual:t,expected:e,operator:void 0===o?"fail":o,stackStartFn:u||I};void 0!==r&&(c.message=r);var h=new g(c);throw a&&(h.message=a,h.generatedMessage=!0),h}function R(t,e,r,n){if(!r){var i=!1;if(0===e)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new g({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw o.generatedMessage=i,o}}function j(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];R.apply(void 0,[j,e.length].concat(e))}function B(t,e,r){if(arguments.length<2)throw new b("actual","expected");void 0===a&&A(),s(t,e)&&O({actual:t,expected:e,message:r,operator:"notDeepStrictEqual",stackStartFn:B})}k.fail=I,k.AssertionError=g,k.ok=j,k.equal=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");e!=r&&O({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},k.notEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");e==r&&O({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},k.deepEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");void 0===a&&A(),a(e,r)||O({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},k.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");void 0===a&&A(),a(e,r)&&O({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},k.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");void 0===a&&A(),s(e,r)||O({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},k.notDeepStrictEqual=B,k.strictEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");S(e,r)||O({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},k.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new b("actual","expected");S(e,r)&&O({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var P=function t(e,r,n){var i=this;u(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"===typeof n[t]&&_(e[t])&&e[t].test(n[t])?i[t]=n[t]:i[t]=e[t])}))};function T(t,e,r,n,i,o){if(!(r in t)||!s(t[r],e[r])){if(!n){var u=new P(t,i),a=new P(e,i,t),f=new g({actual:u,expected:a,operator:"deepStrictEqual",stackStartFn:o});throw f.actual=t,f.expected=e,f.operator=o.name,f}O({actual:t,expected:e,message:n,operator:o.name,stackStartFn:o})}}function z(t,e,r,n){if("function"!==typeof e){if(_(e))return e.test(t);if(2===arguments.length)throw new l("expected",["Function","RegExp"],e);if("object"!==o(t)||null===t){var i=new g({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw i.operator=n.name,i}var u=Object.keys(e);if(e instanceof Error)u.push("name","message");else if(0===u.length)throw new d("error",e,"may not be an empty object");return void 0===a&&A(),u.forEach((function(i){"string"===typeof t[i]&&_(e[i])&&e[i].test(t[i])||T(t,e,i,r,u,n)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function N(t){if("function"!==typeof t)throw new l("fn","Function",t);try{t()}catch(e){return e}return x}function L(t){return w(t)||null!==t&&"object"===o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function C(t){return Promise.resolve().then((function(){var e;if("function"===typeof t){if(e=t(),!L(e))throw new p("instance of Promise","promiseFn",e)}else{if(!L(t))throw new l("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return x})).catch((function(t){return t}))}))}function q(t,e,r,n){if("string"===typeof r){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],r);if("object"===o(e)&&null!==e){if(e.message===r)throw new h("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new h("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==o(r)&&"function"!==typeof r)throw new l("error",["Object","Error","Function","RegExp"],r);if(e===x){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var u="rejects"===t.name?"rejection":"exception";O({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(u).concat(i),stackStartFn:t})}if(r&&!z(e,r,n,t))throw e}function U(t,e,r,n){if(e!==x){if("string"===typeof r&&(n=r,r=void 0),!r||z(e,r)){var i=n?": ".concat(n):".",o="doesNotReject"===t.name?"rejection":"exception";O({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function D(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];R.apply(void 0,[D,e.length].concat(e))}k.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];q.apply(void 0,[t,N(e)].concat(n))},k.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return C(e).then((function(e){return q.apply(void 0,[t,e].concat(n))}))},k.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];U.apply(void 0,[t,N(e)].concat(n))},k.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return C(e).then((function(e){return U.apply(void 0,[t,e].concat(n))}))},k.ifError=function t(e){if(null!==e&&void 0!==e){var r="ifError got unwanted exception: ";"object"===o(e)&&"string"===typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=y(e);var n=new g({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),i=e.stack;if("string"===typeof i){var u=i.split("\n");u.shift();for(var a=n.stack.split("\n"),s=0;s<u.length;s++){var f=a.indexOf(u[s]);if(-1!==f){a=a.slice(0,f);break}}n.stack="".concat(a.join("\n"),"\n").concat(u.join("\n"))}throw n}},k.strict=M(D,k,{equal:k.strictEqual,deepEqual:k.deepStrictEqual,notEqual:k.notStrictEqual,notDeepEqual:k.notDeepStrictEqual}),k.strict.strict=k.strict},7604:function(t,e,r){"use strict";var n=r(4478);function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e,r){return e&&a(t.prototype,e),r&&a(t,r),t}function f(t,e){return!e||"object"!==y(e)&&"function"!==typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}function l(t){var e="function"===typeof Map?new Map:void 0;return l=function(t){if(null===t||!b(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return p(t,arguments,m(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,t)},l(t)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function p(t,e,r){return p=d()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var i=Function.bind.apply(t,n),o=new i;return r&&g(o,r.prototype),o},p.apply(null,arguments)}function b(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function g(t,e){return g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},g(t,e)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function y(t){return y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}r(7658);var v=r(9162),w=v.inspect,_=r(3200),M=_.codes.ERR_INVALID_ARG_TYPE;function S(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function A(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;e=Math.floor(Math.log(e)/Math.log(2));while(e)t+=t,e--;return t+=t.substring(0,r-t.length),t}var E="",k="",x="",O="",I={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},R=10;function j(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function B(t){return w(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function P(t,e,r){var i="",o="",u=0,a="",s=!1,f=B(t),c=f.split("\n"),h=B(e).split("\n"),l=0,d="";if("strictEqual"===r&&"object"===y(t)&&"object"===y(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===c.length&&1===h.length&&c[0]!==h[0]){var p=c[0].length+h[0].length;if(p<=R){if(("object"!==y(t)||null===t)&&("object"!==y(e)||null===e)&&(0!==t||0!==e))return"".concat(I[r],"\n\n")+"".concat(c[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==r){var b=n.stderr&&n.stderr.isTTY?n.stderr.columns:80;if(p<b){while(c[0][l]===h[0][l])l++;l>2&&(d="\n ".concat(A(" ",l),"^"),l=0)}}}var g=c[c.length-1],m=h[h.length-1];while(g===m){if(l++<2?a="\n ".concat(g).concat(a):i=g,c.pop(),h.pop(),0===c.length||0===h.length)break;g=c[c.length-1],m=h[h.length-1]}var v=Math.max(c.length,h.length);if(0===v){var w=f.split("\n");if(w.length>30){w[26]="".concat(E,"...").concat(O);while(w.length>27)w.pop()}return"".concat(I.notIdentical,"\n\n").concat(w.join("\n"),"\n")}l>3&&(a="\n".concat(E,"...").concat(O).concat(a),s=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var _=0,M=I[r]+"\n".concat(k,"+ actual").concat(O," ").concat(x,"- expected").concat(O),j=" ".concat(E,"...").concat(O," Lines skipped");for(l=0;l<v;l++){var P=l-u;if(c.length<l+1)P>1&&l>2&&(P>4?(o+="\n".concat(E,"...").concat(O),s=!0):P>3&&(o+="\n ".concat(h[l-2]),_++),o+="\n ".concat(h[l-1]),_++),u=l,i+="\n".concat(x,"-").concat(O," ").concat(h[l]),_++;else if(h.length<l+1)P>1&&l>2&&(P>4?(o+="\n".concat(E,"...").concat(O),s=!0):P>3&&(o+="\n ".concat(c[l-2]),_++),o+="\n ".concat(c[l-1]),_++),u=l,o+="\n".concat(k,"+").concat(O," ").concat(c[l]),_++;else{var T=h[l],z=c[l],N=z!==T&&(!S(z,",")||z.slice(0,-1)!==T);N&&S(T,",")&&T.slice(0,-1)===z&&(N=!1,z+=","),N?(P>1&&l>2&&(P>4?(o+="\n".concat(E,"...").concat(O),s=!0):P>3&&(o+="\n ".concat(c[l-2]),_++),o+="\n ".concat(c[l-1]),_++),u=l,o+="\n".concat(k,"+").concat(O," ").concat(z),i+="\n".concat(x,"-").concat(O," ").concat(T),_+=2):(o+=i,i="",1!==P&&0!==l||(o+="\n ".concat(z),_++))}if(_>20&&l<v-2)return"".concat(M).concat(j,"\n").concat(o,"\n").concat(E,"...").concat(O).concat(i,"\n")+"".concat(E,"...").concat(O)}return"".concat(M).concat(s?j:"","\n").concat(o).concat(i).concat(a).concat(d)}var T=function(t){function e(t){var r;if(u(this,e),"object"!==y(t)||null===t)throw new M("options","Object",t);var i=t.message,o=t.operator,a=t.stackStartFn,s=t.actual,h=t.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)r=f(this,m(e).call(this,String(i)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(E="[34m",k="[32m",O="[39m",x="[31m"):(E="",k="",O="",x="")),"object"===y(s)&&null!==s&&"object"===y(h)&&null!==h&&"stack"in s&&s instanceof Error&&"stack"in h&&h instanceof Error&&(s=j(s),h=j(h)),"deepStrictEqual"===o||"strictEqual"===o)r=f(this,m(e).call(this,P(s,h,o)));else if("notDeepStrictEqual"===o||"notStrictEqual"===o){var d=I[o],p=B(s).split("\n");if("notStrictEqual"===o&&"object"===y(s)&&null!==s&&(d=I.notStrictEqualObject),p.length>30){p[26]="".concat(E,"...").concat(O);while(p.length>27)p.pop()}r=1===p.length?f(this,m(e).call(this,"".concat(d," ").concat(p[0]))):f(this,m(e).call(this,"".concat(d,"\n\n").concat(p.join("\n"),"\n")))}else{var b=B(s),g="",v=I[o];"notDeepEqual"===o||"notEqual"===o?(b="".concat(I[o],"\n\n").concat(b),b.length>1024&&(b="".concat(b.slice(0,1021),"..."))):(g="".concat(B(h)),b.length>512&&(b="".concat(b.slice(0,509),"...")),g.length>512&&(g="".concat(g.slice(0,509),"...")),"deepEqual"===o||"equal"===o?b="".concat(v,"\n\n").concat(b,"\n\nshould equal\n\n"):g=" ".concat(o," ").concat(g)),r=f(this,m(e).call(this,"".concat(b).concat(g)))}return Error.stackTraceLimit=l,r.generatedMessage=!i,Object.defineProperty(c(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=s,r.expected=h,r.operator=o,Error.captureStackTrace&&Error.captureStackTrace(c(r),a),r.stack,r.name="AssertionError",f(r)}return h(e,t),s(e,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:w.custom,value:function(t,e){return w(this,i({},e,{customInspect:!1,depth:0}))}}]),e}(l(Error));t.exports=T},3200:function(t,e,r){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){return!e||"object"!==n(e)&&"function"!==typeof e?u(t):e}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}var c,h,l={};function d(t,e,r){function n(t,r,n){return"string"===typeof e?e:e(t,r,n)}r||(r=Error);var u=function(e){function r(e,u,s){var f;return i(this,r),f=o(this,a(r).call(this,n(e,u,s))),f.code=t,f}return s(r,e),r}(r);l[t]=u}function p(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}function b(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function g(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function m(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}d("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),d("ERR_INVALID_ARG_TYPE",(function(t,e,i){var o,u;if(void 0===c&&(c=r(4108)),c("string"===typeof t,"'name' must be a string"),"string"===typeof e&&b(e,"not ")?(o="must not be",e=e.replace(/^not /,"")):o="must be",g(t," argument"))u="The ".concat(t," ").concat(o," ").concat(p(e,"type"));else{var a=m(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(a," ").concat(o," ").concat(p(e,"type"))}return u+=". Received type ".concat(n(i)),u}),TypeError),d("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===h&&(h=r(9162));var i=h.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),d("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")}),TypeError),d("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===c&&(c=r(4108)),c(e.length>0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments");break}return"".concat(i," must be specified")}),TypeError),t.exports.codes=l},2893:function(t,e,r){"use strict";function n(t,e){return u(t)||o(t,e)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function o(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var u,a=t[Symbol.iterator]();!(n=(u=a.next()).done);n=!0)if(r.push(u.value),e&&r.length===e)break}catch(s){i=!0,o=s}finally{try{n||null==a["return"]||a["return"]()}finally{if(i)throw o}}return r}function u(t){if(Array.isArray(t))return t}function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}r(7658),r(2087),r(3767),r(8585),r(8696);var s=void 0!==/a/g.flags,f=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},c=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},h=Object.is?Object.is:r(2095),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},d=Number.isNaN?Number.isNaN:r(9749);function p(t){return t.call.bind(t)}var b=p(Object.prototype.hasOwnProperty),g=p(Object.prototype.propertyIsEnumerable),m=p(Object.prototype.toString),y=r(9162).types,v=y.isAnyArrayBuffer,w=y.isArrayBufferView,_=y.isDate,M=y.isMap,S=y.isRegExp,A=y.isSet,E=y.isNativeError,k=y.isBoxedPrimitive,x=y.isNumberObject,O=y.isStringObject,I=y.isBooleanObject,R=y.isBigIntObject,j=y.isSymbolObject,B=y.isFloat32Array,P=y.isFloat64Array;function T(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function z(t){return Object.keys(t).filter(T).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}
|
2
|
+
/*!
|
3
|
+
* The buffer module from node.js, for the browser.
|
4
|
+
*
|
5
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
6
|
+
* @license MIT
|
7
|
+
*/function N(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}var L=void 0,C=!0,q=!1,U=0,D=1,F=2,K=3;function H(t,e){return s?t.source===e.source&&t.flags===e.flags:RegExp.prototype.toString.call(t)===RegExp.prototype.toString.call(e)}function W(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}function V(t,e){return t.byteLength===e.byteLength&&0===N(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function $(t,e){return t.byteLength===e.byteLength&&0===N(new Uint8Array(t),new Uint8Array(e))}function G(t,e){return x(t)?x(e)&&h(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):O(t)?O(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):I(t)?I(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):R(t)?R(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):j(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}function Z(t,e,r,n){if(t===e)return 0!==t||(!r||h(t,e));if(r){if("object"!==a(t))return"number"===typeof t&&d(t)&&d(e);if("object"!==a(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==a(t))return(null===e||"object"!==a(e))&&t==e;if(null===e||"object"!==a(e))return!1}var i=m(t),o=m(e);if(i!==o)return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var u=z(t,L),s=z(e,L);return u.length===s.length&&J(t,e,r,n,D,u)}if("[object Object]"===i&&(!M(t)&&M(e)||!A(t)&&A(e)))return!1;if(_(t)){if(!_(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(S(t)){if(!S(e)||!H(t,e))return!1}else if(E(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(w(t)){if(r||!B(t)&&!P(t)){if(!V(t,e))return!1}else if(!W(t,e))return!1;var f=z(t,L),c=z(e,L);return f.length===c.length&&J(t,e,r,n,U,f)}if(A(t))return!(!A(e)||t.size!==e.size)&&J(t,e,r,n,F);if(M(t))return!(!M(e)||t.size!==e.size)&&J(t,e,r,n,K);if(v(t)){if(!$(t,e))return!1}else if(k(t)&&!G(t,e))return!1}return J(t,e,r,n,U)}function Y(t,e){return e.filter((function(e){return g(t,e)}))}function J(t,e,r,n,i,o){if(5===arguments.length){o=Object.keys(t);var u=Object.keys(e);if(o.length!==u.length)return!1}for(var a=0;a<o.length;a++)if(!b(e,o[a]))return!1;if(r&&5===arguments.length){var s=l(t);if(0!==s.length){var f=0;for(a=0;a<s.length;a++){var c=s[a];if(g(t,c)){if(!g(e,c))return!1;o.push(c),f++}else if(g(e,c))return!1}var h=l(e);if(s.length!==h.length&&Y(e,h).length!==f)return!1}else{var d=l(e);if(0!==d.length&&0!==Y(e,d).length)return!1}}if(0===o.length&&(i===U||i===D&&0===t.length||0===t.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var p=n.val1.get(t);if(void 0!==p){var m=n.val2.get(e);if(void 0!==m)return p===m}n.position++}n.val1.set(t,n.position),n.val2.set(e,n.position);var y=ot(t,e,r,o,n,i);return n.val1.delete(t),n.val2.delete(e),y}function X(t,e,r,n){for(var i=f(t),o=0;o<i.length;o++){var u=i[o];if(Z(e,u,r,n))return t.delete(u),!0}return!1}function Q(t){switch(a(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(d(t))return!1}return!0}function tt(t,e,r){var n=Q(r);return null!=n?n:e.has(n)&&!t.has(n)}function et(t,e,r,n,i){var o=Q(r);if(null!=o)return o;var u=e.get(o);return!(void 0===u&&!e.has(o)||!Z(n,u,!1,i))&&(!t.has(o)&&Z(n,u,!1,i))}function rt(t,e,r,n){for(var i=null,o=f(t),u=0;u<o.length;u++){var s=o[u];if("object"===a(s)&&null!==s)null===i&&(i=new Set),i.add(s);else if(!e.has(s)){if(r)return!1;if(!tt(t,e,s))return!1;null===i&&(i=new Set),i.add(s)}}if(null!==i){for(var c=f(e),h=0;h<c.length;h++){var l=c[h];if("object"===a(l)&&null!==l){if(!X(i,l,r,n))return!1}else if(!r&&!t.has(l)&&!X(i,l,r,n))return!1}return 0===i.size}return!0}function nt(t,e,r,n,i,o){for(var u=f(t),a=0;a<u.length;a++){var s=u[a];if(Z(r,s,i,o)&&Z(n,e.get(s),i,o))return t.delete(s),!0}return!1}function it(t,e,r,i){for(var o=null,u=c(t),s=0;s<u.length;s++){var f=n(u[s],2),h=f[0],l=f[1];if("object"===a(h)&&null!==h)null===o&&(o=new Set),o.add(h);else{var d=e.get(h);if(void 0===d&&!e.has(h)||!Z(l,d,r,i)){if(r)return!1;if(!et(t,e,h,l,i))return!1;null===o&&(o=new Set),o.add(h)}}}if(null!==o){for(var p=c(e),b=0;b<p.length;b++){var g=n(p[b],2),m=(h=g[0],g[1]);if("object"===a(h)&&null!==h){if(!nt(o,t,h,m,r,i))return!1}else if(!r&&(!t.has(h)||!Z(t.get(h),m,!1,i))&&!nt(o,t,h,m,!1,i))return!1}return 0===o.size}return!0}function ot(t,e,r,n,i,o){var u=0;if(o===F){if(!rt(t,e,r,i))return!1}else if(o===K){if(!it(t,e,r,i))return!1}else if(o===D)for(;u<t.length;u++){if(!b(t,u)){if(b(e,u))return!1;for(var a=Object.keys(t);u<a.length;u++){var s=a[u];if(!b(e,s)||!Z(t[s],e[s],r,i))return!1}return a.length===Object.keys(e).length}if(!b(e,u)||!Z(t[u],e[u],r,i))return!1}for(u=0;u<n.length;u++){var f=n[u];if(!Z(t[f],e[f],r,i))return!1}return!0}function ut(t,e){return Z(t,e,q)}function at(t,e){return Z(t,e,C)}t.exports={isDeepEqual:ut,isDeepStrictEqual:at}},4866:function(t,e,r){var n;/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */t=r.nmd(t),function(i){var o=e,u=(t&&t.exports,"object"==typeof r.g&&r.g);u.global!==u&&u.window;var a=function(t){this.message=t};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var s=function(t){throw new a(t)},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,h=function(t){t=String(t).replace(c,"");var e=t.length;e%4==0&&(t=t.replace(/==?$/,""),e=t.length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&s("Invalid character: the string to be decoded is not correctly encoded.");var r,n,i=0,o="",u=-1;while(++u<e)n=f.indexOf(t.charAt(u)),r=i%4?64*r+n:n,i++%4&&(o+=String.fromCharCode(255&r>>(-2*i&6)));return o},l=function(t){t=String(t),/[^\0-\xFF]/.test(t)&&s("The string to be encoded contains characters outside of the Latin1 range.");var e,r,n,i,o=t.length%3,u="",a=-1,c=t.length-o;while(++a<c)e=t.charCodeAt(a)<<16,r=t.charCodeAt(++a)<<8,n=t.charCodeAt(++a),i=e+r+n,u+=f.charAt(i>>18&63)+f.charAt(i>>12&63)+f.charAt(i>>6&63)+f.charAt(63&i);return 2==o?(e=t.charCodeAt(a)<<8,r=t.charCodeAt(++a),i=e+r,u+=f.charAt(i>>10)+f.charAt(i>>4&63)+f.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(a),u+=f.charAt(i>>2)+f.charAt(i<<4&63)+"=="),u},d={encode:l,decode:h,version:"1.0.0"};n=function(){return d}.call(e,r,e,t),void 0===n||(t.exports=n)}()},3964:function(t,e,r){"use strict";r(3767),r(8585),r(8696),r(7658),e.byteLength=c,e.toByteArray=l,e.fromByteArray=b;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=u.length;a<s;++a)n[a]=u[a],i[u.charCodeAt(a)]=a;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function c(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function h(t,e,r){return 3*(e+r)/4-r}function l(t){var e,r,n=f(t),u=n[0],a=n[1],s=new o(h(t,u,a)),c=0,l=a>0?u-4:u;for(r=0;r<l;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,s[c++]=255&e),1===a&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function d(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function p(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(d(n));return i.join("")}function b(t){for(var e,r=t.length,i=r%3,o=[],u=16383,a=0,s=r-i;a<s;a+=u)o.push(p(t,a,a+u>s?s:a+u));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},5233:function(t,e,r){var n;r(7658),r(3767),r(8585),r(8696),function(i){"use strict";var o,u=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,f="[BigNumber Error] ",c=f+"Number primitive has more than 15 significant digits: ",h=1e14,l=14,d=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],b=1e7,g=1e9;function m(t){var e,r,n,i=N.prototype={constructor:N,toString:null,valueOf:null},o=new N(1),E=20,k=4,x=-7,O=21,I=-1e7,R=1e7,j=!1,B=1,P=0,T={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},z="0123456789abcdefghijklmnopqrstuvwxyz";function N(t,e){var i,o,a,f,h,p,b,g,m=this;if(!(m instanceof N))return new N(t,e);if(null==e){if(t&&!0===t._isBigNumber)return m.s=t.s,void(!t.c||t.e>R?m.c=m.e=null:t.e<I?m.c=[m.e=0]:(m.e=t.e,m.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(m.s=1/t<0?(t=-t,-1):1,t===~~t){for(f=0,h=t;h>=10;h/=10,f++);return void(f>R?m.c=m.e=null:(m.e=f,m.c=[t]))}g=String(t)}else{if(!u.test(g=String(t)))return n(m,g,p);m.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(f=g.indexOf("."))>-1&&(g=g.replace(".","")),(h=g.search(/e/i))>0?(f<0&&(f=h),f+=+g.slice(h+1),g=g.substring(0,h)):f<0&&(f=g.length)}else{if(_(e,2,z.length,"Base"),10==e)return m=new N(t),U(m,E+m.e+1,k);if(g=String(t),p="number"==typeof t){if(0*t!=0)return n(m,g,p,e);if(m.s=1/t<0?(g=g.slice(1),-1):1,N.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(c+t)}else m.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(i=z.slice(0,e),f=h=0,b=g.length;h<b;h++)if(i.indexOf(o=g.charAt(h))<0){if("."==o){if(h>f){f=b;continue}}else if(!a&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){a=!0,h=-1,f=0;continue}return n(m,String(t),p,e)}p=!1,g=r(g,e,10,m.s),(f=g.indexOf("."))>-1?g=g.replace(".",""):f=g.length}for(h=0;48===g.charCodeAt(h);h++);for(b=g.length;48===g.charCodeAt(--b););if(g=g.slice(h,++b)){if(b-=h,p&&N.DEBUG&&b>15&&(t>d||t!==s(t)))throw Error(c+m.s*t);if((f=f-h-1)>R)m.c=m.e=null;else if(f<I)m.c=[m.e=0];else{if(m.e=f,m.c=[],h=(f+1)%l,f<0&&(h+=l),h<b){for(h&&m.c.push(+g.slice(0,h)),b-=l;h<b;)m.c.push(+g.slice(h,h+=l));h=l-(g=g.slice(h)).length}else h-=b;for(;h--;g+="0");m.c.push(+g)}}else m.c=[m.e=0]}function L(t,e,r,n){var i,o,u,a,s;if(null==r?r=k:_(r,0,8),!t.c)return t.toString();if(i=t.c[0],u=t.e,null==e)s=v(t.c),s=1==n||2==n&&(u<=x||u>=O)?S(s,u):A(s,u,"0");else if(t=U(new N(t),e,r),o=t.e,s=v(t.c),a=s.length,1==n||2==n&&(e<=o||o<=x)){for(;a<e;s+="0",a++);s=S(s,o)}else if(e-=u,s=A(s,o,"0"),o+1>a){if(--e>0)for(s+=".";e--;s+="0");}else if(e+=o-a,e>0)for(o+1==a&&(s+=".");e--;s+="0");return t.s<0&&i?"-"+s:s}function C(t,e){for(var r,n=1,i=new N(t[0]);n<t.length;n++){if(r=new N(t[n]),!r.s){i=r;break}e.call(i,r)&&(i=r)}return i}function q(t,e,r){for(var n=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,n++);return(r=n+r*l-1)>R?t.c=t.e=null:r<I?t.c=[t.e=0]:(t.e=r,t.c=e),t}function U(t,e,r,n){var i,o,u,f,c,d,b,g=t.c,m=p;if(g){t:{for(i=1,f=g[0];f>=10;f/=10,i++);if(o=e-i,o<0)o+=l,u=e,c=g[d=0],b=c/m[i-u-1]%10|0;else if(d=a((o+1)/l),d>=g.length){if(!n)break t;for(;g.length<=d;g.push(0));c=b=0,i=1,o%=l,u=o-l+1}else{for(c=f=g[d],i=1;f>=10;f/=10,i++);o%=l,u=o-l+i,b=u<0?0:c/m[i-u-1]%10|0}if(n=n||e<0||null!=g[d+1]||(u<0?c:c%m[i-u-1]),n=r<4?(b||n)&&(0==r||r==(t.s<0?3:2)):b>5||5==b&&(4==r||n||6==r&&(o>0?u>0?c/m[i-u]:0:g[d-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=m[(l-e%l)%l],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=d,f=1,d--):(g.length=d+1,f=m[l-o],g[d]=u>0?s(c/m[i-u]%m[u])*f:0),n)for(;;){if(0==d){for(o=1,u=g[0];u>=10;u/=10,o++);for(u=g[0]+=f,f=1;u>=10;u/=10,f++);o!=f&&(t.e++,g[0]==h&&(g[0]=1));break}if(g[d]+=f,g[d]!=h)break;g[d--]=0,f=1}for(o=g.length;0===g[--o];g.pop());}t.e>R?t.c=t.e=null:t.e<I&&(t.c=[t.e=0])}return t}function D(t){var e,r=t.e;return null===r?t.toString():(e=v(t.c),e=r<=x||r>=O?S(e,r):A(e,r,"0"),t.s<0?"-"+e:e)}return N.clone=m,N.ROUND_UP=0,N.ROUND_DOWN=1,N.ROUND_CEIL=2,N.ROUND_FLOOR=3,N.ROUND_HALF_UP=4,N.ROUND_HALF_DOWN=5,N.ROUND_HALF_EVEN=6,N.ROUND_HALF_CEIL=7,N.ROUND_HALF_FLOOR=8,N.EUCLID=9,N.config=N.set=function(t){var e,r;if(null!=t){if("object"!=typeof t)throw Error(f+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(r=t[e],_(r,0,g,e),E=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(r=t[e],_(r,0,8,e),k=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&(r=t[e],r&&r.pop?(_(r[0],-g,0,e),_(r[1],0,g,e),x=r[0],O=r[1]):(_(r,-g,g,e),x=-(O=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if(r=t[e],r&&r.pop)_(r[0],-g,-1,e),_(r[1],1,g,e),I=r[0],R=r[1];else{if(_(r,-g,g,e),!r)throw Error(f+e+" cannot be zero: "+r);I=-(R=r<0?-r:r)}if(t.hasOwnProperty(e="CRYPTO")){if(r=t[e],r!==!!r)throw Error(f+e+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw j=!r,Error(f+"crypto unavailable");j=r}else j=r}if(t.hasOwnProperty(e="MODULO_MODE")&&(r=t[e],_(r,0,9,e),B=r),t.hasOwnProperty(e="POW_PRECISION")&&(r=t[e],_(r,0,g,e),P=r),t.hasOwnProperty(e="FORMAT")){if(r=t[e],"object"!=typeof r)throw Error(f+e+" not an object: "+r);T=r}if(t.hasOwnProperty(e="ALPHABET")){if(r=t[e],"string"!=typeof r||/^.$|[+-.\s]|(.).*\1/.test(r))throw Error(f+e+" invalid: "+r);z=r}}return{DECIMAL_PLACES:E,ROUNDING_MODE:k,EXPONENTIAL_AT:[x,O],RANGE:[I,R],CRYPTO:j,MODULO_MODE:B,POW_PRECISION:P,FORMAT:T,ALPHABET:z}},N.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!N.DEBUG)return!0;var e,r,n=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(n)){if((1===o||-1===o)&&i>=-g&&i<=g&&i===s(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break t}if(e=(i+1)%l,e<1&&(e+=l),String(n[0]).length==e){for(e=0;e<n.length;e++)if(r=n[e],r<0||r>=h||r!==s(r))break t;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(f+"Invalid BigNumber: "+t)},N.maximum=N.max=function(){return C(arguments,i.lt)},N.minimum=N.min=function(){return C(arguments,i.gt)},N.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return s(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,n,i,u,c,h=0,d=[],b=new N(o);if(null==t?t=E:_(t,0,g),u=a(t/l),j)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(u*=2));h<u;)c=131072*r[h]+(r[h+1]>>>11),c>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[h]=n[0],r[h+1]=n[1]):(d.push(c%1e14),h+=2);h=u/2}else{if(!crypto.randomBytes)throw j=!1,Error(f+"crypto unavailable");for(r=crypto.randomBytes(u*=7);h<u;)c=281474976710656*(31&r[h])+1099511627776*r[h+1]+4294967296*r[h+2]+16777216*r[h+3]+(r[h+4]<<16)+(r[h+5]<<8)+r[h+6],c>=9e15?crypto.randomBytes(7).copy(r,h):(d.push(c%1e14),h+=7);h=u/7}if(!j)for(;h<u;)c=e(),c<9e15&&(d[h++]=c%1e14);for(u=d[--h],t%=l,u&&t&&(c=p[l-t],d[h]=s(u/c)*c);0===d[h];d.pop(),h--);if(h<0)d=[i=0];else{for(i=-1;0===d[0];d.splice(0,1),i-=l);for(h=1,c=d[0];c>=10;c/=10,h++);h<l&&(i-=l-h)}return b.e=i,b.c=d,b}}(),N.sum=function(){for(var t=1,e=arguments,r=new N(e[0]);t<e.length;)r=r.plus(e[t++]);return r},r=function(){var t="0123456789";function r(t,e,r,n){for(var i,o,u=[0],a=0,s=t.length;a<s;){for(o=u.length;o--;u[o]*=e);for(u[0]+=n.indexOf(t.charAt(a++)),i=0;i<u.length;i++)u[i]>r-1&&(null==u[i+1]&&(u[i+1]=0),u[i+1]+=u[i]/r|0,u[i]%=r)}return u.reverse()}return function(n,i,o,u,a){var s,f,c,h,l,d,p,b,g=n.indexOf("."),m=E,y=k;for(g>=0&&(h=P,P=0,n=n.replace(".",""),b=new N(i),d=b.pow(n.length-g),P=h,b.c=r(A(v(d.c),d.e,"0"),10,o,t),b.e=b.c.length),p=r(n,i,o,a?(s=z,t):(s=t,z)),c=h=p.length;0==p[--h];p.pop());if(!p[0])return s.charAt(0);if(g<0?--c:(d.c=p,d.e=c,d.s=u,d=e(d,b,m,y,o),p=d.c,l=d.r,c=d.e),f=c+m+1,g=p[f],h=o/2,l=l||f<0||null!=p[f+1],l=y<4?(null!=g||l)&&(0==y||y==(d.s<0?3:2)):g>h||g==h&&(4==y||l||6==y&&1&p[f-1]||y==(d.s<0?8:7)),f<1||!p[0])n=l?A(s.charAt(1),-m,s.charAt(0)):s.charAt(0);else{if(p.length=f,l)for(--o;++p[--f]>o;)p[f]=0,f||(++c,p=[1].concat(p));for(h=p.length;!p[--h];);for(g=0,n="";g<=h;n+=s.charAt(p[g++]));n=A(n,c,s.charAt(0))}return n}}(),e=function(){function t(t,e,r){var n,i,o,u,a=0,s=t.length,f=e%b,c=e/b|0;for(t=t.slice();s--;)o=t[s]%b,u=t[s]/b|0,n=c*o+u*f,i=f*o+n%b*b+a,a=(i/r|0)+(n/b|0)+c*u,t[s]=i%r;return a&&(t=[a].concat(t)),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]<e[r]?1:0,t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(n,i,o,u,a){var f,c,d,p,b,g,m,v,w,_,M,S,A,E,k,x,O,I=n.s==i.s?1:-1,R=n.c,j=i.c;if(!R||!R[0]||!j||!j[0])return new N(n.s&&i.s&&(R?!j||R[0]!=j[0]:j)?R&&0==R[0]||!j?0*I:I/0:NaN);for(v=new N(I),w=v.c=[],c=n.e-i.e,I=o+c+1,a||(a=h,c=y(n.e/l)-y(i.e/l),I=I/l|0),d=0;j[d]==(R[d]||0);d++);if(j[d]>(R[d]||0)&&c--,I<0)w.push(1),p=!0;else{for(E=R.length,x=j.length,d=0,I+=2,b=s(a/(j[0]+1)),b>1&&(j=t(j,b,a),R=t(R,b,a),x=j.length,E=R.length),A=x,_=R.slice(0,x),M=_.length;M<x;_[M++]=0);O=j.slice(),O=[0].concat(O),k=j[0],j[1]>=a/2&&k++;do{if(b=0,f=e(j,_,x,M),f<0){if(S=_[0],x!=M&&(S=S*a+(_[1]||0)),b=s(S/k),b>1){b>=a&&(b=a-1),g=t(j,b,a),m=g.length,M=_.length;while(1==e(g,_,m,M))b--,r(g,x<m?O:j,m,a),m=g.length,f=1}else 0==b&&(f=b=1),g=j.slice(),m=g.length;if(m<M&&(g=[0].concat(g)),r(_,g,M,a),M=_.length,-1==f)while(e(j,_,x,M)<1)b++,r(_,x<M?O:j,M,a),M=_.length}else 0===f&&(b++,_=[0]);w[d++]=b,_[0]?_[M++]=R[A]||0:(_=[R[A]],M=1)}while((A++<E||null!=_[0])&&I--);p=null!=_[0],w[0]||w.splice(0,1)}if(a==h){for(d=1,I=w[0];I>=10;I/=10,d++);U(v,o+(v.e=d+c*l-1)+1,u,p)}else v.e=c,v.r=+p;return v}}(),n=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,u,a,s){var c,h=a?u:u.replace(i,"");if(n.test(h))o.s=isNaN(h)?null:h<0?-1:1;else{if(!a&&(h=h.replace(t,(function(t,e,r){return c="x"==(r=r.toLowerCase())?16:"b"==r?2:8,s&&s!=c?t:e})),s&&(c=s,h=h.replace(e,"$1").replace(r,"0.$1")),u!=h))return new N(h,c);if(N.DEBUG)throw Error(f+"Not a"+(s?" base "+s:"")+" number: "+u);o.s=null}o.c=o.e=null}}(),i.absoluteValue=i.abs=function(){var t=new N(this);return t.s<0&&(t.s=1),t},i.comparedTo=function(t,e){return w(this,new N(t,e))},i.decimalPlaces=i.dp=function(t,e){var r,n,i,o=this;if(null!=t)return _(t,0,g),null==e?e=k:_(e,0,8),U(new N(o),t+o.e+1,e);if(!(r=o.c))return null;if(n=((i=r.length-1)-y(this.e/l))*l,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},i.dividedBy=i.div=function(t,r){return e(this,new N(t,r),E,k)},i.dividedToIntegerBy=i.idiv=function(t,r){return e(this,new N(t,r),0,1)},i.exponentiatedBy=i.pow=function(t,e){var r,n,i,u,c,h,d,p,b,g=this;if(t=new N(t),t.c&&!t.isInteger())throw Error(f+"Exponent not an integer: "+D(t));if(null!=e&&(e=new N(e)),h=t.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!t.c||!t.c[0])return b=new N(Math.pow(+D(g),h?2-M(t):+D(t))),e?b.mod(e):b;if(d=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new N(NaN);n=!d&&g.isInteger()&&e.isInteger(),n&&(g=g.mod(e))}else{if(t.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||h&&g.c[1]>=24e7:g.c[0]<8e13||h&&g.c[0]<=9999975e7)))return u=g.s<0&&M(t)?-0:0,g.e>-1&&(u=1/u),new N(d?1/u:u);P&&(u=a(P/l+2))}for(h?(r=new N(.5),d&&(t.s=1),p=M(t)):(i=Math.abs(+D(t)),p=i%2),b=new N(o);;){if(p){if(b=b.times(g),!b.c)break;u?b.c.length>u&&(b.c.length=u):n&&(b=b.mod(e))}if(i){if(i=s(i/2),0===i)break;p=i%2}else if(t=t.times(r),U(t,t.e+1,1),t.e>14)p=M(t);else{if(i=+D(t),0===i)break;p=i%2}g=g.times(g),u?g.c&&g.c.length>u&&(g.c.length=u):n&&(g=g.mod(e))}return n?b:(d&&(b=o.div(b)),e?b.mod(e):u?U(b,P,k,c):b)},i.integerValue=function(t){var e=new N(this);return null==t?t=k:_(t,0,8),U(e,e.e+1,t)},i.isEqualTo=i.eq=function(t,e){return 0===w(this,new N(t,e))},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(t,e){return w(this,new N(t,e))>0},i.isGreaterThanOrEqualTo=i.gte=function(t,e){return 1===(e=w(this,new N(t,e)))||0===e},i.isInteger=function(){return!!this.c&&y(this.e/l)>this.c.length-2},i.isLessThan=i.lt=function(t,e){return w(this,new N(t,e))<0},i.isLessThanOrEqualTo=i.lte=function(t,e){return-1===(e=w(this,new N(t,e)))||0===e},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&0==this.c[0]},i.minus=function(t,e){var r,n,i,o,u=this,a=u.s;if(t=new N(t,e),e=t.s,!a||!e)return new N(NaN);if(a!=e)return t.s=-e,u.plus(t);var s=u.e/l,f=t.e/l,c=u.c,d=t.c;if(!s||!f){if(!c||!d)return c?(t.s=-e,t):new N(d?u:NaN);if(!c[0]||!d[0])return d[0]?(t.s=-e,t):new N(c[0]?u:3==k?-0:0)}if(s=y(s),f=y(f),c=c.slice(),a=s-f){for((o=a<0)?(a=-a,i=c):(f=s,i=d),i.reverse(),e=a;e--;i.push(0));i.reverse()}else for(n=(o=(a=c.length)<(e=d.length))?a:e,a=e=0;e<n;e++)if(c[e]!=d[e]){o=c[e]<d[e];break}if(o&&(i=c,c=d,d=i,t.s=-t.s),e=(n=d.length)-(r=c.length),e>0)for(;e--;c[r++]=0);for(e=h-1;n>a;){if(c[--n]<d[n]){for(r=n;r&&!c[--r];c[r]=e);--c[r],c[n]+=h}c[n]-=d[n]}for(;0==c[0];c.splice(0,1),--f);return c[0]?q(t,c,f):(t.s=3==k?-1:1,t.c=[t.e=0],t)},i.modulo=i.mod=function(t,r){var n,i,o=this;return t=new N(t,r),!o.c||!t.s||t.c&&!t.c[0]?new N(NaN):!t.c||o.c&&!o.c[0]?new N(o):(9==B?(i=t.s,t.s=1,n=e(o,t,0,3),t.s=i,n.s*=i):n=e(o,t,0,B),t=o.minus(n.times(t)),t.c[0]||1!=B||(t.s=o.s),t)},i.multipliedBy=i.times=function(t,e){var r,n,i,o,u,a,s,f,c,d,p,g,m,v,w,_=this,M=_.c,S=(t=new N(t,e)).c;if(!M||!S||!M[0]||!S[0])return!_.s||!t.s||M&&!M[0]&&!S||S&&!S[0]&&!M?t.c=t.e=t.s=null:(t.s*=_.s,M&&S?(t.c=[0],t.e=0):t.c=t.e=null),t;for(n=y(_.e/l)+y(t.e/l),t.s*=_.s,s=M.length,d=S.length,s<d&&(m=M,M=S,S=m,i=s,s=d,d=i),i=s+d,m=[];i--;m.push(0));for(v=h,w=b,i=d;--i>=0;){for(r=0,p=S[i]%w,g=S[i]/w|0,u=s,o=i+u;o>i;)f=M[--u]%w,c=M[u]/w|0,a=g*f+c*p,f=p*f+a%w*w+m[o]+r,r=(f/v|0)+(a/w|0)+g*c,m[o--]=f%v;m[o]=r}return r?++n:m.splice(0,1),q(t,m,n)},i.negated=function(){var t=new N(this);return t.s=-t.s||null,t},i.plus=function(t,e){var r,n=this,i=n.s;if(t=new N(t,e),e=t.s,!i||!e)return new N(NaN);if(i!=e)return t.s=-e,n.minus(t);var o=n.e/l,u=t.e/l,a=n.c,s=t.c;if(!o||!u){if(!a||!s)return new N(i/0);if(!a[0]||!s[0])return s[0]?t:new N(a[0]?n:0*i)}if(o=y(o),u=y(u),a=a.slice(),i=o-u){for(i>0?(u=o,r=s):(i=-i,r=a),r.reverse();i--;r.push(0));r.reverse()}for(i=a.length,e=s.length,i-e<0&&(r=s,s=a,a=r,e=i),i=0;e;)i=(a[--e]=a[e]+s[e]+i)/h|0,a[e]=h===a[e]?0:a[e]%h;return i&&(a=[i].concat(a),++u),q(t,a,u)},i.precision=i.sd=function(t,e){var r,n,i,o=this;if(null!=t&&t!==!!t)return _(t,1,g),null==e?e=k:_(e,0,8),U(new N(o),t,e);if(!(r=o.c))return null;if(i=r.length-1,n=i*l+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return t&&o.e+1>n&&(n=o.e+1),n},i.shiftedBy=function(t){return _(t,-d,d),this.times("1e"+t)},i.squareRoot=i.sqrt=function(){var t,r,n,i,o,u=this,a=u.c,s=u.s,f=u.e,c=E+4,h=new N("0.5");if(1!==s||!a||!a[0])return new N(!s||s<0&&(!a||a[0])?NaN:a?u:1/0);if(s=Math.sqrt(+D(u)),0==s||s==1/0?(r=v(a),(r.length+f)%2==0&&(r+="0"),s=Math.sqrt(+r),f=y((f+1)/2)-(f<0||f%2),s==1/0?r="1e"+f:(r=s.toExponential(),r=r.slice(0,r.indexOf("e")+1)+f),n=new N(r)):n=new N(s+""),n.c[0])for(f=n.e,s=f+c,s<3&&(s=0);;)if(o=n,n=h.times(o.plus(e(u,o,c,1))),v(o.c).slice(0,s)===(r=v(n.c)).slice(0,s)){if(n.e<f&&--s,r=r.slice(s-3,s+1),"9999"!=r&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(U(n,n.e+E+2,1),t=!n.times(n).eq(u));break}if(!i&&(U(o,o.e+E+2,0),o.times(o).eq(u))){n=o;break}c+=4,s+=4,i=1}return U(n,n.e+E+1,k,t)},i.toExponential=function(t,e){return null!=t&&(_(t,0,g),t++),L(this,t,e,1)},i.toFixed=function(t,e){return null!=t&&(_(t,0,g),t=t+this.e+1),L(this,t,e)},i.toFormat=function(t,e,r){var n,i=this;if(null==r)null!=t&&e&&"object"==typeof e?(r=e,e=null):t&&"object"==typeof t?(r=t,t=e=null):r=T;else if("object"!=typeof r)throw Error(f+"Argument not an object: "+r);if(n=i.toFixed(t,e),i.c){var o,u=n.split("."),a=+r.groupSize,s=+r.secondaryGroupSize,c=r.groupSeparator||"",h=u[0],l=u[1],d=i.s<0,p=d?h.slice(1):h,b=p.length;if(s&&(o=a,a=s,s=o,b-=o),a>0&&b>0){for(o=b%a||a,h=p.substr(0,o);o<b;o+=a)h+=c+p.substr(o,a);s>0&&(h+=c+p.slice(o)),d&&(h="-"+h)}n=l?h+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?l.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):l):h}return(r.prefix||"")+n+(r.suffix||"")},i.toFraction=function(t){var r,n,i,u,a,s,c,h,d,b,g,m,y=this,w=y.c;if(null!=t&&(c=new N(t),!c.isInteger()&&(c.c||1!==c.s)||c.lt(o)))throw Error(f+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+D(c));if(!w)return new N(y);for(r=new N(o),d=n=new N(o),i=h=new N(o),m=v(w),a=r.e=m.length-y.e-1,r.c[0]=p[(s=a%l)<0?l+s:s],t=!t||c.comparedTo(r)>0?a>0?r:d:c,s=R,R=1/0,c=new N(m),h.c[0]=0;;){if(b=e(c,r,0,1),u=n.plus(b.times(i)),1==u.comparedTo(t))break;n=i,i=u,d=h.plus(b.times(u=d)),h=u,r=c.minus(b.times(u=r)),c=u}return u=e(t.minus(n),i,0,1),h=h.plus(u.times(d)),n=n.plus(u.times(i)),h.s=d.s=y.s,a*=2,g=e(d,i,a,k).minus(y).abs().comparedTo(e(h,n,a,k).minus(y).abs())<1?[d,i]:[h,n],R=s,g},i.toNumber=function(){return+D(this)},i.toPrecision=function(t,e){return null!=t&&_(t,1,g),L(this,t,e,2)},i.toString=function(t){var e,n=this,i=n.s,o=n.e;return null===o?i?(e="Infinity",i<0&&(e="-"+e)):e="NaN":(null==t?e=o<=x||o>=O?S(v(n.c),o):A(v(n.c),o,"0"):10===t?(n=U(new N(n),E+o+1,k),e=A(v(n.c),n.e,"0")):(_(t,2,z.length,"Base"),e=r(A(v(n.c),o,"0"),10,t,i,!0)),i<0&&n.c[0]&&(e="-"+e)),e},i.valueOf=i.toJSON=function(){return D(this)},i._isBigNumber=!0,null!=t&&N.set(t),N}function y(t){var e=0|t;return t>0||t===e?e:e-1}function v(t){for(var e,r,n=1,i=t.length,o=t[0]+"";n<i;){for(e=t[n++]+"",r=l-e.length;r--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function w(t,e){var r,n,i=t.c,o=e.c,u=t.s,a=e.s,s=t.e,f=e.e;if(!u||!a)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-a:u;if(u!=a)return u;if(r=u<0,n=s==f,!i||!o)return n?0:!i^r?1:-1;if(!n)return s>f^r?1:-1;for(a=(s=i.length)<(f=o.length)?s:f,u=0;u<a;u++)if(i[u]!=o[u])return i[u]>o[u]^r?1:-1;return s==f?0:s>f^r?1:-1}function _(t,e,r,n){if(t<e||t>r||t!==s(t))throw Error(f+(n||"Argument")+("number"==typeof t?t<e||t>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function M(t){var e=t.c.length-1;return y(t.e/l)==e&&t.c[e]%2!=0}function S(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function A(t,e,r){var n,i;if(e<0){for(i=r+".";++e;i+=r);t=i+t}else if(n=t.length,++e>n){for(i=r,e-=n;--e;i+=r);t+=i}else e<n&&(t=t.slice(0,e)+"."+t.slice(e));return t}o=m(),o["default"]=o.BigNumber=o,n=function(){return o}.call(e,r,e,t),void 0===n||(t.exports=n)}()},6170:function(t,e,r){t=r.nmd(t),function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var u;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{u="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(6601).Buffer}catch(R){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function f(t,e,r,i){for(var o=0,u=0,a=Math.min(t.length,r),s=e;s<a;s++){var f=t.charCodeAt(s)-48;o*=i,u=f>=49?f-49+10:f>=17?f-17+10:f,n(f>=0&&u<i,"Invalid character"),o+=u}return o}function c(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36),t=t.toString().replace(/\s+/g,"");var i=0;"-"===t[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,u,a=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)u=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=u<<a&67108863,this.words[o+1]=u>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)u=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=u<<a&67108863,this.words[o+1]=u>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,u=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=s(t,e,n)<<o,this.words[u]|=67108863&i,o>=18?(o-=18,u+=1,this.words[u]|=i>>>26):o+=8;else{var a=t.length-e;for(n=a%2===0?e+1:e;n<t.length;n+=2)i=s(t,e,n)<<o,this.words[u]|=67108863&i,o>=18?(o-=18,u+=1,this.words[u]|=i>>>26):o+=8}this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,u=o%n,a=Math.min(o,o-u)+r,s=0,c=r;c<a;c+=n)s=f(t,c,c+n,e),this.imuln(i),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s);if(0!==u){var h=1;for(s=f(t,c,t.length,e),c=0;c<u;c++)h*=e;this.imuln(h),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){c(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){while(this.length<t)this.words[this.length++]=0;return this},o.prototype._strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(R){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(t=t||10,e=0|e||1,16===t||"hex"===t){r="";for(var i=0,o=0,u=0;u<this.length;u++){var a=this.words[u],s=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,i+=2,i>=26&&(i-=26,u--),r=0!==o||u!==this.length-1?l[6-s.length]+s+r:s+r}0!==o&&(r=o.toString(16)+r);while(r.length%e!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var f=d[t],c=p[t];r="";var h=this.clone();h.negative=0;while(!h.isZero()){var b=h.modrn(c).toString(t);h=h.idivn(c),r=h.isZero()?b+r:l[f-b.length]+b+r}this.isZero()&&(r="0"+r);while(r.length%e!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},u&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(u,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};var b=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)};function g(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],u=i*o,a=67108863&u,s=u/67108864|0;r.words[0]=a;for(var f=1;f<n;f++){for(var c=s>>>26,h=67108863&s,l=Math.min(f,e.length-1),d=Math.max(0,f-t.length+1);d<=l;d++){var p=f-d|0;i=0|t.words[p],o=0|e.words[d],u=i*o+h,c+=u/67108864|0,h=67108863&u}r.words[f]=0|h,s=0|c}return 0!==s?r.words[f]=0|s:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var u=b(t,o),a="le"===e?"LE":"BE";return this["_toArrayLike"+a](u,i),u},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var u=this.words[i]<<o|n;t[r++]=255&u,r<t.length&&(t[r++]=u>>8&255),r<t.length&&(t[r++]=u>>16&255),6===o?(r<t.length&&(t[r++]=u>>24&255),n=0,o=0):(n=u>>>24,o+=2)}if(r<t.length){t[r++]=n;while(r<t.length)t[r++]=0}},o.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var u=this.words[i]<<o|n;t[r--]=255&u,r>=0&&(t[r--]=u>>8&255),r>=0&&(t[r--]=u>>16&255),6===o?(r>=0&&(t[r--]=u>>24&255),n=0,o=0):(n=u>>>24,o+=2)}if(r>=0){t[r--]=n;while(r>=0)t[r--]=0}},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){while(this.length<t.length)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,u=0;u<n.length;u++)e=(0|r.words[u])-(0|n.words[u])+o,o=e>>26,this.words[u]=67108863&e;for(;0!==o&&u<r.length;u++)e=(0|r.words[u])+o,o=e>>26,this.words[u]=67108863&e;if(0===o&&u<r.length&&r!==this)for(;u<r.length;u++)this.words[u]=r.words[u];return this.length=Math.max(this.length,u),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var y=function(t,e,r){var n,i,o,u=t.words,a=e.words,s=r.words,f=0,c=0|u[0],h=8191&c,l=c>>>13,d=0|u[1],p=8191&d,b=d>>>13,g=0|u[2],m=8191&g,y=g>>>13,v=0|u[3],w=8191&v,_=v>>>13,M=0|u[4],S=8191&M,A=M>>>13,E=0|u[5],k=8191&E,x=E>>>13,O=0|u[6],I=8191&O,R=O>>>13,j=0|u[7],B=8191&j,P=j>>>13,T=0|u[8],z=8191&T,N=T>>>13,L=0|u[9],C=8191&L,q=L>>>13,U=0|a[0],D=8191&U,F=U>>>13,K=0|a[1],H=8191&K,W=K>>>13,V=0|a[2],$=8191&V,G=V>>>13,Z=0|a[3],Y=8191&Z,J=Z>>>13,X=0|a[4],Q=8191&X,tt=X>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,ut=it>>>13,at=0|a[7],st=8191&at,ft=at>>>13,ct=0|a[8],ht=8191&ct,lt=ct>>>13,dt=0|a[9],pt=8191&dt,bt=dt>>>13;r.negative=t.negative^e.negative,r.length=19,n=Math.imul(h,D),i=Math.imul(h,F),i=i+Math.imul(l,D)|0,o=Math.imul(l,F);var gt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,D),i=Math.imul(p,F),i=i+Math.imul(b,D)|0,o=Math.imul(b,F),n=n+Math.imul(h,H)|0,i=i+Math.imul(h,W)|0,i=i+Math.imul(l,H)|0,o=o+Math.imul(l,W)|0;var mt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(m,D),i=Math.imul(m,F),i=i+Math.imul(y,D)|0,o=Math.imul(y,F),n=n+Math.imul(p,H)|0,i=i+Math.imul(p,W)|0,i=i+Math.imul(b,H)|0,o=o+Math.imul(b,W)|0,n=n+Math.imul(h,$)|0,i=i+Math.imul(h,G)|0,i=i+Math.imul(l,$)|0,o=o+Math.imul(l,G)|0;var yt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(w,D),i=Math.imul(w,F),i=i+Math.imul(_,D)|0,o=Math.imul(_,F),n=n+Math.imul(m,H)|0,i=i+Math.imul(m,W)|0,i=i+Math.imul(y,H)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(p,$)|0,i=i+Math.imul(p,G)|0,i=i+Math.imul(b,$)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(l,Y)|0,o=o+Math.imul(l,J)|0;var vt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(S,D),i=Math.imul(S,F),i=i+Math.imul(A,D)|0,o=Math.imul(A,F),n=n+Math.imul(w,H)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,H)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(m,$)|0,i=i+Math.imul(m,G)|0,i=i+Math.imul(y,$)|0,o=o+Math.imul(y,G)|0,n=n+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(b,Y)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(h,Q)|0,i=i+Math.imul(h,tt)|0,i=i+Math.imul(l,Q)|0,o=o+Math.imul(l,tt)|0;var wt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,D),i=Math.imul(k,F),i=i+Math.imul(x,D)|0,o=Math.imul(x,F),n=n+Math.imul(S,H)|0,i=i+Math.imul(S,W)|0,i=i+Math.imul(A,H)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(w,$)|0,i=i+Math.imul(w,G)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,G)|0,n=n+Math.imul(m,Y)|0,i=i+Math.imul(m,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,n=n+Math.imul(p,Q)|0,i=i+Math.imul(p,tt)|0,i=i+Math.imul(b,Q)|0,o=o+Math.imul(b,tt)|0,n=n+Math.imul(h,rt)|0,i=i+Math.imul(h,nt)|0,i=i+Math.imul(l,rt)|0,o=o+Math.imul(l,nt)|0;var _t=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(I,D),i=Math.imul(I,F),i=i+Math.imul(R,D)|0,o=Math.imul(R,F),n=n+Math.imul(k,H)|0,i=i+Math.imul(k,W)|0,i=i+Math.imul(x,H)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(S,$)|0,i=i+Math.imul(S,G)|0,i=i+Math.imul(A,$)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,n=n+Math.imul(m,Q)|0,i=i+Math.imul(m,tt)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,tt)|0,n=n+Math.imul(p,rt)|0,i=i+Math.imul(p,nt)|0,i=i+Math.imul(b,rt)|0,o=o+Math.imul(b,nt)|0,n=n+Math.imul(h,ot)|0,i=i+Math.imul(h,ut)|0,i=i+Math.imul(l,ot)|0,o=o+Math.imul(l,ut)|0;var Mt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(B,D),i=Math.imul(B,F),i=i+Math.imul(P,D)|0,o=Math.imul(P,F),n=n+Math.imul(I,H)|0,i=i+Math.imul(I,W)|0,i=i+Math.imul(R,H)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=i+Math.imul(k,G)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,G)|0,n=n+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(A,Y)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,tt)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(m,rt)|0,i=i+Math.imul(m,nt)|0,i=i+Math.imul(y,rt)|0,o=o+Math.imul(y,nt)|0,n=n+Math.imul(p,ot)|0,i=i+Math.imul(p,ut)|0,i=i+Math.imul(b,ot)|0,o=o+Math.imul(b,ut)|0,n=n+Math.imul(h,st)|0,i=i+Math.imul(h,ft)|0,i=i+Math.imul(l,st)|0,o=o+Math.imul(l,ft)|0;var St=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(z,D),i=Math.imul(z,F),i=i+Math.imul(N,D)|0,o=Math.imul(N,F),n=n+Math.imul(B,H)|0,i=i+Math.imul(B,W)|0,i=i+Math.imul(P,H)|0,o=o+Math.imul(P,W)|0,n=n+Math.imul(I,$)|0,i=i+Math.imul(I,G)|0,i=i+Math.imul(R,$)|0,o=o+Math.imul(R,G)|0,n=n+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,n=n+Math.imul(S,Q)|0,i=i+Math.imul(S,tt)|0,i=i+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(w,rt)|0,i=i+Math.imul(w,nt)|0,i=i+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(m,ot)|0,i=i+Math.imul(m,ut)|0,i=i+Math.imul(y,ot)|0,o=o+Math.imul(y,ut)|0,n=n+Math.imul(p,st)|0,i=i+Math.imul(p,ft)|0,i=i+Math.imul(b,st)|0,o=o+Math.imul(b,ft)|0,n=n+Math.imul(h,ht)|0,i=i+Math.imul(h,lt)|0,i=i+Math.imul(l,ht)|0,o=o+Math.imul(l,lt)|0;var At=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(C,D),i=Math.imul(C,F),i=i+Math.imul(q,D)|0,o=Math.imul(q,F),n=n+Math.imul(z,H)|0,i=i+Math.imul(z,W)|0,i=i+Math.imul(N,H)|0,o=o+Math.imul(N,W)|0,n=n+Math.imul(B,$)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(P,$)|0,o=o+Math.imul(P,G)|0,n=n+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,n=n+Math.imul(k,Q)|0,i=i+Math.imul(k,tt)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(S,rt)|0,i=i+Math.imul(S,nt)|0,i=i+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(w,ot)|0,i=i+Math.imul(w,ut)|0,i=i+Math.imul(_,ot)|0,o=o+Math.imul(_,ut)|0,n=n+Math.imul(m,st)|0,i=i+Math.imul(m,ft)|0,i=i+Math.imul(y,st)|0,o=o+Math.imul(y,ft)|0,n=n+Math.imul(p,ht)|0,i=i+Math.imul(p,lt)|0,i=i+Math.imul(b,ht)|0,o=o+Math.imul(b,lt)|0,n=n+Math.imul(h,pt)|0,i=i+Math.imul(h,bt)|0,i=i+Math.imul(l,pt)|0,o=o+Math.imul(l,bt)|0;var Et=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(C,H),i=Math.imul(C,W),i=i+Math.imul(q,H)|0,o=Math.imul(q,W),n=n+Math.imul(z,$)|0,i=i+Math.imul(z,G)|0,i=i+Math.imul(N,$)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(B,Y)|0,i=i+Math.imul(B,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,n=n+Math.imul(I,Q)|0,i=i+Math.imul(I,tt)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=i+Math.imul(k,nt)|0,i=i+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(S,ot)|0,i=i+Math.imul(S,ut)|0,i=i+Math.imul(A,ot)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(w,st)|0,i=i+Math.imul(w,ft)|0,i=i+Math.imul(_,st)|0,o=o+Math.imul(_,ft)|0,n=n+Math.imul(m,ht)|0,i=i+Math.imul(m,lt)|0,i=i+Math.imul(y,ht)|0,o=o+Math.imul(y,lt)|0,n=n+Math.imul(p,pt)|0,i=i+Math.imul(p,bt)|0,i=i+Math.imul(b,pt)|0,o=o+Math.imul(b,bt)|0;var kt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(C,$),i=Math.imul(C,G),i=i+Math.imul(q,$)|0,o=Math.imul(q,G),n=n+Math.imul(z,Y)|0,i=i+Math.imul(z,J)|0,i=i+Math.imul(N,Y)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(B,Q)|0,i=i+Math.imul(B,tt)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,tt)|0,n=n+Math.imul(I,rt)|0,i=i+Math.imul(I,nt)|0,i=i+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=i+Math.imul(k,ut)|0,i=i+Math.imul(x,ot)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(S,st)|0,i=i+Math.imul(S,ft)|0,i=i+Math.imul(A,st)|0,o=o+Math.imul(A,ft)|0,n=n+Math.imul(w,ht)|0,i=i+Math.imul(w,lt)|0,i=i+Math.imul(_,ht)|0,o=o+Math.imul(_,lt)|0,n=n+Math.imul(m,pt)|0,i=i+Math.imul(m,bt)|0,i=i+Math.imul(y,pt)|0,o=o+Math.imul(y,bt)|0;var xt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(C,Y),i=Math.imul(C,J),i=i+Math.imul(q,Y)|0,o=Math.imul(q,J),n=n+Math.imul(z,Q)|0,i=i+Math.imul(z,tt)|0,i=i+Math.imul(N,Q)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(B,rt)|0,i=i+Math.imul(B,nt)|0,i=i+Math.imul(P,rt)|0,o=o+Math.imul(P,nt)|0,n=n+Math.imul(I,ot)|0,i=i+Math.imul(I,ut)|0,i=i+Math.imul(R,ot)|0,o=o+Math.imul(R,ut)|0,n=n+Math.imul(k,st)|0,i=i+Math.imul(k,ft)|0,i=i+Math.imul(x,st)|0,o=o+Math.imul(x,ft)|0,n=n+Math.imul(S,ht)|0,i=i+Math.imul(S,lt)|0,i=i+Math.imul(A,ht)|0,o=o+Math.imul(A,lt)|0,n=n+Math.imul(w,pt)|0,i=i+Math.imul(w,bt)|0,i=i+Math.imul(_,pt)|0,o=o+Math.imul(_,bt)|0;var Ot=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(C,Q),i=Math.imul(C,tt),i=i+Math.imul(q,Q)|0,o=Math.imul(q,tt),n=n+Math.imul(z,rt)|0,i=i+Math.imul(z,nt)|0,i=i+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(B,ot)|0,i=i+Math.imul(B,ut)|0,i=i+Math.imul(P,ot)|0,o=o+Math.imul(P,ut)|0,n=n+Math.imul(I,st)|0,i=i+Math.imul(I,ft)|0,i=i+Math.imul(R,st)|0,o=o+Math.imul(R,ft)|0,n=n+Math.imul(k,ht)|0,i=i+Math.imul(k,lt)|0,i=i+Math.imul(x,ht)|0,o=o+Math.imul(x,lt)|0,n=n+Math.imul(S,pt)|0,i=i+Math.imul(S,bt)|0,i=i+Math.imul(A,pt)|0,o=o+Math.imul(A,bt)|0;var It=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(C,rt),i=Math.imul(C,nt),i=i+Math.imul(q,rt)|0,o=Math.imul(q,nt),n=n+Math.imul(z,ot)|0,i=i+Math.imul(z,ut)|0,i=i+Math.imul(N,ot)|0,o=o+Math.imul(N,ut)|0,n=n+Math.imul(B,st)|0,i=i+Math.imul(B,ft)|0,i=i+Math.imul(P,st)|0,o=o+Math.imul(P,ft)|0,n=n+Math.imul(I,ht)|0,i=i+Math.imul(I,lt)|0,i=i+Math.imul(R,ht)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(k,pt)|0,i=i+Math.imul(k,bt)|0,i=i+Math.imul(x,pt)|0,o=o+Math.imul(x,bt)|0;var Rt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(C,ot),i=Math.imul(C,ut),i=i+Math.imul(q,ot)|0,o=Math.imul(q,ut),n=n+Math.imul(z,st)|0,i=i+Math.imul(z,ft)|0,i=i+Math.imul(N,st)|0,o=o+Math.imul(N,ft)|0,n=n+Math.imul(B,ht)|0,i=i+Math.imul(B,lt)|0,i=i+Math.imul(P,ht)|0,o=o+Math.imul(P,lt)|0,n=n+Math.imul(I,pt)|0,i=i+Math.imul(I,bt)|0,i=i+Math.imul(R,pt)|0,o=o+Math.imul(R,bt)|0;var jt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(C,st),i=Math.imul(C,ft),i=i+Math.imul(q,st)|0,o=Math.imul(q,ft),n=n+Math.imul(z,ht)|0,i=i+Math.imul(z,lt)|0,i=i+Math.imul(N,ht)|0,o=o+Math.imul(N,lt)|0,n=n+Math.imul(B,pt)|0,i=i+Math.imul(B,bt)|0,i=i+Math.imul(P,pt)|0,o=o+Math.imul(P,bt)|0;var Bt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(C,ht),i=Math.imul(C,lt),i=i+Math.imul(q,ht)|0,o=Math.imul(q,lt),n=n+Math.imul(z,pt)|0,i=i+Math.imul(z,bt)|0,i=i+Math.imul(N,pt)|0,o=o+Math.imul(N,bt)|0;var Pt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(C,pt),i=Math.imul(C,bt),i=i+Math.imul(q,pt)|0,o=Math.imul(q,bt);var Tt=(f+n|0)+((8191&i)<<13)|0;return f=(o+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,s[0]=gt,s[1]=mt,s[2]=yt,s[3]=vt,s[4]=wt,s[5]=_t,s[6]=Mt,s[7]=St,s[8]=At,s[9]=Et,s[10]=kt,s[11]=xt,s[12]=Ot,s[13]=It,s[14]=Rt,s[15]=jt,s[16]=Bt,s[17]=Pt,s[18]=Tt,0!==f&&(s[19]=f,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var u=i;i=0;for(var a=67108863&n,s=Math.min(o,e.length-1),f=Math.max(0,o-t.length+1);f<=s;f++){var c=o-f,h=0|t.words[c],l=0|e.words[f],d=h*l,p=67108863&d;u=u+(d/67108864|0)|0,p=p+a|0,a=67108863&p,u=u+(p>>>26)|0,i+=u>>>26,u&=67108863}r.words[o]=a,n=u,u=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function w(t,e,r){return v(t,e,r)}function _(t,e){this.x=t,this.y=e}Math.imul||(y=m),o.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?y(this,t,e):n<63?m(this,t,e):n<1024?v(this,t,e):w(this,t,e),r},_.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},_.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},_.prototype.permute=function(t,e,r,n,i,o){for(var u=0;u<o;u++)n[u]=e[t[u]],i[u]=r[t[u]]},_.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var u=1;u<i;u<<=1)for(var a=u<<1,s=Math.cos(2*Math.PI/a),f=Math.sin(2*Math.PI/a),c=0;c<i;c+=a)for(var h=s,l=f,d=0;d<u;d++){var p=r[c+d],b=n[c+d],g=r[c+d+u],m=n[c+d+u],y=h*g-l*m;m=h*m+l*g,g=y,r[c+d]=p+g,n[c+d]=b+m,r[c+d+u]=p-g,n[c+d+u]=b-m,d!==a&&(y=s*h-f*l,l=s*l+f*h,h=y)}},_.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},_.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},_.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},_.prototype.convert13b=function(t,e,r,i){for(var o=0,u=0;u<e;u++)o+=0|t[u],r[2*u]=8191&o,o>>>=13,r[2*u+1]=8191&o,o>>>=13;for(u=2*e;u<i;++u)r[u]=0;n(0===o),n(0===(-8192&o))},_.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},_.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),u=new Array(n),a=new Array(n),s=new Array(n),f=new Array(n),c=new Array(n),h=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,u,n),this.convert13b(e.words,e.length,f,n),this.transform(u,o,a,s,n,i),this.transform(f,o,c,h,n,i);for(var d=0;d<n;d++){var p=a[d]*c[d]-s[d]*h[d];s[d]=a[d]*h[d]+s[d]*c[d],a[d]=p}return this.conjugate(a,s,n),this.transform(a,s,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),w(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"===typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,u=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=u>>>26,this.words[i]=67108863&u}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=g(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length;n++,r=r.sqr())if(0!==e[n])break;if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(e=0;e<this.length;e++){var a=this.words[e]&o,s=(0|this.words[e])-a<<r;this.words[e]=s|u,u=a>>>26-r}u&&(this.words[e]=u,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,u=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<<o,s=r;if(i-=u,i=Math.max(0,i),s){for(var f=0;f<u;f++)s.words[f]=this.words[f];s.length=u}if(0===u);else if(this.length>u)for(this.length-=u,f=0;f<this.length;f++)this.words[f]=this.words[f+u];else this.words[0]=0,this.length=1;var c=0;for(f=this.length-1;f>=0&&(0!==c||f>=i);f--){var h=0|this.words[f];this.words[f]=c<<26-o|h>>>o,c=h&a}return s&&0!==c&&(s.words[s.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return!1;var o=this.words[r];return!!(o&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,u=t.length+r;this._expand(u);var a=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+a;var s=(0|t.words[i])*e;o-=67108863&s,a=(o>>26)-(s/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)o=(0|this.words[i+r])+a,a=o>>26,this.words[i+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=this.length-t.length,n=this.clone(),i=t,u=0|i.words[i.length-1],a=this._countBits(u);r=26-a,0!==r&&(i=i.ushln(r),n.iushln(r),u=0|i.words[i.length-1]);var s,f=n.length-i.length;if("mod"!==e){s=new o(null),s.length=f+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,f);0===h.negative&&(n=h,s&&(s.words[f]=1));for(var l=f-1;l>=0;l--){var d=67108864*(0|n.words[i.length+l])+(0|n.words[i.length+l-1]);d=Math.min(d/u|0,67108863),n._ishlnsubmul(i,d,l);while(0!==n.negative)d--,n.negative=0,n._ishlnsubmul(i,1,l),n.isZero()||(n.negative^=1);s&&(s.words[l]=d)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(u=a.mod.neg(),r&&0!==u.negative&&u.iadd(t)),{div:i,mod:u}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(u=a.mod.neg(),r&&0!==u.negative&&u.isub(t)),{div:a.div,mod:u}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,u,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i=new o(1),u=new o(0),a=new o(0),s=new o(1),f=0;while(e.isEven()&&r.isEven())e.iushrn(1),r.iushrn(1),++f;var c=r.clone(),h=e.clone();while(!e.isZero()){for(var l=0,d=1;0===(e.words[0]&d)&&l<26;++l,d<<=1);if(l>0){e.iushrn(l);while(l-- >0)(i.isOdd()||u.isOdd())&&(i.iadd(c),u.isub(h)),i.iushrn(1),u.iushrn(1)}for(var p=0,b=1;0===(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0){r.iushrn(p);while(p-- >0)(a.isOdd()||s.isOdd())&&(a.iadd(c),s.isub(h)),a.iushrn(1),s.iushrn(1)}e.cmp(r)>=0?(e.isub(r),i.isub(a),u.isub(s)):(r.isub(e),a.isub(i),s.isub(u))}return{a:a,b:s,gcd:r.iushln(f)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i,u=new o(1),a=new o(0),s=r.clone();while(e.cmpn(1)>0&&r.cmpn(1)>0){for(var f=0,c=1;0===(e.words[0]&c)&&f<26;++f,c<<=1);if(f>0){e.iushrn(f);while(f-- >0)u.isOdd()&&u.iadd(s),u.iushrn(1)}for(var h=0,l=1;0===(r.words[0]&l)&&h<26;++h,l<<=1);if(h>0){r.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(s),a.iushrn(1)}e.cmp(r)>=0?(e.isub(r),u.isub(a)):(r.isub(e),a.isub(u))}return i=0===e.cmpn(1)?u:a,i.cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);do{while(e.isEven())e.iushrn(1);while(r.isEven())r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}while(1);return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,u=r;0!==o&&u<this.length;u++){var a=0|this.words[u];a+=o,o=a>>>26,a&=67108863,this.words[u]=a}return 0!==o&&(this.words[u]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new O(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function S(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function A(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){O.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}S.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},S.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),e=r.bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},S.prototype.split=function(t,e){t.iushrn(this.n,0,e)},S.prototype.imulK=function(t){return t.imul(this.k)},i(A,S),A.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var u=0|t.words[i];t.words[i-10]=(u&r)<<4|o>>>22,o=u}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},A.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(E,S),i(k,S),i(x,S),x.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new A;else if("p224"===t)e=new E;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new x}return M[t]=e,e},O.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},O.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},O.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},O.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},O.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},O.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},O.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},O.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},O.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},O.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},O.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},O.prototype.isqr=function(t){return this.imul(t,t.clone())},O.prototype.sqr=function(t){return this.mul(t,t)},O.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}var i=this.m.subn(1),u=0;while(!i.isZero()&&0===i.andln(1))u++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),s=a.redNeg(),f=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,f).cmp(s))c.redIAdd(s);var h=this.pow(c,i),l=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=u;while(0!==d.cmp(a)){for(var b=d,g=0;0!==b.cmp(a);g++)b=b.redSqr();n(g<p);var m=this.pow(h,new o(1).iushln(p-g-1));l=l.redMul(m),h=m.redSqr(),d=d.redMul(h),p=g}return l},O.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},O.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=4,n=new Array(1<<r);n[0]=new o(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var u=n[0],a=0,s=0,f=e.bitLength()%26;for(0===f&&(f=26),i=e.length-1;i>=0;i--){for(var c=e.words[i],h=f-1;h>=0;h--){var l=c>>h&1;u!==n[0]&&(u=this.sqr(u)),0!==l||0!==a?(a<<=1,a|=l,s++,(s===r||0===i&&0===h)&&(u=this.mul(u,n[a]),s=0,a=0)):s=0}f=26}return u},O.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},O.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new I(t)},i(I,O),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},I.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),u=i;return i.cmp(this.m)>=0?u=i.isub(this.m):i.cmpn(0)<0&&(u=i.iadd(this.m)),u._forceRed(this)},I.prototype.invm=function(t){var e=this.imod(t._invmp(this.m).mul(this.r2));return e._forceRed(this)}}(t,this)},2675:function(t,e,r){var n;function i(t){this.rand=t}if(r(3767),r(8585),r(8696),t.exports=function(t){return n||(n=new i(null)),n.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(9214);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(u){}},480:function(t,e,r){"use strict";var n=r(2409);
|
8
|
+
/*!
|
9
|
+
* The buffer module from node.js, for the browser.
|
10
|
+
*
|
11
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
12
|
+
* @license MIT
|
13
|
+
*/r(3767),r(8585),r(8696),r(7658);const i=r(3964),o=r(4850),u="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;const a=2147483647;function s(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}function f(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return p(t)}return h(t,e,r)}function h(t,e,r){if("string"===typeof t)return b(t,e);if(ArrayBuffer.isView(t))return m(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(at(t,ArrayBuffer)||t&&at(t.buffer,ArrayBuffer))return y(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(at(t,SharedArrayBuffer)||t&&at(t.buffer,SharedArrayBuffer)))return y(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);const i=v(t);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function d(t,e,r){return l(t),t<=0?f(t):void 0!==e?"string"===typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}function p(t){return l(t),f(t<0?0:0|w(t))}function b(t,e){if("string"===typeof e&&""!==e||(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|M(t,e);let n=f(r);const i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function g(t){const e=t.length<0?0:0|w(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function m(t){if(at(t,Uint8Array)){const e=new Uint8Array(t);return y(e.buffer,e.byteOffset,e.byteLength)}return g(t)}function y(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function v(t){if(c.isBuffer(t)){const e=0|w(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!==typeof t.length||st(t.length)?f(0):g(t):"Buffer"===t.type&&Array.isArray(t.data)?g(t.data):void 0}function w(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),c.alloc(+t)}function M(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||at(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ot(t).length;default:if(i)return n?-1:rt(t).length;e=(""+e).toLowerCase(),i=!0}}function S(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return N(this,e,r);case"latin1":case"binary":return L(this,e,r);case"base64":return B(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function A(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function E(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,st(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:k(t,e,r,n,i);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):k(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function k(t,e,r,n,i){let o,u=1,a=t.length,s=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;u=2,a/=2,s/=2,r/=2}function f(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}if(i){let n=-1;for(o=r;o<a;o++)if(f(t,o)===f(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===s)return n*u}else-1!==n&&(o-=o-n),n=-1}else for(r+s>a&&(r=a-s),o=r;o>=0;o--){let r=!0;for(let n=0;n<s;n++)if(f(t,o+n)!==f(e,n)){r=!1;break}if(r)return o}return-1}function x(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;const o=e.length;let u;for(n>o/2&&(n=o/2),u=0;u<n;++u){const n=parseInt(e.substr(2*u,2),16);if(st(n))return u;t[r+u]=n}return u}function O(t,e,r,n){return ut(rt(e,t.length-r),t,r,n)}function I(t,e,r,n){return ut(nt(e),t,r,n)}function R(t,e,r,n){return ut(ot(e),t,r,n)}function j(t,e,r,n){return ut(it(e,t.length-r),t,r,n)}function B(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function P(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;while(i<r){const e=t[i];let o=null,u=e>239?4:e>223?3:e>191?2:1;if(i+u<=r){let r,n,a,s;switch(u){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128===(192&r)&&(s=(31&e)<<6|63&r,s>127&&(o=s));break;case 3:r=t[i+1],n=t[i+2],128===(192&r)&&128===(192&n)&&(s=(15&e)<<12|(63&r)<<6|63&n,s>2047&&(s<55296||s>57343)&&(o=s));break;case 4:r=t[i+1],n=t[i+2],a=t[i+3],128===(192&r)&&128===(192&n)&&128===(192&a)&&(s=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&a,s>65535&&s<1114112&&(o=s))}}null===o?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=u}return z(n)}e.kMaxLength=a,c.TYPED_ARRAY_SUPPORT=s(),c.TYPED_ARRAY_SUPPORT||"undefined"===typeof n||"function"!==typeof n.error||n.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(t,e,r){return h(t,e,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,r){return d(t,e,r)},c.allocUnsafe=function(t){return p(t)},c.allocUnsafeSlow=function(t){return p(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(at(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),at(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=c.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(at(e,Uint8Array))i+e.length>n.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},c.byteLength=M,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)A(this,e,e+1);return this},c.prototype.swap32=function(){const t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)A(this,e,e+3),A(this,e+1,e+2);return this},c.prototype.swap64=function(){const t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)A(this,e,e+7),A(this,e+1,e+6),A(this,e+2,e+5),A(this,e+3,e+4);return this},c.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?P(this,0,t):S.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){let t="";const r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},u&&(c.prototype[u]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,i){if(at(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;let o=i-n,u=r-e;const a=Math.min(o,u),s=this.slice(n,i),f=t.slice(e,r);for(let c=0;c<a;++c)if(s[c]!==f[c]){o=s[c],u=f[c];break}return o<u?-1:u<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return E(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return E(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return x(this,t,e,r);case"utf8":case"utf-8":return O(this,t,e,r);case"ascii":case"latin1":case"binary":return I(this,t,e,r);case"base64":return R(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function z(t){const e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);let r="",n=0;while(n<e)r+=String.fromCharCode.apply(String,t.slice(n,n+=T));return r}function N(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function L(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function C(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let o=e;o<r;++o)i+=ft[t[o]];return i}function q(t,e,r){const n=t.slice(e,r);let i="";for(let o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function U(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function F(t,e,r,n,i){J(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let u=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=u,u>>=8,t[r++]=u,u>>=8,t[r++]=u,u>>=8,t[r++]=u,r}function K(t,e,r,n,i){J(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let u=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=u,u>>=8,t[r+2]=u,u>>=8,t[r+1]=u,u>>=8,t[r]=u,r+8}function H(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(t,e,r,n,i){return e=+e,r>>>=0,i||H(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function V(t,e,r,n,i){return e=+e,r>>>=0,i||H(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){const r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,c.prototype),n},c.prototype.readUintLE=c.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);let n=this[t],i=1,o=0;while(++o<e&&(i*=256))n+=this[t+o]*i;return n},c.prototype.readUintBE=c.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);let n=this[t+--e],i=1;while(e>0&&(i*=256))n+=this[t+--e]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||U(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||U(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||U(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=ct((function(t){t>>>=0,X(t,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Q(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),c.prototype.readBigUInt64BE=ct((function(t){t>>>=0,X(t,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Q(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),c.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);let n=this[t],i=1,o=0;while(++o<e&&(i*=256))n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);let n=e,i=1,o=this[t+--n];while(n>0&&(i*=256))o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return t>>>=0,e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||U(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||U(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=ct((function(t){t>>>=0,X(t,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Q(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),c.prototype.readBigInt64BE=ct((function(t){t>>>=0,X(t,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Q(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),c.prototype.readFloatLE=function(t,e){return t>>>=0,e||U(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||U(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||U(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||U(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;D(this,t,e,r,n,0)}let i=1,o=0;this[e]=255&t;while(++o<r&&(i*=256))this[e+o]=t/i&255;return e+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){const n=Math.pow(2,8*r)-1;D(this,t,e,r,n,0)}let i=r-1,o=1;this[e+i]=255&t;while(--i>=0&&(o*=256))this[e+i]=t/o&255;return e+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=ct((function(t,e=0){return F(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=ct((function(t,e=0){return K(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);D(this,t,e,r,n-1,-n)}let i=0,o=1,u=0;this[e]=255&t;while(++i<r&&(o*=256))t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/o>>0)-u&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);D(this,t,e,r,n-1,-n)}let i=r-1,o=1,u=0;this[e+i]=255&t;while(--i>=0&&(o*=256))t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/o>>0)-u&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=ct((function(t,e=0){return F(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=ct((function(t,e=0){return K(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,r){return W(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return W(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return V(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return V(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},c.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"===typeof t?t&=255:"boolean"===typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=c.isBuffer(t)?t:c.from(t,n),u=o.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%u]}return this};const $={};function G(t,e,r){$[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function Z(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function Y(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||Q(e,t.length-(r+1))}function J(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"===typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new $.ERR_OUT_OF_RANGE("value",i,t)}Y(n,i,o)}function X(t,e){if("number"!==typeof t)throw new $.ERR_INVALID_ARG_TYPE(e,"number",t)}function Q(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new $.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new $.ERR_BUFFER_OUT_OF_BOUNDS;throw new $.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}G("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),G("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),G("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=Z(String(r)):"bigint"===typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=Z(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const tt=/[^+/0-9A-Za-z-_]/g;function et(t){if(t=t.split("=")[0],t=t.trim().replace(tt,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function rt(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let u=0;u<n;++u){if(r=t.charCodeAt(u),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function nt(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function it(t,e){let r,n,i;const o=[];for(let u=0;u<t.length;++u){if((e-=2)<0)break;r=t.charCodeAt(u),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function ot(t){return i.toByteArray(et(t))}function ut(t,e,r,n){let i;for(i=0;i<n;++i){if(i+r>=e.length||i>=t.length)break;e[i+r]=t[i]}return i}function at(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function st(t){return t!==t}const ft=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function ct(t){return"undefined"===typeof BigInt?ht:t}function ht(){throw new Error("BigInt not supported")}},4875:function(t,e,r){"use strict";var n=r(1107),i=r(9195),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"===typeof r&&o(t,".prototype.")>-1?i(r):r}},9195:function(t,e,r){"use strict";var n=r(3574),i=r(1107),o=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||n.call(u,o),s=i("%Object.getOwnPropertyDescriptor%",!0),f=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(f)try{f({},"a",{value:1})}catch(l){f=null}t.exports=function(t){var e=a(n,u,arguments);if(s&&f){var r=s(e,"length");r.configurable&&f(e,"length",{value:1+c(0,t.length-(arguments.length-1))})}return e};var h=function(){return a(n,o,arguments)};f?f(t.exports,"apply",{value:h}):t.exports.apply=h},6363:function(t,e,r){r(7658);var n=r(7186).Buffer,i=r(8201).Transform,o=r(8032).s,u=r(2068);function a(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}u(a,i),a.prototype.update=function(t,e,r){"string"===typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){n=i}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(r){e=r}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},2409:function(t,e,r){var n=r(9162),i=r(4108);function o(){return(new Date).getTime()}var u,a=Array.prototype.slice,s={};u="undefined"!==typeof r.g&&r.g.console?r.g.console:"undefined"!==typeof window&&window.console?window.console:{};for(var f=[[p,"log"],[b,"info"],[g,"warn"],[m,"error"],[y,"time"],[v,"timeEnd"],[w,"trace"],[_,"dir"],[M,"assert"]],c=0;c<f.length;c++){var h=f[c],l=h[0],d=h[1];u[d]||(u[d]=l)}function p(){}function b(){u.log.apply(u,arguments)}function g(){u.log.apply(u,arguments)}function m(){u.warn.apply(u,arguments)}function y(t){s[t]=o()}function v(t){var e=s[t];if(!e)throw new Error("No such label: "+t);delete s[t];var r=o()-e;u.log(t+": "+r+"ms")}function w(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),u.error(t.stack)}function _(t){u.log(n.inspect(t)+"\n")}function M(t){if(!t){var e=a.call(arguments,1);i.ok(!1,n.format.apply(null,e))}}t.exports=u},6871:function(t,e,r){"use strict";var n=r(2068),i=r(7689),o=r(76),u=r(8522),a=r(6363);function s(t){a.call(this,"digest"),this._hash=t}n(s,a),s.prototype._update=function(t){this._hash.update(t)},s.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return t=t.toLowerCase(),"md5"===t?new i:"rmd160"===t||"ripemd160"===t?new o:new s(u(t))}},5527:function(t,e,r){"use strict";var n=r(5470),i="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),o=Object.prototype.toString,u=Array.prototype.concat,a=Object.defineProperty,s=function(t){return"function"===typeof t&&"[object Function]"===o.call(t)},f=r(7316)(),c=a&&f,h=function(t,e,r,n){if(e in t)if(!0===n){if(t[e]===r)return}else if(!s(n)||!n())return;c?a(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r},l=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=u.call(o,Object.getOwnPropertySymbols(e)));for(var a=0;a<o.length;a+=1)h(t,o[a],e[o[a]],r[o[a]])};l.supportsDescriptors=!!c,t.exports=l},1415:function(t,e,r){"use strict";var n=e;n.version=r(8597).i8,n.utils=r(7971),n.rand=r(2675),n.curve=r(1955),n.curves=r(8387),n.ec=r(755),n.eddsa=r(735)},96:function(t,e,r){"use strict";r(7658);var n=r(1979),i=r(7971),o=i.getNAF,u=i.getJSF,a=i.assert;function s(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(t,e){a(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;var u,s,f=[];for(u=0;u<n.length;u+=r.step){s=0;for(var c=u+r.step-1;c>=u;c--)s=(s<<1)+n[c];f.push(s)}for(var h=this.jpoint(null,null,null),l=this.jpoint(null,null,null),d=i;d>0;d--){for(u=0;u<f.length;u++)s=f[u],s===d?l=l.mixedAdd(r.points[u]):s===-d&&(l=l.mixedAdd(r.points[u].neg()));h=h.add(l)}return h.toP()},s.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,u=o(e,r,this._bitLength),s=this.jpoint(null,null,null),f=u.length-1;f>=0;f--){for(var c=0;f>=0&&0===u[f];f--)c++;if(f>=0&&c++,s=s.dblp(c),f<0)break;var h=u[f];a(0!==h),s="affine"===t.type?h>0?s.mixedAdd(i[h-1>>1]):s.mixedAdd(i[-h-1>>1].neg()):h>0?s.add(i[h-1>>1]):s.add(i[-h-1>>1].neg())}return"affine"===t.type?s.toP():s},s.prototype._wnafMulAdd=function(t,e,r,n,i){var a,s,f,c=this._wnafT1,h=this._wnafT2,l=this._wnafT3,d=0;for(a=0;a<n;a++){f=e[a];var p=f._getNAFPoints(t);c[a]=p.wnd,h[a]=p.points}for(a=n-1;a>=1;a-=2){var b=a-1,g=a;if(1===c[b]&&1===c[g]){var m=[e[b],null,null,e[g]];0===e[b].y.cmp(e[g].y)?(m[1]=e[b].add(e[g]),m[2]=e[b].toJ().mixedAdd(e[g].neg())):0===e[b].y.cmp(e[g].y.redNeg())?(m[1]=e[b].toJ().mixedAdd(e[g]),m[2]=e[b].add(e[g].neg())):(m[1]=e[b].toJ().mixedAdd(e[g]),m[2]=e[b].toJ().mixedAdd(e[g].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=u(r[b],r[g]);for(d=Math.max(v[0].length,d),l[b]=new Array(d),l[g]=new Array(d),s=0;s<d;s++){var w=0|v[0][s],_=0|v[1][s];l[b][s]=y[3*(w+1)+(_+1)],l[g][s]=0,h[b]=m}}else l[b]=o(r[b],c[b],this._bitLength),l[g]=o(r[g],c[g],this._bitLength),d=Math.max(l[b].length,d),d=Math.max(l[g].length,d)}var M=this.jpoint(null,null,null),S=this._wnafT4;for(a=d;a>=0;a--){var A=0;while(a>=0){var E=!0;for(s=0;s<n;s++)S[s]=0|l[s][a],0!==S[s]&&(E=!1);if(!E)break;A++,a--}if(a>=0&&A++,M=M.dblp(A),a<0)break;for(s=0;s<n;s++){var k=S[s];0!==k&&(k>0?f=h[s][k-1>>1]:k<0&&(f=h[s][-k-1>>1].neg()),M="affine"===f.type?M.mixedAdd(f):M.add(f))}}for(a=0;a<n;a++)h[a]=null;return i?M:M.toP()},s.BasePoint=f,f.prototype.eq=function(){throw new Error("Not implemented")},f.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*r){6===t[0]?a(t[t.length-1]%2===0):7===t[0]&&a(t[t.length-1]%2===1);var n=this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));return n}if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},f.prototype.encodeCompressed=function(t){return this.encode(t,!0)},f.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},f.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},f.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},f.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},f.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},f.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},5464:function(t,e,r){"use strict";var n=r(7971),i=r(1979),o=r(2068),u=r(96),a=n.assert;function s(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,u.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function f(t,e,r,n,o){u.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(s,u),t.exports=s,s.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},s.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},s.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},s.prototype.pointFromX=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),u=n.redMul(o.redInvm()),a=u.redSqrt();if(0!==a.redSqr().redSub(u).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(e&&!s||!e&&s)&&(a=a.redNeg()),this.point(t,a)},s.prototype.pointFromY=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),u=n.redMul(o.redInvm());if(0===u.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var a=u.redSqrt();if(0!==a.redSqr().redSub(u).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==e&&(a=a.redNeg()),this.point(a,t)},s.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(f,u.BasePoint),s.prototype.pointFromJSON=function(t){return f.fromJSON(this,t)},s.prototype.point=function(t,e,r,n){return new f(this,t,e,r,n)},f.fromJSON=function(t,e){return new f(t,e[0],e[1],e[2])},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),u=o.redSub(r),a=n.redSub(e),s=i.redMul(u),f=o.redMul(a),c=i.redMul(a),h=u.redMul(o);return this.curve.point(s,f,h,c)},f.prototype._projDbl=function(){var t,e,r,n,i,o,u=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){n=this.curve._mulA(a);var f=n.redAdd(s);this.zOne?(t=u.redSub(a).redSub(s).redMul(f.redSub(this.curve.two)),e=f.redMul(n.redSub(s)),r=f.redSqr().redSub(f).redSub(f)):(i=this.z.redSqr(),o=f.redSub(i).redISub(i),t=u.redSub(a).redISub(s).redMul(o),e=f.redMul(n.redSub(s)),r=f.redMul(o))}else n=a.redAdd(s),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),t=this.curve._mulC(u.redISub(n)).redMul(o),e=this.curve._mulC(n).redMul(a.redISub(s)),r=n.redMul(o);return this.curve.point(t,e,r)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),u=i.redSub(n),a=i.redAdd(n),s=r.redAdd(e),f=o.redMul(u),c=a.redMul(s),h=o.redMul(s),l=u.redMul(a);return this.curve.point(f,c,l,h)},f.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),u=this.y.redMul(t.y),a=this.curve.d.redMul(o).redMul(u),s=i.redSub(a),f=i.redAdd(a),c=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(u),h=n.redMul(s).redMul(c);return this.curve.twisted?(e=n.redMul(f).redMul(u.redSub(this.curve._mulA(o))),r=s.redMul(f)):(e=n.redMul(f).redMul(u.redSub(o)),r=this.curve._mulC(s).redMul(f)),this.curve.point(h,e,r)},f.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},f.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},f.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},f.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},1955:function(t,e,r){"use strict";var n=e;n.base=r(96),n.short=r(7855),n.mont=r(281),n.edwards=r(5464)},281:function(t,e,r){"use strict";r(7658);var n=r(1979),i=r(2068),o=r(96),u=r(7971);function a(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),t.exports=a,a.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e),i=n.redSqrt();return 0===i.redSqr().cmp(n)},i(s,o.BasePoint),a.prototype.decodePoint=function(t,e){return this.point(u.toArray(t,e),1)},a.prototype.point=function(t,e){return new s(this,t,e)},a.prototype.pointFromJSON=function(t){return s.fromJSON(this,t)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(t,e){return new s(t,e[0],e[1]||t.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var t=this.x.redAdd(this.z),e=t.redSqr(),r=this.x.redSub(this.z),n=r.redSqr(),i=e.redSub(n),o=e.redMul(n),u=i.redMul(n.redAdd(this.curve.a24.redMul(i)));return this.curve.point(o,u)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z),u=o.redMul(r),a=i.redMul(n),s=e.z.redMul(u.redAdd(a).redSqr()),f=e.x.redMul(u.redISub(a).redSqr());return this.curve.point(s,f)},s.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=this,o=[];0!==e.cmpn(0);e.iushrn(1))o.push(e.andln(1));for(var u=o.length-1;u>=0;u--)0===o[u]?(r=r.diffAdd(n,i),n=n.dbl()):(n=r.diffAdd(n,i),r=r.dbl());return n},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},7855:function(t,e,r){"use strict";var n=r(7971),i=r(1979),o=r(2068),u=r(96),a=n.assert;function s(t){u.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(t,e,r,n){u.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(t,e,r,n){u.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(s,u),t.exports=s,s.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);e=o[0].cmp(o[1])<0?o[0]:o[1],e=e.toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var u=this._getEndoRoots(this.n);0===this.g.mul(u[0]).x.cmp(this.g.x.redMul(e))?r=u[0]:(r=u[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return n=t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r),{beta:e,lambda:r,basis:n}}},s.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r),u=n.redAdd(o).fromRed(),a=n.redSub(o).fromRed();return[u,a]},s.prototype._getEndoBasis=function(t){var e,r,n,o,u,a,s,f,c,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=t,d=this.n.clone(),p=new i(1),b=new i(0),g=new i(0),m=new i(1),y=0;while(0!==l.cmpn(0)){var v=d.div(l);f=d.sub(v.mul(l)),c=g.sub(v.mul(p));var w=m.sub(v.mul(b));if(!n&&f.cmp(h)<0)e=s.neg(),r=p,n=f.neg(),o=c;else if(n&&2===++y)break;s=f,d=l,l=f,g=p,p=c,m=b,b=w}u=f.neg(),a=c;var _=n.sqr().add(o.sqr()),M=u.sqr().add(a.sqr());return M.cmp(_)>=0&&(u=e,a=r),n.negative&&(n=n.neg(),o=o.neg()),u.negative&&(u=u.neg(),a=a.neg()),[{a:n,b:o},{a:u,b:a}]},s.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),u=i.mul(r.a),a=o.mul(n.a),s=i.mul(r.b),f=o.mul(n.b),c=t.sub(u).sub(a),h=s.add(f).neg();return{k1:c,k2:h}},s.prototype.pointFromX=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},s.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},s.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var u=this._endoSplit(e[o]),a=t[o],s=a._getBeta();u.k1.negative&&(u.k1.ineg(),a=a.neg(!0)),u.k2.negative&&(u.k2.ineg(),s=s.neg(!0)),n[2*o]=a,n[2*o+1]=s,i[2*o]=u.k1,i[2*o+1]=u.k2}for(var f=this._wnafMulAdd(1,n,i,2*o,r),c=0;c<2*o;c++)n[c]=null,i[c]=null;return f},o(f,u.BasePoint),s.prototype.point=function(t,e,r){return new f(this,t,e,r)},s.prototype.pointFromJSON=function(t,e){return f.fromJSON(this,t,e)},f.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(t,e,r){"string"===typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},f.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),u=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,u)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},f.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},f.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},f.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},f.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t},o(c,u.BasePoint),s.prototype.jpoint=function(t,e,r){return new c(this,t,e,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),u=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),s=o.redSub(u);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),c=f.redMul(a),h=n.redMul(f),l=s.redSqr().redIAdd(c).redISub(h).redISub(h),d=s.redMul(h.redISub(l)).redISub(o.redMul(c)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(l,d,p)},c.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),u=r.redSub(n),a=i.redSub(o);if(0===u.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=u.redSqr(),f=s.redMul(u),c=r.redMul(s),h=a.redSqr().redIAdd(f).redISub(c).redISub(c),l=a.redMul(c.redISub(h)).redISub(i.redMul(f)),d=this.z.redMul(u);return this.curve.jpoint(h,l,d)},c.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,u=this.y,a=this.z,s=a.redSqr().redSqr(),f=u.redAdd(u);for(e=0;e<t;e++){var c=o.redSqr(),h=f.redSqr(),l=h.redSqr(),d=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(s)),p=o.redMul(h),b=d.redSqr().redISub(p.redAdd(p)),g=p.redISub(b),m=d.redMul(g);m=m.redIAdd(m).redISub(l);var y=f.redMul(a);e+1<t&&(s=s.redMul(l)),o=b,a=y,f=m}return this.curve.jpoint(o,f.redMul(i),a)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),u=this.x.redAdd(i).redSqr().redISub(n).redISub(o);u=u.redIAdd(u);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(u).redISub(u),f=o.redIAdd(o);f=f.redIAdd(f),f=f.redIAdd(f),t=s,e=a.redMul(u.redISub(s)).redISub(f),r=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),h=this.y.redSqr(),l=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(c).redISub(l);d=d.redIAdd(d);var p=c.redAdd(c).redIAdd(c),b=p.redSqr(),g=l.redIAdd(l);g=g.redIAdd(g),g=g.redIAdd(g),t=b.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(g),r=this.y.redMul(this.z),r=r.redIAdd(r)}return this.curve.jpoint(t,e,r)},c.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),u=this.x.redAdd(i).redSqr().redISub(n).redISub(o);u=u.redIAdd(u);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(u).redISub(u);t=s;var f=o.redIAdd(o);f=f.redIAdd(f),f=f.redIAdd(f),e=a.redMul(u.redISub(s)).redISub(f),r=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),h=this.y.redSqr(),l=this.x.redMul(h),d=this.x.redSub(c).redMul(this.x.redAdd(c));d=d.redAdd(d).redIAdd(d);var p=l.redIAdd(l);p=p.redIAdd(p);var b=p.redAdd(p);t=d.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(c);var g=h.redSqr();g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g),e=d.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,r)},c.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),u=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),s=e.redAdd(e);s=s.redIAdd(s);var f=s.redMul(u),c=a.redSqr().redISub(f.redAdd(f)),h=f.redISub(c),l=u.redSqr();l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var d=a.redMul(h).redISub(l),p=r.redAdd(r).redMul(n);return this.curve.jpoint(c,d,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),u=this.x.redAdd(e).redSqr().redISub(t).redISub(n);u=u.redIAdd(u),u=u.redAdd(u).redIAdd(u),u=u.redISub(o);var a=u.redSqr(),s=n.redIAdd(n);s=s.redIAdd(s),s=s.redIAdd(s),s=s.redIAdd(s);var f=i.redIAdd(u).redSqr().redISub(o).redISub(a).redISub(s),c=e.redMul(f);c=c.redIAdd(c),c=c.redIAdd(c);var h=this.x.redMul(a).redISub(c);h=h.redIAdd(h),h=h.redIAdd(h);var l=this.y.redMul(f.redMul(s.redISub(f)).redISub(u.redMul(a)));l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var d=this.z.redAdd(u).redSqr().redISub(r).redISub(a);return this.curve.jpoint(h,l,d)},c.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},c.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},8387:function(t,e,r){"use strict";var n,i=e,o=r(807),u=r(1955),a=r(7971),s=a.assert;function f(t){"short"===t.type?this.curve=new u.short(t):"edwards"===t.type?this.curve=new u.edwards(t):this.curve=new u.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new f(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=f,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(3489)}catch(h){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},755:function(t,e,r){"use strict";var n=r(1979),i=r(5312),o=r(7971),u=r(8387),a=r(2675),s=o.assert,f=r(2023),c=r(5684);function h(t){if(!(this instanceof h))return new h(t);"string"===typeof t&&(s(Object.prototype.hasOwnProperty.call(u,t),"Unknown curve "+t),t=u[t]),t instanceof u.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=h,h.prototype.keyPair=function(t){return new f(this,t)},h.prototype.keyFromPrivate=function(t,e){return f.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return f.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||a(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var u=new n(e.generate(r));if(!(u.cmp(o)>0))return u.iaddn(1),this.keyFromPrivate(u)}},h.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var u=this.n.byteLength(),a=e.getPrivate().toArray("be",u),s=t.toArray("be",u),f=new i({hash:this.hash,entropy:a,nonce:s,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new n(1)),l=0;;l++){var d=o.k?o.k(l):new n(f.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var b=p.getX(),g=b.umod(this.n);if(0!==g.cmpn(0)){var m=d.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(m=m.umod(this.n),0!==m.cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==b.cmp(g)?2:0);return o.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),y^=1),new c({r:g,s:m,recoveryParam:y})}}}}}},h.prototype.verify=function(t,e,r,i){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,i),e=new c(e,"hex");var o=e.r,u=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(u.cmpn(1)<0||u.cmp(this.n)>=0)return!1;var a,s=u.invm(this.n),f=s.mul(t).umod(this.n),h=s.mul(o).umod(this.n);return this.curve._maxwellTrick?(a=this.g.jmulAdd(f,r.getPublic(),h),!a.isInfinity()&&a.eqXToP(o)):(a=this.g.mulAdd(f,r.getPublic(),h),!a.isInfinity()&&0===a.getX().umod(this.n).cmp(o))},h.prototype.recoverPubKey=function(t,e,r,i){s((3&r)===r,"The recovery param is more than two bits"),e=new c(e,i);var o=this.n,u=new n(t),a=e.r,f=e.s,h=1&r,l=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");a=l?this.curve.pointFromX(a.add(this.curve.n),h):this.curve.pointFromX(a,h);var d=e.r.invm(o),p=o.sub(u).mul(d).umod(o),b=f.mul(d).umod(o);return this.g.mulAdd(p,a,b)},h.prototype.getKeyRecoveryParam=function(t,e,r,n){if(e=new c(e,n),null!==e.recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},2023:function(t,e,r){"use strict";var n=r(1979),i=r(7971),o=i.assert;function u(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=u,u.fromPublic=function(t,e,r){return e instanceof u?e:new u(t,{pub:e,pubEnc:r})},u.fromPrivate=function(t,e,r){return e instanceof u?e:new u(t,{priv:e,privEnc:r})},u.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},u.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},u.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},u.prototype.derive=function(t){return t.validate()||o(t.validate(),"public point not validated"),t.mul(this.priv).getX()},u.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},u.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},u.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5684:function(t,e,r){"use strict";r(7658);var n=r(1979),i=r(7971),o=i.assert;function u(t,e){if(t instanceof u)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function a(){this.place=0}function s(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,u=e.place;o<n;o++,u++)i<<=8,i|=t[u],i>>>=0;return!(i<=127)&&(e.place=u,i)}function f(t){var e=0,r=t.length-1;while(!t[e]&&!(128&t[e+1])&&e<r)e++;return 0===e?t:t.slice(e)}function c(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);t.push(128|r);while(--r)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=u,u.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new a;if(48!==t[r.place++])return!1;var o=s(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var u=s(t,r);if(!1===u)return!1;var f=t.slice(r.place,u+r.place);if(r.place+=u,2!==t[r.place++])return!1;var c=s(t,r);if(!1===c)return!1;if(t.length!==c+r.place)return!1;var h=t.slice(r.place,c+r.place);if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new n(f),this.s=new n(h),this.recoveryParam=null,!0},u.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=f(e),r=f(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];c(n,e.length),n=n.concat(e),n.push(2),c(n,r.length);var o=n.concat(r),u=[48];return c(u,o.length),u=u.concat(o),i.encode(u,t)}},735:function(t,e,r){"use strict";var n=r(807),i=r(8387),o=r(7971),u=o.assert,a=o.parseBytes,s=r(371),f=r(6226);function c(t){if(u("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof c))return new c(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=c,c.prototype.sign=function(t,e){t=a(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),u=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),s=n.add(u).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},c.prototype.verify=function(t,e,r){t=a(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S()),u=e.R().add(n.pub().mul(i));return u.eq(o)},c.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(t){return s.fromPublic(this,t)},c.prototype.keyFromSecret=function(t){return s.fromSecret(this,t)},c.prototype.makeSignature=function(t){return t instanceof f?t:new f(this,t)},c.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},c.prototype.decodePoint=function(t){t=o.parseBytes(t);var e=t.length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!==(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},c.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(t){return o.intFromLE(t)},c.prototype.isPoint=function(t){return t instanceof this.pointClass}},371:function(t,e,r){"use strict";var n=r(7971),i=n.assert,o=n.parseBytes,u=n.cachedProperty;function a(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}a.fromPublic=function(t,e){return e instanceof a?e:new a(t,{pub:e})},a.fromSecret=function(t,e){return e instanceof a?e:new a(t,{secret:e})},a.prototype.secret=function(){return this._secret},u(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),u(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),u(a,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),u(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),u(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),u(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},a.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},a.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},a.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=a},6226:function(t,e,r){"use strict";var n=r(1979),i=r(7971),o=i.assert,u=i.cachedProperty,a=i.parseBytes;function s(t,e){this.eddsa=t,"object"!==typeof e&&(e=a(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}u(s,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),u(s,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),u(s,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),u(s,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=s},3489:function(t){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7971:function(t,e,r){"use strict";r(7658);var n=e,i=r(1979),o=r(3891),u=r(5913);function a(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),u=0;u<n.length;u++){var a,s=o.andln(i-1);o.isOdd()?(a=s>(i>>1)-1?(i>>1)-s:s,o.isubn(a)):a=0,n[u]=a,o.iushrn(1)}return n}function s(t,e){var r=[[],[]];t=t.clone(),e=e.clone();var n,i=0,o=0;while(t.cmpn(-i)>0||e.cmpn(-o)>0){var u,a,s=t.andln(3)+i&3,f=e.andln(3)+o&3;3===s&&(s=-1),3===f&&(f=-1),0===(1&s)?u=0:(n=t.andln(7)+i&7,u=3!==n&&5!==n||2!==f?s:-s),r[0].push(u),0===(1&f)?a=0:(n=e.andln(7)+o&7,a=3!==n&&5!==n||2!==s?f:-f),r[1].push(a),2*i===u+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r}function f(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function c(t){return"string"===typeof t?n.toArray(t,"hex"):t}function h(t){return new i(t,"hex","le")}n.assert=o,n.toArray=u.toArray,n.zero2=u.zero2,n.toHex=u.toHex,n.encode=u.encode,n.getNAF=a,n.getJSF=s,n.cachedProperty=f,n.parseBytes=c,n.intFromLE=h},1979:function(t,e,r){t=r.nmd(t),function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var u;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{u="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(5568).Buffer}catch(x){}function a(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function s(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function f(t,e,r,n){for(var i=0,o=Math.min(t.length,r),u=e;u<o;u++){var a=t.charCodeAt(u)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36),t=t.toString().replace(/\s+/g,"");var i=0;"-"===t[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,u,a=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)u=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=u<<a&67108863,this.words[o+1]=u>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)u=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=u<<a&67108863,this.words[o+1]=u>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,u=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=s(t,e,n)<<o,this.words[u]|=67108863&i,o>=18?(o-=18,u+=1,this.words[u]|=i>>>26):o+=8;else{var a=t.length-e;for(n=a%2===0?e+1:e;n<t.length;n+=2)i=s(t,e,n)<<o,this.words[u]|=67108863&i,o>=18?(o-=18,u+=1,this.words[u]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,u=o%n,a=Math.min(o,o-u)+r,s=0,c=r;c<a;c+=n)s=f(t,c,c+n,e),this.imuln(i),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s);if(0!==u){var h=1;for(s=f(t,c,t.length,e),c=0;c<u;c++)h*=e;this.imuln(h),this.words[0]+s<67108864?this.words[0]+=s:this._iaddn(s)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){while(this.length<t)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}function p(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],u=i*o,a=67108863&u,s=u/67108864|0;r.words[0]=a;for(var f=1;f<n;f++){for(var c=s>>>26,h=67108863&s,l=Math.min(f,e.length-1),d=Math.max(0,f-t.length+1);d<=l;d++){var p=f-d|0;i=0|t.words[p],o=0|e.words[d],u=i*o+h,c+=u/67108864|0,h=67108863&u}r.words[f]=0|h,s=0|c}return 0!==s?r.words[f]=0|s:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(t=t||10,e=0|e||1,16===t||"hex"===t){r="";for(var i=0,o=0,u=0;u<this.length;u++){var a=this.words[u],s=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,r=0!==o||u!==this.length-1?c[6-s.length]+s+r:s+r,i+=2,i>=26&&(i-=26,u--)}0!==o&&(r=o.toString(16)+r);while(r.length%e!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var f=h[t],d=l[t];r="";var p=this.clone();p.negative=0;while(!p.isZero()){var b=p.modn(d).toString(t);p=p.idivn(d),r=p.isZero()?b+r:c[f-b.length]+b+r}this.isZero()&&(r="0"+r);while(r.length%e!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof u),this.toArrayLike(u,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var u,a,s="le"===e,f=new t(o),c=this.clone();if(s){for(a=0;!c.isZero();a++)u=c.andln(255),c.iushrn(8),f[a]=u;for(;a<o;a++)f[a]=0}else{for(a=0;a<o-i;a++)f[a]=0;for(a=0;!c.isZero();a++)u=c.andln(255),c.iushrn(8),f[o-a-1]=u}return f},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){while(this.length<t.length)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,u=0;u<n.length;u++)e=(0|r.words[u])-(0|n.words[u])+o,o=e>>26,this.words[u]=67108863&e;for(;0!==o&&u<r.length;u++)e=(0|r.words[u])+o,o=e>>26,this.words[u]=67108863&e;if(0===o&&u<r.length&&r!==this)for(;u<r.length;u++)this.words[u]=r.words[u];return this.length=Math.max(this.length,u),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,r){var n,i,o,u=t.words,a=e.words,s=r.words,f=0,c=0|u[0],h=8191&c,l=c>>>13,d=0|u[1],p=8191&d,b=d>>>13,g=0|u[2],m=8191&g,y=g>>>13,v=0|u[3],w=8191&v,_=v>>>13,M=0|u[4],S=8191&M,A=M>>>13,E=0|u[5],k=8191&E,x=E>>>13,O=0|u[6],I=8191&O,R=O>>>13,j=0|u[7],B=8191&j,P=j>>>13,T=0|u[8],z=8191&T,N=T>>>13,L=0|u[9],C=8191&L,q=L>>>13,U=0|a[0],D=8191&U,F=U>>>13,K=0|a[1],H=8191&K,W=K>>>13,V=0|a[2],$=8191&V,G=V>>>13,Z=0|a[3],Y=8191&Z,J=Z>>>13,X=0|a[4],Q=8191&X,tt=X>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,ut=it>>>13,at=0|a[7],st=8191&at,ft=at>>>13,ct=0|a[8],ht=8191&ct,lt=ct>>>13,dt=0|a[9],pt=8191&dt,bt=dt>>>13;r.negative=t.negative^e.negative,r.length=19,n=Math.imul(h,D),i=Math.imul(h,F),i=i+Math.imul(l,D)|0,o=Math.imul(l,F);var gt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,D),i=Math.imul(p,F),i=i+Math.imul(b,D)|0,o=Math.imul(b,F),n=n+Math.imul(h,H)|0,i=i+Math.imul(h,W)|0,i=i+Math.imul(l,H)|0,o=o+Math.imul(l,W)|0;var mt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(m,D),i=Math.imul(m,F),i=i+Math.imul(y,D)|0,o=Math.imul(y,F),n=n+Math.imul(p,H)|0,i=i+Math.imul(p,W)|0,i=i+Math.imul(b,H)|0,o=o+Math.imul(b,W)|0,n=n+Math.imul(h,$)|0,i=i+Math.imul(h,G)|0,i=i+Math.imul(l,$)|0,o=o+Math.imul(l,G)|0;var yt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(w,D),i=Math.imul(w,F),i=i+Math.imul(_,D)|0,o=Math.imul(_,F),n=n+Math.imul(m,H)|0,i=i+Math.imul(m,W)|0,i=i+Math.imul(y,H)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(p,$)|0,i=i+Math.imul(p,G)|0,i=i+Math.imul(b,$)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(l,Y)|0,o=o+Math.imul(l,J)|0;var vt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(S,D),i=Math.imul(S,F),i=i+Math.imul(A,D)|0,o=Math.imul(A,F),n=n+Math.imul(w,H)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,H)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(m,$)|0,i=i+Math.imul(m,G)|0,i=i+Math.imul(y,$)|0,o=o+Math.imul(y,G)|0,n=n+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(b,Y)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(h,Q)|0,i=i+Math.imul(h,tt)|0,i=i+Math.imul(l,Q)|0,o=o+Math.imul(l,tt)|0;var wt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,D),i=Math.imul(k,F),i=i+Math.imul(x,D)|0,o=Math.imul(x,F),n=n+Math.imul(S,H)|0,i=i+Math.imul(S,W)|0,i=i+Math.imul(A,H)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(w,$)|0,i=i+Math.imul(w,G)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,G)|0,n=n+Math.imul(m,Y)|0,i=i+Math.imul(m,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,n=n+Math.imul(p,Q)|0,i=i+Math.imul(p,tt)|0,i=i+Math.imul(b,Q)|0,o=o+Math.imul(b,tt)|0,n=n+Math.imul(h,rt)|0,i=i+Math.imul(h,nt)|0,i=i+Math.imul(l,rt)|0,o=o+Math.imul(l,nt)|0;var _t=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(I,D),i=Math.imul(I,F),i=i+Math.imul(R,D)|0,o=Math.imul(R,F),n=n+Math.imul(k,H)|0,i=i+Math.imul(k,W)|0,i=i+Math.imul(x,H)|0,o=o+Math.imul(x,W)|0,n=n+Math.imul(S,$)|0,i=i+Math.imul(S,G)|0,i=i+Math.imul(A,$)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,n=n+Math.imul(m,Q)|0,i=i+Math.imul(m,tt)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,tt)|0,n=n+Math.imul(p,rt)|0,i=i+Math.imul(p,nt)|0,i=i+Math.imul(b,rt)|0,o=o+Math.imul(b,nt)|0,n=n+Math.imul(h,ot)|0,i=i+Math.imul(h,ut)|0,i=i+Math.imul(l,ot)|0,o=o+Math.imul(l,ut)|0;var Mt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(B,D),i=Math.imul(B,F),i=i+Math.imul(P,D)|0,o=Math.imul(P,F),n=n+Math.imul(I,H)|0,i=i+Math.imul(I,W)|0,i=i+Math.imul(R,H)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=i+Math.imul(k,G)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,G)|0,n=n+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(A,Y)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,tt)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(m,rt)|0,i=i+Math.imul(m,nt)|0,i=i+Math.imul(y,rt)|0,o=o+Math.imul(y,nt)|0,n=n+Math.imul(p,ot)|0,i=i+Math.imul(p,ut)|0,i=i+Math.imul(b,ot)|0,o=o+Math.imul(b,ut)|0,n=n+Math.imul(h,st)|0,i=i+Math.imul(h,ft)|0,i=i+Math.imul(l,st)|0,o=o+Math.imul(l,ft)|0;var St=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(z,D),i=Math.imul(z,F),i=i+Math.imul(N,D)|0,o=Math.imul(N,F),n=n+Math.imul(B,H)|0,i=i+Math.imul(B,W)|0,i=i+Math.imul(P,H)|0,o=o+Math.imul(P,W)|0,n=n+Math.imul(I,$)|0,i=i+Math.imul(I,G)|0,i=i+Math.imul(R,$)|0,o=o+Math.imul(R,G)|0,n=n+Math.imul(k,Y)|0,i=i+Math.imul(k,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,n=n+Math.imul(S,Q)|0,i=i+Math.imul(S,tt)|0,i=i+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(w,rt)|0,i=i+Math.imul(w,nt)|0,i=i+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(m,ot)|0,i=i+Math.imul(m,ut)|0,i=i+Math.imul(y,ot)|0,o=o+Math.imul(y,ut)|0,n=n+Math.imul(p,st)|0,i=i+Math.imul(p,ft)|0,i=i+Math.imul(b,st)|0,o=o+Math.imul(b,ft)|0,n=n+Math.imul(h,ht)|0,i=i+Math.imul(h,lt)|0,i=i+Math.imul(l,ht)|0,o=o+Math.imul(l,lt)|0;var At=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(C,D),i=Math.imul(C,F),i=i+Math.imul(q,D)|0,o=Math.imul(q,F),n=n+Math.imul(z,H)|0,i=i+Math.imul(z,W)|0,i=i+Math.imul(N,H)|0,o=o+Math.imul(N,W)|0,n=n+Math.imul(B,$)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(P,$)|0,o=o+Math.imul(P,G)|0,n=n+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,n=n+Math.imul(k,Q)|0,i=i+Math.imul(k,tt)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(S,rt)|0,i=i+Math.imul(S,nt)|0,i=i+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(w,ot)|0,i=i+Math.imul(w,ut)|0,i=i+Math.imul(_,ot)|0,o=o+Math.imul(_,ut)|0,n=n+Math.imul(m,st)|0,i=i+Math.imul(m,ft)|0,i=i+Math.imul(y,st)|0,o=o+Math.imul(y,ft)|0,n=n+Math.imul(p,ht)|0,i=i+Math.imul(p,lt)|0,i=i+Math.imul(b,ht)|0,o=o+Math.imul(b,lt)|0,n=n+Math.imul(h,pt)|0,i=i+Math.imul(h,bt)|0,i=i+Math.imul(l,pt)|0,o=o+Math.imul(l,bt)|0;var Et=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(C,H),i=Math.imul(C,W),i=i+Math.imul(q,H)|0,o=Math.imul(q,W),n=n+Math.imul(z,$)|0,i=i+Math.imul(z,G)|0,i=i+Math.imul(N,$)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(B,Y)|0,i=i+Math.imul(B,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,n=n+Math.imul(I,Q)|0,i=i+Math.imul(I,tt)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=i+Math.imul(k,nt)|0,i=i+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(S,ot)|0,i=i+Math.imul(S,ut)|0,i=i+Math.imul(A,ot)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(w,st)|0,i=i+Math.imul(w,ft)|0,i=i+Math.imul(_,st)|0,o=o+Math.imul(_,ft)|0,n=n+Math.imul(m,ht)|0,i=i+Math.imul(m,lt)|0,i=i+Math.imul(y,ht)|0,o=o+Math.imul(y,lt)|0,n=n+Math.imul(p,pt)|0,i=i+Math.imul(p,bt)|0,i=i+Math.imul(b,pt)|0,o=o+Math.imul(b,bt)|0;var kt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(C,$),i=Math.imul(C,G),i=i+Math.imul(q,$)|0,o=Math.imul(q,G),n=n+Math.imul(z,Y)|0,i=i+Math.imul(z,J)|0,i=i+Math.imul(N,Y)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(B,Q)|0,i=i+Math.imul(B,tt)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,tt)|0,n=n+Math.imul(I,rt)|0,i=i+Math.imul(I,nt)|0,i=i+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=i+Math.imul(k,ut)|0,i=i+Math.imul(x,ot)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(S,st)|0,i=i+Math.imul(S,ft)|0,i=i+Math.imul(A,st)|0,o=o+Math.imul(A,ft)|0,n=n+Math.imul(w,ht)|0,i=i+Math.imul(w,lt)|0,i=i+Math.imul(_,ht)|0,o=o+Math.imul(_,lt)|0,n=n+Math.imul(m,pt)|0,i=i+Math.imul(m,bt)|0,i=i+Math.imul(y,pt)|0,o=o+Math.imul(y,bt)|0;var xt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(C,Y),i=Math.imul(C,J),i=i+Math.imul(q,Y)|0,o=Math.imul(q,J),n=n+Math.imul(z,Q)|0,i=i+Math.imul(z,tt)|0,i=i+Math.imul(N,Q)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(B,rt)|0,i=i+Math.imul(B,nt)|0,i=i+Math.imul(P,rt)|0,o=o+Math.imul(P,nt)|0,n=n+Math.imul(I,ot)|0,i=i+Math.imul(I,ut)|0,i=i+Math.imul(R,ot)|0,o=o+Math.imul(R,ut)|0,n=n+Math.imul(k,st)|0,i=i+Math.imul(k,ft)|0,i=i+Math.imul(x,st)|0,o=o+Math.imul(x,ft)|0,n=n+Math.imul(S,ht)|0,i=i+Math.imul(S,lt)|0,i=i+Math.imul(A,ht)|0,o=o+Math.imul(A,lt)|0,n=n+Math.imul(w,pt)|0,i=i+Math.imul(w,bt)|0,i=i+Math.imul(_,pt)|0,o=o+Math.imul(_,bt)|0;var Ot=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(C,Q),i=Math.imul(C,tt),i=i+Math.imul(q,Q)|0,o=Math.imul(q,tt),n=n+Math.imul(z,rt)|0,i=i+Math.imul(z,nt)|0,i=i+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(B,ot)|0,i=i+Math.imul(B,ut)|0,i=i+Math.imul(P,ot)|0,o=o+Math.imul(P,ut)|0,n=n+Math.imul(I,st)|0,i=i+Math.imul(I,ft)|0,i=i+Math.imul(R,st)|0,o=o+Math.imul(R,ft)|0,n=n+Math.imul(k,ht)|0,i=i+Math.imul(k,lt)|0,i=i+Math.imul(x,ht)|0,o=o+Math.imul(x,lt)|0,n=n+Math.imul(S,pt)|0,i=i+Math.imul(S,bt)|0,i=i+Math.imul(A,pt)|0,o=o+Math.imul(A,bt)|0;var It=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(C,rt),i=Math.imul(C,nt),i=i+Math.imul(q,rt)|0,o=Math.imul(q,nt),n=n+Math.imul(z,ot)|0,i=i+Math.imul(z,ut)|0,i=i+Math.imul(N,ot)|0,o=o+Math.imul(N,ut)|0,n=n+Math.imul(B,st)|0,i=i+Math.imul(B,ft)|0,i=i+Math.imul(P,st)|0,o=o+Math.imul(P,ft)|0,n=n+Math.imul(I,ht)|0,i=i+Math.imul(I,lt)|0,i=i+Math.imul(R,ht)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(k,pt)|0,i=i+Math.imul(k,bt)|0,i=i+Math.imul(x,pt)|0,o=o+Math.imul(x,bt)|0;var Rt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(C,ot),i=Math.imul(C,ut),i=i+Math.imul(q,ot)|0,o=Math.imul(q,ut),n=n+Math.imul(z,st)|0,i=i+Math.imul(z,ft)|0,i=i+Math.imul(N,st)|0,o=o+Math.imul(N,ft)|0,n=n+Math.imul(B,ht)|0,i=i+Math.imul(B,lt)|0,i=i+Math.imul(P,ht)|0,o=o+Math.imul(P,lt)|0,n=n+Math.imul(I,pt)|0,i=i+Math.imul(I,bt)|0,i=i+Math.imul(R,pt)|0,o=o+Math.imul(R,bt)|0;var jt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(C,st),i=Math.imul(C,ft),i=i+Math.imul(q,st)|0,o=Math.imul(q,ft),n=n+Math.imul(z,ht)|0,i=i+Math.imul(z,lt)|0,i=i+Math.imul(N,ht)|0,o=o+Math.imul(N,lt)|0,n=n+Math.imul(B,pt)|0,i=i+Math.imul(B,bt)|0,i=i+Math.imul(P,pt)|0,o=o+Math.imul(P,bt)|0;var Bt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(C,ht),i=Math.imul(C,lt),i=i+Math.imul(q,ht)|0,o=Math.imul(q,lt),n=n+Math.imul(z,pt)|0,i=i+Math.imul(z,bt)|0,i=i+Math.imul(N,pt)|0,o=o+Math.imul(N,bt)|0;var Pt=(f+n|0)+((8191&i)<<13)|0;f=(o+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(C,pt),i=Math.imul(C,bt),i=i+Math.imul(q,pt)|0,o=Math.imul(q,bt);var Tt=(f+n|0)+((8191&i)<<13)|0;return f=(o+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,s[0]=gt,s[1]=mt,s[2]=yt,s[3]=vt,s[4]=wt,s[5]=_t,s[6]=Mt,s[7]=St,s[8]=At,s[9]=Et,s[10]=kt,s[11]=xt,s[12]=Ot,s[13]=It,s[14]=Rt,s[15]=jt,s[16]=Bt,s[17]=Pt,s[18]=Tt,0!==f&&(s[19]=f,r.length++),r};function g(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var u=i;i=0;for(var a=67108863&n,s=Math.min(o,e.length-1),f=Math.max(0,o-t.length+1);f<=s;f++){var c=o-f,h=0|t.words[c],l=0|e.words[f],d=h*l,p=67108863&d;u=u+(d/67108864|0)|0,p=p+a|0,a=67108863&p,u=u+(p>>>26)|0,i+=u>>>26,u&=67108863}r.words[o]=a,n=u,u=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}function m(t,e,r){var n=new y;return n.mulp(t,e,r)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=p),o.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?b(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):m(this,t,e),r},y.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},y.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,r,n,i,o){for(var u=0;u<o;u++)n[u]=e[t[u]],i[u]=r[t[u]]},y.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var u=1;u<i;u<<=1)for(var a=u<<1,s=Math.cos(2*Math.PI/a),f=Math.sin(2*Math.PI/a),c=0;c<i;c+=a)for(var h=s,l=f,d=0;d<u;d++){var p=r[c+d],b=n[c+d],g=r[c+d+u],m=n[c+d+u],y=h*g-l*m;m=h*m+l*g,g=y,r[c+d]=p+g,n[c+d]=b+m,r[c+d+u]=p-g,n[c+d+u]=b-m,d!==a&&(y=s*h-f*l,l=s*l+f*h,h=y)}},y.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,r,i){for(var o=0,u=0;u<e;u++)o+=0|t[u],r[2*u]=8191&o,o>>>=13,r[2*u+1]=8191&o,o>>>=13;for(u=2*e;u<i;++u)r[u]=0;n(0===o),n(0===(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},y.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),u=new Array(n),a=new Array(n),s=new Array(n),f=new Array(n),c=new Array(n),h=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,u,n),this.convert13b(e.words,e.length,f,n),this.transform(u,o,a,s,n,i),this.transform(f,o,c,h,n,i);for(var d=0;d<n;d++){var p=a[d]*c[d]-s[d]*h[d];s[d]=a[d]*h[d]+s[d]*c[d],a[d]=p}return this.conjugate(a,s,n),this.transform(a,s,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=d(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length;n++,r=r.sqr())if(0!==e[n])break;if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var u=0;for(e=0;e<this.length;e++){var a=this.words[e]&o,s=(0|this.words[e])-a<<r;this.words[e]=s|u,u=a>>>26-r}u&&(this.words[e]=u,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,u=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<<o,s=r;if(i-=u,i=Math.max(0,i),s){for(var f=0;f<u;f++)s.words[f]=this.words[f];s.length=u}if(0===u);else if(this.length>u)for(this.length-=u,f=0;f<this.length;f++)this.words[f]=this.words[f+u];else this.words[0]=0,this.length=1;var c=0;for(f=this.length-1;f>=0&&(0!==c||f>=i);f--){var h=0|this.words[f];this.words[f]=c<<26-o|h>>>o,c=h&a}return s&&0!==c&&(s.words[s.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return!1;var o=this.words[r];return!!(o&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,u=t.length+r;this._expand(u);var a=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+a;var s=(0|t.words[i])*e;o-=67108863&s,a=(o>>26)-(s/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)o=(0|this.words[i+r])+a,a=o>>26,this.words[i+r]=67108863&o;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=this.length-t.length,n=this.clone(),i=t,u=0|i.words[i.length-1],a=this._countBits(u);r=26-a,0!==r&&(i=i.ushln(r),n.iushln(r),u=0|i.words[i.length-1]);var s,f=n.length-i.length;if("mod"!==e){s=new o(null),s.length=f+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,f);0===h.negative&&(n=h,s&&(s.words[f]=1));for(var l=f-1;l>=0;l--){var d=67108864*(0|n.words[i.length+l])+(0|n.words[i.length+l-1]);d=Math.min(d/u|0,67108863),n._ishlnsubmul(i,d,l);while(0!==n.negative)d--,n.negative=0,n._ishlnsubmul(i,1,l),n.isZero()||(n.negative^=1);s&&(s.words[l]=d)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(u=a.mod.neg(),r&&0!==u.negative&&u.iadd(t)),{div:i,mod:u}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(u=a.mod.neg(),r&&0!==u.negative&&u.isub(t)),{div:a.div,mod:u}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,u,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i=new o(1),u=new o(0),a=new o(0),s=new o(1),f=0;while(e.isEven()&&r.isEven())e.iushrn(1),r.iushrn(1),++f;var c=r.clone(),h=e.clone();while(!e.isZero()){for(var l=0,d=1;0===(e.words[0]&d)&&l<26;++l,d<<=1);if(l>0){e.iushrn(l);while(l-- >0)(i.isOdd()||u.isOdd())&&(i.iadd(c),u.isub(h)),i.iushrn(1),u.iushrn(1)}for(var p=0,b=1;0===(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0){r.iushrn(p);while(p-- >0)(a.isOdd()||s.isOdd())&&(a.iadd(c),s.isub(h)),a.iushrn(1),s.iushrn(1)}e.cmp(r)>=0?(e.isub(r),i.isub(a),u.isub(s)):(r.isub(e),a.isub(i),s.isub(u))}return{a:a,b:s,gcd:r.iushln(f)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i,u=new o(1),a=new o(0),s=r.clone();while(e.cmpn(1)>0&&r.cmpn(1)>0){for(var f=0,c=1;0===(e.words[0]&c)&&f<26;++f,c<<=1);if(f>0){e.iushrn(f);while(f-- >0)u.isOdd()&&u.iadd(s),u.iushrn(1)}for(var h=0,l=1;0===(r.words[0]&l)&&h<26;++h,l<<=1);if(h>0){r.iushrn(h);while(h-- >0)a.isOdd()&&a.iadd(s),a.iushrn(1)}e.cmp(r)>=0?(e.isub(r),u.isub(a)):(r.isub(e),a.isub(u))}return i=0===e.cmpn(1)?u:a,i.cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);do{while(e.isEven())e.iushrn(1);while(r.isEven())r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}while(1);return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,u=r;0!==o&&u<this.length;u++){var a=0|this.words[u];a+=o,o=a>>>26,a&=67108863,this.words[u]=a}return 0!==o&&(this.words[u]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new E(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),e=r.bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(_,w),_.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var u=0|t.words[i];t.words[i-10]=(u&r)<<4|o>>>22,o=u}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},_.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(M,w),i(S,w),i(A,w),A.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new _;else if("p224"===t)e=new M;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new A}return v[t]=e,e},E.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},E.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}var i=this.m.subn(1),u=0;while(!i.isZero()&&0===i.andln(1))u++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),s=a.redNeg(),f=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,f).cmp(s))c.redIAdd(s);var h=this.pow(c,i),l=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=u;while(0!==d.cmp(a)){for(var b=d,g=0;0!==b.cmp(a);g++)b=b.redSqr();n(g<p);var m=this.pow(h,new o(1).iushln(p-g-1));l=l.redMul(m),h=m.redSqr(),d=d.redMul(h),p=g}return l},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=4,n=new Array(1<<r);n[0]=new o(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var u=n[0],a=0,s=0,f=e.bitLength()%26;for(0===f&&(f=26),i=e.length-1;i>=0;i--){for(var c=e.words[i],h=f-1;h>=0;h--){var l=c>>h&1;u!==n[0]&&(u=this.sqr(u)),0!==l||0!==a?(a<<=1,a|=l,s++,(s===r||0===i&&0===h)&&(u=this.mul(u,n[a]),s=0,a=0)):s=0}f=26}return u},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new k(t)},i(k,E),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),u=i;return i.cmp(this.m)>=0?u=i.isub(this.m):i.cmpn(0)<0&&(u=i.iadd(this.m)),u._forceRed(this)},k.prototype.invm=function(t){var e=this.imod(t._invmp(this.m).mul(this.r2));return e._forceRed(this)}}(t,this)},8486:function(t){"use strict";function e(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i)for(var o=Object.keys(Object(i)),u=0,a=o.length;u<a;u++){var s=o[u],f=Object.getOwnPropertyDescriptor(i,s);void 0!==f&&f.enumerable&&(r[s]=i[s])}}return r}function r(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}t.exports={assign:e,polyfill:r}},2222:function(t,e,r){"use strict";var n=r(480)["Buffer"];function i(t){return function(e){var r=t();return r.update(e),n.from(r.digest())}}Object.defineProperty(e,"__esModule",{value:!0}),e.createHashFunction=i},1525:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2222),i=r(4587);e.keccak224=n.createHashFunction((function(){return i("keccak224")})),e.keccak256=n.createHashFunction((function(){return i("keccak256")})),e.keccak384=n.createHashFunction((function(){return i("keccak384")})),e.keccak512=n.createHashFunction((function(){return i("keccak512")}))},7583:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7848);function i(t){return new Promise((function(e,r){n(t,(function(t,n){t?r(t):e(n)}))}))}function o(t){return n(t)}e.getRandomBytes=i,e.getRandomBytesSync=o},2098:function(t,e,r){"use strict";r(7658);var n=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function u(t){try{s(n.next(t))}catch(e){o(e)}}function a(t){try{s(n["throw"](t))}catch(e){o(e)}}function s(t){t.done?r(t.value):i(t.value).then(u,a)}s((n=n.apply(t,e||[])).next())}))},i=this&&this.__generator||function(t,e){var r,n,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return s([t,e])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(u)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,n=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=e.call(t,u)}catch(a){o=[6,a],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function o(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0});var u=r(3830),a=r(7583),s=32;function f(){return n(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return[4,a.getRandomBytes(s)];case 1:return t=e.sent(),u.privateKeyVerify(t)?[2,t]:[3,0];case 2:return[2]}}))}))}function c(){while(1){var t=a.getRandomBytesSync(s);if(u.privateKeyVerify(t))return t}}e.createPrivateKey=f,e.createPrivateKeySync=c,o(r(3830))},8438:function(t,e,r){"use strict";var n=r(480)["Buffer"];r(7658);var i=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),u=[];try{while((void 0===e||e-- >0)&&!(n=o.next()).done)u.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return u},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isZeroAddress=e.zeroAddress=e.importPublic=e.privateToAddress=e.privateToPublic=e.publicToAddress=e.pubToAddress=e.isValidPublic=e.isValidPrivate=e.generateAddress2=e.generateAddress=e.isValidChecksumAddress=e.toChecksumAddress=e.isValidAddress=e.Account=void 0;var u=o(r(4108)),a=r(7),s=r(2098),f=r(5661),c=r(5472),h=r(1831),l=r(1285),d=r(8992),p=r(7335),b=function(){function t(t,e,r,n){void 0===t&&(t=new a.BN(0)),void 0===e&&(e=new a.BN(0)),void 0===r&&(r=c.KECCAK256_RLP),void 0===n&&(n=c.KECCAK256_NULL),this.nonce=t,this.balance=e,this.stateRoot=r,this.codeHash=n,this._validate()}return t.fromAccountData=function(e){var r=e.nonce,n=e.balance,i=e.stateRoot,o=e.codeHash;return new t(r?new a.BN((0,h.toBuffer)(r)):void 0,n?new a.BN((0,h.toBuffer)(n)):void 0,i?(0,h.toBuffer)(i):void 0,o?(0,h.toBuffer)(o):void 0)},t.fromRlpSerializedAccount=function(t){var e=a.rlp.decode(t);if(!Array.isArray(e))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(e)},t.fromValuesArray=function(e){var r=i(e,4),n=r[0],o=r[1],u=r[2],s=r[3];return new t(new a.BN(n),new a.BN(o),u,s)},t.prototype._validate=function(){if(this.nonce.lt(new a.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new a.BN(0)))throw new Error("balance must be greater than zero");if(32!==this.stateRoot.length)throw new Error("stateRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")},t.prototype.raw=function(){return[(0,p.bnToUnpaddedBuffer)(this.nonce),(0,p.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},t.prototype.serialize=function(){return a.rlp.encode(this.raw())},t.prototype.isContract=function(){return!this.codeHash.equals(c.KECCAK256_NULL)},t.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(c.KECCAK256_NULL)},t}();e.Account=b;var g=function(t){try{(0,d.assertIsString)(t)}catch(e){return!1}return/^0x[0-9a-fA-F]{40}$/.test(t)};e.isValidAddress=g;var m=function(t,e){(0,d.assertIsHexString)(t);var r=(0,f.stripHexPrefix)(t).toLowerCase(),n="";if(e){var i=(0,p.toType)(e,p.TypeOutput.BN);n=i.toString()+"0x"}for(var o=(0,l.keccakFromString)(n+r).toString("hex"),u="0x",a=0;a<r.length;a++)parseInt(o[a],16)>=8?u+=r[a].toUpperCase():u+=r[a];return u};e.toChecksumAddress=m;var y=function(t,r){return(0,e.isValidAddress)(t)&&(0,e.toChecksumAddress)(t,r)===t};e.isValidChecksumAddress=y;var v=function(t,e){(0,d.assertIsBuffer)(t),(0,d.assertIsBuffer)(e);var r=new a.BN(e);return r.isZero()?(0,l.rlphash)([t,null]).slice(-20):(0,l.rlphash)([t,n.from(r.toArray())]).slice(-20)};e.generateAddress=v;var w=function(t,e,r){(0,d.assertIsBuffer)(t),(0,d.assertIsBuffer)(e),(0,d.assertIsBuffer)(r),(0,u.default)(20===t.length),(0,u.default)(32===e.length);var i=(0,l.keccak256)(n.concat([n.from("ff","hex"),t,e,(0,l.keccak256)(r)]));return i.slice(-20)};e.generateAddress2=w;var _=function(t){return(0,s.privateKeyVerify)(t)};e.isValidPrivate=_;var M=function(t,e){return void 0===e&&(e=!1),(0,d.assertIsBuffer)(t),64===t.length?(0,s.publicKeyVerify)(n.concat([n.from([4]),t])):!!e&&(0,s.publicKeyVerify)(t)};e.isValidPublic=M;var S=function(t,e){return void 0===e&&(e=!1),(0,d.assertIsBuffer)(t),e&&64!==t.length&&(t=n.from((0,s.publicKeyConvert)(t,!1).slice(1))),(0,u.default)(64===t.length),(0,l.keccak)(t).slice(-20)};e.pubToAddress=S,e.publicToAddress=e.pubToAddress;var A=function(t){return(0,d.assertIsBuffer)(t),n.from((0,s.publicKeyCreate)(t,!1)).slice(1)};e.privateToPublic=A;var E=function(t){return(0,e.publicToAddress)((0,e.privateToPublic)(t))};e.privateToAddress=E;var k=function(t){return(0,d.assertIsBuffer)(t),64!==t.length&&(t=n.from((0,s.publicKeyConvert)(t,!1).slice(1))),t};e.importPublic=k;var x=function(){var t=20,e=(0,h.zeros)(t);return(0,h.bufferToHex)(e)};e.zeroAddress=x;var O=function(t){try{(0,d.assertIsString)(t)}catch(n){return!1}var r=(0,e.zeroAddress)();return r===t};e.isZeroAddress=O},2141:function(t,e,r){"use strict";var n=r(480)["Buffer"],i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Address=void 0;var o=i(r(4108)),u=r(7),a=r(1831),s=r(8438),f=function(){function t(t){(0,o.default)(20===t.length,"Invalid address length"),this.buf=t}return t.zero=function(){return new t((0,a.zeros)(20))},t.fromString=function(e){return(0,o.default)((0,s.isValidAddress)(e),"Invalid address"),new t((0,a.toBuffer)(e))},t.fromPublicKey=function(e){(0,o.default)(n.isBuffer(e),"Public key should be Buffer");var r=(0,s.pubToAddress)(e);return new t(r)},t.fromPrivateKey=function(e){(0,o.default)(n.isBuffer(e),"Private key should be Buffer");var r=(0,s.privateToAddress)(e);return new t(r)},t.generate=function(e,r){return(0,o.default)(u.BN.isBN(r)),new t((0,s.generateAddress)(e.buf,r.toArrayLike(n)))},t.generate2=function(e,r,i){return(0,o.default)(n.isBuffer(r)),(0,o.default)(n.isBuffer(i)),new t((0,s.generateAddress2)(e.buf,r,i))},t.prototype.equals=function(t){return this.buf.equals(t.buf)},t.prototype.isZero=function(){return this.equals(t.zero())},t.prototype.isPrecompileOrSystemAddress=function(){var t=new u.BN(this.buf),e=new u.BN(0),r=new u.BN("ffff","hex");return t.gte(e)&&t.lte(r)},t.prototype.toString=function(){return"0x"+this.buf.toString("hex")},t.prototype.toBuffer=function(){return n.from(this.buf)},t}();e.Address=f},1831:function(t,e,r){"use strict";var n=r(480)["Buffer"];r(7658),r(3767),r(8585),r(8696);var i=this&&this.__values||function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),u=[];try{while((void 0===e||e-- >0)&&!(n=o.next()).done)u.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return u};Object.defineProperty(e,"__esModule",{value:!0}),e.bufArrToArr=e.arrToBufArr=e.validateNoLeadingZeroes=e.baToJSON=e.toUtf8=e.addHexPrefix=e.toUnsigned=e.fromSigned=e.bufferToHex=e.bufferToInt=e.toBuffer=e.unpadHexString=e.unpadArray=e.unpadBuffer=e.setLengthRight=e.setLengthLeft=e.zeros=e.intToBuffer=e.intToHex=void 0;var u=r(7),a=r(5661),s=r(8992),f=function(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Received an invalid integer type: ".concat(t));return"0x".concat(t.toString(16))};e.intToHex=f;var c=function(t){var r=(0,e.intToHex)(t);return n.from((0,a.padToEven)(r.slice(2)),"hex")};e.intToBuffer=c;var h=function(t){return n.allocUnsafe(t).fill(0)};e.zeros=h;var l=function(t,r,n){var i=(0,e.zeros)(r);return n?t.length<r?(t.copy(i),i):t.slice(0,r):t.length<r?(t.copy(i,r-t.length),i):t.slice(-r)},d=function(t,e){return(0,s.assertIsBuffer)(t),l(t,e,!1)};e.setLengthLeft=d;var p=function(t,e){return(0,s.assertIsBuffer)(t),l(t,e,!0)};e.setLengthRight=p;var b=function(t){var e=t[0];while(t.length>0&&"0"===e.toString())t=t.slice(1),e=t[0];return t},g=function(t){return(0,s.assertIsBuffer)(t),b(t)};e.unpadBuffer=g;var m=function(t){return(0,s.assertIsArray)(t),b(t)};e.unpadArray=m;var y=function(t){return(0,s.assertIsHexString)(t),t=(0,a.stripHexPrefix)(t),b(t)};e.unpadHexString=y;var v=function(t){if(null===t||void 0===t)return n.allocUnsafe(0);if(n.isBuffer(t))return n.from(t);if(Array.isArray(t)||t instanceof Uint8Array)return n.from(t);if("string"===typeof t){if(!(0,a.isHexString)(t))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(t));return n.from((0,a.padToEven)((0,a.stripHexPrefix)(t)),"hex")}if("number"===typeof t)return(0,e.intToBuffer)(t);if(u.BN.isBN(t)){if(t.isNeg())throw new Error("Cannot convert negative BN to buffer. Given: ".concat(t));return t.toArrayLike(n)}if(t.toArray)return n.from(t.toArray());if(t.toBuffer)return n.from(t.toBuffer());throw new Error("invalid type")};e.toBuffer=v;var w=function(t){return new u.BN((0,e.toBuffer)(t)).toNumber()};e.bufferToInt=w;var _=function(t){return t=(0,e.toBuffer)(t),"0x"+t.toString("hex")};e.bufferToHex=_;var M=function(t){return new u.BN(t).fromTwos(256)};e.fromSigned=M;var S=function(t){return n.from(t.toTwos(256).toArray())};e.toUnsigned=S;var A=function(t){return"string"!==typeof t||(0,a.isHexPrefixed)(t)?t:"0x"+t};e.addHexPrefix=A;var E=function(t){var e=/^(00)+|(00)+$/g;if(t=(0,a.stripHexPrefix)(t),t.length%2!==0)throw new Error("Invalid non-even hex string input for toUtf8() provided");var r=n.from(t.replace(e,""),"hex");return r.toString("utf8")};e.toUtf8=E;var k=function(t){if(n.isBuffer(t))return"0x".concat(t.toString("hex"));if(t instanceof Array){for(var r=[],i=0;i<t.length;i++)r.push((0,e.baToJSON)(t[i]));return r}};e.baToJSON=k;var x=function(t){var e,r;try{for(var n=i(Object.entries(t)),u=n.next();!u.done;u=n.next()){var a=o(u.value,2),s=a[0],f=a[1];if(void 0!==f&&f.length>0&&0===f[0])throw new Error("".concat(s," cannot have leading zeroes, received: ").concat(f.toString("hex")))}}catch(c){e={error:c}}finally{try{u&&!u.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}};function O(t){return Array.isArray(t)?t.map((function(t){return O(t)})):n.from(t)}function I(t){return Array.isArray(t)?t.map((function(t){return I(t)})):Uint8Array.from(null!==t&&void 0!==t?t:[])}e.validateNoLeadingZeroes=x,e.arrToBufArr=O,e.bufArrToArr=I},5472:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KECCAK256_RLP=e.KECCAK256_RLP_S=e.KECCAK256_RLP_ARRAY=e.KECCAK256_RLP_ARRAY_S=e.KECCAK256_NULL=e.KECCAK256_NULL_S=e.TWO_POW256=e.MAX_INTEGER=e.MAX_UINT64=void 0;var n=r(480),i=r(7);e.MAX_UINT64=new i.BN("ffffffffffffffff",16),e.MAX_INTEGER=new i.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),e.TWO_POW256=new i.BN("10000000000000000000000000000000000000000000000000000000000000000",16),e.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",e.KECCAK256_NULL=n.Buffer.from(e.KECCAK256_NULL_S,"hex"),e.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",e.KECCAK256_RLP_ARRAY=n.Buffer.from(e.KECCAK256_RLP_ARRAY_S,"hex"),e.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",e.KECCAK256_RLP=n.Buffer.from(e.KECCAK256_RLP_S,"hex")},7:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.rlp=e.BN=void 0;var a=u(r(6170));e.BN=a.default;var s=o(r(1224));e.rlp=s},1285:function(t,e,r){"use strict";var n=r(480)["Buffer"];Object.defineProperty(e,"__esModule",{value:!0}),e.rlphash=e.ripemd160FromArray=e.ripemd160FromString=e.ripemd160=e.sha256FromArray=e.sha256FromString=e.sha256=e.keccakFromArray=e.keccakFromHexString=e.keccakFromString=e.keccak256=e.keccak=void 0;var i=r(1525),o=r(6871),u=r(7),a=r(1831),s=r(8992),f=function(t,e){switch(void 0===e&&(e=256),(0,s.assertIsBuffer)(t),e){case 224:return(0,i.keccak224)(t);case 256:return(0,i.keccak256)(t);case 384:return(0,i.keccak384)(t);case 512:return(0,i.keccak512)(t);default:throw new Error("Invald algorithm: keccak".concat(e))}};e.keccak=f;var c=function(t){return(0,e.keccak)(t)};e.keccak256=c;var h=function(t,r){void 0===r&&(r=256),(0,s.assertIsString)(t);var i=n.from(t,"utf8");return(0,e.keccak)(i,r)};e.keccakFromString=h;var l=function(t,r){return void 0===r&&(r=256),(0,s.assertIsHexString)(t),(0,e.keccak)((0,a.toBuffer)(t),r)};e.keccakFromHexString=l;var d=function(t,r){return void 0===r&&(r=256),(0,s.assertIsArray)(t),(0,e.keccak)((0,a.toBuffer)(t),r)};e.keccakFromArray=d;var p=function(t){return t=(0,a.toBuffer)(t),o("sha256").update(t).digest()},b=function(t){return(0,s.assertIsBuffer)(t),p(t)};e.sha256=b;var g=function(t){return(0,s.assertIsString)(t),p(t)};e.sha256FromString=g;var m=function(t){return(0,s.assertIsArray)(t),p(t)};e.sha256FromArray=m;var y=function(t,e){t=(0,a.toBuffer)(t);var r=o("rmd160").update(t).digest();return!0===e?(0,a.setLengthLeft)(r,32):r},v=function(t,e){return(0,s.assertIsBuffer)(t),y(t,e)};e.ripemd160=v;var w=function(t,e){return(0,s.assertIsString)(t),y(t,e)};e.ripemd160FromString=w;var _=function(t,e){return(0,s.assertIsArray)(t),y(t,e)};e.ripemd160FromArray=_;var M=function(t){return(0,e.keccak)(u.rlp.encode(t))};e.rlphash=M},8992:function(t,e,r){"use strict";var n=r(480)["Buffer"];Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsString=e.assertIsArray=e.assertIsBuffer=e.assertIsHexString=void 0;var i=r(5661),o=function(t){if(!(0,i.isHexString)(t)){var e="This method only supports 0x-prefixed hex strings but input was: ".concat(t);throw new Error(e)}};e.assertIsHexString=o;var u=function(t){if(!n.isBuffer(t)){var e="This method only supports Buffer but input was: ".concat(t);throw new Error(e)}};e.assertIsBuffer=u;var a=function(t){if(!Array.isArray(t)){var e="This method only supports number arrays but input was: ".concat(t);throw new Error(e)}};e.assertIsArray=a;var s=function(t){if("string"!==typeof t){var e="This method only supports strings but input was: ".concat(t);throw new Error(e)}};e.assertIsString=s},4342:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.isHexString=e.getKeys=e.fromAscii=e.fromUtf8=e.toAscii=e.arrayContainsArray=e.getBinarySize=e.padToEven=e.stripHexPrefix=e.isHexPrefixed=void 0,i(r(5472),e),i(r(8438),e),i(r(2141),e),i(r(1285),e),i(r(1737),e),i(r(1831),e),i(r(229),e),i(r(7),e),i(r(7335),e);var o=r(5661);Object.defineProperty(e,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(e,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(e,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(e,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(e,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(e,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),Object.defineProperty(e,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(e,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(e,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(e,"isHexString",{enumerable:!0,get:function(){return o.isHexString}})},5661:function(t,e,r){"use strict";var n=r(480)["Buffer"];function i(t){if("string"!==typeof t)throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat(typeof t));return"0"===t[0]&&"x"===t[1]}r(7658),Object.defineProperty(e,"__esModule",{value:!0}),e.isHexString=e.getKeys=e.fromAscii=e.fromUtf8=e.toAscii=e.arrayContainsArray=e.getBinarySize=e.padToEven=e.stripHexPrefix=e.isHexPrefixed=void 0,e.isHexPrefixed=i;var o=function(t){if("string"!==typeof t)throw new Error("[stripHexPrefix] input must be type 'string', received ".concat(typeof t));return i(t)?t.slice(2):t};function u(t){var e=t;if("string"!==typeof e)throw new Error("[padToEven] value must be type 'string', received ".concat(typeof e));return e.length%2&&(e="0".concat(e)),e}function a(t){if("string"!==typeof t)throw new Error("[getBinarySize] method requires input type 'string', recieved ".concat(typeof t));return n.byteLength(t,"utf8")}function s(t,e,r){if(!0!==Array.isArray(t))throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat(typeof t,"'"));if(!0!==Array.isArray(e))throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat(typeof e,"'"));return e[r?"some":"every"]((function(e){return t.indexOf(e)>=0}))}function f(t){var e="",r=0,n=t.length;for("0x"===t.substring(0,2)&&(r=2);r<n;r+=2){var i=parseInt(t.substr(r,2),16);e+=String.fromCharCode(i)}return e}function c(t){var e=n.from(t,"utf8");return"0x".concat(u(e.toString("hex")).replace(/^0+|0+$/g,""))}function h(t){for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r),i=n.toString(16);e+=i.length<2?"0".concat(i):i}return"0x".concat(e)}function l(t,e,r){if(!Array.isArray(t))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat(typeof t));if("string"!==typeof e)throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat(typeof t));for(var n=[],i=0;i<t.length;i++){var o=t[i][e];if(r&&!o)o="";else if("string"!==typeof o)throw new Error("invalid abi - expected type 'string', received ".concat(typeof o));n.push(o)}return n}function d(t,e){return!("string"!==typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!e||t.length===2+2*e)}e.stripHexPrefix=o,e.padToEven=u,e.getBinarySize=a,e.arrayContainsArray=s,e.toAscii=f,e.fromUtf8=c,e.fromAscii=h,e.getKeys=l,e.isHexString=d},229:function(t,e,r){"use strict";var n=r(480)["Buffer"];r(7658);var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.defineProperties=void 0;var o=i(r(4108)),u=r(5661),a=r(7),s=r(1831),f=function(t,e,r){if(t.raw=[],t._fields=[],t.toJSON=function(e){if(void 0===e&&(e=!1),e){var r={};return t._fields.forEach((function(e){r[e]="0x".concat(t[e].toString("hex"))})),r}return(0,s.baToJSON)(t.raw)},t.serialize=function(){return a.rlp.encode(t.raw)},e.forEach((function(e,r){function i(){return t.raw[r]}function u(i){i=(0,s.toBuffer)(i),"00"!==i.toString("hex")||e.allowZero||(i=n.allocUnsafe(0)),e.allowLess&&e.length?(i=(0,s.unpadBuffer)(i),(0,o.default)(e.length>=i.length,"The field ".concat(e.name," must not have more ").concat(e.length," bytes"))):e.allowZero&&0===i.length||!e.length||(0,o.default)(e.length===i.length,"The field ".concat(e.name," must have byte length of ").concat(e.length)),t.raw[r]=i}t._fields.push(e.name),Object.defineProperty(t,e.name,{enumerable:!0,configurable:!0,get:i,set:u}),e.default&&(t[e.name]=e.default),e.alias&&Object.defineProperty(t,e.alias,{enumerable:!1,configurable:!0,set:u,get:i})})),r)if("string"===typeof r&&(r=n.from((0,u.stripHexPrefix)(r),"hex")),n.isBuffer(r)&&(r=a.rlp.decode(r)),Array.isArray(r)){if(r.length>t._fields.length)throw new Error("wrong number of fields in data");r.forEach((function(e,r){t[t._fields[r]]=(0,s.toBuffer)(e)}))}else{if("object"!==typeof r)throw new Error("invalid data");var i=Object.keys(r);e.forEach((function(e){-1!==i.indexOf(e.name)&&(t[e.name]=r[e.name]),-1!==i.indexOf(e.alias)&&(t[e.alias]=r[e.alias])}))}};e.defineProperties=f},1737:function(t,e,r){"use strict";var n=r(480)["Buffer"];Object.defineProperty(e,"__esModule",{value:!0}),e.hashPersonalMessage=e.isValidSignature=e.fromRpcSig=e.toCompactSig=e.toRpcSig=e.ecrecover=e.ecsign=void 0;var i=r(2098),o=r(7),u=r(1831),a=r(1285),s=r(8992),f=r(7335);function c(t,e,r){var o=(0,i.ecdsaSign)(t,e),u=o.signature,a=o.recid,s=n.from(u.slice(0,32)),c=n.from(u.slice(32,64));if(!r||"number"===typeof r){if(r&&!Number.isSafeInteger(r))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var h=r?a+(2*r+35):a+27;return{r:s,s:c,v:h}}var l=(0,f.toType)(r,f.TypeOutput.BN),d=l.muln(2).addn(35).addn(a).toArrayLike(n);return{r:s,s:c,v:d}}function h(t,e){var r=(0,f.toType)(t,f.TypeOutput.BN);if(r.eqn(0)||r.eqn(1))return(0,f.toType)(t,f.TypeOutput.BN);if(!e)return r.subn(27);var n=(0,f.toType)(e,f.TypeOutput.BN);return r.sub(n.muln(2).addn(35))}function l(t){var e=new o.BN(t);return e.eqn(0)||e.eqn(1)}e.ecsign=c;var d=function(t,e,r,o,a){var s=n.concat([(0,u.setLengthLeft)(r,32),(0,u.setLengthLeft)(o,32)],64),f=h(e,a);if(!l(f))throw new Error("Invalid signature v value");var c=(0,i.ecdsaRecover)(s,f.toNumber(),t);return n.from((0,i.publicKeyConvert)(c,!1).slice(1))};e.ecrecover=d;var p=function(t,e,r,i){var o=h(t,i);if(!l(o))throw new Error("Invalid signature v value");return(0,u.bufferToHex)(n.concat([(0,u.setLengthLeft)(e,32),(0,u.setLengthLeft)(r,32),(0,u.toBuffer)(t)]))};e.toRpcSig=p;var b=function(t,e,r,i){var o=h(t,i);if(!l(o))throw new Error("Invalid signature v value");var a=(0,f.toType)(t,f.TypeOutput.Number),s=r;return(a>28&&a%2===1||1===a||28===a)&&(s=n.from(r),s[0]|=128),(0,u.bufferToHex)(n.concat([(0,u.setLengthLeft)(e,32),(0,u.setLengthLeft)(s,32)]))};e.toCompactSig=b;var g=function(t){var e,r,n,i=(0,u.toBuffer)(t);if(i.length>=65)e=i.slice(0,32),r=i.slice(32,64),n=(0,u.bufferToInt)(i.slice(64));else{if(64!==i.length)throw new Error("Invalid signature length");e=i.slice(0,32),r=i.slice(32,64),n=(0,u.bufferToInt)(i.slice(32,33))>>7,r[0]&=127}return n<27&&(n+=27),{v:n,r:e,s:r}};e.fromRpcSig=g;var m=function(t,e,r,n,i){void 0===n&&(n=!0);var u=new o.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),a=new o.BN("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==e.length||32!==r.length)return!1;if(!l(h(t,i)))return!1;var s=new o.BN(e),f=new o.BN(r);return!(s.isZero()||s.gt(a)||f.isZero()||f.gt(a))&&(!n||1!==f.cmp(u))};e.isValidSignature=m;var y=function(t){(0,s.assertIsBuffer)(t);var e=n.from("Ethereum Signed Message:\n".concat(t.length),"utf-8");return(0,a.keccak)(n.concat([e,t]))};e.hashPersonalMessage=y},7335:function(t,e,r){"use strict";var n=r(480)["Buffer"];Object.defineProperty(e,"__esModule",{value:!0}),e.toType=e.TypeOutput=e.bnToRlp=e.bnToUnpaddedBuffer=e.bnToHex=void 0;var i,o=r(7),u=r(5661),a=r(1831);function s(t){return"0x".concat(t.toString(16))}function f(t){return(0,a.unpadBuffer)(t.toArrayLike(n))}function c(t){return f(t)}function h(t,e){if(null===t)return null;if(void 0!==t){if("string"===typeof t&&!(0,u.isHexString)(t))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(t));if("number"===typeof t&&!Number.isSafeInteger(t))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var r=(0,a.toBuffer)(t);if(e===i.Buffer)return r;if(e===i.BN)return new o.BN(r);if(e===i.Number){var n=new o.BN(r),s=new o.BN(Number.MAX_SAFE_INTEGER.toString());if(n.gt(s))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return n.toNumber()}return"0x".concat(r.toString("hex"))}}e.bnToHex=s,e.bnToUnpaddedBuffer=f,e.bnToRlp=c,function(t){t[t["Number"]=0]="Number",t[t["BN"]=1]="BN",t[t["Buffer"]=2]="Buffer",t[t["PrefixedHexString"]=3]="PrefixedHexString"}(i=e.TypeOutput||(e.TypeOutput={})),e.toType=h},3953:function(t,e,r){"use strict";var n=r(2409);r(7658),r(541);var i,o="object"===typeof Reflect?Reflect:null,u=o&&"function"===typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};function a(t){n&&n.warn&&n.warn(t)}i=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var s=Number.isNaN||function(t){return t!==t};function f(){f.init.call(this)}t.exports=f,t.exports.once=_,f.EventEmitter=f,f.prototype._events=void 0,f.prototype._eventsCount=0,f.prototype._maxListeners=void 0;var c=10;function h(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?f.defaultMaxListeners:t._maxListeners}function d(t,e,r,n){var i,o,u;if(h(r),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),u=o[e]),void 0===u)u=o[e]=r,++t._eventsCount;else if("function"===typeof u?u=o[e]=n?[r,u]:[u,r]:n?u.unshift(r):u.push(r),i=l(t),i>0&&u.length>i&&!u.warned){u.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=u.length,a(s)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function b(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=p.bind(n);return i.listener=r,n.wrapFn=i,i}function g(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?w(i):y(i,i.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function v(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function w(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}function _(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}S(t,e,o,{once:!0}),"error"!==e&&M(t,i,{once:!0})}))}function M(t,e,r){"function"===typeof t.on&&S(t,"error",e,r)}function S(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(f,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!==typeof t||t<0||s(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),f.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},f.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||s(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},f.prototype.getMaxListeners=function(){return l(this)},f.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[t];if(void 0===s)return!1;if("function"===typeof s)u(s,this,e);else{var f=s.length,c=y(s,f);for(r=0;r<f;++r)u(c[r],this,e)}return!0},f.prototype.addListener=function(t,e){return d(this,t,e,!1)},f.prototype.on=f.prototype.addListener,f.prototype.prependListener=function(t,e){return d(this,t,e,!0)},f.prototype.once=function(t,e){return h(e),this.on(t,b(this,t,e)),this},f.prototype.prependOnceListener=function(t,e){return h(e),this.prependListener(t,b(this,t,e)),this},f.prototype.removeListener=function(t,e){var r,n,i,o,u;if(h(e),n=this._events,void 0===n)return this;if(r=n[t],void 0===r)return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){u=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():v(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,u||e)}return this},f.prototype.off=f.prototype.removeListener,f.prototype.removeAllListeners=function(t){var e,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)i=o[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=r[t],"function"===typeof e)this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},f.prototype.listeners=function(t){return g(this,t,!0)},f.prototype.rawListeners=function(t){return g(this,t,!1)},f.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},f.prototype.listenerCount=m,f.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},9438:function(t,e,r){"use strict";var n=r(8604),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,u=function(t,e,r){for(var n=0,i=t.length;n<i;n++)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))},a=function(t,e,r){for(var n=0,i=t.length;n<i;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)},s=function(t,e,r){for(var n in t)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))},f=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=r),"[object Array]"===i.call(t)?u(t,e,o):"string"===typeof t?a(t,e,o):s(t,e,o)};t.exports=f},6863:function(t,e,r){"use strict";r(7658);var n="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,u="[object Function]";t.exports=function(t){var e=this;if("function"!==typeof e||o.call(e)!==u)throw new TypeError(n+e);for(var r,a=i.call(arguments,1),s=function(){if(this instanceof r){var n=e.apply(this,a.concat(i.call(arguments)));return Object(n)===n?n:this}return e.apply(t,a.concat(i.call(arguments)))},f=Math.max(0,e.length-a.length),c=[],h=0;h<f;h++)c.push("$"+h);if(r=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),e.prototype){var l=function(){};l.prototype=e.prototype,r.prototype=new l,l.prototype=null}return r}},3574:function(t,e,r){"use strict";var n=r(6863);t.exports=Function.prototype.bind||n},1107:function(t,e,r){"use strict";var n;r(3767),r(8585),r(8696);var i=SyntaxError,o=Function,u=TypeError,a=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(R){s=null}var f=function(){throw new u},c=s?function(){try{return f}catch(t){try{return s(arguments,"callee").get}catch(e){return f}}}():f,h=r(5354)(),l=Object.getPrototypeOf||function(t){return t.__proto__},d={},p="undefined"===typeof Uint8Array?n:l(Uint8Array),b={"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":h?l([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h?l(l([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&h?l((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&h?l((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h?l(""[Symbol.iterator]()):n,"%Symbol%":h?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":u,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};try{null.error}catch(R){var g=l(l(R));b["%Error.prototype%"]=g}var m=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(r=l(i.prototype))}return b[e]=r,r},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(3574),w=r(8350),_=v.call(Function.call,Array.prototype.concat),M=v.call(Function.apply,Array.prototype.splice),S=v.call(Function.call,String.prototype.replace),A=v.call(Function.call,String.prototype.slice),E=v.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,O=function(t){var e=A(t,0,1),r=A(t,-1);if("%"===e&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,k,(function(t,e,r,i){n[n.length]=r?S(i,x,"$1"):e||t})),n},I=function(t,e){var r,n=t;if(w(y,n)&&(r=y[n],n="%"+r[0]+"%"),w(b,n)){var o=b[n];if(o===d&&(o=m(n)),"undefined"===typeof o&&!e)throw new u("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new u('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=O(t),n=r.length>0?r[0]:"",o=I("%"+n+"%",e),a=o.name,f=o.value,c=!1,h=o.alias;h&&(n=h[0],M(r,_([0,1],h)));for(var l=1,d=!0;l<r.length;l+=1){var p=r[l],g=A(p,0,1),m=A(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(c=!0),n+="."+p,a="%"+n+"%",w(b,a))f=b[a];else if(null!=f){if(!(p in f)){if(!e)throw new u("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&l+1>=r.length){var y=s(f,p);d=!!y,f=d&&"get"in y&&!("originalValue"in y.get)?y.get:f[p]}else d=w(f,p),f=f[p];d&&!c&&(b[a]=f)}}return f}},7905:function(t,e,r){"use strict";var n=r(1107),i=n("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(o){i=null}t.exports=i},7316:function(t,e,r){"use strict";var n=r(1107),i=n("%Object.defineProperty%",!0),o=function(){if(i)try{return i({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==i([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},5354:function(t,e,r){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=r(3950);t.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},3950:function(t){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(e in t[e]=n,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==n||!0!==o.enumerable)return!1}return!0}},9505:function(t,e,r){"use strict";var n=r(3950);t.exports=function(){return n()&&!!Symbol.toStringTag}},8350:function(t,e,r){"use strict";var n=r(3574);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},9511:function(t,e,r){"use strict";r(7658);var n=r(7186).Buffer,i=r(7370).Transform,o=r(2068);function u(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}function a(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}o(a,i),a.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(i){n=i}r(n)},a.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(r){e=r}t(e)},a.prototype.update=function(t,e){if(u(t,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));var r=this._block,i=0;while(this._blockOffset+t.length-i>=this._blockSize){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}while(i<t.length)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,s=this._length[a]/4294967296|0,s>0&&(this._length[a]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},a.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=a},807:function(t,e,r){var n=e;n.utils=r(169),n.common=r(9376),n.sha=r(1970),n.ripemd=r(7276),n.hmac=r(6236),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},9376:function(t,e,r){"use strict";var n=r(169),i=r(3891);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var r=t.length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},6236:function(t,e,r){"use strict";r(7658);var n=r(169),i=r(3891);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},7276:function(t,e,r){"use strict";var n=r(169),i=r(9376),o=n.rotl32,u=n.sum32,a=n.sum32_3,s=n.sum32_4,f=i.BlockHash;function c(){if(!(this instanceof c))return new c;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function l(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(c,f),e.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],f=this.h[3],c=this.h[4],y=r,v=n,w=i,_=f,M=c,S=0;S<80;S++){var A=u(o(s(r,h(S,n,i,f),t[p[S]+e],l(S)),g[S]),c);r=c,c=f,f=o(i,10),i=n,n=A,A=u(o(s(y,h(79-S,v,w,_),t[b[S]+e],d(S)),m[S]),M),y=M,M=_,_=o(w,10),w=v,v=A}A=a(this.h[1],i,_),this.h[1]=a(this.h[2],f,M),this.h[2]=a(this.h[3],c,y),this.h[3]=a(this.h[4],r,v),this.h[4]=a(this.h[0],n,w),this.h[0]=A},c.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},1970:function(t,e,r){"use strict";e.sha1=r(733),e.sha224=r(5559),e.sha256=r(8793),e.sha384=r(9048),e.sha512=r(8799)},733:function(t,e,r){"use strict";var n=r(169),i=r(9376),o=r(6514),u=n.rotl32,a=n.sum32,s=n.sum32_5,f=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function l(){if(!(this instanceof l))return new l;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(l,c),t.exports=l,l.blockSize=512,l.outSize=160,l.hmacStrength=80,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=u(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],c=this.h[2],l=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),b=s(u(i,5),f(p,o,c,l),d,r[n],h[p]);d=l,l=c,c=u(o,30),o=i,i=b}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],c),this.h[3]=a(this.h[3],l),this.h[4]=a(this.h[4],d)},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},5559:function(t,e,r){"use strict";var n=r(169),i=r(8793);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},8793:function(t,e,r){"use strict";var n=r(169),i=r(9376),o=r(6514),u=r(3891),a=n.sum32,s=n.sum32_4,f=n.sum32_5,c=o.ch32,h=o.maj32,l=o.s0_256,d=o.s1_256,p=o.g0_256,b=o.g1_256,g=i.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}n.inherits(y,g),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=s(b(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],m=this.h[3],y=this.h[4],v=this.h[5],w=this.h[6],_=this.h[7];for(u(this.k.length===r.length),n=0;n<r.length;n++){var M=f(_,d(y),c(y,v,w),this.k[n],r[n]),S=a(l(i),h(i,o,g));_=w,w=v,v=y,y=a(m,M),m=g,g=o,o=i,i=a(M,S)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],g),this.h[3]=a(this.h[3],m),this.h[4]=a(this.h[4],y),this.h[5]=a(this.h[5],v),this.h[6]=a(this.h[6],w),this.h[7]=a(this.h[7],_)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},9048:function(t,e,r){"use strict";var n=r(169),i=r(8799);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},8799:function(t,e,r){"use strict";var n=r(169),i=r(9376),o=r(3891),u=n.rotr64_hi,a=n.rotr64_lo,s=n.shr64_hi,f=n.shr64_lo,c=n.sum64,h=n.sum64_hi,l=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,b=n.sum64_5_hi,g=n.sum64_5_lo,m=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function w(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function _(t,e,r,n,i,o){var u=e&n^~e&o;return u<0&&(u+=4294967296),u}function M(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function S(t,e,r,n,i,o){var u=e&n^e&o^n&o;return u<0&&(u+=4294967296),u}function A(t,e){var r=u(t,e,28),n=u(e,t,2),i=u(e,t,7),o=r^n^i;return o<0&&(o+=4294967296),o}function E(t,e){var r=a(t,e,28),n=a(e,t,2),i=a(e,t,7),o=r^n^i;return o<0&&(o+=4294967296),o}function k(t,e){var r=u(t,e,14),n=u(t,e,18),i=u(e,t,9),o=r^n^i;return o<0&&(o+=4294967296),o}function x(t,e){var r=a(t,e,14),n=a(t,e,18),i=a(e,t,9),o=r^n^i;return o<0&&(o+=4294967296),o}function O(t,e){var r=u(t,e,1),n=u(t,e,8),i=s(t,e,7),o=r^n^i;return o<0&&(o+=4294967296),o}function I(t,e){var r=a(t,e,1),n=a(t,e,8),i=f(t,e,7),o=r^n^i;return o<0&&(o+=4294967296),o}function R(t,e){var r=u(t,e,19),n=u(e,t,29),i=s(t,e,6),o=r^n^i;return o<0&&(o+=4294967296),o}function j(t,e){var r=a(t,e,19),n=a(e,t,29),i=f(t,e,6),o=r^n^i;return o<0&&(o+=4294967296),o}n.inherits(v,m),t.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=R(r[n-4],r[n-3]),o=j(r[n-4],r[n-3]),u=r[n-14],a=r[n-13],s=O(r[n-30],r[n-29]),f=I(r[n-30],r[n-29]),c=r[n-32],h=r[n-31];r[n]=d(i,o,u,a,s,f,c,h),r[n+1]=p(i,o,u,a,s,f,c,h)}},v.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],u=this.h[2],a=this.h[3],s=this.h[4],f=this.h[5],d=this.h[6],p=this.h[7],m=this.h[8],y=this.h[9],v=this.h[10],O=this.h[11],I=this.h[12],R=this.h[13],j=this.h[14],B=this.h[15];o(this.k.length===r.length);for(var P=0;P<r.length;P+=2){var T=j,z=B,N=k(m,y),L=x(m,y),C=w(m,y,v,O,I,R),q=_(m,y,v,O,I,R),U=this.k[P],D=this.k[P+1],F=r[P],K=r[P+1],H=b(T,z,N,L,C,q,U,D,F,K),W=g(T,z,N,L,C,q,U,D,F,K);T=A(n,i),z=E(n,i),N=M(n,i,u,a,s,f),L=S(n,i,u,a,s,f);var V=h(T,z,N,L),$=l(T,z,N,L);j=I,B=R,I=v,R=O,v=m,O=y,m=h(d,p,H,W),y=l(p,p,H,W),d=s,p=f,s=u,f=a,u=n,a=i,n=h(H,W,V,$),i=l(H,W,V,$)}c(this.h,0,n,i),c(this.h,2,u,a),c(this.h,4,s,f),c(this.h,6,d,p),c(this.h,8,m,y),c(this.h,10,v,O),c(this.h,12,I,R),c(this.h,14,j,B)},v.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},6514:function(t,e,r){"use strict";var n=r(169),i=n.rotr32;function o(t,e,r,n){return 0===t?u(e,r,n):1===t||3===t?s(e,r,n):2===t?a(e,r,n):void 0}function u(t,e,r){return t&e^~t&r}function a(t,e,r){return t&e^t&r^e&r}function s(t,e,r){return t^e^r}function f(t){return i(t,2)^i(t,13)^i(t,22)}function c(t){return i(t,6)^i(t,11)^i(t,25)}function h(t){return i(t,7)^i(t,18)^t>>>3}function l(t){return i(t,17)^i(t,19)^t>>>10}e.ft_1=o,e.ch32=u,e.maj32=a,e.p32=s,e.s0_256=f,e.s1_256=c,e.g0_256=h,e.g1_256=l},169:function(t,e,r){"use strict";r(7658);var n=r(3891),i=r(2068);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function u(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"===typeof t)if(e){if("hex"===e)for(t=t.replace(/[^a-z0-9]+/gi,""),t.length%2!==0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var u=t.charCodeAt(i);u<128?r[n++]=u:u<2048?(r[n++]=u>>6|192,r[n++]=63&u|128):o(t,i)?(u=65536+((1023&u)<<10)+(1023&t.charCodeAt(++i)),r[n++]=u>>18|240,r[n++]=u>>12&63|128,r[n++]=u>>6&63|128,r[n++]=63&u|128):(r[n++]=u>>12|224,r[n++]=u>>6&63|128,r[n++]=63&u|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r}function a(t){for(var e="",r=0;r<t.length;r++)e+=c(t[r].toString(16));return e}function s(t){var e=t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24;return e>>>0}function f(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=s(i)),r+=h(i.toString(16))}return r}function c(t){return 1===t.length?"0"+t:t}function h(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}function l(t,e,r,i){var o=r-e;n(o%4===0);for(var u=new Array(o/4),a=0,s=e;a<u.length;a++,s+=4){var f;f="big"===i?t[s]<<24|t[s+1]<<16|t[s+2]<<8|t[s+3]:t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s],u[a]=f>>>0}return u}function d(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r}function p(t,e){return t>>>e|t<<32-e}function b(t,e){return t<<e|t>>>32-e}function g(t,e){return t+e>>>0}function m(t,e,r){return t+e+r>>>0}function y(t,e,r,n){return t+e+r+n>>>0}function v(t,e,r,n,i){return t+e+r+n+i>>>0}function w(t,e,r,n){var i=t[e],o=t[e+1],u=n+o>>>0,a=(u<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=u}function _(t,e,r,n){var i=e+n>>>0,o=(i<e?1:0)+t+r;return o>>>0}function M(t,e,r,n){var i=e+n;return i>>>0}function S(t,e,r,n,i,o,u,a){var s=0,f=e;f=f+n>>>0,s+=f<e?1:0,f=f+o>>>0,s+=f<o?1:0,f=f+a>>>0,s+=f<a?1:0;var c=t+r+i+u+s;return c>>>0}function A(t,e,r,n,i,o,u,a){var s=e+n+o+a;return s>>>0}function E(t,e,r,n,i,o,u,a,s,f){var c=0,h=e;h=h+n>>>0,c+=h<e?1:0,h=h+o>>>0,c+=h<o?1:0,h=h+a>>>0,c+=h<a?1:0,h=h+f>>>0,c+=h<f?1:0;var l=t+r+i+u+s+c;return l>>>0}function k(t,e,r,n,i,o,u,a,s,f){var c=e+n+o+a+f;return c>>>0}function x(t,e,r){var n=e<<32-r|t>>>r;return n>>>0}function O(t,e,r){var n=t<<32-r|e>>>r;return n>>>0}function I(t,e,r){return t>>>r}function R(t,e,r){var n=t<<32-r|e>>>r;return n>>>0}e.inherits=i,e.toArray=u,e.toHex=a,e.htonl=s,e.toHex32=f,e.zero2=c,e.zero8=h,e.join32=l,e.split32=d,e.rotr32=p,e.rotl32=b,e.sum32=g,e.sum32_3=m,e.sum32_4=y,e.sum32_5=v,e.sum64=w,e.sum64_hi=_,e.sum64_lo=M,e.sum64_4_hi=S,e.sum64_4_lo=A,e.sum64_5_hi=E,e.sum64_5_lo=k,e.rotr64_hi=x,e.rotr64_lo=O,e.shr64_hi=I,e.shr64_lo=R},5312:function(t,e,r){"use strict";var n=r(807),i=r(5913),o=r(3891);function u(t){if(!(this instanceof u))return new u(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=u,u.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},u.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},u.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},u.prototype.reseed=function(t,e,r,n){"string"!==typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},u.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));var o=[];while(o.length<t)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var u=o.slice(0,t);return this._update(r),this._reseed++,i.encode(u,e)}},4850:function(t,e){
|
14
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
15
|
+
e.read=function(t,e,r,n,i){var o,u,a=8*i-n-1,s=(1<<a)-1,f=s>>1,c=-7,h=r?i-1:0,l=r?-1:1,d=t[e+h];for(h+=l,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+t[e+h],h+=l,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=n;c>0;u=256*u+t[e+h],h+=l,c-=8);if(0===o)o=1-f;else{if(o===s)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,n),o-=f}return(d?-1:1)*u*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var u,a,s,f=8*o-i-1,c=(1<<f)-1,h=c>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-u))<1&&(u--,s*=2),e+=u+h>=1?l/s:l*Math.pow(2,1-h),e*s>=2&&(u++,s/=2),u+h>=c?(a=0,u=c):u+h>=1?(a=(e*s-1)*Math.pow(2,i),u+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[r+d]=255&a,d+=p,a/=256,i-=8);for(u=u<<i|a,f+=i;f>0;t[r+d]=255&u,d+=p,u/=256,f-=8);t[r+d-p]|=128*b}},2068:function(t){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},2039:function(t,e,r){"use strict";var n=r(9505)(),i=r(4875),o=i("Object.prototype.toString"),u=function(t){return!(n&&t&&"object"===typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!u(t)||null!==t&&"object"===typeof t&&"number"===typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},s=function(){return u(arguments)}();u.isLegacyArguments=a,t.exports=s?u:a},8604:function(t){"use strict";var e,r,n=Function.prototype.toString,i="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof i&&"function"===typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,e)}catch(v){v!==r&&(i=null)}else i=null;var o=/^\s*class\b/,u=function(t){try{var e=n.call(t);return o.test(e)}catch(r){return!1}},a=function(t){try{return!u(t)&&(n.call(t),!0)}catch(e){return!1}},s=Object.prototype.toString,f="[object Object]",c="[object Function]",h="[object GeneratorFunction]",l="[object HTMLAllCollection]",d="[object HTML document.all class]",p="[object HTMLCollection]",b="function"===typeof Symbol&&!!Symbol.toStringTag,g=!(0 in[,]),m=function(){return!1};if("object"===typeof document){var y=document.all;s.call(y)===s.call(document.all)&&(m=function(t){if((g||!t)&&("undefined"===typeof t||"object"===typeof t))try{var e=s.call(t);return(e===l||e===d||e===p||e===f)&&null==t("")}catch(r){}return!1})}t.exports=i?function(t){if(m(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;try{i(t,null,e)}catch(n){if(n!==r)return!1}return!u(t)&&a(t)}:function(t){if(m(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;if(b)return a(t);if(u(t))return!1;var e=s.call(t);return!(e!==c&&e!==h&&!/^\[object HTML/.test(e))&&a(t)}},1113:function(t,e,r){"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,u=/^\s*(?:function)?\*/,a=r(9505)(),s=Object.getPrototypeOf,f=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}};t.exports=function(t){if("function"!==typeof t)return!1;if(u.test(o.call(t)))return!0;if(!a){var e=i.call(t);return"[object GeneratorFunction]"===e}if(!s)return!1;if("undefined"===typeof n){var r=f();n=!!r&&s(r)}return s(t)===n}},7837:function(t){"use strict";t.exports=function(t){return t!==t}},9749:function(t,e,r){"use strict";var n=r(9195),i=r(5527),o=r(7837),u=r(4e3),a=r(4594),s=n(u(),Number);i(s,{getPolyfill:u,implementation:o,shim:a}),t.exports=s},4e3:function(t,e,r){"use strict";var n=r(7837);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},4594:function(t,e,r){"use strict";var n=r(5527),i=r(4e3);t.exports=function(){var t=i();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},9529:function(t,e,r){"use strict";var n=r(9438),i=r(5368),o=r(4875),u=o("Object.prototype.toString"),a=r(9505)(),s=r(7905),f="undefined"===typeof globalThis?r.g:globalThis,c=i(),h=o("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},l=o("String.prototype.slice"),d={},p=Object.getPrototypeOf;a&&s&&p&&n(c,(function(t){var e=new f[t];if(Symbol.toStringTag in e){var r=p(e),n=s(r,Symbol.toStringTag);if(!n){var i=p(r);n=s(i,Symbol.toStringTag)}d[t]=n.get}}));var b=function(t){var e=!1;return n(d,(function(r,n){if(!e)try{e=r.call(t)===n}catch(i){}})),e};t.exports=function(t){if(!t||"object"!==typeof t)return!1;if(!a||!(Symbol.toStringTag in t)){var e=l(u(t),8,-1);return h(c,e)>-1}return!!s&&b(t)}},5801:function(t,e,r){const n=r(8101),i=r(7086),o=r(2678);t.exports=function(t,e){if("string"!==typeof t)return!1;if(e instanceof Object||(e={}),t=t.toLowerCase(),t.endsWith(".")&&(t=t.slice(0,t.length-1)),e.allowUnicode&&(t=n.toASCII(t)),t.length>253)return!1;const r=/^([\u0E00-\u0E7Fa-z0-9-._*]+)$/g;if(!r.test(t))return!1;if(e.topLevel&&o[t.replace(/\.$/,"")])return!0;const u=/(.*)\.(([\u0E00-\u0E7Fa-z0-9]+)(\.[a-z0-9]+))/,a=t.match(u);let s=null,f=null;if(a&&a.length>2&&i[a[2]]&&(s=a[2],f=a[1].split(".")),!f){if(f=t.split("."),f.length<=1)return!1;s=f.pop();const e=/^(?:xn--)?(?!^\d+$)[\u0E00-\u0E7Fa-z0-9]+$/gi;if(!e.test(s))return!1}if(!1===e.subdomain&&f.length>1)return!1;const c=f.every((function(t,r){if(e.wildcard&&0===r&&"*"===t&&f.length>1)return!0;let n=/^([\u0E00-\u0E7Fa-zA-Z0-9-_]+)$/g;r===f.length-1&&(n=/^([\u0E00-\u0E7Fa-zA-Z0-9-]+)$/g);const i=(t.match(/--(--)?/g)||[]).length,o=(t.match(/xn--/g)||[]).length;if(r===f.length-1&&i!==o)return!1;const u=n.test(t)&&t.length<64&&!t.startsWith("-")&&!t.endsWith("-");return u}));return c}},4587:function(t,e,r){t.exports=r(5241)(r(6750))},5241:function(t,e,r){const n=r(8382),i=r(6356);t.exports=function(t){const e=n(t),r=i(t);return function(t,n){const i="string"===typeof t?t.toLowerCase():t;switch(i){case"keccak224":return new e(1152,448,null,224,n);case"keccak256":return new e(1088,512,null,256,n);case"keccak384":return new e(832,768,null,384,n);case"keccak512":return new e(576,1024,null,512,n);case"sha3-224":return new e(1152,448,6,224,n);case"sha3-256":return new e(1088,512,6,256,n);case"sha3-384":return new e(832,768,6,384,n);case"sha3-512":return new e(576,1024,6,512,n);case"shake128":return new r(1344,256,31,n);case"shake256":return new r(1088,512,31,n);default:throw new Error("Invald algorithm: "+t)}}}},8382:function(t,e,r){var n=r(480)["Buffer"];r(7658);const{Transform:i}=r(7370);t.exports=t=>class e extends i{constructor(e,r,n,i,o){super(o),this._rate=e,this._capacity=r,this._delimitedSuffix=n,this._hashBitLength=i,this._options=o,this._state=new t,this._state.initialize(e,r),this._finalized=!1}_transform(t,e,r){let n=null;try{this.update(t,e)}catch(i){n=i}r(n)}_flush(t){let e=null;try{this.push(this.digest())}catch(r){e=r}t(e)}update(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return n.isBuffer(t)||(t=n.from(t,e)),this._state.absorb(t),this}digest(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let e=this._state.squeeze(this._hashBitLength/8);return void 0!==t&&(e=e.toString(t)),this._resetState(),e}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new e(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}},6356:function(t,e,r){var n=r(480)["Buffer"];r(7658);const{Transform:i}=r(7370);t.exports=t=>class e extends i{constructor(e,r,n,i){super(i),this._rate=e,this._capacity=r,this._delimitedSuffix=n,this._options=i,this._state=new t,this._state.initialize(e,r),this._finalized=!1}_transform(t,e,r){let n=null;try{this.update(t,e)}catch(i){n=i}r(n)}_flush(){}_read(t){this.push(this.squeeze(t))}update(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return n.isBuffer(t)||(t=n.from(t,e)),this._state.absorb(t),this}squeeze(t,e){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let r=this._state.squeeze(t);return void 0!==e&&(r=r.toString(e)),r}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new e(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}},7835:function(t,e){const r=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];e.p1600=function(t){for(let e=0;e<24;++e){const n=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],u=t[3]^t[13]^t[23]^t[33]^t[43],a=t[4]^t[14]^t[24]^t[34]^t[44],s=t[5]^t[15]^t[25]^t[35]^t[45],f=t[6]^t[16]^t[26]^t[36]^t[46],c=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],l=t[9]^t[19]^t[29]^t[39]^t[49];let d=h^(o<<1|u>>>31),p=l^(u<<1|o>>>31);const b=t[0]^d,g=t[1]^p,m=t[10]^d,y=t[11]^p,v=t[20]^d,w=t[21]^p,_=t[30]^d,M=t[31]^p,S=t[40]^d,A=t[41]^p;d=n^(a<<1|s>>>31),p=i^(s<<1|a>>>31);const E=t[2]^d,k=t[3]^p,x=t[12]^d,O=t[13]^p,I=t[22]^d,R=t[23]^p,j=t[32]^d,B=t[33]^p,P=t[42]^d,T=t[43]^p;d=o^(f<<1|c>>>31),p=u^(c<<1|f>>>31);const z=t[4]^d,N=t[5]^p,L=t[14]^d,C=t[15]^p,q=t[24]^d,U=t[25]^p,D=t[34]^d,F=t[35]^p,K=t[44]^d,H=t[45]^p;d=a^(h<<1|l>>>31),p=s^(l<<1|h>>>31);const W=t[6]^d,V=t[7]^p,$=t[16]^d,G=t[17]^p,Z=t[26]^d,Y=t[27]^p,J=t[36]^d,X=t[37]^p,Q=t[46]^d,tt=t[47]^p;d=f^(n<<1|i>>>31),p=c^(i<<1|n>>>31);const et=t[8]^d,rt=t[9]^p,nt=t[18]^d,it=t[19]^p,ot=t[28]^d,ut=t[29]^p,at=t[38]^d,st=t[39]^p,ft=t[48]^d,ct=t[49]^p,ht=b,lt=g,dt=y<<4|m>>>28,pt=m<<4|y>>>28,bt=v<<3|w>>>29,gt=w<<3|v>>>29,mt=M<<9|_>>>23,yt=_<<9|M>>>23,vt=S<<18|A>>>14,wt=A<<18|S>>>14,_t=E<<1|k>>>31,Mt=k<<1|E>>>31,St=O<<12|x>>>20,At=x<<12|O>>>20,Et=I<<10|R>>>22,kt=R<<10|I>>>22,xt=B<<13|j>>>19,Ot=j<<13|B>>>19,It=P<<2|T>>>30,Rt=T<<2|P>>>30,jt=N<<30|z>>>2,Bt=z<<30|N>>>2,Pt=L<<6|C>>>26,Tt=C<<6|L>>>26,zt=U<<11|q>>>21,Nt=q<<11|U>>>21,Lt=D<<15|F>>>17,Ct=F<<15|D>>>17,qt=H<<29|K>>>3,Ut=K<<29|H>>>3,Dt=W<<28|V>>>4,Ft=V<<28|W>>>4,Kt=G<<23|$>>>9,Ht=$<<23|G>>>9,Wt=Z<<25|Y>>>7,Vt=Y<<25|Z>>>7,$t=J<<21|X>>>11,Gt=X<<21|J>>>11,Zt=tt<<24|Q>>>8,Yt=Q<<24|tt>>>8,Jt=et<<27|rt>>>5,Xt=rt<<27|et>>>5,Qt=nt<<20|it>>>12,te=it<<20|nt>>>12,ee=ut<<7|ot>>>25,re=ot<<7|ut>>>25,ne=at<<8|st>>>24,ie=st<<8|at>>>24,oe=ft<<14|ct>>>18,ue=ct<<14|ft>>>18;t[0]=ht^~St&zt,t[1]=lt^~At&Nt,t[10]=Dt^~Qt&bt,t[11]=Ft^~te>,t[20]=_t^~Pt&Wt,t[21]=Mt^~Tt&Vt,t[30]=Jt^~dt&Et,t[31]=Xt^~pt&kt,t[40]=jt^~Kt&ee,t[41]=Bt^~Ht&re,t[2]=St^~zt&$t,t[3]=At^~Nt&Gt,t[12]=Qt^~bt&xt,t[13]=te^~gt&Ot,t[22]=Pt^~Wt&ne,t[23]=Tt^~Vt&ie,t[32]=dt^~Et&Lt,t[33]=pt^~kt&Ct,t[42]=Kt^~ee&mt,t[43]=Ht^~re&yt,t[4]=zt^~$t&oe,t[5]=Nt^~Gt&ue,t[14]=bt^~xt&qt,t[15]=gt^~Ot&Ut,t[24]=Wt^~ne&vt,t[25]=Vt^~ie&wt,t[34]=Et^~Lt&Zt,t[35]=kt^~Ct&Yt,t[44]=ee^~mt&It,t[45]=re^~yt&Rt,t[6]=$t^~oe&ht,t[7]=Gt^~ue<,t[16]=xt^~qt&Dt,t[17]=Ot^~Ut&Ft,t[26]=ne^~vt&_t,t[27]=ie^~wt&Mt,t[36]=Lt^~Zt&Jt,t[37]=Ct^~Yt&Xt,t[46]=mt^~It&jt,t[47]=yt^~Rt&Bt,t[8]=oe^~ht&St,t[9]=ue^~lt&At,t[18]=qt^~Dt&Qt,t[19]=Ut^~Ft&te,t[28]=vt^~_t&Pt,t[29]=wt^~Mt&Tt,t[38]=Zt^~Jt&dt,t[39]=Yt^~Xt&pt,t[48]=It^~jt&Kt,t[49]=Rt^~Bt&Ht,t[0]^=r[2*e],t[1]^=r[2*e+1]}}},6750:function(t,e,r){var n=r(480)["Buffer"];const i=r(7835);function o(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}o.prototype.initialize=function(t,e){for(let r=0;r<50;++r)this.state[r]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1},o.prototype.absorb=function(t){for(let e=0;e<t.length;++e)this.state[~~(this.count/4)]^=t[e]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(i.p1600(this.state),this.count=0)},o.prototype.absorbLastFewBits=function(t){this.state[~~(this.count/4)]^=t<<this.count%4*8,0!==(128&t)&&this.count===this.blockSize-1&&i.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,i.p1600(this.state),this.count=0,this.squeezing=!0},o.prototype.squeeze=function(t){this.squeezing||this.absorbLastFewBits(1);const e=n.alloc(t);for(let r=0;r<t;++r)e[r]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(i.p1600(this.state),this.count=0);return e},o.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing},t.exports=o},7689:function(t,e,r){"use strict";var n=r(2068),i=r(9511),o=r(7186).Buffer,u=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(t,e){return t<<e|t>>>32-e}function f(t,e,r,n,i,o,u){return s(t+(e&r|~e&n)+i+o|0,u)+e|0}function c(t,e,r,n,i,o,u){return s(t+(e&n|r&~n)+i+o|0,u)+e|0}function h(t,e,r,n,i,o,u){return s(t+(e^r^n)+i+o|0,u)+e|0}function l(t,e,r,n,i,o,u){return s(t+(r^(e|~n))+i+o|0,u)+e|0}n(a,i),a.prototype._update=function(){for(var t=u,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=f(r,n,i,o,t[0],3614090360,7),o=f(o,r,n,i,t[1],3905402710,12),i=f(i,o,r,n,t[2],606105819,17),n=f(n,i,o,r,t[3],3250441966,22),r=f(r,n,i,o,t[4],4118548399,7),o=f(o,r,n,i,t[5],1200080426,12),i=f(i,o,r,n,t[6],2821735955,17),n=f(n,i,o,r,t[7],4249261313,22),r=f(r,n,i,o,t[8],1770035416,7),o=f(o,r,n,i,t[9],2336552879,12),i=f(i,o,r,n,t[10],4294925233,17),n=f(n,i,o,r,t[11],2304563134,22),r=f(r,n,i,o,t[12],1804603682,7),o=f(o,r,n,i,t[13],4254626195,12),i=f(i,o,r,n,t[14],2792965006,17),n=f(n,i,o,r,t[15],1236535329,22),r=c(r,n,i,o,t[1],4129170786,5),o=c(o,r,n,i,t[6],3225465664,9),i=c(i,o,r,n,t[11],643717713,14),n=c(n,i,o,r,t[0],3921069994,20),r=c(r,n,i,o,t[5],3593408605,5),o=c(o,r,n,i,t[10],38016083,9),i=c(i,o,r,n,t[15],3634488961,14),n=c(n,i,o,r,t[4],3889429448,20),r=c(r,n,i,o,t[9],568446438,5),o=c(o,r,n,i,t[14],3275163606,9),i=c(i,o,r,n,t[3],4107603335,14),n=c(n,i,o,r,t[8],1163531501,20),r=c(r,n,i,o,t[13],2850285829,5),o=c(o,r,n,i,t[2],4243563512,9),i=c(i,o,r,n,t[7],1735328473,14),n=c(n,i,o,r,t[12],2368359562,20),r=h(r,n,i,o,t[5],4294588738,4),o=h(o,r,n,i,t[8],2272392833,11),i=h(i,o,r,n,t[11],1839030562,16),n=h(n,i,o,r,t[14],4259657740,23),r=h(r,n,i,o,t[1],2763975236,4),o=h(o,r,n,i,t[4],1272893353,11),i=h(i,o,r,n,t[7],4139469664,16),n=h(n,i,o,r,t[10],3200236656,23),r=h(r,n,i,o,t[13],681279174,4),o=h(o,r,n,i,t[0],3936430074,11),i=h(i,o,r,n,t[3],3572445317,16),n=h(n,i,o,r,t[6],76029189,23),r=h(r,n,i,o,t[9],3654602809,4),o=h(o,r,n,i,t[12],3873151461,11),i=h(i,o,r,n,t[15],530742520,16),n=h(n,i,o,r,t[2],3299628645,23),r=l(r,n,i,o,t[0],4096336452,6),o=l(o,r,n,i,t[7],1126891415,10),i=l(i,o,r,n,t[14],2878612391,15),n=l(n,i,o,r,t[5],4237533241,21),r=l(r,n,i,o,t[12],1700485571,6),o=l(o,r,n,i,t[3],2399980690,10),i=l(i,o,r,n,t[10],4293915773,15),n=l(n,i,o,r,t[1],2240044497,21),r=l(r,n,i,o,t[8],1873313359,6),o=l(o,r,n,i,t[15],4264355552,10),i=l(i,o,r,n,t[6],2734768916,15),n=l(n,i,o,r,t[13],1309151649,21),r=l(r,n,i,o,t[4],4149444226,6),o=l(o,r,n,i,t[11],3174756917,10),i=l(i,o,r,n,t[2],718787259,15),n=l(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=a},3891:function(t){function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},5913:function(t,e,r){"use strict";r(7658);var n=e;function i(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!==typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e){t=t.replace(/[^a-z0-9]+/gi,""),t.length%2!==0&&(t="0"+t);for(n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16))}else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,u=255&i;o?r.push(o,u):r.push(u)}return r}function o(t){return 1===t.length?"0"+t:t}function u(t){for(var e="",r=0;r<t.length;r++)e+=o(t[r].toString(16));return e}n.toArray=i,n.zero2=o,n.toHex=u,n.encode=function(t,e){return"hex"===e?u(t):t}},1261:function(t){var e=1e3,r=60*e,n=60*r,i=24*n,o=7*i,u=365.25*i;function a(t){if(t=String(t),!(t.length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(a){var s=parseFloat(a[1]),f=(a[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return s*u;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function s(t){var o=Math.abs(t);return o>=i?Math.round(t/i)+"d":o>=n?Math.round(t/n)+"h":o>=r?Math.round(t/r)+"m":o>=e?Math.round(t/e)+"s":t+"ms"}function f(t){var o=Math.abs(t);return o>=i?c(t,o,i,"day"):o>=n?c(t,o,n,"hour"):o>=r?c(t,o,r,"minute"):o>=e?c(t,o,e,"second"):t+" ms"}function c(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,e){e=e||{};var r=typeof t;if("string"===r&&t.length>0)return a(t);if("number"===r&&isFinite(t))return e.long?f(t):s(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},7868:function(t,e,r){var n=r(480)["Buffer"];function i(t,e){e={evenLength:!1,addPrefix:!1,...e};let r="";n.isBuffer(t)&&(t=t.toString("hex")),"number"===typeof t&&(t=t.toString()),"string"===typeof t&&(r=t.toLowerCase()),r.startsWith("0x")&&(r=r.slice(2));const i=r.length%2?`0${r}`:r;return n.from(i,"hex")&&(r=e.evenLength?i:r),e.addPrefix&&(r=`0x${r}`),r}t.exports=i},38:function(t){"use strict";var e=function(t){return t!==t};t.exports=function(t,r){return 0===t&&0===r?1/t===1/r:t===r||!(!e(t)||!e(r))}},2095:function(t,e,r){"use strict";var n=r(5527),i=r(9195),o=r(38),u=r(1724),a=r(5111),s=i(u(),Object);n(s,{getPolyfill:u,implementation:o,shim:a}),t.exports=s},1724:function(t,e,r){"use strict";var n=r(38);t.exports=function(){return"function"===typeof Object.is?Object.is:n}},5111:function(t,e,r){"use strict";var n=r(1724),i=r(5527);t.exports=function(){var t=n();return i(Object,{is:t},{is:function(){return Object.is!==t}}),t}},6783:function(t,e,r){"use strict";var n;if(r(7658),!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,u=r(8531),a=Object.prototype.propertyIsEnumerable,s=!a.call({toString:null},"toString"),f=a.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"===typeof window)return!1;for(var t in window)try{if(!l["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"===typeof window[t])try{h(window[t])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(t){if("undefined"===typeof window||!d)return h(t);try{return h(t)}catch(e){return!1}};n=function(t){var e=null!==t&&"object"===typeof t,r="[object Function]"===o.call(t),n=u(t),a=e&&"[object String]"===o.call(t),h=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var l=f&&r;if(a&&t.length>0&&!i.call(t,0))for(var d=0;d<t.length;++d)h.push(String(d));if(n&&t.length>0)for(var b=0;b<t.length;++b)h.push(String(b));else for(var g in t)l&&"prototype"===g||!i.call(t,g)||h.push(String(g));if(s)for(var m=p(t),y=0;y<c.length;++y)m&&"constructor"===c[y]||!i.call(t,c[y])||h.push(c[y]);return h}}t.exports=n},5470:function(t,e,r){"use strict";var n=Array.prototype.slice,i=r(8531),o=Object.keys,u=o?function(t){return o(t)}:r(6783),a=Object.keys;u.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return i(t)?a(n.call(t)):a(t)})}else Object.keys=u;return Object.keys||u},t.exports=u},8531:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"===typeof t&&"number"===typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},9446:function(t,e,r){r(7658);var n=function(t){return t.replace(/^\s+|\s+$/g,"")},i=function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t){if(!t)return{};for(var e={},r=n(t).split("\n"),o=0;o<r.length;o++){var u=r[o],a=u.indexOf(":"),s=n(u.slice(0,a)).toLowerCase(),f=n(u.slice(a+1));"undefined"===typeof e[s]?e[s]=f:i(e[s])?e[s].push(f):e[s]=[e[s],f]}return e}},4478:function(t,e,r){r(7658);var n,i,o=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===u||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function f(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:u}catch(t){n=u}try{i="function"===typeof clearTimeout?clearTimeout:a}catch(t){i=a}})();var c,h=[],l=!1,d=-1;function p(){l&&c&&(l=!1,c.length?h=c.concat(h):d=-1,h.length&&b())}function b(){if(!l){var t=s(p);l=!0;var e=h.length;while(e){c=h,h=[];while(++d<e)c&&c[d].run();d=-1,e=h.length}c=null,l=!1,f(t)}}function g(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];h.push(new g(t,e)),1!==h.length||l||s(b)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},8101:function(t,e,r){"use strict";r.r(e),r.d(e,{decode:function(){return x},encode:function(){return O},toASCII:function(){return R},toUnicode:function(){return I},ucs2decode:function(){return M},ucs2encode:function(){return S}});r(7658);const n=2147483647,i=36,o=1,u=26,a=38,s=700,f=72,c=128,h="-",l=/^xn--/,d=/[^\0-\x7F]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=i-o,m=Math.floor,y=String.fromCharCode;function v(t){throw new RangeError(b[t])}function w(t,e){const r=[];let n=t.length;while(n--)r[n]=e(t[n]);return r}function _(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(p,".");const i=t.split("."),o=w(i,e).join(".");return n+o}function M(t){const e=[];let r=0;const n=t.length;while(r<n){const i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const n=t.charCodeAt(r++);56320==(64512&n)?e.push(((1023&i)<<10)+(1023&n)+65536):(e.push(i),r--)}else e.push(i)}return e}const S=t=>String.fromCodePoint(...t),A=function(t){return t>=48&&t<58?t-48+26:t>=65&&t<91?t-65:t>=97&&t<123?t-97:i},E=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},k=function(t,e,r){let n=0;for(t=r?m(t/s):t>>1,t+=m(t/e);t>g*u>>1;n+=i)t=m(t/g);return m(n+(g+1)*t/(t+a))},x=function(t){const e=[],r=t.length;let a=0,s=c,l=f,d=t.lastIndexOf(h);d<0&&(d=0);for(let n=0;n<d;++n)t.charCodeAt(n)>=128&&v("not-basic"),e.push(t.charCodeAt(n));for(let f=d>0?d+1:0;f<r;){const c=a;for(let e=1,s=i;;s+=i){f>=r&&v("invalid-input");const c=A(t.charCodeAt(f++));c>=i&&v("invalid-input"),c>m((n-a)/e)&&v("overflow"),a+=c*e;const h=s<=l?o:s>=l+u?u:s-l;if(c<h)break;const d=i-h;e>m(n/d)&&v("overflow"),e*=d}const h=e.length+1;l=k(a-c,h,0==c),m(a/h)>n-s&&v("overflow"),s+=m(a/h),a%=h,e.splice(a++,0,s)}return String.fromCodePoint(...e)},O=function(t){const e=[];t=M(t);const r=t.length;let a=c,s=0,l=f;for(const n of t)n<128&&e.push(y(n));const d=e.length;let p=d;d&&e.push(h);while(p<r){let r=n;for(const e of t)e>=a&&e<r&&(r=e);const f=p+1;r-a>m((n-s)/f)&&v("overflow"),s+=(r-a)*f,a=r;for(const c of t)if(c<a&&++s>n&&v("overflow"),c===a){let t=s;for(let r=i;;r+=i){const n=r<=l?o:r>=l+u?u:r-l;if(t<n)break;const a=t-n,s=i-n;e.push(y(E(n+a%s,0))),t=m(a/s)}e.push(y(E(t,0))),l=k(s,f,p===d),s=0,++p}++s,++a}return e.join("")},I=function(t){return _(t,(function(t){return l.test(t)?x(t.slice(4).toLowerCase()):t}))},R=function(t){return _(t,(function(t){return d.test(t)?"xn--"+O(t):t}))},j={version:"2.1.0",ucs2:{decode:M,encode:S},decode:x,encode:O,toASCII:R,toUnicode:I};e["default"]=j},7848:function(t,e,r){"use strict";var n=r(4478),i=65536,o=4294967295;function u(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=r(7186).Buffer,s=r.g.crypto||r.g.msCrypto;function f(t,e){if(t>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(t);if(t>0)if(t>i)for(var u=0;u<t;u+=i)s.getRandomValues(r.slice(u,u+i));else s.getRandomValues(r);return"function"===typeof e?n.nextTick((function(){e(null,r)})):r}s&&s.getRandomValues?t.exports=f:t.exports=u},3708:function(t){"use strict";function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var r={};function n(t,n,i){function o(t,e,r){return"string"===typeof n?n:n(t,e,r)}i||(i=Error);var u=function(t){function r(e,r,n){return t.call(this,o(e,r,n))||this}return e(r,t),r}(i);u.prototype.name=i.name,u.prototype.code=t,r[t]=u}function i(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}function o(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function u(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function a(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,s;if("string"===typeof e&&o(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be",u(t," argument"))s="The ".concat(t," ").concat(n," ").concat(i(e,"type"));else{var f=a(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(f," ").concat(n," ").concat(i(e,"type"))}return s+=". Received type ".concat(typeof r),s}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=r},3297:function(t,e,r){"use strict";var n=r(4478);r(7658);var i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=c;var o=r(2218),u=r(8874);r(2068)(c,o);for(var a=i(u.prototype),s=0;s<a.length;s++){var f=a[s];c.prototype[f]||(c.prototype[f]=u.prototype[f])}function c(t){if(!(this instanceof c))return new c(t);o.call(this,t),u.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.nextTick(l,this)}function l(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},3413:function(t,e,r){"use strict";t.exports=i;var n=r(8655);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(2068)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},2218:function(t,e,r){"use strict";var n,i=r(4478);r(3767),r(8585),r(8696),r(541),r(7658),t.exports=I,I.ReadableState=O;r(3953).EventEmitter;var o=function(t,e){return t.listeners(e).length},u=r(4593),a=r(480).Buffer,s=("undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function f(t){return a.from(t)}function c(t){return a.isBuffer(t)||t instanceof s}var h,l=r(4616);h=l&&l.debuglog?l.debuglog("stream"):function(){};var d,p,b,g=r(8617),m=r(3847),y=r(7529),v=y.getHighWaterMark,w=r(3708).q,_=w.ERR_INVALID_ARG_TYPE,M=w.ERR_STREAM_PUSH_AFTER_EOF,S=w.ERR_METHOD_NOT_IMPLEMENTED,A=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(2068)(I,u);var E=m.errorOrDestroy,k=["error","close","destroy","pause","resume"];function x(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}function O(t,e,i){n=n||r(3297),t=t||{},"boolean"!==typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=v(this,t,"readableHighWaterMark",i),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=r(8032).s),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function I(t){if(n=n||r(3297),!(this instanceof I))return new I(t);var e=this instanceof n;this._readableState=new O(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function R(t,e,r,n,i){h("readableAddChunk",e);var o,u=t._readableState;if(null===e)u.reading=!1,N(t,u);else if(i||(o=B(u,e)),o)E(t,o);else if(u.objectMode||e&&e.length>0)if("string"===typeof e||u.objectMode||Object.getPrototypeOf(e)===a.prototype||(e=f(e)),n)u.endEmitted?E(t,new A):j(t,u,e,!0);else if(u.ended)E(t,new M);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(e=u.decoder.write(e),u.objectMode||0!==e.length?j(t,u,e,!1):q(t,u)):j(t,u,e,!1)}else n||(u.reading=!1,q(t,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function j(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),q(t,e)}function B(t,e){var r;return c(e)||"string"===typeof e||void 0===e||t.objectMode||(r=new _("chunk",["string","Buffer","Uint8Array"],e)),r}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),I.prototype.destroy=m.destroy,I.prototype._undestroy=m.undestroy,I.prototype._destroy=function(t,e){e(t)},I.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=a.from(t,e),e=""),r=!0),R(this,t,e,!1,r)},I.prototype.unshift=function(t){return R(this,t,null,!0,!1)},I.prototype.isPaused=function(){return!1===this._readableState.flowing},I.prototype.setEncoding=function(t){d||(d=r(8032).s);var e=new d(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;var n=this._readableState.buffer.head,i="";while(null!==n)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var P=1073741824;function T(t){return t>=P?t=P:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function z(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=T(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function N(t,e){if(h("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,C(t)))}}function L(t){var e=t._readableState;h("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(h("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(C,t))}function C(t){var e=t._readableState;h("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,V(t)}function q(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(U,t,e))}function U(t,e){while(!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length)){var r=e.length;if(h("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){return function(){var e=t._readableState;h("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,V(t))}}function F(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function K(t){h("readable nexttick read 0"),t.read(0)}function H(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(W,t,e))}function W(t,e){h("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),V(t),e.flowing&&!e.reading&&t.read(0)}function V(t){var e=t._readableState;h("flow",e.flowing);while(e.flowing&&null!==t.read());}function $(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function G(t){var e=t._readableState;h("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(Z,e,t))}function Z(t,e){if(h("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function Y(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}I.prototype.read=function(t){h("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return h("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?G(this):L(this),null;if(t=z(t,e),0===t&&e.ended)return 0===e.length&&G(this),null;var n,i=e.needReadable;return h("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&(i=!0,h("length less than watermark",i)),e.ended||e.reading?(i=!1,h("reading or ended",i)):i&&(h("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=z(r,e))),n=t>0?$(t,e):null,null===n?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&G(this)),null!==n&&this.emit("data",n),n},I.prototype._read=function(t){E(this,new S("_read()"))},I.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,h("pipe count=%d opts=%j",n.pipesCount,e);var u=(!e||!1!==e.end)&&t!==i.stdout&&t!==i.stderr,a=u?f:y;function s(t,e){h("onunpipe"),t===r&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,d())}function f(){h("onend"),t.end()}n.endEmitted?i.nextTick(a):r.once("end",a),t.on("unpipe",s);var c=D(r);t.on("drain",c);var l=!1;function d(){h("cleanup"),t.removeListener("close",g),t.removeListener("finish",m),t.removeListener("drain",c),t.removeListener("error",b),t.removeListener("unpipe",s),r.removeListener("end",f),r.removeListener("end",y),r.removeListener("data",p),l=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||c()}function p(e){h("ondata");var i=t.write(e);h("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==Y(n.pipes,t))&&!l&&(h("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function b(e){h("onerror",e),y(),t.removeListener("error",b),0===o(t,"error")&&E(t,e)}function g(){t.removeListener("finish",m),y()}function m(){h("onfinish"),t.removeListener("close",g),y()}function y(){h("unpipe"),r.unpipe(t)}return r.on("data",p),x(t,"error",b),t.once("close",g),t.once("finish",m),t.emit("pipe",r),n.flowing||(h("pipe resume"),r.resume()),t},I.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var u=Y(e.pipes,t);return-1===u||(e.pipes.splice(u,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},I.prototype.on=function(t,e){var r=u.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,h("on readable",n.length,n.reading),n.length?L(this):n.reading||i.nextTick(K,this))),r},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(t,e){var r=u.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(F,this),r},I.prototype.removeAllListeners=function(t){var e=u.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(F,this),e},I.prototype.resume=function(){var t=this._readableState;return t.flowing||(h("resume"),t.flowing=!t.readableListening,H(this,t)),t.paused=!1,this},I.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(h("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){if(h("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var o=e.push(i);o||(n=!0,t.pause())}})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<k.length;o++)t.on(k[o],this.emit.bind(this,k[o]));return this._read=function(e){h("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(I.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=r(4699)),p(this)}),Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),I._fromList=$,Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(I.from=function(t,e){return void 0===b&&(b=r(3870)),b(I,t,e)})},8655:function(t,e,r){"use strict";r(7658),t.exports=c;var n=r(3708).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,u=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,s=r(3297);function f(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(t){if(!(this instanceof c))return new c(t);s.call(this,t),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?l(this,null,null):this._flush((function(e,r){l(t,e,r)}))}function l(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new a;if(t._transformState.transforming)throw new u;return t.push(null)}r(2068)(c,s),c.prototype.push=function(t,e){return this._transformState.needTransform=!1,s.prototype.push.call(this,t,e)},c.prototype._transform=function(t,e,r){r(new i("_transform()"))},c.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},c.prototype._destroy=function(t,e){s.prototype._destroy.call(this,t,(function(t){e(t)}))}},8874:function(t,e,r){"use strict";var n,i=r(4478);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){W(e,t)}}r(3767),r(8585),r(8696),r(7658),t.exports=O,O.WritableState=x;var u={deprecate:r(5180)},a=r(4593),s=r(480).Buffer,f=("undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function c(t){return s.from(t)}function h(t){return s.isBuffer(t)||t instanceof f}var l,d=r(3847),p=r(7529),b=p.getHighWaterMark,g=r(3708).q,m=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,_=g.ERR_STREAM_DESTROYED,M=g.ERR_STREAM_NULL_VALUES,S=g.ERR_STREAM_WRITE_AFTER_END,A=g.ERR_UNKNOWN_ENCODING,E=d.errorOrDestroy;function k(){}function x(t,e,i){n=n||r(3297),t=t||{},"boolean"!==typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=b(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===t.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){N(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function O(t){n=n||r(3297);var e=this instanceof n;if(!e&&!l.call(O,this))return new O(t);this._writableState=new x(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),a.call(this)}function I(t,e){var r=new S;E(t,r),i.nextTick(e,r)}function R(t,e,r,n){var o;return null===r?o=new M:"string"===typeof r||e.objectMode||(o=new m("chunk",["string","Buffer"],r)),!o||(E(t,o),i.nextTick(n,o),!1)}function j(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=s.from(e,r)),e}function B(t,e,r,n,i,o){if(!r){var u=j(e,n,i);n!==u&&(r=!0,i="buffer",n=u)}var a=e.objectMode?1:n.length;e.length+=a;var s=e.length<e.highWaterMark;if(s||(e.needDrain=!0),e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else P(t,e,!1,a,n,i,o);return s}function P(t,e,r,n,i,o,u){e.writelen=n,e.writecb=u,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new _("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function T(t,e,r,n,o){--e.pendingcb,r?(i.nextTick(o,n),i.nextTick(K,t,e),t._writableState.errorEmitted=!0,E(t,n)):(o(n),t._writableState.errorEmitted=!0,E(t,n),K(t,e))}function z(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function N(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!==typeof o)throw new v;if(z(r),e)T(t,r,n,e,o);else{var u=U(r)||t.destroyed;u||r.corked||r.bufferProcessing||!r.bufferedRequest||q(t,r),n?i.nextTick(L,t,r,u,o):L(t,r,u,o)}}function L(t,e,r,n){r||C(t,e),e.pendingcb--,n(),K(t,e)}function C(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function q(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),u=e.corkedRequestsFree;u.entry=r;var a=0,s=!0;while(r)i[a]=r,r.isBuf||(s=!1),r=r.next,a+=1;i.allBuffers=s,P(t,e,!0,e.length,i,"",u.finish),e.pendingcb++,e.lastBufferedRequest=null,u.next?(e.corkedRequestsFree=u.next,u.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{while(r){var f=r.chunk,c=r.encoding,h=r.callback,l=e.objectMode?1:f.length;if(P(t,e,!1,l,f,c,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function U(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function D(t,e){t._final((function(r){e.pendingcb--,r&&E(t,r),e.prefinished=!0,t.emit("prefinish"),K(t,e)}))}function F(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(D,t,e)))}function K(t,e){var r=U(e);if(r&&(F(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}function H(t,e,r){e.ending=!0,K(t,e),r&&(e.finished?i.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function W(t,e,r){var n=t.entry;t.entry=null;while(n){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}r(2068)(O,a),x.prototype.getBuffer=function(){var t=this.bufferedRequest,e=[];while(t)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(x.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===O&&(t&&t._writableState instanceof x)}})):l=function(t){return t instanceof this},O.prototype.pipe=function(){E(this,new w)},O.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&h(t);return o&&!s.isBuffer(t)&&(t=c(t)),"function"===typeof e&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),"function"!==typeof r&&(r=k),n.ending?I(this,r):(o||R(this,n,t,r))&&(n.pendingcb++,i=B(this,n,o,t,e,r)),i},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||q(this,t))},O.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new A(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(t,e,r){r(new y("_write()"))},O.prototype._writev=null,O.prototype.end=function(t,e,r){var n=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||H(this,n,r),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),O.prototype.destroy=d.destroy,O.prototype._undestroy=d.undestroy,O.prototype._destroy=function(t,e){e(t)}},4699:function(t,e,r){"use strict";var n,i=r(4478);function o(t,e,r){return e=u(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t){var e=a(t,"string");return"symbol"===typeof e?e:String(e)}function a(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var s=r(6616),f=Symbol("lastResolve"),c=Symbol("lastReject"),h=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),b=Symbol("stream");function g(t,e){return{value:t,done:e}}function m(t){var e=t[f];if(null!==e){var r=t[b].read();null!==r&&(t[d]=null,t[f]=null,t[c]=null,e(g(r,!1)))}}function y(t){i.nextTick(m,t)}function v(t,e){return function(r,n){t.then((function(){e[l]?r(g(void 0,!0)):e[p](r,n)}),n)}}var w=Object.getPrototypeOf((function(){})),_=Object.setPrototypeOf((n={get stream(){return this[b]},next:function(){var t=this,e=this[h];if(null!==e)return Promise.reject(e);if(this[l])return Promise.resolve(g(void 0,!0));if(this[b].destroyed)return new Promise((function(e,r){i.nextTick((function(){t[h]?r(t[h]):e(g(void 0,!0))}))}));var r,n=this[d];if(n)r=new Promise(v(n,this));else{var o=this[b].read();if(null!==o)return Promise.resolve(g(o,!1));r=new Promise(this[p])}return this[d]=r,r}},o(n,Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[b].destroy(null,(function(t){t?r(t):e(g(void 0,!0))}))}))})),n),w),M=function(t){var e,r=Object.create(_,(e={},o(e,b,{value:t,writable:!0}),o(e,f,{value:null,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,h,{value:null,writable:!0}),o(e,l,{value:t._readableState.endEmitted,writable:!0}),o(e,p,{value:function(t,e){var n=r[b].read();n?(r[d]=null,r[f]=null,r[c]=null,t(g(n,!1))):(r[f]=t,r[c]=e)},writable:!0}),e));return r[d]=null,s(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[c];return null!==e&&(r[d]=null,r[f]=null,r[c]=null,e(t)),void(r[h]=t)}var n=r[f];null!==n&&(r[d]=null,r[f]=null,r[c]=null,n(g(void 0,!0))),r[l]=!0})),t.on("readable",y.bind(null,r)),r};t.exports=M},8617:function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e=f(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}function s(t,e,r){return e&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var e=c(t,"string");return"symbol"===typeof e?e:String(e)}function c(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}r(7658);var h=r(480),l=h.Buffer,d=r(2361),p=d.inspect,b=p&&p.custom||"inspect";function g(t,e,r){l.prototype.copy.call(t,e,r)}t.exports=function(){function t(){u(this,t),this.head=null,this.tail=null,this.length=0}return s(t,[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";var e=this.head,r=""+e.data;while(e=e.next)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);var e=l.allocUnsafe(t>>>0),r=this.head,n=0;while(r)g(r.data,e,n),n+=r.data.length,r=r.next;return e}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;t-=n.length;while(e=e.next){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),t-=o,0===t){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),r=this.head,n=1;r.data.copy(e),t-=r.data.length;while(r=r.next){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),t-=o,0===t){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:b,value:function(t,e){return p(this,i(i({},e),{},{depth:0,customInspect:!1}))}}]),t}()},3847:function(t,e,r){"use strict";var n=r(4478);function i(t,e){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,t)):n.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(u,r):(r._writableState.errorEmitted=!0,n.nextTick(o,r,t)):n.nextTick(o,r,t):e?(n.nextTick(u,r),e(t)):n.nextTick(u,r)})),this)}function o(t,e){s(t,e),u(t)}function u(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(t,e){t.emit("error",e)}function f(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}t.exports={destroy:i,undestroy:a,errorOrDestroy:f}},6616:function(t,e,r){"use strict";var n=r(3708).q.ERR_STREAM_PREMATURE_CLOSE;function i(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}function o(){}function u(t){return t.setHeader&&"function"===typeof t.abort}function a(t,e,r){if("function"===typeof e)return a(t,null,e);e||(e={}),r=i(r||o);var s=e.readable||!1!==e.readable&&t.readable,f=e.writable||!1!==e.writable&&t.writable,c=function(){t.writable||l()},h=t._writableState&&t._writableState.finished,l=function(){f=!1,h=!0,s||r.call(t)},d=t._readableState&&t._readableState.endEmitted,p=function(){s=!1,d=!0,f||r.call(t)},b=function(e){r.call(t,e)},g=function(){var e;return s&&!d?(t._readableState&&t._readableState.ended||(e=new n),r.call(t,e)):f&&!h?(t._writableState&&t._writableState.ended||(e=new n),r.call(t,e)):void 0},m=function(){t.req.on("finish",l)};return u(t)?(t.on("complete",l),t.on("abort",g),t.req?m():t.on("request",m)):f&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",p),t.on("finish",l),!1!==e.error&&t.on("error",b),t.on("close",g),function(){t.removeListener("complete",l),t.removeListener("abort",g),t.removeListener("request",m),t.req&&t.req.removeListener("finish",l),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",l),t.removeListener("end",p),t.removeListener("error",b),t.removeListener("close",g)}}t.exports=a},3870:function(t){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},3788:function(t,e,r){"use strict";var n;function i(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var o=r(3708).q,u=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function f(t){return t.setHeader&&"function"===typeof t.abort}function c(t,e,o,u){u=i(u);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(6616)),n(t,{readable:e,writable:o},(function(t){if(t)return u(t);s=!0,u()}));var c=!1;return function(e){if(!s&&!c)return c=!0,f(t)?t.abort():"function"===typeof t.destroy?t.destroy():void u(e||new a("pipe"))}}function h(t){t()}function l(t,e){return t.pipe(e)}function d(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=d(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new u("streams");var o=e.map((function(t,r){var u=r<e.length-1,a=r>0;return c(t,u,a,(function(t){n||(n=t),t&&o.forEach(h),u||(o.forEach(h),i(n))}))}));return e.reduce(l)}t.exports=p},7529:function(t,e,r){"use strict";var n=r(3708).q.ERR_INVALID_OPT_VALUE;function i(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}function o(t,e,r,o){var u=i(e,o,r);if(null!=u){if(!isFinite(u)||Math.floor(u)!==u||u<0){var a=o?r:"highWaterMark";throw new n(a,u)}return Math.floor(u)}return t.objectMode?16:16384}t.exports={getHighWaterMark:o}},4593:function(t,e,r){t.exports=r(3953).EventEmitter},7370:function(t,e,r){e=t.exports=r(2218),e.Stream=e,e.Readable=e,e.Writable=r(8874),e.Duplex=r(3297),e.Transform=r(8655),e.PassThrough=r(3413),e.finished=r(6616),e.pipeline=r(3788)},76:function(t,e,r){"use strict";var n=r(480).Buffer,i=r(2068),o=r(9511),u=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],l=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function b(t,e,r,n,i,o,u,a){return p(t+(e^r^n)+o+u|0,a)+i|0}function g(t,e,r,n,i,o,u,a){return p(t+(e&r|~e&n)+o+u|0,a)+i|0}function m(t,e,r,n,i,o,u,a){return p(t+((e|~r)^n)+o+u|0,a)+i|0}function y(t,e,r,n,i,o,u,a){return p(t+(e&n|r&~n)+o+u|0,a)+i|0}function v(t,e,r,n,i,o,u,a){return p(t+(e^(r|~n))+o+u|0,a)+i|0}i(d,o),d.prototype._update=function(){for(var t=u,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,_=0|this._b,M=0|this._c,S=0|this._d,A=0|this._e,E=0;E<80;E+=1){var k,x;E<16?(k=b(r,n,i,o,d,t[a[E]],h[0],f[E]),x=v(w,_,M,S,A,t[s[E]],l[0],c[E])):E<32?(k=g(r,n,i,o,d,t[a[E]],h[1],f[E]),x=y(w,_,M,S,A,t[s[E]],l[1],c[E])):E<48?(k=m(r,n,i,o,d,t[a[E]],h[2],f[E]),x=m(w,_,M,S,A,t[s[E]],l[2],c[E])):E<64?(k=y(r,n,i,o,d,t[a[E]],h[3],f[E]),x=g(w,_,M,S,A,t[s[E]],l[3],c[E])):(k=v(r,n,i,o,d,t[a[E]],h[4],f[E]),x=b(w,_,M,S,A,t[s[E]],l[4],c[E])),r=d,d=o,o=p(i,10),i=n,n=k,w=A,A=S,S=p(M,10),M=_,_=x}var O=this._b+i+S|0;this._b=this._c+o+A|0,this._c=this._d+d+w|0,this._d=this._e+r+_|0,this._e=this._a+n+M|0,this._a=O},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},1224:function(t,e,r){"use strict";var n=r(480)["Buffer"];r(7658),r(3767),r(8585),r(8696);var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getLength=e.decode=e.encode=void 0;var o=i(r(6170));function u(t){if(Array.isArray(t)){for(var e=[],r=0;r<t.length;r++)e.push(u(t[r]));var i=n.concat(e);return n.concat([s(i.length,192),i])}var o=m(t);return 1===o.length&&o[0]<128?o:n.concat([s(o.length,128),o])}function a(t,e){if("0"===t[0]&&"0"===t[1])throw new Error("invalid RLP: extra zeros");return parseInt(t,e)}function s(t,e){if(t<56)return n.from([t+e]);var r=p(t),i=r.length/2,o=p(e+55+i);return n.from(o+r,"hex")}function f(t,e){if(void 0===e&&(e=!1),!t||0===t.length)return n.from([]);var r=m(t),i=h(r);if(e)return i;if(0!==i.remainder.length)throw new Error("invalid remainder");return i.data}function c(t){if(!t||0===t.length)return n.from([]);var e=m(t),r=e[0];if(r<=127)return e.length;if(r<=183)return r-127;if(r<=191)return r-182;if(r<=247)return r-191;var i=r-246,o=a(e.slice(1,i).toString("hex"),16);return i+o}function h(t){var e,r,i,o,u,s=[],f=t[0];if(f<=127)return{data:t.slice(0,1),remainder:t.slice(1)};if(f<=183){if(e=f-127,i=128===f?n.from([]):t.slice(1,e),2===e&&i[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:i,remainder:t.slice(e)}}if(f<=191){if(r=f-182,t.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if(e=a(t.slice(1,r).toString("hex"),16),e<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if(i=t.slice(r,e+r),i.length<e)throw new Error("invalid RLP: not enough bytes for string");return{data:i,remainder:t.slice(e+r)}}if(f<=247){e=f-191,o=t.slice(1,e);while(o.length)u=h(o),s.push(u.data),o=u.remainder;return{data:s,remainder:t.slice(e)}}r=f-246,e=a(t.slice(1,r).toString("hex"),16);var c=r+e;if(c>t.length)throw new Error("invalid rlp: total length is larger than the data");if(o=t.slice(r,c),0===o.length)throw new Error("invalid rlp, List has a invalid length");while(o.length)u=h(o),s.push(u.data),o=u.remainder;return{data:s,remainder:t.slice(c)}}function l(t){return"0x"===t.slice(0,2)}function d(t){return"string"!==typeof t?t:l(t)?t.slice(2):t}function p(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0"+e:e}function b(t){return t.length%2?"0"+t:t}function g(t){var e=p(t);return n.from(e,"hex")}function m(t){if(!n.isBuffer(t)){if("string"===typeof t)return l(t)?n.from(b(d(t)),"hex"):n.from(t);if("number"===typeof t||"bigint"===typeof t)return t?g(t):n.from([]);if(null===t||void 0===t)return n.from([]);if(t instanceof Uint8Array)return n.from(t);if(o.default.isBN(t))return n.from(t.toArray());throw new Error("invalid type")}return t}e.encode=u,e.decode=f,e.getLength=c},7186:function(t,e,r){
|
16
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
17
|
+
var n=r(480),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function u(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=u),u.prototype=Object.create(i.prototype),o(i,u),u.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},u.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},u.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},u.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},3830:function(t,e,r){t.exports=r(7696)(r(6736))},6736:function(t,e,r){r(3767),r(8585),r(8696);const n=r(1415).ec,i=new n("secp256k1"),o=i.curve,u=o.n.constructor;function a(t,e){let r=new u(e);if(r.cmp(o.p)>=0)return null;r=r.toRed(o.red);let n=r.redSqr().redIMul(r).redIAdd(o.b).redSqrt();return 3===t!==n.isOdd()&&(n=n.redNeg()),i.keyPair({pub:{x:r,y:n}})}function s(t,e,r){let n=new u(e),a=new u(r);if(n.cmp(o.p)>=0||a.cmp(o.p)>=0)return null;if(n=n.toRed(o.red),a=a.toRed(o.red),(6===t||7===t)&&a.isOdd()!==(7===t))return null;const s=n.redSqr().redIMul(n);return a.redSqr().redISub(s.redIAdd(o.b)).isZero()?i.keyPair({pub:{x:n,y:a}}):null}function f(t){const e=t[0];switch(e){case 2:case 3:return 33!==t.length?null:a(e,t.subarray(1,33));case 4:case 6:case 7:return 65!==t.length?null:s(e,t.subarray(1,33),t.subarray(33,65));default:return null}}function c(t,e){const r=e.encode(null,33===t.length);for(let n=0;n<t.length;++n)t[n]=r[n]}t.exports={contextRandomize(){return 0},privateKeyVerify(t){const e=new u(t);return e.cmp(o.n)<0&&!e.isZero()?0:1},privateKeyNegate(t){const e=new u(t),r=o.n.sub(e).umod(o.n).toArrayLike(Uint8Array,"be",32);return t.set(r),0},privateKeyTweakAdd(t,e){const r=new u(e);if(r.cmp(o.n)>=0)return 1;if(r.iadd(new u(t)),r.cmp(o.n)>=0&&r.isub(o.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return t.set(n),0},privateKeyTweakMul(t,e){let r=new u(e);if(r.cmp(o.n)>=0||r.isZero())return 1;r.imul(new u(t)),r.cmp(o.n)>=0&&(r=r.umod(o.n));const n=r.toArrayLike(Uint8Array,"be",32);return t.set(n),0},publicKeyVerify(t){const e=f(t);return null===e?1:0},publicKeyCreate(t,e){const r=new u(e);if(r.cmp(o.n)>=0||r.isZero())return 1;const n=i.keyFromPrivate(e).getPublic();return c(t,n),0},publicKeyConvert(t,e){const r=f(e);if(null===r)return 1;const n=r.getPublic();return c(t,n),0},publicKeyNegate(t,e){const r=f(e);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),c(t,n),0},publicKeyCombine(t,e){const r=new Array(e.length);for(let i=0;i<e.length;++i)if(r[i]=f(e[i]),null===r[i])return 1;let n=r[0].getPublic();for(let i=1;i<r.length;++i)n=n.add(r[i].pub);return n.isInfinity()?2:(c(t,n),0)},publicKeyTweakAdd(t,e,r){const n=f(e);if(null===n)return 1;if(r=new u(r),r.cmp(o.n)>=0)return 2;const i=n.getPublic().add(o.g.mul(r));return i.isInfinity()?2:(c(t,i),0)},publicKeyTweakMul(t,e,r){const n=f(e);if(null===n)return 1;if(r=new u(r),r.cmp(o.n)>=0||r.isZero())return 2;const i=n.getPublic().mul(r);return c(t,i),0},signatureNormalize(t){const e=new u(t.subarray(0,32)),r=new u(t.subarray(32,64));return e.cmp(o.n)>=0||r.cmp(o.n)>=0?1:(1===r.cmp(i.nh)&&t.set(o.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(t,e){const r=e.subarray(0,32),n=e.subarray(32,64);if(new u(r).cmp(o.n)>=0)return 1;if(new u(n).cmp(o.n)>=0)return 1;const{output:i}=t;let a=i.subarray(4,37);a[0]=0,a.set(r,1);let s=33,f=0;for(;s>1&&0===a[f]&&!(128&a[f+1]);--s,++f);if(a=a.subarray(f),128&a[0])return 1;if(s>1&&0===a[0]&&!(128&a[1]))return 1;let c=i.subarray(39,72);c[0]=0,c.set(n,1);let h=33,l=0;for(;h>1&&0===c[l]&&!(128&c[l+1]);--h,++l);return c=c.subarray(l),128&c[0]||h>1&&0===c[0]&&!(128&c[1])?1:(t.outputlen=6+s+h,i[0]=48,i[1]=t.outputlen-2,i[2]=2,i[3]=a.length,i.set(a,4),i[4+s]=2,i[5+s]=c.length,i.set(c,6+s),0)},signatureImport(t,e){if(e.length<8)return 1;if(e.length>72)return 1;if(48!==e[0])return 1;if(e[1]!==e.length-2)return 1;if(2!==e[2])return 1;const r=e[3];if(0===r)return 1;if(5+r>=e.length)return 1;if(2!==e[4+r])return 1;const n=e[5+r];if(0===n)return 1;if(6+r+n!==e.length)return 1;if(128&e[4])return 1;if(r>1&&0===e[4]&&!(128&e[5]))return 1;if(128&e[r+6])return 1;if(n>1&&0===e[r+6]&&!(128&e[r+7]))return 1;let i=e.subarray(4,4+r);if(33===i.length&&0===i[0]&&(i=i.subarray(1)),i.length>32)return 1;let a=e.subarray(6+r);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let s=new u(i);s.cmp(o.n)>=0&&(s=new u(0));let f=new u(e.subarray(6+r));return f.cmp(o.n)>=0&&(f=new u(0)),t.set(s.toArrayLike(Uint8Array,"be",32),0),t.set(f.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(t,e,r,n,a){if(a){const t=a;a=i=>{const o=t(e,r,null,n,i),a=o instanceof Uint8Array&&32===o.length;if(!a)throw new Error("This is the way");return new u(o)}}const s=new u(r);if(s.cmp(o.n)>=0||s.isZero())return 1;let f;try{f=i.sign(e,r,{canonical:!0,k:a,pers:n})}catch(c){return 1}return t.signature.set(f.r.toArrayLike(Uint8Array,"be",32),0),t.signature.set(f.s.toArrayLike(Uint8Array,"be",32),32),t.recid=f.recoveryParam,0},ecdsaVerify(t,e,r){const n={r:t.subarray(0,32),s:t.subarray(32,64)},a=new u(n.r),s=new u(n.s);if(a.cmp(o.n)>=0||s.cmp(o.n)>=0)return 1;if(1===s.cmp(i.nh)||a.isZero()||s.isZero())return 3;const c=f(r);if(null===c)return 2;const h=c.getPublic(),l=i.verify(e,n,h);return l?0:3},ecdsaRecover(t,e,r,n){const a={r:e.slice(0,32),s:e.slice(32,64)},s=new u(a.r),f=new u(a.s);if(s.cmp(o.n)>=0||f.cmp(o.n)>=0)return 1;if(s.isZero()||f.isZero())return 2;let h;try{h=i.recoverPubKey(n,a,r)}catch(l){return 2}return c(t,h),0},ecdh(t,e,r,n,a,s,c){const h=f(e);if(null===h)return 1;const l=new u(r);if(l.cmp(o.n)>=0||l.isZero())return 2;const d=h.getPublic().mul(l);if(void 0===a){const e=d.encode(null,!0),r=i.hash().update(e).digest();for(let n=0;n<32;++n)t[n]=r[n]}else{s||(s=new Uint8Array(32));const e=d.getX().toArray("be",32);for(let t=0;t<32;++t)s[t]=e[t];c||(c=new Uint8Array(32));const r=d.getY().toArray("be",32);for(let t=0;t<32;++t)c[t]=r[t];const i=a(s,c,n),o=i instanceof Uint8Array&&i.length===t.length;if(!o)return 2;t.set(i)}return 0}}},7696:function(t,e,r){r(3767),r(8585),r(8696);const n={IMPOSSIBLE_CASE:"Impossible case. Please create issue.",TWEAK_ADD:"The tweak was out of range or the resulted private key is invalid",TWEAK_MUL:"The tweak was out of range or equal to zero",CONTEXT_RANDOMIZE_UNKNOW:"Unknow error on context randomization",SECKEY_INVALID:"Private Key is invalid",PUBKEY_PARSE:"Public Key could not be parsed",PUBKEY_SERIALIZE:"Public Key serialization error",PUBKEY_COMBINE:"The sum of the public keys is not valid",SIG_PARSE:"Signature could not be parsed",SIGN:"The nonce generation function failed, or the private key was invalid",RECOVER:"Public key could not be recover",ECDH:"Scalar was invalid (zero or overflow)"};function i(t,e){if(!t)throw new Error(e)}function o(t,e,r){if(i(e instanceof Uint8Array,`Expected ${t} to be an Uint8Array`),void 0!==r)if(Array.isArray(r)){const n=r.join(", "),o=`Expected ${t} to be an Uint8Array with length [${n}]`;i(r.includes(e.length),o)}else{const n=`Expected ${t} to be an Uint8Array with length ${r}`;i(e.length===r,n)}}function u(t){i("Boolean"===s(t),"Expected compressed to be a Boolean")}function a(t=(t=>new Uint8Array(t)),e){return"function"===typeof t&&(t=t(e)),o("output",t,e),t}function s(t){return Object.prototype.toString.call(t).slice(8,-1)}t.exports=t=>({contextRandomize(e){switch(i(null===e||e instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==e&&o("seed",e,32),t.contextRandomize(e)){case 1:throw new Error(n.CONTEXT_RANDOMIZE_UNKNOW)}},privateKeyVerify(e){return o("private key",e,32),0===t.privateKeyVerify(e)},privateKeyNegate(e){switch(o("private key",e,32),t.privateKeyNegate(e)){case 0:return e;case 1:throw new Error(n.IMPOSSIBLE_CASE)}},privateKeyTweakAdd(e,r){switch(o("private key",e,32),o("tweak",r,32),t.privateKeyTweakAdd(e,r)){case 0:return e;case 1:throw new Error(n.TWEAK_ADD)}},privateKeyTweakMul(e,r){switch(o("private key",e,32),o("tweak",r,32),t.privateKeyTweakMul(e,r)){case 0:return e;case 1:throw new Error(n.TWEAK_MUL)}},publicKeyVerify(e){return o("public key",e,[33,65]),0===t.publicKeyVerify(e)},publicKeyCreate(e,r=!0,i){switch(o("private key",e,32),u(r),i=a(i,r?33:65),t.publicKeyCreate(i,e)){case 0:return i;case 1:throw new Error(n.SECKEY_INVALID);case 2:throw new Error(n.PUBKEY_SERIALIZE)}},publicKeyConvert(e,r=!0,i){switch(o("public key",e,[33,65]),u(r),i=a(i,r?33:65),t.publicKeyConvert(i,e)){case 0:return i;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.PUBKEY_SERIALIZE)}},publicKeyNegate(e,r=!0,i){switch(o("public key",e,[33,65]),u(r),i=a(i,r?33:65),t.publicKeyNegate(i,e)){case 0:return i;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.IMPOSSIBLE_CASE);case 3:throw new Error(n.PUBKEY_SERIALIZE)}},publicKeyCombine(e,r=!0,s){i(Array.isArray(e),"Expected public keys to be an Array"),i(e.length>0,"Expected public keys array will have more than zero items");for(const t of e)o("public key",t,[33,65]);switch(u(r),s=a(s,r?33:65),t.publicKeyCombine(s,e)){case 0:return s;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.PUBKEY_COMBINE);case 3:throw new Error(n.PUBKEY_SERIALIZE)}},publicKeyTweakAdd(e,r,i=!0,s){switch(o("public key",e,[33,65]),o("tweak",r,32),u(i),s=a(s,i?33:65),t.publicKeyTweakAdd(s,e,r)){case 0:return s;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.TWEAK_ADD)}},publicKeyTweakMul(e,r,i=!0,s){switch(o("public key",e,[33,65]),o("tweak",r,32),u(i),s=a(s,i?33:65),t.publicKeyTweakMul(s,e,r)){case 0:return s;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.TWEAK_MUL)}},signatureNormalize(e){switch(o("signature",e,64),t.signatureNormalize(e)){case 0:return e;case 1:throw new Error(n.SIG_PARSE)}},signatureExport(e,r){o("signature",e,64),r=a(r,72);const i={output:r,outputlen:72};switch(t.signatureExport(i,e)){case 0:return r.slice(0,i.outputlen);case 1:throw new Error(n.SIG_PARSE);case 2:throw new Error(n.IMPOSSIBLE_CASE)}},signatureImport(e,r){switch(o("signature",e),r=a(r,64),t.signatureImport(r,e)){case 0:return r;case 1:throw new Error(n.SIG_PARSE);case 2:throw new Error(n.IMPOSSIBLE_CASE)}},ecdsaSign(e,r,u={},f){o("message",e,32),o("private key",r,32),i("Object"===s(u),"Expected options to be an Object"),void 0!==u.data&&o("options.data",u.data),void 0!==u.noncefn&&i("Function"===s(u.noncefn),"Expected options.noncefn to be a Function"),f=a(f,64);const c={signature:f,recid:null};switch(t.ecdsaSign(c,e,r,u.data,u.noncefn)){case 0:return c;case 1:throw new Error(n.SIGN);case 2:throw new Error(n.IMPOSSIBLE_CASE)}},ecdsaVerify(e,r,i){switch(o("signature",e,64),o("message",r,32),o("public key",i,[33,65]),t.ecdsaVerify(e,r,i)){case 0:return!0;case 3:return!1;case 1:throw new Error(n.SIG_PARSE);case 2:throw new Error(n.PUBKEY_PARSE)}},ecdsaRecover(e,r,f,c=!0,h){switch(o("signature",e,64),i("Number"===s(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),o("message",f,32),u(c),h=a(h,c?33:65),t.ecdsaRecover(h,e,r,f)){case 0:return h;case 1:throw new Error(n.SIG_PARSE);case 2:throw new Error(n.RECOVER);case 3:throw new Error(n.IMPOSSIBLE_CASE)}},ecdh(e,r,u={},f){switch(o("public key",e,[33,65]),o("private key",r,32),i("Object"===s(u),"Expected options to be an Object"),void 0!==u.data&&o("options.data",u.data),void 0!==u.hashfn?(i("Function"===s(u.hashfn),"Expected options.hashfn to be a Function"),void 0!==u.xbuf&&o("options.xbuf",u.xbuf,32),void 0!==u.ybuf&&o("options.ybuf",u.ybuf,32),o("output",f)):f=a(f,32),t.ecdh(f,e,r,u.data,u.hashfn,u.xbuf,u.ybuf)){case 0:return f;case 1:throw new Error(n.PUBKEY_PARSE);case 2:throw new Error(n.ECDH)}}})},4857:function(t,e,r){var n=r(7186).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"===typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,u=this._len,a=0;a<o;){for(var s=u%i,f=Math.min(o-a,i-s),c=0;c<f;c++)r[s+c]=t[a+c];u+=f,a+=f,u%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},8522:function(t,e,r){var n=t.exports=function(t){t=t.toLowerCase();var e=n[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};n.sha=r(1578),n.sha1=r(390),n.sha224=r(5933),n.sha256=r(4803),n.sha384=r(36),n.sha512=r(2171)},1578:function(t,e,r){var n=r(2068),i=r(4857),o=r(7186).Buffer,u=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,i.call(this,64,56)}function f(t){return t<<5|t>>>27}function c(t){return t<<30|t>>>2}function h(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,s=0;s<16;++s)e[s]=t.readInt32BE(4*s);for(;s<80;++s)e[s]=e[s-3]^e[s-8]^e[s-14]^e[s-16];for(var l=0;l<80;++l){var d=~~(l/20),p=f(r)+h(d,n,i,o)+a+e[l]+u[d]|0;a=o,o=i,i=c(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},s.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=s},390:function(t,e,r){var n=r(2068),i=r(4857),o=r(7186).Buffer,u=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,i.call(this,64,56)}function f(t){return t<<1|t>>>31}function c(t){return t<<5|t>>>27}function h(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,s=0;s<16;++s)e[s]=t.readInt32BE(4*s);for(;s<80;++s)e[s]=f(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var d=0;d<80;++d){var p=~~(d/20),b=c(r)+l(p,n,i,o)+a+e[d]+u[p]|0;a=o,o=i,i=h(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},s.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=s},5933:function(t,e,r){var n=r(2068),i=r(4803),o=r(4857),u=r(7186).Buffer,a=new Array(64);function s(){this.init(),this._w=a,o.call(this,64,56)}n(s,i),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var t=u.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=s},4803:function(t,e,r){var n=r(2068),i=r(4857),o=r(7186).Buffer,u=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function s(){this.init(),this._w=a,i.call(this,64,56)}function f(t,e,r){return r^t&(e^r)}function c(t,e,r){return t&e|r&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function l(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function p(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}n(s,i),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,s=0|this._f,b=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=p(e[m-2])+e[m-7]+d(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var v=g+l(a)+f(a,s,b)+u[y]+e[y]|0,w=h(r)+c(r,n,i)|0;g=b,b=s,s=a,a=o+v|0,o=i,i=n,n=r,r=v+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0,this._f=s+this._f|0,this._g=b+this._g|0,this._h=g+this._h|0},s.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=s},36:function(t,e,r){var n=r(2068),i=r(2171),o=r(4857),u=r(7186).Buffer,a=new Array(160);function s(){this.init(),this._w=a,o.call(this,128,112)}n(s,i),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var t=u.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=s},2171:function(t,e,r){var n=r(2068),i=r(4857),o=r(7186).Buffer,u=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function s(){this.init(),this._w=a,i.call(this,128,112)}function f(t,e,r){return r^t&(e^r)}function c(t,e,r){return t&e|r&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function l(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function m(t,e){return t>>>0<e>>>0?1:0}n(s,i),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,s=0|this._fh,y=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,M=0|this._cl,S=0|this._dl,A=0|this._el,E=0|this._fl,k=0|this._gl,x=0|this._hl,O=0;O<32;O+=2)e[O]=t.readInt32BE(4*O),e[O+1]=t.readInt32BE(4*O+4);for(;O<160;O+=2){var I=e[O-30],R=e[O-30+1],j=d(I,R),B=p(R,I);I=e[O-4],R=e[O-4+1];var P=b(I,R),T=g(R,I),z=e[O-14],N=e[O-14+1],L=e[O-32],C=e[O-32+1],q=B+N|0,U=j+z+m(q,B)|0;q=q+T|0,U=U+P+m(q,T)|0,q=q+C|0,U=U+L+m(q,C)|0,e[O]=U,e[O+1]=q}for(var D=0;D<160;D+=2){U=e[D],q=e[D+1];var F=c(r,n,i),K=c(w,_,M),H=h(r,w),W=h(w,r),V=l(a,A),$=l(A,a),G=u[D],Z=u[D+1],Y=f(a,s,y),J=f(A,E,k),X=x+$|0,Q=v+V+m(X,x)|0;X=X+J|0,Q=Q+Y+m(X,J)|0,X=X+Z|0,Q=Q+G+m(X,Z)|0,X=X+q|0,Q=Q+U+m(X,q)|0;var tt=W+K|0,et=H+F+m(tt,W)|0;v=y,x=k,y=s,k=E,s=a,E=A,A=S+X|0,a=o+Q+m(A,S)|0,o=i,S=M,i=n,M=_,n=r,_=w,w=X+tt|0,r=Q+et+m(w,X)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+M|0,this._dl=this._dl+S|0,this._el=this._el+A|0,this._fl=this._fl+E|0,this._gl=this._gl+k|0,this._hl=this._hl+x|0,this._ah=this._ah+r+m(this._al,w)|0,this._bh=this._bh+n+m(this._bl,_)|0,this._ch=this._ch+i+m(this._cl,M)|0,this._dh=this._dh+o+m(this._dl,S)|0,this._eh=this._eh+a+m(this._el,A)|0,this._fh=this._fh+s+m(this._fl,E)|0,this._gh=this._gh+y+m(this._gl,k)|0,this._hh=this._hh+v+m(this._hl,x)|0},s.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=s},8201:function(t,e,r){t.exports=o;var n=r(3953).EventEmitter,i=r(2068);function o(){n.call(this)}i(o,n),o.Readable=r(2218),o.Writable=r(8874),o.Duplex=r(3297),o.Transform=r(8655),o.PassThrough=r(3413),o.finished=r(6616),o.pipeline=r(3788),o.Stream=o,o.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",a),r.on("close",s));var u=!1;function a(){u||(u=!0,t.end())}function s(){u||(u=!0,"function"===typeof t.destroy&&t.destroy())}function f(t){if(c(),0===n.listenerCount(this,"error"))throw t}function c(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",a),r.removeListener("close",s),r.removeListener("error",f),t.removeListener("error",f),r.removeListener("end",c),r.removeListener("close",c),t.removeListener("close",c)}return r.on("error",f),t.on("error",f),r.on("end",c),r.on("close",c),t.on("close",c),t.emit("pipe",r),t}},8032:function(t,e,r){"use strict";var n=r(7186).Buffer,i=n.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){if(!t)return"utf8";var e;while(1)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function u(t){var e=o(t);if("string"!==typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}function a(t){var e;switch(this.encoding=u(t),this.encoding){case"utf16le":this.text=p,this.end=b,e=4;break;case"utf8":this.fillLast=h,e=4;break;case"base64":this.text=g,this.end=m,e=3;break;default:return this.write=y,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function s(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function f(t,e,r){var n=e.length-1;if(n<r)return 0;var i=s(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=s(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=s(e[n]),i>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0))}function c(t,e,r){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}function h(t){var e=this.lastTotal-this.lastNeed,r=c(this,t,e);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){var r=f(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function d(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function p(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function b(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function g(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function m(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function y(t){return t.toString(this.encoding)}function v(t){return t&&t.length?this.write(t):""}e.s=a,a.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},a.prototype.end=d,a.prototype.text=l,a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},6263:function(t,e,r){var n=r(480)["Buffer"];r(3767),r(8585),r(8696);const i=r(7868),o=r(5233);function u(t,e={}){e={size:0,addPrefix:!1,evenLength:!1,autoDetectString:!0,default:"",...e};var r="";if(""!==e.default&&(r=e.default),""!==t&&void 0!==t&&null!==t||(t=r),"0"===t&&(t=0),void 0===t||null===t);else if("number"===typeof t)r=parseInt(Number(t),10).toString(16);else if("string"===typeof t)t=t.trim(),t.startsWith("0x")?r=i(t):""!==t&&Number.isFinite(+t)&&e.autoDetectString&&(/e/gi.test(t)||(t=t.replace(/(\.[0-9]+)/g,"")),r=new o(t,10).toString(16)),r===e.default&&(r=n.from(t,"utf8").toString("hex"));else if("boolean"===typeof t)r=t?"1":"0";else if("object"===typeof t&&null!==t)if(n.isBuffer(t))r=t.toString("hex");else if(/(BN|BigNumber|Big|Decimal)/.test(t.constructor.name))r=t.toString(16);else if(t instanceof Uint8Array)r=n.from([...t]).toString("hex");else if(t.toString&&"function"===typeof t.toString)try{const e=t.toString(16);/^[a-fA-F0-9]+$/.test(e)&&(r=e)}catch(u){}return"string"===typeof r&&(r=r.toLowerCase(),e.size>r.length&&(r=`${"0".repeat(e.size-r.length)}${r}`),e.evenLength&&r.length%2&&(r=`0${r}`),e.addPrefix&&(r=`0x${r}`)),r}t.exports=u},5180:function(t,e,r){var n=r(2409);function i(t,e){if(o("noDeprecation"))return t;var r=!1;function i(){if(!r){if(o("throwDeprecation"))throw new Error(e);o("traceDeprecation")?n.trace(e):n.warn(e),r=!0}return t.apply(this,arguments)}return i}function o(t){try{if(!r.g.localStorage)return!1}catch(n){return!1}var e=r.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=i},1583:function(t){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},4513:function(t,e,r){"use strict";r(3767),r(8585),r(8696);var n=r(2039),i=r(1113),o=r(6996),u=r(9529);function a(t){return t.call.bind(t)}var s="undefined"!==typeof BigInt,f="undefined"!==typeof Symbol,c=a(Object.prototype.toString),h=a(Number.prototype.valueOf),l=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(s)var p=a(BigInt.prototype.valueOf);if(f)var b=a(Symbol.prototype.valueOf);function g(t,e){if("object"!==typeof t)return!1;try{return e(t),!0}catch(r){return!1}}function m(t){return"undefined"!==typeof Promise&&t instanceof Promise||null!==t&&"object"===typeof t&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):u(t)||D(t)}function v(t){return"Uint8Array"===o(t)}function w(t){return"Uint8ClampedArray"===o(t)}function _(t){return"Uint16Array"===o(t)}function M(t){return"Uint32Array"===o(t)}function S(t){return"Int8Array"===o(t)}function A(t){return"Int16Array"===o(t)}function E(t){return"Int32Array"===o(t)}function k(t){return"Float32Array"===o(t)}function x(t){return"Float64Array"===o(t)}function O(t){return"BigInt64Array"===o(t)}function I(t){return"BigUint64Array"===o(t)}function R(t){return"[object Map]"===c(t)}function j(t){return"undefined"!==typeof Map&&(R.working?R(t):t instanceof Map)}function B(t){return"[object Set]"===c(t)}function P(t){return"undefined"!==typeof Set&&(B.working?B(t):t instanceof Set)}function T(t){return"[object WeakMap]"===c(t)}function z(t){return"undefined"!==typeof WeakMap&&(T.working?T(t):t instanceof WeakMap)}function N(t){return"[object WeakSet]"===c(t)}function L(t){return N(t)}function C(t){return"[object ArrayBuffer]"===c(t)}function q(t){return"undefined"!==typeof ArrayBuffer&&(C.working?C(t):t instanceof ArrayBuffer)}function U(t){return"[object DataView]"===c(t)}function D(t){return"undefined"!==typeof DataView&&(U.working?U(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=u,e.isPromise=m,e.isArrayBufferView=y,e.isUint8Array=v,e.isUint8ClampedArray=w,e.isUint16Array=_,e.isUint32Array=M,e.isInt8Array=S,e.isInt16Array=A,e.isInt32Array=E,e.isFloat32Array=k,e.isFloat64Array=x,e.isBigInt64Array=O,e.isBigUint64Array=I,R.working="undefined"!==typeof Map&&R(new Map),e.isMap=j,B.working="undefined"!==typeof Set&&B(new Set),e.isSet=P,T.working="undefined"!==typeof WeakMap&&T(new WeakMap),e.isWeakMap=z,N.working="undefined"!==typeof WeakSet&&N(new WeakSet),e.isWeakSet=L,C.working="undefined"!==typeof ArrayBuffer&&C(new ArrayBuffer),e.isArrayBuffer=q,U.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&U(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=D;var F="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function K(t){return"[object SharedArrayBuffer]"===c(t)}function H(t){return"undefined"!==typeof F&&("undefined"===typeof K.working&&(K.working=K(new F)),K.working?K(t):t instanceof F)}function W(t){return"[object AsyncFunction]"===c(t)}function V(t){return"[object Map Iterator]"===c(t)}function $(t){return"[object Set Iterator]"===c(t)}function G(t){return"[object Generator]"===c(t)}function Z(t){return"[object WebAssembly.Module]"===c(t)}function Y(t){return g(t,h)}function J(t){return g(t,l)}function X(t){return g(t,d)}function Q(t){return s&&g(t,p)}function tt(t){return f&&g(t,b)}function et(t){return Y(t)||J(t)||X(t)||Q(t)||tt(t)}function rt(t){return"undefined"!==typeof Uint8Array&&(q(t)||H(t))}e.isSharedArrayBuffer=H,e.isAsyncFunction=W,e.isMapIterator=V,e.isSetIterator=$,e.isGeneratorObject=G,e.isWebAssemblyCompiledModule=Z,e.isNumberObject=Y,e.isStringObject=J,e.isBooleanObject=X,e.isBigIntObject=Q,e.isSymbolObject=tt,e.isBoxedPrimitive=et,e.isAnyArrayBuffer=rt,["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9162:function(t,e,r){var n=r(4478),i=r(2409);r(7658);var o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},u=/%[sdj%]/g;e.format=function(t){if(!E(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(t).replace(u,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),a=n[r];r<i;a=n[++r])M(a)||!I(a)?o+=" "+a:o+=" "+c(a);return o},e.deprecate=function(t,r){if("undefined"!==typeof n&&!0===n.noDeprecation)return t;if("undefined"===typeof n)return function(){return e.deprecate(t,r).apply(this,arguments)};var o=!1;function u(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?i.trace(r):i.error(r),o=!0}return t.apply(this,arguments)}return u};var a={},s=/^$/;if({NODE_ENV:"production",BASE_URL:"/"}.NODE_DEBUG){var f={NODE_ENV:"production",BASE_URL:"/"}.NODE_DEBUG;f=f.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+f+"$","i")}function c(t,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),_(r)?n.showHidden=r:r&&e._extend(n,r),x(n.showHidden)&&(n.showHidden=!1),x(n.depth)&&(n.depth=2),x(n.colors)&&(n.colors=!1),x(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=h),p(n,t,n.depth)}function h(t,e){var r=c.styles[e];return r?"["+c.colors[r][0]+"m"+t+"["+c.colors[r][1]+"m":t}function l(t,e){return t}function d(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}function p(t,r,n){if(t.customInspect&&r&&B(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return E(i)||(i=p(t,i,n)),i}var o=b(t,r);if(o)return o;var u=Object.keys(r),a=d(u);if(t.showHidden&&(u=Object.getOwnPropertyNames(r)),j(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return g(r);if(0===u.length){if(B(r)){var s=r.name?": "+r.name:"";return t.stylize("[Function"+s+"]","special")}if(O(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(R(r))return t.stylize(Date.prototype.toString.call(r),"date");if(j(r))return g(r)}var f,c="",h=!1,l=["{","}"];if(w(r)&&(h=!0,l=["[","]"]),B(r)){var _=r.name?": "+r.name:"";c=" [Function"+_+"]"}return O(r)&&(c=" "+RegExp.prototype.toString.call(r)),R(r)&&(c=" "+Date.prototype.toUTCString.call(r)),j(r)&&(c=" "+g(r)),0!==u.length||h&&0!=r.length?n<0?O(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),f=h?m(t,r,n,a,u):u.map((function(e){return y(t,r,n,a,e,h)})),t.seen.pop(),v(f,c,l)):l[0]+c+l[1]}function b(t,e){if(x(e))return t.stylize("undefined","undefined");if(E(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return A(e)?t.stylize(""+e,"number"):_(e)?t.stylize(""+e,"boolean"):M(e)?t.stylize("null","null"):void 0}function g(t){return"["+Error.prototype.toString.call(t)+"]"}function m(t,e,r,n,i){for(var o=[],u=0,a=e.length;u<a;++u)C(e,String(u))?o.push(y(t,e,r,n,String(u),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(y(t,e,r,n,i,!0))})),o}function y(t,e,r,n,i,o){var u,a,s;if(s=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},s.get?a=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(a=t.stylize("[Setter]","special")),C(n,i)||(u="["+i+"]"),a||(t.seen.indexOf(s.value)<0?(a=M(r)?p(t,s.value,null):p(t,s.value,r-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+a.split("\n").map((function(t){return" "+t})).join("\n"))):a=t.stylize("[Circular]","special")),x(u)){if(o&&i.match(/^\d+$/))return a;u=JSON.stringify(""+i),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,-1),u=t.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=t.stylize(u,"string"))}return u+": "+a}function v(t,e,r){var n=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function w(t){return Array.isArray(t)}function _(t){return"boolean"===typeof t}function M(t){return null===t}function S(t){return null==t}function A(t){return"number"===typeof t}function E(t){return"string"===typeof t}function k(t){return"symbol"===typeof t}function x(t){return void 0===t}function O(t){return I(t)&&"[object RegExp]"===T(t)}function I(t){return"object"===typeof t&&null!==t}function R(t){return I(t)&&"[object Date]"===T(t)}function j(t){return I(t)&&("[object Error]"===T(t)||t instanceof Error)}function B(t){return"function"===typeof t}function P(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t}function T(t){return Object.prototype.toString.call(t)}function z(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!a[t])if(s.test(t)){var r=n.pid;a[t]=function(){var n=e.format.apply(e,arguments);i.error("%s %d: %s",t,r,n)}}else a[t]=function(){};return a[t]},e.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(4513),e.isArray=w,e.isBoolean=_,e.isNull=M,e.isNullOrUndefined=S,e.isNumber=A,e.isString=E,e.isSymbol=k,e.isUndefined=x,e.isRegExp=O,e.types.isRegExp=O,e.isObject=I,e.isDate=R,e.types.isDate=R,e.isError=j,e.types.isNativeError=j,e.isFunction=B,e.isPrimitive=P,e.isBuffer=r(1583);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var t=new Date,e=[z(t.getHours()),z(t.getMinutes()),z(t.getSeconds())].join(":");return[t.getDate(),N[t.getMonth()],e].join(" ")}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){i.log("%s - %s",L(),e.format.apply(e,arguments))},e.inherits=r(2068),e._extend=function(t,e){if(!e||!I(e))return t;var r=Object.keys(e),n=r.length;while(n--)t[r[n]]=e[r[n]];return t};var q="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function U(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function D(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var i=e.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,u=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(t){n.nextTick(u.bind(null,null,t))}),(function(t){n.nextTick(U.bind(null,t,u))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,o(t)),e}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(q&&t[q]){var e=t[q];if("function"!==typeof e)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,q,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(u){r(u)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),q&&Object.defineProperty(e,q,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,o(t))},e.promisify.custom=q,e.callbackify=D},6996:function(t,e,r){"use strict";var n=r(9438),i=r(5368),o=r(4875),u=r(7905),a=o("Object.prototype.toString"),s=r(9505)(),f="undefined"===typeof globalThis?r.g:globalThis,c=i(),h=o("String.prototype.slice"),l={},d=Object.getPrototypeOf;s&&u&&d&&n(c,(function(t){if("function"===typeof f[t]){var e=new f[t];if(Symbol.toStringTag in e){var r=d(e),n=u(r,Symbol.toStringTag);if(!n){var i=d(r);n=u(i,Symbol.toStringTag)}l[t]=n.get}}}));var p=function(t){var e=!1;return n(l,(function(r,n){if(!e)try{var i=r.call(t);i===n&&(e=i)}catch(o){}})),e},b=r(9529);t.exports=function(t){return!!b(t)&&(s&&Symbol.toStringTag in t?p(t):h(a(t),8,-1))}},6601:function(){},9214:function(){},5568:function(){},2361:function(){},4616:function(){},5368:function(t,e,r){"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"===typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"===typeof i[n[e]]&&(t[t.length]=n[e]);return t}},8597:function(t){"use strict";t.exports={i8:"6.5.4"}},2678:function(t){"use strict";t.exports=JSON.parse('{"ad":true,"ae":true,"af":true,"ag":true,"ai":true,"al":true,"am":true,"ao":true,"aq":true,"ar":true,"as":true,"at":true,"au":true,"aw":true,"ax":true,"az":true,"ba":true,"bb":true,"bd":true,"be":true,"bf":true,"bg":true,"bh":true,"bi":true,"bj":true,"bl":true,"bm":true,"bn":true,"bo":true,"bq":true,"br":true,"bs":true,"bt":true,"bv":true,"bw":true,"by":true,"bz":true,"ca":true,"cc":true,"cd":true,"cf":true,"cg":true,"ch":true,"ci":true,"ck":true,"cl":true,"cm":true,"cn":true,"co":true,"cr":true,"cu":true,"cv":true,"cw":true,"cx":true,"cy":true,"cz":true,"de":true,"dj":true,"dk":true,"dm":true,"do":true,"dz":true,"ec":true,"ee":true,"eg":true,"er":true,"es":true,"et":true,"fi":true,"fj":true,"fk":true,"fm":true,"fo":true,"fr":true,"ga":true,"gb (.uk)":true,"gd":true,"ge":true,"gf":true,"gg":true,"gh":true,"gi":true,"gl":true,"gm":true,"gn":true,"gp":true,"gq":true,"gr":true,"gs":true,"gt":true,"gu":true,"gw":true,"gy":true,"hk":true,"hm":true,"hn":true,"hr":true,"ht":true,"hu":true,"id":true,"ie":true,"il":true,"im":true,"in":true,"io":true,"iq":true,"ir":true,"is":true,"it":true,"je":true,"jm":true,"jo":true,"jp":true,"ke":true,"kg":true,"kh":true,"ki":true,"km":true,"kn":true,"kp":true,"kr":true,"kw":true,"ky":true,"kz":true,"la":true,"lb":true,"lc":true,"li":true,"lk":true,"lr":true,"ls":true,"lt":true,"lu":true,"lv":true,"ly":true,"ma":true,"mc":true,"md":true,"me":true,"mf":true,"mg":true,"mh":true,"mk":true,"ml":true,"mm":true,"mn":true,"mo":true,"mp":true,"mq":true,"mr":true,"ms":true,"mt":true,"mu":true,"mv":true,"mw":true,"mx":true,"my":true,"mz":true,"na":true,"nc":true,"ne":true,"nf":true,"ng":true,"ni":true,"nl":true,"no":true,"np":true,"nr":true,"nu":true,"nz":true,"om":true,"pa":true,"pe":true,"pf":true,"pg":true,"ph":true,"pk":true,"pl":true,"pm":true,"pn":true,"pr":true,"ps":true,"pt":true,"pw":true,"py":true,"qa":true,"re":true,"ro":true,"rs":true,"ru":true,"rw":true,"sa":true,"sb":true,"sc":true,"sd":true,"se":true,"sg":true,"sh":true,"si":true,"sj":true,"sk":true,"sl":true,"sm":true,"sn":true,"so":true,"sr":true,"ss":true,"st":true,"sv":true,"sx":true,"sy":true,"sz":true,"tc":true,"td":true,"tf":true,"tg":true,"th":true,"tj":true,"tk":true,"tl":true,"tm":true,"tn":true,"to":true,"tr":true,"tt":true,"tv":true,"tw":true,"tz":true,"ua":true,"ug":true,"us":true,"uy":true,"uz":true,"va":true,"vc":true,"ve":true,"vg":true,"vi":true,"vn":true,"vu":true,"wf":true,"ws":true,"ye":true,"yt":true,"za":true,"zm":true,"zw":true}')},7086:function(t){"use strict";t.exports=JSON.parse('{"com.ac":true,"net.ac":true,"gov.ac":true,"org.ac":true,"mil.ac":true,"co.ae":true,"net.ae":true,"gov.ae":true,"ac.ae":true,"sch.ae":true,"org.ae":true,"mil.ae":true,"pro.ae":true,"name.ae":true,"com.af":true,"edu.af":true,"gov.af":true,"net.af":true,"org.af":true,"com.al":true,"edu.al":true,"gov.al":true,"mil.al":true,"net.al":true,"org.al":true,"ed.ao":true,"gv.ao":true,"og.ao":true,"co.ao":true,"pb.ao":true,"it.ao":true,"com.ar":true,"edu.ar":true,"gob.ar":true,"gov.ar":true,"int.ar":true,"mil.ar":true,"net.ar":true,"org.ar":true,"tur.ar":true,"gv.at":true,"ac.at":true,"co.at":true,"or.at":true,"com.au":true,"net.au":true,"org.au":true,"edu.au":true,"gov.au":true,"csiro.au":true,"asn.au":true,"id.au":true,"vic.au":true,"sa.au":true,"wa.au":true,"nt.au":true,"tas.au":true,"qld.au":true,"act.au":true,"conf.au":true,"oz.au":true,"org.ba":true,"net.ba":true,"edu.ba":true,"gov.ba":true,"mil.ba":true,"unsa.ba":true,"untz.ba":true,"unmo.ba":true,"unbi.ba":true,"unze.ba":true,"co.ba":true,"com.ba":true,"rs.ba":true,"co.bb":true,"com.bb":true,"net.bb":true,"org.bb":true,"gov.bb":true,"edu.bb":true,"info.bb":true,"store.bb":true,"tv.bb":true,"biz.bb":true,"com.bh":true,"info.bh":true,"cc.bh":true,"edu.bh":true,"biz.bh":true,"net.bh":true,"org.bh":true,"gov.bh":true,"com.bn":true,"edu.bn":true,"gov.bn":true,"net.bn":true,"org.bn":true,"com.bo":true,"net.bo":true,"org.bo":true,"tv.bo":true,"mil.bo":true,"int.bo":true,"gob.bo":true,"gov.bo":true,"edu.bo":true,"adm.br":true,"adv.br":true,"agr.br":true,"am.br":true,"arq.br":true,"art.br":true,"ato.br":true,"b.br":true,"bio.br":true,"blog.br":true,"bmd.br":true,"cim.br":true,"cng.br":true,"cnt.br":true,"com.br":true,"coop.br":true,"ecn.br":true,"edu.br":true,"eng.br":true,"esp.br":true,"etc.br":true,"eti.br":true,"far.br":true,"flog.br":true,"fm.br":true,"fnd.br":true,"fot.br":true,"fst.br":true,"g12.br":true,"ggf.br":true,"gov.br":true,"imb.br":true,"ind.br":true,"inf.br":true,"jor.br":true,"jus.br":true,"lel.br":true,"mat.br":true,"med.br":true,"mil.br":true,"mus.br":true,"net.br":true,"nom.br":true,"not.br":true,"ntr.br":true,"odo.br":true,"org.br":true,"ppg.br":true,"pro.br":true,"psc.br":true,"psi.br":true,"qsl.br":true,"rec.br":true,"slg.br":true,"srv.br":true,"tmp.br":true,"trd.br":true,"tur.br":true,"tv.br":true,"vet.br":true,"vlog.br":true,"wiki.br":true,"zlg.br":true,"com.bs":true,"net.bs":true,"org.bs":true,"edu.bs":true,"gov.bs":true,"om.bz":true,"du.bz":true,"ov.bz":true,"et.bz":true,"rg.bz":true,"ab.ca":true,"bc.ca":true,"mb.ca":true,"nb.ca":true,"nf.ca":true,"nl.ca":true,"ns.ca":true,"nt.ca":true,"nu.ca":true,"on.ca":true,"pe.ca":true,"qc.ca":true,"sk.ca":true,"yk.ca":true,"co.ck":true,"org.ck":true,"edu.ck":true,"gov.ck":true,"net.ck":true,"gen.ck":true,"biz.ck":true,"info.ck":true,"ac.cn":true,"com.cn":true,"edu.cn":true,"gov.cn":true,"mil.cn":true,"net.cn":true,"org.cn":true,"ah.cn":true,"bj.cn":true,"cq.cn":true,"fj.cn":true,"gd.cn":true,"gs.cn":true,"gz.cn":true,"gx.cn":true,"ha.cn":true,"hb.cn":true,"he.cn":true,"hi.cn":true,"hl.cn":true,"hn.cn":true,"jl.cn":true,"js.cn":true,"jx.cn":true,"ln.cn":true,"nm.cn":true,"nx.cn":true,"qh.cn":true,"sc.cn":true,"sd.cn":true,"sh.cn":true,"sn.cn":true,"sx.cn":true,"tj.cn":true,"tw.cn":true,"xj.cn":true,"xz.cn":true,"yn.cn":true,"zj.cn":true,"com.co":true,"org.co":true,"edu.co":true,"gov.co":true,"net.co":true,"mil.co":true,"nom.co":true,"ac.cr":true,"co.cr":true,"ed.cr":true,"fi.cr":true,"go.cr":true,"or.cr":true,"sa.cr":true,"cr":true,"ac.cy":true,"net.cy":true,"gov.cy":true,"org.cy":true,"pro.cy":true,"name.cy":true,"ekloges.cy":true,"tm.cy":true,"ltd.cy":true,"biz.cy":true,"press.cy":true,"parliament.cy":true,"com.cy":true,"edu.do":true,"gob.do":true,"gov.do":true,"com.do":true,"sld.do":true,"org.do":true,"net.do":true,"web.do":true,"mil.do":true,"art.do":true,"com.dz":true,"org.dz":true,"net.dz":true,"gov.dz":true,"edu.dz":true,"asso.dz":true,"pol.dz":true,"art.dz":true,"com.ec":true,"info.ec":true,"net.ec":true,"fin.ec":true,"med.ec":true,"pro.ec":true,"org.ec":true,"edu.ec":true,"gov.ec":true,"mil.ec":true,"com.eg":true,"edu.eg":true,"eun.eg":true,"gov.eg":true,"mil.eg":true,"name.eg":true,"net.eg":true,"org.eg":true,"sci.eg":true,"com.er":true,"edu.er":true,"gov.er":true,"mil.er":true,"net.er":true,"org.er":true,"ind.er":true,"rochest.er":true,"w.er":true,"com.es":true,"nom.es":true,"org.es":true,"gob.es":true,"edu.es":true,"com.et":true,"gov.et":true,"org.et":true,"edu.et":true,"net.et":true,"biz.et":true,"name.et":true,"info.et":true,"ac.fj":true,"biz.fj":true,"com.fj":true,"info.fj":true,"mil.fj":true,"name.fj":true,"net.fj":true,"org.fj":true,"pro.fj":true,"co.fk":true,"org.fk":true,"gov.fk":true,"ac.fk":true,"nom.fk":true,"net.fk":true,"fr":true,"tm.fr":true,"asso.fr":true,"nom.fr":true,"prd.fr":true,"presse.fr":true,"com.fr":true,"gouv.fr":true,"co.gg":true,"net.gg":true,"org.gg":true,"com.gh":true,"edu.gh":true,"gov.gh":true,"org.gh":true,"mil.gh":true,"co.gl":true,"com.gl":true,"edu.gl":true,"net.gl":true,"org.gl":true,"com.gn":true,"ac.gn":true,"gov.gn":true,"org.gn":true,"net.gn":true,"com.gr":true,"edu.gr":true,"net.gr":true,"org.gr":true,"gov.gr":true,"mil.gr":true,"com.gt":true,"edu.gt":true,"net.gt":true,"gob.gt":true,"org.gt":true,"mil.gt":true,"ind.gt":true,"com.gu":true,"net.gu":true,"gov.gu":true,"org.gu":true,"edu.gu":true,"com.hk":true,"edu.hk":true,"gov.hk":true,"idv.hk":true,"net.hk":true,"org.hk":true,"2000.hu":true,"agrar.hu":true,"bolt.hu":true,"casino.hu":true,"city.hu":true,"co.hu":true,"erotica.hu":true,"erotika.hu":true,"film.hu":true,"forum.hu":true,"games.hu":true,"hotel.hu":true,"info.hu":true,"ingatlan.hu":true,"jogasz.hu":true,"konyvelo.hu":true,"lakas.hu":true,"media.hu":true,"news.hu":true,"org.hu":true,"priv.hu":true,"reklam.hu":true,"sex.hu":true,"shop.hu":true,"sport.hu":true,"suli.huv":true,"szex.hu":true,"tm.hu":true,"tozsde.hu":true,"utazas.hu":true,"video.hu":true,"ac.id":true,"co.id":true,"net.id":true,"or.id":true,"web.id":true,"sch.id":true,"mil.id":true,"go.id":true,"war.net.id":true,"my.id":true,"biz.id":true,"ac.il":true,"co.il":true,"org.il":true,"net.il":true,"k12.il":true,"gov.il":true,"muni.il":true,"idf.il":true,"in":true,"4fd.in":true,"co.in":true,"firm.in":true,"net.in":true,"org.in":true,"gen.in":true,"ind.in":true,"ac.in":true,"edu.in":true,"res.in":true,"ernet.in":true,"gov.in":true,"mil.in":true,"nic.in":true,"iq":true,"gov.iq":true,"edu.iq":true,"com.iq":true,"mil.iq":true,"org.iq":true,"net.iq":true,"ir":true,"ac.ir":true,"co.ir":true,"gov.ir":true,"id.ir":true,"net.ir":true,"org.ir":true,"sch.ir":true,"dnssec.ir":true,"gov.it":true,"edu.it":true,"co.je":true,"net.je":true,"org.je":true,"com.jo":true,"net.jo":true,"gov.jo":true,"edu.jo":true,"org.jo":true,"mil.jo":true,"name.jo":true,"sch.jo":true,"ac.jp":true,"ad.jp":true,"co.jp":true,"ed.jp":true,"go.jp":true,"gr.jp":true,"lg.jp":true,"ne.jp":true,"or.jp":true,"co.ke":true,"or.ke":true,"ne.ke":true,"go.ke":true,"ac.ke":true,"sc.ke":true,"me.ke":true,"mobi.ke":true,"info.ke":true,"per.kh":true,"com.kh":true,"edu.kh":true,"gov.kh":true,"mil.kh":true,"net.kh":true,"org.kh":true,"com.ki":true,"biz.ki":true,"de.ki":true,"net.ki":true,"info.ki":true,"org.ki":true,"gov.ki":true,"edu.ki":true,"mob.ki":true,"tel.ki":true,"km":true,"com.km":true,"coop.km":true,"asso.km":true,"nom.km":true,"presse.km":true,"tm.km":true,"medecin.km":true,"notaires.km":true,"pharmaciens.km":true,"veterinaire.km":true,"edu.km":true,"gouv.km":true,"mil.km":true,"net.kn":true,"org.kn":true,"edu.kn":true,"gov.kn":true,"kr":true,"co.kr":true,"ne.kr":true,"or.kr":true,"re.kr":true,"pe.kr":true,"go.kr":true,"mil.kr":true,"ac.kr":true,"hs.kr":true,"ms.kr":true,"es.kr":true,"sc.kr":true,"kg.kr":true,"seoul.kr":true,"busan.kr":true,"daegu.kr":true,"incheon.kr":true,"gwangju.kr":true,"daejeon.kr":true,"ulsan.kr":true,"gyeonggi.kr":true,"gangwon.kr":true,"chungbuk.kr":true,"chungnam.kr":true,"jeonbuk.kr":true,"jeonnam.kr":true,"gyeongbuk.kr":true,"gyeongnam.kr":true,"jeju.kr":true,"edu.kw":true,"com.kw":true,"net.kw":true,"org.kw":true,"gov.kw":true,"com.ky":true,"org.ky":true,"net.ky":true,"edu.ky":true,"gov.ky":true,"com.kz":true,"edu.kz":true,"gov.kz":true,"mil.kz":true,"net.kz":true,"org.kz":true,"com.lb":true,"edu.lb":true,"gov.lb":true,"net.lb":true,"org.lb":true,"gov.lk":true,"sch.lk":true,"net.lk":true,"int.lk":true,"com.lk":true,"org.lk":true,"edu.lk":true,"ngo.lk":true,"soc.lk":true,"web.lk":true,"ltd.lk":true,"assn.lk":true,"grp.lk":true,"hotel.lk":true,"com.lr":true,"edu.lr":true,"gov.lr":true,"org.lr":true,"net.lr":true,"com.lv":true,"edu.lv":true,"gov.lv":true,"org.lv":true,"mil.lv":true,"id.lv":true,"net.lv":true,"asn.lv":true,"conf.lv":true,"com.ly":true,"net.ly":true,"gov.ly":true,"plc.ly":true,"edu.ly":true,"sch.ly":true,"med.ly":true,"org.ly":true,"id.ly":true,"ma":true,"net.ma":true,"ac.ma":true,"org.ma":true,"gov.ma":true,"press.ma":true,"co.ma":true,"tm.mc":true,"asso.mc":true,"co.me":true,"net.me":true,"org.me":true,"edu.me":true,"ac.me":true,"gov.me":true,"its.me":true,"priv.me":true,"org.mg":true,"nom.mg":true,"gov.mg":true,"prd.mg":true,"tm.mg":true,"edu.mg":true,"mil.mg":true,"com.mg":true,"com.mk":true,"org.mk":true,"net.mk":true,"edu.mk":true,"gov.mk":true,"inf.mk":true,"name.mk":true,"pro.mk":true,"com.ml":true,"net.ml":true,"org.ml":true,"edu.ml":true,"gov.ml":true,"presse.ml":true,"gov.mn":true,"edu.mn":true,"org.mn":true,"com.mo":true,"edu.mo":true,"gov.mo":true,"net.mo":true,"org.mo":true,"com.mt":true,"org.mt":true,"net.mt":true,"edu.mt":true,"gov.mt":true,"aero.mv":true,"biz.mv":true,"com.mv":true,"coop.mv":true,"edu.mv":true,"gov.mv":true,"info.mv":true,"int.mv":true,"mil.mv":true,"museum.mv":true,"name.mv":true,"net.mv":true,"org.mv":true,"pro.mv":true,"ac.mw":true,"co.mw":true,"com.mw":true,"coop.mw":true,"edu.mw":true,"gov.mw":true,"int.mw":true,"museum.mw":true,"net.mw":true,"org.mw":true,"com.mx":true,"net.mx":true,"org.mx":true,"edu.mx":true,"gob.mx":true,"com.my":true,"net.my":true,"org.my":true,"gov.my":true,"edu.my":true,"sch.my":true,"mil.my":true,"name.my":true,"com.nf":true,"net.nf":true,"arts.nf":true,"store.nf":true,"web.nf":true,"firm.nf":true,"info.nf":true,"other.nf":true,"per.nf":true,"rec.nf":true,"com.ng":true,"org.ng":true,"gov.ng":true,"edu.ng":true,"net.ng":true,"sch.ng":true,"name.ng":true,"mobi.ng":true,"biz.ng":true,"mil.ng":true,"gob.ni":true,"co.ni":true,"com.ni":true,"ac.ni":true,"edu.ni":true,"org.ni":true,"nom.ni":true,"net.ni":true,"mil.ni":true,"com.np":true,"edu.np":true,"gov.np":true,"org.np":true,"mil.np":true,"net.np":true,"edu.nr":true,"gov.nr":true,"biz.nr":true,"info.nr":true,"net.nr":true,"org.nr":true,"com.nr":true,"com.om":true,"co.om":true,"edu.om":true,"ac.om":true,"sch.om":true,"gov.om":true,"net.om":true,"org.om":true,"mil.om":true,"museum.om":true,"biz.om":true,"pro.om":true,"med.om":true,"edu.pe":true,"gob.pe":true,"nom.pe":true,"mil.pe":true,"sld.pe":true,"org.pe":true,"com.pe":true,"net.pe":true,"com.ph":true,"net.ph":true,"org.ph":true,"mil.ph":true,"ngo.ph":true,"i.ph":true,"gov.ph":true,"edu.ph":true,"com.pk":true,"net.pk":true,"edu.pk":true,"org.pk":true,"fam.pk":true,"biz.pk":true,"web.pk":true,"gov.pk":true,"gob.pk":true,"gok.pk":true,"gon.pk":true,"gop.pk":true,"gos.pk":true,"pwr.pl":true,"com.pl":true,"biz.pl":true,"net.pl":true,"art.pl":true,"edu.pl":true,"org.pl":true,"ngo.pl":true,"gov.pl":true,"info.pl":true,"mil.pl":true,"waw.pl":true,"warszawa.pl":true,"wroc.pl":true,"wroclaw.pl":true,"krakow.pl":true,"katowice.pl":true,"poznan.pl":true,"lodz.pl":true,"gda.pl":true,"gdansk.pl":true,"slupsk.pl":true,"radom.pl":true,"szczecin.pl":true,"lublin.pl":true,"bialystok.pl":true,"olsztyn.pl":true,"torun.pl":true,"gorzow.pl":true,"zgora.pl":true,"biz.pr":true,"com.pr":true,"edu.pr":true,"gov.pr":true,"info.pr":true,"isla.pr":true,"name.pr":true,"net.pr":true,"org.pr":true,"pro.pr":true,"est.pr":true,"prof.pr":true,"ac.pr":true,"com.ps":true,"net.ps":true,"org.ps":true,"edu.ps":true,"gov.ps":true,"plo.ps":true,"sec.ps":true,"co.pw":true,"ne.pw":true,"or.pw":true,"ed.pw":true,"go.pw":true,"belau.pw":true,"arts.ro":true,"com.ro":true,"firm.ro":true,"info.ro":true,"nom.ro":true,"nt.ro":true,"org.ro":true,"rec.ro":true,"store.ro":true,"tm.ro":true,"www.ro":true,"co.rs":true,"org.rs":true,"edu.rs":true,"ac.rs":true,"gov.rs":true,"in.rs":true,"com.sb":true,"net.sb":true,"edu.sb":true,"org.sb":true,"gov.sb":true,"com.sc":true,"net.sc":true,"edu.sc":true,"gov.sc":true,"org.sc":true,"co.sh":true,"com.sh":true,"org.sh":true,"gov.sh":true,"edu.sh":true,"net.sh":true,"nom.sh":true,"com.sl":true,"net.sl":true,"org.sl":true,"edu.sl":true,"gov.sl":true,"gov.st":true,"saotome.st":true,"principe.st":true,"consulado.st":true,"embaixada.st":true,"org.st":true,"edu.st":true,"net.st":true,"com.st":true,"store.st":true,"mil.st":true,"co.st":true,"edu.sv":true,"gob.sv":true,"com.sv":true,"org.sv":true,"red.sv":true,"co.sz":true,"ac.sz":true,"org.sz":true,"com.tr":true,"gen.tr":true,"org.tr":true,"biz.tr":true,"info.tr":true,"av.tr":true,"dr.tr":true,"pol.tr":true,"bel.tr":true,"tsk.tr":true,"bbs.tr":true,"k12.tr":true,"edu.tr":true,"name.tr":true,"net.tr":true,"gov.tr":true,"web.tr":true,"tel.tr":true,"tv.tr":true,"co.tt":true,"com.tt":true,"org.tt":true,"net.tt":true,"biz.tt":true,"info.tt":true,"pro.tt":true,"int.tt":true,"coop.tt":true,"jobs.tt":true,"mobi.tt":true,"travel.tt":true,"museum.tt":true,"aero.tt":true,"cat.tt":true,"tel.tt":true,"name.tt":true,"mil.tt":true,"edu.tt":true,"gov.tt":true,"edu.tw":true,"gov.tw":true,"mil.tw":true,"com.tw":true,"net.tw":true,"org.tw":true,"idv.tw":true,"game.tw":true,"ebiz.tw":true,"club.tw":true,"com.mu":true,"gov.mu":true,"net.mu":true,"org.mu":true,"ac.mu":true,"co.mu":true,"or.mu":true,"ac.mz":true,"co.mz":true,"edu.mz":true,"org.mz":true,"gov.mz":true,"com.na":true,"co.na":true,"ac.nz":true,"co.nz":true,"cri.nz":true,"geek.nz":true,"gen.nz":true,"govt.nz":true,"health.nz":true,"iwi.nz":true,"maori.nz":true,"mil.nz":true,"net.nz":true,"org.nz":true,"parliament.nz":true,"school.nz":true,"abo.pa":true,"ac.pa":true,"com.pa":true,"edu.pa":true,"gob.pa":true,"ing.pa":true,"med.pa":true,"net.pa":true,"nom.pa":true,"org.pa":true,"sld.pa":true,"com.pt":true,"edu.pt":true,"gov.pt":true,"int.pt":true,"net.pt":true,"nome.pt":true,"org.pt":true,"publ.pt":true,"com.py":true,"edu.py":true,"gov.py":true,"mil.py":true,"net.py":true,"org.py":true,"com.qa":true,"edu.qa":true,"gov.qa":true,"mil.qa":true,"net.qa":true,"org.qa":true,"asso.re":true,"com.re":true,"nom.re":true,"ac.ru":true,"adygeya.ru":true,"altai.ru":true,"amur.ru":true,"arkhangelsk.ru":true,"astrakhan.ru":true,"bashkiria.ru":true,"belgorod.ru":true,"bir.ru":true,"bryansk.ru":true,"buryatia.ru":true,"cbg.ru":true,"chel.ru":true,"chelyabinsk.ru":true,"chita.ru":true,"chukotka.ru":true,"chuvashia.ru":true,"com.ru":true,"dagestan.ru":true,"e-burg.ru":true,"edu.ru":true,"gov.ru":true,"grozny.ru":true,"int.ru":true,"irkutsk.ru":true,"ivanovo.ru":true,"izhevsk.ru":true,"jar.ru":true,"joshkar-ola.ru":true,"kalmykia.ru":true,"kaluga.ru":true,"kamchatka.ru":true,"karelia.ru":true,"kazan.ru":true,"kchr.ru":true,"kemerovo.ru":true,"khabarovsk.ru":true,"khakassia.ru":true,"khv.ru":true,"kirov.ru":true,"koenig.ru":true,"komi.ru":true,"kostroma.ru":true,"kranoyarsk.ru":true,"kuban.ru":true,"kurgan.ru":true,"kursk.ru":true,"lipetsk.ru":true,"magadan.ru":true,"mari.ru":true,"mari-el.ru":true,"marine.ru":true,"mil.ru":true,"mordovia.ru":true,"mosreg.ru":true,"msk.ru":true,"murmansk.ru":true,"nalchik.ru":true,"net.ru":true,"nnov.ru":true,"nov.ru":true,"novosibirsk.ru":true,"nsk.ru":true,"omsk.ru":true,"orenburg.ru":true,"org.ru":true,"oryol.ru":true,"penza.ru":true,"perm.ru":true,"pp.ru":true,"pskov.ru":true,"ptz.ru":true,"rnd.ru":true,"ryazan.ru":true,"sakhalin.ru":true,"samara.ru":true,"saratov.ru":true,"simbirsk.ru":true,"smolensk.ru":true,"spb.ru":true,"stavropol.ru":true,"stv.ru":true,"surgut.ru":true,"tambov.ru":true,"tatarstan.ru":true,"tom.ru":true,"tomsk.ru":true,"tsaritsyn.ru":true,"tsk.ru":true,"tula.ru":true,"tuva.ru":true,"tver.ru":true,"tyumen.ru":true,"udm.ru":true,"udmurtia.ru":true,"ulan-ude.ru":true,"vladikavkaz.ru":true,"vladimir.ru":true,"vladivostok.ru":true,"volgograd.ru":true,"vologda.ru":true,"voronezh.ru":true,"vrn.ru":true,"vyatka.ru":true,"yakutia.ru":true,"yamal.ru":true,"yekaterinburg.ru":true,"yuzhno-sakhalinsk.ru":true,"ac.rw":true,"co.rw":true,"com.rw":true,"edu.rw":true,"gouv.rw":true,"gov.rw":true,"int.rw":true,"mil.rw":true,"net.rw":true,"com.sa":true,"edu.sa":true,"gov.sa":true,"med.sa":true,"net.sa":true,"org.sa":true,"pub.sa":true,"sch.sa":true,"com.sd":true,"edu.sd":true,"gov.sd":true,"info.sd":true,"med.sd":true,"net.sd":true,"org.sd":true,"tv.sd":true,"a.se":true,"ac.se":true,"b.se":true,"bd.se":true,"c.se":true,"d.se":true,"e.se":true,"f.se":true,"g.se":true,"h.se":true,"i.se":true,"k.se":true,"l.se":true,"m.se":true,"n.se":true,"o.se":true,"org.se":true,"p.se":true,"parti.se":true,"pp.se":true,"press.se":true,"r.se":true,"s.se":true,"t.se":true,"tm.se":true,"u.se":true,"w.se":true,"x.se":true,"y.se":true,"z.se":true,"com.sg":true,"edu.sg":true,"gov.sg":true,"idn.sg":true,"net.sg":true,"org.sg":true,"per.sg":true,"art.sn":true,"com.sn":true,"edu.sn":true,"gouv.sn":true,"org.sn":true,"perso.sn":true,"univ.sn":true,"com.sy":true,"edu.sy":true,"gov.sy":true,"mil.sy":true,"net.sy":true,"news.sy":true,"org.sy":true,"ac.th":true,"co.th":true,"go.th":true,"in.th":true,"mi.th":true,"net.th":true,"or.th":true,"ac.tj":true,"biz.tj":true,"co.tj":true,"com.tj":true,"edu.tj":true,"go.tj":true,"gov.tj":true,"info.tj":true,"int.tj":true,"mil.tj":true,"name.tj":true,"net.tj":true,"nic.tj":true,"org.tj":true,"test.tj":true,"web.tj":true,"agrinet.tn":true,"com.tn":true,"defense.tn":true,"edunet.tn":true,"ens.tn":true,"fin.tn":true,"gov.tn":true,"ind.tn":true,"info.tn":true,"intl.tn":true,"mincom.tn":true,"nat.tn":true,"net.tn":true,"org.tn":true,"perso.tn":true,"rnrt.tn":true,"rns.tn":true,"rnu.tn":true,"tourism.tn":true,"ac.tz":true,"co.tz":true,"go.tz":true,"ne.tz":true,"or.tz":true,"biz.ua":true,"cherkassy.ua":true,"chernigov.ua":true,"chernovtsy.ua":true,"ck.ua":true,"cn.ua":true,"co.ua":true,"com.ua":true,"crimea.ua":true,"cv.ua":true,"dn.ua":true,"dnepropetrovsk.ua":true,"donetsk.ua":true,"dp.ua":true,"edu.ua":true,"gov.ua":true,"if.ua":true,"in.ua":true,"ivano-frankivsk.ua":true,"kh.ua":true,"kharkov.ua":true,"kherson.ua":true,"khmelnitskiy.ua":true,"kiev.ua":true,"kirovograd.ua":true,"km.ua":true,"kr.ua":true,"ks.ua":true,"kv.ua":true,"lg.ua":true,"lugansk.ua":true,"lutsk.ua":true,"lviv.ua":true,"me.ua":true,"mk.ua":true,"net.ua":true,"nikolaev.ua":true,"od.ua":true,"odessa.ua":true,"org.ua":true,"pl.ua":true,"poltava.ua":true,"pp.ua":true,"rovno.ua":true,"rv.ua":true,"sebastopol.ua":true,"sumy.ua":true,"te.ua":true,"ternopil.ua":true,"uzhgorod.ua":true,"vinnica.ua":true,"vn.ua":true,"zaporizhzhe.ua":true,"zhitomir.ua":true,"zp.ua":true,"zt.ua":true,"ac.ug":true,"co.ug":true,"go.ug":true,"ne.ug":true,"or.ug":true,"org.ug":true,"sc.ug":true,"ac.uk":true,"bl.uk":true,"british-library.uk":true,"co.uk":true,"cym.uk":true,"gov.uk":true,"govt.uk":true,"icnet.uk":true,"jet.uk":true,"lea.uk":true,"ltd.uk":true,"me.uk":true,"mil.uk":true,"mod.uk":true,"national-library-scotland.uk":true,"nel.uk":true,"net.uk":true,"nhs.uk":true,"nic.uk":true,"nls.uk":true,"org.uk":true,"orgn.uk":true,"parliament.uk":true,"plc.uk":true,"police.uk":true,"sch.uk":true,"scot.uk":true,"soc.uk":true,"4fd.us":true,"dni.us":true,"fed.us":true,"isa.us":true,"kids.us":true,"nsn.us":true,"com.uy":true,"edu.uy":true,"gub.uy":true,"mil.uy":true,"net.uy":true,"org.uy":true,"co.ve":true,"com.ve":true,"edu.ve":true,"gob.ve":true,"info.ve":true,"mil.ve":true,"net.ve":true,"org.ve":true,"web.ve":true,"co.vi":true,"com.vi":true,"k12.vi":true,"net.vi":true,"org.vi":true,"ac.vn":true,"biz.vn":true,"com.vn":true,"edu.vn":true,"gov.vn":true,"health.vn":true,"info.vn":true,"int.vn":true,"name.vn":true,"net.vn":true,"org.vn":true,"pro.vn":true,"co.ye":true,"com.ye":true,"gov.ye":true,"ltd.ye":true,"me.ye":true,"net.ye":true,"org.ye":true,"plc.ye":true,"ac.yu":true,"co.yu":true,"edu.yu":true,"gov.yu":true,"org.yu":true,"ac.za":true,"agric.za":true,"alt.za":true,"bourse.za":true,"city.za":true,"co.za":true,"cybernet.za":true,"db.za":true,"ecape.school.za":true,"edu.za":true,"fs.school.za":true,"gov.za":true,"gp.school.za":true,"grondar.za":true,"iaccess.za":true,"imt.za":true,"inca.za":true,"kzn.school.za":true,"landesign.za":true,"law.za":true,"lp.school.za":true,"mil.za":true,"mpm.school.za":true,"ncape.school.za":true,"net.za":true,"ngo.za":true,"nis.za":true,"nom.za":true,"nw.school.za":true,"olivetti.za":true,"org.za":true,"pix.za":true,"school.za":true,"tm.za":true,"wcape.school.za":true,"web.za":true,"ac.zm":true,"co.zm":true,"com.zm":true,"edu.zm":true,"gov.zm":true,"net.zm":true,"org.zm":true,"sch.zm":true}')}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}!function(){r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,{a:e}),e}}(),function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){r.p=""}();var n={};return function(){"use strict";if(r.r(n),r.d(n,{decrypt:function(){return E},default:function(){return P},sign:function(){return p},verify:function(){return R}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}r(7658);function i(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function u(t){try{s(n.next(t))}catch(e){o(e)}}function a(t){try{s(n["throw"](t))}catch(e){o(e)}}function s(t){t.done?r(t.value):i(t.value).then(u,a)}s((n=n.apply(t,e||[])).next())}))}function o(t,e){var r,n,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return s([t,e])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(u)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,n=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=e.call(t,u)}catch(a){o=[6,a],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var u=r(4866),a=r.n(u),s=r(1261),f=r.n(s),c=function(t){var e='"expires_in" argument should be a number of milliseconds or a string representing a timespan eg: "1d", "20h", 60';if("string"===typeof t){var r=f()(t);if("undefined"===typeof r)throw new Error(e);return new Date(Date.now()+r)}if("number"===typeof t)return new Date(Date.now()+t);throw new Error(e)},h=r(5801),l=r.n(h);function d(t){try{return new URL(t),!0}catch(e){return!1}}var p=function(t,e){return void 0===e&&(e="1d"),i(void 0,void 0,void 0,(function(){var r,n,i,u,s;return o(this,(function(o){switch(o.label){case 0:return r="string"===typeof e?{expires_in:e}:e,g(r),n=m(r),i=y(n),[4,t(i)];case 1:if(u=o.sent(),"string"!==typeof u)throw new Error('"signer" argument should be a function that returns a signature string (Promise<string>)');return s=a().encode(JSON.stringify({signature:u,body:i})),[2,s]}}))}))},b=function(t){return"string"===typeof t&&!!t.length},g=function(t){for(var e in t)if("string"===typeof t[e]&&/\n/.test(t[e]))throw new Error('"'.concat(e,'" option cannot have LF (\\n)'));if(t.domain&&(!b(t.domain)||!l()(t.domain)))throw new Error("Invalid domain format (must be example.com)");if(void 0!==t.uri&&(!b(t.uri)||!d(t.uri)))throw new Error("Invalid uri format (must be https://example.com/login)");if(void 0!==t.chain_id&&("number"!==typeof t.chain_id||isNaN(t.chain_id)))throw new Error("chain_id must be an int");if(t.expiration_time&&!(t.expiration_time instanceof Date))throw new Error("expiration_time must be an instance of Date");if(t.not_before&&!(t.not_before instanceof Date))throw new Error("not_before must be an instance of Date")},m=function(t){var e,r={web3_token_version:"2"};return r.issued_at=new Date,t.expiration_time&&(r.expiration_time=new Date(t.expiration_time)),t.expires_in&&!t.expiration_time&&(r.expiration_time=c(t.expires_in)),t.expires_in||t.expiration_time||(r.expiration_time=c("1d")),t.not_before&&(r.not_before=new Date(t.not_before)),t.chain_id&&(r.chain_id=parseInt(String(t.chain_id))),!t.uri&&"undefined"!==typeof window&&(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.href)&&(r.uri=window.location.href),t.nonce&&(r.nonce=parseInt(String(99999999*Math.random()))),t.request_id&&(r.request_id=t.request_id),t.domain&&(r.domain=t.domain),t.statement&&(r.statement=t.statement),r},y=function(t){var e=[];t.domain&&(e.push("".concat(t.domain," wants you to sign in with your Ethereum account.")),e.push("")),t.statement&&(e.push(t.statement),e.push(""));var r={URI:t.uri,"Web3 Token Version":t.web3_token_version,"Chain ID":t.chain_id,Nonce:t.nonce,"Issued At":t.issued_at.toISOString(),"Expiration Time":t.expiration_time.toISOString(),"Not Before":t.not_before?t.not_before.toISOString():void 0,"Request ID":t.request_id};for(var n in r)void 0!==r[n]&&e.push("".concat(n,": ").concat(r[n]));return e.join("\n")},v=r(9446),w=r.n(v),_=r(4342),M=r(6263),S=r.n(M),A=function(t){var e=t.match(/Web3[\s-]+Token[\s-]+Version: \d/)[0];return Number(e.replace(" ","").split(":")[1])},E=function(t){var e;if(!t||!t.length)throw new Error("Token required.");var r,n,i=a().decode(t);if(!i||!i.length)throw new Error("Token malformed (must be base64 encoded)");try{e=JSON.parse(i),r=e.body,n=e.signature}catch(p){throw new Error("Token malformed (unparsable JSON)")}if(!r||!r.length)throw new Error("Token malformed (empty message)");if(!n||!n.length)throw new Error("Token malformed (empty signature)");var o=(0,_.toBuffer)("0x"+S()(r)),u=(0,_.hashPersonalMessage)(o),s=(0,_.toBuffer)(n),f=(0,_.fromRpcSig)(s),c=(0,_.ecrecover)(u,f.v,f.r,f.s),h=(0,_.publicToAddress)(c),l=(0,_.bufferToHex)(h).toLowerCase(),d=A(r);return{version:d,address:l,body:r,signature:n}},k=function(t){if(/ wants you to sign in with your Ethereum account\.$/.test(t[0][0]))return t[0][0].replace(" wants you to sign in with your Ethereum account.","").trim()},x=function(t){for(var e=[[]],r=0,n=0,i=t;n<i.length;n++){var o=i[n];e[r].push(o),""===o&&(r++,e.push([]))}return e},O=function(t){if(2===t.length){var e=!!k(t);if(!e)return t[0][0]}else if(3===t.length)return t[1][0]},I=function(t){var e=x(t),r=e[e.length-1].join("\n"),n=w()(r);for(var i in n){var o=i.replace(/ /g,"-");n[o]=n[i],o!==i&&delete n[i]}var u=k(e),a=O(e);if("undefined"!==typeof u&&(n.domain=u),"undefined"!==typeof a&&(n.statement=a),"undefined"===typeof n["issued-at"]||"undefined"===typeof n["expiration-time"]||"undefined"===typeof n["web3-token-version"])throw new Error("Decrypted body is damaged");return n},R=function(t,e){void 0===e&&(e={});var r=E(t),n=r.version,i=r.address,o=r.body;if(1===n)throw new Error("Tokens version 1 are not supported by the current version of module");var u=o.split("\n"),a=I(u);if(new Date(a["expiration-time"])<new Date)throw new Error("Token expired");if(a["not-before"]&&new Date(a["not-before"])>new Date)throw new Error("It's not yet time to use the token");if(e.domain&&e.domain!==a.domain)throw new Error("Inappropriate token domain");return{address:i,body:a}},j={sign:p,decrypt:E,verify:R},B=j,P=B}(),n}()}));
|
18
|
+
//# sourceMappingURL=web3-token.umd.min.js.map
|