@zeniai/web-cockpit-ui 2.0.34-dev → 2.0.35-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/CreditAgentRoutes-CZ-C1wzQ.js +4 -0
- package/dist/assets/Preview-CAmOkbjw.js +1 -0
- package/dist/assets/ScreenRoutes-yvbp_Lbz.js +180 -0
- package/dist/assets/SignInScreen-DIqNMUI1.js +1 -0
- package/dist/assets/analytics-BfH6x-bh.js +68 -0
- package/dist/assets/analyticsHelper-DpKWIfA_.js +1 -0
- package/dist/assets/core-BMXdW52V.js +12 -0
- package/dist/assets/dash.all.min-BNMSYYE9.js +21 -0
- package/dist/assets/empty-CMgD5T-3.js +1 -0
- package/dist/assets/empty-CURC4K9t.js +1 -0
- package/dist/assets/epic-0u3weRPq.js +2 -0
- package/dist/assets/favicon-D56XvgAH.ico +0 -0
- package/dist/assets/hls-DifHSkbp.js +40 -0
- package/dist/assets/index-BIPrynO9.js +79830 -0
- package/dist/assets/index-BcCMwDMT.js +1 -0
- package/dist/assets/index-CY8CEYeK.js +3304 -0
- package/dist/assets/index-D9Zhqjkb.js +2 -0
- package/dist/assets/index-DSJ2w1jZ.js +1 -0
- package/dist/assets/index-OG0h_gMR.js +1 -0
- package/dist/assets/index-sjMkGJDk.js +1 -0
- package/dist/assets/index-y98xvd7i.css +1 -0
- package/dist/assets/lexical-Cj6VOpGX.js +21 -0
- package/dist/assets/liveblocks-BQqAIDc5.js +54 -0
- package/dist/assets/lottie-qwRZdbTy.js +2 -0
- package/dist/assets/mixin-BPAPQfSE.js +43 -0
- package/dist/assets/mui-BQBCqqWF.js +9 -0
- package/dist/assets/react-BFtEL_0u.js +34 -0
- package/dist/assets/react-BfNEEjJ_.js +19 -0
- package/dist/assets/react-C83wXUqV.js +6 -0
- package/dist/assets/react-C8sJgD0w.js +22 -0
- package/dist/assets/react-Cu6ubvAK.js +7 -0
- package/dist/assets/react-DZq71Z0g.js +19 -0
- package/dist/assets/react-hF-9mrjI.js +21 -0
- package/dist/assets/react-jnSxQgdS.js +17 -0
- package/dist/assets/recharts-BZRqFQc_.js +65 -0
- package/dist/assets/sentry-B9T9CHF5.js +500 -0
- package/dist/assets/url-BEGh4GqD.js +1 -0
- package/dist/assets/url-BMK-Vtzl.js +6 -0
- package/dist/assets/utils-Fih0Jz-h.js +36 -0
- package/dist/assets/zeni-epic-state-DSTkpZye.js +13 -0
- package/dist/index.html +1 -0
- package/dist/robots.txt +3 -0
- package/dist/service-worker.js +160 -0
- package/package.json +4 -4
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{e as commonjsGlobal,p as process$1}from"./sentry-B9T9CHF5.js";import{H as Buffer,p as isSymbol,I as baseToString,D as toInteger,W as WeakMap$1,q as identity,J as baseCreate,c as isObject,r as root,K as noop,L as copyArray,a as isObjectLike,i as isArray,M as shortOut,N as arrayEach,O as arrayIncludes,P as setToString,Q as isIndex,R as apply,S as createAssigner,T as isPrototype,U as isArrayLike,V as copyObject,X as keys,Y as assignValue,Z as keysIn,g as get$1,_ as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,$ as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a0 as baseSlice,a1 as baseClone,a2 as arrayPush,n as baseFlatten,a3 as arrayMap,j as baseIteratee,z as baseEach,a4 as baseAssign,a5 as eq,a6 as isBuffer,a7 as isTypedArray$2,a8 as isArrayLikeObject,a9 as cloneBuffer,aa as cloneTypedArray,ab as isArguments$1,d as isFunction,ac as initCloneObject,ad as baseFor,ae as Stack,w as last,af as baseDifference,ag as createBaseFor,ah as createBaseEach,ai as getTag,aj as mapToArray,ak as arrayFilter,B as baseForOwn,al as map,y as toFinite,am as values,an as baseIndexOf,ao as baseUnary,ap as SetCache,aq as cacheHas,ar as arrayIncludesWith,as as constant,at as castPath,au as parent,av as nodeUtil,aw as baseIsEqual,ax as baseIsMatch,ay as getMatchData,az as coreJsData,aA as stubFalse,aB as baseIsNative,E as baseFindIndex,aC as baseIsNaN,aD as baseMatches,aE as baseMatchesProperty,s as stringToArray,aF as Symbol$1,aG as setToArray,aH as baseGet,aI as getAllKeysIn,A as arraySome,aJ as baseProperty,h as hasUnicode,e as castSlice,aK as hasIn,aL as baseUnset,aM as compareAscending,aN as baseKeys,aO as assignWith,aP as baseValues,aQ as baseTimes,aR as stringToPath,aS as getPrototype,aT as baseTrim,aU as charsEndIndex,f as baseUniq,aV as difference,aW as differenceBy,aX as flatten,aY as uniq,aZ as findLastIndex,u as flatMap,a_ as orderBy,a$ as findLast,G as memoize,b0 as cloneDeep,b1 as isEmpty,v as isEqual,b2 as isLength,b3 as isMap,b4 as isSet,b5 as omit,b6 as has,b7 as trimEnd,b8 as property,b9 as stubArray}from"./zeni-epic-state-DSTkpZye.js";import{u as upperFirst,b as baseGt,i as isString,a as createCaseFirst,e as baseLt,f as baseSum,g as arrayEvery,h as createRange,j as uniqBy,k as findIndex,l as head,s as sortBy,m as every,n as find,o as some,p as now,d as debounce,t as throttle,q as isBoolean,r as isNaN$1,v as isNil,w as isNumber,x as max$1,y as maxBy,z as min$1,A as minBy,B as sumBy,C as mapValues,D as range$1}from"./recharts-BZRqFQc_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4ee8aa36-3559-400b-a4be-51d6a299a278",e._sentryDebugIdIdentifier="sentry-dbid-4ee8aa36-3559-400b-a4be-51d6a299a278")}catch{}})();var cryptoJs$1={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$b={exports:{}},safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r={},n={};n.byteLength=t,n.toByteArray=c,n.fromByteArray=v;for(var a=[],h=[],i=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=d.length;s<f;++s)a[s]=d[s],h[d.charCodeAt(s)]=s;h[45]=62,h[95]=63;function o(x){var _=x.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=x.indexOf("=");m===-1&&(m=_);var q=m===_?0:4-m%4;return[m,q]}function t(x){var _=o(x),m=_[0],q=_[1];return(m+q)*3/4-q}function u(x,_,m){return(_+m)*3/4-m}function c(x){var _,m=o(x),q=m[0],I=m[1],O=new i(u(x,q,I)),j=0,z=I>0?q-4:q,W;for(W=0;W<z;W+=4)_=h[x.charCodeAt(W)]<<18|h[x.charCodeAt(W+1)]<<12|h[x.charCodeAt(W+2)]<<6|h[x.charCodeAt(W+3)],O[j++]=_>>16&255,O[j++]=_>>8&255,O[j++]=_&255;return I===2&&(_=h[x.charCodeAt(W)]<<2|h[x.charCodeAt(W+1)]>>4,O[j++]=_&255),I===1&&(_=h[x.charCodeAt(W)]<<10|h[x.charCodeAt(W+1)]<<4|h[x.charCodeAt(W+2)]>>2,O[j++]=_>>8&255,O[j++]=_&255),O}function l(x){return a[x>>18&63]+a[x>>12&63]+a[x>>6&63]+a[x&63]}function p(x,_,m){for(var q,I=[],O=_;O<m;O+=3)q=(x[O]<<16&16711680)+(x[O+1]<<8&65280)+(x[O+2]&255),I.push(l(q));return I.join("")}function v(x){for(var _,m=x.length,q=m%3,I=[],O=16383,j=0,z=m-q;j<z;j+=O)I.push(p(x,j,j+O>z?z:j+O));return q===1?(_=x[m-1],I.push(a[_>>2]+a[_<<4&63]+"==")):q===2&&(_=(x[m-2]<<8)+x[m-1],I.push(a[_>>10]+a[_>>4&63]+a[_<<2&63]+"=")),I.join("")}var y={};y.read=function(x,_,m,q,I){var O,j,z=I*8-q-1,W=(1<<z)-1,X=W>>1,M=-7,S=m?I-1:0,b=m?-1:1,A=x[_+S];for(S+=b,O=A&(1<<-M)-1,A>>=-M,M+=z;M>0;O=O*256+x[_+S],S+=b,M-=8);for(j=O&(1<<-M)-1,O>>=-M,M+=q;M>0;j=j*256+x[_+S],S+=b,M-=8);if(O===0)O=1-X;else{if(O===W)return j?NaN:(A?-1:1)*(1/0);j=j+Math.pow(2,q),O=O-X}return(A?-1:1)*j*Math.pow(2,O-q)},y.write=function(x,_,m,q,I,O){var j,z,W,X=O*8-I-1,M=(1<<X)-1,S=M>>1,b=I===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=q?0:O-1,C=q?1:-1,E=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===1/0?(z=isNaN(_)?1:0,j=M):(j=Math.floor(Math.log(_)/Math.LN2),_*(W=Math.pow(2,-j))<1&&(j--,W*=2),j+S>=1?_+=b/W:_+=b*Math.pow(2,1-S),_*W>=2&&(j++,W/=2),j+S>=M?(z=0,j=M):j+S>=1?(z=(_*W-1)*Math.pow(2,I),j=j+S):(z=_*Math.pow(2,S-1)*Math.pow(2,I),j=0));I>=8;x[m+A]=z&255,A+=C,z/=256,I-=8);for(j=j<<I|z,X+=I;X>0;x[m+A]=j&255,A+=C,j/=256,X-=8);x[m+A-C]|=E*128};(function(x){const _=n,m=y,q=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;x.Buffer=M,x.SlowBuffer=$,x.INSPECT_MAX_BYTES=50;const I=2147483647;x.kMaxLength=I;const{Uint8Array:O,ArrayBuffer:j,SharedArrayBuffer:z}=globalThis;M.TYPED_ARRAY_SUPPORT=W(),!M.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.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.");function W(){try{const N=new O(1),B={foo:function(){return 42}};return Object.setPrototypeOf(B,O.prototype),Object.setPrototypeOf(N,B),N.foo()===42}catch{return!1}}Object.defineProperty(M.prototype,"parent",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.buffer}}),Object.defineProperty(M.prototype,"offset",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.byteOffset}});function X(N){if(N>I)throw new RangeError('The value "'+N+'" is invalid for option "size"');const B=new O(N);return Object.setPrototypeOf(B,M.prototype),B}function M(N,B,R){if(typeof N=="number"){if(typeof B=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return C(N)}return S(N,B,R)}M.poolSize=8192;function S(N,B,R){if(typeof N=="string")return E(N,B);if(j.isView(N))return k(N);if(N==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof N);if(ke(N,j)||N&&ke(N.buffer,j)||typeof z<"u"&&(ke(N,z)||N&&ke(N.buffer,z)))return K(N,B,R);if(typeof N=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const G=N.valueOf&&N.valueOf();if(G!=null&&G!==N)return M.from(G,B,R);const Z=P(N);if(Z)return Z;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof N[Symbol.toPrimitive]=="function")return M.from(N[Symbol.toPrimitive]("string"),B,R);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof N)}M.from=function(N,B,R){return S(N,B,R)},Object.setPrototypeOf(M.prototype,O.prototype),Object.setPrototypeOf(M,O);function b(N){if(typeof N!="number")throw new TypeError('"size" argument must be of type number');if(N<0)throw new RangeError('The value "'+N+'" is invalid for option "size"')}function A(N,B,R){return b(N),N<=0?X(N):B!==void 0?typeof R=="string"?X(N).fill(B,R):X(N).fill(B):X(N)}M.alloc=function(N,B,R){return A(N,B,R)};function C(N){return b(N),X(N<0?0:w(N)|0)}M.allocUnsafe=function(N){return C(N)},M.allocUnsafeSlow=function(N){return C(N)};function E(N,B){if((typeof B!="string"||B==="")&&(B="utf8"),!M.isEncoding(B))throw new TypeError("Unknown encoding: "+B);const R=H(N,B)|0;let G=X(R);const Z=G.write(N,B);return Z!==R&&(G=G.slice(0,Z)),G}function F(N){const B=N.length<0?0:w(N.length)|0,R=X(B);for(let G=0;G<B;G+=1)R[G]=N[G]&255;return R}function k(N){if(ke(N,O)){const B=new O(N);return K(B.buffer,B.byteOffset,B.byteLength)}return F(N)}function K(N,B,R){if(B<0||N.byteLength<B)throw new RangeError('"offset" is outside of buffer bounds');if(N.byteLength<B+(R||0))throw new RangeError('"length" is outside of buffer bounds');let G;return B===void 0&&R===void 0?G=new O(N):R===void 0?G=new O(N,B):G=new O(N,B,R),Object.setPrototypeOf(G,M.prototype),G}function P(N){if(M.isBuffer(N)){const B=w(N.length)|0,R=X(B);return R.length===0||N.copy(R,0,0,B),R}if(N.length!==void 0)return typeof N.length!="number"||Re(N.length)?X(0):F(N);if(N.type==="Buffer"&&Array.isArray(N.data))return F(N.data)}function w(N){if(N>=I)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+I.toString(16)+" bytes");return N|0}function $(N){return+N!=N&&(N=0),M.alloc(+N)}M.isBuffer=function(B){return B!=null&&B._isBuffer===!0&&B!==M.prototype},M.compare=function(B,R){if(ke(B,O)&&(B=M.from(B,B.offset,B.byteLength)),ke(R,O)&&(R=M.from(R,R.offset,R.byteLength)),!M.isBuffer(B)||!M.isBuffer(R))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(B===R)return 0;let G=B.length,Z=R.length;for(let re=0,te=Math.min(G,Z);re<te;++re)if(B[re]!==R[re]){G=B[re],Z=R[re];break}return G<Z?-1:Z<G?1:0},M.isEncoding=function(B){switch(String(B).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}},M.concat=function(B,R){if(!Array.isArray(B))throw new TypeError('"list" argument must be an Array of Buffers');if(B.length===0)return M.alloc(0);let G;if(R===void 0)for(R=0,G=0;G<B.length;++G)R+=B[G].length;const Z=M.allocUnsafe(R);let re=0;for(G=0;G<B.length;++G){let te=B[G];if(ke(te,O))re+te.length>Z.length?(M.isBuffer(te)||(te=M.from(te)),te.copy(Z,re)):O.prototype.set.call(Z,te,re);else if(M.isBuffer(te))te.copy(Z,re);else throw new TypeError('"list" argument must be an Array of Buffers');re+=te.length}return Z};function H(N,B){if(M.isBuffer(N))return N.length;if(j.isView(N)||ke(N,j))return N.byteLength;if(typeof N!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof N);const R=N.length,G=arguments.length>2&&arguments[2]===!0;if(!G&&R===0)return 0;let Z=!1;for(;;)switch(B){case"ascii":case"latin1":case"binary":return R;case"utf8":case"utf-8":return Ee(N).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R*2;case"hex":return R>>>1;case"base64":return qe(N).length;default:if(Z)return G?-1:Ee(N).length;B=(""+B).toLowerCase(),Z=!0}}M.byteLength=H;function J(N,B,R){let G=!1;if((B===void 0||B<0)&&(B=0),B>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0,B>>>=0,R<=B))return"";for(N||(N="utf8");;)switch(N){case"hex":return le(this,B,R);case"utf8":case"utf-8":return oe(this,B,R);case"ascii":return de(this,B,R);case"latin1":case"binary":return ne(this,B,R);case"base64":return ie(this,B,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,B,R);default:if(G)throw new TypeError("Unknown encoding: "+N);N=(N+"").toLowerCase(),G=!0}}M.prototype._isBuffer=!0;function V(N,B,R){const G=N[B];N[B]=N[R],N[R]=G}M.prototype.swap16=function(){const B=this.length;if(B%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let R=0;R<B;R+=2)V(this,R,R+1);return this},M.prototype.swap32=function(){const B=this.length;if(B%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let R=0;R<B;R+=4)V(this,R,R+3),V(this,R+1,R+2);return this},M.prototype.swap64=function(){const B=this.length;if(B%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let R=0;R<B;R+=8)V(this,R,R+7),V(this,R+1,R+6),V(this,R+2,R+5),V(this,R+3,R+4);return this},M.prototype.toString=function(){const B=this.length;return B===0?"":arguments.length===0?oe(this,0,B):J.apply(this,arguments)},M.prototype.toLocaleString=M.prototype.toString,M.prototype.equals=function(B){if(!M.isBuffer(B))throw new TypeError("Argument must be a Buffer");return this===B?!0:M.compare(this,B)===0},M.prototype.inspect=function(){let B="";const R=x.INSPECT_MAX_BYTES;return B=this.toString("hex",0,R).replace(/(.{2})/g,"$1 ").trim(),this.length>R&&(B+=" ... "),"<Buffer "+B+">"},q&&(M.prototype[q]=M.prototype.inspect),M.prototype.compare=function(B,R,G,Z,re){if(ke(B,O)&&(B=M.from(B,B.offset,B.byteLength)),!M.isBuffer(B))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof B);if(R===void 0&&(R=0),G===void 0&&(G=B?B.length:0),Z===void 0&&(Z=0),re===void 0&&(re=this.length),R<0||G>B.length||Z<0||re>this.length)throw new RangeError("out of range index");if(Z>=re&&R>=G)return 0;if(Z>=re)return-1;if(R>=G)return 1;if(R>>>=0,G>>>=0,Z>>>=0,re>>>=0,this===B)return 0;let te=re-Z,ye=G-R;const be=Math.min(te,ye),ve=this.slice(Z,re),$e=B.slice(R,G);for(let pe=0;pe<be;++pe)if(ve[pe]!==$e[pe]){te=ve[pe],ye=$e[pe];break}return te<ye?-1:ye<te?1:0};function D(N,B,R,G,Z){if(N.length===0)return-1;if(typeof R=="string"?(G=R,R=0):R>2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),R=+R,Re(R)&&(R=Z?0:N.length-1),R<0&&(R=N.length+R),R>=N.length){if(Z)return-1;R=N.length-1}else if(R<0)if(Z)R=0;else return-1;if(typeof B=="string"&&(B=M.from(B,G)),M.isBuffer(B))return B.length===0?-1:T(N,B,R,G,Z);if(typeof B=="number")return B=B&255,typeof O.prototype.indexOf=="function"?Z?O.prototype.indexOf.call(N,B,R):O.prototype.lastIndexOf.call(N,B,R):T(N,[B],R,G,Z);throw new TypeError("val must be string, number or Buffer")}function T(N,B,R,G,Z){let re=1,te=N.length,ye=B.length;if(G!==void 0&&(G=String(G).toLowerCase(),G==="ucs2"||G==="ucs-2"||G==="utf16le"||G==="utf-16le")){if(N.length<2||B.length<2)return-1;re=2,te/=2,ye/=2,R/=2}function be($e,pe){return re===1?$e[pe]:$e.readUInt16BE(pe*re)}let ve;if(Z){let $e=-1;for(ve=R;ve<te;ve++)if(be(N,ve)===be(B,$e===-1?0:ve-$e)){if($e===-1&&($e=ve),ve-$e+1===ye)return $e*re}else $e!==-1&&(ve-=ve-$e),$e=-1}else for(R+ye>te&&(R=te-ye),ve=R;ve>=0;ve--){let $e=!0;for(let pe=0;pe<ye;pe++)if(be(N,ve+pe)!==be(B,pe)){$e=!1;break}if($e)return ve}return-1}M.prototype.includes=function(B,R,G){return this.indexOf(B,R,G)!==-1},M.prototype.indexOf=function(B,R,G){return D(this,B,R,G,!0)},M.prototype.lastIndexOf=function(B,R,G){return D(this,B,R,G,!1)};function Y(N,B,R,G){R=Number(R)||0;const Z=N.length-R;G?(G=Number(G),G>Z&&(G=Z)):G=Z;const re=B.length;G>re/2&&(G=re/2);let te;for(te=0;te<G;++te){const ye=parseInt(B.substr(te*2,2),16);if(Re(ye))return te;N[R+te]=ye}return te}function Q(N,B,R,G){return Ae(Ee(B,N.length-R),N,R,G)}function U(N,B,R,G){return Ae(Fe(B),N,R,G)}function L(N,B,R,G){return Ae(qe(B),N,R,G)}function ee(N,B,R,G){return Ae(We(B,N.length-R),N,R,G)}M.prototype.write=function(B,R,G,Z){if(R===void 0)Z="utf8",G=this.length,R=0;else if(G===void 0&&typeof R=="string")Z=R,G=this.length,R=0;else if(isFinite(R))R=R>>>0,isFinite(G)?(G=G>>>0,Z===void 0&&(Z="utf8")):(Z=G,G=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const re=this.length-R;if((G===void 0||G>re)&&(G=re),B.length>0&&(G<0||R<0)||R>this.length)throw new RangeError("Attempt to write outside buffer bounds");Z||(Z="utf8");let te=!1;for(;;)switch(Z){case"hex":return Y(this,B,R,G);case"utf8":case"utf-8":return Q(this,B,R,G);case"ascii":case"latin1":case"binary":return U(this,B,R,G);case"base64":return L(this,B,R,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,B,R,G);default:if(te)throw new TypeError("Unknown encoding: "+Z);Z=(""+Z).toLowerCase(),te=!0}},M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ie(N,B,R){return B===0&&R===N.length?_.fromByteArray(N):_.fromByteArray(N.slice(B,R))}function oe(N,B,R){R=Math.min(N.length,R);const G=[];let Z=B;for(;Z<R;){const re=N[Z];let te=null,ye=re>239?4:re>223?3:re>191?2:1;if(Z+ye<=R){let be,ve,$e,pe;switch(ye){case 1:re<128&&(te=re);break;case 2:be=N[Z+1],(be&192)===128&&(pe=(re&31)<<6|be&63,pe>127&&(te=pe));break;case 3:be=N[Z+1],ve=N[Z+2],(be&192)===128&&(ve&192)===128&&(pe=(re&15)<<12|(be&63)<<6|ve&63,pe>2047&&(pe<55296||pe>57343)&&(te=pe));break;case 4:be=N[Z+1],ve=N[Z+2],$e=N[Z+3],(be&192)===128&&(ve&192)===128&&($e&192)===128&&(pe=(re&15)<<18|(be&63)<<12|(ve&63)<<6|$e&63,pe>65535&&pe<1114112&&(te=pe))}}te===null?(te=65533,ye=1):te>65535&&(te-=65536,G.push(te>>>10&1023|55296),te=56320|te&1023),G.push(te),Z+=ye}return fe(G)}const ae=4096;function fe(N){const B=N.length;if(B<=ae)return String.fromCharCode.apply(String,N);let R="",G=0;for(;G<B;)R+=String.fromCharCode.apply(String,N.slice(G,G+=ae));return R}function de(N,B,R){let G="";R=Math.min(N.length,R);for(let Z=B;Z<R;++Z)G+=String.fromCharCode(N[Z]&127);return G}function ne(N,B,R){let G="";R=Math.min(N.length,R);for(let Z=B;Z<R;++Z)G+=String.fromCharCode(N[Z]);return G}function le(N,B,R){const G=N.length;(!B||B<0)&&(B=0),(!R||R<0||R>G)&&(R=G);let Z="";for(let re=B;re<R;++re)Z+=Ie[N[re]];return Z}function se(N,B,R){const G=N.slice(B,R);let Z="";for(let re=0;re<G.length-1;re+=2)Z+=String.fromCharCode(G[re]+G[re+1]*256);return Z}M.prototype.slice=function(B,R){const G=this.length;B=~~B,R=R===void 0?G:~~R,B<0?(B+=G,B<0&&(B=0)):B>G&&(B=G),R<0?(R+=G,R<0&&(R=0)):R>G&&(R=G),R<B&&(R=B);const Z=this.subarray(B,R);return Object.setPrototypeOf(Z,M.prototype),Z};function ce(N,B,R){if(N%1!==0||N<0)throw new RangeError("offset is not uint");if(N+B>R)throw new RangeError("Trying to access beyond buffer length")}M.prototype.readUintLE=M.prototype.readUIntLE=function(B,R,G){B=B>>>0,R=R>>>0,G||ce(B,R,this.length);let Z=this[B],re=1,te=0;for(;++te<R&&(re*=256);)Z+=this[B+te]*re;return Z},M.prototype.readUintBE=M.prototype.readUIntBE=function(B,R,G){B=B>>>0,R=R>>>0,G||ce(B,R,this.length);let Z=this[B+--R],re=1;for(;R>0&&(re*=256);)Z+=this[B+--R]*re;return Z},M.prototype.readUint8=M.prototype.readUInt8=function(B,R){return B=B>>>0,R||ce(B,1,this.length),this[B]},M.prototype.readUint16LE=M.prototype.readUInt16LE=function(B,R){return B=B>>>0,R||ce(B,2,this.length),this[B]|this[B+1]<<8},M.prototype.readUint16BE=M.prototype.readUInt16BE=function(B,R){return B=B>>>0,R||ce(B,2,this.length),this[B]<<8|this[B+1]},M.prototype.readUint32LE=M.prototype.readUInt32LE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),(this[B]|this[B+1]<<8|this[B+2]<<16)+this[B+3]*16777216},M.prototype.readUint32BE=M.prototype.readUInt32BE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),this[B]*16777216+(this[B+1]<<16|this[B+2]<<8|this[B+3])},M.prototype.readBigUInt64LE=Ne(function(B){B=B>>>0,je(B,"offset");const R=this[B],G=this[B+7];(R===void 0||G===void 0)&&me(B,this.length-8);const Z=R+this[++B]*2**8+this[++B]*2**16+this[++B]*2**24,re=this[++B]+this[++B]*2**8+this[++B]*2**16+G*2**24;return BigInt(Z)+(BigInt(re)<<BigInt(32))}),M.prototype.readBigUInt64BE=Ne(function(B){B=B>>>0,je(B,"offset");const R=this[B],G=this[B+7];(R===void 0||G===void 0)&&me(B,this.length-8);const Z=R*2**24+this[++B]*2**16+this[++B]*2**8+this[++B],re=this[++B]*2**24+this[++B]*2**16+this[++B]*2**8+G;return(BigInt(Z)<<BigInt(32))+BigInt(re)}),M.prototype.readIntLE=function(B,R,G){B=B>>>0,R=R>>>0,G||ce(B,R,this.length);let Z=this[B],re=1,te=0;for(;++te<R&&(re*=256);)Z+=this[B+te]*re;return re*=128,Z>=re&&(Z-=Math.pow(2,8*R)),Z},M.prototype.readIntBE=function(B,R,G){B=B>>>0,R=R>>>0,G||ce(B,R,this.length);let Z=R,re=1,te=this[B+--Z];for(;Z>0&&(re*=256);)te+=this[B+--Z]*re;return re*=128,te>=re&&(te-=Math.pow(2,8*R)),te},M.prototype.readInt8=function(B,R){return B=B>>>0,R||ce(B,1,this.length),this[B]&128?(255-this[B]+1)*-1:this[B]},M.prototype.readInt16LE=function(B,R){B=B>>>0,R||ce(B,2,this.length);const G=this[B]|this[B+1]<<8;return G&32768?G|4294901760:G},M.prototype.readInt16BE=function(B,R){B=B>>>0,R||ce(B,2,this.length);const G=this[B+1]|this[B]<<8;return G&32768?G|4294901760:G},M.prototype.readInt32LE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),this[B]|this[B+1]<<8|this[B+2]<<16|this[B+3]<<24},M.prototype.readInt32BE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),this[B]<<24|this[B+1]<<16|this[B+2]<<8|this[B+3]},M.prototype.readBigInt64LE=Ne(function(B){B=B>>>0,je(B,"offset");const R=this[B],G=this[B+7];(R===void 0||G===void 0)&&me(B,this.length-8);const Z=this[B+4]+this[B+5]*2**8+this[B+6]*2**16+(G<<24);return(BigInt(Z)<<BigInt(32))+BigInt(R+this[++B]*2**8+this[++B]*2**16+this[++B]*2**24)}),M.prototype.readBigInt64BE=Ne(function(B){B=B>>>0,je(B,"offset");const R=this[B],G=this[B+7];(R===void 0||G===void 0)&&me(B,this.length-8);const Z=(R<<24)+this[++B]*2**16+this[++B]*2**8+this[++B];return(BigInt(Z)<<BigInt(32))+BigInt(this[++B]*2**24+this[++B]*2**16+this[++B]*2**8+G)}),M.prototype.readFloatLE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),m.read(this,B,!0,23,4)},M.prototype.readFloatBE=function(B,R){return B=B>>>0,R||ce(B,4,this.length),m.read(this,B,!1,23,4)},M.prototype.readDoubleLE=function(B,R){return B=B>>>0,R||ce(B,8,this.length),m.read(this,B,!0,52,8)},M.prototype.readDoubleBE=function(B,R){return B=B>>>0,R||ce(B,8,this.length),m.read(this,B,!1,52,8)};function ue(N,B,R,G,Z,re){if(!M.isBuffer(N))throw new TypeError('"buffer" argument must be a Buffer instance');if(B>Z||B<re)throw new RangeError('"value" argument is out of bounds');if(R+G>N.length)throw new RangeError("Index out of range")}M.prototype.writeUintLE=M.prototype.writeUIntLE=function(B,R,G,Z){if(B=+B,R=R>>>0,G=G>>>0,!Z){const ye=Math.pow(2,8*G)-1;ue(this,B,R,G,ye,0)}let re=1,te=0;for(this[R]=B&255;++te<G&&(re*=256);)this[R+te]=B/re&255;return R+G},M.prototype.writeUintBE=M.prototype.writeUIntBE=function(B,R,G,Z){if(B=+B,R=R>>>0,G=G>>>0,!Z){const ye=Math.pow(2,8*G)-1;ue(this,B,R,G,ye,0)}let re=G-1,te=1;for(this[R+re]=B&255;--re>=0&&(te*=256);)this[R+re]=B/te&255;return R+G},M.prototype.writeUint8=M.prototype.writeUInt8=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,1,255,0),this[R]=B&255,R+1},M.prototype.writeUint16LE=M.prototype.writeUInt16LE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,2,65535,0),this[R]=B&255,this[R+1]=B>>>8,R+2},M.prototype.writeUint16BE=M.prototype.writeUInt16BE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,2,65535,0),this[R]=B>>>8,this[R+1]=B&255,R+2},M.prototype.writeUint32LE=M.prototype.writeUInt32LE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,4,4294967295,0),this[R+3]=B>>>24,this[R+2]=B>>>16,this[R+1]=B>>>8,this[R]=B&255,R+4},M.prototype.writeUint32BE=M.prototype.writeUInt32BE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,4,4294967295,0),this[R]=B>>>24,this[R+1]=B>>>16,this[R+2]=B>>>8,this[R+3]=B&255,R+4};function he(N,B,R,G,Z){Se(B,G,Z,N,R,7);let re=Number(B&BigInt(4294967295));N[R++]=re,re=re>>8,N[R++]=re,re=re>>8,N[R++]=re,re=re>>8,N[R++]=re;let te=Number(B>>BigInt(32)&BigInt(4294967295));return N[R++]=te,te=te>>8,N[R++]=te,te=te>>8,N[R++]=te,te=te>>8,N[R++]=te,R}function Me(N,B,R,G,Z){Se(B,G,Z,N,R,7);let re=Number(B&BigInt(4294967295));N[R+7]=re,re=re>>8,N[R+6]=re,re=re>>8,N[R+5]=re,re=re>>8,N[R+4]=re;let te=Number(B>>BigInt(32)&BigInt(4294967295));return N[R+3]=te,te=te>>8,N[R+2]=te,te=te>>8,N[R+1]=te,te=te>>8,N[R]=te,R+8}M.prototype.writeBigUInt64LE=Ne(function(B,R=0){return he(this,B,R,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeBigUInt64BE=Ne(function(B,R=0){return Me(this,B,R,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeIntLE=function(B,R,G,Z){if(B=+B,R=R>>>0,!Z){const be=Math.pow(2,8*G-1);ue(this,B,R,G,be-1,-be)}let re=0,te=1,ye=0;for(this[R]=B&255;++re<G&&(te*=256);)B<0&&ye===0&&this[R+re-1]!==0&&(ye=1),this[R+re]=(B/te>>0)-ye&255;return R+G},M.prototype.writeIntBE=function(B,R,G,Z){if(B=+B,R=R>>>0,!Z){const be=Math.pow(2,8*G-1);ue(this,B,R,G,be-1,-be)}let re=G-1,te=1,ye=0;for(this[R+re]=B&255;--re>=0&&(te*=256);)B<0&&ye===0&&this[R+re+1]!==0&&(ye=1),this[R+re]=(B/te>>0)-ye&255;return R+G},M.prototype.writeInt8=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,1,127,-128),B<0&&(B=255+B+1),this[R]=B&255,R+1},M.prototype.writeInt16LE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,2,32767,-32768),this[R]=B&255,this[R+1]=B>>>8,R+2},M.prototype.writeInt16BE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,2,32767,-32768),this[R]=B>>>8,this[R+1]=B&255,R+2},M.prototype.writeInt32LE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,4,2147483647,-2147483648),this[R]=B&255,this[R+1]=B>>>8,this[R+2]=B>>>16,this[R+3]=B>>>24,R+4},M.prototype.writeInt32BE=function(B,R,G){return B=+B,R=R>>>0,G||ue(this,B,R,4,2147483647,-2147483648),B<0&&(B=4294967295+B+1),this[R]=B>>>24,this[R+1]=B>>>16,this[R+2]=B>>>8,this[R+3]=B&255,R+4},M.prototype.writeBigInt64LE=Ne(function(B,R=0){return he(this,B,R,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),M.prototype.writeBigInt64BE=Ne(function(B,R=0){return Me(this,B,R,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(N,B,R,G,Z,re){if(R+G>N.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function ge(N,B,R,G,Z){return B=+B,R=R>>>0,Z||xe(N,B,R,4),m.write(N,B,R,G,23,4),R+4}M.prototype.writeFloatLE=function(B,R,G){return ge(this,B,R,!0,G)},M.prototype.writeFloatBE=function(B,R,G){return ge(this,B,R,!1,G)};function Le(N,B,R,G,Z){return B=+B,R=R>>>0,Z||xe(N,B,R,8),m.write(N,B,R,G,52,8),R+8}M.prototype.writeDoubleLE=function(B,R,G){return Le(this,B,R,!0,G)},M.prototype.writeDoubleBE=function(B,R,G){return Le(this,B,R,!1,G)},M.prototype.copy=function(B,R,G,Z){if(!M.isBuffer(B))throw new TypeError("argument should be a Buffer");if(G||(G=0),!Z&&Z!==0&&(Z=this.length),R>=B.length&&(R=B.length),R||(R=0),Z>0&&Z<G&&(Z=G),Z===G||B.length===0||this.length===0)return 0;if(R<0)throw new RangeError("targetStart out of bounds");if(G<0||G>=this.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("sourceEnd out of bounds");Z>this.length&&(Z=this.length),B.length-R<Z-G&&(Z=B.length-R+G);const re=Z-G;return this===B&&typeof O.prototype.copyWithin=="function"?this.copyWithin(R,G,Z):O.prototype.set.call(B,this.subarray(G,Z),R),re},M.prototype.fill=function(B,R,G,Z){if(typeof B=="string"){if(typeof R=="string"?(Z=R,R=0,G=this.length):typeof G=="string"&&(Z=G,G=this.length),Z!==void 0&&typeof Z!="string")throw new TypeError("encoding must be a string");if(typeof Z=="string"&&!M.isEncoding(Z))throw new TypeError("Unknown encoding: "+Z);if(B.length===1){const te=B.charCodeAt(0);(Z==="utf8"&&te<128||Z==="latin1")&&(B=te)}}else typeof B=="number"?B=B&255:typeof B=="boolean"&&(B=Number(B));if(R<0||this.length<R||this.length<G)throw new RangeError("Out of range index");if(G<=R)return this;R=R>>>0,G=G===void 0?this.length:G>>>0,B||(B=0);let re;if(typeof B=="number")for(re=R;re<G;++re)this[re]=B;else{const te=M.isBuffer(B)?B:M.from(B,Z),ye=te.length;if(ye===0)throw new TypeError('The value "'+B+'" is invalid for argument "value"');for(re=0;re<G-R;++re)this[re+R]=te[re%ye]}return this};const _e={};function Be(N,B,R){_e[N]=class extends R{constructor(){super(),Object.defineProperty(this,"message",{value:B.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${N}]`,this.stack,delete this.name}get code(){return N}set code(Z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Z,writable:!0})}toString(){return`${this.name} [${N}]: ${this.message}`}}}Be("ERR_BUFFER_OUT_OF_BOUNDS",function(N){return N?`${N} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Be("ERR_INVALID_ARG_TYPE",function(N,B){return`The "${N}" argument must be of type number. Received type ${typeof B}`},TypeError),Be("ERR_OUT_OF_RANGE",function(N,B,R){let G=`The value of "${N}" is out of range.`,Z=R;return Number.isInteger(R)&&Math.abs(R)>2**32?Z=Ue(String(R)):typeof R=="bigint"&&(Z=String(R),(R>BigInt(2)**BigInt(32)||R<-(BigInt(2)**BigInt(32)))&&(Z=Ue(Z)),Z+="n"),G+=` It must be ${B}. Received ${Z}`,G},RangeError);function Ue(N){let B="",R=N.length;const G=N[0]==="-"?1:0;for(;R>=G+4;R-=3)B=`_${N.slice(R-3,R)}${B}`;return`${N.slice(0,R)}${B}`}function we(N,B,R){je(B,"offset"),(N[B]===void 0||N[B+R]===void 0)&&me(B,N.length-(R+1))}function Se(N,B,R,G,Z,re){if(N>R||N<B){const te=typeof B=="bigint"?"n":"";let ye;throw B===0||B===BigInt(0)?ye=`>= 0${te} and < 2${te} ** ${(re+1)*8}${te}`:ye=`>= -(2${te} ** ${(re+1)*8-1}${te}) and < 2 ** ${(re+1)*8-1}${te}`,new _e.ERR_OUT_OF_RANGE("value",ye,N)}we(G,Z,re)}function je(N,B){if(typeof N!="number")throw new _e.ERR_INVALID_ARG_TYPE(B,"number",N)}function me(N,B,R){throw Math.floor(N)!==N?(je(N,R),new _e.ERR_OUT_OF_RANGE("offset","an integer",N)):B<0?new _e.ERR_BUFFER_OUT_OF_BOUNDS:new _e.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${B}`,N)}const Ce=/[^+/0-9A-Za-z-_]/g;function He(N){if(N=N.split("=")[0],N=N.trim().replace(Ce,""),N.length<2)return"";for(;N.length%4!==0;)N=N+"=";return N}function Ee(N,B){B=B||1/0;let R;const G=N.length;let Z=null;const re=[];for(let te=0;te<G;++te){if(R=N.charCodeAt(te),R>55295&&R<57344){if(!Z){if(R>56319){(B-=3)>-1&&re.push(239,191,189);continue}else if(te+1===G){(B-=3)>-1&&re.push(239,191,189);continue}Z=R;continue}if(R<56320){(B-=3)>-1&&re.push(239,191,189),Z=R;continue}R=(Z-55296<<10|R-56320)+65536}else Z&&(B-=3)>-1&&re.push(239,191,189);if(Z=null,R<128){if((B-=1)<0)break;re.push(R)}else if(R<2048){if((B-=2)<0)break;re.push(R>>6|192,R&63|128)}else if(R<65536){if((B-=3)<0)break;re.push(R>>12|224,R>>6&63|128,R&63|128)}else if(R<1114112){if((B-=4)<0)break;re.push(R>>18|240,R>>12&63|128,R>>6&63|128,R&63|128)}else throw new Error("Invalid code point")}return re}function Fe(N){const B=[];for(let R=0;R<N.length;++R)B.push(N.charCodeAt(R)&255);return B}function We(N,B){let R,G,Z;const re=[];for(let te=0;te<N.length&&!((B-=2)<0);++te)R=N.charCodeAt(te),G=R>>8,Z=R%256,re.push(Z),re.push(G);return re}function qe(N){return _.toByteArray(He(N))}function Ae(N,B,R,G){let Z;for(Z=0;Z<G&&!(Z+R>=B.length||Z>=N.length);++Z)B[Z+R]=N[Z];return Z}function ke(N,B){return N instanceof B||N!=null&&N.constructor!=null&&N.constructor.name!=null&&N.constructor.name===B.name}function Re(N){return N!==N}const Ie=function(){const N="0123456789abcdef",B=new Array(256);for(let R=0;R<16;++R){const G=R*16;for(let Z=0;Z<16;++Z)B[G+Z]=N[R]+N[Z]}return B}();function Ne(N){return typeof BigInt>"u"?De:N}function De(){throw new Error("BigInt not supported")}})(r);const g=r.Buffer;e.Blob=r.Blob,e.BlobOptions=r.BlobOptions,e.Buffer=r.Buffer,e.File=r.File,e.FileOptions=r.FileOptions,e.INSPECT_MAX_BYTES=r.INSPECT_MAX_BYTES,e.SlowBuffer=r.SlowBuffer,e.TranscodeEncoding=r.TranscodeEncoding,e.atob=r.atob,e.btoa=r.btoa,e.constants=r.constants,e.default=g,e.isAscii=r.isAscii,e.isUtf8=r.isUtf8,e.kMaxLength=r.kMaxLength,e.kStringMaxLength=r.kStringMaxLength,e.resolveObjectURL=r.resolveObjectURL,e.transcode=r.transcode}(dist)),dist}var hasRequiredSafeBuffer$1;function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,function(e,r){var n=requireDist(),a=n.Buffer;function h(d,s){for(var f in d)s[f]=d[f]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=n:(h(n,r),r.Buffer=i);function i(d,s,f){return a(d,s,f)}i.prototype=Object.create(a.prototype),h(a,i),i.from=function(d,s,f){if(typeof d=="number")throw new TypeError("Argument must not be a number");return a(d,s,f)},i.alloc=function(d,s,f){if(typeof d!="number")throw new TypeError("Argument must be a number");var o=a(d);return s!==void 0?typeof f=="string"?o.fill(s,f):o.fill(s):o.fill(0),o},i.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return a(d)},i.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(d)}}(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}var hasRequiredBrowser$b;function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var e=65536,r=4294967295;function n(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
2
|
+
Use Chrome, Firefox or Internet Explorer 11`)}var a=requireSafeBuffer$1().Buffer,h=commonjsGlobal.crypto||commonjsGlobal.msCrypto;h&&h.getRandomValues?browser$b.exports=i:browser$b.exports=n;function i(d,s){if(d>r)throw new RangeError("requested too many random bytes");var f=a.allocUnsafe(d);if(d>0)if(d>e)for(var o=0;o<d;o+=e)h.getRandomValues(f.slice(o,o+e));else h.getRandomValues(f);return typeof s=="function"?process$1.nextTick(function(){s(null,f)}):f}return browser$b.exports}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(r,n){if(n){r.super_=n;var a=function(){};a.prototype=n.prototype,r.prototype=new a,r.prototype.constructor=r}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e=typeof Reflect=="object"?Reflect:null,r=e&&typeof e.apply=="function"?e.apply:function(q,I,O){return Function.prototype.apply.call(q,I,O)},n;e&&typeof e.ownKeys=="function"?n=e.ownKeys:Object.getOwnPropertySymbols?n=function(q){return Object.getOwnPropertyNames(q).concat(Object.getOwnPropertySymbols(q))}:n=function(q){return Object.getOwnPropertyNames(q)};function a(m){console&&console.warn&&console.warn(m)}var h=Number.isNaN||function(q){return q!==q};function i(){i.init.call(this)}events.exports=i,events.exports.once=g,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var d=10;function s(m){if(typeof m!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof m)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return d},set:function(m){if(typeof m!="number"||m<0||h(m))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+m+".");d=m}}),i.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(q){if(typeof q!="number"||q<0||h(q))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+q+".");return this._maxListeners=q,this};function f(m){return m._maxListeners===void 0?i.defaultMaxListeners:m._maxListeners}i.prototype.getMaxListeners=function(){return f(this)},i.prototype.emit=function(q){for(var I=[],O=1;O<arguments.length;O++)I.push(arguments[O]);var j=q==="error",z=this._events;if(z!==void 0)j=j&&z.error===void 0;else if(!j)return!1;if(j){var W;if(I.length>0&&(W=I[0]),W instanceof Error)throw W;var X=new Error("Unhandled error."+(W?" ("+W.message+")":""));throw X.context=W,X}var M=z[q];if(M===void 0)return!1;if(typeof M=="function")r(M,this,I);else for(var S=M.length,b=p(M,S),O=0;O<S;++O)r(b[O],this,I);return!0};function o(m,q,I,O){var j,z,W;if(s(I),z=m._events,z===void 0?(z=m._events=Object.create(null),m._eventsCount=0):(z.newListener!==void 0&&(m.emit("newListener",q,I.listener?I.listener:I),z=m._events),W=z[q]),W===void 0)W=z[q]=I,++m._eventsCount;else if(typeof W=="function"?W=z[q]=O?[I,W]:[W,I]:O?W.unshift(I):W.push(I),j=f(m),j>0&&W.length>j&&!W.warned){W.warned=!0;var X=new Error("Possible EventEmitter memory leak detected. "+W.length+" "+String(q)+" listeners added. Use emitter.setMaxListeners() to increase limit");X.name="MaxListenersExceededWarning",X.emitter=m,X.type=q,X.count=W.length,a(X)}return m}i.prototype.addListener=function(q,I){return o(this,q,I,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(q,I){return o(this,q,I,!0)};function t(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,q,I){var O={fired:!1,wrapFn:void 0,target:m,type:q,listener:I},j=t.bind(O);return j.listener=I,O.wrapFn=j,j}i.prototype.once=function(q,I){return s(I),this.on(q,u(this,q,I)),this},i.prototype.prependOnceListener=function(q,I){return s(I),this.prependListener(q,u(this,q,I)),this},i.prototype.removeListener=function(q,I){var O,j,z,W,X;if(s(I),j=this._events,j===void 0)return this;if(O=j[q],O===void 0)return this;if(O===I||O.listener===I)--this._eventsCount===0?this._events=Object.create(null):(delete j[q],j.removeListener&&this.emit("removeListener",q,O.listener||I));else if(typeof O!="function"){for(z=-1,W=O.length-1;W>=0;W--)if(O[W]===I||O[W].listener===I){X=O[W].listener,z=W;break}if(z<0)return this;z===0?O.shift():v(O,z),O.length===1&&(j[q]=O[0]),j.removeListener!==void 0&&this.emit("removeListener",q,X||I)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(q){var I,O,j;if(O=this._events,O===void 0)return this;if(O.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):O[q]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete O[q]),this;if(arguments.length===0){var z=Object.keys(O),W;for(j=0;j<z.length;++j)W=z[j],W!=="removeListener"&&this.removeAllListeners(W);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(I=O[q],typeof I=="function")this.removeListener(q,I);else if(I!==void 0)for(j=I.length-1;j>=0;j--)this.removeListener(q,I[j]);return this};function c(m,q,I){var O=m._events;if(O===void 0)return[];var j=O[q];return j===void 0?[]:typeof j=="function"?I?[j.listener||j]:[j]:I?y(j):p(j,j.length)}i.prototype.listeners=function(q){return c(this,q,!0)},i.prototype.rawListeners=function(q){return c(this,q,!1)},i.listenerCount=function(m,q){return typeof m.listenerCount=="function"?m.listenerCount(q):l.call(m,q)},i.prototype.listenerCount=l;function l(m){var q=this._events;if(q!==void 0){var I=q[m];if(typeof I=="function")return 1;if(I!==void 0)return I.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function p(m,q){for(var I=new Array(q),O=0;O<q;++O)I[O]=m[O];return I}function v(m,q){for(;q+1<m.length;q++)m[q]=m[q+1];m.pop()}function y(m){for(var q=new Array(m.length),I=0;I<q.length;++I)q[I]=m[I].listener||m[I];return q}function g(m,q){return new Promise(function(I,O){function j(W){m.removeListener(q,z),O(W)}function z(){typeof m.removeListener=="function"&&m.removeListener("error",j),I([].slice.call(arguments))}_(m,q,z,{once:!0}),q!=="error"&&x(m,j,{once:!0})})}function x(m,q,I){typeof m.on=="function"&&_(m,"error",q,I)}function _(m,q,I,O){if(typeof m.on=="function")O.once?m.once(q,I):m.on(q,I);else if(typeof m.addEventListener=="function")m.addEventListener(q,function j(z){O.once&&m.removeEventListener(q,j),I(z)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof m)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser$1;function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1||(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var util$2={},types={},shams$3,hasRequiredShams$3;function requireShams$3(){return hasRequiredShams$3||(hasRequiredShams$3=1,shams$3=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var h=42;r[n]=h;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(r,n);if(d.value!==h||d.enumerable!==!0)return!1}return!0}),shams$3}var shams$2,hasRequiredShams$2;function requireShams$2(){if(hasRequiredShams$2)return shams$2;hasRequiredShams$2=1;var e=requireShams$3();return shams$2=function(){return e()&&!!Symbol.toStringTag},shams$2}var hasSymbols$1,hasRequiredHasSymbols$1;function requireHasSymbols$1(){if(hasRequiredHasSymbols$1)return hasSymbols$1;hasRequiredHasSymbols$1=1;var e=typeof Symbol<"u"&&Symbol,r=requireShams$3();return hasSymbols$1=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()},hasSymbols$1}var hasProto,hasRequiredHasProto;function requireHasProto(){if(hasRequiredHasProto)return hasProto;hasRequiredHasProto=1;var e={foo:{}},r=Object;return hasProto=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)},hasProto}var implementation$1,hasRequiredImplementation$1;function requireImplementation$1(){if(hasRequiredImplementation$1)return implementation$1;hasRequiredImplementation$1=1;var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,a="[object Function]";return implementation$1=function(i){var d=this;if(typeof d!="function"||n.call(d)!==a)throw new TypeError(e+d);for(var s=r.call(arguments,1),f,o=function(){if(this instanceof f){var p=d.apply(this,s.concat(r.call(arguments)));return Object(p)===p?p:this}else return d.apply(i,s.concat(r.call(arguments)))},t=Math.max(0,d.length-s.length),u=[],c=0;c<t;c++)u.push("$"+c);if(f=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),d.prototype){var l=function(){};l.prototype=d.prototype,f.prototype=new l,l.prototype=null}return f},implementation$1}var functionBind$1,hasRequiredFunctionBind$1;function requireFunctionBind$1(){if(hasRequiredFunctionBind$1)return functionBind$1;hasRequiredFunctionBind$1=1;var e=requireImplementation$1();return functionBind$1=Function.prototype.bind||e,functionBind$1}var src,hasRequiredSrc;function requireSrc(){if(hasRequiredSrc)return src;hasRequiredSrc=1;var e=requireFunctionBind$1();return src=e.call(Function.call,Object.prototype.hasOwnProperty),src}var getIntrinsic$1,hasRequiredGetIntrinsic$1;function requireGetIntrinsic$1(){if(hasRequiredGetIntrinsic$1)return getIntrinsic$1;hasRequiredGetIntrinsic$1=1;var e,r=SyntaxError,n=Function,a=TypeError,h=function(M){try{return n('"use strict"; return ('+M+").constructor;")()}catch{}},i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch{i=null}var d=function(){throw new a},s=i?function(){try{return arguments.callee,d}catch{try{return i(arguments,"callee").get}catch{return d}}}():d,f=requireHasSymbols$1()(),o=requireHasProto()(),t=Object.getPrototypeOf||(o?function(M){return M.__proto__}:null),u={},c=typeof Uint8Array>"u"||!t?e:t(Uint8Array),l={"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":f&&t?t([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":u,"%AsyncGenerator%":u,"%AsyncGeneratorFunction%":u,"%AsyncIteratorPrototype%":u,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":u,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&t?t(t([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f||!t?e:t(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f||!t?e:t(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&t?t(""[Symbol.iterator]()):e,"%Symbol%":f?Symbol:e,"%SyntaxError%":r,"%ThrowTypeError%":s,"%TypedArray%":c,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(t)try{null.error}catch(M){var p=t(t(M));l["%Error.prototype%"]=p}var v=function M(S){var b;if(S==="%AsyncFunction%")b=h("async function () {}");else if(S==="%GeneratorFunction%")b=h("function* () {}");else if(S==="%AsyncGeneratorFunction%")b=h("async function* () {}");else if(S==="%AsyncGenerator%"){var A=M("%AsyncGeneratorFunction%");A&&(b=A.prototype)}else if(S==="%AsyncIteratorPrototype%"){var C=M("%AsyncGenerator%");C&&t&&(b=t(C.prototype))}return l[S]=b,b},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"]},g=requireFunctionBind$1(),x=requireSrc(),_=g.call(Function.call,Array.prototype.concat),m=g.call(Function.apply,Array.prototype.splice),q=g.call(Function.call,String.prototype.replace),I=g.call(Function.call,String.prototype.slice),O=g.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,W=function(S){var b=I(S,0,1),A=I(S,-1);if(b==="%"&&A!=="%")throw new r("invalid intrinsic syntax, expected closing `%`");if(A==="%"&&b!=="%")throw new r("invalid intrinsic syntax, expected opening `%`");var C=[];return q(S,j,function(E,F,k,K){C[C.length]=k?q(K,z,"$1"):F||E}),C},X=function(S,b){var A=S,C;if(x(y,A)&&(C=y[A],A="%"+C[0]+"%"),x(l,A)){var E=l[A];if(E===u&&(E=v(A)),typeof E>"u"&&!b)throw new a("intrinsic "+S+" exists, but is not available. Please file an issue!");return{alias:C,name:A,value:E}}throw new r("intrinsic "+S+" does not exist!")};return getIntrinsic$1=function(S,b){if(typeof S!="string"||S.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof b!="boolean")throw new a('"allowMissing" argument must be a boolean');if(O(/^%?[^%]*%?$/,S)===null)throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A=W(S),C=A.length>0?A[0]:"",E=X("%"+C+"%",b),F=E.name,k=E.value,K=!1,P=E.alias;P&&(C=P[0],m(A,_([0,1],P)));for(var w=1,$=!0;w<A.length;w+=1){var H=A[w],J=I(H,0,1),V=I(H,-1);if((J==='"'||J==="'"||J==="`"||V==='"'||V==="'"||V==="`")&&J!==V)throw new r("property names with quotes must have matching quotes");if((H==="constructor"||!$)&&(K=!0),C+="."+H,F="%"+C+"%",x(l,F))k=l[F];else if(k!=null){if(!(H in k)){if(!b)throw new a("base intrinsic for "+S+" exists, but the property is not available.");return}if(i&&w+1>=A.length){var D=i(k,H);$=!!D,$&&"get"in D&&!("originalValue"in D.get)?k=D.get:k=k[H]}else $=x(k,H),k=k[H];$&&!K&&(l[F]=k)}}return k},getIntrinsic$1}var callBind$1={exports:{}},hasRequiredCallBind$1;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,function(e){var r=requireFunctionBind$1(),n=requireGetIntrinsic$1(),a=n("%Function.prototype.apply%"),h=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(h,a),d=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),f=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(u){var c=i(r,h,arguments);if(d&&s){var l=d(c,"length");l.configurable&&s(c,"length",{value:1+f(0,u.length-(arguments.length-1))})}return c};var o=function(){return i(r,a,arguments)};s?s(e.exports,"apply",{value:o}):e.exports.apply=o}(callBind$1)),callBind$1.exports}var callBound$2,hasRequiredCallBound$2;function requireCallBound$2(){if(hasRequiredCallBound$2)return callBound$2;hasRequiredCallBound$2=1;var e=requireGetIntrinsic$1(),r=requireCallBind$1(),n=r(e("String.prototype.indexOf"));return callBound$2=function(h,i){var d=e(h,!!i);return typeof d=="function"&&n(h,".prototype.")>-1?r(d):d},callBound$2}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams$2()(),r=requireCallBound$2(),n=r("Object.prototype.toString"),a=function(s){return e&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:n(s)==="[object Arguments]"},h=function(s){return a(s)?!0:s!==null&&typeof s=="object"&&typeof s.length=="number"&&s.length>=0&&n(s)!=="[object Array]"&&n(s.callee)==="[object Function]"},i=function(){return a(arguments)}();return a.isLegacyArguments=h,isArguments=i?a:h,isArguments}var isGeneratorFunction,hasRequiredIsGeneratorFunction;function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,a=requireShams$2()(),h=Object.getPrototypeOf,i=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch{}},d;return isGeneratorFunction=function(f){if(typeof f!="function")return!1;if(n.test(r.call(f)))return!0;if(!a){var o=e.call(f);return o==="[object GeneratorFunction]"}if(!h)return!1;if(typeof d>"u"){var t=i();d=t?h(t):!1}return h(f)===d},isGeneratorFunction}var isCallable,hasRequiredIsCallable;function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e=Function.prototype.toString,r=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,a;if(typeof r=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw a}}),a={},r(function(){throw 42},null,n)}catch(x){x!==a&&(r=null)}else r=null;var h=/^\s*class\b/,i=function(_){try{var m=e.call(_);return h.test(m)}catch{return!1}},d=function(_){try{return i(_)?!1:(e.call(_),!0)}catch{return!1}},s=Object.prototype.toString,f="[object Object]",o="[object Function]",t="[object GeneratorFunction]",u="[object HTMLAllCollection]",c="[object HTML document.all class]",l="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,v=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var g=document.all;s.call(g)===s.call(document.all)&&(y=function(_){if((v||!_)&&(typeof _>"u"||typeof _=="object"))try{var m=s.call(_);return(m===u||m===c||m===l||m===f)&&_("")==null}catch{}return!1})}return isCallable=r?function(_){if(y(_))return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;try{r(_,null,n)}catch(m){if(m!==a)return!1}return!i(_)&&d(_)}:function(_){if(y(_))return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(p)return d(_);if(i(_))return!1;var m=s.call(_);return m!==o&&m!==t&&!/^\[object HTML/.test(m)?!1:d(_)},isCallable}var forEach_1,hasRequiredForEach$1;function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var e=requireIsCallable(),r=Object.prototype.toString,n=Object.prototype.hasOwnProperty,a=function(f,o,t){for(var u=0,c=f.length;u<c;u++)n.call(f,u)&&(t==null?o(f[u],u,f):o.call(t,f[u],u,f))},h=function(f,o,t){for(var u=0,c=f.length;u<c;u++)t==null?o(f.charAt(u),u,f):o.call(t,f.charAt(u),u,f)},i=function(f,o,t){for(var u in f)n.call(f,u)&&(t==null?o(f[u],u,f):o.call(t,f[u],u,f))},d=function(f,o,t){if(!e(o))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=t),r.call(f)==="[object Array]"?a(f,o,u):typeof f=="string"?h(f,o,u):i(f,o,u)};return forEach_1=d,forEach_1}var availableTypedArrays$1,hasRequiredAvailableTypedArrays$1;function requireAvailableTypedArrays$1(){if(hasRequiredAvailableTypedArrays$1)return availableTypedArrays$1;hasRequiredAvailableTypedArrays$1=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var a=[],h=0;h<e.length;h++)typeof r[e[h]]=="function"&&(a[a.length]=e[h]);return a},availableTypedArrays$1}var gopd$1,hasRequiredGopd$1;function requireGopd$1(){if(hasRequiredGopd$1)return gopd$1;hasRequiredGopd$1=1;var e=requireGetIntrinsic$1(),r=e("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}return gopd$1=r,gopd$1}var isTypedArray$1,hasRequiredIsTypedArray$1;function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),n=requireCallBound$2(),a=n("Object.prototype.toString"),h=requireShams$2()(),i=requireGopd$1(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,s=r(),f=n("Array.prototype.indexOf",!0)||function(p,v){for(var y=0;y<p.length;y+=1)if(p[y]===v)return y;return-1},o=n("String.prototype.slice"),t={},u=Object.getPrototypeOf;h&&i&&u&&e(s,function(l){var p=new d[l];if(Symbol.toStringTag in p){var v=u(p),y=i(v,Symbol.toStringTag);if(!y){var g=u(v);y=i(g,Symbol.toStringTag)}t[l]=y.get}});var c=function(p){var v=!1;return e(t,function(y,g){if(!v)try{v=y.call(p)===g}catch{}}),v};return isTypedArray$1=function(p){if(!p||typeof p!="object")return!1;if(!h||!(Symbol.toStringTag in p)){var v=o(a(p),8,-1);return f(s,v)>-1}return i?c(p):!1},isTypedArray$1}var whichTypedArray$1,hasRequiredWhichTypedArray$1;function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),n=requireCallBound$2(),a=requireGopd$1(),h=n("Object.prototype.toString"),i=requireShams$2()(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,s=r(),f=n("String.prototype.slice"),o={},t=Object.getPrototypeOf;i&&a&&t&&e(s,function(l){if(typeof d[l]=="function"){var p=new d[l];if(Symbol.toStringTag in p){var v=t(p),y=a(v,Symbol.toStringTag);if(!y){var g=t(v);y=a(g,Symbol.toStringTag)}o[l]=y.get}}});var u=function(p){var v=!1;return e(o,function(y,g){if(!v)try{var x=y.call(p);x===g&&(v=x)}catch{}}),v},c=requireIsTypedArray$1();return whichTypedArray$1=function(p){return c(p)?!i||!(Symbol.toStringTag in p)?f(h(p),8,-1):u(p):!1},whichTypedArray$1}var hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,function(e){var r=requireIsArguments(),n=requireIsGeneratorFunction(),a=requireWhichTypedArray$1(),h=requireIsTypedArray$1();function i(ne){return ne.call.bind(ne)}var d=typeof BigInt<"u",s=typeof Symbol<"u",f=i(Object.prototype.toString),o=i(Number.prototype.valueOf),t=i(String.prototype.valueOf),u=i(Boolean.prototype.valueOf);if(d)var c=i(BigInt.prototype.valueOf);if(s)var l=i(Symbol.prototype.valueOf);function p(ne,le){if(typeof ne!="object")return!1;try{return le(ne),!0}catch{return!1}}e.isArgumentsObject=r,e.isGeneratorFunction=n,e.isTypedArray=h;function v(ne){return typeof Promise<"u"&&ne instanceof Promise||ne!==null&&typeof ne=="object"&&typeof ne.then=="function"&&typeof ne.catch=="function"}e.isPromise=v;function y(ne){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ne):h(ne)||$(ne)}e.isArrayBufferView=y;function g(ne){return a(ne)==="Uint8Array"}e.isUint8Array=g;function x(ne){return a(ne)==="Uint8ClampedArray"}e.isUint8ClampedArray=x;function _(ne){return a(ne)==="Uint16Array"}e.isUint16Array=_;function m(ne){return a(ne)==="Uint32Array"}e.isUint32Array=m;function q(ne){return a(ne)==="Int8Array"}e.isInt8Array=q;function I(ne){return a(ne)==="Int16Array"}e.isInt16Array=I;function O(ne){return a(ne)==="Int32Array"}e.isInt32Array=O;function j(ne){return a(ne)==="Float32Array"}e.isFloat32Array=j;function z(ne){return a(ne)==="Float64Array"}e.isFloat64Array=z;function W(ne){return a(ne)==="BigInt64Array"}e.isBigInt64Array=W;function X(ne){return a(ne)==="BigUint64Array"}e.isBigUint64Array=X;function M(ne){return f(ne)==="[object Map]"}M.working=typeof Map<"u"&&M(new Map);function S(ne){return typeof Map>"u"?!1:M.working?M(ne):ne instanceof Map}e.isMap=S;function b(ne){return f(ne)==="[object Set]"}b.working=typeof Set<"u"&&b(new Set);function A(ne){return typeof Set>"u"?!1:b.working?b(ne):ne instanceof Set}e.isSet=A;function C(ne){return f(ne)==="[object WeakMap]"}C.working=typeof WeakMap<"u"&&C(new WeakMap);function E(ne){return typeof WeakMap>"u"?!1:C.working?C(ne):ne instanceof WeakMap}e.isWeakMap=E;function F(ne){return f(ne)==="[object WeakSet]"}F.working=typeof WeakSet<"u"&&F(new WeakSet);function k(ne){return F(ne)}e.isWeakSet=k;function K(ne){return f(ne)==="[object ArrayBuffer]"}K.working=typeof ArrayBuffer<"u"&&K(new ArrayBuffer);function P(ne){return typeof ArrayBuffer>"u"?!1:K.working?K(ne):ne instanceof ArrayBuffer}e.isArrayBuffer=P;function w(ne){return f(ne)==="[object DataView]"}w.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&w(new DataView(new ArrayBuffer(1),0,1));function $(ne){return typeof DataView>"u"?!1:w.working?w(ne):ne instanceof DataView}e.isDataView=$;var H=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function J(ne){return f(ne)==="[object SharedArrayBuffer]"}function V(ne){return typeof H>"u"?!1:(typeof J.working>"u"&&(J.working=J(new H)),J.working?J(ne):ne instanceof H)}e.isSharedArrayBuffer=V;function D(ne){return f(ne)==="[object AsyncFunction]"}e.isAsyncFunction=D;function T(ne){return f(ne)==="[object Map Iterator]"}e.isMapIterator=T;function Y(ne){return f(ne)==="[object Set Iterator]"}e.isSetIterator=Y;function Q(ne){return f(ne)==="[object Generator]"}e.isGeneratorObject=Q;function U(ne){return f(ne)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=U;function L(ne){return p(ne,o)}e.isNumberObject=L;function ee(ne){return p(ne,t)}e.isStringObject=ee;function ie(ne){return p(ne,u)}e.isBooleanObject=ie;function oe(ne){return d&&p(ne,c)}e.isBigIntObject=oe;function ae(ne){return s&&p(ne,l)}e.isSymbolObject=ae;function fe(ne){return L(ne)||ee(ne)||ie(ne)||oe(ne)||ae(ne)}e.isBoxedPrimitive=fe;function de(ne){return typeof Uint8Array<"u"&&(P(ne)||V(ne))}e.isAnyArrayBuffer=de,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ne){Object.defineProperty(e,ne,{enumerable:!1,value:function(){throw new Error(ne+" is not supported in userland")}})})}(types)),types}var isBufferBrowser,hasRequiredIsBufferBrowser;function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser||(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}),isBufferBrowser}var hasRequiredUtil$1;function requireUtil$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,function(e){var r={},n=Object.getOwnPropertyDescriptors||function(H){for(var J=Object.keys(H),V={},D=0;D<J.length;D++)V[J[D]]=Object.getOwnPropertyDescriptor(H,J[D]);return V},a=/%[sdj%]/g;e.format=function($){if(!I($)){for(var H=[],J=0;J<arguments.length;J++)H.push(s(arguments[J]));return H.join(" ")}for(var J=1,V=arguments,D=V.length,T=String($).replace(a,function(Q){if(Q==="%%")return"%";if(J>=D)return Q;switch(Q){case"%s":return String(V[J++]);case"%d":return Number(V[J++]);case"%j":try{return JSON.stringify(V[J++])}catch{return"[Circular]"}default:return Q}}),Y=V[J];J<D;Y=V[++J])_(Y)||!W(Y)?T+=" "+Y:T+=" "+s(Y);return T},e.deprecate=function($,H){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return $;if(typeof process$1>"u")return function(){return e.deprecate($,H).apply(this,arguments)};var J=!1;function V(){if(!J){if(process$1.throwDeprecation)throw new Error(H);process$1.traceDeprecation?console.trace(H):console.error(H),J=!0}return $.apply(this,arguments)}return V};var h={},i=/^$/;if(r.NODE_DEBUG){var d=r.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+d+"$","i")}e.debuglog=function($){if($=$.toUpperCase(),!h[$])if(i.test($)){var H=process$1.pid;h[$]=function(){var J=e.format.apply(e,arguments);console.error("%s %d: %s",$,H,J)}}else h[$]=function(){};return h[$]};function s($,H){var J={seen:[],stylize:o};return arguments.length>=3&&(J.depth=arguments[2]),arguments.length>=4&&(J.colors=arguments[3]),x(H)?J.showHidden=H:H&&e._extend(J,H),j(J.showHidden)&&(J.showHidden=!1),j(J.depth)&&(J.depth=2),j(J.colors)&&(J.colors=!1),j(J.customInspect)&&(J.customInspect=!0),J.colors&&(J.stylize=f),u(J,$,J.depth)}e.inspect=s,s.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]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f($,H){var J=s.styles[H];return J?"\x1B["+s.colors[J][0]+"m"+$+"\x1B["+s.colors[J][1]+"m":$}function o($,H){return $}function t($){var H={};return $.forEach(function(J,V){H[J]=!0}),H}function u($,H,J){if($.customInspect&&H&&S(H.inspect)&&H.inspect!==e.inspect&&!(H.constructor&&H.constructor.prototype===H)){var V=H.inspect(J,$);return I(V)||(V=u($,V,J)),V}var D=c($,H);if(D)return D;var T=Object.keys(H),Y=t(T);if($.showHidden&&(T=Object.getOwnPropertyNames(H)),M(H)&&(T.indexOf("message")>=0||T.indexOf("description")>=0))return l(H);if(T.length===0){if(S(H)){var Q=H.name?": "+H.name:"";return $.stylize("[Function"+Q+"]","special")}if(z(H))return $.stylize(RegExp.prototype.toString.call(H),"regexp");if(X(H))return $.stylize(Date.prototype.toString.call(H),"date");if(M(H))return l(H)}var U="",L=!1,ee=["{","}"];if(g(H)&&(L=!0,ee=["[","]"]),S(H)){var ie=H.name?": "+H.name:"";U=" [Function"+ie+"]"}if(z(H)&&(U=" "+RegExp.prototype.toString.call(H)),X(H)&&(U=" "+Date.prototype.toUTCString.call(H)),M(H)&&(U=" "+l(H)),T.length===0&&(!L||H.length==0))return ee[0]+U+ee[1];if(J<0)return z(H)?$.stylize(RegExp.prototype.toString.call(H),"regexp"):$.stylize("[Object]","special");$.seen.push(H);var oe;return L?oe=p($,H,J,Y,T):oe=T.map(function(ae){return v($,H,J,Y,ae,L)}),$.seen.pop(),y(oe,U,ee)}function c($,H){if(j(H))return $.stylize("undefined","undefined");if(I(H)){var J="'"+JSON.stringify(H).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return $.stylize(J,"string")}if(q(H))return $.stylize(""+H,"number");if(x(H))return $.stylize(""+H,"boolean");if(_(H))return $.stylize("null","null")}function l($){return"["+Error.prototype.toString.call($)+"]"}function p($,H,J,V,D){for(var T=[],Y=0,Q=H.length;Y<Q;++Y)k(H,String(Y))?T.push(v($,H,J,V,String(Y),!0)):T.push("");return D.forEach(function(U){U.match(/^\d+$/)||T.push(v($,H,J,V,U,!0))}),T}function v($,H,J,V,D,T){var Y,Q,U;if(U=Object.getOwnPropertyDescriptor(H,D)||{value:H[D]},U.get?U.set?Q=$.stylize("[Getter/Setter]","special"):Q=$.stylize("[Getter]","special"):U.set&&(Q=$.stylize("[Setter]","special")),k(V,D)||(Y="["+D+"]"),Q||($.seen.indexOf(U.value)<0?(_(J)?Q=u($,U.value,null):Q=u($,U.value,J-1),Q.indexOf(`
|
|
3
|
+
`)>-1&&(T?Q=Q.split(`
|
|
4
|
+
`).map(function(L){return" "+L}).join(`
|
|
5
|
+
`).slice(2):Q=`
|
|
6
|
+
`+Q.split(`
|
|
7
|
+
`).map(function(L){return" "+L}).join(`
|
|
8
|
+
`))):Q=$.stylize("[Circular]","special")),j(Y)){if(T&&D.match(/^\d+$/))return Q;Y=JSON.stringify(""+D),Y.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Y=Y.slice(1,-1),Y=$.stylize(Y,"name")):(Y=Y.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Y=$.stylize(Y,"string"))}return Y+": "+Q}function y($,H,J){var V=$.reduce(function(D,T){return T.indexOf(`
|
|
9
|
+
`)>=0,D+T.replace(/\u001b\[\d\d?m/g,"").length+1},0);return V>60?J[0]+(H===""?"":H+`
|
|
10
|
+
`)+" "+$.join(`,
|
|
11
|
+
`)+" "+J[1]:J[0]+H+" "+$.join(", ")+" "+J[1]}e.types=requireTypes();function g($){return Array.isArray($)}e.isArray=g;function x($){return typeof $=="boolean"}e.isBoolean=x;function _($){return $===null}e.isNull=_;function m($){return $==null}e.isNullOrUndefined=m;function q($){return typeof $=="number"}e.isNumber=q;function I($){return typeof $=="string"}e.isString=I;function O($){return typeof $=="symbol"}e.isSymbol=O;function j($){return $===void 0}e.isUndefined=j;function z($){return W($)&&A($)==="[object RegExp]"}e.isRegExp=z,e.types.isRegExp=z;function W($){return typeof $=="object"&&$!==null}e.isObject=W;function X($){return W($)&&A($)==="[object Date]"}e.isDate=X,e.types.isDate=X;function M($){return W($)&&(A($)==="[object Error]"||$ instanceof Error)}e.isError=M,e.types.isNativeError=M;function S($){return typeof $=="function"}e.isFunction=S;function b($){return $===null||typeof $=="boolean"||typeof $=="number"||typeof $=="string"||typeof $=="symbol"||typeof $>"u"}e.isPrimitive=b,e.isBuffer=requireIsBufferBrowser();function A($){return Object.prototype.toString.call($)}function C($){return $<10?"0"+$.toString(10):$.toString(10)}var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var $=new Date,H=[C($.getHours()),C($.getMinutes()),C($.getSeconds())].join(":");return[$.getDate(),E[$.getMonth()],H].join(" ")}e.log=function(){console.log("%s - %s",F(),e.format.apply(e,arguments))},e.inherits=requireInherits_browser(),e._extend=function($,H){if(!H||!W(H))return $;for(var J=Object.keys(H),V=J.length;V--;)$[J[V]]=H[J[V]];return $};function k($,H){return Object.prototype.hasOwnProperty.call($,H)}var K=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(H){if(typeof H!="function")throw new TypeError('The "original" argument must be of type Function');if(K&&H[K]){var J=H[K];if(typeof J!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(J,K,{value:J,enumerable:!1,writable:!1,configurable:!0}),J}function J(){for(var V,D,T=new Promise(function(U,L){V=U,D=L}),Y=[],Q=0;Q<arguments.length;Q++)Y.push(arguments[Q]);Y.push(function(U,L){U?D(U):V(L)});try{H.apply(this,Y)}catch(U){D(U)}return T}return Object.setPrototypeOf(J,Object.getPrototypeOf(H)),K&&Object.defineProperty(J,K,{value:J,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(J,n(H))},e.promisify.custom=K;function P($,H){if(!$){var J=new Error("Promise was rejected with a falsy value");J.reason=$,$=J}return H($)}function w($){if(typeof $!="function")throw new TypeError('The "original" argument must be of type Function');function H(){for(var J=[],V=0;V<arguments.length;V++)J.push(arguments[V]);var D=J.pop();if(typeof D!="function")throw new TypeError("The last argument must be of type Function");var T=this,Y=function(){return D.apply(T,arguments)};$.apply(this,J).then(function(Q){process$1.nextTick(Y.bind(null,null,Q))},function(Q){process$1.nextTick(P.bind(null,Q,Y))})}return Object.setPrototypeOf(H,Object.getPrototypeOf($)),Object.defineProperties(H,n($)),H}e.callbackify=w}(util$2)),util$2}var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function e(p,v){var y=Object.keys(p);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(p);v&&(g=g.filter(function(x){return Object.getOwnPropertyDescriptor(p,x).enumerable})),y.push.apply(y,g)}return y}function r(p){for(var v=1;v<arguments.length;v++){var y=arguments[v]!=null?arguments[v]:{};v%2?e(Object(y),!0).forEach(function(g){n(p,g,y[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(y)):e(Object(y)).forEach(function(g){Object.defineProperty(p,g,Object.getOwnPropertyDescriptor(y,g))})}return p}function n(p,v,y){return v=d(v),v in p?Object.defineProperty(p,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):p[v]=y,p}function a(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function h(p,v){for(var y=0;y<v.length;y++){var g=v[y];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(p,d(g.key),g)}}function i(p,v,y){return v&&h(p.prototype,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function d(p){var v=s(p,"string");return typeof v=="symbol"?v:String(v)}function s(p,v){if(typeof p!="object"||p===null)return p;var y=p[Symbol.toPrimitive];if(y!==void 0){var g=y.call(p,v);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}var f=requireDist(),o=f.Buffer,t=requireUtil$1(),u=t.inspect,c=u&&u.custom||"inspect";function l(p,v,y){o.prototype.copy.call(p,v,y)}return buffer_list=function(){function p(){a(this,p),this.head=null,this.tail=null,this.length=0}return i(p,[{key:"push",value:function(y){var g={data:y,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length}},{key:"unshift",value:function(y){var g={data:y,next:this.head};this.length===0&&(this.tail=g),this.head=g,++this.length}},{key:"shift",value:function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(y){if(this.length===0)return"";for(var g=this.head,x=""+g.data;g=g.next;)x+=y+g.data;return x}},{key:"concat",value:function(y){if(this.length===0)return o.alloc(0);for(var g=o.allocUnsafe(y>>>0),x=this.head,_=0;x;)l(x.data,g,_),_+=x.data.length,x=x.next;return g}},{key:"consume",value:function(y,g){var x;return y<this.head.data.length?(x=this.head.data.slice(0,y),this.head.data=this.head.data.slice(y)):y===this.head.data.length?x=this.shift():x=g?this._getString(y):this._getBuffer(y),x}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(y){var g=this.head,x=1,_=g.data;for(y-=_.length;g=g.next;){var m=g.data,q=y>m.length?m.length:y;if(q===m.length?_+=m:_+=m.slice(0,y),y-=q,y===0){q===m.length?(++x,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=m.slice(q));break}++x}return this.length-=x,_}},{key:"_getBuffer",value:function(y){var g=o.allocUnsafe(y),x=this.head,_=1;for(x.data.copy(g),y-=x.data.length;x=x.next;){var m=x.data,q=y>m.length?m.length:y;if(m.copy(g,g.length-y,0,q),y-=q,y===0){q===m.length?(++_,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=m.slice(q));break}++_}return this.length-=_,g}},{key:c,value:function(y,g){return u(this,r(r({},g),{},{depth:0,customInspect:!1}))}}]),p}(),buffer_list}var destroy_1$1,hasRequiredDestroy$1;function requireDestroy$1(){if(hasRequiredDestroy$1)return destroy_1$1;hasRequiredDestroy$1=1;function e(d,s){var f=this,o=this._readableState&&this._readableState.destroyed,t=this._writableState&&this._writableState.destroyed;return o||t?(s?s(d):d&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(h,this,d)):process$1.nextTick(h,this,d)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(d||null,function(u){!s&&u?f._writableState?f._writableState.errorEmitted?process$1.nextTick(n,f):(f._writableState.errorEmitted=!0,process$1.nextTick(r,f,u)):process$1.nextTick(r,f,u):s?(process$1.nextTick(n,f),s(u)):process$1.nextTick(n,f)}),this)}function r(d,s){h(d,s),n(d)}function n(d){d._writableState&&!d._writableState.emitClose||d._readableState&&!d._readableState.emitClose||d.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 h(d,s){d.emit("error",s)}function i(d,s){var f=d._readableState,o=d._writableState;f&&f.autoDestroy||o&&o.autoDestroy?d.destroy(s):d.emit("error",s)}return destroy_1$1={destroy:e,undestroy:a,errorOrDestroy:i},destroy_1$1}var errorsBrowser={},hasRequiredErrorsBrowser;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;function e(s,f){s.prototype=Object.create(f.prototype),s.prototype.constructor=s,s.__proto__=f}var r={};function n(s,f,o){o||(o=Error);function t(c,l,p){return typeof f=="string"?f:f(c,l,p)}var u=function(c){e(l,c);function l(p,v,y){return c.call(this,t(p,v,y))||this}return l}(o);u.prototype.name=o.name,u.prototype.code=s,r[s]=u}function a(s,f){if(Array.isArray(s)){var o=s.length;return s=s.map(function(t){return String(t)}),o>2?"one of ".concat(f," ").concat(s.slice(0,o-1).join(", "),", or ")+s[o-1]:o===2?"one of ".concat(f," ").concat(s[0]," or ").concat(s[1]):"of ".concat(f," ").concat(s[0])}else return"of ".concat(f," ").concat(String(s))}function h(s,f,o){return s.substr(0,f.length)===f}function i(s,f,o){return(o===void 0||o>s.length)&&(o=s.length),s.substring(o-f.length,o)===f}function d(s,f,o){return typeof o!="number"&&(o=0),o+f.length>s.length?!1:s.indexOf(f,o)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,f){return'The value "'+f+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,f,o){var t;typeof f=="string"&&h(f,"not ")?(t="must not be",f=f.replace(/^not /,"")):t="must be";var u;if(i(s," argument"))u="The ".concat(s," ").concat(t," ").concat(a(f,"type"));else{var c=d(s,".")?"property":"argument";u='The "'.concat(s,'" ').concat(c," ").concat(t," ").concat(a(f,"type"))}return u+=". Received type ".concat(typeof o),u},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" 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(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=r,errorsBrowser}var state,hasRequiredState;function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var e=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;function r(a,h,i){return a.highWaterMark!=null?a.highWaterMark:h?a[i]:null}function n(a,h,i,d){var s=r(h,d,i);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var f=d?i:"highWaterMark";throw new e(f,s)}return Math.floor(s)}return a.objectMode?16:16*1024}return state={getHighWaterMark:n},state}var browser$a,hasRequiredBrowser$a;function requireBrowser$a(){if(hasRequiredBrowser$a)return browser$a;hasRequiredBrowser$a=1,browser$a=e;function e(n,a){if(r("noDeprecation"))return n;var h=!1;function i(){if(!h){if(r("throwDeprecation"))throw new Error(a);r("traceDeprecation")?console.trace(a):console.warn(a),h=!0}return n.apply(this,arguments)}return i}function r(n){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var a=commonjsGlobal.localStorage[n];return a==null?!1:String(a).toLowerCase()==="true"}return browser$a}var _stream_writable$1,hasRequired_stream_writable$1;function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;hasRequired_stream_writable$1=1,_stream_writable$1=j;function e(V){var D=this;this.next=null,this.entry=null,this.finish=function(){J(D,V)}}var r;j.WritableState=I;var n={deprecate:requireBrowser$a()},a=requireStreamBrowser$1(),h=requireDist().Buffer,i=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(V){return h.from(V)}function s(V){return h.isBuffer(V)||V instanceof i}var f=requireDestroy$1(),o=requireState(),t=o.getHighWaterMark,u=requireErrorsBrowser().codes,c=u.ERR_INVALID_ARG_TYPE,l=u.ERR_METHOD_NOT_IMPLEMENTED,p=u.ERR_MULTIPLE_CALLBACK,v=u.ERR_STREAM_CANNOT_PIPE,y=u.ERR_STREAM_DESTROYED,g=u.ERR_STREAM_NULL_VALUES,x=u.ERR_STREAM_WRITE_AFTER_END,_=u.ERR_UNKNOWN_ENCODING,m=f.errorOrDestroy;requireInherits_browser()(j,a);function q(){}function I(V,D,T){r=r||require_stream_duplex$1(),V=V||{},typeof T!="boolean"&&(T=D instanceof r),this.objectMode=!!V.objectMode,T&&(this.objectMode=this.objectMode||!!V.writableObjectMode),this.highWaterMark=t(this,V,"writableHighWaterMark",T),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Y=V.decodeStrings===!1;this.decodeStrings=!Y,this.defaultEncoding=V.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){C(D,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=V.emitClose!==!1,this.autoDestroy=!!V.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}I.prototype.getBuffer=function(){for(var D=this.bufferedRequest,T=[];D;)T.push(D),D=D.next;return T},function(){try{Object.defineProperty(I.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var O;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(O=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(D){return O.call(this,D)?!0:this!==j?!1:D&&D._writableState instanceof I}})):O=function(D){return D instanceof this};function j(V){r=r||require_stream_duplex$1();var D=this instanceof r;if(!D&&!O.call(j,this))return new j(V);this._writableState=new I(V,this,D),this.writable=!0,V&&(typeof V.write=="function"&&(this._write=V.write),typeof V.writev=="function"&&(this._writev=V.writev),typeof V.destroy=="function"&&(this._destroy=V.destroy),typeof V.final=="function"&&(this._final=V.final)),a.call(this)}j.prototype.pipe=function(){m(this,new v)};function z(V,D){var T=new x;m(V,T),process$1.nextTick(D,T)}function W(V,D,T,Y){var Q;return T===null?Q=new g:typeof T!="string"&&!D.objectMode&&(Q=new c("chunk",["string","Buffer"],T)),Q?(m(V,Q),process$1.nextTick(Y,Q),!1):!0}j.prototype.write=function(V,D,T){var Y=this._writableState,Q=!1,U=!Y.objectMode&&s(V);return U&&!h.isBuffer(V)&&(V=d(V)),typeof D=="function"&&(T=D,D=null),U?D="buffer":D||(D=Y.defaultEncoding),typeof T!="function"&&(T=q),Y.ending?z(this,T):(U||W(this,Y,V,T))&&(Y.pendingcb++,Q=M(this,Y,U,V,D,T)),Q},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var V=this._writableState;V.corked&&(V.corked--,!V.writing&&!V.corked&&!V.bufferProcessing&&V.bufferedRequest&&k(this,V))},j.prototype.setDefaultEncoding=function(D){if(typeof D=="string"&&(D=D.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((D+"").toLowerCase())>-1))throw new _(D);return this._writableState.defaultEncoding=D,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function X(V,D,T){return!V.objectMode&&V.decodeStrings!==!1&&typeof D=="string"&&(D=h.from(D,T)),D}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function M(V,D,T,Y,Q,U){if(!T){var L=X(D,Y,Q);Y!==L&&(T=!0,Q="buffer",Y=L)}var ee=D.objectMode?1:Y.length;D.length+=ee;var ie=D.length<D.highWaterMark;if(ie||(D.needDrain=!0),D.writing||D.corked){var oe=D.lastBufferedRequest;D.lastBufferedRequest={chunk:Y,encoding:Q,isBuf:T,callback:U,next:null},oe?oe.next=D.lastBufferedRequest:D.bufferedRequest=D.lastBufferedRequest,D.bufferedRequestCount+=1}else S(V,D,!1,ee,Y,Q,U);return ie}function S(V,D,T,Y,Q,U,L){D.writelen=Y,D.writecb=L,D.writing=!0,D.sync=!0,D.destroyed?D.onwrite(new y("write")):T?V._writev(Q,D.onwrite):V._write(Q,U,D.onwrite),D.sync=!1}function b(V,D,T,Y,Q){--D.pendingcb,T?(process$1.nextTick(Q,Y),process$1.nextTick($,V,D),V._writableState.errorEmitted=!0,m(V,Y)):(Q(Y),V._writableState.errorEmitted=!0,m(V,Y),$(V,D))}function A(V){V.writing=!1,V.writecb=null,V.length-=V.writelen,V.writelen=0}function C(V,D){var T=V._writableState,Y=T.sync,Q=T.writecb;if(typeof Q!="function")throw new p;if(A(T),D)b(V,T,Y,D,Q);else{var U=K(T)||V.destroyed;!U&&!T.corked&&!T.bufferProcessing&&T.bufferedRequest&&k(V,T),Y?process$1.nextTick(E,V,T,U,Q):E(V,T,U,Q)}}function E(V,D,T,Y){T||F(V,D),D.pendingcb--,Y(),$(V,D)}function F(V,D){D.length===0&&D.needDrain&&(D.needDrain=!1,V.emit("drain"))}function k(V,D){D.bufferProcessing=!0;var T=D.bufferedRequest;if(V._writev&&T&&T.next){var Y=D.bufferedRequestCount,Q=new Array(Y),U=D.corkedRequestsFree;U.entry=T;for(var L=0,ee=!0;T;)Q[L]=T,T.isBuf||(ee=!1),T=T.next,L+=1;Q.allBuffers=ee,S(V,D,!0,D.length,Q,"",U.finish),D.pendingcb++,D.lastBufferedRequest=null,U.next?(D.corkedRequestsFree=U.next,U.next=null):D.corkedRequestsFree=new e(D),D.bufferedRequestCount=0}else{for(;T;){var ie=T.chunk,oe=T.encoding,ae=T.callback,fe=D.objectMode?1:ie.length;if(S(V,D,!1,fe,ie,oe,ae),T=T.next,D.bufferedRequestCount--,D.writing)break}T===null&&(D.lastBufferedRequest=null)}D.bufferedRequest=T,D.bufferProcessing=!1}j.prototype._write=function(V,D,T){T(new l("_write()"))},j.prototype._writev=null,j.prototype.end=function(V,D,T){var Y=this._writableState;return typeof V=="function"?(T=V,V=null,D=null):typeof D=="function"&&(T=D,D=null),V!=null&&this.write(V,D),Y.corked&&(Y.corked=1,this.uncork()),Y.ending||H(this,Y,T),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function K(V){return V.ending&&V.length===0&&V.bufferedRequest===null&&!V.finished&&!V.writing}function P(V,D){V._final(function(T){D.pendingcb--,T&&m(V,T),D.prefinished=!0,V.emit("prefinish"),$(V,D)})}function w(V,D){!D.prefinished&&!D.finalCalled&&(typeof V._final=="function"&&!D.destroyed?(D.pendingcb++,D.finalCalled=!0,process$1.nextTick(P,V,D)):(D.prefinished=!0,V.emit("prefinish")))}function $(V,D){var T=K(D);if(T&&(w(V,D),D.pendingcb===0&&(D.finished=!0,V.emit("finish"),D.autoDestroy))){var Y=V._readableState;(!Y||Y.autoDestroy&&Y.endEmitted)&&V.destroy()}return T}function H(V,D,T){D.ending=!0,$(V,D),T&&(D.finished?process$1.nextTick(T):V.once("finish",T)),D.ended=!0,V.writable=!1}function J(V,D,T){var Y=V.entry;for(V.entry=null;Y;){var Q=Y.callback;D.pendingcb--,Q(T),Y=Y.next}D.corkedRequestsFree.next=V}return Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(D){this._writableState&&(this._writableState.destroyed=D)}}),j.prototype.destroy=f.destroy,j.prototype._undestroy=f.undestroy,j.prototype._destroy=function(V,D){D(V)},_stream_writable$1}var _stream_duplex$1,hasRequired_stream_duplex$1;function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var e=Object.keys||function(o){var t=[];for(var u in o)t.push(u);return t};_stream_duplex$1=d;var r=require_stream_readable$1(),n=require_stream_writable$1();requireInherits_browser()(d,r);for(var a=e(n.prototype),h=0;h<a.length;h++){var i=a[h];d.prototype[i]||(d.prototype[i]=n.prototype[i])}function d(o){if(!(this instanceof d))return new d(o);r.call(this,o),n.call(this,o),this.allowHalfOpen=!0,o&&(o.readable===!1&&(this.readable=!1),o.writable===!1&&(this.writable=!1),o.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||process$1.nextTick(f,this)}function f(o){o.end()}return Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),_stream_duplex$1}var string_decoder={},hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var e=requireSafeBuffer$1().Buffer,r=e.isEncoding||function(g){switch(g=""+g,g&&g.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 n(g){if(!g)return"utf8";for(var x;;)switch(g){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 g;default:if(x)return;g=(""+g).toLowerCase(),x=!0}}function a(g){var x=n(g);if(typeof x!="string"&&(e.isEncoding===r||!r(g)))throw new Error("Unknown encoding: "+g);return x||g}string_decoder.StringDecoder=h;function h(g){this.encoding=a(g);var x;switch(this.encoding){case"utf16le":this.text=u,this.end=c,x=4;break;case"utf8":this.fillLast=f,x=4;break;case"base64":this.text=l,this.end=p,x=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(x)}h.prototype.write=function(g){if(g.length===0)return"";var x,_;if(this.lastNeed){if(x=this.fillLast(g),x===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<g.length?x?x+this.text(g,_):this.text(g,_):x||""},h.prototype.end=t,h.prototype.text=o,h.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function i(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function d(g,x,_){var m=x.length-1;if(m<_)return 0;var q=i(x[m]);return q>=0?(q>0&&(g.lastNeed=q-1),q):--m<_||q===-2?0:(q=i(x[m]),q>=0?(q>0&&(g.lastNeed=q-2),q):--m<_||q===-2?0:(q=i(x[m]),q>=0?(q>0&&(q===2?q=0:g.lastNeed=q-3),q):0))}function s(g,x,_){if((x[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&x.length>1){if((x[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&x.length>2&&(x[2]&192)!==128)return g.lastNeed=2,"�"}}function f(g){var x=this.lastTotal-this.lastNeed,_=s(this,g);if(_!==void 0)return _;if(this.lastNeed<=g.length)return g.copy(this.lastChar,x,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,x,0,g.length),this.lastNeed-=g.length}function o(g,x){var _=d(this,g,x);if(!this.lastNeed)return g.toString("utf8",x);this.lastTotal=_;var m=g.length-(_-this.lastNeed);return g.copy(this.lastChar,0,m),g.toString("utf8",x,m)}function t(g){var x=g&&g.length?this.write(g):"";return this.lastNeed?x+"�":x}function u(g,x){if((g.length-x)%2===0){var _=g.toString("utf16le",x);if(_){var m=_.charCodeAt(_.length-1);if(m>=55296&&m<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",x,g.length-1)}function c(g){var x=g&&g.length?this.write(g):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return x+this.lastChar.toString("utf16le",0,_)}return x}function l(g,x){var _=(g.length-x)%3;return _===0?g.toString("base64",x):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",x,g.length-_))}function p(g){var x=g&&g.length?this.write(g):"";return this.lastNeed?x+this.lastChar.toString("base64",0,3-this.lastNeed):x}function v(g){return g.toString(this.encoding)}function y(g){return g&&g.length?this.write(g):""}return string_decoder}var endOfStream,hasRequiredEndOfStream;function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var e=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function r(i){var d=!1;return function(){if(!d){d=!0;for(var s=arguments.length,f=new Array(s),o=0;o<s;o++)f[o]=arguments[o];i.apply(this,f)}}}function n(){}function a(i){return i.setHeader&&typeof i.abort=="function"}function h(i,d,s){if(typeof d=="function")return h(i,null,d);d||(d={}),s=r(s||n);var f=d.readable||d.readable!==!1&&i.readable,o=d.writable||d.writable!==!1&&i.writable,t=function(){i.writable||c()},u=i._writableState&&i._writableState.finished,c=function(){o=!1,u=!0,f||s.call(i)},l=i._readableState&&i._readableState.endEmitted,p=function(){f=!1,l=!0,o||s.call(i)},v=function(_){s.call(i,_)},y=function(){var _;if(f&&!l)return(!i._readableState||!i._readableState.ended)&&(_=new e),s.call(i,_);if(o&&!u)return(!i._writableState||!i._writableState.ended)&&(_=new e),s.call(i,_)},g=function(){i.req.on("finish",c)};return a(i)?(i.on("complete",c),i.on("abort",y),i.req?g():i.on("request",g)):o&&!i._writableState&&(i.on("end",t),i.on("close",t)),i.on("end",p),i.on("finish",c),d.error!==!1&&i.on("error",v),i.on("close",y),function(){i.removeListener("complete",c),i.removeListener("abort",y),i.removeListener("request",g),i.req&&i.req.removeListener("finish",c),i.removeListener("end",t),i.removeListener("close",t),i.removeListener("finish",c),i.removeListener("end",p),i.removeListener("error",v),i.removeListener("close",y)}}return endOfStream=h,endOfStream}var async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var e;function r(_,m,q){return m=n(m),m in _?Object.defineProperty(_,m,{value:q,enumerable:!0,configurable:!0,writable:!0}):_[m]=q,_}function n(_){var m=a(_,"string");return typeof m=="symbol"?m:String(m)}function a(_,m){if(typeof _!="object"||_===null)return _;var q=_[Symbol.toPrimitive];if(q!==void 0){var I=q.call(_,m);if(typeof I!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(_)}var h=requireEndOfStream(),i=Symbol("lastResolve"),d=Symbol("lastReject"),s=Symbol("error"),f=Symbol("ended"),o=Symbol("lastPromise"),t=Symbol("handlePromise"),u=Symbol("stream");function c(_,m){return{value:_,done:m}}function l(_){var m=_[i];if(m!==null){var q=_[u].read();q!==null&&(_[o]=null,_[i]=null,_[d]=null,m(c(q,!1)))}}function p(_){process$1.nextTick(l,_)}function v(_,m){return function(q,I){_.then(function(){if(m[f]){q(c(void 0,!0));return}m[t](q,I)},I)}}var y=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((e={get stream(){return this[u]},next:function(){var m=this,q=this[s];if(q!==null)return Promise.reject(q);if(this[f])return Promise.resolve(c(void 0,!0));if(this[u].destroyed)return new Promise(function(z,W){process$1.nextTick(function(){m[s]?W(m[s]):z(c(void 0,!0))})});var I=this[o],O;if(I)O=new Promise(v(I,this));else{var j=this[u].read();if(j!==null)return Promise.resolve(c(j,!1));O=new Promise(this[t])}return this[o]=O,O}},r(e,Symbol.asyncIterator,function(){return this}),r(e,"return",function(){var m=this;return new Promise(function(q,I){m[u].destroy(null,function(O){if(O){I(O);return}q(c(void 0,!0))})})}),e),y),x=function(m){var q,I=Object.create(g,(q={},r(q,u,{value:m,writable:!0}),r(q,i,{value:null,writable:!0}),r(q,d,{value:null,writable:!0}),r(q,s,{value:null,writable:!0}),r(q,f,{value:m._readableState.endEmitted,writable:!0}),r(q,t,{value:function(j,z){var W=I[u].read();W?(I[o]=null,I[i]=null,I[d]=null,j(c(W,!1))):(I[i]=j,I[d]=z)},writable:!0}),q));return I[o]=null,h(m,function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j=I[d];j!==null&&(I[o]=null,I[i]=null,I[d]=null,j(O)),I[s]=O;return}var z=I[i];z!==null&&(I[o]=null,I[i]=null,I[d]=null,z(c(void 0,!0))),I[f]=!0}),m.on("readable",p.bind(null,I)),I};return async_iterator=x,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable$1,hasRequired_stream_readable$1;function require_stream_readable$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;hasRequired_stream_readable$1=1,_stream_readable$1=z;var e;z.ReadableState=j,requireEvents().EventEmitter;var r=function(L,ee){return L.listeners(ee).length},n=requireStreamBrowser$1(),a=requireDist().Buffer,h=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(U){return a.from(U)}function d(U){return a.isBuffer(U)||U instanceof h}var s=requireUtil$1(),f;s&&s.debuglog?f=s.debuglog("stream"):f=function(){};var o=requireBuffer_list(),t=requireDestroy$1(),u=requireState(),c=u.getHighWaterMark,l=requireErrorsBrowser().codes,p=l.ERR_INVALID_ARG_TYPE,v=l.ERR_STREAM_PUSH_AFTER_EOF,y=l.ERR_METHOD_NOT_IMPLEMENTED,g=l.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,_,m;requireInherits_browser()(z,n);var q=t.errorOrDestroy,I=["error","close","destroy","pause","resume"];function O(U,L,ee){if(typeof U.prependListener=="function")return U.prependListener(L,ee);!U._events||!U._events[L]?U.on(L,ee):Array.isArray(U._events[L])?U._events[L].unshift(ee):U._events[L]=[ee,U._events[L]]}function j(U,L,ee){e=e||require_stream_duplex$1(),U=U||{},typeof ee!="boolean"&&(ee=L instanceof e),this.objectMode=!!U.objectMode,ee&&(this.objectMode=this.objectMode||!!U.readableObjectMode),this.highWaterMark=c(this,U,"readableHighWaterMark",ee),this.buffer=new o,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=U.emitClose!==!1,this.autoDestroy=!!U.autoDestroy,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(x||(x=requireString_decoder().StringDecoder),this.decoder=new x(U.encoding),this.encoding=U.encoding)}function z(U){if(e=e||require_stream_duplex$1(),!(this instanceof z))return new z(U);var L=this instanceof e;this._readableState=new j(U,this,L),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),n.call(this)}Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(L){this._readableState&&(this._readableState.destroyed=L)}}),z.prototype.destroy=t.destroy,z.prototype._undestroy=t.undestroy,z.prototype._destroy=function(U,L){L(U)},z.prototype.push=function(U,L){var ee=this._readableState,ie;return ee.objectMode?ie=!0:typeof U=="string"&&(L=L||ee.defaultEncoding,L!==ee.encoding&&(U=a.from(U,L),L=""),ie=!0),W(this,U,L,!1,ie)},z.prototype.unshift=function(U){return W(this,U,null,!0,!1)};function W(U,L,ee,ie,oe){f("readableAddChunk",L);var ae=U._readableState;if(L===null)ae.reading=!1,C(U,ae);else{var fe;if(oe||(fe=M(ae,L)),fe)q(U,fe);else if(ae.objectMode||L&&L.length>0)if(typeof L!="string"&&!ae.objectMode&&Object.getPrototypeOf(L)!==a.prototype&&(L=i(L)),ie)ae.endEmitted?q(U,new g):X(U,ae,L,!0);else if(ae.ended)q(U,new v);else{if(ae.destroyed)return!1;ae.reading=!1,ae.decoder&&!ee?(L=ae.decoder.write(L),ae.objectMode||L.length!==0?X(U,ae,L,!1):k(U,ae)):X(U,ae,L,!1)}else ie||(ae.reading=!1,k(U,ae))}return!ae.ended&&(ae.length<ae.highWaterMark||ae.length===0)}function X(U,L,ee,ie){L.flowing&&L.length===0&&!L.sync?(L.awaitDrain=0,U.emit("data",ee)):(L.length+=L.objectMode?1:ee.length,ie?L.buffer.unshift(ee):L.buffer.push(ee),L.needReadable&&E(U)),k(U,L)}function M(U,L){var ee;return!d(L)&&typeof L!="string"&&L!==void 0&&!U.objectMode&&(ee=new p("chunk",["string","Buffer","Uint8Array"],L)),ee}z.prototype.isPaused=function(){return this._readableState.flowing===!1},z.prototype.setEncoding=function(U){x||(x=requireString_decoder().StringDecoder);var L=new x(U);this._readableState.decoder=L,this._readableState.encoding=this._readableState.decoder.encoding;for(var ee=this._readableState.buffer.head,ie="";ee!==null;)ie+=L.write(ee.data),ee=ee.next;return this._readableState.buffer.clear(),ie!==""&&this._readableState.buffer.push(ie),this._readableState.length=ie.length,this};var S=1073741824;function b(U){return U>=S?U=S:(U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++),U}function A(U,L){return U<=0||L.length===0&&L.ended?0:L.objectMode?1:U!==U?L.flowing&&L.length?L.buffer.head.data.length:L.length:(U>L.highWaterMark&&(L.highWaterMark=b(U)),U<=L.length?U:L.ended?L.length:(L.needReadable=!0,0))}z.prototype.read=function(U){f("read",U),U=parseInt(U,10);var L=this._readableState,ee=U;if(U!==0&&(L.emittedReadable=!1),U===0&&L.needReadable&&((L.highWaterMark!==0?L.length>=L.highWaterMark:L.length>0)||L.ended))return f("read: emitReadable",L.length,L.ended),L.length===0&&L.ended?T(this):E(this),null;if(U=A(U,L),U===0&&L.ended)return L.length===0&&T(this),null;var ie=L.needReadable;f("need readable",ie),(L.length===0||L.length-U<L.highWaterMark)&&(ie=!0,f("length less than watermark",ie)),L.ended||L.reading?(ie=!1,f("reading or ended",ie)):ie&&(f("do read"),L.reading=!0,L.sync=!0,L.length===0&&(L.needReadable=!0),this._read(L.highWaterMark),L.sync=!1,L.reading||(U=A(ee,L)));var oe;return U>0?oe=D(U,L):oe=null,oe===null?(L.needReadable=L.length<=L.highWaterMark,U=0):(L.length-=U,L.awaitDrain=0),L.length===0&&(L.ended||(L.needReadable=!0),ee!==U&&L.ended&&T(this)),oe!==null&&this.emit("data",oe),oe};function C(U,L){if(f("onEofChunk"),!L.ended){if(L.decoder){var ee=L.decoder.end();ee&&ee.length&&(L.buffer.push(ee),L.length+=L.objectMode?1:ee.length)}L.ended=!0,L.sync?E(U):(L.needReadable=!1,L.emittedReadable||(L.emittedReadable=!0,F(U)))}}function E(U){var L=U._readableState;f("emitReadable",L.needReadable,L.emittedReadable),L.needReadable=!1,L.emittedReadable||(f("emitReadable",L.flowing),L.emittedReadable=!0,process$1.nextTick(F,U))}function F(U){var L=U._readableState;f("emitReadable_",L.destroyed,L.length,L.ended),!L.destroyed&&(L.length||L.ended)&&(U.emit("readable"),L.emittedReadable=!1),L.needReadable=!L.flowing&&!L.ended&&L.length<=L.highWaterMark,V(U)}function k(U,L){L.readingMore||(L.readingMore=!0,process$1.nextTick(K,U,L))}function K(U,L){for(;!L.reading&&!L.ended&&(L.length<L.highWaterMark||L.flowing&&L.length===0);){var ee=L.length;if(f("maybeReadMore read 0"),U.read(0),ee===L.length)break}L.readingMore=!1}z.prototype._read=function(U){q(this,new y("_read()"))},z.prototype.pipe=function(U,L){var ee=this,ie=this._readableState;switch(ie.pipesCount){case 0:ie.pipes=U;break;case 1:ie.pipes=[ie.pipes,U];break;default:ie.pipes.push(U);break}ie.pipesCount+=1,f("pipe count=%d opts=%j",ie.pipesCount,L);var oe=(!L||L.end!==!1)&&U!==process$1.stdout&&U!==process$1.stderr,ae=oe?de:xe;ie.endEmitted?process$1.nextTick(ae):ee.once("end",ae),U.on("unpipe",fe);function fe(ge,Le){f("onunpipe"),ge===ee&&Le&&Le.hasUnpiped===!1&&(Le.hasUnpiped=!0,se())}function de(){f("onend"),U.end()}var ne=P(ee);U.on("drain",ne);var le=!1;function se(){f("cleanup"),U.removeListener("close",he),U.removeListener("finish",Me),U.removeListener("drain",ne),U.removeListener("error",ue),U.removeListener("unpipe",fe),ee.removeListener("end",de),ee.removeListener("end",xe),ee.removeListener("data",ce),le=!0,ie.awaitDrain&&(!U._writableState||U._writableState.needDrain)&&ne()}ee.on("data",ce);function ce(ge){f("ondata");var Le=U.write(ge);f("dest.write",Le),Le===!1&&((ie.pipesCount===1&&ie.pipes===U||ie.pipesCount>1&&Q(ie.pipes,U)!==-1)&&!le&&(f("false write response, pause",ie.awaitDrain),ie.awaitDrain++),ee.pause())}function ue(ge){f("onerror",ge),xe(),U.removeListener("error",ue),r(U,"error")===0&&q(U,ge)}O(U,"error",ue);function he(){U.removeListener("finish",Me),xe()}U.once("close",he);function Me(){f("onfinish"),U.removeListener("close",he),xe()}U.once("finish",Me);function xe(){f("unpipe"),ee.unpipe(U)}return U.emit("pipe",ee),ie.flowing||(f("pipe resume"),ee.resume()),U};function P(U){return function(){var ee=U._readableState;f("pipeOnDrain",ee.awaitDrain),ee.awaitDrain&&ee.awaitDrain--,ee.awaitDrain===0&&r(U,"data")&&(ee.flowing=!0,V(U))}}z.prototype.unpipe=function(U){var L=this._readableState,ee={hasUnpiped:!1};if(L.pipesCount===0)return this;if(L.pipesCount===1)return U&&U!==L.pipes?this:(U||(U=L.pipes),L.pipes=null,L.pipesCount=0,L.flowing=!1,U&&U.emit("unpipe",this,ee),this);if(!U){var ie=L.pipes,oe=L.pipesCount;L.pipes=null,L.pipesCount=0,L.flowing=!1;for(var ae=0;ae<oe;ae++)ie[ae].emit("unpipe",this,{hasUnpiped:!1});return this}var fe=Q(L.pipes,U);return fe===-1?this:(L.pipes.splice(fe,1),L.pipesCount-=1,L.pipesCount===1&&(L.pipes=L.pipes[0]),U.emit("unpipe",this,ee),this)},z.prototype.on=function(U,L){var ee=n.prototype.on.call(this,U,L),ie=this._readableState;return U==="data"?(ie.readableListening=this.listenerCount("readable")>0,ie.flowing!==!1&&this.resume()):U==="readable"&&!ie.endEmitted&&!ie.readableListening&&(ie.readableListening=ie.needReadable=!0,ie.flowing=!1,ie.emittedReadable=!1,f("on readable",ie.length,ie.reading),ie.length?E(this):ie.reading||process$1.nextTick($,this)),ee},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(U,L){var ee=n.prototype.removeListener.call(this,U,L);return U==="readable"&&process$1.nextTick(w,this),ee},z.prototype.removeAllListeners=function(U){var L=n.prototype.removeAllListeners.apply(this,arguments);return(U==="readable"||U===void 0)&&process$1.nextTick(w,this),L};function w(U){var L=U._readableState;L.readableListening=U.listenerCount("readable")>0,L.resumeScheduled&&!L.paused?L.flowing=!0:U.listenerCount("data")>0&&U.resume()}function $(U){f("readable nexttick read 0"),U.read(0)}z.prototype.resume=function(){var U=this._readableState;return U.flowing||(f("resume"),U.flowing=!U.readableListening,H(this,U)),U.paused=!1,this};function H(U,L){L.resumeScheduled||(L.resumeScheduled=!0,process$1.nextTick(J,U,L))}function J(U,L){f("resume",L.reading),L.reading||U.read(0),L.resumeScheduled=!1,U.emit("resume"),V(U),L.flowing&&!L.reading&&U.read(0)}z.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function V(U){var L=U._readableState;for(f("flow",L.flowing);L.flowing&&U.read()!==null;);}z.prototype.wrap=function(U){var L=this,ee=this._readableState,ie=!1;U.on("end",function(){if(f("wrapped end"),ee.decoder&&!ee.ended){var fe=ee.decoder.end();fe&&fe.length&&L.push(fe)}L.push(null)}),U.on("data",function(fe){if(f("wrapped data"),ee.decoder&&(fe=ee.decoder.write(fe)),!(ee.objectMode&&fe==null)&&!(!ee.objectMode&&(!fe||!fe.length))){var de=L.push(fe);de||(ie=!0,U.pause())}});for(var oe in U)this[oe]===void 0&&typeof U[oe]=="function"&&(this[oe]=function(de){return function(){return U[de].apply(U,arguments)}}(oe));for(var ae=0;ae<I.length;ae++)U.on(I[ae],this.emit.bind(this,I[ae]));return this._read=function(fe){f("wrapped _read",fe),ie&&(ie=!1,U.resume())},this},typeof Symbol=="function"&&(z.prototype[Symbol.asyncIterator]=function(){return _===void 0&&(_=requireAsync_iterator()),_(this)}),Object.defineProperty(z.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(z.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(z.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(L){this._readableState&&(this._readableState.flowing=L)}}),z._fromList=D,Object.defineProperty(z.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function D(U,L){if(L.length===0)return null;var ee;return L.objectMode?ee=L.buffer.shift():!U||U>=L.length?(L.decoder?ee=L.buffer.join(""):L.buffer.length===1?ee=L.buffer.first():ee=L.buffer.concat(L.length),L.buffer.clear()):ee=L.buffer.consume(U,L.decoder),ee}function T(U){var L=U._readableState;f("endReadable",L.endEmitted),L.endEmitted||(L.ended=!0,process$1.nextTick(Y,L,U))}function Y(U,L){if(f("endReadableNT",U.endEmitted,U.length),!U.endEmitted&&U.length===0&&(U.endEmitted=!0,L.readable=!1,L.emit("end"),U.autoDestroy)){var ee=L._writableState;(!ee||ee.autoDestroy&&ee.finished)&&L.destroy()}}typeof Symbol=="function"&&(z.from=function(U,L){return m===void 0&&(m=requireFromBrowser()),m(z,U,L)});function Q(U,L){for(var ee=0,ie=U.length;ee<ie;ee++)if(U[ee]===L)return ee;return-1}return _stream_readable$1}var _stream_transform$1,hasRequired_stream_transform$1;function require_stream_transform$1(){if(hasRequired_stream_transform$1)return _stream_transform$1;hasRequired_stream_transform$1=1,_stream_transform$1=s;var e=requireErrorsBrowser().codes,r=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,a=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=e.ERR_TRANSFORM_WITH_LENGTH_0,i=require_stream_duplex$1();requireInherits_browser()(s,i);function d(t,u){var c=this._transformState;c.transforming=!1;var l=c.writecb;if(l===null)return this.emit("error",new n);c.writechunk=null,c.writecb=null,u!=null&&this.push(u),l(t);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function s(t){if(!(this instanceof s))return new s(t);i.call(this,t),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(u,c){o(t,u,c)}):o(this,null,null)}s.prototype.push=function(t,u){return this._transformState.needTransform=!1,i.prototype.push.call(this,t,u)},s.prototype._transform=function(t,u,c){c(new r("_transform()"))},s.prototype._write=function(t,u,c){var l=this._transformState;if(l.writecb=c,l.writechunk=t,l.writeencoding=u,!l.transforming){var p=this._readableState;(l.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},s.prototype._read=function(t){var u=this._transformState;u.writechunk!==null&&!u.transforming?(u.transforming=!0,this._transform(u.writechunk,u.writeencoding,u.afterTransform)):u.needTransform=!0},s.prototype._destroy=function(t,u){i.prototype._destroy.call(this,t,function(c){u(c)})};function o(t,u,c){if(u)return t.emit("error",u);if(c!=null&&t.push(c),t._writableState.length)throw new h;if(t._transformState.transforming)throw new a;return t.push(null)}return _stream_transform$1}var _stream_passthrough$1,hasRequired_stream_passthrough$1;function require_stream_passthrough$1(){if(hasRequired_stream_passthrough$1)return _stream_passthrough$1;hasRequired_stream_passthrough$1=1,_stream_passthrough$1=r;var e=require_stream_transform$1();requireInherits_browser()(r,e);function r(n){if(!(this instanceof r))return new r(n);e.call(this,n)}return r.prototype._transform=function(n,a,h){h(null,n)},_stream_passthrough$1}var pipeline_1,hasRequiredPipeline;function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;hasRequiredPipeline=1;var e;function r(c){var l=!1;return function(){l||(l=!0,c.apply(void 0,arguments))}}var n=requireErrorsBrowser().codes,a=n.ERR_MISSING_ARGS,h=n.ERR_STREAM_DESTROYED;function i(c){if(c)throw c}function d(c){return c.setHeader&&typeof c.abort=="function"}function s(c,l,p,v){v=r(v);var y=!1;c.on("close",function(){y=!0}),e===void 0&&(e=requireEndOfStream()),e(c,{readable:l,writable:p},function(x){if(x)return v(x);y=!0,v()});var g=!1;return function(x){if(!y&&!g){if(g=!0,d(c))return c.abort();if(typeof c.destroy=="function")return c.destroy();v(x||new h("pipe"))}}}function f(c){c()}function o(c,l){return c.pipe(l)}function t(c){return!c.length||typeof c[c.length-1]!="function"?i:c.pop()}function u(){for(var c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];var v=t(l);if(Array.isArray(l[0])&&(l=l[0]),l.length<2)throw new a("streams");var y,g=l.map(function(x,_){var m=_<l.length-1,q=_>0;return s(x,m,q,function(I){y||(y=I),I&&g.forEach(f),!m&&(g.forEach(f),v(y))})});return l.reduce(o)}return pipeline_1=u,pipeline_1}var streamBrowserify,hasRequiredStreamBrowserify;function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=n;var e=requireEvents().EventEmitter,r=requireInherits_browser();r(n,e),n.Readable=require_stream_readable$1(),n.Writable=require_stream_writable$1(),n.Duplex=require_stream_duplex$1(),n.Transform=require_stream_transform$1(),n.PassThrough=require_stream_passthrough$1(),n.finished=requireEndOfStream(),n.pipeline=requirePipeline(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(a,h){var i=this;function d(l){a.writable&&a.write(l)===!1&&i.pause&&i.pause()}i.on("data",d);function s(){i.readable&&i.resume&&i.resume()}a.on("drain",s),!a._isStdio&&(!h||h.end!==!1)&&(i.on("end",o),i.on("close",t));var f=!1;function o(){f||(f=!0,a.end())}function t(){f||(f=!0,typeof a.destroy=="function"&&a.destroy())}function u(l){if(c(),e.listenerCount(this,"error")===0)throw l}i.on("error",u),a.on("error",u);function c(){i.removeListener("data",d),a.removeListener("drain",s),i.removeListener("end",o),i.removeListener("close",t),i.removeListener("error",u),a.removeListener("error",u),i.removeListener("end",c),i.removeListener("close",c),a.removeListener("close",c)}return i.on("end",c),i.on("close",c),a.on("close",c),a.emit("pipe",i),a},streamBrowserify}var hashBase$1,hasRequiredHashBase$1;function requireHashBase$1(){if(hasRequiredHashBase$1)return hashBase$1;hasRequiredHashBase$1=1;var e=requireSafeBuffer$1().Buffer,r=requireStreamBrowserify().Transform,n=requireInherits_browser();function a(s){r.call(this),this._block=e.allocUnsafe(s),this._blockSize=s,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(a,r),a.prototype._transform=function(s,f,o){var t=null;try{this.update(s,f)}catch(u){t=u}o(t)},a.prototype._flush=function(s){var f=null;try{this.push(this.digest())}catch(o){f=o}s(f)};var h=typeof Uint8Array<"u",i=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);function d(s,f){if(s instanceof e)return s;if(typeof s=="string")return e.from(s,f);if(i&&ArrayBuffer.isView(s)){if(s.byteLength===0)return e.alloc(0);var o=e.from(s.buffer,s.byteOffset,s.byteLength);if(o.byteLength===s.byteLength)return o}if(h&&s instanceof Uint8Array||e.isBuffer(s)&&s.constructor&&typeof s.constructor.isBuffer=="function"&&s.constructor.isBuffer(s))return e.from(s);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return a.prototype.update=function(s,f){if(this._finalized)throw new Error("Digest already called");s=d(s,f);for(var o=this._block,t=0;this._blockOffset+s.length-t>=this._blockSize;){for(var u=this._blockOffset;u<this._blockSize;)o[u++]=s[t++];this._update(),this._blockOffset=0}for(;t<s.length;)o[this._blockOffset++]=s[t++];for(var c=0,l=s.length*8;l>0;++c)this._length[c]+=l,l=this._length[c]/4294967296|0,l>0&&(this._length[c]-=4294967296*l);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(s){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();s!==void 0&&(f=f.toString(s)),this._block.fill(0),this._blockOffset=0;for(var o=0;o<4;++o)this._length[o]=0;return f},a.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$1=a,hashBase$1}var md5_js,hasRequiredMd5_js;function requireMd5_js(){if(hasRequiredMd5_js)return md5_js;hasRequiredMd5_js=1;var e=requireInherits_browser(),r=requireHashBase$1(),n=requireSafeBuffer$1().Buffer,a=new Array(16);function h(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}e(h,r),h.prototype._update=function(){for(var t=a,u=0;u<16;++u)t[u]=this._block.readInt32LE(u*4);var c=this._a,l=this._b,p=this._c,v=this._d;c=d(c,l,p,v,t[0],3614090360,7),v=d(v,c,l,p,t[1],3905402710,12),p=d(p,v,c,l,t[2],606105819,17),l=d(l,p,v,c,t[3],3250441966,22),c=d(c,l,p,v,t[4],4118548399,7),v=d(v,c,l,p,t[5],1200080426,12),p=d(p,v,c,l,t[6],2821735955,17),l=d(l,p,v,c,t[7],4249261313,22),c=d(c,l,p,v,t[8],1770035416,7),v=d(v,c,l,p,t[9],2336552879,12),p=d(p,v,c,l,t[10],4294925233,17),l=d(l,p,v,c,t[11],2304563134,22),c=d(c,l,p,v,t[12],1804603682,7),v=d(v,c,l,p,t[13],4254626195,12),p=d(p,v,c,l,t[14],2792965006,17),l=d(l,p,v,c,t[15],1236535329,22),c=s(c,l,p,v,t[1],4129170786,5),v=s(v,c,l,p,t[6],3225465664,9),p=s(p,v,c,l,t[11],643717713,14),l=s(l,p,v,c,t[0],3921069994,20),c=s(c,l,p,v,t[5],3593408605,5),v=s(v,c,l,p,t[10],38016083,9),p=s(p,v,c,l,t[15],3634488961,14),l=s(l,p,v,c,t[4],3889429448,20),c=s(c,l,p,v,t[9],568446438,5),v=s(v,c,l,p,t[14],3275163606,9),p=s(p,v,c,l,t[3],4107603335,14),l=s(l,p,v,c,t[8],1163531501,20),c=s(c,l,p,v,t[13],2850285829,5),v=s(v,c,l,p,t[2],4243563512,9),p=s(p,v,c,l,t[7],1735328473,14),l=s(l,p,v,c,t[12],2368359562,20),c=f(c,l,p,v,t[5],4294588738,4),v=f(v,c,l,p,t[8],2272392833,11),p=f(p,v,c,l,t[11],1839030562,16),l=f(l,p,v,c,t[14],4259657740,23),c=f(c,l,p,v,t[1],2763975236,4),v=f(v,c,l,p,t[4],1272893353,11),p=f(p,v,c,l,t[7],4139469664,16),l=f(l,p,v,c,t[10],3200236656,23),c=f(c,l,p,v,t[13],681279174,4),v=f(v,c,l,p,t[0],3936430074,11),p=f(p,v,c,l,t[3],3572445317,16),l=f(l,p,v,c,t[6],76029189,23),c=f(c,l,p,v,t[9],3654602809,4),v=f(v,c,l,p,t[12],3873151461,11),p=f(p,v,c,l,t[15],530742520,16),l=f(l,p,v,c,t[2],3299628645,23),c=o(c,l,p,v,t[0],4096336452,6),v=o(v,c,l,p,t[7],1126891415,10),p=o(p,v,c,l,t[14],2878612391,15),l=o(l,p,v,c,t[5],4237533241,21),c=o(c,l,p,v,t[12],1700485571,6),v=o(v,c,l,p,t[3],2399980690,10),p=o(p,v,c,l,t[10],4293915773,15),l=o(l,p,v,c,t[1],2240044497,21),c=o(c,l,p,v,t[8],1873313359,6),v=o(v,c,l,p,t[15],4264355552,10),p=o(p,v,c,l,t[6],2734768916,15),l=o(l,p,v,c,t[13],1309151649,21),c=o(c,l,p,v,t[4],4149444226,6),v=o(v,c,l,p,t[11],3174756917,10),p=o(p,v,c,l,t[2],718787259,15),l=o(l,p,v,c,t[9],3951481745,21),this._a=this._a+c|0,this._b=this._b+l|0,this._c=this._c+p|0,this._d=this._d+v|0},h.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.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t};function i(t,u){return t<<u|t>>>32-u}function d(t,u,c,l,p,v,y){return i(t+(u&c|~u&l)+p+v|0,y)+u|0}function s(t,u,c,l,p,v,y){return i(t+(u&l|c&~l)+p+v|0,y)+u|0}function f(t,u,c,l,p,v,y){return i(t+(u^c^l)+p+v|0,y)+u|0}function o(t,u,c,l,p,v,y){return i(t+(c^(u|~l))+p+v|0,y)+u|0}return md5_js=h,md5_js}var isarray$1,hasRequiredIsarray$1;function requireIsarray$1(){if(hasRequiredIsarray$1)return isarray$1;hasRequiredIsarray$1=1;var e={}.toString;return isarray$1=Array.isArray||function(r){return e.call(r)=="[object Array]"},isarray$1}var type,hasRequiredType;function requireType(){return hasRequiredType||(hasRequiredType=1,type=TypeError),type}var esObjectAtoms,hasRequiredEsObjectAtoms;function requireEsObjectAtoms(){return hasRequiredEsObjectAtoms||(hasRequiredEsObjectAtoms=1,esObjectAtoms=Object),esObjectAtoms}var esErrors,hasRequiredEsErrors;function requireEsErrors(){return hasRequiredEsErrors||(hasRequiredEsErrors=1,esErrors=Error),esErrors}var _eval,hasRequired_eval;function require_eval(){return hasRequired_eval||(hasRequired_eval=1,_eval=EvalError),_eval}var range,hasRequiredRange;function requireRange(){return hasRequiredRange||(hasRequiredRange=1,range=RangeError),range}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=ReferenceError),ref}var syntax,hasRequiredSyntax;function requireSyntax(){return hasRequiredSyntax||(hasRequiredSyntax=1,syntax=SyntaxError),syntax}var uri,hasRequiredUri;function requireUri(){return hasRequiredUri||(hasRequiredUri=1,uri=URIError),uri}var abs,hasRequiredAbs;function requireAbs(){return hasRequiredAbs||(hasRequiredAbs=1,abs=Math.abs),abs}var floor$1,hasRequiredFloor;function requireFloor(){return hasRequiredFloor||(hasRequiredFloor=1,floor$1=Math.floor),floor$1}var max,hasRequiredMax;function requireMax(){return hasRequiredMax||(hasRequiredMax=1,max=Math.max),max}var min,hasRequiredMin;function requireMin(){return hasRequiredMin||(hasRequiredMin=1,min=Math.min),min}var pow,hasRequiredPow;function requirePow(){return hasRequiredPow||(hasRequiredPow=1,pow=Math.pow),pow}var round$1,hasRequiredRound;function requireRound(){return hasRequiredRound||(hasRequiredRound=1,round$1=Math.round),round$1}var _isNaN,hasRequired_isNaN;function require_isNaN(){return hasRequired_isNaN||(hasRequired_isNaN=1,_isNaN=Number.isNaN||function(r){return r!==r}),_isNaN}var sign$1,hasRequiredSign$1;function requireSign$1(){if(hasRequiredSign$1)return sign$1;hasRequiredSign$1=1;var e=require_isNaN();return sign$1=function(n){return e(n)||n===0?n:n<0?-1:1},sign$1}var gOPD,hasRequiredGOPD;function requireGOPD(){return hasRequiredGOPD||(hasRequiredGOPD=1,gOPD=Object.getOwnPropertyDescriptor),gOPD}var gopd,hasRequiredGopd;function requireGopd(){if(hasRequiredGopd)return gopd;hasRequiredGopd=1;var e=requireGOPD();if(e)try{e([],"length")}catch{e=null}return gopd=e,gopd}var esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return esDefineProperty=e,esDefineProperty}var shams$1,hasRequiredShams$1;function requireShams$1(){return hasRequiredShams$1||(hasRequiredShams$1=1,shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var h=42;r[n]=h;for(var i in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var d=Object.getOwnPropertySymbols(r);if(d.length!==1||d[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==h||s.enumerable!==!0)return!1}return!0}),shams$1}var hasSymbols,hasRequiredHasSymbols;function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols;hasRequiredHasSymbols=1;var e=typeof Symbol<"u"&&Symbol,r=requireShams$1();return hasSymbols=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()},hasSymbols}var Reflect_getPrototypeOf,hasRequiredReflect_getPrototypeOf;function requireReflect_getPrototypeOf(){return hasRequiredReflect_getPrototypeOf||(hasRequiredReflect_getPrototypeOf=1,Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Reflect_getPrototypeOf}var Object_getPrototypeOf,hasRequiredObject_getPrototypeOf;function requireObject_getPrototypeOf(){if(hasRequiredObject_getPrototypeOf)return Object_getPrototypeOf;hasRequiredObject_getPrototypeOf=1;var e=requireEsObjectAtoms();return Object_getPrototypeOf=e.getPrototypeOf||null,Object_getPrototypeOf}var implementation,hasRequiredImplementation;function requireImplementation(){if(hasRequiredImplementation)return implementation;hasRequiredImplementation=1;var e="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,n=Math.max,a="[object Function]",h=function(f,o){for(var t=[],u=0;u<f.length;u+=1)t[u]=f[u];for(var c=0;c<o.length;c+=1)t[c+f.length]=o[c];return t},i=function(f,o){for(var t=[],u=o,c=0;u<f.length;u+=1,c+=1)t[c]=f[u];return t},d=function(s,f){for(var o="",t=0;t<s.length;t+=1)o+=s[t],t+1<s.length&&(o+=f);return o};return implementation=function(f){var o=this;if(typeof o!="function"||r.apply(o)!==a)throw new TypeError(e+o);for(var t=i(arguments,1),u,c=function(){if(this instanceof u){var g=o.apply(this,h(t,arguments));return Object(g)===g?g:this}return o.apply(f,h(t,arguments))},l=n(0,o.length-t.length),p=[],v=0;v<l;v++)p[v]="$"+v;if(u=Function("binder","return function ("+d(p,",")+"){ return binder.apply(this,arguments); }")(c),o.prototype){var y=function(){};y.prototype=o.prototype,u.prototype=new y,y.prototype=null}return u},implementation}var functionBind,hasRequiredFunctionBind;function requireFunctionBind(){if(hasRequiredFunctionBind)return functionBind;hasRequiredFunctionBind=1;var e=requireImplementation();return functionBind=Function.prototype.bind||e,functionBind}var functionCall,hasRequiredFunctionCall;function requireFunctionCall(){return hasRequiredFunctionCall||(hasRequiredFunctionCall=1,functionCall=Function.prototype.call),functionCall}var functionApply,hasRequiredFunctionApply;function requireFunctionApply(){return hasRequiredFunctionApply||(hasRequiredFunctionApply=1,functionApply=Function.prototype.apply),functionApply}var reflectApply,hasRequiredReflectApply;function requireReflectApply(){return hasRequiredReflectApply||(hasRequiredReflectApply=1,reflectApply=typeof Reflect<"u"&&Reflect&&Reflect.apply),reflectApply}var actualApply,hasRequiredActualApply;function requireActualApply(){if(hasRequiredActualApply)return actualApply;hasRequiredActualApply=1;var e=requireFunctionBind(),r=requireFunctionApply(),n=requireFunctionCall(),a=requireReflectApply();return actualApply=a||e.call(n,r),actualApply}var callBindApplyHelpers,hasRequiredCallBindApplyHelpers;function requireCallBindApplyHelpers(){if(hasRequiredCallBindApplyHelpers)return callBindApplyHelpers;hasRequiredCallBindApplyHelpers=1;var e=requireFunctionBind(),r=requireType(),n=requireFunctionCall(),a=requireActualApply();return callBindApplyHelpers=function(i){if(i.length<1||typeof i[0]!="function")throw new r("a function is required");return a(e,n,i)},callBindApplyHelpers}var get,hasRequiredGet;function requireGet(){if(hasRequiredGet)return get;hasRequiredGet=1;var e=requireCallBindApplyHelpers(),r=requireGopd(),n;try{n=[].__proto__===Array.prototype}catch(d){if(!d||typeof d!="object"||!("code"in d)||d.code!=="ERR_PROTO_ACCESS")throw d}var a=!!n&&r&&r(Object.prototype,"__proto__"),h=Object,i=h.getPrototypeOf;return get=a&&typeof a.get=="function"?e([a.get]):typeof i=="function"?function(s){return i(s==null?s:h(s))}:!1,get}var getProto,hasRequiredGetProto;function requireGetProto(){if(hasRequiredGetProto)return getProto;hasRequiredGetProto=1;var e=requireReflect_getPrototypeOf(),r=requireObject_getPrototypeOf(),n=requireGet();return getProto=e?function(h){return e(h)}:r?function(h){if(!h||typeof h!="object"&&typeof h!="function")throw new TypeError("getProto: not an object");return r(h)}:n?function(h){return n(h)}:null,getProto}var hasown,hasRequiredHasown;function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,r=Object.prototype.hasOwnProperty,n=requireFunctionBind();return hasown=n.call(e,r),hasown}var getIntrinsic,hasRequiredGetIntrinsic;function requireGetIntrinsic(){if(hasRequiredGetIntrinsic)return getIntrinsic;hasRequiredGetIntrinsic=1;var e,r=requireEsObjectAtoms(),n=requireEsErrors(),a=require_eval(),h=requireRange(),i=requireRef(),d=requireSyntax(),s=requireType(),f=requireUri(),o=requireAbs(),t=requireFloor(),u=requireMax(),c=requireMin(),l=requirePow(),p=requireRound(),v=requireSign$1(),y=Function,g=function(Y){try{return y('"use strict"; return ('+Y+").constructor;")()}catch{}},x=requireGopd(),_=requireEsDefineProperty(),m=function(){throw new s},q=x?function(){try{return arguments.callee,m}catch{try{return x(arguments,"callee").get}catch{return m}}}():m,I=requireHasSymbols()(),O=requireGetProto(),j=requireObject_getPrototypeOf(),z=requireReflect_getPrototypeOf(),W=requireFunctionApply(),X=requireFunctionCall(),M={},S=typeof Uint8Array>"u"||!O?e:O(Uint8Array),b={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":I&&O?O([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":M,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":I&&O?O(O([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!I||!O?e:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":h,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!I||!O?e:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":I&&O?O(""[Symbol.iterator]()):e,"%Symbol%":I?Symbol:e,"%SyntaxError%":d,"%ThrowTypeError%":q,"%TypedArray%":S,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":W,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":j,"%Math.abs%":o,"%Math.floor%":t,"%Math.max%":u,"%Math.min%":c,"%Math.pow%":l,"%Math.round%":p,"%Math.sign%":v,"%Reflect.getPrototypeOf%":z};if(O)try{null.error}catch(Y){var A=O(O(Y));b["%Error.prototype%"]=A}var C=function Y(Q){var U;if(Q==="%AsyncFunction%")U=g("async function () {}");else if(Q==="%GeneratorFunction%")U=g("function* () {}");else if(Q==="%AsyncGeneratorFunction%")U=g("async function* () {}");else if(Q==="%AsyncGenerator%"){var L=Y("%AsyncGeneratorFunction%");L&&(U=L.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ee=Y("%AsyncGenerator%");ee&&O&&(U=O(ee.prototype))}return b[Q]=U,U},E={__proto__:null,"%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"]},F=requireFunctionBind(),k=requireHasown(),K=F.call(X,Array.prototype.concat),P=F.call(W,Array.prototype.splice),w=F.call(X,String.prototype.replace),$=F.call(X,String.prototype.slice),H=F.call(X,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,D=function(Q){var U=$(Q,0,1),L=$(Q,-1);if(U==="%"&&L!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&U!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var ee=[];return w(Q,J,function(ie,oe,ae,fe){ee[ee.length]=ae?w(fe,V,"$1"):oe||ie}),ee},T=function(Q,U){var L=Q,ee;if(k(E,L)&&(ee=E[L],L="%"+ee[0]+"%"),k(b,L)){var ie=b[L];if(ie===M&&(ie=C(L)),typeof ie>"u"&&!U)throw new s("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:ee,name:L,value:ie}}throw new d("intrinsic "+Q+" does not exist!")};return getIntrinsic=function(Q,U){if(typeof Q!="string"||Q.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new s('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,Q)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=D(Q),ee=L.length>0?L[0]:"",ie=T("%"+ee+"%",U),oe=ie.name,ae=ie.value,fe=!1,de=ie.alias;de&&(ee=de[0],P(L,K([0,1],de)));for(var ne=1,le=!0;ne<L.length;ne+=1){var se=L[ne],ce=$(se,0,1),ue=$(se,-1);if((ce==='"'||ce==="'"||ce==="`"||ue==='"'||ue==="'"||ue==="`")&&ce!==ue)throw new d("property names with quotes must have matching quotes");if((se==="constructor"||!le)&&(fe=!0),ee+="."+se,oe="%"+ee+"%",k(b,oe))ae=b[oe];else if(ae!=null){if(!(se in ae)){if(!U)throw new s("base intrinsic for "+Q+" exists, but the property is not available.");return}if(x&&ne+1>=L.length){var he=x(ae,se);le=!!he,le&&"get"in he&&!("originalValue"in he.get)?ae=he.get:ae=ae[se]}else le=k(ae,se),ae=ae[se];le&&!fe&&(b[oe]=ae)}}return ae},getIntrinsic}var callBound$1,hasRequiredCallBound$1;function requireCallBound$1(){if(hasRequiredCallBound$1)return callBound$1;hasRequiredCallBound$1=1;var e=requireGetIntrinsic(),r=requireCallBindApplyHelpers(),n=r([e("%String.prototype.indexOf%")]);return callBound$1=function(h,i){var d=e(h,!!i);return typeof d=="function"&&n(h,".prototype.")>-1?r([d]):d},callBound$1}var forEach$1,hasRequiredForEach;function requireForEach(){if(hasRequiredForEach)return forEach$1;hasRequiredForEach=1;var e=requireIsCallable(),r=Object.prototype.toString,n=Object.prototype.hasOwnProperty,a=function(f,o,t){for(var u=0,c=f.length;u<c;u++)n.call(f,u)&&(t==null?o(f[u],u,f):o.call(t,f[u],u,f))},h=function(f,o,t){for(var u=0,c=f.length;u<c;u++)t==null?o(f.charAt(u),u,f):o.call(t,f.charAt(u),u,f)},i=function(f,o,t){for(var u in f)n.call(f,u)&&(t==null?o(f[u],u,f):o.call(t,f[u],u,f))};function d(s){return r.call(s)==="[object Array]"}return forEach$1=function(f,o,t){if(!e(o))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=t),d(f)?a(f,o,u):typeof f=="string"?h(f,o,u):i(f,o,u)},forEach$1}var possibleTypedArrayNames,hasRequiredPossibleTypedArrayNames;function requirePossibleTypedArrayNames(){return hasRequiredPossibleTypedArrayNames||(hasRequiredPossibleTypedArrayNames=1,possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),possibleTypedArrayNames}var availableTypedArrays,hasRequiredAvailableTypedArrays;function requireAvailableTypedArrays(){if(hasRequiredAvailableTypedArrays)return availableTypedArrays;hasRequiredAvailableTypedArrays=1;var e=requirePossibleTypedArrayNames(),r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var a=[],h=0;h<e.length;h++)typeof r[e[h]]=="function"&&(a[a.length]=e[h]);return a},availableTypedArrays}var callBind={exports:{}},defineDataProperty,hasRequiredDefineDataProperty;function requireDefineDataProperty(){if(hasRequiredDefineDataProperty)return defineDataProperty;hasRequiredDefineDataProperty=1;var e=requireEsDefineProperty(),r=requireSyntax(),n=requireType(),a=requireGopd();return defineDataProperty=function(i,d,s){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,t=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,c=!!a&&a(i,d);if(e)e(i,d,{configurable:t===null&&c?c.configurable:!t,enumerable:f===null&&c?c.enumerable:!f,value:s,writable:o===null&&c?c.writable:!o});else if(u||!f&&!o&&!t)i[d]=s;else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},defineDataProperty}var hasPropertyDescriptors_1,hasRequiredHasPropertyDescriptors;function requireHasPropertyDescriptors(){if(hasRequiredHasPropertyDescriptors)return hasPropertyDescriptors_1;hasRequiredHasPropertyDescriptors=1;var e=requireEsDefineProperty(),r=function(){return!!e};return r.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hasPropertyDescriptors_1=r,hasPropertyDescriptors_1}var setFunctionLength,hasRequiredSetFunctionLength;function requireSetFunctionLength(){if(hasRequiredSetFunctionLength)return setFunctionLength;hasRequiredSetFunctionLength=1;var e=requireGetIntrinsic(),r=requireDefineDataProperty(),n=requireHasPropertyDescriptors()(),a=requireGopd(),h=requireType(),i=e("%Math.floor%");return setFunctionLength=function(s,f){if(typeof s!="function")throw new h("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||i(f)!==f)throw new h("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],t=!0,u=!0;if("length"in s&&a){var c=a(s,"length");c&&!c.configurable&&(t=!1),c&&!c.writable&&(u=!1)}return(t||u||!o)&&(n?r(s,"length",f,!0,!0):r(s,"length",f)),s},setFunctionLength}var applyBind,hasRequiredApplyBind;function requireApplyBind(){if(hasRequiredApplyBind)return applyBind;hasRequiredApplyBind=1;var e=requireFunctionBind(),r=requireFunctionApply(),n=requireActualApply();return applyBind=function(){return n(e,r,arguments)},applyBind}var hasRequiredCallBind;function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,function(e){var r=requireSetFunctionLength(),n=requireEsDefineProperty(),a=requireCallBindApplyHelpers(),h=requireApplyBind();e.exports=function(d){var s=a(arguments),f=d.length-(arguments.length-1);return r(s,1+(f>0?f:0),!0)},n?n(e.exports,"apply",{value:h}):e.exports.apply=h}(callBind)),callBind.exports}var callBound,hasRequiredCallBound;function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var e=requireGetIntrinsic(),r=requireCallBindApplyHelpers(),n=r([e("%String.prototype.indexOf%")]);return callBound=function(h,i){var d=e(h,!!i);return typeof d=="function"&&n(h,".prototype.")>-1?r([d]):d},callBound}var shams,hasRequiredShams;function requireShams(){if(hasRequiredShams)return shams;hasRequiredShams=1;var e=requireShams$1();return shams=function(){return e()&&!!Symbol.toStringTag},shams}var whichTypedArray,hasRequiredWhichTypedArray;function requireWhichTypedArray(){if(hasRequiredWhichTypedArray)return whichTypedArray;hasRequiredWhichTypedArray=1;var e=requireForEach(),r=requireAvailableTypedArrays(),n=requireCallBind(),a=requireCallBound(),h=requireGopd(),i=requireGetProto(),d=a("Object.prototype.toString"),s=requireShams()(),f=typeof globalThis>"u"?commonjsGlobal:globalThis,o=r(),t=a("String.prototype.slice"),u=a("Array.prototype.indexOf",!0)||function(y,g){for(var x=0;x<y.length;x+=1)if(y[x]===g)return x;return-1},c={__proto__:null};s&&h&&i?e(o,function(v){var y=new f[v];if(Symbol.toStringTag in y&&i){var g=i(y),x=h(g,Symbol.toStringTag);if(!x&&g){var _=i(g);x=h(_,Symbol.toStringTag)}c["$"+v]=n(x.get)}}):e(o,function(v){var y=new f[v],g=y.slice||y.set;g&&(c["$"+v]=n(g))});var l=function(y){var g=!1;return e(c,function(x,_){if(!g)try{"$"+x(y)===_&&(g=t(_,1))}catch{}}),g},p=function(y){var g=!1;return e(c,function(x,_){if(!g)try{x(y),g=t(_,1)}catch{}}),g};return whichTypedArray=function(y){if(!y||typeof y!="object")return!1;if(!s){var g=t(d(y),8,-1);return u(o,g)>-1?g:g!=="Object"?!1:p(y)}return h?l(y):null},whichTypedArray}var isTypedArray,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var e=requireWhichTypedArray();return isTypedArray=function(n){return!!e(n)},isTypedArray}var typedArrayBuffer,hasRequiredTypedArrayBuffer;function requireTypedArrayBuffer(){if(hasRequiredTypedArrayBuffer)return typedArrayBuffer;hasRequiredTypedArrayBuffer=1;var e=requireType(),r=requireCallBound$1(),n=r("TypedArray.prototype.buffer",!0),a=requireIsTypedArray();return typedArrayBuffer=n||function(i){if(!a(i))throw new e("Not a Typed Array");return i.buffer},typedArrayBuffer}var toBuffer,hasRequiredToBuffer$2;function requireToBuffer$2(){if(hasRequiredToBuffer$2)return toBuffer;hasRequiredToBuffer$2=1;var e=requireSafeBuffer$1().Buffer,r=requireIsarray$1(),n=requireTypedArrayBuffer(),a=ArrayBuffer.isView||function(f){try{return n(f),!0}catch{return!1}},h=typeof Uint8Array<"u",i=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",d=i&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return toBuffer=function(f,o){if(e.isBuffer(f))return f.constructor&&!("isBuffer"in f)?e.from(f):f;if(typeof f=="string")return e.from(f,o);if(i&&a(f)){if(f.byteLength===0)return e.alloc(0);if(d){var t=e.from(f.buffer,f.byteOffset,f.byteLength);if(t.byteLength===f.byteLength)return t}var u=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),c=e.from(u);if(c.length===f.byteLength)return c}if(h&&f instanceof Uint8Array)return e.from(f);var l=r(f);if(l)for(var p=0;p<f.length;p+=1){var v=f[p];if(typeof v!="number"||v<0||v>255||~~v!==v)throw new RangeError("Array items must be numbers in the range 0-255.")}if(l||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},toBuffer}var toBuffer_1$1,hasRequiredToBuffer$1;function requireToBuffer$1(){if(hasRequiredToBuffer$1)return toBuffer_1$1;hasRequiredToBuffer$1=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$2(),n=typeof Uint8Array<"u",a=n&&typeof ArrayBuffer<"u",h=a&&ArrayBuffer.isView;return toBuffer_1$1=function(i,d){if(typeof i=="string"||e.isBuffer(i)||n&&i instanceof Uint8Array||h&&h(i))return r(i,d);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')},toBuffer_1$1}var readableBrowser={exports:{}},processNextickArgs={exports:{}},hasRequiredProcessNextickArgs;function requireProcessNextickArgs(){if(hasRequiredProcessNextickArgs)return processNextickArgs.exports;hasRequiredProcessNextickArgs=1,typeof process$1>"u"||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick:e}:processNextickArgs.exports=process$1;function e(r,n,a,h){if(typeof r!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,d,s;switch(i){case 0:case 1:return process$1.nextTick(r);case 2:return process$1.nextTick(function(){r.call(null,n)});case 3:return process$1.nextTick(function(){r.call(null,n,a)});case 4:return process$1.nextTick(function(){r.call(null,n,a,h)});default:for(d=new Array(i-1),s=0;s<d.length;)d[s++]=arguments[s];return process$1.nextTick(function(){r.apply(null,d)})}}return processNextickArgs.exports}var isarray,hasRequiredIsarray;function requireIsarray(){if(hasRequiredIsarray)return isarray;hasRequiredIsarray=1;var e={}.toString;return isarray=Array.isArray||function(r){return e.call(r)=="[object Array]"},isarray}var streamBrowser,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser=requireEvents().EventEmitter),streamBrowser}var safeBuffer={exports:{}},hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(e,r){var n=requireDist(),a=n.Buffer;function h(d,s){for(var f in d)s[f]=d[f]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=n:(h(n,r),r.Buffer=i);function i(d,s,f){return a(d,s,f)}h(a,i),i.from=function(d,s,f){if(typeof d=="number")throw new TypeError("Argument must not be a number");return a(d,s,f)},i.alloc=function(d,s,f){if(typeof d!="number")throw new TypeError("Argument must be a number");var o=a(d);return s!==void 0?typeof f=="string"?o.fill(s,f):o.fill(s):o.fill(0),o},i.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return a(d)},i.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(d)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var util$1={},hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util$1;hasRequiredUtil=1;function e(v){return Array.isArray?Array.isArray(v):p(v)==="[object Array]"}util$1.isArray=e;function r(v){return typeof v=="boolean"}util$1.isBoolean=r;function n(v){return v===null}util$1.isNull=n;function a(v){return v==null}util$1.isNullOrUndefined=a;function h(v){return typeof v=="number"}util$1.isNumber=h;function i(v){return typeof v=="string"}util$1.isString=i;function d(v){return typeof v=="symbol"}util$1.isSymbol=d;function s(v){return v===void 0}util$1.isUndefined=s;function f(v){return p(v)==="[object RegExp]"}util$1.isRegExp=f;function o(v){return typeof v=="object"&&v!==null}util$1.isObject=o;function t(v){return p(v)==="[object Date]"}util$1.isDate=t;function u(v){return p(v)==="[object Error]"||v instanceof Error}util$1.isError=u;function c(v){return typeof v=="function"}util$1.isFunction=c;function l(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||typeof v>"u"}util$1.isPrimitive=l,util$1.isBuffer=requireDist().Buffer.isBuffer;function p(v){return Object.prototype.toString.call(v)}return util$1}var BufferList={exports:{}},hasRequiredBufferList;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,function(e){function r(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")}var n=requireSafeBuffer().Buffer,a=requireUtil$1();function h(i,d,s){i.copy(d,s)}e.exports=function(){function i(){r(this,i),this.head=null,this.tail=null,this.length=0}return i.prototype.push=function(s){var f={data:s,next:null};this.length>0?this.tail.next=f:this.head=f,this.tail=f,++this.length},i.prototype.unshift=function(s){var f={data:s,next:this.head};this.length===0&&(this.tail=f),this.head=f,++this.length},i.prototype.shift=function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}},i.prototype.clear=function(){this.head=this.tail=null,this.length=0},i.prototype.join=function(s){if(this.length===0)return"";for(var f=this.head,o=""+f.data;f=f.next;)o+=s+f.data;return o},i.prototype.concat=function(s){if(this.length===0)return n.alloc(0);for(var f=n.allocUnsafe(s>>>0),o=this.head,t=0;o;)h(o.data,f,t),t+=o.data.length,o=o.next;return f},i}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var i=a.inspect({length:this.length});return this.constructor.name+" "+i})}(BufferList)),BufferList.exports}var destroy_1,hasRequiredDestroy;function requireDestroy(){if(hasRequiredDestroy)return destroy_1;hasRequiredDestroy=1;var e=requireProcessNextickArgs();function r(h,i){var d=this,s=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return s||f?(i?i(h):h&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(a,this,h)):e.nextTick(a,this,h)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(h||null,function(o){!i&&o?d._writableState?d._writableState.errorEmitted||(d._writableState.errorEmitted=!0,e.nextTick(a,d,o)):e.nextTick(a,d,o):i&&i(o)}),this)}function n(){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 a(h,i){h.emit("error",i)}return destroy_1={destroy:r,undestroy:n},destroy_1}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var e=requireProcessNextickArgs();_stream_writable=v;function r(E){var F=this;this.next=null,this.entry=null,this.finish=function(){C(F,E)}}var n=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:e.nextTick,a;v.WritableState=l;var h=Object.create(requireUtil());h.inherits=requireInherits_browser();var i={deprecate:requireBrowser$a()},d=requireStreamBrowser(),s=requireSafeBuffer().Buffer,f=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(E){return s.from(E)}function t(E){return s.isBuffer(E)||E instanceof f}var u=requireDestroy();h.inherits(v,d);function c(){}function l(E,F){a=a||require_stream_duplex(),E=E||{};var k=F instanceof a;this.objectMode=!!E.objectMode,k&&(this.objectMode=this.objectMode||!!E.writableObjectMode);var K=E.highWaterMark,P=E.writableHighWaterMark,w=this.objectMode?16:16*1024;K||K===0?this.highWaterMark=K:k&&(P||P===0)?this.highWaterMark=P:this.highWaterMark=w,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var $=E.decodeStrings===!1;this.decodeStrings=!$,this.defaultEncoding=E.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(H){O(F,H)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}l.prototype.getBuffer=function(){for(var F=this.bufferedRequest,k=[];F;)k.push(F),F=F.next;return k},function(){try{Object.defineProperty(l.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var p;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(E){return p.call(this,E)?!0:this!==v?!1:E&&E._writableState instanceof l}})):p=function(E){return E instanceof this};function v(E){if(a=a||require_stream_duplex(),!p.call(v,this)&&!(this instanceof a))return new v(E);this._writableState=new l(E,this),this.writable=!0,E&&(typeof E.write=="function"&&(this._write=E.write),typeof E.writev=="function"&&(this._writev=E.writev),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.final=="function"&&(this._final=E.final)),d.call(this)}v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function y(E,F){var k=new Error("write after end");E.emit("error",k),e.nextTick(F,k)}function g(E,F,k,K){var P=!0,w=!1;return k===null?w=new TypeError("May not write null values to stream"):typeof k!="string"&&k!==void 0&&!F.objectMode&&(w=new TypeError("Invalid non-string/buffer chunk")),w&&(E.emit("error",w),e.nextTick(K,w),P=!1),P}v.prototype.write=function(E,F,k){var K=this._writableState,P=!1,w=!K.objectMode&&t(E);return w&&!s.isBuffer(E)&&(E=o(E)),typeof F=="function"&&(k=F,F=null),w?F="buffer":F||(F=K.defaultEncoding),typeof k!="function"&&(k=c),K.ended?y(this,k):(w||g(this,K,E,k))&&(K.pendingcb++,P=_(this,K,w,E,F,k)),P},v.prototype.cork=function(){var E=this._writableState;E.corked++},v.prototype.uncork=function(){var E=this._writableState;E.corked&&(E.corked--,!E.writing&&!E.corked&&!E.bufferProcessing&&E.bufferedRequest&&W(this,E))},v.prototype.setDefaultEncoding=function(F){if(typeof F=="string"&&(F=F.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((F+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+F);return this._writableState.defaultEncoding=F,this};function x(E,F,k){return!E.objectMode&&E.decodeStrings!==!1&&typeof F=="string"&&(F=s.from(F,k)),F}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function _(E,F,k,K,P,w){if(!k){var $=x(F,K,P);K!==$&&(k=!0,P="buffer",K=$)}var H=F.objectMode?1:K.length;F.length+=H;var J=F.length<F.highWaterMark;if(J||(F.needDrain=!0),F.writing||F.corked){var V=F.lastBufferedRequest;F.lastBufferedRequest={chunk:K,encoding:P,isBuf:k,callback:w,next:null},V?V.next=F.lastBufferedRequest:F.bufferedRequest=F.lastBufferedRequest,F.bufferedRequestCount+=1}else m(E,F,!1,H,K,P,w);return J}function m(E,F,k,K,P,w,$){F.writelen=K,F.writecb=$,F.writing=!0,F.sync=!0,k?E._writev(P,F.onwrite):E._write(P,w,F.onwrite),F.sync=!1}function q(E,F,k,K,P){--F.pendingcb,k?(e.nextTick(P,K),e.nextTick(b,E,F),E._writableState.errorEmitted=!0,E.emit("error",K)):(P(K),E._writableState.errorEmitted=!0,E.emit("error",K),b(E,F))}function I(E){E.writing=!1,E.writecb=null,E.length-=E.writelen,E.writelen=0}function O(E,F){var k=E._writableState,K=k.sync,P=k.writecb;if(I(k),F)q(E,k,K,F,P);else{var w=X(k);!w&&!k.corked&&!k.bufferProcessing&&k.bufferedRequest&&W(E,k),K?n(j,E,k,w,P):j(E,k,w,P)}}function j(E,F,k,K){k||z(E,F),F.pendingcb--,K(),b(E,F)}function z(E,F){F.length===0&&F.needDrain&&(F.needDrain=!1,E.emit("drain"))}function W(E,F){F.bufferProcessing=!0;var k=F.bufferedRequest;if(E._writev&&k&&k.next){var K=F.bufferedRequestCount,P=new Array(K),w=F.corkedRequestsFree;w.entry=k;for(var $=0,H=!0;k;)P[$]=k,k.isBuf||(H=!1),k=k.next,$+=1;P.allBuffers=H,m(E,F,!0,F.length,P,"",w.finish),F.pendingcb++,F.lastBufferedRequest=null,w.next?(F.corkedRequestsFree=w.next,w.next=null):F.corkedRequestsFree=new r(F),F.bufferedRequestCount=0}else{for(;k;){var J=k.chunk,V=k.encoding,D=k.callback,T=F.objectMode?1:J.length;if(m(E,F,!1,T,J,V,D),k=k.next,F.bufferedRequestCount--,F.writing)break}k===null&&(F.lastBufferedRequest=null)}F.bufferedRequest=k,F.bufferProcessing=!1}v.prototype._write=function(E,F,k){k(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(E,F,k){var K=this._writableState;typeof E=="function"?(k=E,E=null,F=null):typeof F=="function"&&(k=F,F=null),E!=null&&this.write(E,F),K.corked&&(K.corked=1,this.uncork()),K.ending||A(this,K,k)};function X(E){return E.ending&&E.length===0&&E.bufferedRequest===null&&!E.finished&&!E.writing}function M(E,F){E._final(function(k){F.pendingcb--,k&&E.emit("error",k),F.prefinished=!0,E.emit("prefinish"),b(E,F)})}function S(E,F){!F.prefinished&&!F.finalCalled&&(typeof E._final=="function"?(F.pendingcb++,F.finalCalled=!0,e.nextTick(M,E,F)):(F.prefinished=!0,E.emit("prefinish")))}function b(E,F){var k=X(F);return k&&(S(E,F),F.pendingcb===0&&(F.finished=!0,E.emit("finish"))),k}function A(E,F,k){F.ending=!0,b(E,F),k&&(F.finished?e.nextTick(k):E.once("finish",k)),F.ended=!0,E.writable=!1}function C(E,F,k){var K=E.entry;for(E.entry=null;K;){var P=K.callback;F.pendingcb--,P(k),K=K.next}F.corkedRequestsFree.next=E}return Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(E){this._writableState&&(this._writableState.destroyed=E)}}),v.prototype.destroy=u.destroy,v.prototype._undestroy=u.undestroy,v.prototype._destroy=function(E,F){this.end(),F(E)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var e=requireProcessNextickArgs(),r=Object.keys||function(u){var c=[];for(var l in u)c.push(l);return c};_stream_duplex=f;var n=Object.create(requireUtil());n.inherits=requireInherits_browser();var a=require_stream_readable(),h=require_stream_writable();n.inherits(f,a);for(var i=r(h.prototype),d=0;d<i.length;d++){var s=i[d];f.prototype[s]||(f.prototype[s]=h.prototype[s])}function f(u){if(!(this instanceof f))return new f(u);a.call(this,u),h.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function o(){this.allowHalfOpen||this._writableState.ended||e.nextTick(t,this)}function t(u){u.end()}return Object.defineProperty(f.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),f.prototype._destroy=function(u,c){this.push(null),this.end(),e.nextTick(c,u)},_stream_duplex}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var e=requireProcessNextickArgs();_stream_readable=x;var r=requireIsarray(),n;x.ReadableState=g,requireEvents().EventEmitter;var a=function(D,T){return D.listeners(T).length},h=requireStreamBrowser(),i=requireSafeBuffer().Buffer,d=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(D){return i.from(D)}function f(D){return i.isBuffer(D)||D instanceof d}var o=Object.create(requireUtil());o.inherits=requireInherits_browser();var t=requireUtil$1(),u=void 0;t&&t.debuglog?u=t.debuglog("stream"):u=function(){};var c=requireBufferList(),l=requireDestroy(),p;o.inherits(x,h);var v=["error","close","destroy","pause","resume"];function y(D,T,Y){if(typeof D.prependListener=="function")return D.prependListener(T,Y);!D._events||!D._events[T]?D.on(T,Y):r(D._events[T])?D._events[T].unshift(Y):D._events[T]=[Y,D._events[T]]}function g(D,T){n=n||require_stream_duplex(),D=D||{};var Y=T instanceof n;this.objectMode=!!D.objectMode,Y&&(this.objectMode=this.objectMode||!!D.readableObjectMode);var Q=D.highWaterMark,U=D.readableHighWaterMark,L=this.objectMode?16:16*1024;Q||Q===0?this.highWaterMark=Q:Y&&(U||U===0)?this.highWaterMark=U:this.highWaterMark=L,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new c,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.destroyed=!1,this.defaultEncoding=D.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,D.encoding&&(p||(p=requireString_decoder().StringDecoder),this.decoder=new p(D.encoding),this.encoding=D.encoding)}function x(D){if(n=n||require_stream_duplex(),!(this instanceof x))return new x(D);this._readableState=new g(D,this),this.readable=!0,D&&(typeof D.read=="function"&&(this._read=D.read),typeof D.destroy=="function"&&(this._destroy=D.destroy)),h.call(this)}Object.defineProperty(x.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(D){this._readableState&&(this._readableState.destroyed=D)}}),x.prototype.destroy=l.destroy,x.prototype._undestroy=l.undestroy,x.prototype._destroy=function(D,T){this.push(null),T(D)},x.prototype.push=function(D,T){var Y=this._readableState,Q;return Y.objectMode?Q=!0:typeof D=="string"&&(T=T||Y.defaultEncoding,T!==Y.encoding&&(D=i.from(D,T),T=""),Q=!0),_(this,D,T,!1,Q)},x.prototype.unshift=function(D){return _(this,D,null,!0,!1)};function _(D,T,Y,Q,U){var L=D._readableState;if(T===null)L.reading=!1,W(D,L);else{var ee;U||(ee=q(L,T)),ee?D.emit("error",ee):L.objectMode||T&&T.length>0?(typeof T!="string"&&!L.objectMode&&Object.getPrototypeOf(T)!==i.prototype&&(T=s(T)),Q?L.endEmitted?D.emit("error",new Error("stream.unshift() after end event")):m(D,L,T,!0):L.ended?D.emit("error",new Error("stream.push() after EOF")):(L.reading=!1,L.decoder&&!Y?(T=L.decoder.write(T),L.objectMode||T.length!==0?m(D,L,T,!1):S(D,L)):m(D,L,T,!1))):Q||(L.reading=!1)}return I(L)}function m(D,T,Y,Q){T.flowing&&T.length===0&&!T.sync?(D.emit("data",Y),D.read(0)):(T.length+=T.objectMode?1:Y.length,Q?T.buffer.unshift(Y):T.buffer.push(Y),T.needReadable&&X(D)),S(D,T)}function q(D,T){var Y;return!f(T)&&typeof T!="string"&&T!==void 0&&!D.objectMode&&(Y=new TypeError("Invalid non-string/buffer chunk")),Y}function I(D){return!D.ended&&(D.needReadable||D.length<D.highWaterMark||D.length===0)}x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(D){return p||(p=requireString_decoder().StringDecoder),this._readableState.decoder=new p(D),this._readableState.encoding=D,this};var O=8388608;function j(D){return D>=O?D=O:(D--,D|=D>>>1,D|=D>>>2,D|=D>>>4,D|=D>>>8,D|=D>>>16,D++),D}function z(D,T){return D<=0||T.length===0&&T.ended?0:T.objectMode?1:D!==D?T.flowing&&T.length?T.buffer.head.data.length:T.length:(D>T.highWaterMark&&(T.highWaterMark=j(D)),D<=T.length?D:T.ended?T.length:(T.needReadable=!0,0))}x.prototype.read=function(D){u("read",D),D=parseInt(D,10);var T=this._readableState,Y=D;if(D!==0&&(T.emittedReadable=!1),D===0&&T.needReadable&&(T.length>=T.highWaterMark||T.ended))return u("read: emitReadable",T.length,T.ended),T.length===0&&T.ended?H(this):X(this),null;if(D=z(D,T),D===0&&T.ended)return T.length===0&&H(this),null;var Q=T.needReadable;u("need readable",Q),(T.length===0||T.length-D<T.highWaterMark)&&(Q=!0,u("length less than watermark",Q)),T.ended||T.reading?(Q=!1,u("reading or ended",Q)):Q&&(u("do read"),T.reading=!0,T.sync=!0,T.length===0&&(T.needReadable=!0),this._read(T.highWaterMark),T.sync=!1,T.reading||(D=z(Y,T)));var U;return D>0?U=K(D,T):U=null,U===null?(T.needReadable=!0,D=0):T.length-=D,T.length===0&&(T.ended||(T.needReadable=!0),Y!==D&&T.ended&&H(this)),U!==null&&this.emit("data",U),U};function W(D,T){if(!T.ended){if(T.decoder){var Y=T.decoder.end();Y&&Y.length&&(T.buffer.push(Y),T.length+=T.objectMode?1:Y.length)}T.ended=!0,X(D)}}function X(D){var T=D._readableState;T.needReadable=!1,T.emittedReadable||(u("emitReadable",T.flowing),T.emittedReadable=!0,T.sync?e.nextTick(M,D):M(D))}function M(D){u("emit readable"),D.emit("readable"),k(D)}function S(D,T){T.readingMore||(T.readingMore=!0,e.nextTick(b,D,T))}function b(D,T){for(var Y=T.length;!T.reading&&!T.flowing&&!T.ended&&T.length<T.highWaterMark&&(u("maybeReadMore read 0"),D.read(0),Y!==T.length);)Y=T.length;T.readingMore=!1}x.prototype._read=function(D){this.emit("error",new Error("_read() is not implemented"))},x.prototype.pipe=function(D,T){var Y=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=D;break;case 1:Q.pipes=[Q.pipes,D];break;default:Q.pipes.push(D);break}Q.pipesCount+=1,u("pipe count=%d opts=%j",Q.pipesCount,T);var U=(!T||T.end!==!1)&&D!==process$1.stdout&&D!==process$1.stderr,L=U?ie:ue;Q.endEmitted?e.nextTick(L):Y.once("end",L),D.on("unpipe",ee);function ee(he,Me){u("onunpipe"),he===Y&&Me&&Me.hasUnpiped===!1&&(Me.hasUnpiped=!0,fe())}function ie(){u("onend"),D.end()}var oe=A(Y);D.on("drain",oe);var ae=!1;function fe(){u("cleanup"),D.removeListener("close",se),D.removeListener("finish",ce),D.removeListener("drain",oe),D.removeListener("error",le),D.removeListener("unpipe",ee),Y.removeListener("end",ie),Y.removeListener("end",ue),Y.removeListener("data",ne),ae=!0,Q.awaitDrain&&(!D._writableState||D._writableState.needDrain)&&oe()}var de=!1;Y.on("data",ne);function ne(he){u("ondata"),de=!1;var Me=D.write(he);Me===!1&&!de&&((Q.pipesCount===1&&Q.pipes===D||Q.pipesCount>1&&V(Q.pipes,D)!==-1)&&!ae&&(u("false write response, pause",Q.awaitDrain),Q.awaitDrain++,de=!0),Y.pause())}function le(he){u("onerror",he),ue(),D.removeListener("error",le),a(D,"error")===0&&D.emit("error",he)}y(D,"error",le);function se(){D.removeListener("finish",ce),ue()}D.once("close",se);function ce(){u("onfinish"),D.removeListener("close",se),ue()}D.once("finish",ce);function ue(){u("unpipe"),Y.unpipe(D)}return D.emit("pipe",Y),Q.flowing||(u("pipe resume"),Y.resume()),D};function A(D){return function(){var T=D._readableState;u("pipeOnDrain",T.awaitDrain),T.awaitDrain&&T.awaitDrain--,T.awaitDrain===0&&a(D,"data")&&(T.flowing=!0,k(D))}}x.prototype.unpipe=function(D){var T=this._readableState,Y={hasUnpiped:!1};if(T.pipesCount===0)return this;if(T.pipesCount===1)return D&&D!==T.pipes?this:(D||(D=T.pipes),T.pipes=null,T.pipesCount=0,T.flowing=!1,D&&D.emit("unpipe",this,Y),this);if(!D){var Q=T.pipes,U=T.pipesCount;T.pipes=null,T.pipesCount=0,T.flowing=!1;for(var L=0;L<U;L++)Q[L].emit("unpipe",this,{hasUnpiped:!1});return this}var ee=V(T.pipes,D);return ee===-1?this:(T.pipes.splice(ee,1),T.pipesCount-=1,T.pipesCount===1&&(T.pipes=T.pipes[0]),D.emit("unpipe",this,Y),this)},x.prototype.on=function(D,T){var Y=h.prototype.on.call(this,D,T);if(D==="data")this._readableState.flowing!==!1&&this.resume();else if(D==="readable"){var Q=this._readableState;!Q.endEmitted&&!Q.readableListening&&(Q.readableListening=Q.needReadable=!0,Q.emittedReadable=!1,Q.reading?Q.length&&X(this):e.nextTick(C,this))}return Y},x.prototype.addListener=x.prototype.on;function C(D){u("readable nexttick read 0"),D.read(0)}x.prototype.resume=function(){var D=this._readableState;return D.flowing||(u("resume"),D.flowing=!0,E(this,D)),this};function E(D,T){T.resumeScheduled||(T.resumeScheduled=!0,e.nextTick(F,D,T))}function F(D,T){T.reading||(u("resume read 0"),D.read(0)),T.resumeScheduled=!1,T.awaitDrain=0,D.emit("resume"),k(D),T.flowing&&!T.reading&&D.read(0)}x.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function k(D){var T=D._readableState;for(u("flow",T.flowing);T.flowing&&D.read()!==null;);}x.prototype.wrap=function(D){var T=this,Y=this._readableState,Q=!1;D.on("end",function(){if(u("wrapped end"),Y.decoder&&!Y.ended){var ee=Y.decoder.end();ee&&ee.length&&T.push(ee)}T.push(null)}),D.on("data",function(ee){if(u("wrapped data"),Y.decoder&&(ee=Y.decoder.write(ee)),!(Y.objectMode&&ee==null)&&!(!Y.objectMode&&(!ee||!ee.length))){var ie=T.push(ee);ie||(Q=!0,D.pause())}});for(var U in D)this[U]===void 0&&typeof D[U]=="function"&&(this[U]=function(ee){return function(){return D[ee].apply(D,arguments)}}(U));for(var L=0;L<v.length;L++)D.on(v[L],this.emit.bind(this,v[L]));return this._read=function(ee){u("wrapped _read",ee),Q&&(Q=!1,D.resume())},this},Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),x._fromList=K;function K(D,T){if(T.length===0)return null;var Y;return T.objectMode?Y=T.buffer.shift():!D||D>=T.length?(T.decoder?Y=T.buffer.join(""):T.buffer.length===1?Y=T.buffer.head.data:Y=T.buffer.concat(T.length),T.buffer.clear()):Y=P(D,T.buffer,T.decoder),Y}function P(D,T,Y){var Q;return D<T.head.data.length?(Q=T.head.data.slice(0,D),T.head.data=T.head.data.slice(D)):D===T.head.data.length?Q=T.shift():Q=Y?w(D,T):$(D,T),Q}function w(D,T){var Y=T.head,Q=1,U=Y.data;for(D-=U.length;Y=Y.next;){var L=Y.data,ee=D>L.length?L.length:D;if(ee===L.length?U+=L:U+=L.slice(0,D),D-=ee,D===0){ee===L.length?(++Q,Y.next?T.head=Y.next:T.head=T.tail=null):(T.head=Y,Y.data=L.slice(ee));break}++Q}return T.length-=Q,U}function $(D,T){var Y=i.allocUnsafe(D),Q=T.head,U=1;for(Q.data.copy(Y),D-=Q.data.length;Q=Q.next;){var L=Q.data,ee=D>L.length?L.length:D;if(L.copy(Y,Y.length-D,0,ee),D-=ee,D===0){ee===L.length?(++U,Q.next?T.head=Q.next:T.head=T.tail=null):(T.head=Q,Q.data=L.slice(ee));break}++U}return T.length-=U,Y}function H(D){var T=D._readableState;if(T.length>0)throw new Error('"endReadable()" called on non-empty stream');T.endEmitted||(T.ended=!0,e.nextTick(J,T,D))}function J(D,T){!D.endEmitted&&D.length===0&&(D.endEmitted=!0,T.readable=!1,T.emit("end"))}function V(D,T){for(var Y=0,Q=D.length;Y<Q;Y++)if(D[Y]===T)return Y;return-1}return _stream_readable}var _stream_transform,hasRequired_stream_transform;function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform;hasRequired_stream_transform=1,_stream_transform=a;var e=require_stream_duplex(),r=Object.create(requireUtil());r.inherits=requireInherits_browser(),r.inherits(a,e);function n(d,s){var f=this._transformState;f.transforming=!1;var o=f.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));f.writechunk=null,f.writecb=null,s!=null&&this.push(s),o(d);var t=this._readableState;t.reading=!1,(t.needReadable||t.length<t.highWaterMark)&&this._read(t.highWaterMark)}function a(d){if(!(this instanceof a))return new a(d);e.call(this,d),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",h)}function h(){var d=this;typeof this._flush=="function"?this._flush(function(s,f){i(d,s,f)}):i(this,null,null)}a.prototype.push=function(d,s){return this._transformState.needTransform=!1,e.prototype.push.call(this,d,s)},a.prototype._transform=function(d,s,f){throw new Error("_transform() is not implemented")},a.prototype._write=function(d,s,f){var o=this._transformState;if(o.writecb=f,o.writechunk=d,o.writeencoding=s,!o.transforming){var t=this._readableState;(o.needTransform||t.needReadable||t.length<t.highWaterMark)&&this._read(t.highWaterMark)}},a.prototype._read=function(d){var s=this._transformState;s.writechunk!==null&&s.writecb&&!s.transforming?(s.transforming=!0,this._transform(s.writechunk,s.writeencoding,s.afterTransform)):s.needTransform=!0},a.prototype._destroy=function(d,s){var f=this;e.prototype._destroy.call(this,d,function(o){s(o),f.emit("close")})};function i(d,s,f){if(s)return d.emit("error",s);if(f!=null&&d.push(f),d._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(d._transformState.transforming)throw new Error("Calling transform done when still transforming");return d.push(null)}return _stream_transform}var _stream_passthrough,hasRequired_stream_passthrough;function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough;hasRequired_stream_passthrough=1,_stream_passthrough=n;var e=require_stream_transform(),r=Object.create(requireUtil());r.inherits=requireInherits_browser(),r.inherits(n,e);function n(a){if(!(this instanceof n))return new n(a);e.call(this,a)}return n.prototype._transform=function(a,h,i){i(null,a)},_stream_passthrough}var hasRequiredReadableBrowser;function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,function(e,r){r=e.exports=require_stream_readable(),r.Stream=r,r.Readable=r,r.Writable=require_stream_writable(),r.Duplex=require_stream_duplex(),r.Transform=require_stream_transform(),r.PassThrough=require_stream_passthrough()}(readableBrowser,readableBrowser.exports)),readableBrowser.exports}var hashBase,hasRequiredHashBase;function requireHashBase(){if(hasRequiredHashBase)return hashBase;hasRequiredHashBase=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$1(),n=requireReadableBrowser().Transform,a=requireInherits_browser();function h(i){n.call(this),this._block=e.allocUnsafe(i),this._blockSize=i,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return a(h,n),h.prototype._transform=function(i,d,s){var f=null;try{this.update(i,d)}catch(o){f=o}s(f)},h.prototype._flush=function(i){var d=null;try{this.push(this.digest())}catch(s){d=s}i(d)},h.prototype.update=function(i,d){if(this._finalized)throw new Error("Digest already called");for(var s=r(i,d),f=this._block,o=0;this._blockOffset+s.length-o>=this._blockSize;){for(var t=this._blockOffset;t<this._blockSize;)f[t]=s[o],t+=1,o+=1;this._update(),this._blockOffset=0}for(;o<s.length;)f[this._blockOffset]=s[o],this._blockOffset+=1,o+=1;for(var u=0,c=s.length*8;c>0;++u)this._length[u]+=c,c=this._length[u]/4294967296|0,c>0&&(this._length[u]-=4294967296*c);return this},h.prototype._update=function(){throw new Error("_update is not implemented")},h.prototype.digest=function(i){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();i!==void 0&&(d=d.toString(i)),this._block.fill(0),this._blockOffset=0;for(var s=0;s<4;++s)this._length[s]=0;return d},h.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase=h,hashBase}var ripemd160$2,hasRequiredRipemd160$1;function requireRipemd160$1(){if(hasRequiredRipemd160$1)return ripemd160$2;hasRequiredRipemd160$1=1;var e=requireDist().Buffer,r=requireInherits_browser(),n=requireHashBase(),a=new Array(16),h=[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],i=[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],d=[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],s=[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],f=[0,1518500249,1859775393,2400959708,2840853838],o=[1352829926,1548603684,1836072691,2053994217,0];function t(g,x){return g<<x|g>>>32-x}function u(g,x,_,m,q,I,O,j){return t(g+(x^_^m)+I+O|0,j)+q|0}function c(g,x,_,m,q,I,O,j){return t(g+(x&_|~x&m)+I+O|0,j)+q|0}function l(g,x,_,m,q,I,O,j){return t(g+((x|~_)^m)+I+O|0,j)+q|0}function p(g,x,_,m,q,I,O,j){return t(g+(x&m|_&~m)+I+O|0,j)+q|0}function v(g,x,_,m,q,I,O,j){return t(g+(x^(_|~m))+I+O|0,j)+q|0}function y(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return r(y,n),y.prototype._update=function(){for(var g=a,x=0;x<16;++x)g[x]=this._block.readInt32LE(x*4);for(var _=this._a|0,m=this._b|0,q=this._c|0,I=this._d|0,O=this._e|0,j=this._a|0,z=this._b|0,W=this._c|0,X=this._d|0,M=this._e|0,S=0;S<80;S+=1){var b,A;S<16?(b=u(_,m,q,I,O,g[h[S]],f[0],d[S]),A=v(j,z,W,X,M,g[i[S]],o[0],s[S])):S<32?(b=c(_,m,q,I,O,g[h[S]],f[1],d[S]),A=p(j,z,W,X,M,g[i[S]],o[1],s[S])):S<48?(b=l(_,m,q,I,O,g[h[S]],f[2],d[S]),A=l(j,z,W,X,M,g[i[S]],o[2],s[S])):S<64?(b=p(_,m,q,I,O,g[h[S]],f[3],d[S]),A=c(j,z,W,X,M,g[i[S]],o[3],s[S])):(b=v(_,m,q,I,O,g[h[S]],f[4],d[S]),A=u(j,z,W,X,M,g[i[S]],o[4],s[S])),_=O,O=I,I=t(q,10),q=m,m=b,j=M,M=X,X=t(W,10),W=z,z=A}var C=this._b+q+X|0;this._b=this._c+I+M|0,this._c=this._d+O+j|0,this._d=this._e+_+z|0,this._e=this._a+m+W|0,this._a=C},y.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,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 g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ripemd160$2=y,ripemd160$2}var sha_js={exports:{}},hash$1,hasRequiredHash$1;function requireHash$1(){if(hasRequiredHash$1)return hash$1;hasRequiredHash$1=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$2();function n(a,h){this._block=e.alloc(a),this._finalSize=h,this._blockSize=a,this._len=0}return n.prototype.update=function(a,h){a=r(a,h||"utf8");for(var i=this._block,d=this._blockSize,s=a.length,f=this._len,o=0;o<s;){for(var t=f%d,u=Math.min(s-o,d-t),c=0;c<u;c++)i[t+c]=a[o+c];f+=u,o+=u,f%d===0&&this._update(i)}return this._len+=s,this},n.prototype.digest=function(a){var h=this._len%this._blockSize;this._block[h]=128,this._block.fill(0,h+1),h>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=this._len*8;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var d=(i&4294967295)>>>0,s=(i-d)/4294967296;this._block.writeUInt32BE(s,this._blockSize-8),this._block.writeUInt32BE(d,this._blockSize-4)}this._update(this._block);var f=this._hash();return a?f.toString(a):f},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},hash$1=n,hash$1}var sha$1,hasRequiredSha$1;function requireSha$1(){if(hasRequiredSha$1)return sha$1;hasRequiredSha$1=1;var e=requireInherits_browser(),r=requireHash$1(),n=requireSafeBuffer$1().Buffer,a=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function i(){this.init(),this._w=h,r.call(this,64,56)}e(i,r),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(o){return o<<5|o>>>27}function s(o){return o<<30|o>>>2}function f(o,t,u,c){return o===0?t&u|~t&c:o===2?t&u|t&c|u&c:t^u^c}return i.prototype._update=function(o){for(var t=this._w,u=this._a|0,c=this._b|0,l=this._c|0,p=this._d|0,v=this._e|0,y=0;y<16;++y)t[y]=o.readInt32BE(y*4);for(;y<80;++y)t[y]=t[y-3]^t[y-8]^t[y-14]^t[y-16];for(var g=0;g<80;++g){var x=~~(g/20),_=d(u)+f(x,c,l,p)+v+t[g]+a[x]|0;v=p,p=l,l=s(c),c=u,u=_}this._a=u+this._a|0,this._b=c+this._b|0,this._c=l+this._c|0,this._d=p+this._d|0,this._e=v+this._e|0},i.prototype._hash=function(){var o=n.allocUnsafe(20);return o.writeInt32BE(this._a|0,0),o.writeInt32BE(this._b|0,4),o.writeInt32BE(this._c|0,8),o.writeInt32BE(this._d|0,12),o.writeInt32BE(this._e|0,16),o},sha$1=i,sha$1}var sha1$2,hasRequiredSha1$1;function requireSha1$1(){if(hasRequiredSha1$1)return sha1$2;hasRequiredSha1$1=1;var e=requireInherits_browser(),r=requireHash$1(),n=requireSafeBuffer$1().Buffer,a=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function i(){this.init(),this._w=h,r.call(this,64,56)}e(i,r),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(t){return t<<1|t>>>31}function s(t){return t<<5|t>>>27}function f(t){return t<<30|t>>>2}function o(t,u,c,l){return t===0?u&c|~u&l:t===2?u&c|u&l|c&l:u^c^l}return i.prototype._update=function(t){for(var u=this._w,c=this._a|0,l=this._b|0,p=this._c|0,v=this._d|0,y=this._e|0,g=0;g<16;++g)u[g]=t.readInt32BE(g*4);for(;g<80;++g)u[g]=d(u[g-3]^u[g-8]^u[g-14]^u[g-16]);for(var x=0;x<80;++x){var _=~~(x/20),m=s(c)+o(_,l,p,v)+y+u[x]+a[_]|0;y=v,v=p,p=f(l),l=c,c=m}this._a=c+this._a|0,this._b=l+this._b|0,this._c=p+this._c|0,this._d=v+this._d|0,this._e=y+this._e|0},i.prototype._hash=function(){var t=n.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t},sha1$2=i,sha1$2}var sha256$3,hasRequiredSha256$1;function requireSha256$1(){if(hasRequiredSha256$1)return sha256$3;hasRequiredSha256$1=1;var e=requireInherits_browser(),r=requireHash$1(),n=requireSafeBuffer$1().Buffer,a=[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],h=new Array(64);function i(){this.init(),this._w=h,r.call(this,64,56)}e(i,r),i.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};function d(c,l,p){return p^c&(l^p)}function s(c,l,p){return c&l|p&(c|l)}function f(c){return(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10)}function o(c){return(c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7)}function t(c){return(c>>>7|c<<25)^(c>>>18|c<<14)^c>>>3}function u(c){return(c>>>17|c<<15)^(c>>>19|c<<13)^c>>>10}return i.prototype._update=function(c){for(var l=this._w,p=this._a|0,v=this._b|0,y=this._c|0,g=this._d|0,x=this._e|0,_=this._f|0,m=this._g|0,q=this._h|0,I=0;I<16;++I)l[I]=c.readInt32BE(I*4);for(;I<64;++I)l[I]=u(l[I-2])+l[I-7]+t(l[I-15])+l[I-16]|0;for(var O=0;O<64;++O){var j=q+o(x)+d(x,_,m)+a[O]+l[O]|0,z=f(p)+s(p,v,y)|0;q=m,m=_,_=x,x=g+j|0,g=y,y=v,v=p,p=j+z|0}this._a=p+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=x+this._e|0,this._f=_+this._f|0,this._g=m+this._g|0,this._h=q+this._h|0},i.prototype._hash=function(){var c=n.allocUnsafe(32);return c.writeInt32BE(this._a,0),c.writeInt32BE(this._b,4),c.writeInt32BE(this._c,8),c.writeInt32BE(this._d,12),c.writeInt32BE(this._e,16),c.writeInt32BE(this._f,20),c.writeInt32BE(this._g,24),c.writeInt32BE(this._h,28),c},sha256$3=i,sha256$3}var sha224$3,hasRequiredSha224$1;function requireSha224$1(){if(hasRequiredSha224$1)return sha224$3;hasRequiredSha224$1=1;var e=requireInherits_browser(),r=requireSha256$1(),n=requireHash$1(),a=requireSafeBuffer$1().Buffer,h=new Array(64);function i(){this.init(),this._w=h,n.call(this,64,56)}return e(i,r),i.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},i.prototype._hash=function(){var d=a.allocUnsafe(28);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d},sha224$3=i,sha224$3}var sha512$3,hasRequiredSha512$1;function requireSha512$1(){if(hasRequiredSha512$1)return sha512$3;hasRequiredSha512$1=1;var e=requireInherits_browser(),r=requireHash$1(),n=requireSafeBuffer$1().Buffer,a=[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],h=new Array(160);function i(){this.init(),this._w=h,r.call(this,128,112)}e(i,r),i.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};function d(v,y,g){return g^v&(y^g)}function s(v,y,g){return v&y|g&(v|y)}function f(v,y){return(v>>>28|y<<4)^(y>>>2|v<<30)^(y>>>7|v<<25)}function o(v,y){return(v>>>14|y<<18)^(v>>>18|y<<14)^(y>>>9|v<<23)}function t(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^v>>>7}function u(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^(v>>>7|y<<25)}function c(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^v>>>6}function l(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^(v>>>6|y<<26)}function p(v,y){return v>>>0<y>>>0?1:0}return i.prototype._update=function(v){for(var y=this._w,g=this._ah|0,x=this._bh|0,_=this._ch|0,m=this._dh|0,q=this._eh|0,I=this._fh|0,O=this._gh|0,j=this._hh|0,z=this._al|0,W=this._bl|0,X=this._cl|0,M=this._dl|0,S=this._el|0,b=this._fl|0,A=this._gl|0,C=this._hl|0,E=0;E<32;E+=2)y[E]=v.readInt32BE(E*4),y[E+1]=v.readInt32BE(E*4+4);for(;E<160;E+=2){var F=y[E-30],k=y[E-15*2+1],K=t(F,k),P=u(k,F);F=y[E-2*2],k=y[E-2*2+1];var w=c(F,k),$=l(k,F),H=y[E-7*2],J=y[E-7*2+1],V=y[E-16*2],D=y[E-16*2+1],T=P+J|0,Y=K+H+p(T,P)|0;T=T+$|0,Y=Y+w+p(T,$)|0,T=T+D|0,Y=Y+V+p(T,D)|0,y[E]=Y,y[E+1]=T}for(var Q=0;Q<160;Q+=2){Y=y[Q],T=y[Q+1];var U=s(g,x,_),L=s(z,W,X),ee=f(g,z),ie=f(z,g),oe=o(q,S),ae=o(S,q),fe=a[Q],de=a[Q+1],ne=d(q,I,O),le=d(S,b,A),se=C+ae|0,ce=j+oe+p(se,C)|0;se=se+le|0,ce=ce+ne+p(se,le)|0,se=se+de|0,ce=ce+fe+p(se,de)|0,se=se+T|0,ce=ce+Y+p(se,T)|0;var ue=ie+L|0,he=ee+U+p(ue,ie)|0;j=O,C=A,O=I,A=b,I=q,b=S,S=M+se|0,q=m+ce+p(S,M)|0,m=_,M=X,_=x,X=W,x=g,W=z,z=se+ue|0,g=ce+he+p(z,se)|0}this._al=this._al+z|0,this._bl=this._bl+W|0,this._cl=this._cl+X|0,this._dl=this._dl+M|0,this._el=this._el+S|0,this._fl=this._fl+b|0,this._gl=this._gl+A|0,this._hl=this._hl+C|0,this._ah=this._ah+g+p(this._al,z)|0,this._bh=this._bh+x+p(this._bl,W)|0,this._ch=this._ch+_+p(this._cl,X)|0,this._dh=this._dh+m+p(this._dl,M)|0,this._eh=this._eh+q+p(this._el,S)|0,this._fh=this._fh+I+p(this._fl,b)|0,this._gh=this._gh+O+p(this._gl,A)|0,this._hh=this._hh+j+p(this._hl,C)|0},i.prototype._hash=function(){var v=n.allocUnsafe(64);function y(g,x,_){v.writeInt32BE(g,_),v.writeInt32BE(x,_+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),v},sha512$3=i,sha512$3}var sha384$3,hasRequiredSha384$1;function requireSha384$1(){if(hasRequiredSha384$1)return sha384$3;hasRequiredSha384$1=1;var e=requireInherits_browser(),r=requireSha512$1(),n=requireHash$1(),a=requireSafeBuffer$1().Buffer,h=new Array(160);function i(){this.init(),this._w=h,n.call(this,128,112)}return e(i,r),i.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},i.prototype._hash=function(){var d=a.allocUnsafe(48);function s(f,o,t){d.writeInt32BE(f,t),d.writeInt32BE(o,t+4)}return s(this._ah,this._al,0),s(this._bh,this._bl,8),s(this._ch,this._cl,16),s(this._dh,this._dl,24),s(this._eh,this._el,32),s(this._fh,this._fl,40),d},sha384$3=i,sha384$3}var hasRequiredSha_js;function requireSha_js(){return hasRequiredSha_js||(hasRequiredSha_js=1,function(e){e.exports=function(n){var a=n.toLowerCase(),h=e.exports[a];if(!h)throw new Error(a+" is not supported (we accept pull requests)");return new h},e.exports.sha=requireSha$1(),e.exports.sha1=requireSha1$1(),e.exports.sha224=requireSha224$1(),e.exports.sha256=requireSha256$1(),e.exports.sha384=requireSha384$1(),e.exports.sha512=requireSha512$1()}(sha_js)),sha_js.exports}var cipherBase,hasRequiredCipherBase;function requireCipherBase(){if(hasRequiredCipherBase)return cipherBase;hasRequiredCipherBase=1;var e=requireSafeBuffer$1().Buffer,r=requireStreamBrowserify().Transform,n=requireString_decoder().StringDecoder,a=requireInherits_browser(),h=requireToBuffer$2();function i(d){r.call(this),this.hashMode=typeof d=="string",this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}return a(i,r),i.prototype.update=function(d,s,f){var o=h(d,s),t=this._update(o);return this.hashMode?this:(f&&(t=this._toString(t,f)),t)},i.prototype.setAutoPadding=function(){},i.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},i.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},i.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},i.prototype._transform=function(d,s,f){var o;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(t){o=t}finally{f(o)}},i.prototype._flush=function(d){var s;try{this.push(this.__final())}catch(f){s=f}d(s)},i.prototype._finalOrDigest=function(d){var s=this.__final()||e.alloc(0);return d&&(s=this._toString(s,d,!0)),s},i.prototype._toString=function(d,s,f){if(this._decoder||(this._decoder=new n(s),this._encoding=s),this._encoding!==s)throw new Error("can’t switch encodings");var o=this._decoder.write(d);return f&&(o+=this._decoder.end()),o},cipherBase=i,cipherBase}var browser$9,hasRequiredBrowser$9;function requireBrowser$9(){if(hasRequiredBrowser$9)return browser$9;hasRequiredBrowser$9=1;var e=requireInherits_browser(),r=requireMd5_js(),n=requireRipemd160$1(),a=requireSha_js(),h=requireCipherBase();function i(d){h.call(this,"digest"),this._hash=d}return e(i,h),i.prototype._update=function(d){this._hash.update(d)},i.prototype._final=function(){return this._hash.digest()},browser$9=function(s){return s=s.toLowerCase(),s==="md5"?new r:s==="rmd160"||s==="ripemd160"?new n:new i(a(s))},browser$9}var legacy,hasRequiredLegacy;function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var e=requireInherits_browser(),r=requireSafeBuffer$1().Buffer,n=requireCipherBase(),a=r.alloc(128),h=64;function i(d,s){n.call(this,"digest"),typeof s=="string"&&(s=r.from(s)),this._alg=d,this._key=s,s.length>h?s=d(s):s.length<h&&(s=r.concat([s,a],h));for(var f=this._ipad=r.allocUnsafe(h),o=this._opad=r.allocUnsafe(h),t=0;t<h;t++)f[t]=s[t]^54,o[t]=s[t]^92;this._hash=[f]}return e(i,n),i.prototype._update=function(d){this._hash.push(d)},i.prototype._final=function(){var d=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,d]))},legacy=i,legacy}var md5$2,hasRequiredMd5$1;function requireMd5$1(){if(hasRequiredMd5$1)return md5$2;hasRequiredMd5$1=1;var e=requireMd5_js();return md5$2=function(r){return new e().update(r).digest()},md5$2}var browser$8,hasRequiredBrowser$8;function requireBrowser$8(){if(hasRequiredBrowser$8)return browser$8;hasRequiredBrowser$8=1;var e=requireInherits_browser(),r=requireLegacy(),n=requireCipherBase(),a=requireSafeBuffer$1().Buffer,h=requireMd5$1(),i=requireRipemd160$1(),d=requireSha_js(),s=a.alloc(128);function f(o,t){n.call(this,"digest"),typeof t=="string"&&(t=a.from(t));var u=o==="sha512"||o==="sha384"?128:64;if(this._alg=o,this._key=t,t.length>u){var c=o==="rmd160"?new i:d(o);t=c.update(t).digest()}else t.length<u&&(t=a.concat([t,s],u));for(var l=this._ipad=a.allocUnsafe(u),p=this._opad=a.allocUnsafe(u),v=0;v<u;v++)l[v]=t[v]^54,p[v]=t[v]^92;this._hash=o==="rmd160"?new i:d(o),this._hash.update(l)}return e(f,n),f.prototype._update=function(o){this._hash.update(o)},f.prototype._final=function(){var o=this._hash.digest(),t=this._alg==="rmd160"?new i:d(this._alg);return t.update(this._opad).update(o).digest()},browser$8=function(t,u){return t=t.toLowerCase(),t==="rmd160"||t==="ripemd160"?new f("rmd160",u):t==="md5"?new r(h,u):new f(t,u)},browser$8}const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256$2={sign:"ecdsa",hash:"sha256",id:""},sha224$2={sign:"ecdsa",hash:"sha224",id:""},sha384$2={sign:"ecdsa",hash:"sha384",id:""},sha512$2={sign:"ecdsa",hash:"sha512",id:""},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:sha256$2,sha224:sha224$2,sha384:sha384$2,sha512:sha512$2,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos,hasRequiredAlgos;function requireAlgos(){return hasRequiredAlgos||(hasRequiredAlgos=1,algos=require$$6),algos}var browser$7={},precondition,hasRequiredPrecondition;function requirePrecondition(){if(hasRequiredPrecondition)return precondition;hasRequiredPrecondition=1;var e=isFinite,r=Math.pow(2,30)-1;return precondition=function(n,a){if(typeof n!="number")throw new TypeError("Iterations not a number");if(n<0||!e(n))throw new TypeError("Bad iterations");if(typeof a!="number")throw new TypeError("Key length not a number");if(a<0||a>r||a!==a)throw new TypeError("Bad key length")},precondition}var defaultEncoding_1,hasRequiredDefaultEncoding;function requireDefaultEncoding(){if(hasRequiredDefaultEncoding)return defaultEncoding_1;hasRequiredDefaultEncoding=1;var e;if(commonjsGlobal.process&&commonjsGlobal.process.browser)e="utf-8";else if(commonjsGlobal.process&&commonjsGlobal.process.version){var r=parseInt(process$1.version.split(".")[0].slice(1),10);e=r>=6?"utf-8":"binary"}else e="utf-8";return defaultEncoding_1=e,defaultEncoding_1}var toBuffer_1,hasRequiredToBuffer;function requireToBuffer(){if(hasRequiredToBuffer)return toBuffer_1;hasRequiredToBuffer=1;var e=requireSafeBuffer$1().Buffer,r=requireToBuffer$2(),n=typeof Uint8Array<"u",a=n&&typeof ArrayBuffer<"u",h=a&&ArrayBuffer.isView;return toBuffer_1=function(i,d,s){if(typeof i=="string"||e.isBuffer(i)||n&&i instanceof Uint8Array||h&&h(i))return r(i,d);throw new TypeError(s+" must be a string, a Buffer, a Uint8Array, or a DataView")},toBuffer_1}var syncBrowser,hasRequiredSyncBrowser;function requireSyncBrowser(){if(hasRequiredSyncBrowser)return syncBrowser;hasRequiredSyncBrowser=1;var e=requireMd5$1(),r=requireRipemd160$1(),n=requireSha_js(),a=requireSafeBuffer$1().Buffer,h=requirePrecondition(),i=requireDefaultEncoding(),d=requireToBuffer(),s=a.alloc(128),f={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},o={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function t(p){return new r().update(p).digest()}function u(p){function v(y){return n(p).update(y).digest()}return p==="rmd160"||p==="ripemd160"?t:p==="md5"?e:v}function c(p,v,y){var g=u(p),x=p==="sha512"||p==="sha384"?128:64;v.length>x?v=g(v):v.length<x&&(v=a.concat([v,s],x));for(var _=a.allocUnsafe(x+f[p]),m=a.allocUnsafe(x+f[p]),q=0;q<x;q++)_[q]=v[q]^54,m[q]=v[q]^92;var I=a.allocUnsafe(x+y+4);_.copy(I,0,0,x),this.ipad1=I,this.ipad2=_,this.opad=m,this.alg=p,this.blocksize=x,this.hash=g,this.size=f[p]}c.prototype.run=function(p,v){p.copy(v,this.blocksize);var y=this.hash(v);return y.copy(this.opad,this.blocksize),this.hash(this.opad)};function l(p,v,y,g,x){h(y,g),p=d(p,i,"Password"),v=d(v,i,"Salt");var _=(x||"sha1").toLowerCase(),m=o[_]||_,q=f[m];if(typeof q!="number"||!q)throw new TypeError("Digest algorithm not supported: "+x);var I=new c(m,p,v.length),O=a.allocUnsafe(g),j=a.allocUnsafe(v.length+4);v.copy(j,0,0,v.length);for(var z=0,W=q,X=Math.ceil(g/W),M=1;M<=X;M++){j.writeUInt32BE(M,v.length);for(var S=I.run(j,I.ipad1),b=S,A=1;A<y;A++){b=I.run(b,I.ipad2);for(var C=0;C<W;C++)S[C]^=b[C]}S.copy(O,z),z+=W}return O}return syncBrowser=l,syncBrowser}var async,hasRequiredAsync;function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var e=requireSafeBuffer$1().Buffer,r=requirePrecondition(),n=requireDefaultEncoding(),a=requireSyncBrowser(),h=requireToBuffer(),i,d=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,s={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[],o;function t(){return o||(commonjsGlobal.process&&commonjsGlobal.process.nextTick?o=commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?o=commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?o=commonjsGlobal.setImmediate:o=commonjsGlobal.setTimeout,o)}function u(p,v,y,g,x){return d.importKey("raw",p,{name:"PBKDF2"},!1,["deriveBits"]).then(function(_){return d.deriveBits({name:"PBKDF2",salt:v,iterations:y,hash:{name:x}},_,g<<3)}).then(function(_){return e.from(_)})}function c(p){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(f[p]!==void 0)return f[p];i=i||e.alloc(8);var v=u(i,i,10,128,p).then(function(){return!0},function(){return!1});return f[p]=v,v}function l(p,v){p.then(function(y){t()(function(){v(null,y)})},function(y){t()(function(){v(y)})})}return async=function(p,v,y,g,x,_){if(typeof x=="function"&&(_=x,x=void 0),r(y,g),p=h(p,n,"Password"),v=h(v,n,"Salt"),typeof _!="function")throw new Error("No callback provided to pbkdf2");x=x||"sha1";var m=s[x.toLowerCase()];if(!m||typeof commonjsGlobal.Promise!="function"){t()(function(){var q;try{q=a(p,v,y,g,x)}catch(I){_(I);return}_(null,q)});return}l(c(m).then(function(q){return q?u(p,v,y,g,m):a(p,v,y,g,x)}),_)},async}var hasRequiredBrowser$7;function requireBrowser$7(){return hasRequiredBrowser$7||(hasRequiredBrowser$7=1,browser$7.pbkdf2=requireAsync(),browser$7.pbkdf2Sync=requireSyncBrowser()),browser$7}var browser$6={},des$1={},utils$3={},hasRequiredUtils$3;function requireUtils$3(){if(hasRequiredUtils$3)return utils$3;hasRequiredUtils$3=1,utils$3.readUInt32BE=function(h,i){var d=h[0+i]<<24|h[1+i]<<16|h[2+i]<<8|h[3+i];return d>>>0},utils$3.writeUInt32BE=function(h,i,d){h[0+d]=i>>>24,h[1+d]=i>>>16&255,h[2+d]=i>>>8&255,h[3+d]=i&255},utils$3.ip=function(h,i,d,s){for(var f=0,o=0,t=6;t>=0;t-=2){for(var u=0;u<=24;u+=8)f<<=1,f|=i>>>u+t&1;for(var u=0;u<=24;u+=8)f<<=1,f|=h>>>u+t&1}for(var t=6;t>=0;t-=2){for(var u=1;u<=25;u+=8)o<<=1,o|=i>>>u+t&1;for(var u=1;u<=25;u+=8)o<<=1,o|=h>>>u+t&1}d[s+0]=f>>>0,d[s+1]=o>>>0},utils$3.rip=function(h,i,d,s){for(var f=0,o=0,t=0;t<4;t++)for(var u=24;u>=0;u-=8)f<<=1,f|=i>>>u+t&1,f<<=1,f|=h>>>u+t&1;for(var t=4;t<8;t++)for(var u=24;u>=0;u-=8)o<<=1,o|=i>>>u+t&1,o<<=1,o|=h>>>u+t&1;d[s+0]=f>>>0,d[s+1]=o>>>0},utils$3.pc1=function(h,i,d,s){for(var f=0,o=0,t=7;t>=5;t--){for(var u=0;u<=24;u+=8)f<<=1,f|=i>>u+t&1;for(var u=0;u<=24;u+=8)f<<=1,f|=h>>u+t&1}for(var u=0;u<=24;u+=8)f<<=1,f|=i>>u+t&1;for(var t=1;t<=3;t++){for(var u=0;u<=24;u+=8)o<<=1,o|=i>>u+t&1;for(var u=0;u<=24;u+=8)o<<=1,o|=h>>u+t&1}for(var u=0;u<=24;u+=8)o<<=1,o|=h>>u+t&1;d[s+0]=f>>>0,d[s+1]=o>>>0},utils$3.r28shl=function(h,i){return h<<i&268435455|h>>>28-i};var e=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$3.pc2=function(h,i,d,s){for(var f=0,o=0,t=e.length>>>1,u=0;u<t;u++)f<<=1,f|=h>>>e[u]&1;for(var u=t;u<e.length;u++)o<<=1,o|=i>>>e[u]&1;d[s+0]=f>>>0,d[s+1]=o>>>0},utils$3.expand=function(h,i,d){var s=0,f=0;s=(h&1)<<5|h>>>27;for(var o=23;o>=15;o-=4)s<<=6,s|=h>>>o&63;for(var o=11;o>=3;o-=4)f|=h>>>o&63,f<<=6;f|=(h&31)<<1|h>>>31,i[d+0]=s>>>0,i[d+1]=f>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$3.substitute=function(h,i){for(var d=0,s=0;s<4;s++){var f=h>>>18-s*6&63,o=r[s*64+f];d<<=4,d|=o}for(var s=0;s<4;s++){var f=i>>>18-s*6&63,o=r[4*64+s*64+f];d<<=4,d|=o}return d>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return utils$3.permute=function(h){for(var i=0,d=0;d<n.length;d++)i<<=1,i|=h>>>n[d]&1;return i>>>0},utils$3.padSplit=function(h,i,d){for(var s=h.toString(2);s.length<i;)s="0"+s;for(var f=[],o=0;o<i;o+=d)f.push(s.slice(o,o+d));return f.join(" ")},utils$3}var minimalisticAssert,hasRequiredMinimalisticAssert;function requireMinimalisticAssert(){if(hasRequiredMinimalisticAssert)return minimalisticAssert;hasRequiredMinimalisticAssert=1,minimalisticAssert=e;function e(r,n){if(!r)throw new Error(n||"Assertion failed")}return e.equal=function(n,a,h){if(n!=a)throw new Error(h||"Assertion failed: "+n+" != "+a)},minimalisticAssert}var cipher,hasRequiredCipher;function requireCipher(){if(hasRequiredCipher)return cipher;hasRequiredCipher=1;var e=requireMinimalisticAssert();function r(n){this.options=n,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=n.padding!==!1}return cipher=r,r.prototype._init=function(){},r.prototype.update=function(a){return a.length===0?[]:this.type==="decrypt"?this._updateDecrypt(a):this._updateEncrypt(a)},r.prototype._buffer=function(a,h){for(var i=Math.min(this.buffer.length-this.bufferOff,a.length-h),d=0;d<i;d++)this.buffer[this.bufferOff+d]=a[h+d];return this.bufferOff+=i,i},r.prototype._flushBuffer=function(a,h){return this._update(this.buffer,0,a,h),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(a){var h=0,i=0,d=(this.bufferOff+a.length)/this.blockSize|0,s=new Array(d*this.blockSize);this.bufferOff!==0&&(h+=this._buffer(a,h),this.bufferOff===this.buffer.length&&(i+=this._flushBuffer(s,i)));for(var f=a.length-(a.length-h)%this.blockSize;h<f;h+=this.blockSize)this._update(a,h,s,i),i+=this.blockSize;for(;h<a.length;h++,this.bufferOff++)this.buffer[this.bufferOff]=a[h];return s},r.prototype._updateDecrypt=function(a){for(var h=0,i=0,d=Math.ceil((this.bufferOff+a.length)/this.blockSize)-1,s=new Array(d*this.blockSize);d>0;d--)h+=this._buffer(a,h),i+=this._flushBuffer(s,i);return h+=this._buffer(a,h),s},r.prototype.final=function(a){var h;a&&(h=this.update(a));var i;return this.type==="encrypt"?i=this._finalEncrypt():i=this._finalDecrypt(),h?h.concat(i):i},r.prototype._pad=function(a,h){if(h===0)return!1;for(;h<a.length;)a[h++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var a=new Array(this.blockSize);return this._update(this.buffer,0,a,0),a},r.prototype._unpad=function(a){return a},r.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var a=new Array(this.blockSize);return this._flushBuffer(a,0),this._unpad(a)},cipher}var des,hasRequiredDes$1;function requireDes$1(){if(hasRequiredDes$1)return des;hasRequiredDes$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),n=requireUtils$3(),a=requireCipher();function h(){this.tmp=new Array(2),this.keys=null}function i(s){a.call(this,s);var f=new h;this._desState=f,this.deriveKeys(f,s.key)}r(i,a),des=i,i.create=function(f){return new i(f)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return i.prototype.deriveKeys=function(f,o){f.keys=new Array(16*2),e.equal(o.length,this.blockSize,"Invalid key length");var t=n.readUInt32BE(o,0),u=n.readUInt32BE(o,4);n.pc1(t,u,f.tmp,0),t=f.tmp[0],u=f.tmp[1];for(var c=0;c<f.keys.length;c+=2){var l=d[c>>>1];t=n.r28shl(t,l),u=n.r28shl(u,l),n.pc2(t,u,f.keys,c)}},i.prototype._update=function(f,o,t,u){var c=this._desState,l=n.readUInt32BE(f,o),p=n.readUInt32BE(f,o+4);n.ip(l,p,c.tmp,0),l=c.tmp[0],p=c.tmp[1],this.type==="encrypt"?this._encrypt(c,l,p,c.tmp,0):this._decrypt(c,l,p,c.tmp,0),l=c.tmp[0],p=c.tmp[1],n.writeUInt32BE(t,l,u),n.writeUInt32BE(t,p,u+4)},i.prototype._pad=function(f,o){if(this.padding===!1)return!1;for(var t=f.length-o,u=o;u<f.length;u++)f[u]=t;return!0},i.prototype._unpad=function(f){if(this.padding===!1)return f;for(var o=f[f.length-1],t=f.length-o;t<f.length;t++)e.equal(f[t],o);return f.slice(0,f.length-o)},i.prototype._encrypt=function(f,o,t,u,c){for(var l=o,p=t,v=0;v<f.keys.length;v+=2){var y=f.keys[v],g=f.keys[v+1];n.expand(p,f.tmp,0),y^=f.tmp[0],g^=f.tmp[1];var x=n.substitute(y,g),_=n.permute(x),m=p;p=(l^_)>>>0,l=m}n.rip(p,l,u,c)},i.prototype._decrypt=function(f,o,t,u,c){for(var l=t,p=o,v=f.keys.length-2;v>=0;v-=2){var y=f.keys[v],g=f.keys[v+1];n.expand(l,f.tmp,0),y^=f.tmp[0],g^=f.tmp[1];var x=n.substitute(y,g),_=n.permute(x),m=l;l=(p^_)>>>0,p=m}n.rip(l,p,u,c)},des}var cbc$1={},hasRequiredCbc$1;function requireCbc$1(){if(hasRequiredCbc$1)return cbc$1;hasRequiredCbc$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),n={};function a(i){e.equal(i.length,8,"Invalid IV length"),this.iv=new Array(8);for(var d=0;d<this.iv.length;d++)this.iv[d]=i[d]}function h(i){function d(t){i.call(this,t),this._cbcInit()}r(d,i);for(var s=Object.keys(n),f=0;f<s.length;f++){var o=s[f];d.prototype[o]=n[o]}return d.create=function(u){return new d(u)},d}return cbc$1.instantiate=h,n._cbcInit=function(){var d=new a(this.options.iv);this._cbcState=d},n._update=function(d,s,f,o){var t=this._cbcState,u=this.constructor.super_.prototype,c=t.iv;if(this.type==="encrypt"){for(var l=0;l<this.blockSize;l++)c[l]^=d[s+l];u._update.call(this,c,0,f,o);for(var l=0;l<this.blockSize;l++)c[l]=f[o+l]}else{u._update.call(this,d,s,f,o);for(var l=0;l<this.blockSize;l++)f[o+l]^=c[l];for(var l=0;l<this.blockSize;l++)c[l]=d[s+l]}},cbc$1}var ede,hasRequiredEde;function requireEde(){if(hasRequiredEde)return ede;hasRequiredEde=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),n=requireCipher(),a=requireDes$1();function h(d,s){e.equal(s.length,24,"Invalid key length");var f=s.slice(0,8),o=s.slice(8,16),t=s.slice(16,24);d==="encrypt"?this.ciphers=[a.create({type:"encrypt",key:f}),a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:t})]:this.ciphers=[a.create({type:"decrypt",key:t}),a.create({type:"encrypt",key:o}),a.create({type:"decrypt",key:f})]}function i(d){n.call(this,d);var s=new h(this.type,this.options.key);this._edeState=s}return r(i,n),ede=i,i.create=function(s){return new i(s)},i.prototype._update=function(s,f,o,t){var u=this._edeState;u.ciphers[0]._update(s,f,o,t),u.ciphers[1]._update(o,t,o,t),u.ciphers[2]._update(o,t,o,t)},i.prototype._pad=a.prototype._pad,i.prototype._unpad=a.prototype._unpad,ede}var hasRequiredDes;function requireDes(){return hasRequiredDes||(hasRequiredDes=1,des$1.utils=requireUtils$3(),des$1.Cipher=requireCipher(),des$1.DES=requireDes$1(),des$1.CBC=requireCbc$1(),des$1.EDE=requireEde()),des$1}var browserifyDes,hasRequiredBrowserifyDes;function requireBrowserifyDes(){if(hasRequiredBrowserifyDes)return browserifyDes;hasRequiredBrowserifyDes=1;var e=requireCipherBase(),r=requireDes(),n=requireInherits_browser(),a=requireSafeBuffer$1().Buffer,h={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};h.des=h["des-cbc"],h.des3=h["des-ede3-cbc"],browserifyDes=i,n(i,e);function i(d){e.call(this);var s=d.mode.toLowerCase(),f=h[s],o;d.decrypt?o="decrypt":o="encrypt";var t=d.key;a.isBuffer(t)||(t=a.from(t)),(s==="des-ede"||s==="des-ede-cbc")&&(t=a.concat([t,t.slice(0,8)]));var u=d.iv;a.isBuffer(u)||(u=a.from(u)),this._des=f.create({key:t,iv:u,type:o})}return i.prototype._update=function(d){return a.from(this._des.update(d))},i.prototype._final=function(){return a.from(this._des.final())},browserifyDes}var browser$5={},encrypter={},ecb={},hasRequiredEcb;function requireEcb(){return hasRequiredEcb||(hasRequiredEcb=1,ecb.encrypt=function(e,r){return e._cipher.encryptBlock(r)},ecb.decrypt=function(e,r){return e._cipher.decryptBlock(r)}),ecb}var cbc={},bufferXor,hasRequiredBufferXor;function requireBufferXor(){return hasRequiredBufferXor||(hasRequiredBufferXor=1,bufferXor=function(r,n){for(var a=Math.min(r.length,n.length),h=new Buffer(a),i=0;i<a;++i)h[i]=r[i]^n[i];return h}),bufferXor}var hasRequiredCbc;function requireCbc(){if(hasRequiredCbc)return cbc;hasRequiredCbc=1;var e=requireBufferXor();return cbc.encrypt=function(r,n){var a=e(n,r._prev);return r._prev=r._cipher.encryptBlock(a),r._prev},cbc.decrypt=function(r,n){var a=r._prev;r._prev=n;var h=r._cipher.decryptBlock(n);return e(h,a)},cbc}var cfb={},hasRequiredCfb;function requireCfb(){if(hasRequiredCfb)return cfb;hasRequiredCfb=1;var e=requireSafeBuffer$1().Buffer,r=requireBufferXor();function n(a,h,i){var d=h.length,s=r(h,a._cache);return a._cache=a._cache.slice(d),a._prev=e.concat([a._prev,i?h:s]),s}return cfb.encrypt=function(a,h,i){for(var d=e.allocUnsafe(0),s;h.length;)if(a._cache.length===0&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=e.allocUnsafe(0)),a._cache.length<=h.length)s=a._cache.length,d=e.concat([d,n(a,h.slice(0,s),i)]),h=h.slice(s);else{d=e.concat([d,n(a,h,i)]);break}return d},cfb}var cfb8={},hasRequiredCfb8;function requireCfb8(){if(hasRequiredCfb8)return cfb8;hasRequiredCfb8=1;var e=requireSafeBuffer$1().Buffer;function r(n,a,h){var i=n._cipher.encryptBlock(n._prev),d=i[0]^a;return n._prev=e.concat([n._prev.slice(1),e.from([h?a:d])]),d}return cfb8.encrypt=function(n,a,h){for(var i=a.length,d=e.allocUnsafe(i),s=-1;++s<i;)d[s]=r(n,a[s],h);return d},cfb8}var cfb1={},hasRequiredCfb1;function requireCfb1(){if(hasRequiredCfb1)return cfb1;hasRequiredCfb1=1;var e=requireSafeBuffer$1().Buffer;function r(a,h,i){for(var d,s=-1,f=8,o=0,t,u;++s<f;)d=a._cipher.encryptBlock(a._prev),t=h&1<<7-s?128:0,u=d[0]^t,o+=(u&128)>>s%8,a._prev=n(a._prev,i?t:u);return o}function n(a,h){var i=a.length,d=-1,s=e.allocUnsafe(a.length);for(a=e.concat([a,e.from([h])]);++d<i;)s[d]=a[d]<<1|a[d+1]>>7;return s}return cfb1.encrypt=function(a,h,i){for(var d=h.length,s=e.allocUnsafe(d),f=-1;++f<d;)s[f]=r(a,h[f],i);return s},cfb1}var ofb={},hasRequiredOfb;function requireOfb(){if(hasRequiredOfb)return ofb;hasRequiredOfb=1;var e=requireBufferXor();function r(n){return n._prev=n._cipher.encryptBlock(n._prev),n._prev}return ofb.encrypt=function(n,a){for(;n._cache.length<a.length;)n._cache=Buffer.concat([n._cache,r(n)]);var h=n._cache.slice(0,a.length);return n._cache=n._cache.slice(a.length),e(a,h)},ofb}var ctr={},incr32_1,hasRequiredIncr32;function requireIncr32(){if(hasRequiredIncr32)return incr32_1;hasRequiredIncr32=1;function e(r){for(var n=r.length,a;n--;)if(a=r.readUInt8(n),a===255)r.writeUInt8(0,n);else{a++,r.writeUInt8(a,n);break}}return incr32_1=e,incr32_1}var hasRequiredCtr;function requireCtr(){if(hasRequiredCtr)return ctr;hasRequiredCtr=1;var e=requireBufferXor(),r=requireSafeBuffer$1().Buffer,n=requireIncr32();function a(i){var d=i._cipher.encryptBlockRaw(i._prev);return n(i._prev),d}var h=16;return ctr.encrypt=function(i,d){var s=Math.ceil(d.length/h),f=i._cache.length;i._cache=r.concat([i._cache,r.allocUnsafe(s*h)]);for(var o=0;o<s;o++){var t=a(i),u=f+o*h;i._cache.writeUInt32BE(t[0],u+0),i._cache.writeUInt32BE(t[1],u+4),i._cache.writeUInt32BE(t[2],u+8),i._cache.writeUInt32BE(t[3],u+12)}var c=i._cache.slice(0,d.length);return i._cache=i._cache.slice(d.length),e(d,c)},ctr}const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modes_1,hasRequiredModes$1;function requireModes$1(){if(hasRequiredModes$1)return modes_1;hasRequiredModes$1=1;var e={ECB:requireEcb(),CBC:requireCbc(),CFB:requireCfb(),CFB8:requireCfb8(),CFB1:requireCfb1(),OFB:requireOfb(),CTR:requireCtr(),GCM:requireCtr()},r=require$$2;for(var n in r)r[n].module=e[r[n].mode];return modes_1=r,modes_1}var aes$2={},hasRequiredAes$1;function requireAes$1(){if(hasRequiredAes$1)return aes$2;hasRequiredAes$1=1;var e=requireSafeBuffer$1().Buffer;function r(s){e.isBuffer(s)||(s=e.from(s));for(var f=s.length/4|0,o=new Array(f),t=0;t<f;t++)o[t]=s.readUInt32BE(t*4);return o}function n(s){for(var f=0;f<s.length;s++)s[f]=0}function a(s,f,o,t,u){for(var c=o[0],l=o[1],p=o[2],v=o[3],y=s[0]^f[0],g=s[1]^f[1],x=s[2]^f[2],_=s[3]^f[3],m,q,I,O,j=4,z=1;z<u;z++)m=c[y>>>24]^l[g>>>16&255]^p[x>>>8&255]^v[_&255]^f[j++],q=c[g>>>24]^l[x>>>16&255]^p[_>>>8&255]^v[y&255]^f[j++],I=c[x>>>24]^l[_>>>16&255]^p[y>>>8&255]^v[g&255]^f[j++],O=c[_>>>24]^l[y>>>16&255]^p[g>>>8&255]^v[x&255]^f[j++],y=m,g=q,x=I,_=O;return m=(t[y>>>24]<<24|t[g>>>16&255]<<16|t[x>>>8&255]<<8|t[_&255])^f[j++],q=(t[g>>>24]<<24|t[x>>>16&255]<<16|t[_>>>8&255]<<8|t[y&255])^f[j++],I=(t[x>>>24]<<24|t[_>>>16&255]<<16|t[y>>>8&255]<<8|t[g&255])^f[j++],O=(t[_>>>24]<<24|t[y>>>16&255]<<16|t[g>>>8&255]<<8|t[x&255])^f[j++],m=m>>>0,q=q>>>0,I=I>>>0,O=O>>>0,[m,q,I,O]}var h=[0,1,2,4,8,16,32,64,128,27,54],i=function(){for(var s=new Array(256),f=0;f<256;f++)f<128?s[f]=f<<1:s[f]=f<<1^283;for(var o=[],t=[],u=[[],[],[],[]],c=[[],[],[],[]],l=0,p=0,v=0;v<256;++v){var y=p^p<<1^p<<2^p<<3^p<<4;y=y>>>8^y&255^99,o[l]=y,t[y]=l;var g=s[l],x=s[g],_=s[x],m=s[y]*257^y*16843008;u[0][l]=m<<24|m>>>8,u[1][l]=m<<16|m>>>16,u[2][l]=m<<8|m>>>24,u[3][l]=m,m=_*16843009^x*65537^g*257^l*16843008,c[0][y]=m<<24|m>>>8,c[1][y]=m<<16|m>>>16,c[2][y]=m<<8|m>>>24,c[3][y]=m,l===0?l=p=1:(l=g^s[s[s[_^g]]],p^=s[s[p]])}return{SBOX:o,INV_SBOX:t,SUB_MIX:u,INV_SUB_MIX:c}}();function d(s){this._key=r(s),this._reset()}return d.blockSize=4*4,d.keySize=256/8,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var s=this._key,f=s.length,o=f+6,t=(o+1)*4,u=[],c=0;c<f;c++)u[c]=s[c];for(c=f;c<t;c++){var l=u[c-1];c%f===0?(l=l<<8|l>>>24,l=i.SBOX[l>>>24]<<24|i.SBOX[l>>>16&255]<<16|i.SBOX[l>>>8&255]<<8|i.SBOX[l&255],l^=h[c/f|0]<<24):f>6&&c%f===4&&(l=i.SBOX[l>>>24]<<24|i.SBOX[l>>>16&255]<<16|i.SBOX[l>>>8&255]<<8|i.SBOX[l&255]),u[c]=u[c-f]^l}for(var p=[],v=0;v<t;v++){var y=t-v,g=u[y-(v%4?0:4)];v<4||y<=4?p[v]=g:p[v]=i.INV_SUB_MIX[0][i.SBOX[g>>>24]]^i.INV_SUB_MIX[1][i.SBOX[g>>>16&255]]^i.INV_SUB_MIX[2][i.SBOX[g>>>8&255]]^i.INV_SUB_MIX[3][i.SBOX[g&255]]}this._nRounds=o,this._keySchedule=u,this._invKeySchedule=p},d.prototype.encryptBlockRaw=function(s){return s=r(s),a(s,this._keySchedule,i.SUB_MIX,i.SBOX,this._nRounds)},d.prototype.encryptBlock=function(s){var f=this.encryptBlockRaw(s),o=e.allocUnsafe(16);return o.writeUInt32BE(f[0],0),o.writeUInt32BE(f[1],4),o.writeUInt32BE(f[2],8),o.writeUInt32BE(f[3],12),o},d.prototype.decryptBlock=function(s){s=r(s);var f=s[1];s[1]=s[3],s[3]=f;var o=a(s,this._invKeySchedule,i.INV_SUB_MIX,i.INV_SBOX,this._nRounds),t=e.allocUnsafe(16);return t.writeUInt32BE(o[0],0),t.writeUInt32BE(o[3],4),t.writeUInt32BE(o[2],8),t.writeUInt32BE(o[1],12),t},d.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},aes$2.AES=d,aes$2}var ghash,hasRequiredGhash;function requireGhash(){if(hasRequiredGhash)return ghash;hasRequiredGhash=1;var e=requireSafeBuffer$1().Buffer,r=e.alloc(16,0);function n(i){return[i.readUInt32BE(0),i.readUInt32BE(4),i.readUInt32BE(8),i.readUInt32BE(12)]}function a(i){var d=e.allocUnsafe(16);return d.writeUInt32BE(i[0]>>>0,0),d.writeUInt32BE(i[1]>>>0,4),d.writeUInt32BE(i[2]>>>0,8),d.writeUInt32BE(i[3]>>>0,12),d}function h(i){this.h=i,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}return h.prototype.ghash=function(i){for(var d=-1;++d<i.length;)this.state[d]^=i[d];this._multiply()},h.prototype._multiply=function(){for(var i=n(this.h),d=[0,0,0,0],s,f,o,t=-1;++t<128;){for(f=(this.state[~~(t/8)]&1<<7-t%8)!==0,f&&(d[0]^=i[0],d[1]^=i[1],d[2]^=i[2],d[3]^=i[3]),o=(i[3]&1)!==0,s=3;s>0;s--)i[s]=i[s]>>>1|(i[s-1]&1)<<31;i[0]=i[0]>>>1,o&&(i[0]=i[0]^225<<24)}this.state=a(d)},h.prototype.update=function(i){this.cache=e.concat([this.cache,i]);for(var d;this.cache.length>=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},h.prototype.final=function(i,d){return this.cache.length&&this.ghash(e.concat([this.cache,r],16)),this.ghash(a([0,i,0,d])),this.state},ghash=h,ghash}var authCipher,hasRequiredAuthCipher;function requireAuthCipher(){if(hasRequiredAuthCipher)return authCipher;hasRequiredAuthCipher=1;var e=requireAes$1(),r=requireSafeBuffer$1().Buffer,n=requireCipherBase(),a=requireInherits_browser(),h=requireGhash(),i=requireBufferXor(),d=requireIncr32();function s(t,u){var c=0;t.length!==u.length&&c++;for(var l=Math.min(t.length,u.length),p=0;p<l;++p)c+=t[p]^u[p];return c}function f(t,u,c){if(u.length===12)return t._finID=r.concat([u,r.from([0,0,0,1])]),r.concat([u,r.from([0,0,0,2])]);var l=new h(c),p=u.length,v=p%16;l.update(u),v&&(v=16-v,l.update(r.alloc(v,0))),l.update(r.alloc(8,0));var y=p*8,g=r.alloc(8);g.writeUIntBE(y,0,8),l.update(g),t._finID=l.state;var x=r.from(t._finID);return d(x),x}function o(t,u,c,l){n.call(this);var p=r.alloc(4,0);this._cipher=new e.AES(u);var v=this._cipher.encryptBlock(p);this._ghash=new h(v),c=f(this,c,v),this._prev=r.from(c),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=l,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}return a(o,n),o.prototype._update=function(t){if(!this._called&&this._alen){var u=16-this._alen%16;u<16&&(u=r.alloc(u,0),this._ghash.update(u))}this._called=!0;var c=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(c),this._len+=t.length,c},o.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=i(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&s(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},o.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},o.prototype.setAuthTag=function(u){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=u},o.prototype.setAAD=function(u){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(u),this._alen+=u.length},authCipher=o,authCipher}var streamCipher,hasRequiredStreamCipher;function requireStreamCipher(){if(hasRequiredStreamCipher)return streamCipher;hasRequiredStreamCipher=1;var e=requireAes$1(),r=requireSafeBuffer$1().Buffer,n=requireCipherBase(),a=requireInherits_browser();function h(i,d,s,f){n.call(this),this._cipher=new e.AES(d),this._prev=r.from(s),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=f,this._mode=i}return a(h,n),h.prototype._update=function(i){return this._mode.encrypt(this,i,this._decrypt)},h.prototype._final=function(){this._cipher.scrub()},streamCipher=h,streamCipher}var evp_bytestokey,hasRequiredEvp_bytestokey;function requireEvp_bytestokey(){if(hasRequiredEvp_bytestokey)return evp_bytestokey;hasRequiredEvp_bytestokey=1;var e=requireSafeBuffer$1().Buffer,r=requireMd5_js();function n(a,h,i,d){if(e.isBuffer(a)||(a=e.from(a,"binary")),h&&(e.isBuffer(h)||(h=e.from(h,"binary")),h.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=i/8,f=e.alloc(s),o=e.alloc(d||0),t=e.alloc(0);s>0||d>0;){var u=new r;u.update(t),u.update(a),h&&u.update(h),t=u.digest();var c=0;if(s>0){var l=f.length-s;c=Math.min(s,t.length),t.copy(f,l,0,c),s-=c}if(c<t.length&&d>0){var p=o.length-d,v=Math.min(d,t.length-c);t.copy(o,p,c,c+v),d-=v}}return t.fill(0),{key:f,iv:o}}return evp_bytestokey=n,evp_bytestokey}var hasRequiredEncrypter;function requireEncrypter(){if(hasRequiredEncrypter)return encrypter;hasRequiredEncrypter=1;var e=requireModes$1(),r=requireAuthCipher(),n=requireSafeBuffer$1().Buffer,a=requireStreamCipher(),h=requireCipherBase(),i=requireAes$1(),d=requireEvp_bytestokey(),s=requireInherits_browser();function f(l,p,v){h.call(this),this._cache=new t,this._cipher=new i.AES(p),this._prev=n.from(v),this._mode=l,this._autopadding=!0}s(f,h),f.prototype._update=function(l){this._cache.add(l);for(var p,v,y=[];p=this._cache.get();)v=this._mode.encrypt(this,p),y.push(v);return n.concat(y)};var o=n.alloc(16,16);f.prototype._final=function(){var l=this._cache.flush();if(this._autopadding)return l=this._mode.encrypt(this,l),this._cipher.scrub(),l;if(!l.equals(o))throw this._cipher.scrub(),new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(l){return this._autopadding=!!l,this};function t(){this.cache=n.allocUnsafe(0)}t.prototype.add=function(l){this.cache=n.concat([this.cache,l])},t.prototype.get=function(){if(this.cache.length>15){var l=this.cache.slice(0,16);return this.cache=this.cache.slice(16),l}return null},t.prototype.flush=function(){for(var l=16-this.cache.length,p=n.allocUnsafe(l),v=-1;++v<l;)p.writeUInt8(l,v);return n.concat([this.cache,p])};function u(l,p,v){var y=e[l.toLowerCase()];if(!y)throw new TypeError("invalid suite type");if(typeof p=="string"&&(p=n.from(p)),p.length!==y.key/8)throw new TypeError("invalid key length "+p.length);if(typeof v=="string"&&(v=n.from(v)),y.mode!=="GCM"&&v.length!==y.iv)throw new TypeError("invalid iv length "+v.length);return y.type==="stream"?new a(y.module,p,v):y.type==="auth"?new r(y.module,p,v):new f(y.module,p,v)}function c(l,p){var v=e[l.toLowerCase()];if(!v)throw new TypeError("invalid suite type");var y=d(p,!1,v.key,v.iv);return u(l,y.key,y.iv)}return encrypter.createCipheriv=u,encrypter.createCipher=c,encrypter}var decrypter={},hasRequiredDecrypter;function requireDecrypter(){if(hasRequiredDecrypter)return decrypter;hasRequiredDecrypter=1;var e=requireAuthCipher(),r=requireSafeBuffer$1().Buffer,n=requireModes$1(),a=requireStreamCipher(),h=requireCipherBase(),i=requireAes$1(),d=requireEvp_bytestokey(),s=requireInherits_browser();function f(l,p,v){h.call(this),this._cache=new o,this._last=void 0,this._cipher=new i.AES(p),this._prev=r.from(v),this._mode=l,this._autopadding=!0}s(f,h),f.prototype._update=function(l){this._cache.add(l);for(var p,v,y=[];p=this._cache.get(this._autopadding);)v=this._mode.decrypt(this,p),y.push(v);return r.concat(y)},f.prototype._final=function(){var l=this._cache.flush();if(this._autopadding)return t(this._mode.decrypt(this,l));if(l)throw new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(l){return this._autopadding=!!l,this};function o(){this.cache=r.allocUnsafe(0)}o.prototype.add=function(l){this.cache=r.concat([this.cache,l])},o.prototype.get=function(l){var p;if(l){if(this.cache.length>16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p}else if(this.cache.length>=16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p;return null},o.prototype.flush=function(){if(this.cache.length)return this.cache};function t(l){var p=l[15];if(p<1||p>16)throw new Error("unable to decrypt data");for(var v=-1;++v<p;)if(l[v+(16-p)]!==p)throw new Error("unable to decrypt data");if(p!==16)return l.slice(0,16-p)}function u(l,p,v){var y=n[l.toLowerCase()];if(!y)throw new TypeError("invalid suite type");if(typeof v=="string"&&(v=r.from(v)),y.mode!=="GCM"&&v.length!==y.iv)throw new TypeError("invalid iv length "+v.length);if(typeof p=="string"&&(p=r.from(p)),p.length!==y.key/8)throw new TypeError("invalid key length "+p.length);return y.type==="stream"?new a(y.module,p,v,!0):y.type==="auth"?new e(y.module,p,v,!0):new f(y.module,p,v)}function c(l,p){var v=n[l.toLowerCase()];if(!v)throw new TypeError("invalid suite type");var y=d(p,!1,v.key,v.iv);return u(l,y.key,y.iv)}return decrypter.createDecipher=c,decrypter.createDecipheriv=u,decrypter}var hasRequiredBrowser$6;function requireBrowser$6(){if(hasRequiredBrowser$6)return browser$5;hasRequiredBrowser$6=1;var e=requireEncrypter(),r=requireDecrypter(),n=require$$2;function a(){return Object.keys(n)}return browser$5.createCipher=browser$5.Cipher=e.createCipher,browser$5.createCipheriv=browser$5.Cipheriv=e.createCipheriv,browser$5.createDecipher=browser$5.Decipher=r.createDecipher,browser$5.createDecipheriv=browser$5.Decipheriv=r.createDecipheriv,browser$5.listCiphers=browser$5.getCiphers=a,browser$5}var modes={},hasRequiredModes;function requireModes(){return hasRequiredModes||(hasRequiredModes=1,function(e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}}(modes)),modes}var hasRequiredBrowser$5;function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$6;hasRequiredBrowser$5=1;var e=requireBrowserifyDes(),r=requireBrowser$6(),n=requireModes$1(),a=requireModes(),h=requireEvp_bytestokey();function i(t,u){t=t.toLowerCase();var c,l;if(n[t])c=n[t].key,l=n[t].iv;else if(a[t])c=a[t].key*8,l=a[t].iv;else throw new TypeError("invalid suite type");var p=h(u,!1,c,l);return s(t,p.key,p.iv)}function d(t,u){t=t.toLowerCase();var c,l;if(n[t])c=n[t].key,l=n[t].iv;else if(a[t])c=a[t].key*8,l=a[t].iv;else throw new TypeError("invalid suite type");var p=h(u,!1,c,l);return f(t,p.key,p.iv)}function s(t,u,c){if(t=t.toLowerCase(),n[t])return r.createCipheriv(t,u,c);if(a[t])return new e({key:u,iv:c,mode:t});throw new TypeError("invalid suite type")}function f(t,u,c){if(t=t.toLowerCase(),n[t])return r.createDecipheriv(t,u,c);if(a[t])return new e({key:u,iv:c,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function o(){return Object.keys(a).concat(r.getCiphers())}return browser$6.createCipher=browser$6.Cipher=i,browser$6.createCipheriv=browser$6.Cipheriv=s,browser$6.createDecipher=browser$6.Decipher=d,browser$6.createDecipheriv=browser$6.Decipheriv=f,browser$6.listCiphers=browser$6.getCiphers=o,browser$6}var browser$4={},bn$1={exports:{}},bn=bn$1.exports,hasRequiredBn;function requireBn(){return hasRequiredBn||(hasRequiredBn=1,function(e){(function(r,n){function a(S,b){if(!S)throw new Error(b||"Assertion failed")}function h(S,b){S.super_=b;var A=function(){};A.prototype=b.prototype,S.prototype=new A,S.prototype.constructor=S}function i(S,b,A){if(i.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,S!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(S||0,b||10,A||"be"))}typeof r=="object"?r.exports=i:n.BN=i,i.BN=i,i.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=requireDist().Buffer}catch{}i.isBN=function(b){return b instanceof i?!0:b!==null&&typeof b=="object"&&b.constructor.wordSize===i.wordSize&&Array.isArray(b.words)},i.max=function(b,A){return b.cmp(A)>0?b:A},i.min=function(b,A){return b.cmp(A)<0?b:A},i.prototype._init=function(b,A,C){if(typeof b=="number")return this._initNumber(b,A,C);if(typeof b=="object")return this._initArray(b,A,C);A==="hex"&&(A=16),a(A===(A|0)&&A>=2&&A<=36),b=b.toString().replace(/\s+/g,"");var E=0;b[0]==="-"&&(E++,this.negative=1),E<b.length&&(A===16?this._parseHex(b,E,C):(this._parseBase(b,A,E),C==="le"&&this._initArray(this.toArray(),A,C)))},i.prototype._initNumber=function(b,A,C){b<0&&(this.negative=1,b=-b),b<67108864?(this.words=[b&67108863],this.length=1):b<4503599627370496?(this.words=[b&67108863,b/67108864&67108863],this.length=2):(a(b<9007199254740992),this.words=[b&67108863,b/67108864&67108863,1],this.length=3),C==="le"&&this._initArray(this.toArray(),A,C)},i.prototype._initArray=function(b,A,C){if(a(typeof b.length=="number"),b.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(b.length/3),this.words=new Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var F,k,K=0;if(C==="be")for(E=b.length-1,F=0;E>=0;E-=3)k=b[E]|b[E-1]<<8|b[E-2]<<16,this.words[F]|=k<<K&67108863,this.words[F+1]=k>>>26-K&67108863,K+=24,K>=26&&(K-=26,F++);else if(C==="le")for(E=0,F=0;E<b.length;E+=3)k=b[E]|b[E+1]<<8|b[E+2]<<16,this.words[F]|=k<<K&67108863,this.words[F+1]=k>>>26-K&67108863,K+=24,K>=26&&(K-=26,F++);return this._strip()};function s(S,b){var A=S.charCodeAt(b);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;a(!1,"Invalid character in "+S)}function f(S,b,A){var C=s(S,A);return A-1>=b&&(C|=s(S,A-1)<<4),C}i.prototype._parseHex=function(b,A,C){this.length=Math.ceil((b.length-A)/6),this.words=new Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var F=0,k=0,K;if(C==="be")for(E=b.length-1;E>=A;E-=2)K=f(b,A,E)<<F,this.words[k]|=K&67108863,F>=18?(F-=18,k+=1,this.words[k]|=K>>>26):F+=8;else{var P=b.length-A;for(E=P%2===0?A+1:A;E<b.length;E+=2)K=f(b,A,E)<<F,this.words[k]|=K&67108863,F>=18?(F-=18,k+=1,this.words[k]|=K>>>26):F+=8}this._strip()};function o(S,b,A,C){for(var E=0,F=0,k=Math.min(S.length,A),K=b;K<k;K++){var P=S.charCodeAt(K)-48;E*=C,P>=49?F=P-49+10:P>=17?F=P-17+10:F=P,a(P>=0&&F<C,"Invalid character"),E+=F}return E}i.prototype._parseBase=function(b,A,C){this.words=[0],this.length=1;for(var E=0,F=1;F<=67108863;F*=A)E++;E--,F=F/A|0;for(var k=b.length-C,K=k%E,P=Math.min(k,k-K)+C,w=0,$=C;$<P;$+=E)w=o(b,$,$+E,A),this.imuln(F),this.words[0]+w<67108864?this.words[0]+=w:this._iaddn(w);if(K!==0){var H=1;for(w=o(b,$,b.length,A),$=0;$<K;$++)H*=A;this.imuln(H),this.words[0]+w<67108864?this.words[0]+=w:this._iaddn(w)}this._strip()},i.prototype.copy=function(b){b.words=new Array(this.length);for(var A=0;A<this.length;A++)b.words[A]=this.words[A];b.length=this.length,b.negative=this.negative,b.red=this.red};function t(S,b){S.words=b.words,S.length=b.length,S.negative=b.negative,S.red=b.red}if(i.prototype._move=function(b){t(b,this)},i.prototype.clone=function(){var b=new i(null);return this.copy(b),b},i.prototype._expand=function(b){for(;this.length<b;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch{i.prototype.inspect=u}else i.prototype.inspect=u;function u(){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"],l=[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];i.prototype.toString=function(b,A){b=b||10,A=A|0||1;var C;if(b===16||b==="hex"){C="";for(var E=0,F=0,k=0;k<this.length;k++){var K=this.words[k],P=((K<<E|F)&16777215).toString(16);F=K>>>24-E&16777215,E+=2,E>=26&&(E-=26,k--),F!==0||k!==this.length-1?C=c[6-P.length]+P+C:C=P+C}for(F!==0&&(C=F.toString(16)+C);C.length%A!==0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}if(b===(b|0)&&b>=2&&b<=36){var w=l[b],$=p[b];C="";var H=this.clone();for(H.negative=0;!H.isZero();){var J=H.modrn($).toString(b);H=H.idivn($),H.isZero()?C=J+C:C=c[w-J.length]+J+C}for(this.isZero()&&(C="0"+C);C.length%A!==0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}a(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var b=this.words[0];return this.length===2?b+=this.words[1]*67108864:this.length===3&&this.words[2]===1?b+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-b:b},i.prototype.toJSON=function(){return this.toString(16,2)},d&&(i.prototype.toBuffer=function(b,A){return this.toArrayLike(d,b,A)}),i.prototype.toArray=function(b,A){return this.toArrayLike(Array,b,A)};var v=function(b,A){return b.allocUnsafe?b.allocUnsafe(A):new b(A)};i.prototype.toArrayLike=function(b,A,C){this._strip();var E=this.byteLength(),F=C||Math.max(1,E);a(E<=F,"byte array longer than desired length"),a(F>0,"Requested array length <= 0");var k=v(b,F),K=A==="le"?"LE":"BE";return this["_toArrayLike"+K](k,E),k},i.prototype._toArrayLikeLE=function(b,A){for(var C=0,E=0,F=0,k=0;F<this.length;F++){var K=this.words[F]<<k|E;b[C++]=K&255,C<b.length&&(b[C++]=K>>8&255),C<b.length&&(b[C++]=K>>16&255),k===6?(C<b.length&&(b[C++]=K>>24&255),E=0,k=0):(E=K>>>24,k+=2)}if(C<b.length)for(b[C++]=E;C<b.length;)b[C++]=0},i.prototype._toArrayLikeBE=function(b,A){for(var C=b.length-1,E=0,F=0,k=0;F<this.length;F++){var K=this.words[F]<<k|E;b[C--]=K&255,C>=0&&(b[C--]=K>>8&255),C>=0&&(b[C--]=K>>16&255),k===6?(C>=0&&(b[C--]=K>>24&255),E=0,k=0):(E=K>>>24,k+=2)}if(C>=0)for(b[C--]=E;C>=0;)b[C--]=0},Math.clz32?i.prototype._countBits=function(b){return 32-Math.clz32(b)}:i.prototype._countBits=function(b){var A=b,C=0;return A>=4096&&(C+=13,A>>>=13),A>=64&&(C+=7,A>>>=7),A>=8&&(C+=4,A>>>=4),A>=2&&(C+=2,A>>>=2),C+A},i.prototype._zeroBits=function(b){if(b===0)return 26;var A=b,C=0;return(A&8191)===0&&(C+=13,A>>>=13),(A&127)===0&&(C+=7,A>>>=7),(A&15)===0&&(C+=4,A>>>=4),(A&3)===0&&(C+=2,A>>>=2),(A&1)===0&&C++,C},i.prototype.bitLength=function(){var b=this.words[this.length-1],A=this._countBits(b);return(this.length-1)*26+A};function y(S){for(var b=new Array(S.bitLength()),A=0;A<b.length;A++){var C=A/26|0,E=A%26;b[A]=S.words[C]>>>E&1}return b}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var b=0,A=0;A<this.length;A++){var C=this._zeroBits(this.words[A]);if(b+=C,C!==26)break}return b},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(b){return this.negative!==0?this.abs().inotn(b).iaddn(1):this.clone()},i.prototype.fromTwos=function(b){return this.testn(b-1)?this.notn(b).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(b){for(;this.length<b.length;)this.words[this.length++]=0;for(var A=0;A<b.length;A++)this.words[A]=this.words[A]|b.words[A];return this._strip()},i.prototype.ior=function(b){return a((this.negative|b.negative)===0),this.iuor(b)},i.prototype.or=function(b){return this.length>b.length?this.clone().ior(b):b.clone().ior(this)},i.prototype.uor=function(b){return this.length>b.length?this.clone().iuor(b):b.clone().iuor(this)},i.prototype.iuand=function(b){var A;this.length>b.length?A=b:A=this;for(var C=0;C<A.length;C++)this.words[C]=this.words[C]&b.words[C];return this.length=A.length,this._strip()},i.prototype.iand=function(b){return a((this.negative|b.negative)===0),this.iuand(b)},i.prototype.and=function(b){return this.length>b.length?this.clone().iand(b):b.clone().iand(this)},i.prototype.uand=function(b){return this.length>b.length?this.clone().iuand(b):b.clone().iuand(this)},i.prototype.iuxor=function(b){var A,C;this.length>b.length?(A=this,C=b):(A=b,C=this);for(var E=0;E<C.length;E++)this.words[E]=A.words[E]^C.words[E];if(this!==A)for(;E<A.length;E++)this.words[E]=A.words[E];return this.length=A.length,this._strip()},i.prototype.ixor=function(b){return a((this.negative|b.negative)===0),this.iuxor(b)},i.prototype.xor=function(b){return this.length>b.length?this.clone().ixor(b):b.clone().ixor(this)},i.prototype.uxor=function(b){return this.length>b.length?this.clone().iuxor(b):b.clone().iuxor(this)},i.prototype.inotn=function(b){a(typeof b=="number"&&b>=0);var A=Math.ceil(b/26)|0,C=b%26;this._expand(A),C>0&&A--;for(var E=0;E<A;E++)this.words[E]=~this.words[E]&67108863;return C>0&&(this.words[E]=~this.words[E]&67108863>>26-C),this._strip()},i.prototype.notn=function(b){return this.clone().inotn(b)},i.prototype.setn=function(b,A){a(typeof b=="number"&&b>=0);var C=b/26|0,E=b%26;return this._expand(C+1),A?this.words[C]=this.words[C]|1<<E:this.words[C]=this.words[C]&~(1<<E),this._strip()},i.prototype.iadd=function(b){var A;if(this.negative!==0&&b.negative===0)return this.negative=0,A=this.isub(b),this.negative^=1,this._normSign();if(this.negative===0&&b.negative!==0)return b.negative=0,A=this.isub(b),b.negative=1,A._normSign();var C,E;this.length>b.length?(C=this,E=b):(C=b,E=this);for(var F=0,k=0;k<E.length;k++)A=(C.words[k]|0)+(E.words[k]|0)+F,this.words[k]=A&67108863,F=A>>>26;for(;F!==0&&k<C.length;k++)A=(C.words[k]|0)+F,this.words[k]=A&67108863,F=A>>>26;if(this.length=C.length,F!==0)this.words[this.length]=F,this.length++;else if(C!==this)for(;k<C.length;k++)this.words[k]=C.words[k];return this},i.prototype.add=function(b){var A;return b.negative!==0&&this.negative===0?(b.negative=0,A=this.sub(b),b.negative^=1,A):b.negative===0&&this.negative!==0?(this.negative=0,A=b.sub(this),this.negative=1,A):this.length>b.length?this.clone().iadd(b):b.clone().iadd(this)},i.prototype.isub=function(b){if(b.negative!==0){b.negative=0;var A=this.iadd(b);return b.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(b),this.negative=1,this._normSign();var C=this.cmp(b);if(C===0)return this.negative=0,this.length=1,this.words[0]=0,this;var E,F;C>0?(E=this,F=b):(E=b,F=this);for(var k=0,K=0;K<F.length;K++)A=(E.words[K]|0)-(F.words[K]|0)+k,k=A>>26,this.words[K]=A&67108863;for(;k!==0&&K<E.length;K++)A=(E.words[K]|0)+k,k=A>>26,this.words[K]=A&67108863;if(k===0&&K<E.length&&E!==this)for(;K<E.length;K++)this.words[K]=E.words[K];return this.length=Math.max(this.length,K),E!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(b){return this.clone().isub(b)};function g(S,b,A){A.negative=b.negative^S.negative;var C=S.length+b.length|0;A.length=C,C=C-1|0;var E=S.words[0]|0,F=b.words[0]|0,k=E*F,K=k&67108863,P=k/67108864|0;A.words[0]=K;for(var w=1;w<C;w++){for(var $=P>>>26,H=P&67108863,J=Math.min(w,b.length-1),V=Math.max(0,w-S.length+1);V<=J;V++){var D=w-V|0;E=S.words[D]|0,F=b.words[V]|0,k=E*F+H,$+=k/67108864|0,H=k&67108863}A.words[w]=H|0,P=$|0}return P!==0?A.words[w]=P|0:A.length--,A._strip()}var x=function(b,A,C){var E=b.words,F=A.words,k=C.words,K=0,P,w,$,H=E[0]|0,J=H&8191,V=H>>>13,D=E[1]|0,T=D&8191,Y=D>>>13,Q=E[2]|0,U=Q&8191,L=Q>>>13,ee=E[3]|0,ie=ee&8191,oe=ee>>>13,ae=E[4]|0,fe=ae&8191,de=ae>>>13,ne=E[5]|0,le=ne&8191,se=ne>>>13,ce=E[6]|0,ue=ce&8191,he=ce>>>13,Me=E[7]|0,xe=Me&8191,ge=Me>>>13,Le=E[8]|0,_e=Le&8191,Be=Le>>>13,Ue=E[9]|0,we=Ue&8191,Se=Ue>>>13,je=F[0]|0,me=je&8191,Ce=je>>>13,He=F[1]|0,Ee=He&8191,Fe=He>>>13,We=F[2]|0,qe=We&8191,Ae=We>>>13,ke=F[3]|0,Re=ke&8191,Ie=ke>>>13,Ne=F[4]|0,De=Ne&8191,N=Ne>>>13,B=F[5]|0,R=B&8191,G=B>>>13,Z=F[6]|0,re=Z&8191,te=Z>>>13,ye=F[7]|0,be=ye&8191,ve=ye>>>13,$e=F[8]|0,pe=$e&8191,Pe=$e>>>13,cr=F[9]|0,Te=cr&8191,Oe=cr>>>13;C.negative=b.negative^A.negative,C.length=19,P=Math.imul(J,me),w=Math.imul(J,Ce),w=w+Math.imul(V,me)|0,$=Math.imul(V,Ce);var Ge=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,P=Math.imul(T,me),w=Math.imul(T,Ce),w=w+Math.imul(Y,me)|0,$=Math.imul(Y,Ce),P=P+Math.imul(J,Ee)|0,w=w+Math.imul(J,Fe)|0,w=w+Math.imul(V,Ee)|0,$=$+Math.imul(V,Fe)|0;var ze=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(ze>>>26)|0,ze&=67108863,P=Math.imul(U,me),w=Math.imul(U,Ce),w=w+Math.imul(L,me)|0,$=Math.imul(L,Ce),P=P+Math.imul(T,Ee)|0,w=w+Math.imul(T,Fe)|0,w=w+Math.imul(Y,Ee)|0,$=$+Math.imul(Y,Fe)|0,P=P+Math.imul(J,qe)|0,w=w+Math.imul(J,Ae)|0,w=w+Math.imul(V,qe)|0,$=$+Math.imul(V,Ae)|0;var Ke=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,P=Math.imul(ie,me),w=Math.imul(ie,Ce),w=w+Math.imul(oe,me)|0,$=Math.imul(oe,Ce),P=P+Math.imul(U,Ee)|0,w=w+Math.imul(U,Fe)|0,w=w+Math.imul(L,Ee)|0,$=$+Math.imul(L,Fe)|0,P=P+Math.imul(T,qe)|0,w=w+Math.imul(T,Ae)|0,w=w+Math.imul(Y,qe)|0,$=$+Math.imul(Y,Ae)|0,P=P+Math.imul(J,Re)|0,w=w+Math.imul(J,Ie)|0,w=w+Math.imul(V,Re)|0,$=$+Math.imul(V,Ie)|0;var Ve=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,P=Math.imul(fe,me),w=Math.imul(fe,Ce),w=w+Math.imul(de,me)|0,$=Math.imul(de,Ce),P=P+Math.imul(ie,Ee)|0,w=w+Math.imul(ie,Fe)|0,w=w+Math.imul(oe,Ee)|0,$=$+Math.imul(oe,Fe)|0,P=P+Math.imul(U,qe)|0,w=w+Math.imul(U,Ae)|0,w=w+Math.imul(L,qe)|0,$=$+Math.imul(L,Ae)|0,P=P+Math.imul(T,Re)|0,w=w+Math.imul(T,Ie)|0,w=w+Math.imul(Y,Re)|0,$=$+Math.imul(Y,Ie)|0,P=P+Math.imul(J,De)|0,w=w+Math.imul(J,N)|0,w=w+Math.imul(V,De)|0,$=$+Math.imul(V,N)|0;var Xe=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,P=Math.imul(le,me),w=Math.imul(le,Ce),w=w+Math.imul(se,me)|0,$=Math.imul(se,Ce),P=P+Math.imul(fe,Ee)|0,w=w+Math.imul(fe,Fe)|0,w=w+Math.imul(de,Ee)|0,$=$+Math.imul(de,Fe)|0,P=P+Math.imul(ie,qe)|0,w=w+Math.imul(ie,Ae)|0,w=w+Math.imul(oe,qe)|0,$=$+Math.imul(oe,Ae)|0,P=P+Math.imul(U,Re)|0,w=w+Math.imul(U,Ie)|0,w=w+Math.imul(L,Re)|0,$=$+Math.imul(L,Ie)|0,P=P+Math.imul(T,De)|0,w=w+Math.imul(T,N)|0,w=w+Math.imul(Y,De)|0,$=$+Math.imul(Y,N)|0,P=P+Math.imul(J,R)|0,w=w+Math.imul(J,G)|0,w=w+Math.imul(V,R)|0,$=$+Math.imul(V,G)|0;var Ye=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,P=Math.imul(ue,me),w=Math.imul(ue,Ce),w=w+Math.imul(he,me)|0,$=Math.imul(he,Ce),P=P+Math.imul(le,Ee)|0,w=w+Math.imul(le,Fe)|0,w=w+Math.imul(se,Ee)|0,$=$+Math.imul(se,Fe)|0,P=P+Math.imul(fe,qe)|0,w=w+Math.imul(fe,Ae)|0,w=w+Math.imul(de,qe)|0,$=$+Math.imul(de,Ae)|0,P=P+Math.imul(ie,Re)|0,w=w+Math.imul(ie,Ie)|0,w=w+Math.imul(oe,Re)|0,$=$+Math.imul(oe,Ie)|0,P=P+Math.imul(U,De)|0,w=w+Math.imul(U,N)|0,w=w+Math.imul(L,De)|0,$=$+Math.imul(L,N)|0,P=P+Math.imul(T,R)|0,w=w+Math.imul(T,G)|0,w=w+Math.imul(Y,R)|0,$=$+Math.imul(Y,G)|0,P=P+Math.imul(J,re)|0,w=w+Math.imul(J,te)|0,w=w+Math.imul(V,re)|0,$=$+Math.imul(V,te)|0;var Ze=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,P=Math.imul(xe,me),w=Math.imul(xe,Ce),w=w+Math.imul(ge,me)|0,$=Math.imul(ge,Ce),P=P+Math.imul(ue,Ee)|0,w=w+Math.imul(ue,Fe)|0,w=w+Math.imul(he,Ee)|0,$=$+Math.imul(he,Fe)|0,P=P+Math.imul(le,qe)|0,w=w+Math.imul(le,Ae)|0,w=w+Math.imul(se,qe)|0,$=$+Math.imul(se,Ae)|0,P=P+Math.imul(fe,Re)|0,w=w+Math.imul(fe,Ie)|0,w=w+Math.imul(de,Re)|0,$=$+Math.imul(de,Ie)|0,P=P+Math.imul(ie,De)|0,w=w+Math.imul(ie,N)|0,w=w+Math.imul(oe,De)|0,$=$+Math.imul(oe,N)|0,P=P+Math.imul(U,R)|0,w=w+Math.imul(U,G)|0,w=w+Math.imul(L,R)|0,$=$+Math.imul(L,G)|0,P=P+Math.imul(T,re)|0,w=w+Math.imul(T,te)|0,w=w+Math.imul(Y,re)|0,$=$+Math.imul(Y,te)|0,P=P+Math.imul(J,be)|0,w=w+Math.imul(J,ve)|0,w=w+Math.imul(V,be)|0,$=$+Math.imul(V,ve)|0;var Je=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Je>>>26)|0,Je&=67108863,P=Math.imul(_e,me),w=Math.imul(_e,Ce),w=w+Math.imul(Be,me)|0,$=Math.imul(Be,Ce),P=P+Math.imul(xe,Ee)|0,w=w+Math.imul(xe,Fe)|0,w=w+Math.imul(ge,Ee)|0,$=$+Math.imul(ge,Fe)|0,P=P+Math.imul(ue,qe)|0,w=w+Math.imul(ue,Ae)|0,w=w+Math.imul(he,qe)|0,$=$+Math.imul(he,Ae)|0,P=P+Math.imul(le,Re)|0,w=w+Math.imul(le,Ie)|0,w=w+Math.imul(se,Re)|0,$=$+Math.imul(se,Ie)|0,P=P+Math.imul(fe,De)|0,w=w+Math.imul(fe,N)|0,w=w+Math.imul(de,De)|0,$=$+Math.imul(de,N)|0,P=P+Math.imul(ie,R)|0,w=w+Math.imul(ie,G)|0,w=w+Math.imul(oe,R)|0,$=$+Math.imul(oe,G)|0,P=P+Math.imul(U,re)|0,w=w+Math.imul(U,te)|0,w=w+Math.imul(L,re)|0,$=$+Math.imul(L,te)|0,P=P+Math.imul(T,be)|0,w=w+Math.imul(T,ve)|0,w=w+Math.imul(Y,be)|0,$=$+Math.imul(Y,ve)|0,P=P+Math.imul(J,pe)|0,w=w+Math.imul(J,Pe)|0,w=w+Math.imul(V,pe)|0,$=$+Math.imul(V,Pe)|0;var Qe=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,P=Math.imul(we,me),w=Math.imul(we,Ce),w=w+Math.imul(Se,me)|0,$=Math.imul(Se,Ce),P=P+Math.imul(_e,Ee)|0,w=w+Math.imul(_e,Fe)|0,w=w+Math.imul(Be,Ee)|0,$=$+Math.imul(Be,Fe)|0,P=P+Math.imul(xe,qe)|0,w=w+Math.imul(xe,Ae)|0,w=w+Math.imul(ge,qe)|0,$=$+Math.imul(ge,Ae)|0,P=P+Math.imul(ue,Re)|0,w=w+Math.imul(ue,Ie)|0,w=w+Math.imul(he,Re)|0,$=$+Math.imul(he,Ie)|0,P=P+Math.imul(le,De)|0,w=w+Math.imul(le,N)|0,w=w+Math.imul(se,De)|0,$=$+Math.imul(se,N)|0,P=P+Math.imul(fe,R)|0,w=w+Math.imul(fe,G)|0,w=w+Math.imul(de,R)|0,$=$+Math.imul(de,G)|0,P=P+Math.imul(ie,re)|0,w=w+Math.imul(ie,te)|0,w=w+Math.imul(oe,re)|0,$=$+Math.imul(oe,te)|0,P=P+Math.imul(U,be)|0,w=w+Math.imul(U,ve)|0,w=w+Math.imul(L,be)|0,$=$+Math.imul(L,ve)|0,P=P+Math.imul(T,pe)|0,w=w+Math.imul(T,Pe)|0,w=w+Math.imul(Y,pe)|0,$=$+Math.imul(Y,Pe)|0,P=P+Math.imul(J,Te)|0,w=w+Math.imul(J,Oe)|0,w=w+Math.imul(V,Te)|0,$=$+Math.imul(V,Oe)|0;var er=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(er>>>26)|0,er&=67108863,P=Math.imul(we,Ee),w=Math.imul(we,Fe),w=w+Math.imul(Se,Ee)|0,$=Math.imul(Se,Fe),P=P+Math.imul(_e,qe)|0,w=w+Math.imul(_e,Ae)|0,w=w+Math.imul(Be,qe)|0,$=$+Math.imul(Be,Ae)|0,P=P+Math.imul(xe,Re)|0,w=w+Math.imul(xe,Ie)|0,w=w+Math.imul(ge,Re)|0,$=$+Math.imul(ge,Ie)|0,P=P+Math.imul(ue,De)|0,w=w+Math.imul(ue,N)|0,w=w+Math.imul(he,De)|0,$=$+Math.imul(he,N)|0,P=P+Math.imul(le,R)|0,w=w+Math.imul(le,G)|0,w=w+Math.imul(se,R)|0,$=$+Math.imul(se,G)|0,P=P+Math.imul(fe,re)|0,w=w+Math.imul(fe,te)|0,w=w+Math.imul(de,re)|0,$=$+Math.imul(de,te)|0,P=P+Math.imul(ie,be)|0,w=w+Math.imul(ie,ve)|0,w=w+Math.imul(oe,be)|0,$=$+Math.imul(oe,ve)|0,P=P+Math.imul(U,pe)|0,w=w+Math.imul(U,Pe)|0,w=w+Math.imul(L,pe)|0,$=$+Math.imul(L,Pe)|0,P=P+Math.imul(T,Te)|0,w=w+Math.imul(T,Oe)|0,w=w+Math.imul(Y,Te)|0,$=$+Math.imul(Y,Oe)|0;var rr=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(rr>>>26)|0,rr&=67108863,P=Math.imul(we,qe),w=Math.imul(we,Ae),w=w+Math.imul(Se,qe)|0,$=Math.imul(Se,Ae),P=P+Math.imul(_e,Re)|0,w=w+Math.imul(_e,Ie)|0,w=w+Math.imul(Be,Re)|0,$=$+Math.imul(Be,Ie)|0,P=P+Math.imul(xe,De)|0,w=w+Math.imul(xe,N)|0,w=w+Math.imul(ge,De)|0,$=$+Math.imul(ge,N)|0,P=P+Math.imul(ue,R)|0,w=w+Math.imul(ue,G)|0,w=w+Math.imul(he,R)|0,$=$+Math.imul(he,G)|0,P=P+Math.imul(le,re)|0,w=w+Math.imul(le,te)|0,w=w+Math.imul(se,re)|0,$=$+Math.imul(se,te)|0,P=P+Math.imul(fe,be)|0,w=w+Math.imul(fe,ve)|0,w=w+Math.imul(de,be)|0,$=$+Math.imul(de,ve)|0,P=P+Math.imul(ie,pe)|0,w=w+Math.imul(ie,Pe)|0,w=w+Math.imul(oe,pe)|0,$=$+Math.imul(oe,Pe)|0,P=P+Math.imul(U,Te)|0,w=w+Math.imul(U,Oe)|0,w=w+Math.imul(L,Te)|0,$=$+Math.imul(L,Oe)|0;var tr=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(tr>>>26)|0,tr&=67108863,P=Math.imul(we,Re),w=Math.imul(we,Ie),w=w+Math.imul(Se,Re)|0,$=Math.imul(Se,Ie),P=P+Math.imul(_e,De)|0,w=w+Math.imul(_e,N)|0,w=w+Math.imul(Be,De)|0,$=$+Math.imul(Be,N)|0,P=P+Math.imul(xe,R)|0,w=w+Math.imul(xe,G)|0,w=w+Math.imul(ge,R)|0,$=$+Math.imul(ge,G)|0,P=P+Math.imul(ue,re)|0,w=w+Math.imul(ue,te)|0,w=w+Math.imul(he,re)|0,$=$+Math.imul(he,te)|0,P=P+Math.imul(le,be)|0,w=w+Math.imul(le,ve)|0,w=w+Math.imul(se,be)|0,$=$+Math.imul(se,ve)|0,P=P+Math.imul(fe,pe)|0,w=w+Math.imul(fe,Pe)|0,w=w+Math.imul(de,pe)|0,$=$+Math.imul(de,Pe)|0,P=P+Math.imul(ie,Te)|0,w=w+Math.imul(ie,Oe)|0,w=w+Math.imul(oe,Te)|0,$=$+Math.imul(oe,Oe)|0;var ir=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(ir>>>26)|0,ir&=67108863,P=Math.imul(we,De),w=Math.imul(we,N),w=w+Math.imul(Se,De)|0,$=Math.imul(Se,N),P=P+Math.imul(_e,R)|0,w=w+Math.imul(_e,G)|0,w=w+Math.imul(Be,R)|0,$=$+Math.imul(Be,G)|0,P=P+Math.imul(xe,re)|0,w=w+Math.imul(xe,te)|0,w=w+Math.imul(ge,re)|0,$=$+Math.imul(ge,te)|0,P=P+Math.imul(ue,be)|0,w=w+Math.imul(ue,ve)|0,w=w+Math.imul(he,be)|0,$=$+Math.imul(he,ve)|0,P=P+Math.imul(le,pe)|0,w=w+Math.imul(le,Pe)|0,w=w+Math.imul(se,pe)|0,$=$+Math.imul(se,Pe)|0,P=P+Math.imul(fe,Te)|0,w=w+Math.imul(fe,Oe)|0,w=w+Math.imul(de,Te)|0,$=$+Math.imul(de,Oe)|0;var nr=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(nr>>>26)|0,nr&=67108863,P=Math.imul(we,R),w=Math.imul(we,G),w=w+Math.imul(Se,R)|0,$=Math.imul(Se,G),P=P+Math.imul(_e,re)|0,w=w+Math.imul(_e,te)|0,w=w+Math.imul(Be,re)|0,$=$+Math.imul(Be,te)|0,P=P+Math.imul(xe,be)|0,w=w+Math.imul(xe,ve)|0,w=w+Math.imul(ge,be)|0,$=$+Math.imul(ge,ve)|0,P=P+Math.imul(ue,pe)|0,w=w+Math.imul(ue,Pe)|0,w=w+Math.imul(he,pe)|0,$=$+Math.imul(he,Pe)|0,P=P+Math.imul(le,Te)|0,w=w+Math.imul(le,Oe)|0,w=w+Math.imul(se,Te)|0,$=$+Math.imul(se,Oe)|0;var ar=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(ar>>>26)|0,ar&=67108863,P=Math.imul(we,re),w=Math.imul(we,te),w=w+Math.imul(Se,re)|0,$=Math.imul(Se,te),P=P+Math.imul(_e,be)|0,w=w+Math.imul(_e,ve)|0,w=w+Math.imul(Be,be)|0,$=$+Math.imul(Be,ve)|0,P=P+Math.imul(xe,pe)|0,w=w+Math.imul(xe,Pe)|0,w=w+Math.imul(ge,pe)|0,$=$+Math.imul(ge,Pe)|0,P=P+Math.imul(ue,Te)|0,w=w+Math.imul(ue,Oe)|0,w=w+Math.imul(he,Te)|0,$=$+Math.imul(he,Oe)|0;var or=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(or>>>26)|0,or&=67108863,P=Math.imul(we,be),w=Math.imul(we,ve),w=w+Math.imul(Se,be)|0,$=Math.imul(Se,ve),P=P+Math.imul(_e,pe)|0,w=w+Math.imul(_e,Pe)|0,w=w+Math.imul(Be,pe)|0,$=$+Math.imul(Be,Pe)|0,P=P+Math.imul(xe,Te)|0,w=w+Math.imul(xe,Oe)|0,w=w+Math.imul(ge,Te)|0,$=$+Math.imul(ge,Oe)|0;var fr=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(fr>>>26)|0,fr&=67108863,P=Math.imul(we,pe),w=Math.imul(we,Pe),w=w+Math.imul(Se,pe)|0,$=Math.imul(Se,Pe),P=P+Math.imul(_e,Te)|0,w=w+Math.imul(_e,Oe)|0,w=w+Math.imul(Be,Te)|0,$=$+Math.imul(Be,Oe)|0;var sr=(K+P|0)+((w&8191)<<13)|0;K=($+(w>>>13)|0)+(sr>>>26)|0,sr&=67108863,P=Math.imul(we,Te),w=Math.imul(we,Oe),w=w+Math.imul(Se,Te)|0,$=Math.imul(Se,Oe);var ur=(K+P|0)+((w&8191)<<13)|0;return K=($+(w>>>13)|0)+(ur>>>26)|0,ur&=67108863,k[0]=Ge,k[1]=ze,k[2]=Ke,k[3]=Ve,k[4]=Xe,k[5]=Ye,k[6]=Ze,k[7]=Je,k[8]=Qe,k[9]=er,k[10]=rr,k[11]=tr,k[12]=ir,k[13]=nr,k[14]=ar,k[15]=or,k[16]=fr,k[17]=sr,k[18]=ur,K!==0&&(k[19]=K,C.length++),C};Math.imul||(x=g);function _(S,b,A){A.negative=b.negative^S.negative,A.length=S.length+b.length;for(var C=0,E=0,F=0;F<A.length-1;F++){var k=E;E=0;for(var K=C&67108863,P=Math.min(F,b.length-1),w=Math.max(0,F-S.length+1);w<=P;w++){var $=F-w,H=S.words[$]|0,J=b.words[w]|0,V=H*J,D=V&67108863;k=k+(V/67108864|0)|0,D=D+K|0,K=D&67108863,k=k+(D>>>26)|0,E+=k>>>26,k&=67108863}A.words[F]=K,C=k,k=E}return C!==0?A.words[F]=C:A.length--,A._strip()}function m(S,b,A){return _(S,b,A)}i.prototype.mulTo=function(b,A){var C,E=this.length+b.length;return this.length===10&&b.length===10?C=x(this,b,A):E<63?C=g(this,b,A):E<1024?C=_(this,b,A):C=m(this,b,A),C},i.prototype.mul=function(b){var A=new i(null);return A.words=new Array(this.length+b.length),this.mulTo(b,A)},i.prototype.mulf=function(b){var A=new i(null);return A.words=new Array(this.length+b.length),m(this,b,A)},i.prototype.imul=function(b){return this.clone().mulTo(b,this)},i.prototype.imuln=function(b){var A=b<0;A&&(b=-b),a(typeof b=="number"),a(b<67108864);for(var C=0,E=0;E<this.length;E++){var F=(this.words[E]|0)*b,k=(F&67108863)+(C&67108863);C>>=26,C+=F/67108864|0,C+=k>>>26,this.words[E]=k&67108863}return C!==0&&(this.words[E]=C,this.length++),this.length=b===0?1:this.length,A?this.ineg():this},i.prototype.muln=function(b){return this.clone().imuln(b)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(b){var A=y(b);if(A.length===0)return new i(1);for(var C=this,E=0;E<A.length&&A[E]===0;E++,C=C.sqr());if(++E<A.length)for(var F=C.sqr();E<A.length;E++,F=F.sqr())A[E]!==0&&(C=C.mul(F));return C},i.prototype.iushln=function(b){a(typeof b=="number"&&b>=0);var A=b%26,C=(b-A)/26,E=67108863>>>26-A<<26-A,F;if(A!==0){var k=0;for(F=0;F<this.length;F++){var K=this.words[F]&E,P=(this.words[F]|0)-K<<A;this.words[F]=P|k,k=K>>>26-A}k&&(this.words[F]=k,this.length++)}if(C!==0){for(F=this.length-1;F>=0;F--)this.words[F+C]=this.words[F];for(F=0;F<C;F++)this.words[F]=0;this.length+=C}return this._strip()},i.prototype.ishln=function(b){return a(this.negative===0),this.iushln(b)},i.prototype.iushrn=function(b,A,C){a(typeof b=="number"&&b>=0);var E;A?E=(A-A%26)/26:E=0;var F=b%26,k=Math.min((b-F)/26,this.length),K=67108863^67108863>>>F<<F,P=C;if(E-=k,E=Math.max(0,E),P){for(var w=0;w<k;w++)P.words[w]=this.words[w];P.length=k}if(k!==0)if(this.length>k)for(this.length-=k,w=0;w<this.length;w++)this.words[w]=this.words[w+k];else this.words[0]=0,this.length=1;var $=0;for(w=this.length-1;w>=0&&($!==0||w>=E);w--){var H=this.words[w]|0;this.words[w]=$<<26-F|H>>>F,$=H&K}return P&&$!==0&&(P.words[P.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(b,A,C){return a(this.negative===0),this.iushrn(b,A,C)},i.prototype.shln=function(b){return this.clone().ishln(b)},i.prototype.ushln=function(b){return this.clone().iushln(b)},i.prototype.shrn=function(b){return this.clone().ishrn(b)},i.prototype.ushrn=function(b){return this.clone().iushrn(b)},i.prototype.testn=function(b){a(typeof b=="number"&&b>=0);var A=b%26,C=(b-A)/26,E=1<<A;if(this.length<=C)return!1;var F=this.words[C];return!!(F&E)},i.prototype.imaskn=function(b){a(typeof b=="number"&&b>=0);var A=b%26,C=(b-A)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=C)return this;if(A!==0&&C++,this.length=Math.min(C,this.length),A!==0){var E=67108863^67108863>>>A<<A;this.words[this.length-1]&=E}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.maskn=function(b){return this.clone().imaskn(b)},i.prototype.iaddn=function(b){return a(typeof b=="number"),a(b<67108864),b<0?this.isubn(-b):this.negative!==0?this.length===1&&(this.words[0]|0)<=b?(this.words[0]=b-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(b),this.negative=1,this):this._iaddn(b)},i.prototype._iaddn=function(b){this.words[0]+=b;for(var A=0;A<this.length&&this.words[A]>=67108864;A++)this.words[A]-=67108864,A===this.length-1?this.words[A+1]=1:this.words[A+1]++;return this.length=Math.max(this.length,A+1),this},i.prototype.isubn=function(b){if(a(typeof b=="number"),a(b<67108864),b<0)return this.iaddn(-b);if(this.negative!==0)return this.negative=0,this.iaddn(b),this.negative=1,this;if(this.words[0]-=b,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var A=0;A<this.length&&this.words[A]<0;A++)this.words[A]+=67108864,this.words[A+1]-=1;return this._strip()},i.prototype.addn=function(b){return this.clone().iaddn(b)},i.prototype.subn=function(b){return this.clone().isubn(b)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(b,A,C){var E=b.length+C,F;this._expand(E);var k,K=0;for(F=0;F<b.length;F++){k=(this.words[F+C]|0)+K;var P=(b.words[F]|0)*A;k-=P&67108863,K=(k>>26)-(P/67108864|0),this.words[F+C]=k&67108863}for(;F<this.length-C;F++)k=(this.words[F+C]|0)+K,K=k>>26,this.words[F+C]=k&67108863;if(K===0)return this._strip();for(a(K===-1),K=0,F=0;F<this.length;F++)k=-(this.words[F]|0)+K,K=k>>26,this.words[F]=k&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(b,A){var C=this.length-b.length,E=this.clone(),F=b,k=F.words[F.length-1]|0,K=this._countBits(k);C=26-K,C!==0&&(F=F.ushln(C),E.iushln(C),k=F.words[F.length-1]|0);var P=E.length-F.length,w;if(A!=="mod"){w=new i(null),w.length=P+1,w.words=new Array(w.length);for(var $=0;$<w.length;$++)w.words[$]=0}var H=E.clone()._ishlnsubmul(F,1,P);H.negative===0&&(E=H,w&&(w.words[P]=1));for(var J=P-1;J>=0;J--){var V=(E.words[F.length+J]|0)*67108864+(E.words[F.length+J-1]|0);for(V=Math.min(V/k|0,67108863),E._ishlnsubmul(F,V,J);E.negative!==0;)V--,E.negative=0,E._ishlnsubmul(F,1,J),E.isZero()||(E.negative^=1);w&&(w.words[J]=V)}return w&&w._strip(),E._strip(),A!=="div"&&C!==0&&E.iushrn(C),{div:w||null,mod:E}},i.prototype.divmod=function(b,A,C){if(a(!b.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var E,F,k;return this.negative!==0&&b.negative===0?(k=this.neg().divmod(b,A),A!=="mod"&&(E=k.div.neg()),A!=="div"&&(F=k.mod.neg(),C&&F.negative!==0&&F.iadd(b)),{div:E,mod:F}):this.negative===0&&b.negative!==0?(k=this.divmod(b.neg(),A),A!=="mod"&&(E=k.div.neg()),{div:E,mod:k.mod}):(this.negative&b.negative)!==0?(k=this.neg().divmod(b.neg(),A),A!=="div"&&(F=k.mod.neg(),C&&F.negative!==0&&F.isub(b)),{div:k.div,mod:F}):b.length>this.length||this.cmp(b)<0?{div:new i(0),mod:this}:b.length===1?A==="div"?{div:this.divn(b.words[0]),mod:null}:A==="mod"?{div:null,mod:new i(this.modrn(b.words[0]))}:{div:this.divn(b.words[0]),mod:new i(this.modrn(b.words[0]))}:this._wordDiv(b,A)},i.prototype.div=function(b){return this.divmod(b,"div",!1).div},i.prototype.mod=function(b){return this.divmod(b,"mod",!1).mod},i.prototype.umod=function(b){return this.divmod(b,"mod",!0).mod},i.prototype.divRound=function(b){var A=this.divmod(b);if(A.mod.isZero())return A.div;var C=A.div.negative!==0?A.mod.isub(b):A.mod,E=b.ushrn(1),F=b.andln(1),k=C.cmp(E);return k<0||F===1&&k===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},i.prototype.modrn=function(b){var A=b<0;A&&(b=-b),a(b<=67108863);for(var C=(1<<26)%b,E=0,F=this.length-1;F>=0;F--)E=(C*E+(this.words[F]|0))%b;return A?-E:E},i.prototype.modn=function(b){return this.modrn(b)},i.prototype.idivn=function(b){var A=b<0;A&&(b=-b),a(b<=67108863);for(var C=0,E=this.length-1;E>=0;E--){var F=(this.words[E]|0)+C*67108864;this.words[E]=F/b|0,C=F%b}return this._strip(),A?this.ineg():this},i.prototype.divn=function(b){return this.clone().idivn(b)},i.prototype.egcd=function(b){a(b.negative===0),a(!b.isZero());var A=this,C=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var E=new i(1),F=new i(0),k=new i(0),K=new i(1),P=0;A.isEven()&&C.isEven();)A.iushrn(1),C.iushrn(1),++P;for(var w=C.clone(),$=A.clone();!A.isZero();){for(var H=0,J=1;(A.words[0]&J)===0&&H<26;++H,J<<=1);if(H>0)for(A.iushrn(H);H-- >0;)(E.isOdd()||F.isOdd())&&(E.iadd(w),F.isub($)),E.iushrn(1),F.iushrn(1);for(var V=0,D=1;(C.words[0]&D)===0&&V<26;++V,D<<=1);if(V>0)for(C.iushrn(V);V-- >0;)(k.isOdd()||K.isOdd())&&(k.iadd(w),K.isub($)),k.iushrn(1),K.iushrn(1);A.cmp(C)>=0?(A.isub(C),E.isub(k),F.isub(K)):(C.isub(A),k.isub(E),K.isub(F))}return{a:k,b:K,gcd:C.iushln(P)}},i.prototype._invmp=function(b){a(b.negative===0),a(!b.isZero());var A=this,C=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var E=new i(1),F=new i(0),k=C.clone();A.cmpn(1)>0&&C.cmpn(1)>0;){for(var K=0,P=1;(A.words[0]&P)===0&&K<26;++K,P<<=1);if(K>0)for(A.iushrn(K);K-- >0;)E.isOdd()&&E.iadd(k),E.iushrn(1);for(var w=0,$=1;(C.words[0]&$)===0&&w<26;++w,$<<=1);if(w>0)for(C.iushrn(w);w-- >0;)F.isOdd()&&F.iadd(k),F.iushrn(1);A.cmp(C)>=0?(A.isub(C),E.isub(F)):(C.isub(A),F.isub(E))}var H;return A.cmpn(1)===0?H=E:H=F,H.cmpn(0)<0&&H.iadd(b),H},i.prototype.gcd=function(b){if(this.isZero())return b.abs();if(b.isZero())return this.abs();var A=this.clone(),C=b.clone();A.negative=0,C.negative=0;for(var E=0;A.isEven()&&C.isEven();E++)A.iushrn(1),C.iushrn(1);do{for(;A.isEven();)A.iushrn(1);for(;C.isEven();)C.iushrn(1);var F=A.cmp(C);if(F<0){var k=A;A=C,C=k}else if(F===0||C.cmpn(1)===0)break;A.isub(C)}while(!0);return C.iushln(E)},i.prototype.invm=function(b){return this.egcd(b).a.umod(b)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(b){return this.words[0]&b},i.prototype.bincn=function(b){a(typeof b=="number");var A=b%26,C=(b-A)/26,E=1<<A;if(this.length<=C)return this._expand(C+1),this.words[C]|=E,this;for(var F=E,k=C;F!==0&&k<this.length;k++){var K=this.words[k]|0;K+=F,F=K>>>26,K&=67108863,this.words[k]=K}return F!==0&&(this.words[k]=F,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(b){var A=b<0;if(this.negative!==0&&!A)return-1;if(this.negative===0&&A)return 1;this._strip();var C;if(this.length>1)C=1;else{A&&(b=-b),a(b<=67108863,"Number is too big");var E=this.words[0]|0;C=E===b?0:E<b?-1:1}return this.negative!==0?-C|0:C},i.prototype.cmp=function(b){if(this.negative!==0&&b.negative===0)return-1;if(this.negative===0&&b.negative!==0)return 1;var A=this.ucmp(b);return this.negative!==0?-A|0:A},i.prototype.ucmp=function(b){if(this.length>b.length)return 1;if(this.length<b.length)return-1;for(var A=0,C=this.length-1;C>=0;C--){var E=this.words[C]|0,F=b.words[C]|0;if(E!==F){E<F?A=-1:E>F&&(A=1);break}}return A},i.prototype.gtn=function(b){return this.cmpn(b)===1},i.prototype.gt=function(b){return this.cmp(b)===1},i.prototype.gten=function(b){return this.cmpn(b)>=0},i.prototype.gte=function(b){return this.cmp(b)>=0},i.prototype.ltn=function(b){return this.cmpn(b)===-1},i.prototype.lt=function(b){return this.cmp(b)===-1},i.prototype.lten=function(b){return this.cmpn(b)<=0},i.prototype.lte=function(b){return this.cmp(b)<=0},i.prototype.eqn=function(b){return this.cmpn(b)===0},i.prototype.eq=function(b){return this.cmp(b)===0},i.red=function(b){return new X(b)},i.prototype.toRed=function(b){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),b.convertTo(this)._forceRed(b)},i.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(b){return this.red=b,this},i.prototype.forceRed=function(b){return a(!this.red,"Already a number in reduction context"),this._forceRed(b)},i.prototype.redAdd=function(b){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,b)},i.prototype.redIAdd=function(b){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,b)},i.prototype.redSub=function(b){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,b)},i.prototype.redISub=function(b){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,b)},i.prototype.redShl=function(b){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,b)},i.prototype.redMul=function(b){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.mul(this,b)},i.prototype.redIMul=function(b){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.imul(this,b)},i.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(b){return a(this.red&&!b.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,b)};var q={k256:null,p224:null,p192:null,p25519:null};function I(S,b){this.name=S,this.p=new i(b,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}I.prototype._tmp=function(){var b=new i(null);return b.words=new Array(Math.ceil(this.n/13)),b},I.prototype.ireduce=function(b){var A=b,C;do this.split(A,this.tmp),A=this.imulK(A),A=A.iadd(this.tmp),C=A.bitLength();while(C>this.n);var E=C<this.n?-1:A.ucmp(this.p);return E===0?(A.words[0]=0,A.length=1):E>0?A.isub(this.p):A.strip!==void 0?A.strip():A._strip(),A},I.prototype.split=function(b,A){b.iushrn(this.n,0,A)},I.prototype.imulK=function(b){return b.imul(this.k)};function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}h(O,I),O.prototype.split=function(b,A){for(var C=4194303,E=Math.min(b.length,9),F=0;F<E;F++)A.words[F]=b.words[F];if(A.length=E,b.length<=9){b.words[0]=0,b.length=1;return}var k=b.words[9];for(A.words[A.length++]=k&C,F=10;F<b.length;F++){var K=b.words[F]|0;b.words[F-10]=(K&C)<<4|k>>>22,k=K}k>>>=22,b.words[F-10]=k,k===0&&b.length>10?b.length-=10:b.length-=9},O.prototype.imulK=function(b){b.words[b.length]=0,b.words[b.length+1]=0,b.length+=2;for(var A=0,C=0;C<b.length;C++){var E=b.words[C]|0;A+=E*977,b.words[C]=A&67108863,A=E*64+(A/67108864|0)}return b.words[b.length-1]===0&&(b.length--,b.words[b.length-1]===0&&b.length--),b};function j(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}h(j,I);function z(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}h(z,I);function W(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}h(W,I),W.prototype.imulK=function(b){for(var A=0,C=0;C<b.length;C++){var E=(b.words[C]|0)*19+A,F=E&67108863;E>>>=26,b.words[C]=F,A=E}return A!==0&&(b.words[b.length++]=A),b},i._prime=function(b){if(q[b])return q[b];var A;if(b==="k256")A=new O;else if(b==="p224")A=new j;else if(b==="p192")A=new z;else if(b==="p25519")A=new W;else throw new Error("Unknown prime "+b);return q[b]=A,A};function X(S){if(typeof S=="string"){var b=i._prime(S);this.m=b.p,this.prime=b}else a(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}X.prototype._verify1=function(b){a(b.negative===0,"red works only with positives"),a(b.red,"red works only with red numbers")},X.prototype._verify2=function(b,A){a((b.negative|A.negative)===0,"red works only with positives"),a(b.red&&b.red===A.red,"red works only with red numbers")},X.prototype.imod=function(b){return this.prime?this.prime.ireduce(b)._forceRed(this):(t(b,b.umod(this.m)._forceRed(this)),b)},X.prototype.neg=function(b){return b.isZero()?b.clone():this.m.sub(b)._forceRed(this)},X.prototype.add=function(b,A){this._verify2(b,A);var C=b.add(A);return C.cmp(this.m)>=0&&C.isub(this.m),C._forceRed(this)},X.prototype.iadd=function(b,A){this._verify2(b,A);var C=b.iadd(A);return C.cmp(this.m)>=0&&C.isub(this.m),C},X.prototype.sub=function(b,A){this._verify2(b,A);var C=b.sub(A);return C.cmpn(0)<0&&C.iadd(this.m),C._forceRed(this)},X.prototype.isub=function(b,A){this._verify2(b,A);var C=b.isub(A);return C.cmpn(0)<0&&C.iadd(this.m),C},X.prototype.shl=function(b,A){return this._verify1(b),this.imod(b.ushln(A))},X.prototype.imul=function(b,A){return this._verify2(b,A),this.imod(b.imul(A))},X.prototype.mul=function(b,A){return this._verify2(b,A),this.imod(b.mul(A))},X.prototype.isqr=function(b){return this.imul(b,b.clone())},X.prototype.sqr=function(b){return this.mul(b,b)},X.prototype.sqrt=function(b){if(b.isZero())return b.clone();var A=this.m.andln(3);if(a(A%2===1),A===3){var C=this.m.add(new i(1)).iushrn(2);return this.pow(b,C)}for(var E=this.m.subn(1),F=0;!E.isZero()&&E.andln(1)===0;)F++,E.iushrn(1);a(!E.isZero());var k=new i(1).toRed(this),K=k.redNeg(),P=this.m.subn(1).iushrn(1),w=this.m.bitLength();for(w=new i(2*w*w).toRed(this);this.pow(w,P).cmp(K)!==0;)w.redIAdd(K);for(var $=this.pow(w,E),H=this.pow(b,E.addn(1).iushrn(1)),J=this.pow(b,E),V=F;J.cmp(k)!==0;){for(var D=J,T=0;D.cmp(k)!==0;T++)D=D.redSqr();a(T<V);var Y=this.pow($,new i(1).iushln(V-T-1));H=H.redMul(Y),$=Y.redSqr(),J=J.redMul($),V=T}return H},X.prototype.invm=function(b){var A=b._invmp(this.m);return A.negative!==0?(A.negative=0,this.imod(A).redNeg()):this.imod(A)},X.prototype.pow=function(b,A){if(A.isZero())return new i(1).toRed(this);if(A.cmpn(1)===0)return b.clone();var C=4,E=new Array(1<<C);E[0]=new i(1).toRed(this),E[1]=b;for(var F=2;F<E.length;F++)E[F]=this.mul(E[F-1],b);var k=E[0],K=0,P=0,w=A.bitLength()%26;for(w===0&&(w=26),F=A.length-1;F>=0;F--){for(var $=A.words[F],H=w-1;H>=0;H--){var J=$>>H&1;if(k!==E[0]&&(k=this.sqr(k)),J===0&&K===0){P=0;continue}K<<=1,K|=J,P++,!(P!==C&&(F!==0||H!==0))&&(k=this.mul(k,E[K]),P=0,K=0)}w=26}return k},X.prototype.convertTo=function(b){var A=b.umod(this.m);return A===b?A.clone():A},X.prototype.convertFrom=function(b){var A=b.clone();return A.red=null,A},i.mont=function(b){return new M(b)};function M(S){X.call(this,S),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(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)}h(M,X),M.prototype.convertTo=function(b){return this.imod(b.ushln(this.shift))},M.prototype.convertFrom=function(b){var A=this.imod(b.mul(this.rinv));return A.red=null,A},M.prototype.imul=function(b,A){if(b.isZero()||A.isZero())return b.words[0]=0,b.length=1,b;var C=b.imul(A),E=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=C.isub(E).iushrn(this.shift),k=F;return F.cmp(this.m)>=0?k=F.isub(this.m):F.cmpn(0)<0&&(k=F.iadd(this.m)),k._forceRed(this)},M.prototype.mul=function(b,A){if(b.isZero()||A.isZero())return new i(0)._forceRed(this);var C=b.mul(A),E=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=C.isub(E).iushrn(this.shift),k=F;return F.cmp(this.m)>=0?k=F.isub(this.m):F.cmpn(0)<0&&(k=F.iadd(this.m)),k._forceRed(this)},M.prototype.invm=function(b){var A=this.imod(b._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(e,bn)}(bn$1)),bn$1.exports}var brorand={exports:{}},hasRequiredBrorand;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;hasRequiredBrorand=1;var e;brorand.exports=function(h){return e||(e=new r(null)),e.generate(h)};function r(a){this.rand=a}if(brorand.exports.Rand=r,r.prototype.generate=function(h){return this._rand(h)},r.prototype._rand=function(h){if(this.rand.getBytes)return this.rand.getBytes(h);for(var i=new Uint8Array(h),d=0;d<i.length;d++)i[d]=this.rand.getByte();return i},typeof self=="object")self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(h){var i=new Uint8Array(h);return self.crypto.getRandomValues(i),i}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(h){var i=new Uint8Array(h);return self.msCrypto.getRandomValues(i),i}:typeof window=="object"&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var n=requireCryptoBrowserify();if(typeof n.randomBytes!="function")throw new Error("Not supported");r.prototype._rand=function(h){return n.randomBytes(h)}}catch{}return brorand.exports}var mr,hasRequiredMr;function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var e=requireBn(),r=requireBrorand();function n(a){this.rand=a||new r.Rand}return mr=n,n.create=function(h){return new n(h)},n.prototype._randbelow=function(h){var i=h.bitLength(),d=Math.ceil(i/8);do var s=new e(this.rand.generate(d));while(s.cmp(h)>=0);return s},n.prototype._randrange=function(h,i){var d=i.sub(h);return h.add(this._randbelow(d))},n.prototype.test=function(h,i,d){var s=h.bitLength(),f=e.mont(h),o=new e(1).toRed(f);i||(i=Math.max(1,s/48|0));for(var t=h.subn(1),u=0;!t.testn(u);u++);for(var c=h.shrn(u),l=t.toRed(f),p=!0;i>0;i--){var v=this._randrange(new e(2),t);d&&d(v);var y=v.toRed(f).redPow(c);if(!(y.cmp(o)===0||y.cmp(l)===0)){for(var g=1;g<u;g++){if(y=y.redSqr(),y.cmp(o)===0)return!1;if(y.cmp(l)===0)break}if(g===u)return!1}}return p},n.prototype.getDivisor=function(h,i){var d=h.bitLength(),s=e.mont(h),f=new e(1).toRed(s);i||(i=Math.max(1,d/48|0));for(var o=h.subn(1),t=0;!o.testn(t);t++);for(var u=h.shrn(t),c=o.toRed(s);i>0;i--){var l=this._randrange(new e(2),o),p=h.gcd(l);if(p.cmpn(1)!==0)return p;var v=l.toRed(s).redPow(u);if(!(v.cmp(f)===0||v.cmp(c)===0)){for(var y=1;y<t;y++){if(v=v.redSqr(),v.cmp(f)===0)return v.fromRed().subn(1).gcd(h);if(v.cmp(c)===0)break}if(y===t)return v=v.redSqr(),v.fromRed().subn(1).gcd(h)}}return!1},mr}var generatePrime,hasRequiredGeneratePrime;function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var e=requireBrowser$b();generatePrime=y,y.simpleSieve=p,y.fermatTest=v;var r=requireBn(),n=new r(24),a=requireMr(),h=new a,i=new r(1),d=new r(2),s=new r(5);new r(16),new r(8);var f=new r(10),o=new r(3);new r(7);var t=new r(11),u=new r(4);new r(12);var c=null;function l(){if(c!==null)return c;var g=1048576,x=[];x[0]=2;for(var _=1,m=3;m<g;m+=2){for(var q=Math.ceil(Math.sqrt(m)),I=0;I<_&&x[I]<=q&&m%x[I]!==0;I++);_!==I&&x[I]<=q||(x[_++]=m)}return c=x,x}function p(g){for(var x=l(),_=0;_<x.length;_++)if(g.modn(x[_])===0)return g.cmpn(x[_])===0;return!0}function v(g){var x=r.mont(g);return d.toRed(x).redPow(g.subn(1)).fromRed().cmpn(1)===0}function y(g,x){if(g<16)return x===2||x===5?new r([140,123]):new r([140,39]);x=new r(x);for(var _,m;;){for(_=new r(e(Math.ceil(g/8)));_.bitLength()>g;)_.ishrn(1);if(_.isEven()&&_.iadd(i),_.testn(1)||_.iadd(d),x.cmp(d)){if(!x.cmp(s))for(;_.mod(f).cmp(o);)_.iadd(u)}else for(;_.mod(n).cmp(t);)_.iadd(u);if(m=_.shrn(1),p(m)&&p(_)&&v(m)&&v(_)&&h.test(m)&&h.test(_))return _}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$1={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var e=requireBn(),r=requireMr(),n=new r,a=new e(24),h=new e(11),i=new e(10),d=new e(3),s=new e(7),f=requireGeneratePrime(),o=requireBrowser$b();dh=p;function t(y,g){return g=g||"utf8",Buffer.isBuffer(y)||(y=new Buffer(y,g)),this._pub=new e(y),this}function u(y,g){return g=g||"utf8",Buffer.isBuffer(y)||(y=new Buffer(y,g)),this._priv=new e(y),this}var c={};function l(y,g){var x=g.toString("hex"),_=[x,y.toString(16)].join("_");if(_ in c)return c[_];var m=0;if(y.isEven()||!f.simpleSieve||!f.fermatTest(y)||!n.test(y))return m+=1,x==="02"||x==="05"?m+=8:m+=4,c[_]=m,m;n.test(y.shrn(1))||(m+=2);var q;switch(x){case"02":y.mod(a).cmp(h)&&(m+=8);break;case"05":q=y.mod(i),q.cmp(d)&&q.cmp(s)&&(m+=8);break;default:m+=4}return c[_]=m,m}function p(y,g,x){this.setGenerator(g),this.__prime=new e(y),this._prime=e.mont(this.__prime),this._primeLen=y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,x?(this.setPublicKey=t,this.setPrivateKey=u):this._primeCode=8}Object.defineProperty(p.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=l(this.__prime,this.__gen)),this._primeCode}}),p.prototype.generateKeys=function(){return this._priv||(this._priv=new e(o(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},p.prototype.computeSecret=function(y){y=new e(y),y=y.toRed(this._prime);var g=y.redPow(this._priv).fromRed(),x=new Buffer(g.toArray()),_=this.getPrime();if(x.length<_.length){var m=new Buffer(_.length-x.length);m.fill(0),x=Buffer.concat([m,x])}return x},p.prototype.getPublicKey=function(g){return v(this._pub,g)},p.prototype.getPrivateKey=function(g){return v(this._priv,g)},p.prototype.getPrime=function(y){return v(this.__prime,y)},p.prototype.getGenerator=function(y){return v(this._gen,y)},p.prototype.setGenerator=function(y,g){return g=g||"utf8",Buffer.isBuffer(y)||(y=new Buffer(y,g)),this.__gen=y,this._gen=new e(y),this};function v(y,g){var x=new Buffer(y.toArray());return g?x.toString(g):x}return dh}var hasRequiredBrowser$4;function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$4;hasRequiredBrowser$4=1;var e=requireGeneratePrime(),r=require$$1$1,n=requireDh();function a(d){var s=new Buffer(r[d].prime,"hex"),f=new Buffer(r[d].gen,"hex");return new n(s,f)}var h={binary:!0,hex:!0,base64:!0};function i(d,s,f,o){return Buffer.isBuffer(s)||h[s]===void 0?i(d,"binary",s,f):(s=s||"binary",o=o||"binary",f=f||new Buffer([2]),Buffer.isBuffer(f)||(f=new Buffer(f,o)),typeof d=="number"?new n(e(d,f),f,!0):(Buffer.isBuffer(d)||(d=new Buffer(d,s)),new n(d,f,!0)))}return browser$4.DiffieHellmanGroup=browser$4.createDiffieHellmanGroup=browser$4.getDiffieHellman=a,browser$4.createDiffieHellman=browser$4.DiffieHellman=i,browser$4}var sign={exports:{}},browserifyRsa,hasRequiredBrowserifyRsa;function requireBrowserifyRsa(){if(hasRequiredBrowserifyRsa)return browserifyRsa;hasRequiredBrowserifyRsa=1;var e=requireBn(),r=requireBrowser$b(),n=requireSafeBuffer$1().Buffer;function a(d){var s=d.modulus.byteLength(),f;do f=new e(r(s));while(f.cmp(d.modulus)>=0||!f.umod(d.prime1)||!f.umod(d.prime2));return f}function h(d){var s=a(d),f=s.toRed(e.mont(d.modulus)).redPow(new e(d.publicExponent)).fromRed();return{blinder:f,unblinder:s.invm(d.modulus)}}function i(d,s){var f=h(s),o=s.modulus.byteLength(),t=new e(d).mul(f.blinder).umod(s.modulus),u=t.toRed(e.mont(s.prime1)),c=t.toRed(e.mont(s.prime2)),l=s.coefficient,p=s.prime1,v=s.prime2,y=u.redPow(s.exponent1).fromRed(),g=c.redPow(s.exponent2).fromRed(),x=y.isub(g).imul(l).umod(p).imul(v);return g.iadd(x).imul(f.unblinder).umod(s.modulus).toArrayLike(n,"be",o)}return i.getr=a,browserifyRsa=i,browserifyRsa}var elliptic={};const version="6.6.1",require$$0={version};var utils$2={},utils$1={},hasRequiredUtils$2;function requireUtils$2(){return hasRequiredUtils$2||(hasRequiredUtils$2=1,function(e){var r=e;function n(i,d){if(Array.isArray(i))return i.slice();if(!i)return[];var s=[];if(typeof i!="string"){for(var f=0;f<i.length;f++)s[f]=i[f]|0;return s}if(d==="hex"){i=i.replace(/[^a-z0-9]+/ig,""),i.length%2!==0&&(i="0"+i);for(var f=0;f<i.length;f+=2)s.push(parseInt(i[f]+i[f+1],16))}else for(var f=0;f<i.length;f++){var o=i.charCodeAt(f),t=o>>8,u=o&255;t?s.push(t,u):s.push(u)}return s}r.toArray=n;function a(i){return i.length===1?"0"+i:i}r.zero2=a;function h(i){for(var d="",s=0;s<i.length;s++)d+=a(i[s].toString(16));return d}r.toHex=h,r.encode=function(d,s){return s==="hex"?h(d):d}}(utils$1)),utils$1}var hasRequiredUtils$1;function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,function(e){var r=e,n=requireBn(),a=requireMinimalisticAssert(),h=requireUtils$2();r.assert=a,r.toArray=h.toArray,r.zero2=h.zero2,r.toHex=h.toHex,r.encode=h.encode;function i(t,u,c){var l=new Array(Math.max(t.bitLength(),c)+1),p;for(p=0;p<l.length;p+=1)l[p]=0;var v=1<<u+1,y=t.clone();for(p=0;p<l.length;p++){var g,x=y.andln(v-1);y.isOdd()?(x>(v>>1)-1?g=(v>>1)-x:g=x,y.isubn(g)):g=0,l[p]=g,y.iushrn(1)}return l}r.getNAF=i;function d(t,u){var c=[[],[]];t=t.clone(),u=u.clone();for(var l=0,p=0,v;t.cmpn(-l)>0||u.cmpn(-p)>0;){var y=t.andln(3)+l&3,g=u.andln(3)+p&3;y===3&&(y=-1),g===3&&(g=-1);var x;(y&1)===0?x=0:(v=t.andln(7)+l&7,(v===3||v===5)&&g===2?x=-y:x=y),c[0].push(x);var _;(g&1)===0?_=0:(v=u.andln(7)+p&7,(v===3||v===5)&&y===2?_=-g:_=g),c[1].push(_),2*l===x+1&&(l=1-l),2*p===_+1&&(p=1-p),t.iushrn(1),u.iushrn(1)}return c}r.getJSF=d;function s(t,u,c){var l="_"+u;t.prototype[u]=function(){return this[l]!==void 0?this[l]:this[l]=c.call(this)}}r.cachedProperty=s;function f(t){return typeof t=="string"?r.toArray(t,"hex"):t}r.parseBytes=f;function o(t){return new n(t,"hex","le")}r.intFromLE=o}(utils$2)),utils$2}var curve={},base$1,hasRequiredBase$1;function requireBase$1(){if(hasRequiredBase$1)return base$1;hasRequiredBase$1=1;var e=requireBn(),r=requireUtils$1(),n=r.getNAF,a=r.getJSF,h=r.assert;function i(s,f){this.type=s,this.p=new e(f.p,16),this.red=f.prime?e.red(f.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=f.n&&new e(f.n,16),this.g=f.g&&this.pointFromJSON(f.g,f.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 o=this.n&&this.p.div(this.n);!o||o.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}base$1=i,i.prototype.point=function(){throw new Error("Not implemented")},i.prototype.validate=function(){throw new Error("Not implemented")},i.prototype._fixedNafMul=function(f,o){h(f.precomputed);var t=f._getDoubles(),u=n(o,1,this._bitLength),c=(1<<t.step+1)-(t.step%2===0?2:1);c/=3;var l=[],p,v;for(p=0;p<u.length;p+=t.step){v=0;for(var y=p+t.step-1;y>=p;y--)v=(v<<1)+u[y];l.push(v)}for(var g=this.jpoint(null,null,null),x=this.jpoint(null,null,null),_=c;_>0;_--){for(p=0;p<l.length;p++)v=l[p],v===_?x=x.mixedAdd(t.points[p]):v===-_&&(x=x.mixedAdd(t.points[p].neg()));g=g.add(x)}return g.toP()},i.prototype._wnafMul=function(f,o){var t=4,u=f._getNAFPoints(t);t=u.wnd;for(var c=u.points,l=n(o,t,this._bitLength),p=this.jpoint(null,null,null),v=l.length-1;v>=0;v--){for(var y=0;v>=0&&l[v]===0;v--)y++;if(v>=0&&y++,p=p.dblp(y),v<0)break;var g=l[v];h(g!==0),f.type==="affine"?g>0?p=p.mixedAdd(c[g-1>>1]):p=p.mixedAdd(c[-g-1>>1].neg()):g>0?p=p.add(c[g-1>>1]):p=p.add(c[-g-1>>1].neg())}return f.type==="affine"?p.toP():p},i.prototype._wnafMulAdd=function(f,o,t,u,c){var l=this._wnafT1,p=this._wnafT2,v=this._wnafT3,y=0,g,x,_;for(g=0;g<u;g++){_=o[g];var m=_._getNAFPoints(f);l[g]=m.wnd,p[g]=m.points}for(g=u-1;g>=1;g-=2){var q=g-1,I=g;if(l[q]!==1||l[I]!==1){v[q]=n(t[q],l[q],this._bitLength),v[I]=n(t[I],l[I],this._bitLength),y=Math.max(v[q].length,y),y=Math.max(v[I].length,y);continue}var O=[o[q],null,null,o[I]];o[q].y.cmp(o[I].y)===0?(O[1]=o[q].add(o[I]),O[2]=o[q].toJ().mixedAdd(o[I].neg())):o[q].y.cmp(o[I].y.redNeg())===0?(O[1]=o[q].toJ().mixedAdd(o[I]),O[2]=o[q].add(o[I].neg())):(O[1]=o[q].toJ().mixedAdd(o[I]),O[2]=o[q].toJ().mixedAdd(o[I].neg()));var j=[-3,-1,-5,-7,0,7,5,1,3],z=a(t[q],t[I]);for(y=Math.max(z[0].length,y),v[q]=new Array(y),v[I]=new Array(y),x=0;x<y;x++){var W=z[0][x]|0,X=z[1][x]|0;v[q][x]=j[(W+1)*3+(X+1)],v[I][x]=0,p[q]=O}}var M=this.jpoint(null,null,null),S=this._wnafT4;for(g=y;g>=0;g--){for(var b=0;g>=0;){var A=!0;for(x=0;x<u;x++)S[x]=v[x][g]|0,S[x]!==0&&(A=!1);if(!A)break;b++,g--}if(g>=0&&b++,M=M.dblp(b),g<0)break;for(x=0;x<u;x++){var C=S[x];C!==0&&(C>0?_=p[x][C-1>>1]:C<0&&(_=p[x][-C-1>>1].neg()),_.type==="affine"?M=M.mixedAdd(_):M=M.add(_))}}for(g=0;g<u;g++)p[g]=null;return c?M:M.toP()};function d(s,f){this.curve=s,this.type=f,this.precomputed=null}return i.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},i.prototype.decodePoint=function(f,o){f=r.toArray(f,o);var t=this.p.byteLength();if((f[0]===4||f[0]===6||f[0]===7)&&f.length-1===2*t){f[0]===6?h(f[f.length-1]%2===0):f[0]===7&&h(f[f.length-1]%2===1);var u=this.point(f.slice(1,1+t),f.slice(1+t,1+2*t));return u}else if((f[0]===2||f[0]===3)&&f.length-1===t)return this.pointFromX(f.slice(1,1+t),f[0]===3);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(f){return this.encode(f,!0)},d.prototype._encode=function(f){var o=this.curve.p.byteLength(),t=this.getX().toArray("be",o);return f?[this.getY().isEven()?2:3].concat(t):[4].concat(t,this.getY().toArray("be",o))},d.prototype.encode=function(f,o){return r.encode(this._encode(o),f)},d.prototype.precompute=function(f){if(this.precomputed)return this;var o={doubles:null,naf:null,beta:null};return o.naf=this._getNAFPoints(8),o.doubles=this._getDoubles(4,f),o.beta=this._getBeta(),this.precomputed=o,this},d.prototype._hasDoubles=function(f){if(!this.precomputed)return!1;var o=this.precomputed.doubles;return o?o.points.length>=Math.ceil((f.bitLength()+1)/o.step):!1},d.prototype._getDoubles=function(f,o){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var t=[this],u=this,c=0;c<o;c+=f){for(var l=0;l<f;l++)u=u.dbl();t.push(u)}return{step:f,points:t}},d.prototype._getNAFPoints=function(f){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var o=[this],t=(1<<f)-1,u=t===1?null:this.dbl(),c=1;c<t;c++)o[c]=o[c-1].add(u);return{wnd:f,points:o}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(f){for(var o=this,t=0;t<f;t++)o=o.dbl();return o},base$1}var short,hasRequiredShort;function requireShort(){if(hasRequiredShort)return short;hasRequiredShort=1;var e=requireUtils$1(),r=requireBn(),n=requireInherits_browser(),a=requireBase$1(),h=e.assert;function i(f){a.call(this,"short",f),this.a=new r(f.a,16).toRed(this.red),this.b=new r(f.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(f),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}n(i,a),short=i,i.prototype._getEndomorphism=function(o){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var t,u;if(o.beta)t=new r(o.beta,16).toRed(this.red);else{var c=this._getEndoRoots(this.p);t=c[0].cmp(c[1])<0?c[0]:c[1],t=t.toRed(this.red)}if(o.lambda)u=new r(o.lambda,16);else{var l=this._getEndoRoots(this.n);this.g.mul(l[0]).x.cmp(this.g.x.redMul(t))===0?u=l[0]:(u=l[1],h(this.g.mul(u).x.cmp(this.g.x.redMul(t))===0))}var p;return o.basis?p=o.basis.map(function(v){return{a:new r(v.a,16),b:new r(v.b,16)}}):p=this._getEndoBasis(u),{beta:t,lambda:u,basis:p}}},i.prototype._getEndoRoots=function(o){var t=o===this.p?this.red:r.mont(o),u=new r(2).toRed(t).redInvm(),c=u.redNeg(),l=new r(3).toRed(t).redNeg().redSqrt().redMul(u),p=c.redAdd(l).fromRed(),v=c.redSub(l).fromRed();return[p,v]},i.prototype._getEndoBasis=function(o){for(var t=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=o,c=this.n.clone(),l=new r(1),p=new r(0),v=new r(0),y=new r(1),g,x,_,m,q,I,O,j=0,z,W;u.cmpn(0)!==0;){var X=c.div(u);z=c.sub(X.mul(u)),W=v.sub(X.mul(l));var M=y.sub(X.mul(p));if(!_&&z.cmp(t)<0)g=O.neg(),x=l,_=z.neg(),m=W;else if(_&&++j===2)break;O=z,c=u,u=z,v=l,l=W,y=p,p=M}q=z.neg(),I=W;var S=_.sqr().add(m.sqr()),b=q.sqr().add(I.sqr());return b.cmp(S)>=0&&(q=g,I=x),_.negative&&(_=_.neg(),m=m.neg()),q.negative&&(q=q.neg(),I=I.neg()),[{a:_,b:m},{a:q,b:I}]},i.prototype._endoSplit=function(o){var t=this.endo.basis,u=t[0],c=t[1],l=c.b.mul(o).divRound(this.n),p=u.b.neg().mul(o).divRound(this.n),v=l.mul(u.a),y=p.mul(c.a),g=l.mul(u.b),x=p.mul(c.b),_=o.sub(v).sub(y),m=g.add(x).neg();return{k1:_,k2:m}},i.prototype.pointFromX=function(o,t){o=new r(o,16),o.red||(o=o.toRed(this.red));var u=o.redSqr().redMul(o).redIAdd(o.redMul(this.a)).redIAdd(this.b),c=u.redSqrt();if(c.redSqr().redSub(u).cmp(this.zero)!==0)throw new Error("invalid point");var l=c.fromRed().isOdd();return(t&&!l||!t&&l)&&(c=c.redNeg()),this.point(o,c)},i.prototype.validate=function(o){if(o.inf)return!0;var t=o.x,u=o.y,c=this.a.redMul(t),l=t.redSqr().redMul(t).redIAdd(c).redIAdd(this.b);return u.redSqr().redISub(l).cmpn(0)===0},i.prototype._endoWnafMulAdd=function(o,t,u){for(var c=this._endoWnafT1,l=this._endoWnafT2,p=0;p<o.length;p++){var v=this._endoSplit(t[p]),y=o[p],g=y._getBeta();v.k1.negative&&(v.k1.ineg(),y=y.neg(!0)),v.k2.negative&&(v.k2.ineg(),g=g.neg(!0)),c[p*2]=y,c[p*2+1]=g,l[p*2]=v.k1,l[p*2+1]=v.k2}for(var x=this._wnafMulAdd(1,c,l,p*2,u),_=0;_<p*2;_++)c[_]=null,l[_]=null;return x};function d(f,o,t,u){a.BasePoint.call(this,f,"affine"),o===null&&t===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(o,16),this.y=new r(t,16),u&&(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)}n(d,a.BasePoint),i.prototype.point=function(o,t,u){return new d(this,o,t,u)},i.prototype.pointFromJSON=function(o,t){return d.fromJSON(this,o,t)},d.prototype._getBeta=function(){if(this.curve.endo){var o=this.precomputed;if(o&&o.beta)return o.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(o){var u=this.curve,c=function(l){return u.point(l.x.redMul(u.endo.beta),l.y)};o.beta=t,t.precomputed={beta:null,naf:o.naf&&{wnd:o.naf.wnd,points:o.naf.points.map(c)},doubles:o.doubles&&{step:o.doubles.step,points:o.doubles.points.map(c)}}}return t}},d.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]},d.fromJSON=function(o,t,u){typeof t=="string"&&(t=JSON.parse(t));var c=o.point(t[0],t[1],u);if(!t[2])return c;function l(v){return o.point(v[0],v[1],u)}var p=t[2];return c.precomputed={beta:null,doubles:p.doubles&&{step:p.doubles.step,points:[c].concat(p.doubles.points.map(l))},naf:p.naf&&{wnd:p.naf.wnd,points:[c].concat(p.naf.points.map(l))}},c},d.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)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(o){if(this.inf)return o;if(o.inf)return this;if(this.eq(o))return this.dbl();if(this.neg().eq(o))return this.curve.point(null,null);if(this.x.cmp(o.x)===0)return this.curve.point(null,null);var t=this.y.redSub(o.y);t.cmpn(0)!==0&&(t=t.redMul(this.x.redSub(o.x).redInvm()));var u=t.redSqr().redISub(this.x).redISub(o.x),c=t.redMul(this.x.redSub(u)).redISub(this.y);return this.curve.point(u,c)},d.prototype.dbl=function(){if(this.inf)return this;var o=this.y.redAdd(this.y);if(o.cmpn(0)===0)return this.curve.point(null,null);var t=this.curve.a,u=this.x.redSqr(),c=o.redInvm(),l=u.redAdd(u).redIAdd(u).redIAdd(t).redMul(c),p=l.redSqr().redISub(this.x.redAdd(this.x)),v=l.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,v)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(o){return o=new r(o,16),this.isInfinity()?this:this._hasDoubles(o)?this.curve._fixedNafMul(this,o):this.curve.endo?this.curve._endoWnafMulAdd([this],[o]):this.curve._wnafMul(this,o)},d.prototype.mulAdd=function(o,t,u){var c=[this,t],l=[o,u];return this.curve.endo?this.curve._endoWnafMulAdd(c,l):this.curve._wnafMulAdd(1,c,l,2)},d.prototype.jmulAdd=function(o,t,u){var c=[this,t],l=[o,u];return this.curve.endo?this.curve._endoWnafMulAdd(c,l,!0):this.curve._wnafMulAdd(1,c,l,2,!0)},d.prototype.eq=function(o){return this===o||this.inf===o.inf&&(this.inf||this.x.cmp(o.x)===0&&this.y.cmp(o.y)===0)},d.prototype.neg=function(o){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(o&&this.precomputed){var u=this.precomputed,c=function(l){return l.neg()};t.precomputed={naf:u.naf&&{wnd:u.naf.wnd,points:u.naf.points.map(c)},doubles:u.doubles&&{step:u.doubles.step,points:u.doubles.points.map(c)}}}return t},d.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var o=this.curve.jpoint(this.x,this.y,this.curve.one);return o};function s(f,o,t,u){a.BasePoint.call(this,f,"jacobian"),o===null&&t===null&&u===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(o,16),this.y=new r(t,16),this.z=new r(u,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}return n(s,a.BasePoint),i.prototype.jpoint=function(o,t,u){return new s(this,o,t,u)},s.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var o=this.z.redInvm(),t=o.redSqr(),u=this.x.redMul(t),c=this.y.redMul(t).redMul(o);return this.curve.point(u,c)},s.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},s.prototype.add=function(o){if(this.isInfinity())return o;if(o.isInfinity())return this;var t=o.z.redSqr(),u=this.z.redSqr(),c=this.x.redMul(t),l=o.x.redMul(u),p=this.y.redMul(t.redMul(o.z)),v=o.y.redMul(u.redMul(this.z)),y=c.redSub(l),g=p.redSub(v);if(y.cmpn(0)===0)return g.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var x=y.redSqr(),_=x.redMul(y),m=c.redMul(x),q=g.redSqr().redIAdd(_).redISub(m).redISub(m),I=g.redMul(m.redISub(q)).redISub(p.redMul(_)),O=this.z.redMul(o.z).redMul(y);return this.curve.jpoint(q,I,O)},s.prototype.mixedAdd=function(o){if(this.isInfinity())return o.toJ();if(o.isInfinity())return this;var t=this.z.redSqr(),u=this.x,c=o.x.redMul(t),l=this.y,p=o.y.redMul(t).redMul(this.z),v=u.redSub(c),y=l.redSub(p);if(v.cmpn(0)===0)return y.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=v.redSqr(),x=g.redMul(v),_=u.redMul(g),m=y.redSqr().redIAdd(x).redISub(_).redISub(_),q=y.redMul(_.redISub(m)).redISub(l.redMul(x)),I=this.z.redMul(v);return this.curve.jpoint(m,q,I)},s.prototype.dblp=function(o){if(o===0)return this;if(this.isInfinity())return this;if(!o)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var u=this;for(t=0;t<o;t++)u=u.dbl();return u}var c=this.curve.a,l=this.curve.tinv,p=this.x,v=this.y,y=this.z,g=y.redSqr().redSqr(),x=v.redAdd(v);for(t=0;t<o;t++){var _=p.redSqr(),m=x.redSqr(),q=m.redSqr(),I=_.redAdd(_).redIAdd(_).redIAdd(c.redMul(g)),O=p.redMul(m),j=I.redSqr().redISub(O.redAdd(O)),z=O.redISub(j),W=I.redMul(z);W=W.redIAdd(W).redISub(q);var X=x.redMul(y);t+1<o&&(g=g.redMul(q)),p=j,y=X,x=W}return this.curve.jpoint(p,x.redMul(l),y)},s.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},s.prototype._zeroDbl=function(){var o,t,u;if(this.zOne){var c=this.x.redSqr(),l=this.y.redSqr(),p=l.redSqr(),v=this.x.redAdd(l).redSqr().redISub(c).redISub(p);v=v.redIAdd(v);var y=c.redAdd(c).redIAdd(c),g=y.redSqr().redISub(v).redISub(v),x=p.redIAdd(p);x=x.redIAdd(x),x=x.redIAdd(x),o=g,t=y.redMul(v.redISub(g)).redISub(x),u=this.y.redAdd(this.y)}else{var _=this.x.redSqr(),m=this.y.redSqr(),q=m.redSqr(),I=this.x.redAdd(m).redSqr().redISub(_).redISub(q);I=I.redIAdd(I);var O=_.redAdd(_).redIAdd(_),j=O.redSqr(),z=q.redIAdd(q);z=z.redIAdd(z),z=z.redIAdd(z),o=j.redISub(I).redISub(I),t=O.redMul(I.redISub(o)).redISub(z),u=this.y.redMul(this.z),u=u.redIAdd(u)}return this.curve.jpoint(o,t,u)},s.prototype._threeDbl=function(){var o,t,u;if(this.zOne){var c=this.x.redSqr(),l=this.y.redSqr(),p=l.redSqr(),v=this.x.redAdd(l).redSqr().redISub(c).redISub(p);v=v.redIAdd(v);var y=c.redAdd(c).redIAdd(c).redIAdd(this.curve.a),g=y.redSqr().redISub(v).redISub(v);o=g;var x=p.redIAdd(p);x=x.redIAdd(x),x=x.redIAdd(x),t=y.redMul(v.redISub(g)).redISub(x),u=this.y.redAdd(this.y)}else{var _=this.z.redSqr(),m=this.y.redSqr(),q=this.x.redMul(m),I=this.x.redSub(_).redMul(this.x.redAdd(_));I=I.redAdd(I).redIAdd(I);var O=q.redIAdd(q);O=O.redIAdd(O);var j=O.redAdd(O);o=I.redSqr().redISub(j),u=this.y.redAdd(this.z).redSqr().redISub(m).redISub(_);var z=m.redSqr();z=z.redIAdd(z),z=z.redIAdd(z),z=z.redIAdd(z),t=I.redMul(O.redISub(o)).redISub(z)}return this.curve.jpoint(o,t,u)},s.prototype._dbl=function(){var o=this.curve.a,t=this.x,u=this.y,c=this.z,l=c.redSqr().redSqr(),p=t.redSqr(),v=u.redSqr(),y=p.redAdd(p).redIAdd(p).redIAdd(o.redMul(l)),g=t.redAdd(t);g=g.redIAdd(g);var x=g.redMul(v),_=y.redSqr().redISub(x.redAdd(x)),m=x.redISub(_),q=v.redSqr();q=q.redIAdd(q),q=q.redIAdd(q),q=q.redIAdd(q);var I=y.redMul(m).redISub(q),O=u.redAdd(u).redMul(c);return this.curve.jpoint(_,I,O)},s.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var o=this.x.redSqr(),t=this.y.redSqr(),u=this.z.redSqr(),c=t.redSqr(),l=o.redAdd(o).redIAdd(o),p=l.redSqr(),v=this.x.redAdd(t).redSqr().redISub(o).redISub(c);v=v.redIAdd(v),v=v.redAdd(v).redIAdd(v),v=v.redISub(p);var y=v.redSqr(),g=c.redIAdd(c);g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g);var x=l.redIAdd(v).redSqr().redISub(p).redISub(y).redISub(g),_=t.redMul(x);_=_.redIAdd(_),_=_.redIAdd(_);var m=this.x.redMul(y).redISub(_);m=m.redIAdd(m),m=m.redIAdd(m);var q=this.y.redMul(x.redMul(g.redISub(x)).redISub(v.redMul(y)));q=q.redIAdd(q),q=q.redIAdd(q),q=q.redIAdd(q);var I=this.z.redAdd(v).redSqr().redISub(u).redISub(y);return this.curve.jpoint(m,q,I)},s.prototype.mul=function(o,t){return o=new r(o,t),this.curve._wnafMul(this,o)},s.prototype.eq=function(o){if(o.type==="affine")return this.eq(o.toJ());if(this===o)return!0;var t=this.z.redSqr(),u=o.z.redSqr();if(this.x.redMul(u).redISub(o.x.redMul(t)).cmpn(0)!==0)return!1;var c=t.redMul(this.z),l=u.redMul(o.z);return this.y.redMul(l).redISub(o.y.redMul(c)).cmpn(0)===0},s.prototype.eqXToP=function(o){var t=this.z.redSqr(),u=o.toRed(this.curve.red).redMul(t);if(this.x.cmp(u)===0)return!0;for(var c=o.clone(),l=this.curve.redN.redMul(t);;){if(c.iadd(this.curve.n),c.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},s.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)+">"},s.prototype.isInfinity=function(){return this.z.cmpn(0)===0},short}var mont,hasRequiredMont;function requireMont(){if(hasRequiredMont)return mont;hasRequiredMont=1;var e=requireBn(),r=requireInherits_browser(),n=requireBase$1(),a=requireUtils$1();function h(d){n.call(this,"mont",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(d.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}r(h,n),mont=h,h.prototype.validate=function(s){var f=s.normalize().x,o=f.redSqr(),t=o.redMul(f).redAdd(o.redMul(this.a)).redAdd(f),u=t.redSqrt();return u.redSqr().cmp(t)===0};function i(d,s,f){n.BasePoint.call(this,d,"projective"),s===null&&f===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(s,16),this.z=new e(f,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return r(i,n.BasePoint),h.prototype.decodePoint=function(s,f){return this.point(a.toArray(s,f),1)},h.prototype.point=function(s,f){return new i(this,s,f)},h.prototype.pointFromJSON=function(s){return i.fromJSON(this,s)},i.prototype.precompute=function(){},i.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},i.fromJSON=function(s,f){return new i(s,f[0],f[1]||s.one)},i.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)+">"},i.prototype.isInfinity=function(){return this.z.cmpn(0)===0},i.prototype.dbl=function(){var s=this.x.redAdd(this.z),f=s.redSqr(),o=this.x.redSub(this.z),t=o.redSqr(),u=f.redSub(t),c=f.redMul(t),l=u.redMul(t.redAdd(this.curve.a24.redMul(u)));return this.curve.point(c,l)},i.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.diffAdd=function(s,f){var o=this.x.redAdd(this.z),t=this.x.redSub(this.z),u=s.x.redAdd(s.z),c=s.x.redSub(s.z),l=c.redMul(o),p=u.redMul(t),v=f.z.redMul(l.redAdd(p).redSqr()),y=f.x.redMul(l.redISub(p).redSqr());return this.curve.point(v,y)},i.prototype.mul=function(s){for(var f=s.clone(),o=this,t=this.curve.point(null,null),u=this,c=[];f.cmpn(0)!==0;f.iushrn(1))c.push(f.andln(1));for(var l=c.length-1;l>=0;l--)c[l]===0?(o=o.diffAdd(t,u),t=t.dbl()):(t=o.diffAdd(t,u),o=o.dbl());return t},i.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.eq=function(s){return this.getX().cmp(s.getX())===0},i.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()},mont}var edwards,hasRequiredEdwards;function requireEdwards(){if(hasRequiredEdwards)return edwards;hasRequiredEdwards=1;var e=requireUtils$1(),r=requireBn(),n=requireInherits_browser(),a=requireBase$1(),h=e.assert;function i(s){this.twisted=(s.a|0)!==1,this.mOneA=this.twisted&&(s.a|0)===-1,this.extended=this.mOneA,a.call(this,"edwards",s),this.a=new r(s.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(s.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(s.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),h(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(s.c|0)===1}n(i,a),edwards=i,i.prototype._mulA=function(f){return this.mOneA?f.redNeg():this.a.redMul(f)},i.prototype._mulC=function(f){return this.oneC?f:this.c.redMul(f)},i.prototype.jpoint=function(f,o,t,u){return this.point(f,o,t,u)},i.prototype.pointFromX=function(f,o){f=new r(f,16),f.red||(f=f.toRed(this.red));var t=f.redSqr(),u=this.c2.redSub(this.a.redMul(t)),c=this.one.redSub(this.c2.redMul(this.d).redMul(t)),l=u.redMul(c.redInvm()),p=l.redSqrt();if(p.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=p.fromRed().isOdd();return(o&&!v||!o&&v)&&(p=p.redNeg()),this.point(f,p)},i.prototype.pointFromY=function(f,o){f=new r(f,16),f.red||(f=f.toRed(this.red));var t=f.redSqr(),u=t.redSub(this.c2),c=t.redMul(this.d).redMul(this.c2).redSub(this.a),l=u.redMul(c.redInvm());if(l.cmp(this.zero)===0){if(o)throw new Error("invalid point");return this.point(this.zero,f)}var p=l.redSqrt();if(p.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==o&&(p=p.redNeg()),this.point(p,f)},i.prototype.validate=function(f){if(f.isInfinity())return!0;f.normalize();var o=f.x.redSqr(),t=f.y.redSqr(),u=o.redMul(this.a).redAdd(t),c=this.c2.redMul(this.one.redAdd(this.d.redMul(o).redMul(t)));return u.cmp(c)===0};function d(s,f,o,t,u){a.BasePoint.call(this,s,"projective"),f===null&&o===null&&t===null?(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 r(f,16),this.y=new r(o,16),this.z=t?new r(t,16):this.curve.one,this.t=u&&new r(u,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()))))}return n(d,a.BasePoint),i.prototype.pointFromJSON=function(f){return d.fromJSON(this,f)},i.prototype.point=function(f,o,t,u){return new d(this,f,o,t,u)},d.fromJSON=function(f,o){return new d(f,o[0],o[1],o[2])},d.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)+">"},d.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},d.prototype._extDbl=function(){var f=this.x.redSqr(),o=this.y.redSqr(),t=this.z.redSqr();t=t.redIAdd(t);var u=this.curve._mulA(f),c=this.x.redAdd(this.y).redSqr().redISub(f).redISub(o),l=u.redAdd(o),p=l.redSub(t),v=u.redSub(o),y=c.redMul(p),g=l.redMul(v),x=c.redMul(v),_=p.redMul(l);return this.curve.point(y,g,_,x)},d.prototype._projDbl=function(){var f=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),t=this.y.redSqr(),u,c,l,p,v,y;if(this.curve.twisted){p=this.curve._mulA(o);var g=p.redAdd(t);this.zOne?(u=f.redSub(o).redSub(t).redMul(g.redSub(this.curve.two)),c=g.redMul(p.redSub(t)),l=g.redSqr().redSub(g).redSub(g)):(v=this.z.redSqr(),y=g.redSub(v).redISub(v),u=f.redSub(o).redISub(t).redMul(y),c=g.redMul(p.redSub(t)),l=g.redMul(y))}else p=o.redAdd(t),v=this.curve._mulC(this.z).redSqr(),y=p.redSub(v).redSub(v),u=this.curve._mulC(f.redISub(p)).redMul(y),c=this.curve._mulC(p).redMul(o.redISub(t)),l=p.redMul(y);return this.curve.point(u,c,l)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(f){var o=this.y.redSub(this.x).redMul(f.y.redSub(f.x)),t=this.y.redAdd(this.x).redMul(f.y.redAdd(f.x)),u=this.t.redMul(this.curve.dd).redMul(f.t),c=this.z.redMul(f.z.redAdd(f.z)),l=t.redSub(o),p=c.redSub(u),v=c.redAdd(u),y=t.redAdd(o),g=l.redMul(p),x=v.redMul(y),_=l.redMul(y),m=p.redMul(v);return this.curve.point(g,x,m,_)},d.prototype._projAdd=function(f){var o=this.z.redMul(f.z),t=o.redSqr(),u=this.x.redMul(f.x),c=this.y.redMul(f.y),l=this.curve.d.redMul(u).redMul(c),p=t.redSub(l),v=t.redAdd(l),y=this.x.redAdd(this.y).redMul(f.x.redAdd(f.y)).redISub(u).redISub(c),g=o.redMul(p).redMul(y),x,_;return this.curve.twisted?(x=o.redMul(v).redMul(c.redSub(this.curve._mulA(u))),_=p.redMul(v)):(x=o.redMul(v).redMul(c.redSub(u)),_=this.curve._mulC(p).redMul(v)),this.curve.point(g,x,_)},d.prototype.add=function(f){return this.isInfinity()?f:f.isInfinity()?this:this.curve.extended?this._extAdd(f):this._projAdd(f)},d.prototype.mul=function(f){return this._hasDoubles(f)?this.curve._fixedNafMul(this,f):this.curve._wnafMul(this,f)},d.prototype.mulAdd=function(f,o,t){return this.curve._wnafMulAdd(1,[this,o],[f,t],2,!1)},d.prototype.jmulAdd=function(f,o,t){return this.curve._wnafMulAdd(1,[this,o],[f,t],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var f=this.z.redInvm();return this.x=this.x.redMul(f),this.y=this.y.redMul(f),this.t&&(this.t=this.t.redMul(f)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(f){return this===f||this.getX().cmp(f.getX())===0&&this.getY().cmp(f.getY())===0},d.prototype.eqXToP=function(f){var o=f.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(o)===0)return!0;for(var t=f.clone(),u=this.curve.redN.redMul(this.z);;){if(t.iadd(this.curve.n),t.cmp(this.curve.p)>=0)return!1;if(o.redIAdd(u),this.x.cmp(o)===0)return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add,edwards}var hasRequiredCurve;function requireCurve(){return hasRequiredCurve||(hasRequiredCurve=1,function(e){var r=e;r.base=requireBase$1(),r.short=requireShort(),r.mont=requireMont(),r.edwards=requireEdwards()}(curve)),curve}var curves={},hash={},utils={},hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var e=requireMinimalisticAssert(),r=requireInherits_browser();utils.inherits=r;function n(M,S){return(M.charCodeAt(S)&64512)!==55296||S<0||S+1>=M.length?!1:(M.charCodeAt(S+1)&64512)===56320}function a(M,S){if(Array.isArray(M))return M.slice();if(!M)return[];var b=[];if(typeof M=="string")if(S){if(S==="hex")for(M=M.replace(/[^a-z0-9]+/ig,""),M.length%2!==0&&(M="0"+M),C=0;C<M.length;C+=2)b.push(parseInt(M[C]+M[C+1],16))}else for(var A=0,C=0;C<M.length;C++){var E=M.charCodeAt(C);E<128?b[A++]=E:E<2048?(b[A++]=E>>6|192,b[A++]=E&63|128):n(M,C)?(E=65536+((E&1023)<<10)+(M.charCodeAt(++C)&1023),b[A++]=E>>18|240,b[A++]=E>>12&63|128,b[A++]=E>>6&63|128,b[A++]=E&63|128):(b[A++]=E>>12|224,b[A++]=E>>6&63|128,b[A++]=E&63|128)}else for(C=0;C<M.length;C++)b[C]=M[C]|0;return b}utils.toArray=a;function h(M){for(var S="",b=0;b<M.length;b++)S+=s(M[b].toString(16));return S}utils.toHex=h;function i(M){var S=M>>>24|M>>>8&65280|M<<8&16711680|(M&255)<<24;return S>>>0}utils.htonl=i;function d(M,S){for(var b="",A=0;A<M.length;A++){var C=M[A];S==="little"&&(C=i(C)),b+=f(C.toString(16))}return b}utils.toHex32=d;function s(M){return M.length===1?"0"+M:M}utils.zero2=s;function f(M){return M.length===7?"0"+M:M.length===6?"00"+M:M.length===5?"000"+M:M.length===4?"0000"+M:M.length===3?"00000"+M:M.length===2?"000000"+M:M.length===1?"0000000"+M:M}utils.zero8=f;function o(M,S,b,A){var C=b-S;e(C%4===0);for(var E=new Array(C/4),F=0,k=S;F<E.length;F++,k+=4){var K;A==="big"?K=M[k]<<24|M[k+1]<<16|M[k+2]<<8|M[k+3]:K=M[k+3]<<24|M[k+2]<<16|M[k+1]<<8|M[k],E[F]=K>>>0}return E}utils.join32=o;function t(M,S){for(var b=new Array(M.length*4),A=0,C=0;A<M.length;A++,C+=4){var E=M[A];S==="big"?(b[C]=E>>>24,b[C+1]=E>>>16&255,b[C+2]=E>>>8&255,b[C+3]=E&255):(b[C+3]=E>>>24,b[C+2]=E>>>16&255,b[C+1]=E>>>8&255,b[C]=E&255)}return b}utils.split32=t;function u(M,S){return M>>>S|M<<32-S}utils.rotr32=u;function c(M,S){return M<<S|M>>>32-S}utils.rotl32=c;function l(M,S){return M+S>>>0}utils.sum32=l;function p(M,S,b){return M+S+b>>>0}utils.sum32_3=p;function v(M,S,b,A){return M+S+b+A>>>0}utils.sum32_4=v;function y(M,S,b,A,C){return M+S+b+A+C>>>0}utils.sum32_5=y;function g(M,S,b,A){var C=M[S],E=M[S+1],F=A+E>>>0,k=(F<A?1:0)+b+C;M[S]=k>>>0,M[S+1]=F}utils.sum64=g;function x(M,S,b,A){var C=S+A>>>0,E=(C<S?1:0)+M+b;return E>>>0}utils.sum64_hi=x;function _(M,S,b,A){var C=S+A;return C>>>0}utils.sum64_lo=_;function m(M,S,b,A,C,E,F,k){var K=0,P=S;P=P+A>>>0,K+=P<S?1:0,P=P+E>>>0,K+=P<E?1:0,P=P+k>>>0,K+=P<k?1:0;var w=M+b+C+F+K;return w>>>0}utils.sum64_4_hi=m;function q(M,S,b,A,C,E,F,k){var K=S+A+E+k;return K>>>0}utils.sum64_4_lo=q;function I(M,S,b,A,C,E,F,k,K,P){var w=0,$=S;$=$+A>>>0,w+=$<S?1:0,$=$+E>>>0,w+=$<E?1:0,$=$+k>>>0,w+=$<k?1:0,$=$+P>>>0,w+=$<P?1:0;var H=M+b+C+F+K+w;return H>>>0}utils.sum64_5_hi=I;function O(M,S,b,A,C,E,F,k,K,P){var w=S+A+E+k+P;return w>>>0}utils.sum64_5_lo=O;function j(M,S,b){var A=S<<32-b|M>>>b;return A>>>0}utils.rotr64_hi=j;function z(M,S,b){var A=M<<32-b|S>>>b;return A>>>0}utils.rotr64_lo=z;function W(M,S,b){return M>>>b}utils.shr64_hi=W;function X(M,S,b){var A=M<<32-b|S>>>b;return A>>>0}return utils.shr64_lo=X,utils}var common$1={},hasRequiredCommon$1;function requireCommon$1(){if(hasRequiredCommon$1)return common$1;hasRequiredCommon$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function n(){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}return common$1.BlockHash=n,n.prototype.update=function(h,i){if(h=e.toArray(h,i),this.pending?this.pending=this.pending.concat(h):this.pending=h,this.pendingTotal+=h.length,this.pending.length>=this._delta8){h=this.pending;var d=h.length%this._delta8;this.pending=h.slice(h.length-d,h.length),this.pending.length===0&&(this.pending=null),h=e.join32(h,0,h.length-d,this.endian);for(var s=0;s<h.length;s+=this._delta32)this._update(h,s,s+this._delta32)}return this},n.prototype.digest=function(h){return this.update(this._pad()),r(this.pending===null),this._digest(h)},n.prototype._pad=function(){var h=this.pendingTotal,i=this._delta8,d=i-(h+this.padLength)%i,s=new Array(d+this.padLength);s[0]=128;for(var f=1;f<d;f++)s[f]=0;if(h<<=3,this.endian==="big"){for(var o=8;o<this.padLength;o++)s[f++]=0;s[f++]=0,s[f++]=0,s[f++]=0,s[f++]=0,s[f++]=h>>>24&255,s[f++]=h>>>16&255,s[f++]=h>>>8&255,s[f++]=h&255}else for(s[f++]=h&255,s[f++]=h>>>8&255,s[f++]=h>>>16&255,s[f++]=h>>>24&255,s[f++]=0,s[f++]=0,s[f++]=0,s[f++]=0,o=8;o<this.padLength;o++)s[f++]=0;return s},common$1}var sha={},common={},hasRequiredCommon;function requireCommon(){if(hasRequiredCommon)return common;hasRequiredCommon=1;var e=requireUtils(),r=e.rotr32;function n(t,u,c,l){if(t===0)return a(u,c,l);if(t===1||t===3)return i(u,c,l);if(t===2)return h(u,c,l)}common.ft_1=n;function a(t,u,c){return t&u^~t&c}common.ch32=a;function h(t,u,c){return t&u^t&c^u&c}common.maj32=h;function i(t,u,c){return t^u^c}common.p32=i;function d(t){return r(t,2)^r(t,13)^r(t,22)}common.s0_256=d;function s(t){return r(t,6)^r(t,11)^r(t,25)}common.s1_256=s;function f(t){return r(t,7)^r(t,18)^t>>>3}common.g0_256=f;function o(t){return r(t,17)^r(t,19)^t>>>10}return common.g1_256=o,common}var _1,hasRequired_1;function require_1(){if(hasRequired_1)return _1;hasRequired_1=1;var e=requireUtils(),r=requireCommon$1(),n=requireCommon(),a=e.rotl32,h=e.sum32,i=e.sum32_5,d=n.ft_1,s=r.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function o(){if(!(this instanceof o))return new o;s.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(o,s),_1=o,o.blockSize=512,o.outSize=160,o.hmacStrength=80,o.padLength=64,o.prototype._update=function(u,c){for(var l=this.W,p=0;p<16;p++)l[p]=u[c+p];for(;p<l.length;p++)l[p]=a(l[p-3]^l[p-8]^l[p-14]^l[p-16],1);var v=this.h[0],y=this.h[1],g=this.h[2],x=this.h[3],_=this.h[4];for(p=0;p<l.length;p++){var m=~~(p/20),q=i(a(v,5),d(m,y,g,x),_,l[p],f[m]);_=x,x=g,g=a(y,30),y=v,v=q}this.h[0]=h(this.h[0],v),this.h[1]=h(this.h[1],y),this.h[2]=h(this.h[2],g),this.h[3]=h(this.h[3],x),this.h[4]=h(this.h[4],_)},o.prototype._digest=function(u){return u==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_1}var _256,hasRequired_256;function require_256(){if(hasRequired_256)return _256;hasRequired_256=1;var e=requireUtils(),r=requireCommon$1(),n=requireCommon(),a=requireMinimalisticAssert(),h=e.sum32,i=e.sum32_4,d=e.sum32_5,s=n.ch32,f=n.maj32,o=n.s0_256,t=n.s1_256,u=n.g0_256,c=n.g1_256,l=r.BlockHash,p=[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 v(){if(!(this instanceof v))return new v;l.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=p,this.W=new Array(64)}return e.inherits(v,l),_256=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(g,x){for(var _=this.W,m=0;m<16;m++)_[m]=g[x+m];for(;m<_.length;m++)_[m]=i(c(_[m-2]),_[m-7],u(_[m-15]),_[m-16]);var q=this.h[0],I=this.h[1],O=this.h[2],j=this.h[3],z=this.h[4],W=this.h[5],X=this.h[6],M=this.h[7];for(a(this.k.length===_.length),m=0;m<_.length;m++){var S=d(M,t(z),s(z,W,X),this.k[m],_[m]),b=h(o(q),f(q,I,O));M=X,X=W,W=z,z=h(j,S),j=O,O=I,I=q,q=h(S,b)}this.h[0]=h(this.h[0],q),this.h[1]=h(this.h[1],I),this.h[2]=h(this.h[2],O),this.h[3]=h(this.h[3],j),this.h[4]=h(this.h[4],z),this.h[5]=h(this.h[5],W),this.h[6]=h(this.h[6],X),this.h[7]=h(this.h[7],M)},v.prototype._digest=function(g){return g==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_256}var _224,hasRequired_224;function require_224(){if(hasRequired_224)return _224;hasRequired_224=1;var e=requireUtils(),r=require_256();function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(n,r),_224=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(h){return h==="hex"?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")},_224}var _512,hasRequired_512;function require_512(){if(hasRequired_512)return _512;hasRequired_512=1;var e=requireUtils(),r=requireCommon$1(),n=requireMinimalisticAssert(),a=e.rotr64_hi,h=e.rotr64_lo,i=e.shr64_hi,d=e.shr64_lo,s=e.sum64,f=e.sum64_hi,o=e.sum64_lo,t=e.sum64_4_hi,u=e.sum64_4_lo,c=e.sum64_5_hi,l=e.sum64_5_lo,p=r.BlockHash,v=[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 y(){if(!(this instanceof y))return new y;p.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}e.inherits(y,p),_512=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(b,A){for(var C=this.W,E=0;E<32;E++)C[E]=b[A+E];for(;E<C.length;E+=2){var F=X(C[E-4],C[E-3]),k=M(C[E-4],C[E-3]),K=C[E-14],P=C[E-13],w=z(C[E-30],C[E-29]),$=W(C[E-30],C[E-29]),H=C[E-32],J=C[E-31];C[E]=t(F,k,K,P,w,$,H,J),C[E+1]=u(F,k,K,P,w,$,H,J)}},y.prototype._update=function(b,A){this._prepareBlock(b,A);var C=this.W,E=this.h[0],F=this.h[1],k=this.h[2],K=this.h[3],P=this.h[4],w=this.h[5],$=this.h[6],H=this.h[7],J=this.h[8],V=this.h[9],D=this.h[10],T=this.h[11],Y=this.h[12],Q=this.h[13],U=this.h[14],L=this.h[15];n(this.k.length===C.length);for(var ee=0;ee<C.length;ee+=2){var ie=U,oe=L,ae=O(J,V),fe=j(J,V),de=g(J,V,D,T,Y),ne=x(J,V,D,T,Y,Q),le=this.k[ee],se=this.k[ee+1],ce=C[ee],ue=C[ee+1],he=c(ie,oe,ae,fe,de,ne,le,se,ce,ue),Me=l(ie,oe,ae,fe,de,ne,le,se,ce,ue);ie=q(E,F),oe=I(E,F),ae=_(E,F,k,K,P),fe=m(E,F,k,K,P,w);var xe=f(ie,oe,ae,fe),ge=o(ie,oe,ae,fe);U=Y,L=Q,Y=D,Q=T,D=J,T=V,J=f($,H,he,Me),V=o(H,H,he,Me),$=P,H=w,P=k,w=K,k=E,K=F,E=f(he,Me,xe,ge),F=o(he,Me,xe,ge)}s(this.h,0,E,F),s(this.h,2,k,K),s(this.h,4,P,w),s(this.h,6,$,H),s(this.h,8,J,V),s(this.h,10,D,T),s(this.h,12,Y,Q),s(this.h,14,U,L)},y.prototype._digest=function(b){return b==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")};function g(S,b,A,C,E){var F=S&A^~S&E;return F<0&&(F+=4294967296),F}function x(S,b,A,C,E,F){var k=b&C^~b&F;return k<0&&(k+=4294967296),k}function _(S,b,A,C,E){var F=S&A^S&E^A&E;return F<0&&(F+=4294967296),F}function m(S,b,A,C,E,F){var k=b&C^b&F^C&F;return k<0&&(k+=4294967296),k}function q(S,b){var A=a(S,b,28),C=a(b,S,2),E=a(b,S,7),F=A^C^E;return F<0&&(F+=4294967296),F}function I(S,b){var A=h(S,b,28),C=h(b,S,2),E=h(b,S,7),F=A^C^E;return F<0&&(F+=4294967296),F}function O(S,b){var A=a(S,b,14),C=a(S,b,18),E=a(b,S,9),F=A^C^E;return F<0&&(F+=4294967296),F}function j(S,b){var A=h(S,b,14),C=h(S,b,18),E=h(b,S,9),F=A^C^E;return F<0&&(F+=4294967296),F}function z(S,b){var A=a(S,b,1),C=a(S,b,8),E=i(S,b,7),F=A^C^E;return F<0&&(F+=4294967296),F}function W(S,b){var A=h(S,b,1),C=h(S,b,8),E=d(S,b,7),F=A^C^E;return F<0&&(F+=4294967296),F}function X(S,b){var A=a(S,b,19),C=a(b,S,29),E=i(S,b,6),F=A^C^E;return F<0&&(F+=4294967296),F}function M(S,b){var A=h(S,b,19),C=h(b,S,29),E=d(S,b,6),F=A^C^E;return F<0&&(F+=4294967296),F}return _512}var _384,hasRequired_384;function require_384(){if(hasRequired_384)return _384;hasRequired_384=1;var e=requireUtils(),r=require_512();function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(n,r),_384=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(h){return h==="hex"?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")},_384}var hasRequiredSha;function requireSha(){return hasRequiredSha||(hasRequiredSha=1,sha.sha1=require_1(),sha.sha224=require_224(),sha.sha256=require_256(),sha.sha384=require_384(),sha.sha512=require_512()),sha}var ripemd={},hasRequiredRipemd;function requireRipemd(){if(hasRequiredRipemd)return ripemd;hasRequiredRipemd=1;var e=requireUtils(),r=requireCommon$1(),n=e.rotl32,a=e.sum32,h=e.sum32_3,i=e.sum32_4,d=r.BlockHash;function s(){if(!(this instanceof s))return new s;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}e.inherits(s,d),ripemd.ripemd160=s,s.blockSize=512,s.outSize=160,s.hmacStrength=192,s.padLength=64,s.prototype._update=function(y,g){for(var x=this.h[0],_=this.h[1],m=this.h[2],q=this.h[3],I=this.h[4],O=x,j=_,z=m,W=q,X=I,M=0;M<80;M++){var S=a(n(i(x,f(M,_,m,q),y[u[M]+g],o(M)),l[M]),I);x=I,I=q,q=n(m,10),m=_,_=S,S=a(n(i(O,f(79-M,j,z,W),y[c[M]+g],t(M)),p[M]),X),O=X,X=W,W=n(z,10),z=j,j=S}S=h(this.h[1],m,W),this.h[1]=h(this.h[2],q,X),this.h[2]=h(this.h[3],I,O),this.h[3]=h(this.h[4],x,j),this.h[4]=h(this.h[0],_,z),this.h[0]=S},s.prototype._digest=function(y){return y==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};function f(v,y,g,x){return v<=15?y^g^x:v<=31?y&g|~y&x:v<=47?(y|~g)^x:v<=63?y&x|g&~x:y^(g|~x)}function o(v){return v<=15?0:v<=31?1518500249:v<=47?1859775393:v<=63?2400959708:2840853838}function t(v){return v<=15?1352829926:v<=31?1548603684:v<=47?1836072691:v<=63?2053994217:0}var u=[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],c=[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],l=[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],p=[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];return ripemd}var hmac$2,hasRequiredHmac$1;function requireHmac$1(){if(hasRequiredHmac$1)return hmac$2;hasRequiredHmac$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function n(a,h,i){if(!(this instanceof n))return new n(a,h,i);this.Hash=a,this.blockSize=a.blockSize/8,this.outSize=a.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(h,i))}return hmac$2=n,n.prototype._init=function(h){h.length>this.blockSize&&(h=new this.Hash().update(h).digest()),r(h.length<=this.blockSize);for(var i=h.length;i<this.blockSize;i++)h.push(0);for(i=0;i<h.length;i++)h[i]^=54;for(this.inner=new this.Hash().update(h),i=0;i<h.length;i++)h[i]^=106;this.outer=new this.Hash().update(h)},n.prototype.update=function(h,i){return this.inner.update(h,i),this},n.prototype.digest=function(h){return this.outer.update(this.inner.digest()),this.outer.digest(h)},hmac$2}var hasRequiredHash;function requireHash(){return hasRequiredHash||(hasRequiredHash=1,function(e){var r=e;r.utils=requireUtils(),r.common=requireCommon$1(),r.sha=requireSha(),r.ripemd=requireRipemd(),r.hmac=requireHmac$1(),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160}(hash)),hash}var secp256k1,hasRequiredSecp256k1;function requireSecp256k1(){return hasRequiredSecp256k1||(hasRequiredSecp256k1=1,secp256k1={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"]]}}),secp256k1}var hasRequiredCurves;function requireCurves(){return hasRequiredCurves||(hasRequiredCurves=1,function(e){var r=e,n=requireHash(),a=requireCurve(),h=requireUtils$1(),i=h.assert;function d(o){o.type==="short"?this.curve=new a.short(o):o.type==="edwards"?this.curve=new a.edwards(o):this.curve=new a.mont(o),this.g=this.curve.g,this.n=this.curve.n,this.hash=o.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}r.PresetCurve=d;function s(o,t){Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:function(){var u=new d(t);return Object.defineProperty(r,o,{configurable:!0,enumerable:!0,value:u}),u}})}s("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:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("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:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("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:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("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:n.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"]}),s("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:n.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"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),s("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:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var f;try{f=requireSecp256k1()}catch{f=void 0}s("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:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",f]})}(curves)),curves}var hmacDrbg,hasRequiredHmacDrbg;function requireHmacDrbg(){if(hasRequiredHmacDrbg)return hmacDrbg;hasRequiredHmacDrbg=1;var e=requireHash(),r=requireUtils$2(),n=requireMinimalisticAssert();function a(h){if(!(this instanceof a))return new a(h);this.hash=h.hash,this.predResist=!!h.predResist,this.outLen=this.hash.outSize,this.minEntropy=h.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var i=r.toArray(h.entropy,h.entropyEnc||"hex"),d=r.toArray(h.nonce,h.nonceEnc||"hex"),s=r.toArray(h.pers,h.persEnc||"hex");n(i.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(i,d,s)}return hmacDrbg=a,a.prototype._init=function(i,d,s){var f=i.concat(d).concat(s);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(f),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},a.prototype._update=function(i){var d=this._hmac().update(this.V).update([0]);i&&(d=d.update(i)),this.K=d.digest(),this.V=this._hmac().update(this.V).digest(),i&&(this.K=this._hmac().update(this.V).update([1]).update(i).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(i,d,s,f){typeof d!="string"&&(f=s,s=d,d=null),i=r.toArray(i,d),s=r.toArray(s,f),n(i.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(i.concat(s||[])),this._reseed=1},a.prototype.generate=function(i,d,s,f){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof d!="string"&&(f=s,s=d,d=null),s&&(s=r.toArray(s,f||"hex"),this._update(s));for(var o=[];o.length<i;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var t=o.slice(0,i);return this._update(s),this._reseed++,r.encode(t,d)},hmacDrbg}var key$1,hasRequiredKey$1;function requireKey$1(){if(hasRequiredKey$1)return key$1;hasRequiredKey$1=1;var e=requireBn(),r=requireUtils$1(),n=r.assert;function a(h,i){this.ec=h,this.priv=null,this.pub=null,i.priv&&this._importPrivate(i.priv,i.privEnc),i.pub&&this._importPublic(i.pub,i.pubEnc)}return key$1=a,a.fromPublic=function(i,d,s){return d instanceof a?d:new a(i,{pub:d,pubEnc:s})},a.fromPrivate=function(i,d,s){return d instanceof a?d:new a(i,{priv:d,privEnc:s})},a.prototype.validate=function(){var i=this.getPublic();return i.isInfinity()?{result:!1,reason:"Invalid public key"}:i.validate()?i.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"}},a.prototype.getPublic=function(i,d){return typeof i=="string"&&(d=i,i=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),d?this.pub.encode(d,i):this.pub},a.prototype.getPrivate=function(i){return i==="hex"?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(i,d){this.priv=new e(i,d||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(i,d){if(i.x||i.y){this.ec.curve.type==="mont"?n(i.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&n(i.x&&i.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(i.x,i.y);return}this.pub=this.ec.curve.decodePoint(i,d)},a.prototype.derive=function(i){return i.validate()||n(i.validate(),"public point not validated"),i.mul(this.priv).getX()},a.prototype.sign=function(i,d,s){return this.ec.sign(i,this,d,s)},a.prototype.verify=function(i,d,s){return this.ec.verify(i,d,this,void 0,s)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},key$1}var signature$1,hasRequiredSignature$1;function requireSignature$1(){if(hasRequiredSignature$1)return signature$1;hasRequiredSignature$1=1;var e=requireBn(),r=requireUtils$1(),n=r.assert;function a(f,o){if(f instanceof a)return f;this._importDER(f,o)||(n(f.r&&f.s,"Signature without r or s"),this.r=new e(f.r,16),this.s=new e(f.s,16),f.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=f.recoveryParam)}signature$1=a;function h(){this.place=0}function i(f,o){var t=f[o.place++];if(!(t&128))return t;var u=t&15;if(u===0||u>4||f[o.place]===0)return!1;for(var c=0,l=0,p=o.place;l<u;l++,p++)c<<=8,c|=f[p],c>>>=0;return c<=127?!1:(o.place=p,c)}function d(f){for(var o=0,t=f.length-1;!f[o]&&!(f[o+1]&128)&&o<t;)o++;return o===0?f:f.slice(o)}a.prototype._importDER=function(o,t){o=r.toArray(o,t);var u=new h;if(o[u.place++]!==48)return!1;var c=i(o,u);if(c===!1||c+u.place!==o.length||o[u.place++]!==2)return!1;var l=i(o,u);if(l===!1||(o[u.place]&128)!==0)return!1;var p=o.slice(u.place,l+u.place);if(u.place+=l,o[u.place++]!==2)return!1;var v=i(o,u);if(v===!1||o.length!==v+u.place||(o[u.place]&128)!==0)return!1;var y=o.slice(u.place,v+u.place);if(p[0]===0)if(p[1]&128)p=p.slice(1);else return!1;if(y[0]===0)if(y[1]&128)y=y.slice(1);else return!1;return this.r=new e(p),this.s=new e(y),this.recoveryParam=null,!0};function s(f,o){if(o<128){f.push(o);return}var t=1+(Math.log(o)/Math.LN2>>>3);for(f.push(t|128);--t;)f.push(o>>>(t<<3)&255);f.push(o)}return a.prototype.toDER=function(o){var t=this.r.toArray(),u=this.s.toArray();for(t[0]&128&&(t=[0].concat(t)),u[0]&128&&(u=[0].concat(u)),t=d(t),u=d(u);!u[0]&&!(u[1]&128);)u=u.slice(1);var c=[2];s(c,t.length),c=c.concat(t),c.push(2),s(c,u.length);var l=c.concat(u),p=[48];return s(p,l.length),p=p.concat(l),r.encode(p,o)},signature$1}var ec,hasRequiredEc;function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var e=requireBn(),r=requireHmacDrbg(),n=requireUtils$1(),a=requireCurves(),h=requireBrorand(),i=n.assert,d=requireKey$1(),s=requireSignature$1();function f(o){if(!(this instanceof f))return new f(o);typeof o=="string"&&(i(Object.prototype.hasOwnProperty.call(a,o),"Unknown curve "+o),o=a[o]),o instanceof a.PresetCurve&&(o={curve:o}),this.curve=o.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=o.curve.g,this.g.precompute(o.curve.n.bitLength()+1),this.hash=o.hash||o.curve.hash}return ec=f,f.prototype.keyPair=function(t){return new d(this,t)},f.prototype.keyFromPrivate=function(t,u){return d.fromPrivate(this,t,u)},f.prototype.keyFromPublic=function(t,u){return d.fromPublic(this,t,u)},f.prototype.genKeyPair=function(t){t||(t={});for(var u=new r({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||h(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),c=this.n.byteLength(),l=this.n.sub(new e(2));;){var p=new e(u.generate(c));if(!(p.cmp(l)>0))return p.iaddn(1),this.keyFromPrivate(p)}},f.prototype._truncateToN=function(t,u,c){var l;if(e.isBN(t)||typeof t=="number")t=new e(t,16),l=t.byteLength();else if(typeof t=="object")l=t.length,t=new e(t,16);else{var p=t.toString();l=p.length+1>>>1,t=new e(p,16)}typeof c!="number"&&(c=l*8);var v=c-this.n.bitLength();return v>0&&(t=t.ushrn(v)),!u&&t.cmp(this.n)>=0?t.sub(this.n):t},f.prototype.sign=function(t,u,c,l){if(typeof c=="object"&&(l=c,c=null),l||(l={}),typeof t!="string"&&typeof t!="number"&&!e.isBN(t)){i(typeof t=="object"&&t&&typeof t.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),i(t.length>>>0===t.length);for(var p=0;p<t.length;p++)i((t[p]&255)===t[p])}u=this.keyFromPrivate(u,c),t=this._truncateToN(t,!1,l.msgBitLength),i(!t.isNeg(),"Can not sign a negative message");var v=this.n.byteLength(),y=u.getPrivate().toArray("be",v),g=t.toArray("be",v);i(new e(g).eq(t),"Can not sign message");for(var x=new r({hash:this.hash,entropy:y,nonce:g,pers:l.pers,persEnc:l.persEnc||"utf8"}),_=this.n.sub(new e(1)),m=0;;m++){var q=l.k?l.k(m):new e(x.generate(this.n.byteLength()));if(q=this._truncateToN(q,!0),!(q.cmpn(1)<=0||q.cmp(_)>=0)){var I=this.g.mul(q);if(!I.isInfinity()){var O=I.getX(),j=O.umod(this.n);if(j.cmpn(0)!==0){var z=q.invm(this.n).mul(j.mul(u.getPrivate()).iadd(t));if(z=z.umod(this.n),z.cmpn(0)!==0){var W=(I.getY().isOdd()?1:0)|(O.cmp(j)!==0?2:0);return l.canonical&&z.cmp(this.nh)>0&&(z=this.n.sub(z),W^=1),new s({r:j,s:z,recoveryParam:W})}}}}}},f.prototype.verify=function(t,u,c,l,p){p||(p={}),t=this._truncateToN(t,!1,p.msgBitLength),c=this.keyFromPublic(c,l),u=new s(u,"hex");var v=u.r,y=u.s;if(v.cmpn(1)<0||v.cmp(this.n)>=0||y.cmpn(1)<0||y.cmp(this.n)>=0)return!1;var g=y.invm(this.n),x=g.mul(t).umod(this.n),_=g.mul(v).umod(this.n),m;return this.curve._maxwellTrick?(m=this.g.jmulAdd(x,c.getPublic(),_),m.isInfinity()?!1:m.eqXToP(v)):(m=this.g.mulAdd(x,c.getPublic(),_),m.isInfinity()?!1:m.getX().umod(this.n).cmp(v)===0)},f.prototype.recoverPubKey=function(o,t,u,c){i((3&u)===u,"The recovery param is more than two bits"),t=new s(t,c);var l=this.n,p=new e(o),v=t.r,y=t.s,g=u&1,x=u>>1;if(v.cmp(this.curve.p.umod(this.curve.n))>=0&&x)throw new Error("Unable to find sencond key candinate");x?v=this.curve.pointFromX(v.add(this.curve.n),g):v=this.curve.pointFromX(v,g);var _=t.r.invm(l),m=l.sub(p).mul(_).umod(l),q=y.mul(_).umod(l);return this.g.mulAdd(m,v,q)},f.prototype.getKeyRecoveryParam=function(o,t,u,c){if(t=new s(t,c),t.recoveryParam!==null)return t.recoveryParam;for(var l=0;l<4;l++){var p;try{p=this.recoverPubKey(o,t,l)}catch{continue}if(p.eq(u))return l}throw new Error("Unable to find valid recovery factor")},ec}var key,hasRequiredKey;function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1;var e=requireUtils$1(),r=e.assert,n=e.parseBytes,a=e.cachedProperty;function h(i,d){this.eddsa=i,this._secret=n(d.secret),i.isPoint(d.pub)?this._pub=d.pub:this._pubBytes=n(d.pub)}return h.fromPublic=function(d,s){return s instanceof h?s:new h(d,{pub:s})},h.fromSecret=function(d,s){return s instanceof h?s:new h(d,{secret:s})},h.prototype.secret=function(){return this._secret},a(h,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(h,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(h,"privBytes",function(){var d=this.eddsa,s=this.hash(),f=d.encodingLength-1,o=s.slice(0,d.encodingLength);return o[0]&=248,o[f]&=127,o[f]|=64,o}),a(h,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(h,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(h,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),h.prototype.sign=function(d){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},h.prototype.verify=function(d,s){return this.eddsa.verify(d,s,this)},h.prototype.getSecret=function(d){return r(this._secret,"KeyPair is public only"),e.encode(this.secret(),d)},h.prototype.getPublic=function(d){return e.encode(this.pubBytes(),d)},key=h,key}var signature,hasRequiredSignature;function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1;var e=requireBn(),r=requireUtils$1(),n=r.assert,a=r.cachedProperty,h=r.parseBytes;function i(d,s){this.eddsa=d,typeof s!="object"&&(s=h(s)),Array.isArray(s)&&(n(s.length===d.encodingLength*2,"Signature has invalid size"),s={R:s.slice(0,d.encodingLength),S:s.slice(d.encodingLength)}),n(s.R&&s.S,"Signature without R or S"),d.isPoint(s.R)&&(this._R=s.R),s.S instanceof e&&(this._S=s.S),this._Rencoded=Array.isArray(s.R)?s.R:s.Rencoded,this._Sencoded=Array.isArray(s.S)?s.S:s.Sencoded}return a(i,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(i,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(i,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(i,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),i.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},i.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},signature=i,signature}var eddsa,hasRequiredEddsa;function requireEddsa(){if(hasRequiredEddsa)return eddsa;hasRequiredEddsa=1;var e=requireHash(),r=requireCurves(),n=requireUtils$1(),a=n.assert,h=n.parseBytes,i=requireKey(),d=requireSignature();function s(f){if(a(f==="ed25519","only tested with ed25519 so far"),!(this instanceof s))return new s(f);f=r[f].curve,this.curve=f,this.g=f.g,this.g.precompute(f.n.bitLength()+1),this.pointClass=f.point().constructor,this.encodingLength=Math.ceil(f.n.bitLength()/8),this.hash=e.sha512}return eddsa=s,s.prototype.sign=function(o,t){o=h(o);var u=this.keyFromSecret(t),c=this.hashInt(u.messagePrefix(),o),l=this.g.mul(c),p=this.encodePoint(l),v=this.hashInt(p,u.pubBytes(),o).mul(u.priv()),y=c.add(v).umod(this.curve.n);return this.makeSignature({R:l,S:y,Rencoded:p})},s.prototype.verify=function(o,t,u){if(o=h(o),t=this.makeSignature(t),t.S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var c=this.keyFromPublic(u),l=this.hashInt(t.Rencoded(),c.pubBytes(),o),p=this.g.mul(t.S()),v=t.R().add(c.pub().mul(l));return v.eq(p)},s.prototype.hashInt=function(){for(var o=this.hash(),t=0;t<arguments.length;t++)o.update(arguments[t]);return n.intFromLE(o.digest()).umod(this.curve.n)},s.prototype.keyFromPublic=function(o){return i.fromPublic(this,o)},s.prototype.keyFromSecret=function(o){return i.fromSecret(this,o)},s.prototype.makeSignature=function(o){return o instanceof d?o:new d(this,o)},s.prototype.encodePoint=function(o){var t=o.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=o.getX().isOdd()?128:0,t},s.prototype.decodePoint=function(o){o=n.parseBytes(o);var t=o.length-1,u=o.slice(0,t).concat(o[t]&-129),c=(o[t]&128)!==0,l=n.intFromLE(u);return this.curve.pointFromY(l,c)},s.prototype.encodeInt=function(o){return o.toArray("le",this.encodingLength)},s.prototype.decodeInt=function(o){return n.intFromLE(o)},s.prototype.isPoint=function(o){return o instanceof this.pointClass},eddsa}var hasRequiredElliptic;function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,function(e){var r=e;r.version=require$$0.version,r.utils=requireUtils$1(),r.rand=requireBrorand(),r.curve=requireCurve(),r.curves=requireCurves(),r.ec=requireEc(),r.eddsa=requireEddsa()}(elliptic)),elliptic}var asn1$1={},asn1={},api={},vmBrowserify={},hasRequiredVmBrowserify;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,function(exports$1){var indexOf=function(e,r){if(e.indexOf)return e.indexOf(r);for(var n=0;n<e.length;n++)if(e[n]===r)return n;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var r=[];for(var n in e)r.push(n);return r},forEach=function(e,r){if(e.forEach)return e.forEach(r);for(var n=0;n<e.length;n++)r(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,r,n){Object.defineProperty(e,r,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch{return function(r,n,a){r[n]=a}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports$1.Script=function(r){if(!(this instanceof Script))return new Script(r);this.code=r};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var r=document.createElement("iframe");r.style||(r.style={}),r.style.display="none",document.body.appendChild(r);var n=r.contentWindow,a=n.eval,h=n.execScript;!a&&h&&(h.call(n,"null"),a=n.eval),forEach(Object_keys(e),function(s){n[s]=e[s]}),forEach(globals,function(s){e[s]&&(n[s]=e[s])});var i=Object_keys(n),d=a.call(n,this.code);return forEach(Object_keys(n),function(s){(s in e||indexOf(i,s)===-1)&&(e[s]=n[s])}),forEach(globals,function(s){s in e||defineProp(e,s,n[s])}),document.body.removeChild(r),d},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var r=Script.createContext(e),n=this.runInContext(r);return e&&forEach(Object_keys(r),function(a){e[a]=r[a]}),n},forEach(Object_keys(Script.prototype),function(e){exports$1[e]=Script[e]=function(r){var n=Script(r);return n[e].apply(n,[].slice.call(arguments,1))}}),exports$1.isContext=function(e){return e instanceof Context},exports$1.createScript=function(e){return exports$1.Script(e)},exports$1.createContext=Script.createContext=function(e){var r=new Context;return typeof e=="object"&&forEach(Object_keys(e),function(n){r[n]=e[n]}),r}}(vmBrowserify)),vmBrowserify}var hasRequiredApi;function requireApi(){return hasRequiredApi||(hasRequiredApi=1,function(e){var r=requireAsn1$1(),n=requireInherits_browser(),a=e;a.define=function(d,s){return new h(d,s)};function h(i,d){this.name=i,this.body=d,this.decoders={},this.encoders={}}h.prototype._createNamed=function(d){var s;try{s=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
|
|
12
|
+
this._initNamed(entity);
|
|
13
|
+
})`)}catch{s=function(o){this._initNamed(o)}}return n(s,d),s.prototype._initNamed=function(o){d.call(this,o)},new s(this)},h.prototype._getDecoder=function(d){return d=d||"der",this.decoders.hasOwnProperty(d)||(this.decoders[d]=this._createNamed(r.decoders[d])),this.decoders[d]},h.prototype.decode=function(d,s,f){return this._getDecoder(s).decode(d,f)},h.prototype._getEncoder=function(d){return d=d||"der",this.encoders.hasOwnProperty(d)||(this.encoders[d]=this._createNamed(r.encoders[d])),this.encoders[d]},h.prototype.encode=function(d,s,f){return this._getEncoder(s).encode(d,f)}}(api)),api}var base={},reporter={},hasRequiredReporter;function requireReporter(){if(hasRequiredReporter)return reporter;hasRequiredReporter=1;var e=requireInherits_browser();function r(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}reporter.Reporter=r,r.prototype.isError=function(h){return h instanceof n},r.prototype.save=function(){var h=this._reporterState;return{obj:h.obj,pathLen:h.path.length}},r.prototype.restore=function(h){var i=this._reporterState;i.obj=h.obj,i.path=i.path.slice(0,h.pathLen)},r.prototype.enterKey=function(h){return this._reporterState.path.push(h)},r.prototype.exitKey=function(h){var i=this._reporterState;i.path=i.path.slice(0,h-1)},r.prototype.leaveKey=function(h,i,d){var s=this._reporterState;this.exitKey(h),s.obj!==null&&(s.obj[i]=d)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var h=this._reporterState,i=h.obj;return h.obj={},i},r.prototype.leaveObject=function(h){var i=this._reporterState,d=i.obj;return i.obj=h,d},r.prototype.error=function(h){var i,d=this._reporterState,s=h instanceof n;if(s?i=h:i=new n(d.path.map(function(f){return"["+JSON.stringify(f)+"]"}).join(""),h.message||h,h.stack),!d.options.partial)throw i;return s||d.errors.push(i),i},r.prototype.wrapResult=function(h){var i=this._reporterState;return i.options.partial?{result:this.isError(h)?null:h,errors:i.errors}:h};function n(a,h){this.path=a,this.rethrow(h)}return e(n,Error),n.prototype.rethrow=function(h){if(this.message=h+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw new Error(this.message)}catch(i){this.stack=i.stack}return this},reporter}var buffer={},hasRequiredBuffer;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var e=requireInherits_browser(),r=requireBase().Reporter,n=requireDist().Buffer;function a(i,d){if(r.call(this,d),!n.isBuffer(i)){this.error("Input not Buffer");return}this.base=i,this.offset=0,this.length=i.length}e(a,r),buffer.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},a.prototype.restore=function(d){var s=new a(this.base);return s.offset=d.offset,s.length=this.offset,this.offset=d.offset,r.prototype.restore.call(this,d.reporter),s},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},a.prototype.skip=function(d,s){if(!(this.offset+d<=this.length))return this.error(s||"DecoderBuffer overrun");var f=new a(this.base);return f._reporterState=this._reporterState,f.offset=this.offset,f.length=this.offset+d,this.offset+=d,f},a.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)};function h(i,d){if(Array.isArray(i))this.length=0,this.value=i.map(function(s){return s instanceof h||(s=new h(s,d)),this.length+=s.length,s},this);else if(typeof i=="number"){if(!(0<=i&&i<=255))return d.error("non-byte EncoderBuffer value");this.value=i,this.length=1}else if(typeof i=="string")this.value=i,this.length=n.byteLength(i);else if(n.isBuffer(i))this.value=i,this.length=i.length;else return d.error("Unsupported type: "+typeof i)}return buffer.EncoderBuffer=h,h.prototype.join=function(d,s){return d||(d=new n(this.length)),s||(s=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(f){f.join(d,s),s+=f.length}):(typeof this.value=="number"?d[s]=this.value:typeof this.value=="string"?d.write(this.value,s):n.isBuffer(this.value)&&this.value.copy(d,s),s+=this.length)),d},buffer}var node,hasRequiredNode;function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var e=requireBase().Reporter,r=requireBase().EncoderBuffer,n=requireBase().DecoderBuffer,a=requireMinimalisticAssert(),h=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],i=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(h),d=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function s(o,t){var u={};this._baseState=u,u.enc=o,u.parent=t||null,u.children=null,u.tag=null,u.args=null,u.reverseArgs=null,u.choice=null,u.optional=!1,u.any=!1,u.obj=!1,u.use=null,u.useDecoder=null,u.key=null,u.default=null,u.explicit=null,u.implicit=null,u.contains=null,u.parent||(u.children=[],this._wrap())}node=s;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return s.prototype.clone=function(){var t=this._baseState,u={};f.forEach(function(l){u[l]=t[l]});var c=new this.constructor(u.parent);return c._baseState=u,c},s.prototype._wrap=function(){var t=this._baseState;i.forEach(function(u){this[u]=function(){var l=new this.constructor(this);return t.children.push(l),l[u].apply(l,arguments)}},this)},s.prototype._init=function(t){var u=this._baseState;a(u.parent===null),t.call(this),u.children=u.children.filter(function(c){return c._baseState.parent===this},this),a.equal(u.children.length,1,"Root node can have only one child")},s.prototype._useArgs=function(t){var u=this._baseState,c=t.filter(function(l){return l instanceof this.constructor},this);t=t.filter(function(l){return!(l instanceof this.constructor)},this),c.length!==0&&(a(u.children===null),u.children=c,c.forEach(function(l){l._baseState.parent=this},this)),t.length!==0&&(a(u.args===null),u.args=t,u.reverseArgs=t.map(function(l){if(typeof l!="object"||l.constructor!==Object)return l;var p={};return Object.keys(l).forEach(function(v){v==(v|0)&&(v|=0);var y=l[v];p[y]=v}),p}))},d.forEach(function(o){s.prototype[o]=function(){var u=this._baseState;throw new Error(o+" not implemented for encoding: "+u.enc)}}),h.forEach(function(o){s.prototype[o]=function(){var u=this._baseState,c=Array.prototype.slice.call(arguments);return a(u.tag===null),u.tag=o,this._useArgs(c),this}}),s.prototype.use=function(t){a(t);var u=this._baseState;return a(u.use===null),u.use=t,this},s.prototype.optional=function(){var t=this._baseState;return t.optional=!0,this},s.prototype.def=function(t){var u=this._baseState;return a(u.default===null),u.default=t,u.optional=!0,this},s.prototype.explicit=function(t){var u=this._baseState;return a(u.explicit===null&&u.implicit===null),u.explicit=t,this},s.prototype.implicit=function(t){var u=this._baseState;return a(u.explicit===null&&u.implicit===null),u.implicit=t,this},s.prototype.obj=function(){var t=this._baseState,u=Array.prototype.slice.call(arguments);return t.obj=!0,u.length!==0&&this._useArgs(u),this},s.prototype.key=function(t){var u=this._baseState;return a(u.key===null),u.key=t,this},s.prototype.any=function(){var t=this._baseState;return t.any=!0,this},s.prototype.choice=function(t){var u=this._baseState;return a(u.choice===null),u.choice=t,this._useArgs(Object.keys(t).map(function(c){return t[c]})),this},s.prototype.contains=function(t){var u=this._baseState;return a(u.use===null),u.contains=t,this},s.prototype._decode=function(t,u){var c=this._baseState;if(c.parent===null)return t.wrapResult(c.children[0]._decode(t,u));var l=c.default,p=!0,v=null;if(c.key!==null&&(v=t.enterKey(c.key)),c.optional){var y=null;if(c.explicit!==null?y=c.explicit:c.implicit!==null?y=c.implicit:c.tag!==null&&(y=c.tag),y===null&&!c.any){var g=t.save();try{c.choice===null?this._decodeGeneric(c.tag,t,u):this._decodeChoice(t,u),p=!0}catch{p=!1}t.restore(g)}else if(p=this._peekTag(t,y,c.any),t.isError(p))return p}var x;if(c.obj&&p&&(x=t.enterObject()),p){if(c.explicit!==null){var _=this._decodeTag(t,c.explicit);if(t.isError(_))return _;t=_}var m=t.offset;if(c.use===null&&c.choice===null){if(c.any)var g=t.save();var q=this._decodeTag(t,c.implicit!==null?c.implicit:c.tag,c.any);if(t.isError(q))return q;c.any?l=t.raw(g):t=q}if(u&&u.track&&c.tag!==null&&u.track(t.path(),m,t.length,"tagged"),u&&u.track&&c.tag!==null&&u.track(t.path(),t.offset,t.length,"content"),c.any?l=l:c.choice===null?l=this._decodeGeneric(c.tag,t,u):l=this._decodeChoice(t,u),t.isError(l))return l;if(!c.any&&c.choice===null&&c.children!==null&&c.children.forEach(function(j){j._decode(t,u)}),c.contains&&(c.tag==="octstr"||c.tag==="bitstr")){var I=new n(l);l=this._getUse(c.contains,t._reporterState.obj)._decode(I,u)}}return c.obj&&p&&(l=t.leaveObject(x)),c.key!==null&&(l!==null||p===!0)?t.leaveKey(v,c.key,l):v!==null&&t.exitKey(v),l},s.prototype._decodeGeneric=function(t,u,c){var l=this._baseState;return t==="seq"||t==="set"?null:t==="seqof"||t==="setof"?this._decodeList(u,t,l.args[0],c):/str$/.test(t)?this._decodeStr(u,t,c):t==="objid"&&l.args?this._decodeObjid(u,l.args[0],l.args[1],c):t==="objid"?this._decodeObjid(u,null,null,c):t==="gentime"||t==="utctime"?this._decodeTime(u,t,c):t==="null_"?this._decodeNull(u,c):t==="bool"?this._decodeBool(u,c):t==="objDesc"?this._decodeStr(u,t,c):t==="int"||t==="enum"?this._decodeInt(u,l.args&&l.args[0],c):l.use!==null?this._getUse(l.use,u._reporterState.obj)._decode(u,c):u.error("unknown tag: "+t)},s.prototype._getUse=function(t,u){var c=this._baseState;return c.useDecoder=this._use(t,u),a(c.useDecoder._baseState.parent===null),c.useDecoder=c.useDecoder._baseState.children[0],c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit),c.useDecoder},s.prototype._decodeChoice=function(t,u){var c=this._baseState,l=null,p=!1;return Object.keys(c.choice).some(function(v){var y=t.save(),g=c.choice[v];try{var x=g._decode(t,u);if(t.isError(x))return!1;l={type:v,value:x},p=!0}catch{return t.restore(y),!1}return!0},this),p?l:t.error("Choice not matched")},s.prototype._createEncoderBuffer=function(t){return new r(t,this.reporter)},s.prototype._encode=function(t,u,c){var l=this._baseState;if(!(l.default!==null&&l.default===t)){var p=this._encodeValue(t,u,c);if(p!==void 0&&!this._skipDefault(p,u,c))return p}},s.prototype._encodeValue=function(t,u,c){var l=this._baseState;if(l.parent===null)return l.children[0]._encode(t,u||new e);var g=null;if(this.reporter=u,l.optional&&t===void 0)if(l.default!==null)t=l.default;else return;var p=null,v=!1;if(l.any)g=this._createEncoderBuffer(t);else if(l.choice)g=this._encodeChoice(t,u);else if(l.contains)p=this._getUse(l.contains,c)._encode(t,u),v=!0;else if(l.children)p=l.children.map(function(m){if(m._baseState.tag==="null_")return m._encode(null,u,t);if(m._baseState.key===null)return u.error("Child should have a key");var q=u.enterKey(m._baseState.key);if(typeof t!="object")return u.error("Child expected, but input is not object");var I=m._encode(t[m._baseState.key],u,t);return u.leaveKey(q),I},this).filter(function(m){return m}),p=this._createEncoderBuffer(p);else if(l.tag==="seqof"||l.tag==="setof"){if(!(l.args&&l.args.length===1))return u.error("Too many args for : "+l.tag);if(!Array.isArray(t))return u.error("seqof/setof, but data is not Array");var y=this.clone();y._baseState.implicit=null,p=this._createEncoderBuffer(t.map(function(m){var q=this._baseState;return this._getUse(q.args[0],t)._encode(m,u)},y))}else l.use!==null?g=this._getUse(l.use,c)._encode(t,u):(p=this._encodePrimitive(l.tag,t),v=!0);var g;if(!l.any&&l.choice===null){var x=l.implicit!==null?l.implicit:l.tag,_=l.implicit===null?"universal":"context";x===null?l.use===null&&u.error("Tag could be omitted only for .use()"):l.use===null&&(g=this._encodeComposite(x,v,_,p))}return l.explicit!==null&&(g=this._encodeComposite(l.explicit,!1,"context",g)),g},s.prototype._encodeChoice=function(t,u){var c=this._baseState,l=c.choice[t.type];return l||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(c.choice))),l._encode(t.value,u)},s.prototype._encodePrimitive=function(t,u){var c=this._baseState;if(/str$/.test(t))return this._encodeStr(u,t);if(t==="objid"&&c.args)return this._encodeObjid(u,c.reverseArgs[0],c.args[1]);if(t==="objid")return this._encodeObjid(u,null,null);if(t==="gentime"||t==="utctime")return this._encodeTime(u,t);if(t==="null_")return this._encodeNull();if(t==="int"||t==="enum")return this._encodeInt(u,c.args&&c.reverseArgs[0]);if(t==="bool")return this._encodeBool(u);if(t==="objDesc")return this._encodeStr(u,t);throw new Error("Unsupported tag: "+t)},s.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},s.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)},node}var hasRequiredBase;function requireBase(){return hasRequiredBase||(hasRequiredBase=1,function(e){var r=e;r.Reporter=requireReporter().Reporter,r.DecoderBuffer=requireBuffer().DecoderBuffer,r.EncoderBuffer=requireBuffer().EncoderBuffer,r.Node=requireNode()}(base)),base}var constants={},der={},hasRequiredDer$2;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,function(e){var r=requireConstants();e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r._reverse(e.tag)}(der)),der}var hasRequiredConstants;function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,function(e){var r=e;r._reverse=function(a){var h={};return Object.keys(a).forEach(function(i){(i|0)==i&&(i=i|0);var d=a[i];h[d]=i}),h},r.der=requireDer$2()}(constants)),constants}var decoders={},der_1$1,hasRequiredDer$1;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var e=requireInherits_browser(),r=requireAsn1$1(),n=r.base,a=r.bignum,h=r.constants.der;function i(o){this.enc="der",this.name=o.name,this.entity=o,this.tree=new d,this.tree._init(o.body)}der_1$1=i,i.prototype.decode=function(t,u){return t instanceof n.DecoderBuffer||(t=new n.DecoderBuffer(t,u)),this.tree._decode(t,u)};function d(o){n.Node.call(this,"der",o)}e(d,n.Node),d.prototype._peekTag=function(t,u,c){if(t.isEmpty())return!1;var l=t.save(),p=s(t,'Failed to peek tag: "'+u+'"');return t.isError(p)?p:(t.restore(l),p.tag===u||p.tagStr===u||p.tagStr+"of"===u||c)},d.prototype._decodeTag=function(t,u,c){var l=s(t,'Failed to decode tag of "'+u+'"');if(t.isError(l))return l;var p=f(t,l.primitive,'Failed to get length of "'+u+'"');if(t.isError(p))return p;if(!c&&l.tag!==u&&l.tagStr!==u&&l.tagStr+"of"!==u)return t.error('Failed to match tag: "'+u+'"');if(l.primitive||p!==null)return t.skip(p,'Failed to match body of: "'+u+'"');var v=t.save(),y=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(y)?y:(p=t.offset-v.offset,t.restore(v),t.skip(p,'Failed to match body of: "'+u+'"'))},d.prototype._skipUntilEnd=function(t,u){for(;;){var c=s(t,u);if(t.isError(c))return c;var l=f(t,c.primitive,u);if(t.isError(l))return l;var p;if(c.primitive||l!==null?p=t.skip(l):p=this._skipUntilEnd(t,u),t.isError(p))return p;if(c.tagStr==="end")break}},d.prototype._decodeList=function(t,u,c,l){for(var p=[];!t.isEmpty();){var v=this._peekTag(t,"end");if(t.isError(v))return v;var y=c.decode(t,"der",l);if(t.isError(y)&&v)break;p.push(y)}return p},d.prototype._decodeStr=function(t,u){if(u==="bitstr"){var c=t.readUInt8();return t.isError(c)?c:{unused:c,data:t.raw()}}else if(u==="bmpstr"){var l=t.raw();if(l.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var p="",v=0;v<l.length/2;v++)p+=String.fromCharCode(l.readUInt16BE(v*2));return p}else if(u==="numstr"){var y=t.raw().toString("ascii");return this._isNumstr(y)?y:t.error("Decoding of string type: numstr unsupported characters")}else{if(u==="octstr")return t.raw();if(u==="objDesc")return t.raw();if(u==="printstr"){var g=t.raw().toString("ascii");return this._isPrintstr(g)?g:t.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(u)?t.raw().toString():t.error("Decoding of string type: "+u+" unsupported")}},d.prototype._decodeObjid=function(t,u,c){for(var l,p=[],v=0;!t.isEmpty();){var y=t.readUInt8();v<<=7,v|=y&127,(y&128)===0&&(p.push(v),v=0)}y&128&&p.push(v);var g=p[0]/40|0,x=p[0]%40;if(c?l=p:l=[g,x].concat(p.slice(1)),u){var _=u[l.join(" ")];_===void 0&&(_=u[l.join(".")]),_!==void 0&&(l=_)}return l},d.prototype._decodeTime=function(t,u){var c=t.raw().toString();if(u==="gentime")var l=c.slice(0,4)|0,p=c.slice(4,6)|0,v=c.slice(6,8)|0,y=c.slice(8,10)|0,g=c.slice(10,12)|0,x=c.slice(12,14)|0;else if(u==="utctime"){var l=c.slice(0,2)|0,p=c.slice(2,4)|0,v=c.slice(4,6)|0,y=c.slice(6,8)|0,g=c.slice(8,10)|0,x=c.slice(10,12)|0;l<70?l=2e3+l:l=1900+l}else return t.error("Decoding "+u+" time is not supported yet");return Date.UTC(l,p-1,v,y,g,x,0)},d.prototype._decodeNull=function(t){return null},d.prototype._decodeBool=function(t){var u=t.readUInt8();return t.isError(u)?u:u!==0},d.prototype._decodeInt=function(t,u){var c=t.raw(),l=new a(c);return u&&(l=u[l.toString(10)]||l),l},d.prototype._use=function(t,u){return typeof t=="function"&&(t=t(u)),t._getDecoder("der").tree};function s(o,t){var u=o.readUInt8(t);if(o.isError(u))return u;var c=h.tagClass[u>>6],l=(u&32)===0;if((u&31)===31){var p=u;for(u=0;(p&128)===128;){if(p=o.readUInt8(t),o.isError(p))return p;u<<=7,u|=p&127}}else u&=31;var v=h.tag[u];return{cls:c,primitive:l,tag:u,tagStr:v}}function f(o,t,u){var c=o.readUInt8(u);if(o.isError(c))return c;if(!t&&c===128)return null;if((c&128)===0)return c;var l=c&127;if(l>4)return o.error("length octect is too long");c=0;for(var p=0;p<l;p++){c<<=8;var v=o.readUInt8(u);if(o.isError(v))return v;c|=v}return c}return der_1$1}var pem$1,hasRequiredPem$1;function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var e=requireInherits_browser(),r=requireDist().Buffer,n=requireDer$1();function a(h){n.call(this,h),this.enc="pem"}return e(a,n),pem$1=a,a.prototype.decode=function(i,d){for(var s=i.toString().split(/[\r\n]+/g),f=d.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,t=-1,u=-1,c=0;c<s.length;c++){var l=s[c].match(o);if(l!==null&&l[2]===f)if(t===-1){if(l[1]!=="BEGIN")break;t=c}else{if(l[1]!=="END")break;u=c;break}}if(t===-1||u===-1)throw new Error("PEM section not found for: "+f);var p=s.slice(t+1,u).join("");p.replace(/[^a-z0-9\+\/=]+/gi,"");var v=new r(p,"base64");return n.prototype.decode.call(this,v,d)},pem$1}var hasRequiredDecoders;function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,function(e){var r=e;r.der=requireDer$1(),r.pem=requirePem$1()}(decoders)),decoders}var encoders={},der_1,hasRequiredDer;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var e=requireInherits_browser(),r=requireDist().Buffer,n=requireAsn1$1(),a=n.base,h=n.constants.der;function i(o){this.enc="der",this.name=o.name,this.entity=o,this.tree=new d,this.tree._init(o.body)}der_1=i,i.prototype.encode=function(t,u){return this.tree._encode(t,u).join()};function d(o){a.Node.call(this,"der",o)}e(d,a.Node),d.prototype._encodeComposite=function(t,u,c,l){var p=f(t,u,c,this.reporter);if(l.length<128){var g=new r(2);return g[0]=p,g[1]=l.length,this._createEncoderBuffer([g,l])}for(var v=1,y=l.length;y>=256;y>>=8)v++;var g=new r(2+v);g[0]=p,g[1]=128|v;for(var y=1+v,x=l.length;x>0;y--,x>>=8)g[y]=x&255;return this._createEncoderBuffer([g,l])},d.prototype._encodeStr=function(t,u){if(u==="bitstr")return this._createEncoderBuffer([t.unused|0,t.data]);if(u==="bmpstr"){for(var c=new r(t.length*2),l=0;l<t.length;l++)c.writeUInt16BE(t.charCodeAt(l),l*2);return this._createEncoderBuffer(c)}else return u==="numstr"?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):u==="printstr"?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(u)?this._createEncoderBuffer(t):u==="objDesc"?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+u+" unsupported")},d.prototype._encodeObjid=function(t,u,c){if(typeof t=="string"){if(!u)return this.reporter.error("string objid given, but no values map found");if(!u.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=u[t].split(/[\s\.]+/g);for(var l=0;l<t.length;l++)t[l]|=0}else if(Array.isArray(t)){t=t.slice();for(var l=0;l<t.length;l++)t[l]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!c){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,t[0]*40+t[1])}for(var p=0,l=0;l<t.length;l++){var v=t[l];for(p++;v>=128;v>>=7)p++}for(var y=new r(p),g=y.length-1,l=t.length-1;l>=0;l--){var v=t[l];for(y[g--]=v&127;(v>>=7)>0;)y[g--]=128|v&127}return this._createEncoderBuffer(y)};function s(o){return o<10?"0"+o:o}d.prototype._encodeTime=function(t,u){var c,l=new Date(t);return u==="gentime"?c=[s(l.getFullYear()),s(l.getUTCMonth()+1),s(l.getUTCDate()),s(l.getUTCHours()),s(l.getUTCMinutes()),s(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?c=[s(l.getFullYear()%100),s(l.getUTCMonth()+1),s(l.getUTCDate()),s(l.getUTCHours()),s(l.getUTCMinutes()),s(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(c,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(t,u){if(typeof t=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=u[t]}if(typeof t!="number"&&!r.isBuffer(t)){var c=t.toArray();!t.sign&&c[0]&128&&c.unshift(0),t=new r(c)}if(r.isBuffer(t)){var l=t.length;t.length===0&&l++;var v=new r(l);return t.copy(v),t.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var l=1,p=t;p>=256;p>>=8)l++;for(var v=new Array(l),p=v.length-1;p>=0;p--)v[p]=t&255,t>>=8;return v[0]&128&&v.unshift(0),this._createEncoderBuffer(new r(v))},d.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},d.prototype._use=function(t,u){return typeof t=="function"&&(t=t(u)),t._getEncoder("der").tree},d.prototype._skipDefault=function(t,u,c){var l=this._baseState,p;if(l.default===null)return!1;var v=t.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,c).join()),v.length!==l.defaultBuffer.length)return!1;for(p=0;p<v.length;p++)if(v[p]!==l.defaultBuffer[p])return!1;return!0};function f(o,t,u,c){var l;if(o==="seqof"?o="seq":o==="setof"&&(o="set"),h.tagByName.hasOwnProperty(o))l=h.tagByName[o];else if(typeof o=="number"&&(o|0)===o)l=o;else return c.error("Unknown tag: "+o);return l>=31?c.error("Multi-octet tag encoding unsupported"):(t||(l|=32),l|=h.tagClassByName[u||"universal"]<<6,l)}return der_1}var pem,hasRequiredPem;function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1;var e=requireInherits_browser(),r=requireDer();function n(a){r.call(this,a),this.enc="pem"}return e(n,r),pem=n,n.prototype.encode=function(h,i){for(var d=r.prototype.encode.call(this,h),s=d.toString("base64"),f=["-----BEGIN "+i.label+"-----"],o=0;o<s.length;o+=64)f.push(s.slice(o,o+64));return f.push("-----END "+i.label+"-----"),f.join(`
|
|
14
|
+
`)},pem}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(e){var r=e;r.der=requireDer(),r.pem=requirePem()}(encoders)),encoders}var hasRequiredAsn1$1;function requireAsn1$1(){return hasRequiredAsn1$1||(hasRequiredAsn1$1=1,function(e){var r=e;r.bignum=requireBn(),r.define=requireApi().define,r.base=requireBase(),r.constants=requireConstants(),r.decoders=requireDecoders(),r.encoders=requireEncoders()}(asn1)),asn1}var certificate,hasRequiredCertificate;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1;var e=requireAsn1$1(),r=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),n=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),a=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),h=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}),i=e.define("RelativeDistinguishedName",function(){this.setof(n)}),d=e.define("RDNSequence",function(){this.seqof(i)}),s=e.define("Name",function(){this.choice({rdnSequence:this.use(d)})}),f=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))}),o=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),t=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(s),this.key("validity").use(f),this.key("subject").use(s),this.key("subjectPublicKeyInfo").use(h),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(o).optional())}),u=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(t),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())});return certificate=u,certificate}var hasRequiredAsn1;function requireAsn1(){if(hasRequiredAsn1)return asn1$1;hasRequiredAsn1=1;var e=requireAsn1$1();asn1$1.certificate=requireCertificate();var r=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$1.RSAPrivateKey=r;var n=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$1.RSAPublicKey=n;var a=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),h=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});asn1$1.PublicKey=h;var i=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});asn1$1.PrivateKey=i;var d=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});asn1$1.EncryptedPrivateKey=d;var s=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});asn1$1.DSAPrivateKey=s,asn1$1.DSAparam=e.define("DSAparam",function(){this.int()});var f=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),o=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});return asn1$1.ECPrivateKey=o,asn1$1.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())}),asn1$1}const require$$1={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var fixProc,hasRequiredFixProc;function requireFixProc(){if(hasRequiredFixProc)return fixProc;hasRequiredFixProc=1;var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=requireEvp_bytestokey(),h=requireBrowser$6(),i=requireSafeBuffer$1().Buffer;return fixProc=function(d,s){var f=d.toString(),o=f.match(e),t;if(o){var c="aes"+o[1],l=i.from(o[2],"hex"),p=i.from(o[3].replace(/[\r\n]/g,""),"base64"),v=a(s,l.slice(0,8),parseInt(o[1],10)).key,y=[],g=h.createDecipheriv(c,v,l);y.push(g.update(p)),y.push(g.final()),t=i.concat(y)}else{var u=f.match(n);t=i.from(u[2].replace(/[\r\n]/g,""),"base64")}var x=f.match(r)[1];return{tag:x,data:t}},fixProc}var parseAsn1,hasRequiredParseAsn1;function requireParseAsn1(){if(hasRequiredParseAsn1)return parseAsn1;hasRequiredParseAsn1=1;var e=requireAsn1(),r=require$$1,n=requireFixProc(),a=requireBrowser$6(),h=requireBrowser$7().pbkdf2Sync,i=requireSafeBuffer$1().Buffer;function d(f,o){var t=f.algorithm.decrypt.kde.kdeparams.salt,u=parseInt(f.algorithm.decrypt.kde.kdeparams.iters.toString(),10),c=r[f.algorithm.decrypt.cipher.algo.join(".")],l=f.algorithm.decrypt.cipher.iv,p=f.subjectPrivateKey,v=parseInt(c.split("-")[1],10)/8,y=h(o,t,u,v,"sha1"),g=a.createDecipheriv(c,y,l),x=[];return x.push(g.update(p)),x.push(g.final()),i.concat(x)}function s(f){var o;typeof f=="object"&&!i.isBuffer(f)&&(o=f.passphrase,f=f.key),typeof f=="string"&&(f=i.from(f));var t=n(f,o),u=t.tag,c=t.data,l,p;switch(u){case"CERTIFICATE":p=e.certificate.decode(c,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(p||(p=e.PublicKey.decode(c,"der")),l=p.algorithm.algorithm.join("."),l){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(p.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return p.subjectPrivateKey=p.subjectPublicKey,{type:"ec",data:p};case"1.2.840.10040.4.1":return p.algorithm.params.pub_key=e.DSAparam.decode(p.subjectPublicKey.data,"der"),{type:"dsa",data:p.algorithm.params};default:throw new Error("unknown key id "+l)}case"ENCRYPTED PRIVATE KEY":c=e.EncryptedPrivateKey.decode(c,"der"),c=d(c,o);case"PRIVATE KEY":switch(p=e.PrivateKey.decode(c,"der"),l=p.algorithm.algorithm.join("."),l){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(p.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:p.algorithm.curve,privateKey:e.ECPrivateKey.decode(p.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return p.algorithm.params.priv_key=e.DSAparam.decode(p.subjectPrivateKey,"der"),{type:"dsa",params:p.algorithm.params};default:throw new Error("unknown key id "+l)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(c,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(c,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(c,"der")};case"EC PRIVATE KEY":return c=e.ECPrivateKey.decode(c,"der"),{curve:c.parameters.value,privateKey:c.privateKey};default:throw new Error("unknown key type "+u)}}return s.signature=e.signature,parseAsn1=s,parseAsn1}const require$$4={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var e=requireSafeBuffer$1().Buffer,r=requireBrowser$8(),n=requireBrowserifyRsa(),a=requireElliptic().ec,h=requireBn(),i=requireParseAsn1(),d=require$$4,s=1;function f(g,x,_,m,q){var I=i(x);if(I.curve){if(m!=="ecdsa"&&m!=="ecdsa/rsa")throw new Error("wrong private key type");return o(g,I)}else if(I.type==="dsa"){if(m!=="dsa")throw new Error("wrong private key type");return t(g,I,_)}if(m!=="rsa"&&m!=="ecdsa/rsa")throw new Error("wrong private key type");if(x.padding!==void 0&&x.padding!==s)throw new Error("illegal or unsupported padding mode");g=e.concat([q,g]);for(var O=I.modulus.byteLength(),j=[0,1];g.length+j.length+1<O;)j.push(255);j.push(0);for(var z=-1;++z<g.length;)j.push(g[z]);var W=n(j,I);return W}function o(g,x){var _=d[x.curve.join(".")];if(!_)throw new Error("unknown curve "+x.curve.join("."));var m=new a(_),q=m.keyFromPrivate(x.privateKey),I=q.sign(g);return e.from(I.toDER())}function t(g,x,_){for(var m=x.params.priv_key,q=x.params.p,I=x.params.q,O=x.params.g,j=new h(0),z,W=l(g,I).mod(I),X=!1,M=c(m,I,g,_);X===!1;)z=v(I,M,_),j=y(O,z,q,I),X=z.invm(I).imul(W.add(m.mul(j))).mod(I),X.cmpn(0)===0&&(X=!1,j=new h(0));return u(j,X)}function u(g,x){g=g.toArray(),x=x.toArray(),g[0]&128&&(g=[0].concat(g)),x[0]&128&&(x=[0].concat(x));var _=g.length+x.length+4,m=[48,_,2,g.length];return m=m.concat(g,[2,x.length],x),e.from(m)}function c(g,x,_,m){if(g=e.from(g.toArray()),g.length<x.byteLength()){var q=e.alloc(x.byteLength()-g.length);g=e.concat([q,g])}var I=_.length,O=p(_,x),j=e.alloc(I);j.fill(1);var z=e.alloc(I);return z=r(m,z).update(j).update(e.from([0])).update(g).update(O).digest(),j=r(m,z).update(j).digest(),z=r(m,z).update(j).update(e.from([1])).update(g).update(O).digest(),j=r(m,z).update(j).digest(),{k:z,v:j}}function l(g,x){var _=new h(g),m=(g.length<<3)-x.bitLength();return m>0&&_.ishrn(m),_}function p(g,x){g=l(g,x),g=g.mod(x);var _=e.from(g.toArray());if(_.length<x.byteLength()){var m=e.alloc(x.byteLength()-_.length);_=e.concat([m,_])}return _}function v(g,x,_){var m,q;do{for(m=e.alloc(0);m.length*8<g.bitLength();)x.v=r(_,x.k).update(x.v).digest(),m=e.concat([m,x.v]);q=l(m,g),x.k=r(_,x.k).update(x.v).update(e.from([0])).digest(),x.v=r(_,x.k).update(x.v).digest()}while(q.cmp(g)!==-1);return q}function y(g,x,_,m){return g.toRed(h.mont(_)).redPow(x).fromRed().mod(m)}return sign.exports=f,sign.exports.getKey=c,sign.exports.makeKey=v,sign.exports}var verify_1,hasRequiredVerify;function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var e=requireSafeBuffer$1().Buffer,r=requireBn(),n=requireElliptic().ec,a=requireParseAsn1(),h=require$$4;function i(o,t,u,c,l){var p=a(u);if(p.type==="ec"){if(c!=="ecdsa"&&c!=="ecdsa/rsa")throw new Error("wrong public key type");return d(o,t,p)}else if(p.type==="dsa"){if(c!=="dsa")throw new Error("wrong public key type");return s(o,t,p)}if(c!=="rsa"&&c!=="ecdsa/rsa")throw new Error("wrong public key type");t=e.concat([l,t]);for(var v=p.modulus.byteLength(),y=[1],g=0;t.length+y.length+2<v;)y.push(255),g+=1;y.push(0);for(var x=-1;++x<t.length;)y.push(t[x]);y=e.from(y);var _=r.mont(p.modulus);o=new r(o).toRed(_),o=o.redPow(new r(p.publicExponent)),o=e.from(o.fromRed().toArray());var m=g<8?1:0;for(v=Math.min(o.length,y.length),o.length!==y.length&&(m=1),x=-1;++x<v;)m|=o[x]^y[x];return m===0}function d(o,t,u){var c=h[u.data.algorithm.curve.join(".")];if(!c)throw new Error("unknown curve "+u.data.algorithm.curve.join("."));var l=new n(c),p=u.data.subjectPrivateKey.data;return l.verify(t,o,p)}function s(o,t,u){var c=u.data.p,l=u.data.q,p=u.data.g,v=u.data.pub_key,y=a.signature.decode(o,"der"),g=y.s,x=y.r;f(g,l),f(x,l);var _=r.mont(c),m=g.invm(l),q=p.toRed(_).redPow(new r(t).mul(m).mod(l)).fromRed().mul(v.toRed(_).redPow(x.mul(m).mod(l)).fromRed()).mod(c).mod(l);return q.cmp(x)===0}function f(o,t){if(o.cmpn(0)<=0)throw new Error("invalid sig");if(o.cmp(t)>=0)throw new Error("invalid sig")}return verify_1=i,verify_1}var browser$3,hasRequiredBrowser$3;function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$3;hasRequiredBrowser$3=1;var e=requireSafeBuffer$1().Buffer,r=requireBrowser$9(),n=requireReadableBrowser(),a=requireInherits_browser(),h=requireSign(),i=requireVerify(),d=require$$6;Object.keys(d).forEach(function(u){d[u].id=e.from(d[u].id,"hex"),d[u.toLowerCase()]=d[u]});function s(u){n.Writable.call(this);var c=d[u];if(!c)throw new Error("Unknown message digest");this._hashType=c.hash,this._hash=r(c.hash),this._tag=c.id,this._signType=c.sign}a(s,n.Writable),s.prototype._write=function(c,l,p){this._hash.update(c),p()},s.prototype.update=function(c,l){return this._hash.update(typeof c=="string"?e.from(c,l):c),this},s.prototype.sign=function(c,l){this.end();var p=this._hash.digest(),v=h(p,c,this._hashType,this._signType,this._tag);return l?v.toString(l):v};function f(u){n.Writable.call(this);var c=d[u];if(!c)throw new Error("Unknown message digest");this._hash=r(c.hash),this._tag=c.id,this._signType=c.sign}a(f,n.Writable),f.prototype._write=function(c,l,p){this._hash.update(c),p()},f.prototype.update=function(c,l){return this._hash.update(typeof c=="string"?e.from(c,l):c),this},f.prototype.verify=function(c,l,p){var v=typeof l=="string"?e.from(l,p):l;this.end();var y=this._hash.digest();return i(v,y,c,this._signType,this._tag)};function o(u){return new s(u)}function t(u){return new f(u)}return browser$3={Sign:o,Verify:t,createSign:o,createVerify:t},browser$3}var browser$2,hasRequiredBrowser$2;function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1;var e=requireElliptic(),r=requireBn();browser$2=function(d){return new a(d)};var n={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};n.p224=n.secp224r1,n.p256=n.secp256r1=n.prime256v1,n.p192=n.secp192r1=n.prime192v1,n.p384=n.secp384r1,n.p521=n.secp521r1;function a(i){this.curveType=n[i],this.curveType||(this.curveType={name:i}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}a.prototype.generateKeys=function(i,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(i,d)},a.prototype.computeSecret=function(i,d,s){d=d||"utf8",Buffer.isBuffer(i)||(i=new Buffer(i,d));var f=this.curve.keyFromPublic(i).getPublic(),o=f.mul(this.keys.getPrivate()).getX();return h(o,s,this.curveType.byteLength)},a.prototype.getPublicKey=function(i,d){var s=this.keys.getPublic(d==="compressed",!0);return d==="hybrid"&&(s[s.length-1]%2?s[0]=7:s[0]=6),h(s,i)},a.prototype.getPrivateKey=function(i){return h(this.keys.getPrivate(),i)},a.prototype.setPublicKey=function(i,d){return d=d||"utf8",Buffer.isBuffer(i)||(i=new Buffer(i,d)),this.keys._importPublic(i),this},a.prototype.setPrivateKey=function(i,d){d=d||"utf8",Buffer.isBuffer(i)||(i=new Buffer(i,d));var s=new r(i);return s=s.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(s),this};function h(i,d,s){Array.isArray(i)||(i=i.toArray());var f=new Buffer(i);if(s&&f.length<s){var o=new Buffer(s-f.length);o.fill(0),f=Buffer.concat([o,f])}return d?f.toString(d):f}return browser$2}var browser$1={},mgf,hasRequiredMgf;function requireMgf(){if(hasRequiredMgf)return mgf;hasRequiredMgf=1;var e=requireBrowser$9(),r=requireSafeBuffer$1().Buffer;mgf=function(a,h){for(var i=r.alloc(0),d=0,s;i.length<h;)s=n(d++),i=r.concat([i,e("sha1").update(a).update(s).digest()]);return i.slice(0,h)};function n(a){var h=r.allocUnsafe(4);return h.writeUInt32BE(a,0),h}return mgf}var xor$1,hasRequiredXor;function requireXor(){return hasRequiredXor||(hasRequiredXor=1,xor$1=function(r,n){for(var a=r.length,h=-1;++h<a;)r[h]^=n[h];return r}),xor$1}var withPublic_1,hasRequiredWithPublic;function requireWithPublic(){if(hasRequiredWithPublic)return withPublic_1;hasRequiredWithPublic=1;var e=requireBn(),r=requireSafeBuffer$1().Buffer;function n(a,h){return r.from(a.toRed(e.mont(h.modulus)).redPow(new e(h.publicExponent)).fromRed().toArray())}return withPublic_1=n,withPublic_1}var publicEncrypt,hasRequiredPublicEncrypt;function requirePublicEncrypt(){if(hasRequiredPublicEncrypt)return publicEncrypt;hasRequiredPublicEncrypt=1;var e=requireParseAsn1(),r=requireBrowser$b(),n=requireBrowser$9(),a=requireMgf(),h=requireXor(),i=requireBn(),d=requireWithPublic(),s=requireBrowserifyRsa(),f=requireSafeBuffer$1().Buffer;publicEncrypt=function(l,p,v){var y;l.padding?y=l.padding:v?y=1:y=4;var g=e(l),x;if(y===4)x=o(g,p);else if(y===1)x=t(g,p,v);else if(y===3){if(x=new i(p),x.cmp(g.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return v?s(x,g):d(x,g)};function o(c,l){var p=c.modulus.byteLength(),v=l.length,y=n("sha1").update(f.alloc(0)).digest(),g=y.length,x=2*g;if(v>p-x-2)throw new Error("message too long");var _=f.alloc(p-v-x-2),m=p-g-1,q=r(g),I=h(f.concat([y,_,f.alloc(1,1),l],m),a(q,m)),O=h(q,a(I,g));return new i(f.concat([f.alloc(1),O,I],p))}function t(c,l,p){var v=l.length,y=c.modulus.byteLength();if(v>y-11)throw new Error("message too long");var g;return p?g=f.alloc(y-v-3,255):g=u(y-v-3),new i(f.concat([f.from([0,p?1:2]),g,f.alloc(1),l],y))}function u(c){for(var l=f.allocUnsafe(c),p=0,v=r(c*2),y=0,g;p<c;)y===v.length&&(v=r(c*2),y=0),g=v[y++],g&&(l[p++]=g);return l}return publicEncrypt}var privateDecrypt,hasRequiredPrivateDecrypt;function requirePrivateDecrypt(){if(hasRequiredPrivateDecrypt)return privateDecrypt;hasRequiredPrivateDecrypt=1;var e=requireParseAsn1(),r=requireMgf(),n=requireXor(),a=requireBn(),h=requireBrowserifyRsa(),i=requireBrowser$9(),d=requireWithPublic(),s=requireSafeBuffer$1().Buffer;privateDecrypt=function(c,l,p){var v;c.padding?v=c.padding:p?v=1:v=4;var y=e(c),g=y.modulus.byteLength();if(l.length>g||new a(l).cmp(y.modulus)>=0)throw new Error("decryption error");var x;p?x=d(new a(l),y):x=h(l,y);var _=s.alloc(g-x.length);if(x=s.concat([_,x],g),v===4)return f(y,x);if(v===1)return o(y,x,p);if(v===3)return x;throw new Error("unknown padding")};function f(u,c){var l=u.modulus.byteLength(),p=i("sha1").update(s.alloc(0)).digest(),v=p.length;if(c[0]!==0)throw new Error("decryption error");var y=c.slice(1,v+1),g=c.slice(v+1),x=n(y,r(g,v)),_=n(g,r(x,l-v-1));if(t(p,_.slice(0,v)))throw new Error("decryption error");for(var m=v;_[m]===0;)m++;if(_[m++]!==1)throw new Error("decryption error");return _.slice(m)}function o(u,c,l){for(var p=c.slice(0,2),v=2,y=0;c[v++]!==0;)if(v>=c.length){y++;break}var g=c.slice(2,v-1);if((p.toString("hex")!=="0002"&&!l||p.toString("hex")!=="0001"&&l)&&y++,g.length<8&&y++,y)throw new Error("decryption error");return c.slice(v)}function t(u,c){u=s.from(u),c=s.from(c);var l=0,p=u.length;u.length!==c.length&&(l++,p=Math.min(u.length,c.length));for(var v=-1;++v<p;)l+=u[v]^c[v];return l}return privateDecrypt}var hasRequiredBrowser$1;function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,function(e){e.publicEncrypt=requirePublicEncrypt(),e.privateDecrypt=requirePrivateDecrypt(),e.privateEncrypt=function(n,a){return e.publicEncrypt(n,a,!0)},e.publicDecrypt=function(n,a){return e.privateDecrypt(n,a,!0)}}(browser$1)),browser$1}var browser={},hasRequiredBrowser;function requireBrowser(){if(hasRequiredBrowser)return browser;hasRequiredBrowser=1;function e(){throw new Error(`secure random number generation not supported by this browser
|
|
15
|
+
use chrome, FireFox or Internet Explorer 11`)}var r=requireSafeBuffer$1(),n=requireBrowser$b(),a=r.Buffer,h=r.kMaxLength,i=commonjsGlobal.crypto||commonjsGlobal.msCrypto,d=Math.pow(2,32)-1;function s(c,l){if(typeof c!="number"||c!==c)throw new TypeError("offset must be a number");if(c>d||c<0)throw new TypeError("offset must be a uint32");if(c>h||c>l)throw new RangeError("offset out of range")}function f(c,l,p){if(typeof c!="number"||c!==c)throw new TypeError("size must be a number");if(c>d||c<0)throw new TypeError("size must be a uint32");if(c+l>p||c>h)throw new RangeError("buffer too small")}i&&i.getRandomValues||!process$1.browser?(browser.randomFill=o,browser.randomFillSync=u):(browser.randomFill=e,browser.randomFillSync=e);function o(c,l,p,v){if(!a.isBuffer(c)&&!(c instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof l=="function")v=l,l=0,p=c.length;else if(typeof p=="function")v=p,p=c.length-l;else if(typeof v!="function")throw new TypeError('"cb" argument must be a function');return s(l,c.length),f(p,l,c.length),t(c,l,p,v)}function t(c,l,p,v){if(process$1.browser){var y=c.buffer,g=new Uint8Array(y,l,p);if(i.getRandomValues(g),v){process$1.nextTick(function(){v(null,c)});return}return c}if(v){n(p,function(_,m){if(_)return v(_);m.copy(c,l),v(null,c)});return}var x=n(p);return x.copy(c,l),c}function u(c,l,p){if(typeof l>"u"&&(l=0),!a.isBuffer(c)&&!(c instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return s(l,c.length),p===void 0&&(p=c.length-l),f(p,l,c.length),t(c,l,p)}return browser}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=requireBrowser$b(),cryptoBrowserify.createHash=cryptoBrowserify.Hash=requireBrowser$9(),cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=requireBrowser$8();var e=requireAlgos(),r=Object.keys(e),n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);cryptoBrowserify.getHashes=function(){return n};var a=requireBrowser$7();cryptoBrowserify.pbkdf2=a.pbkdf2,cryptoBrowserify.pbkdf2Sync=a.pbkdf2Sync;var h=requireBrowser$5();cryptoBrowserify.Cipher=h.Cipher,cryptoBrowserify.createCipher=h.createCipher,cryptoBrowserify.Cipheriv=h.Cipheriv,cryptoBrowserify.createCipheriv=h.createCipheriv,cryptoBrowserify.Decipher=h.Decipher,cryptoBrowserify.createDecipher=h.createDecipher,cryptoBrowserify.Decipheriv=h.Decipheriv,cryptoBrowserify.createDecipheriv=h.createDecipheriv,cryptoBrowserify.getCiphers=h.getCiphers,cryptoBrowserify.listCiphers=h.listCiphers;var i=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=i.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=i.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=i.getDiffieHellman,cryptoBrowserify.createDiffieHellman=i.createDiffieHellman,cryptoBrowserify.DiffieHellman=i.DiffieHellman;var d=requireBrowser$3();cryptoBrowserify.createSign=d.createSign,cryptoBrowserify.Sign=d.Sign,cryptoBrowserify.createVerify=d.createVerify,cryptoBrowserify.Verify=d.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var s=requireBrowser$1();cryptoBrowserify.publicEncrypt=s.publicEncrypt,cryptoBrowserify.privateEncrypt=s.privateEncrypt,cryptoBrowserify.publicDecrypt=s.publicDecrypt,cryptoBrowserify.privateDecrypt=s.privateDecrypt;var f=requireBrowser();return cryptoBrowserify.randomFill=f.randomFill,cryptoBrowserify.randomFillSync=f.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
|
|
16
|
+
we accept pull requests
|
|
17
|
+
https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var core=core$1.exports,hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(e,r){(function(n,a){e.exports=a()})(core,function(){var n=n||function(a,h){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(i=commonjsGlobal.crypto),!i&&typeof commonjsRequire=="function")try{i=requireCryptoBrowserify()}catch{}var d=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function x(){}return function(_){var m;return x.prototype=_,m=new x,x.prototype=null,m}}(),f={},o=f.lib={},t=o.Base=function(){return{extend:function(x){var _=s(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=o.WordArray=t.extend({init:function(x,_){x=this.words=x||[],_!=h?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||l).stringify(this)},concat:function(x){var _=this.words,m=x.words,q=this.sigBytes,I=x.sigBytes;if(this.clamp(),q%4)for(var O=0;O<I;O++){var j=m[O>>>2]>>>24-O%4*8&255;_[q+O>>>2]|=j<<24-(q+O)%4*8}else for(var z=0;z<I;z+=4)_[q+z>>>2]=m[z>>>2];return this.sigBytes+=I,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=a.ceil(_/4)},clone:function(){var x=t.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],m=0;m<x;m+=4)_.push(d());return new u.init(_,x)}}),c=f.enc={},l=c.Hex={stringify:function(x){for(var _=x.words,m=x.sigBytes,q=[],I=0;I<m;I++){var O=_[I>>>2]>>>24-I%4*8&255;q.push((O>>>4).toString(16)),q.push((O&15).toString(16))}return q.join("")},parse:function(x){for(var _=x.length,m=[],q=0;q<_;q+=2)m[q>>>3]|=parseInt(x.substr(q,2),16)<<24-q%8*4;return new u.init(m,_/2)}},p=c.Latin1={stringify:function(x){for(var _=x.words,m=x.sigBytes,q=[],I=0;I<m;I++){var O=_[I>>>2]>>>24-I%4*8&255;q.push(String.fromCharCode(O))}return q.join("")},parse:function(x){for(var _=x.length,m=[],q=0;q<_;q++)m[q>>>2]|=(x.charCodeAt(q)&255)<<24-q%4*8;return new u.init(m,_)}},v=c.Utf8={stringify:function(x){try{return decodeURIComponent(escape(p.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return p.parse(unescape(encodeURIComponent(x)))}},y=o.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=v.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,m=this._data,q=m.words,I=m.sigBytes,O=this.blockSize,j=O*4,z=I/j;x?z=a.ceil(z):z=a.max((z|0)-this._minBufferSize,0);var W=z*O,X=a.min(W*4,I);if(W){for(var M=0;M<W;M+=O)this._doProcessBlock(q,M);_=q.splice(0,W),m.sigBytes-=X}return new u.init(_,X)},clone:function(){var x=t.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});o.Hasher=y.extend({cfg:t.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var _=this._doFinalize();return _},blockSize:16,_createHelper:function(x){return function(_,m){return new x.init(m).finalize(_)}},_createHmacHelper:function(x){return function(_,m){return new g.HMAC.init(x,m).finalize(_)}}});var g=f.algo={};return f}(Math);return n})}(core$1)),core$1.exports}var x64Core$1={exports:{}},x64Core=x64Core$1.exports,hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(x64Core,function(n){return function(a){var h=n,i=h.lib,d=i.Base,s=i.WordArray,f=h.x64={};f.Word=d.extend({init:function(o,t){this.high=o,this.low=t}}),f.WordArray=d.extend({init:function(o,t){o=this.words=o||[],t!=a?this.sigBytes=t:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,t=o.length,u=[],c=0;c<t;c++){var l=o[c];u.push(l.high),u.push(l.low)}return s.create(u,this.sigBytes)},clone:function(){for(var o=d.clone.call(this),t=o.words=this.words.slice(0),u=t.length,c=0;c<u;c++)t[c]=t[c].clone();return o}})}(),n})}(x64Core$1)),x64Core$1.exports}var libTypedarrays$1={exports:{}},libTypedarrays=libTypedarrays$1.exports,hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(libTypedarrays,function(n){return function(){if(typeof ArrayBuffer=="function"){var a=n,h=a.lib,i=h.WordArray,d=i.init,s=i.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray<"u"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var o=f.byteLength,t=[],u=0;u<o;u++)t[u>>>2]|=f[u]<<24-u%4*8;d.call(this,t,o)}else d.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(libTypedarrays$1)),libTypedarrays$1.exports}var encUtf16$1={exports:{}},encUtf16=encUtf16$1.exports,hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(encUtf16,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=a.enc;d.Utf16=d.Utf16BE={stringify:function(f){for(var o=f.words,t=f.sigBytes,u=[],c=0;c<t;c+=2){var l=o[c>>>2]>>>16-c%4*8&65535;u.push(String.fromCharCode(l))}return u.join("")},parse:function(f){for(var o=f.length,t=[],u=0;u<o;u++)t[u>>>1]|=f.charCodeAt(u)<<16-u%2*16;return i.create(t,o*2)}},d.Utf16LE={stringify:function(f){for(var o=f.words,t=f.sigBytes,u=[],c=0;c<t;c+=2){var l=s(o[c>>>2]>>>16-c%4*8&65535);u.push(String.fromCharCode(l))}return u.join("")},parse:function(f){for(var o=f.length,t=[],u=0;u<o;u++)t[u>>>1]|=s(f.charCodeAt(u)<<16-u%2*16);return i.create(t,o*2)}};function s(f){return f<<8&4278255360|f>>>8&16711935}}(),n.enc.Utf16})}(encUtf16$1)),encUtf16$1.exports}var encBase64$1={exports:{}},encBase64=encBase64$1.exports,hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(encBase64,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=a.enc;d.Base64={stringify:function(f){var o=f.words,t=f.sigBytes,u=this._map;f.clamp();for(var c=[],l=0;l<t;l+=3)for(var p=o[l>>>2]>>>24-l%4*8&255,v=o[l+1>>>2]>>>24-(l+1)%4*8&255,y=o[l+2>>>2]>>>24-(l+2)%4*8&255,g=p<<16|v<<8|y,x=0;x<4&&l+x*.75<t;x++)c.push(u.charAt(g>>>6*(3-x)&63));var _=u.charAt(64);if(_)for(;c.length%4;)c.push(_);return c.join("")},parse:function(f){var o=f.length,t=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var c=0;c<t.length;c++)u[t.charCodeAt(c)]=c}var l=t.charAt(64);if(l){var p=f.indexOf(l);p!==-1&&(o=p)}return s(f,o,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(f,o,t){for(var u=[],c=0,l=0;l<o;l++)if(l%4){var p=t[f.charCodeAt(l-1)]<<l%4*2,v=t[f.charCodeAt(l)]>>>6-l%4*2,y=p|v;u[c>>>2]|=y<<24-c%4*8,c++}return i.create(u,c)}}(),n.enc.Base64})}(encBase64$1)),encBase64$1.exports}var encBase64url$1={exports:{}},encBase64url=encBase64url$1.exports,hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(encBase64url,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=a.enc;d.Base64url={stringify:function(f,o){o===void 0&&(o=!0);var t=f.words,u=f.sigBytes,c=o?this._safe_map:this._map;f.clamp();for(var l=[],p=0;p<u;p+=3)for(var v=t[p>>>2]>>>24-p%4*8&255,y=t[p+1>>>2]>>>24-(p+1)%4*8&255,g=t[p+2>>>2]>>>24-(p+2)%4*8&255,x=v<<16|y<<8|g,_=0;_<4&&p+_*.75<u;_++)l.push(c.charAt(x>>>6*(3-_)&63));var m=c.charAt(64);if(m)for(;l.length%4;)l.push(m);return l.join("")},parse:function(f,o){o===void 0&&(o=!0);var t=f.length,u=o?this._safe_map:this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var l=0;l<u.length;l++)c[u.charCodeAt(l)]=l}var p=u.charAt(64);if(p){var v=f.indexOf(p);v!==-1&&(t=v)}return s(f,t,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(f,o,t){for(var u=[],c=0,l=0;l<o;l++)if(l%4){var p=t[f.charCodeAt(l-1)]<<l%4*2,v=t[f.charCodeAt(l)]>>>6-l%4*2,y=p|v;u[c>>>2]|=y<<24-c%4*8,c++}return i.create(u,c)}}(),n.enc.Base64url})}(encBase64url$1)),encBase64url$1.exports}var md5$1={exports:{}},md5=md5$1.exports,hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(md5,function(n){return function(a){var h=n,i=h.lib,d=i.WordArray,s=i.Hasher,f=h.algo,o=[];(function(){for(var v=0;v<64;v++)o[v]=a.abs(a.sin(v+1))*4294967296|0})();var t=f.MD5=s.extend({_doReset:function(){this._hash=new d.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,y){for(var g=0;g<16;g++){var x=y+g,_=v[x];v[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var m=this._hash.words,q=v[y+0],I=v[y+1],O=v[y+2],j=v[y+3],z=v[y+4],W=v[y+5],X=v[y+6],M=v[y+7],S=v[y+8],b=v[y+9],A=v[y+10],C=v[y+11],E=v[y+12],F=v[y+13],k=v[y+14],K=v[y+15],P=m[0],w=m[1],$=m[2],H=m[3];P=u(P,w,$,H,q,7,o[0]),H=u(H,P,w,$,I,12,o[1]),$=u($,H,P,w,O,17,o[2]),w=u(w,$,H,P,j,22,o[3]),P=u(P,w,$,H,z,7,o[4]),H=u(H,P,w,$,W,12,o[5]),$=u($,H,P,w,X,17,o[6]),w=u(w,$,H,P,M,22,o[7]),P=u(P,w,$,H,S,7,o[8]),H=u(H,P,w,$,b,12,o[9]),$=u($,H,P,w,A,17,o[10]),w=u(w,$,H,P,C,22,o[11]),P=u(P,w,$,H,E,7,o[12]),H=u(H,P,w,$,F,12,o[13]),$=u($,H,P,w,k,17,o[14]),w=u(w,$,H,P,K,22,o[15]),P=c(P,w,$,H,I,5,o[16]),H=c(H,P,w,$,X,9,o[17]),$=c($,H,P,w,C,14,o[18]),w=c(w,$,H,P,q,20,o[19]),P=c(P,w,$,H,W,5,o[20]),H=c(H,P,w,$,A,9,o[21]),$=c($,H,P,w,K,14,o[22]),w=c(w,$,H,P,z,20,o[23]),P=c(P,w,$,H,b,5,o[24]),H=c(H,P,w,$,k,9,o[25]),$=c($,H,P,w,j,14,o[26]),w=c(w,$,H,P,S,20,o[27]),P=c(P,w,$,H,F,5,o[28]),H=c(H,P,w,$,O,9,o[29]),$=c($,H,P,w,M,14,o[30]),w=c(w,$,H,P,E,20,o[31]),P=l(P,w,$,H,W,4,o[32]),H=l(H,P,w,$,S,11,o[33]),$=l($,H,P,w,C,16,o[34]),w=l(w,$,H,P,k,23,o[35]),P=l(P,w,$,H,I,4,o[36]),H=l(H,P,w,$,z,11,o[37]),$=l($,H,P,w,M,16,o[38]),w=l(w,$,H,P,A,23,o[39]),P=l(P,w,$,H,F,4,o[40]),H=l(H,P,w,$,q,11,o[41]),$=l($,H,P,w,j,16,o[42]),w=l(w,$,H,P,X,23,o[43]),P=l(P,w,$,H,b,4,o[44]),H=l(H,P,w,$,E,11,o[45]),$=l($,H,P,w,K,16,o[46]),w=l(w,$,H,P,O,23,o[47]),P=p(P,w,$,H,q,6,o[48]),H=p(H,P,w,$,M,10,o[49]),$=p($,H,P,w,k,15,o[50]),w=p(w,$,H,P,W,21,o[51]),P=p(P,w,$,H,E,6,o[52]),H=p(H,P,w,$,j,10,o[53]),$=p($,H,P,w,A,15,o[54]),w=p(w,$,H,P,I,21,o[55]),P=p(P,w,$,H,S,6,o[56]),H=p(H,P,w,$,K,10,o[57]),$=p($,H,P,w,X,15,o[58]),w=p(w,$,H,P,F,21,o[59]),P=p(P,w,$,H,z,6,o[60]),H=p(H,P,w,$,C,10,o[61]),$=p($,H,P,w,O,15,o[62]),w=p(w,$,H,P,b,21,o[63]),m[0]=m[0]+P|0,m[1]=m[1]+w|0,m[2]=m[2]+$|0,m[3]=m[3]+H|0},_doFinalize:function(){var v=this._data,y=v.words,g=this._nDataBytes*8,x=v.sigBytes*8;y[x>>>5]|=128<<24-x%32;var _=a.floor(g/4294967296),m=g;y[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y[(x+64>>>9<<4)+14]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,v.sigBytes=(y.length+1)*4,this._process();for(var q=this._hash,I=q.words,O=0;O<4;O++){var j=I[O];I[O]=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360}return q},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function u(v,y,g,x,_,m,q){var I=v+(y&g|~y&x)+_+q;return(I<<m|I>>>32-m)+y}function c(v,y,g,x,_,m,q){var I=v+(y&x|g&~x)+_+q;return(I<<m|I>>>32-m)+y}function l(v,y,g,x,_,m,q){var I=v+(y^g^x)+_+q;return(I<<m|I>>>32-m)+y}function p(v,y,g,x,_,m,q){var I=v+(g^(y|~x))+_+q;return(I<<m|I>>>32-m)+y}h.MD5=s._createHelper(t),h.HmacMD5=s._createHmacHelper(t)}(Math),n.MD5})}(md5$1)),md5$1.exports}var sha1$1={exports:{}},sha1=sha1$1.exports,hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(sha1,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=h.Hasher,s=a.algo,f=[],o=s.SHA1=d.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,u){for(var c=this._hash.words,l=c[0],p=c[1],v=c[2],y=c[3],g=c[4],x=0;x<80;x++){if(x<16)f[x]=t[u+x]|0;else{var _=f[x-3]^f[x-8]^f[x-14]^f[x-16];f[x]=_<<1|_>>>31}var m=(l<<5|l>>>27)+g+f[x];x<20?m+=(p&v|~p&y)+1518500249:x<40?m+=(p^v^y)+1859775393:x<60?m+=(p&v|p&y|v&y)-1894007588:m+=(p^v^y)-899497514,g=y,y=v,v=p<<30|p>>>2,p=l,l=m}c[0]=c[0]+l|0,c[1]=c[1]+p|0,c[2]=c[2]+v|0,c[3]=c[3]+y|0,c[4]=c[4]+g|0},_doFinalize:function(){var t=this._data,u=t.words,c=this._nDataBytes*8,l=t.sigBytes*8;return u[l>>>5]|=128<<24-l%32,u[(l+64>>>9<<4)+14]=Math.floor(c/4294967296),u[(l+64>>>9<<4)+15]=c,t.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var t=d.clone.call(this);return t._hash=this._hash.clone(),t}});a.SHA1=d._createHelper(o),a.HmacSHA1=d._createHmacHelper(o)}(),n.SHA1})}(sha1$1)),sha1$1.exports}var sha256$1={exports:{}},sha256=sha256$1.exports,hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(sha256,function(n){return function(a){var h=n,i=h.lib,d=i.WordArray,s=i.Hasher,f=h.algo,o=[],t=[];(function(){function l(g){for(var x=a.sqrt(g),_=2;_<=x;_++)if(!(g%_))return!1;return!0}function p(g){return(g-(g|0))*4294967296|0}for(var v=2,y=0;y<64;)l(v)&&(y<8&&(o[y]=p(a.pow(v,1/2))),t[y]=p(a.pow(v,1/3)),y++),v++})();var u=[],c=f.SHA256=s.extend({_doReset:function(){this._hash=new d.init(o.slice(0))},_doProcessBlock:function(l,p){for(var v=this._hash.words,y=v[0],g=v[1],x=v[2],_=v[3],m=v[4],q=v[5],I=v[6],O=v[7],j=0;j<64;j++){if(j<16)u[j]=l[p+j]|0;else{var z=u[j-15],W=(z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3,X=u[j-2],M=(X<<15|X>>>17)^(X<<13|X>>>19)^X>>>10;u[j]=W+u[j-7]+M+u[j-16]}var S=m&q^~m&I,b=y&g^y&x^g&x,A=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),C=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),E=O+C+S+t[j]+u[j],F=A+b;O=I,I=q,q=m,m=_+E|0,_=x,x=g,g=y,y=E+F|0}v[0]=v[0]+y|0,v[1]=v[1]+g|0,v[2]=v[2]+x|0,v[3]=v[3]+_|0,v[4]=v[4]+m|0,v[5]=v[5]+q|0,v[6]=v[6]+I|0,v[7]=v[7]+O|0},_doFinalize:function(){var l=this._data,p=l.words,v=this._nDataBytes*8,y=l.sigBytes*8;return p[y>>>5]|=128<<24-y%32,p[(y+64>>>9<<4)+14]=a.floor(v/4294967296),p[(y+64>>>9<<4)+15]=v,l.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var l=s.clone.call(this);return l._hash=this._hash.clone(),l}});h.SHA256=s._createHelper(c),h.HmacSHA256=s._createHmacHelper(c)}(Math),n.SHA256})}(sha256$1)),sha256$1.exports}var sha224$1={exports:{}},sha224=sha224$1.exports,hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireSha256())})(sha224,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=a.algo,s=d.SHA256,f=d.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=4,o}});a.SHA224=s._createHelper(f),a.HmacSHA224=s._createHmacHelper(f)}(),n.SHA224})}(sha224$1)),sha224$1.exports}var sha512$1={exports:{}},sha512=sha512$1.exports,hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireX64Core())})(sha512,function(n){return function(){var a=n,h=a.lib,i=h.Hasher,d=a.x64,s=d.Word,f=d.WordArray,o=a.algo;function t(){return s.create.apply(s,arguments)}var u=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],c=[];(function(){for(var p=0;p<80;p++)c[p]=t()})();var l=o.SHA512=i.extend({_doReset:function(){this._hash=new f.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var y=this._hash.words,g=y[0],x=y[1],_=y[2],m=y[3],q=y[4],I=y[5],O=y[6],j=y[7],z=g.high,W=g.low,X=x.high,M=x.low,S=_.high,b=_.low,A=m.high,C=m.low,E=q.high,F=q.low,k=I.high,K=I.low,P=O.high,w=O.low,$=j.high,H=j.low,J=z,V=W,D=X,T=M,Y=S,Q=b,U=A,L=C,ee=E,ie=F,oe=k,ae=K,fe=P,de=w,ne=$,le=H,se=0;se<80;se++){var ce,ue,he=c[se];if(se<16)ue=he.high=p[v+se*2]|0,ce=he.low=p[v+se*2+1]|0;else{var Me=c[se-15],xe=Me.high,ge=Me.low,Le=(xe>>>1|ge<<31)^(xe>>>8|ge<<24)^xe>>>7,_e=(ge>>>1|xe<<31)^(ge>>>8|xe<<24)^(ge>>>7|xe<<25),Be=c[se-2],Ue=Be.high,we=Be.low,Se=(Ue>>>19|we<<13)^(Ue<<3|we>>>29)^Ue>>>6,je=(we>>>19|Ue<<13)^(we<<3|Ue>>>29)^(we>>>6|Ue<<26),me=c[se-7],Ce=me.high,He=me.low,Ee=c[se-16],Fe=Ee.high,We=Ee.low;ce=_e+He,ue=Le+Ce+(ce>>>0<_e>>>0?1:0),ce=ce+je,ue=ue+Se+(ce>>>0<je>>>0?1:0),ce=ce+We,ue=ue+Fe+(ce>>>0<We>>>0?1:0),he.high=ue,he.low=ce}var qe=ee&oe^~ee&fe,Ae=ie&ae^~ie&de,ke=J&D^J&Y^D&Y,Re=V&T^V&Q^T&Q,Ie=(J>>>28|V<<4)^(J<<30|V>>>2)^(J<<25|V>>>7),Ne=(V>>>28|J<<4)^(V<<30|J>>>2)^(V<<25|J>>>7),De=(ee>>>14|ie<<18)^(ee>>>18|ie<<14)^(ee<<23|ie>>>9),N=(ie>>>14|ee<<18)^(ie>>>18|ee<<14)^(ie<<23|ee>>>9),B=u[se],R=B.high,G=B.low,Z=le+N,re=ne+De+(Z>>>0<le>>>0?1:0),Z=Z+Ae,re=re+qe+(Z>>>0<Ae>>>0?1:0),Z=Z+G,re=re+R+(Z>>>0<G>>>0?1:0),Z=Z+ce,re=re+ue+(Z>>>0<ce>>>0?1:0),te=Ne+Re,ye=Ie+ke+(te>>>0<Ne>>>0?1:0);ne=fe,le=de,fe=oe,de=ae,oe=ee,ae=ie,ie=L+Z|0,ee=U+re+(ie>>>0<L>>>0?1:0)|0,U=Y,L=Q,Y=D,Q=T,D=J,T=V,V=Z+te|0,J=re+ye+(V>>>0<Z>>>0?1:0)|0}W=g.low=W+V,g.high=z+J+(W>>>0<V>>>0?1:0),M=x.low=M+T,x.high=X+D+(M>>>0<T>>>0?1:0),b=_.low=b+Q,_.high=S+Y+(b>>>0<Q>>>0?1:0),C=m.low=C+L,m.high=A+U+(C>>>0<L>>>0?1:0),F=q.low=F+ie,q.high=E+ee+(F>>>0<ie>>>0?1:0),K=I.low=K+ae,I.high=k+oe+(K>>>0<ae>>>0?1:0),w=O.low=w+de,O.high=P+fe+(w>>>0<de>>>0?1:0),H=j.low=H+le,j.high=$+ne+(H>>>0<le>>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,y=this._nDataBytes*8,g=p.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(y/4294967296),v[(g+128>>>10<<5)+31]=y,p.sigBytes=v.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});a.SHA512=i._createHelper(l),a.HmacSHA512=i._createHmacHelper(l)}(),n.SHA512})}(sha512$1)),sha512$1.exports}var sha384$1={exports:{}},sha384=sha384$1.exports,hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireX64Core(),requireSha512())})(sha384,function(n){return function(){var a=n,h=a.x64,i=h.Word,d=h.WordArray,s=a.algo,f=s.SHA512,o=s.SHA384=f.extend({_doReset:function(){this._hash=new d.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var t=f._doFinalize.call(this);return t.sigBytes-=16,t}});a.SHA384=f._createHelper(o),a.HmacSHA384=f._createHmacHelper(o)}(),n.SHA384})}(sha384$1)),sha384$1.exports}var sha3$1={exports:{}},sha3=sha3$1.exports,hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireX64Core())})(sha3,function(n){return function(a){var h=n,i=h.lib,d=i.WordArray,s=i.Hasher,f=h.x64,o=f.Word,t=h.algo,u=[],c=[],l=[];(function(){for(var y=1,g=0,x=0;x<24;x++){u[y+5*g]=(x+1)*(x+2)/2%64;var _=g%5,m=(2*y+3*g)%5;y=_,g=m}for(var y=0;y<5;y++)for(var g=0;g<5;g++)c[y+5*g]=g+(2*y+3*g)%5*5;for(var q=1,I=0;I<24;I++){for(var O=0,j=0,z=0;z<7;z++){if(q&1){var W=(1<<z)-1;W<32?j^=1<<W:O^=1<<W-32}q&128?q=q<<1^113:q<<=1}l[I]=o.create(O,j)}})();var p=[];(function(){for(var y=0;y<25;y++)p[y]=o.create()})();var v=t.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],g=0;g<25;g++)y[g]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,g){for(var x=this._state,_=this.blockSize/2,m=0;m<_;m++){var q=y[g+2*m],I=y[g+2*m+1];q=(q<<8|q>>>24)&16711935|(q<<24|q>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360;var O=x[m];O.high^=I,O.low^=q}for(var j=0;j<24;j++){for(var z=0;z<5;z++){for(var W=0,X=0,M=0;M<5;M++){var O=x[z+5*M];W^=O.high,X^=O.low}var S=p[z];S.high=W,S.low=X}for(var z=0;z<5;z++)for(var b=p[(z+4)%5],A=p[(z+1)%5],C=A.high,E=A.low,W=b.high^(C<<1|E>>>31),X=b.low^(E<<1|C>>>31),M=0;M<5;M++){var O=x[z+5*M];O.high^=W,O.low^=X}for(var F=1;F<25;F++){var W,X,O=x[F],k=O.high,K=O.low,P=u[F];P<32?(W=k<<P|K>>>32-P,X=K<<P|k>>>32-P):(W=K<<P-32|k>>>64-P,X=k<<P-32|K>>>64-P);var w=p[c[F]];w.high=W,w.low=X}var $=p[0],H=x[0];$.high=H.high,$.low=H.low;for(var z=0;z<5;z++)for(var M=0;M<5;M++){var F=z+5*M,O=x[F],J=p[F],V=p[(z+1)%5+5*M],D=p[(z+2)%5+5*M];O.high=J.high^~V.high&D.high,O.low=J.low^~V.low&D.low}var O=x[0],T=l[j];O.high^=T.high,O.low^=T.low}},_doFinalize:function(){var y=this._data,g=y.words;this._nDataBytes*8;var x=y.sigBytes*8,_=this.blockSize*32;g[x>>>5]|=1<<24-x%32,g[(a.ceil((x+1)/_)*_>>>5)-1]|=128,y.sigBytes=g.length*4,this._process();for(var m=this._state,q=this.cfg.outputLength/8,I=q/8,O=[],j=0;j<I;j++){var z=m[j],W=z.high,X=z.low;W=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360,X=(X<<8|X>>>24)&16711935|(X<<24|X>>>8)&4278255360,O.push(X),O.push(W)}return new d.init(O,q)},clone:function(){for(var y=s.clone.call(this),g=y._state=this._state.slice(0),x=0;x<25;x++)g[x]=g[x].clone();return y}});h.SHA3=s._createHelper(v),h.HmacSHA3=s._createHmacHelper(v)}(Math),n.SHA3})}(sha3$1)),sha3$1.exports}var ripemd160$1={exports:{}},ripemd160=ripemd160$1.exports,hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(ripemd160,function(n){return function(a){var h=n,i=h.lib,d=i.WordArray,s=i.Hasher,f=h.algo,o=d.create([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]),t=d.create([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]),u=d.create([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=d.create([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]),l=d.create([0,1518500249,1859775393,2400959708,2840853838]),p=d.create([1352829926,1548603684,1836072691,2053994217,0]),v=f.RIPEMD160=s.extend({_doReset:function(){this._hash=d.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(I,O){for(var j=0;j<16;j++){var z=O+j,W=I[z];I[z]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}var X=this._hash.words,M=l.words,S=p.words,b=o.words,A=t.words,C=u.words,E=c.words,F,k,K,P,w,$,H,J,V,D;$=F=X[0],H=k=X[1],J=K=X[2],V=P=X[3],D=w=X[4];for(var T,j=0;j<80;j+=1)T=F+I[O+b[j]]|0,j<16?T+=y(k,K,P)+M[0]:j<32?T+=g(k,K,P)+M[1]:j<48?T+=x(k,K,P)+M[2]:j<64?T+=_(k,K,P)+M[3]:T+=m(k,K,P)+M[4],T=T|0,T=q(T,C[j]),T=T+w|0,F=w,w=P,P=q(K,10),K=k,k=T,T=$+I[O+A[j]]|0,j<16?T+=m(H,J,V)+S[0]:j<32?T+=_(H,J,V)+S[1]:j<48?T+=x(H,J,V)+S[2]:j<64?T+=g(H,J,V)+S[3]:T+=y(H,J,V)+S[4],T=T|0,T=q(T,E[j]),T=T+D|0,$=D,D=V,V=q(J,10),J=H,H=T;T=X[1]+K+V|0,X[1]=X[2]+P+D|0,X[2]=X[3]+w+$|0,X[3]=X[4]+F+H|0,X[4]=X[0]+k+J|0,X[0]=T},_doFinalize:function(){var I=this._data,O=I.words,j=this._nDataBytes*8,z=I.sigBytes*8;O[z>>>5]|=128<<24-z%32,O[(z+64>>>9<<4)+14]=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360,I.sigBytes=(O.length+1)*4,this._process();for(var W=this._hash,X=W.words,M=0;M<5;M++){var S=X[M];X[M]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return W},clone:function(){var I=s.clone.call(this);return I._hash=this._hash.clone(),I}});function y(I,O,j){return I^O^j}function g(I,O,j){return I&O|~I&j}function x(I,O,j){return(I|~O)^j}function _(I,O,j){return I&j|O&~j}function m(I,O,j){return I^(O|~j)}function q(I,O){return I<<O|I>>>32-O}h.RIPEMD160=s._createHelper(v),h.HmacRIPEMD160=s._createHmacHelper(v)}(),n.RIPEMD160})}(ripemd160$1)),ripemd160$1.exports}var hmac$1={exports:{}},hmac=hmac$1.exports,hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(e,r){(function(n,a){e.exports=a(requireCore())})(hmac,function(n){(function(){var a=n,h=a.lib,i=h.Base,d=a.enc,s=d.Utf8,f=a.algo;f.HMAC=i.extend({init:function(o,t){o=this._hasher=new o.init,typeof t=="string"&&(t=s.parse(t));var u=o.blockSize,c=u*4;t.sigBytes>c&&(t=o.finalize(t)),t.clamp();for(var l=this._oKey=t.clone(),p=this._iKey=t.clone(),v=l.words,y=p.words,g=0;g<u;g++)v[g]^=1549556828,y[g]^=909522486;l.sigBytes=p.sigBytes=c,this.reset()},reset:function(){var o=this._hasher;o.reset(),o.update(this._iKey)},update:function(o){return this._hasher.update(o),this},finalize:function(o){var t=this._hasher,u=t.finalize(o);t.reset();var c=t.finalize(this._oKey.clone().concat(u));return c}})})()})}(hmac$1)),hmac$1.exports}var pbkdf2$1={exports:{}},pbkdf2=pbkdf2$1.exports,hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireSha256(),requireHmac())})(pbkdf2,function(n){return function(){var a=n,h=a.lib,i=h.Base,d=h.WordArray,s=a.algo,f=s.SHA256,o=s.HMAC,t=s.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:25e4}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,c){for(var l=this.cfg,p=o.create(l.hasher,u),v=d.create(),y=d.create([1]),g=v.words,x=y.words,_=l.keySize,m=l.iterations;g.length<_;){var q=p.update(c).finalize(y);p.reset();for(var I=q.words,O=I.length,j=q,z=1;z<m;z++){j=p.finalize(j),p.reset();for(var W=j.words,X=0;X<O;X++)I[X]^=W[X]}v.concat(q),x[0]++}return v.sigBytes=_*4,v}});a.PBKDF2=function(u,c,l){return t.create(l).compute(u,c)}}(),n.PBKDF2})}(pbkdf2$1)),pbkdf2$1.exports}var evpkdf$1={exports:{}},evpkdf=evpkdf$1.exports,hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireSha1(),requireHmac())})(evpkdf,function(n){return function(){var a=n,h=a.lib,i=h.Base,d=h.WordArray,s=a.algo,f=s.MD5,o=s.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,u){for(var c,l=this.cfg,p=l.hasher.create(),v=d.create(),y=v.words,g=l.keySize,x=l.iterations;y.length<g;){c&&p.update(c),c=p.update(t).finalize(u),p.reset();for(var _=1;_<x;_++)c=p.finalize(c),p.reset();v.concat(c)}return v.sigBytes=g*4,v}});a.EvpKDF=function(t,u,c){return o.create(c).compute(t,u)}}(),n.EvpKDF})}(evpkdf$1)),evpkdf$1.exports}var cipherCore$1={exports:{}},cipherCore=cipherCore$1.exports,hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEvpkdf())})(cipherCore,function(n){n.lib.Cipher||function(a){var h=n,i=h.lib,d=i.Base,s=i.WordArray,f=i.BufferedBlockAlgorithm,o=h.enc;o.Utf8;var t=o.Base64,u=h.algo,c=u.EvpKDF,l=i.Cipher=f.extend({cfg:d.extend(),createEncryptor:function(W,X){return this.create(this._ENC_XFORM_MODE,W,X)},createDecryptor:function(W,X){return this.create(this._DEC_XFORM_MODE,W,X)},init:function(W,X,M){this.cfg=this.cfg.extend(M),this._xformMode=W,this._key=X,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(W){return this._append(W),this._process()},finalize:function(W){W&&this._append(W);var X=this._doFinalize();return X},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function W(X){return typeof X=="string"?z:I}return function(X){return{encrypt:function(M,S,b){return W(S).encrypt(X,M,S,b)},decrypt:function(M,S,b){return W(S).decrypt(X,M,S,b)}}}}()});i.StreamCipher=l.extend({_doFinalize:function(){var W=this._process(!0);return W},blockSize:1});var p=h.mode={},v=i.BlockCipherMode=d.extend({createEncryptor:function(W,X){return this.Encryptor.create(W,X)},createDecryptor:function(W,X){return this.Decryptor.create(W,X)},init:function(W,X){this._cipher=W,this._iv=X}}),y=p.CBC=function(){var W=v.extend();W.Encryptor=W.extend({processBlock:function(M,S){var b=this._cipher,A=b.blockSize;X.call(this,M,S,A),b.encryptBlock(M,S),this._prevBlock=M.slice(S,S+A)}}),W.Decryptor=W.extend({processBlock:function(M,S){var b=this._cipher,A=b.blockSize,C=M.slice(S,S+A);b.decryptBlock(M,S),X.call(this,M,S,A),this._prevBlock=C}});function X(M,S,b){var A,C=this._iv;C?(A=C,this._iv=a):A=this._prevBlock;for(var E=0;E<b;E++)M[S+E]^=A[E]}return W}(),g=h.pad={},x=g.Pkcs7={pad:function(W,X){for(var M=X*4,S=M-W.sigBytes%M,b=S<<24|S<<16|S<<8|S,A=[],C=0;C<S;C+=4)A.push(b);var E=s.create(A,S);W.concat(E)},unpad:function(W){var X=W.words[W.sigBytes-1>>>2]&255;W.sigBytes-=X}};i.BlockCipher=l.extend({cfg:l.cfg.extend({mode:y,padding:x}),reset:function(){var W;l.reset.call(this);var X=this.cfg,M=X.iv,S=X.mode;this._xformMode==this._ENC_XFORM_MODE?W=S.createEncryptor:(W=S.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==W?this._mode.init(this,M&&M.words):(this._mode=W.call(S,this,M&&M.words),this._mode.__creator=W)},_doProcessBlock:function(W,X){this._mode.processBlock(W,X)},_doFinalize:function(){var W,X=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(X.pad(this._data,this.blockSize),W=this._process(!0)):(W=this._process(!0),X.unpad(W)),W},blockSize:128/32});var _=i.CipherParams=d.extend({init:function(W){this.mixIn(W)},toString:function(W){return(W||this.formatter).stringify(this)}}),m=h.format={},q=m.OpenSSL={stringify:function(W){var X,M=W.ciphertext,S=W.salt;return S?X=s.create([1398893684,1701076831]).concat(S).concat(M):X=M,X.toString(t)},parse:function(W){var X,M=t.parse(W),S=M.words;return S[0]==1398893684&&S[1]==1701076831&&(X=s.create(S.slice(2,4)),S.splice(0,4),M.sigBytes-=16),_.create({ciphertext:M,salt:X})}},I=i.SerializableCipher=d.extend({cfg:d.extend({format:q}),encrypt:function(W,X,M,S){S=this.cfg.extend(S);var b=W.createEncryptor(M,S),A=b.finalize(X),C=b.cfg;return _.create({ciphertext:A,key:M,iv:C.iv,algorithm:W,mode:C.mode,padding:C.padding,blockSize:W.blockSize,formatter:S.format})},decrypt:function(W,X,M,S){S=this.cfg.extend(S),X=this._parse(X,S.format);var b=W.createDecryptor(M,S).finalize(X.ciphertext);return b},_parse:function(W,X){return typeof W=="string"?X.parse(W,this):W}}),O=h.kdf={},j=O.OpenSSL={execute:function(W,X,M,S,b){if(S||(S=s.random(64/8)),b)var A=c.create({keySize:X+M,hasher:b}).compute(W,S);else var A=c.create({keySize:X+M}).compute(W,S);var C=s.create(A.words.slice(X),M*4);return A.sigBytes=X*4,_.create({key:A,iv:C,salt:S})}},z=i.PasswordBasedCipher=I.extend({cfg:I.cfg.extend({kdf:j}),encrypt:function(W,X,M,S){S=this.cfg.extend(S);var b=S.kdf.execute(M,W.keySize,W.ivSize,S.salt,S.hasher);S.iv=b.iv;var A=I.encrypt.call(this,W,X,b.key,S);return A.mixIn(b),A},decrypt:function(W,X,M,S){S=this.cfg.extend(S),X=this._parse(X,S.format);var b=S.kdf.execute(M,W.keySize,W.ivSize,X.salt,S.hasher);S.iv=b.iv;var A=I.decrypt.call(this,W,X,b.key,S);return A}})}()})}(cipherCore$1)),cipherCore$1.exports}var modeCfb$1={exports:{}},modeCfb=modeCfb$1.exports,hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(modeCfb,function(n){return n.mode.CFB=function(){var a=n.lib.BlockCipherMode.extend();a.Encryptor=a.extend({processBlock:function(i,d){var s=this._cipher,f=s.blockSize;h.call(this,i,d,f,s),this._prevBlock=i.slice(d,d+f)}}),a.Decryptor=a.extend({processBlock:function(i,d){var s=this._cipher,f=s.blockSize,o=i.slice(d,d+f);h.call(this,i,d,f,s),this._prevBlock=o}});function h(i,d,s,f){var o,t=this._iv;t?(o=t.slice(0),this._iv=void 0):o=this._prevBlock,f.encryptBlock(o,0);for(var u=0;u<s;u++)i[d+u]^=o[u]}return a}(),n.mode.CFB})}(modeCfb$1)),modeCfb$1.exports}var modeCtr$1={exports:{}},modeCtr=modeCtr$1.exports,hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(modeCtr,function(n){return n.mode.CTR=function(){var a=n.lib.BlockCipherMode.extend(),h=a.Encryptor=a.extend({processBlock:function(i,d){var s=this._cipher,f=s.blockSize,o=this._iv,t=this._counter;o&&(t=this._counter=o.slice(0),this._iv=void 0);var u=t.slice(0);s.encryptBlock(u,0),t[f-1]=t[f-1]+1|0;for(var c=0;c<f;c++)i[d+c]^=u[c]}});return a.Decryptor=h,a}(),n.mode.CTR})}(modeCtr$1)),modeCtr$1.exports}var modeCtrGladman$1={exports:{}},modeCtrGladman=modeCtrGladman$1.exports,hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(modeCtrGladman,function(n){return n.mode.CTRGladman=function(){var a=n.lib.BlockCipherMode.extend();function h(s){if((s>>24&255)===255){var f=s>>16&255,o=s>>8&255,t=s&255;f===255?(f=0,o===255?(o=0,t===255?t=0:++t):++o):++f,s=0,s+=f<<16,s+=o<<8,s+=t}else s+=1<<24;return s}function i(s){return(s[0]=h(s[0]))===0&&(s[1]=h(s[1])),s}var d=a.Encryptor=a.extend({processBlock:function(s,f){var o=this._cipher,t=o.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0),i(c);var l=c.slice(0);o.encryptBlock(l,0);for(var p=0;p<t;p++)s[f+p]^=l[p]}});return a.Decryptor=d,a}(),n.mode.CTRGladman})}(modeCtrGladman$1)),modeCtrGladman$1.exports}var modeOfb$1={exports:{}},modeOfb=modeOfb$1.exports,hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(modeOfb,function(n){return n.mode.OFB=function(){var a=n.lib.BlockCipherMode.extend(),h=a.Encryptor=a.extend({processBlock:function(i,d){var s=this._cipher,f=s.blockSize,o=this._iv,t=this._keystream;o&&(t=this._keystream=o.slice(0),this._iv=void 0),s.encryptBlock(t,0);for(var u=0;u<f;u++)i[d+u]^=t[u]}});return a.Decryptor=h,a}(),n.mode.OFB})}(modeOfb$1)),modeOfb$1.exports}var modeEcb$1={exports:{}},modeEcb=modeEcb$1.exports,hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(modeEcb,function(n){return n.mode.ECB=function(){var a=n.lib.BlockCipherMode.extend();return a.Encryptor=a.extend({processBlock:function(h,i){this._cipher.encryptBlock(h,i)}}),a.Decryptor=a.extend({processBlock:function(h,i){this._cipher.decryptBlock(h,i)}}),a}(),n.mode.ECB})}(modeEcb$1)),modeEcb$1.exports}var padAnsix923$1={exports:{}},padAnsix923=padAnsix923$1.exports,hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(padAnsix923,function(n){return n.pad.AnsiX923={pad:function(a,h){var i=a.sigBytes,d=h*4,s=d-i%d,f=i+s-1;a.clamp(),a.words[f>>>2]|=s<<24-f%4*8,a.sigBytes+=s},unpad:function(a){var h=a.words[a.sigBytes-1>>>2]&255;a.sigBytes-=h}},n.pad.Ansix923})}(padAnsix923$1)),padAnsix923$1.exports}var padIso10126$1={exports:{}},padIso10126=padIso10126$1.exports,hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(padIso10126,function(n){return n.pad.Iso10126={pad:function(a,h){var i=h*4,d=i-a.sigBytes%i;a.concat(n.lib.WordArray.random(d-1)).concat(n.lib.WordArray.create([d<<24],1))},unpad:function(a){var h=a.words[a.sigBytes-1>>>2]&255;a.sigBytes-=h}},n.pad.Iso10126})}(padIso10126$1)),padIso10126$1.exports}var padIso97971$1={exports:{}},padIso97971=padIso97971$1.exports,hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(padIso97971,function(n){return n.pad.Iso97971={pad:function(a,h){a.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(a,h)},unpad:function(a){n.pad.ZeroPadding.unpad(a),a.sigBytes--}},n.pad.Iso97971})}(padIso97971$1)),padIso97971$1.exports}var padZeropadding$1={exports:{}},padZeropadding=padZeropadding$1.exports,hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(padZeropadding,function(n){return n.pad.ZeroPadding={pad:function(a,h){var i=h*4;a.clamp(),a.sigBytes+=i-(a.sigBytes%i||i)},unpad:function(a){for(var h=a.words,i=a.sigBytes-1,i=a.sigBytes-1;i>=0;i--)if(h[i>>>2]>>>24-i%4*8&255){a.sigBytes=i+1;break}}},n.pad.ZeroPadding})}(padZeropadding$1)),padZeropadding$1.exports}var padNopadding$1={exports:{}},padNopadding=padNopadding$1.exports,hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(padNopadding,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(padNopadding$1)),padNopadding$1.exports}var formatHex$1={exports:{}},formatHex=formatHex$1.exports,hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireCipherCore())})(formatHex,function(n){return function(a){var h=n,i=h.lib,d=i.CipherParams,s=h.enc,f=s.Hex,o=h.format;o.Hex={stringify:function(t){return t.ciphertext.toString(f)},parse:function(t){var u=f.parse(t);return d.create({ciphertext:u})}}}(),n.format.Hex})}(formatHex$1)),formatHex$1.exports}var aes$1={exports:{}},aes=aes$1.exports,hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(aes,function(n){return function(){var a=n,h=a.lib,i=h.BlockCipher,d=a.algo,s=[],f=[],o=[],t=[],u=[],c=[],l=[],p=[],v=[],y=[];(function(){for(var _=[],m=0;m<256;m++)m<128?_[m]=m<<1:_[m]=m<<1^283;for(var q=0,I=0,m=0;m<256;m++){var O=I^I<<1^I<<2^I<<3^I<<4;O=O>>>8^O&255^99,s[q]=O,f[O]=q;var j=_[q],z=_[j],W=_[z],X=_[O]*257^O*16843008;o[q]=X<<24|X>>>8,t[q]=X<<16|X>>>16,u[q]=X<<8|X>>>24,c[q]=X;var X=W*16843009^z*65537^j*257^q*16843008;l[O]=X<<24|X>>>8,p[O]=X<<16|X>>>16,v[O]=X<<8|X>>>24,y[O]=X,q?(q=j^_[_[_[W^j]]],I^=_[_[I]]):q=I=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],x=d.AES=i.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var m=this._keyPriorReset=this._key,q=m.words,I=m.sigBytes/4,O=this._nRounds=I+6,j=(O+1)*4,z=this._keySchedule=[],W=0;W<j;W++)W<I?z[W]=q[W]:(_=z[W-1],W%I?I>6&&W%I==4&&(_=s[_>>>24]<<24|s[_>>>16&255]<<16|s[_>>>8&255]<<8|s[_&255]):(_=_<<8|_>>>24,_=s[_>>>24]<<24|s[_>>>16&255]<<16|s[_>>>8&255]<<8|s[_&255],_^=g[W/I|0]<<24),z[W]=z[W-I]^_);for(var X=this._invKeySchedule=[],M=0;M<j;M++){var W=j-M;if(M%4)var _=z[W];else var _=z[W-4];M<4||W<=4?X[M]=_:X[M]=l[s[_>>>24]]^p[s[_>>>16&255]]^v[s[_>>>8&255]]^y[s[_&255]]}}},encryptBlock:function(_,m){this._doCryptBlock(_,m,this._keySchedule,o,t,u,c,s)},decryptBlock:function(_,m){var q=_[m+1];_[m+1]=_[m+3],_[m+3]=q,this._doCryptBlock(_,m,this._invKeySchedule,l,p,v,y,f);var q=_[m+1];_[m+1]=_[m+3],_[m+3]=q},_doCryptBlock:function(_,m,q,I,O,j,z,W){for(var X=this._nRounds,M=_[m]^q[0],S=_[m+1]^q[1],b=_[m+2]^q[2],A=_[m+3]^q[3],C=4,E=1;E<X;E++){var F=I[M>>>24]^O[S>>>16&255]^j[b>>>8&255]^z[A&255]^q[C++],k=I[S>>>24]^O[b>>>16&255]^j[A>>>8&255]^z[M&255]^q[C++],K=I[b>>>24]^O[A>>>16&255]^j[M>>>8&255]^z[S&255]^q[C++],P=I[A>>>24]^O[M>>>16&255]^j[S>>>8&255]^z[b&255]^q[C++];M=F,S=k,b=K,A=P}var F=(W[M>>>24]<<24|W[S>>>16&255]<<16|W[b>>>8&255]<<8|W[A&255])^q[C++],k=(W[S>>>24]<<24|W[b>>>16&255]<<16|W[A>>>8&255]<<8|W[M&255])^q[C++],K=(W[b>>>24]<<24|W[A>>>16&255]<<16|W[M>>>8&255]<<8|W[S&255])^q[C++],P=(W[A>>>24]<<24|W[M>>>16&255]<<16|W[S>>>8&255]<<8|W[b&255])^q[C++];_[m]=F,_[m+1]=k,_[m+2]=K,_[m+3]=P},keySize:256/32});a.AES=i._createHelper(x)}(),n.AES})}(aes$1)),aes$1.exports}var tripledes$1={exports:{}},tripledes=tripledes$1.exports,hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(tripledes,function(n){return function(){var a=n,h=a.lib,i=h.WordArray,d=h.BlockCipher,s=a.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],t=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=s.DES=d.extend({_doReset:function(){for(var g=this._key,x=g.words,_=[],m=0;m<56;m++){var q=f[m]-1;_[m]=x[q>>>5]>>>31-q%32&1}for(var I=this._subKeys=[],O=0;O<16;O++){for(var j=I[O]=[],z=t[O],m=0;m<24;m++)j[m/6|0]|=_[(o[m]-1+z)%28]<<31-m%6,j[4+(m/6|0)]|=_[28+(o[m+24]-1+z)%28]<<31-m%6;j[0]=j[0]<<1|j[0]>>>31;for(var m=1;m<7;m++)j[m]=j[m]>>>(m-1)*4+3;j[7]=j[7]<<5|j[7]>>>27}for(var W=this._invSubKeys=[],m=0;m<16;m++)W[m]=I[15-m]},encryptBlock:function(g,x){this._doCryptBlock(g,x,this._subKeys)},decryptBlock:function(g,x){this._doCryptBlock(g,x,this._invSubKeys)},_doCryptBlock:function(g,x,_){this._lBlock=g[x],this._rBlock=g[x+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var m=0;m<16;m++){for(var q=_[m],I=this._lBlock,O=this._rBlock,j=0,z=0;z<8;z++)j|=u[z][((O^q[z])&c[z])>>>0];this._lBlock=O,this._rBlock=I^j}var W=this._lBlock;this._lBlock=this._rBlock,this._rBlock=W,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),g[x]=this._lBlock,g[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(g,x){var _=(this._lBlock>>>g^this._rBlock)&x;this._rBlock^=_,this._lBlock^=_<<g}function v(g,x){var _=(this._rBlock>>>g^this._lBlock)&x;this._lBlock^=_,this._rBlock^=_<<g}a.DES=d._createHelper(l);var y=s.TripleDES=d.extend({_doReset:function(){var g=this._key,x=g.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var _=x.slice(0,2),m=x.length<4?x.slice(0,2):x.slice(2,4),q=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=l.createEncryptor(i.create(_)),this._des2=l.createEncryptor(i.create(m)),this._des3=l.createEncryptor(i.create(q))},encryptBlock:function(g,x){this._des1.encryptBlock(g,x),this._des2.decryptBlock(g,x),this._des3.encryptBlock(g,x)},decryptBlock:function(g,x){this._des3.decryptBlock(g,x),this._des2.encryptBlock(g,x),this._des1.decryptBlock(g,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});a.TripleDES=d._createHelper(y)}(),n.TripleDES})}(tripledes$1)),tripledes$1.exports}var rc4$1={exports:{}},rc4=rc4$1.exports,hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rc4,function(n){return function(){var a=n,h=a.lib,i=h.StreamCipher,d=a.algo,s=d.RC4=i.extend({_doReset:function(){for(var t=this._key,u=t.words,c=t.sigBytes,l=this._S=[],p=0;p<256;p++)l[p]=p;for(var p=0,v=0;p<256;p++){var y=p%c,g=u[y>>>2]>>>24-y%4*8&255;v=(v+l[p]+g)%256;var x=l[p];l[p]=l[v],l[v]=x}this._i=this._j=0},_doProcessBlock:function(t,u){t[u]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var t=this._S,u=this._i,c=this._j,l=0,p=0;p<4;p++){u=(u+1)%256,c=(c+t[u])%256;var v=t[u];t[u]=t[c],t[c]=v,l|=t[(t[u]+t[c])%256]<<24-p*8}return this._i=u,this._j=c,l}a.RC4=i._createHelper(s);var o=d.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)f.call(this)}});a.RC4Drop=i._createHelper(o)}(),n.RC4})}(rc4$1)),rc4$1.exports}var rabbit$1={exports:{}},rabbit=rabbit$1.exports,hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rabbit,function(n){return function(){var a=n,h=a.lib,i=h.StreamCipher,d=a.algo,s=[],f=[],o=[],t=d.Rabbit=i.extend({_doReset:function(){for(var c=this._key.words,l=this.cfg.iv,p=0;p<4;p++)c[p]=(c[p]<<8|c[p]>>>24)&16711935|(c[p]<<24|c[p]>>>8)&4278255360;var v=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],y=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var p=0;p<4;p++)u.call(this);for(var p=0;p<8;p++)y[p]^=v[p+4&7];if(l){var g=l.words,x=g[0],_=g[1],m=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,q=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,I=m>>>16|q&4294901760,O=q<<16|m&65535;y[0]^=m,y[1]^=I,y[2]^=q,y[3]^=O,y[4]^=m,y[5]^=I,y[6]^=q,y[7]^=O;for(var p=0;p<4;p++)u.call(this)}},_doProcessBlock:function(c,l){var p=this._X;u.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,c[l+v]^=s[v]},blockSize:128/32,ivSize:64/32});function u(){for(var c=this._X,l=this._C,p=0;p<8;p++)f[p]=l[p];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0<f[0]>>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0<f[1]>>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0<f[2]>>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0<f[3]>>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0<f[4]>>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0<f[5]>>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0<f[6]>>>0?1:0)|0,this._b=l[7]>>>0<f[7]>>>0?1:0;for(var p=0;p<8;p++){var v=c[p]+l[p],y=v&65535,g=v>>>16,x=((y*y>>>17)+y*g>>>15)+g*g,_=((v&4294901760)*v|0)+((v&65535)*v|0);o[p]=x^_}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}a.Rabbit=i._createHelper(t)}(),n.Rabbit})}(rabbit$1)),rabbit$1.exports}var rabbitLegacy$1={exports:{}},rabbitLegacy=rabbitLegacy$1.exports,hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rabbitLegacy,function(n){return function(){var a=n,h=a.lib,i=h.StreamCipher,d=a.algo,s=[],f=[],o=[],t=d.RabbitLegacy=i.extend({_doReset:function(){var c=this._key.words,l=this.cfg.iv,p=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],v=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var y=0;y<4;y++)u.call(this);for(var y=0;y<8;y++)v[y]^=p[y+4&7];if(l){var g=l.words,x=g[0],_=g[1],m=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,q=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,I=m>>>16|q&4294901760,O=q<<16|m&65535;v[0]^=m,v[1]^=I,v[2]^=q,v[3]^=O,v[4]^=m,v[5]^=I,v[6]^=q,v[7]^=O;for(var y=0;y<4;y++)u.call(this)}},_doProcessBlock:function(c,l){var p=this._X;u.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,c[l+v]^=s[v]},blockSize:128/32,ivSize:64/32});function u(){for(var c=this._X,l=this._C,p=0;p<8;p++)f[p]=l[p];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0<f[0]>>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0<f[1]>>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0<f[2]>>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0<f[3]>>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0<f[4]>>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0<f[5]>>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0<f[6]>>>0?1:0)|0,this._b=l[7]>>>0<f[7]>>>0?1:0;for(var p=0;p<8;p++){var v=c[p]+l[p],y=v&65535,g=v>>>16,x=((y*y>>>17)+y*g>>>15)+g*g,_=((v&4294901760)*v|0)+((v&65535)*v|0);o[p]=x^_}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}a.RabbitLegacy=i._createHelper(t)}(),n.RabbitLegacy})}(rabbitLegacy$1)),rabbitLegacy$1.exports}var blowfish$1={exports:{}},blowfish=blowfish$1.exports,hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(blowfish,function(n){return function(){var a=n,h=a.lib,i=h.BlockCipher,d=a.algo;const s=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var t={pbox:[],sbox:[]};function u(y,g){let x=g>>24&255,_=g>>16&255,m=g>>8&255,q=g&255,I=y.sbox[0][x]+y.sbox[1][_];return I=I^y.sbox[2][m],I=I+y.sbox[3][q],I}function c(y,g,x){let _=g,m=x,q;for(let I=0;I<s;++I)_=_^y.pbox[I],m=u(y,_)^m,q=_,_=m,m=q;return q=_,_=m,m=q,m=m^y.pbox[s],_=_^y.pbox[s+1],{left:_,right:m}}function l(y,g,x){let _=g,m=x,q;for(let I=s+1;I>1;--I)_=_^y.pbox[I],m=u(y,_)^m,q=_,_=m,m=q;return q=_,_=m,m=q,m=m^y.pbox[1],_=_^y.pbox[0],{left:_,right:m}}function p(y,g,x){for(let O=0;O<4;O++){y.sbox[O]=[];for(let j=0;j<256;j++)y.sbox[O][j]=o[O][j]}let _=0;for(let O=0;O<s+2;O++)y.pbox[O]=f[O]^g[_],_++,_>=x&&(_=0);let m=0,q=0,I=0;for(let O=0;O<s+2;O+=2)I=c(y,m,q),m=I.left,q=I.right,y.pbox[O]=m,y.pbox[O+1]=q;for(let O=0;O<4;O++)for(let j=0;j<256;j+=2)I=c(y,m,q),m=I.left,q=I.right,y.sbox[O][j]=m,y.sbox[O][j+1]=q;return!0}var v=d.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var y=this._keyPriorReset=this._key,g=y.words,x=y.sigBytes/4;p(t,g,x)}},encryptBlock:function(y,g){var x=c(t,y[g],y[g+1]);y[g]=x.left,y[g+1]=x.right},decryptBlock:function(y,g){var x=l(t,y[g],y[g+1]);y[g]=x.left,y[g+1]=x.right},blockSize:64/32,keySize:128/32,ivSize:64/32});a.Blowfish=i._createHelper(v)}(),n.Blowfish})}(blowfish$1)),blowfish$1.exports}var cryptoJs=cryptoJs$1.exports,hasRequiredCryptoJs;function requireCryptoJs(){return hasRequiredCryptoJs||(hasRequiredCryptoJs=1,function(e,r){(function(n,a,h){e.exports=a(requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish())})(cryptoJs,function(n){return n})}(cryptoJs$1)),cryptoJs$1.exports}var NAN$1=NaN;function baseToNumber(e){return typeof e=="number"?e:isSymbol(e)?NAN$1:+e}function createMathOperation(e,r){return function(n,a){var h;if(n===void 0&&a===void 0)return r;if(n!==void 0&&(h=n),a!==void 0){if(h===void 0)return a;typeof n=="string"||typeof a=="string"?(n=baseToString(n),a=baseToString(a)):(n=baseToNumber(n),a=baseToNumber(a)),h=e(n,a)}return h}}var add=createMathOperation(function(e,r){return e+r},0),FUNC_ERROR_TEXT$8="Expected a function";function after(e,r){if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$8);return e=toInteger(e),function(){if(--e<1)return r.apply(this,arguments)}}var metaMap=WeakMap$1&&new WeakMap$1,baseSetData=metaMap?function(e,r){return metaMap.set(e,r),e}:identity;function createCtor(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var n=baseCreate(e.prototype),a=e.apply(n,r);return isObject(a)?a:n}}var WRAP_BIND_FLAG$7=1;function createBind(e,r,n){var a=r&WRAP_BIND_FLAG$7,h=createCtor(e);function i(){var d=this&&this!==root&&this instanceof i?h:e;return d.apply(a?n:this,arguments)}return i}var nativeMax$b=Math.max;function composeArgs(e,r,n,a){for(var h=-1,i=e.length,d=n.length,s=-1,f=r.length,o=nativeMax$b(i-d,0),t=Array(f+o),u=!a;++s<f;)t[s]=r[s];for(;++h<d;)(u||h<i)&&(t[n[h]]=e[h]);for(;o--;)t[s++]=e[h++];return t}var nativeMax$a=Math.max;function composeArgsRight(e,r,n,a){for(var h=-1,i=e.length,d=-1,s=n.length,f=-1,o=r.length,t=nativeMax$a(i-s,0),u=Array(t+o),c=!a;++h<t;)u[h]=e[h];for(var l=h;++f<o;)u[l+f]=r[f];for(;++d<s;)(c||h<i)&&(u[l+n[d]]=e[h++]);return u}function countHolders(e,r){for(var n=e.length,a=0;n--;)e[n]===r&&++a;return a}function baseLodash(){}var MAX_ARRAY_LENGTH$6=4294967295;function LazyWrapper(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=MAX_ARRAY_LENGTH$6,this.__views__=[]}LazyWrapper.prototype=baseCreate(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;var getData=metaMap?function(e){return metaMap.get(e)}:noop,realNames={},objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty;function getFuncName(e){for(var r=e.name+"",n=realNames[r],a=hasOwnProperty$9.call(realNames,r)?n.length:0;a--;){var h=n[a],i=h.func;if(i==null||i==e)return h.name}return r}function LodashWrapper(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=baseCreate(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;function wrapperClone(e){if(e instanceof LazyWrapper)return e.clone();var r=new LodashWrapper(e.__wrapped__,e.__chain__);return r.__actions__=copyArray(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function lodash$1(e){if(isObjectLike(e)&&!isArray(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper)return e;if(hasOwnProperty$8.call(e,"__wrapped__"))return wrapperClone(e)}return new LodashWrapper(e)}lodash$1.prototype=baseLodash.prototype;lodash$1.prototype.constructor=lodash$1;function isLaziable(e){var r=getFuncName(e),n=lodash$1[r];if(typeof n!="function"||!(r in LazyWrapper.prototype))return!1;if(e===n)return!0;var a=getData(n);return!!a&&e===a[0]}var setData=shortOut(baseSetData),reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;function getWrapDetails(e){var r=e.match(reWrapDetails);return r?r[1].split(reSplitDetails):[]}var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,r){var n=r.length;if(!n)return e;var a=n-1;return r[a]=(n>1?"& ":"")+r[a],r=r.join(n>2?", ":" "),e.replace(reWrapComment,`{
|
|
18
|
+
/* [wrapped with `+r+`] */
|
|
19
|
+
`)}var WRAP_BIND_FLAG$6=1,WRAP_BIND_KEY_FLAG$5=2,WRAP_CURRY_FLAG$6=8,WRAP_CURRY_RIGHT_FLAG$3=16,WRAP_PARTIAL_FLAG$6=32,WRAP_PARTIAL_RIGHT_FLAG$3=64,WRAP_ARY_FLAG$4=128,WRAP_REARG_FLAG$3=256,WRAP_FLIP_FLAG$2=512,wrapFlags=[["ary",WRAP_ARY_FLAG$4],["bind",WRAP_BIND_FLAG$6],["bindKey",WRAP_BIND_KEY_FLAG$5],["curry",WRAP_CURRY_FLAG$6],["curryRight",WRAP_CURRY_RIGHT_FLAG$3],["flip",WRAP_FLIP_FLAG$2],["partial",WRAP_PARTIAL_FLAG$6],["partialRight",WRAP_PARTIAL_RIGHT_FLAG$3],["rearg",WRAP_REARG_FLAG$3]];function updateWrapDetails(e,r){return arrayEach(wrapFlags,function(n){var a="_."+n[0];r&n[1]&&!arrayIncludes(e,a)&&e.push(a)}),e.sort()}function setWrapToString(e,r,n){var a=r+"";return setToString(e,insertWrapDetails(a,updateWrapDetails(getWrapDetails(a),n)))}var WRAP_CURRY_BOUND_FLAG$1=4,WRAP_CURRY_FLAG$5=8,WRAP_PARTIAL_FLAG$5=32,WRAP_PARTIAL_RIGHT_FLAG$2=64;function createRecurry(e,r,n,a,h,i,d,s,f,o){var t=r&WRAP_CURRY_FLAG$5,u=t?d:void 0,c=t?void 0:d,l=t?i:void 0,p=t?void 0:i;r|=t?WRAP_PARTIAL_FLAG$5:WRAP_PARTIAL_RIGHT_FLAG$2,r&=~(t?WRAP_PARTIAL_RIGHT_FLAG$2:WRAP_PARTIAL_FLAG$5),r&WRAP_CURRY_BOUND_FLAG$1||(r&=-4);var v=[e,r,h,l,u,p,c,s,f,o],y=n.apply(void 0,v);return isLaziable(e)&&setData(y,v),y.placeholder=a,setWrapToString(y,e,r)}function getHolder(e){var r=e;return r.placeholder}var nativeMin$c=Math.min;function reorder(e,r){for(var n=e.length,a=nativeMin$c(r.length,n),h=copyArray(e);a--;){var i=r[a];e[a]=isIndex(i,n)?h[i]:void 0}return e}var PLACEHOLDER$1="__lodash_placeholder__";function replaceHolders(e,r){for(var n=-1,a=e.length,h=0,i=[];++n<a;){var d=e[n];(d===r||d===PLACEHOLDER$1)&&(e[n]=PLACEHOLDER$1,i[h++]=n)}return i}var WRAP_BIND_FLAG$5=1,WRAP_BIND_KEY_FLAG$4=2,WRAP_CURRY_FLAG$4=8,WRAP_CURRY_RIGHT_FLAG$2=16,WRAP_ARY_FLAG$3=128,WRAP_FLIP_FLAG$1=512;function createHybrid(e,r,n,a,h,i,d,s,f,o){var t=r&WRAP_ARY_FLAG$3,u=r&WRAP_BIND_FLAG$5,c=r&WRAP_BIND_KEY_FLAG$4,l=r&(WRAP_CURRY_FLAG$4|WRAP_CURRY_RIGHT_FLAG$2),p=r&WRAP_FLIP_FLAG$1,v=c?void 0:createCtor(e);function y(){for(var g=arguments.length,x=Array(g),_=g;_--;)x[_]=arguments[_];if(l)var m=getHolder(y),q=countHolders(x,m);if(a&&(x=composeArgs(x,a,h,l)),i&&(x=composeArgsRight(x,i,d,l)),g-=q,l&&g<o){var I=replaceHolders(x,m);return createRecurry(e,r,createHybrid,y.placeholder,n,x,I,s,f,o-g)}var O=u?n:this,j=c?O[e]:e;return g=x.length,s?x=reorder(x,s):p&&g>1&&x.reverse(),t&&f<g&&(x.length=f),this&&this!==root&&this instanceof y&&(j=v||createCtor(j)),j.apply(O,x)}return y}function createCurry(e,r,n){var a=createCtor(e);function h(){for(var i=arguments.length,d=Array(i),s=i,f=getHolder(h);s--;)d[s]=arguments[s];var o=i<3&&d[0]!==f&&d[i-1]!==f?[]:replaceHolders(d,f);if(i-=o.length,i<n)return createRecurry(e,r,createHybrid,h.placeholder,void 0,d,o,void 0,void 0,n-i);var t=this&&this!==root&&this instanceof h?a:e;return apply(t,this,d)}return h}var WRAP_BIND_FLAG$4=1;function createPartial(e,r,n,a){var h=r&WRAP_BIND_FLAG$4,i=createCtor(e);function d(){for(var s=-1,f=arguments.length,o=-1,t=a.length,u=Array(t+f),c=this&&this!==root&&this instanceof d?i:e;++o<t;)u[o]=a[o];for(;f--;)u[o++]=arguments[++s];return apply(c,h?n:this,u)}return d}var PLACEHOLDER="__lodash_placeholder__",WRAP_BIND_FLAG$3=1,WRAP_BIND_KEY_FLAG$3=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG$3=8,WRAP_ARY_FLAG$2=128,WRAP_REARG_FLAG$2=256,nativeMin$b=Math.min;function mergeData(e,r){var n=e[1],a=r[1],h=n|a,i=h<(WRAP_BIND_FLAG$3|WRAP_BIND_KEY_FLAG$3|WRAP_ARY_FLAG$2),d=a==WRAP_ARY_FLAG$2&&n==WRAP_CURRY_FLAG$3||a==WRAP_ARY_FLAG$2&&n==WRAP_REARG_FLAG$2&&e[7].length<=r[8]||a==(WRAP_ARY_FLAG$2|WRAP_REARG_FLAG$2)&&r[7].length<=r[8]&&n==WRAP_CURRY_FLAG$3;if(!(i||d))return e;a&WRAP_BIND_FLAG$3&&(e[2]=r[2],h|=n&WRAP_BIND_FLAG$3?0:WRAP_CURRY_BOUND_FLAG);var s=r[3];if(s){var f=e[3];e[3]=f?composeArgs(f,s,r[4]):s,e[4]=f?replaceHolders(e[3],PLACEHOLDER):r[4]}return s=r[5],s&&(f=e[5],e[5]=f?composeArgsRight(f,s,r[6]):s,e[6]=f?replaceHolders(e[5],PLACEHOLDER):r[6]),s=r[7],s&&(e[7]=s),a&WRAP_ARY_FLAG$2&&(e[8]=e[8]==null?r[8]:nativeMin$b(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=h,e}var FUNC_ERROR_TEXT$7="Expected a function",WRAP_BIND_FLAG$2=1,WRAP_BIND_KEY_FLAG$2=2,WRAP_CURRY_FLAG$2=8,WRAP_CURRY_RIGHT_FLAG$1=16,WRAP_PARTIAL_FLAG$4=32,WRAP_PARTIAL_RIGHT_FLAG$1=64,nativeMax$9=Math.max;function createWrap(e,r,n,a,h,i,d,s){var f=r&WRAP_BIND_KEY_FLAG$2;if(!f&&typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$7);var o=a?a.length:0;if(o||(r&=-97,a=h=void 0),d=d===void 0?d:nativeMax$9(toInteger(d),0),s=s===void 0?s:toInteger(s),o-=h?h.length:0,r&WRAP_PARTIAL_RIGHT_FLAG$1){var t=a,u=h;a=h=void 0}var c=f?void 0:getData(e),l=[e,r,n,a,h,t,u,i,d,s];if(c&&mergeData(l,c),e=l[0],r=l[1],n=l[2],a=l[3],h=l[4],s=l[9]=l[9]===void 0?f?0:e.length:nativeMax$9(l[9]-o,0),!s&&r&(WRAP_CURRY_FLAG$2|WRAP_CURRY_RIGHT_FLAG$1)&&(r&=-25),!r||r==WRAP_BIND_FLAG$2)var p=createBind(e,r,n);else r==WRAP_CURRY_FLAG$2||r==WRAP_CURRY_RIGHT_FLAG$1?p=createCurry(e,r,s):(r==WRAP_PARTIAL_FLAG$4||r==(WRAP_BIND_FLAG$2|WRAP_PARTIAL_FLAG$4))&&!h.length?p=createPartial(e,r,n,a):p=createHybrid.apply(void 0,l);var v=c?baseSetData:setData;return setWrapToString(v(p,l),e,r)}var WRAP_ARY_FLAG$1=128;function ary(e,r,n){return r=n?void 0:r,r=e&&r==null?e.length:r,createWrap(e,WRAP_ARY_FLAG$1,void 0,void 0,void 0,void 0,r)}var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty,assign=createAssigner(function(e,r){if(isPrototype(r)||isArrayLike(r)){copyObject(r,keys(r),e);return}for(var n in r)hasOwnProperty$7.call(r,n)&&assignValue(e,n,r[n])}),assignIn=createAssigner(function(e,r){copyObject(r,keysIn(r),e)}),assignInWith=createAssigner(function(e,r,n,a){copyObject(r,keysIn(r),e,a)});function baseAt(e,r){for(var n=-1,a=r.length,h=Array(a),i=e==null;++n<a;)h[n]=i?void 0:get$1(e,r[n]);return h}var at=flatRest(baseAt),domExcTag="[object DOMException]",errorTag="[object Error]";function isError(e){if(!isObjectLike(e))return!1;var r=baseGetTag(e);return r==errorTag||r==domExcTag||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}var attempt=baseRest(function(e,r){try{return apply(e,void 0,r)}catch(n){return isError(n)?n:new Error(n)}}),FUNC_ERROR_TEXT$6="Expected a function";function before(e,r){var n;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$6);return e=toInteger(e),function(){return--e>0&&(n=r.apply(this,arguments)),e<=1&&(r=void 0),n}}var WRAP_BIND_FLAG$1=1,WRAP_PARTIAL_FLAG$3=32,bind=baseRest(function(e,r,n){var a=WRAP_BIND_FLAG$1;if(n.length){var h=replaceHolders(n,getHolder(bind));a|=WRAP_PARTIAL_FLAG$3}return createWrap(e,a,r,n,h)});bind.placeholder={};var bindAll=flatRest(function(e,r){return arrayEach(r,function(n){n=toKey(n),baseAssignValue(e,n,bind(e[n],e))}),e}),WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG$1=2,WRAP_PARTIAL_FLAG$2=32,bindKey=baseRest(function(e,r,n){var a=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG$1;if(n.length){var h=replaceHolders(n,getHolder(bindKey));a|=WRAP_PARTIAL_FLAG$2}return createWrap(r,a,e,n,h)});bindKey.placeholder={};function capitalize(e){return upperFirst(toString(e).toLowerCase())}function arrayReduce(e,r,n,a){var h=-1,i=e==null?0:e.length;for(a&&i&&(n=e[++h]);++h<i;)n=r(n,e[h],h,e);return n}function basePropertyOf(e){return function(r){return e?.[r]}}var deburredLetters={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},deburrLetter=basePropertyOf(deburredLetters),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsCombo$2="["+rsComboRange$2+"]",reComboMark=RegExp(rsCombo$2,"g");function deburr(e){return e=toString(e),e&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords(e){return e.match(reAsciiWord)||[]}var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord(e){return reHasUnicodeWord.test(e)}var rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange$1="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos$1="['’]",rsBreak="["+rsBreakRange+"]",rsCombo$1="["+rsComboRange$1+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange$1+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$1+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ$1="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos$1+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos$1+"(?:D|LL|M|RE|S|T|VE))?",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsEmoji="(?:"+[rsDingbat,rsRegional$1,rsSurrPair$1].join("|")+")"+rsSeq$1,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(e){return e.match(reUnicodeWord)||[]}function words(e,r,n){return e=toString(e),r=n?void 0:r,r===void 0?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(r)||[]}var rsApos="['’]",reApos=RegExp(rsApos,"g");function createCompounder(e){return function(r){return arrayReduce(words(deburr(r).replace(reApos,"")),e,"")}}var camelCase=createCompounder(function(e,r,n){return r=r.toLowerCase(),e+(n?capitalize(r):r)});function castArray(){if(!arguments.length)return[];var e=arguments[0];return isArray(e)?e:[e]}var nativeIsFinite$1=root.isFinite,nativeMin$a=Math.min;function createRound(e){var r=Math[e];return function(n,a){if(n=toNumber(n),a=a==null?0:nativeMin$a(toInteger(a),292),a&&nativeIsFinite$1(n)){var h=(toString(n)+"e").split("e"),i=r(h[0]+"e"+(+h[1]+a));return h=(toString(i)+"e").split("e"),+(h[0]+"e"+(+h[1]-a))}return r(n)}}var ceil=createRound("ceil");function chain(e){var r=lodash$1(e);return r.__chain__=!0,r}var nativeCeil$2=Math.ceil,nativeMax$8=Math.max;function chunk(e,r,n){(n?isIterateeCall(e,r,n):r===void 0)?r=1:r=nativeMax$8(toInteger(r),0);var a=e==null?0:e.length;if(!a||r<1)return[];for(var h=0,i=0,d=Array(nativeCeil$2(a/r));h<a;)d[i++]=baseSlice(e,h,h+=r);return d}function baseClamp(e,r,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),r!==void 0&&(e=e>=r?e:r)),e}function clamp(e,r,n){return n===void 0&&(n=r,r=void 0),n!==void 0&&(n=toNumber(n),n=n===n?n:0),r!==void 0&&(r=toNumber(r),r=r===r?r:0),baseClamp(toNumber(e),r,n)}var CLONE_SYMBOLS_FLAG$2=4;function clone(e){return baseClone(e,CLONE_SYMBOLS_FLAG$2)}var CLONE_DEEP_FLAG$4=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeepWith(e,r){return r=typeof r=="function"?r:void 0,baseClone(e,CLONE_DEEP_FLAG$4|CLONE_SYMBOLS_FLAG$1,r)}var CLONE_SYMBOLS_FLAG=4;function cloneWith(e,r){return r=typeof r=="function"?r:void 0,baseClone(e,CLONE_SYMBOLS_FLAG,r)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function compact(e){for(var r=-1,n=e==null?0:e.length,a=0,h=[];++r<n;){var i=e[r];i&&(h[a++]=i)}return h}function concat(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),n=arguments[0],a=e;a--;)r[a-1]=arguments[a];return arrayPush(isArray(n)?copyArray(n):[n],baseFlatten(r,1))}var FUNC_ERROR_TEXT$5="Expected a function";function cond(e){var r=e==null?0:e.length,n=baseIteratee;return e=r?arrayMap(e,function(a){if(typeof a[1]!="function")throw new TypeError(FUNC_ERROR_TEXT$5);return[n(a[0]),a[1]]}):[],baseRest(function(a){for(var h=-1;++h<r;){var i=e[h];if(apply(i[0],this,a))return apply(i[1],this,a)}})}function baseConformsTo(e,r,n){var a=n.length;if(e==null)return!a;for(e=Object(e);a--;){var h=n[a],i=r[h],d=e[h];if(d===void 0&&!(h in e)||!i(d))return!1}return!0}function baseConforms(e){var r=keys(e);return function(n){return baseConformsTo(n,e,r)}}var CLONE_DEEP_FLAG$3=1;function conforms(e){return baseConforms(baseClone(e,CLONE_DEEP_FLAG$3))}function conformsTo(e,r){return r==null||baseConformsTo(e,r,keys(r))}function arrayAggregator(e,r,n,a){for(var h=-1,i=e==null?0:e.length;++h<i;){var d=e[h];r(a,d,n(d),e)}return a}function baseAggregator(e,r,n,a){return baseEach(e,function(h,i,d){r(a,h,n(h),d)}),a}function createAggregator(e,r){return function(n,a){var h=isArray(n)?arrayAggregator:baseAggregator,i=r?r():{};return h(n,e,baseIteratee(a),i)}}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,countBy=createAggregator(function(e,r,n){hasOwnProperty$6.call(e,n)?++e[n]:baseAssignValue(e,n,1)});function create(e,r){var n=baseCreate(e);return r==null?n:baseAssign(n,r)}var WRAP_CURRY_FLAG$1=8;function curry(e,r,n){r=n?void 0:r;var a=createWrap(e,WRAP_CURRY_FLAG$1,void 0,void 0,void 0,void 0,void 0,r);return a.placeholder=curry.placeholder,a}curry.placeholder={};var WRAP_CURRY_RIGHT_FLAG=16;function curryRight(e,r,n){r=n?void 0:r;var a=createWrap(e,WRAP_CURRY_RIGHT_FLAG,void 0,void 0,void 0,void 0,void 0,r);return a.placeholder=curryRight.placeholder,a}curryRight.placeholder={};function defaultTo(e,r){return e==null||e!==e?r:e}var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var n=-1,a=r.length,h=a>2?r[2]:void 0;for(h&&isIterateeCall(r[0],r[1],h)&&(a=1);++n<a;)for(var i=r[n],d=keysIn(i),s=-1,f=d.length;++s<f;){var o=d[s],t=e[o];(t===void 0||eq(t,objectProto$6[o])&&!hasOwnProperty$5.call(e,o))&&(e[o]=i[o])}return e});function assignMergeValue(e,r,n){(n!==void 0&&!eq(e[r],n)||n===void 0&&!(r in e))&&baseAssignValue(e,r,n)}function safeGet(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,r,n,a,h,i,d){var s=safeGet(e,n),f=safeGet(r,n),o=d.get(f);if(o){assignMergeValue(e,n,o);return}var t=i?i(s,f,n+"",e,r,d):void 0,u=t===void 0;if(u){var c=isArray(f),l=!c&&isBuffer(f),p=!c&&!l&&isTypedArray$2(f);t=f,c||l||p?isArray(s)?t=s:isArrayLikeObject(s)?t=copyArray(s):l?(u=!1,t=cloneBuffer(f,!0)):p?(u=!1,t=cloneTypedArray(f,!0)):t=[]:isPlainObject(f)||isArguments$1(f)?(t=s,isArguments$1(s)?t=toPlainObject(s):(!isObject(s)||isFunction(s))&&(t=initCloneObject(f))):u=!1}u&&(d.set(f,t),h(t,f,a,i,d),d.delete(f)),assignMergeValue(e,n,t)}function baseMerge(e,r,n,a,h){e!==r&&baseFor(r,function(i,d){if(h||(h=new Stack),isObject(i))baseMergeDeep(e,r,d,n,baseMerge,a,h);else{var s=a?a(safeGet(e,d),i,d+"",e,r,h):void 0;s===void 0&&(s=i),assignMergeValue(e,d,s)}},keysIn)}function customDefaultsMerge(e,r,n,a,h,i){return isObject(e)&&isObject(r)&&(i.set(r,e),baseMerge(e,r,void 0,customDefaultsMerge,i),i.delete(r)),e}var mergeWith=createAssigner(function(e,r,n,a){baseMerge(e,r,n,a)}),defaultsDeep=baseRest(function(e){return e.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,e)}),FUNC_ERROR_TEXT$4="Expected a function";function baseDelay(e,r,n){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$4);return setTimeout(function(){e.apply(void 0,n)},r)}var defer=baseRest(function(e,r){return baseDelay(e,1,r)}),delay=baseRest(function(e,r,n){return baseDelay(e,toNumber(r)||0,n)}),differenceWith=baseRest(function(e,r){var n=last(r);return isArrayLikeObject(n)&&(n=void 0),isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,!0),void 0,n):[]}),divide=createMathOperation(function(e,r){return e/r},1);function drop(e,r,n){var a=e==null?0:e.length;return a?(r=n||r===void 0?1:toInteger(r),baseSlice(e,r<0?0:r,a)):[]}function dropRight(e,r,n){var a=e==null?0:e.length;return a?(r=n||r===void 0?1:toInteger(r),r=a-r,baseSlice(e,0,r<0?0:r)):[]}function baseWhile(e,r,n,a){for(var h=e.length,i=a?h:-1;(a?i--:++i<h)&&r(e[i],i,e););return n?baseSlice(e,a?0:i,a?i+1:h):baseSlice(e,a?i+1:0,a?h:i)}function dropRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0,!0):[]}function dropWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0):[]}function castFunction(e){return typeof e=="function"?e:identity}function forEach(e,r){var n=isArray(e)?arrayEach:baseEach;return n(e,castFunction(r))}function arrayEachRight(e,r){for(var n=e==null?0:e.length;n--&&r(e[n],n,e)!==!1;);return e}var baseForRight=createBaseFor(!0);function baseForOwnRight(e,r){return e&&baseForRight(e,r,keys)}var baseEachRight=createBaseEach(baseForOwnRight,!0);function forEachRight(e,r){var n=isArray(e)?arrayEachRight:baseEachRight;return n(e,castFunction(r))}function endsWith(e,r,n){e=toString(e),r=baseToString(r);var a=e.length;n=n===void 0?a:baseClamp(toInteger(n),0,a);var h=n;return n-=r.length,n>=0&&e.slice(n,h)==r}function baseToPairs(e,r){return arrayMap(r,function(n){return[n,e[n]]})}function setToPairs(e){var r=-1,n=Array(e.size);return e.forEach(function(a){n[++r]=[a,a]}),n}var mapTag$2="[object Map]",setTag$2="[object Set]";function createToPairs(e){return function(r){var n=getTag(r);return n==mapTag$2?mapToArray(r):n==setTag$2?setToPairs(r):baseToPairs(r,e(r))}}var toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn),htmlEscapes={"&":"&","<":"<",">":">",'"':""","'":"'"},escapeHtmlChar=basePropertyOf(htmlEscapes),reUnescapedHtml=/[&<>"']/g,reHasUnescapedHtml=RegExp(reUnescapedHtml.source);function escape$1(e){return e=toString(e),e&&reHasUnescapedHtml.test(e)?e.replace(reUnescapedHtml,escapeHtmlChar):e}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);function escapeRegExp(e){return e=toString(e),e&&reHasRegExpChar.test(e)?e.replace(reRegExpChar,"\\$&"):e}var MAX_ARRAY_LENGTH$5=4294967295;function toLength(e){return e?baseClamp(toInteger(e),0,MAX_ARRAY_LENGTH$5):0}function baseFill(e,r,n,a){var h=e.length;for(n=toInteger(n),n<0&&(n=-n>h?0:h+n),a=a===void 0||a>h?h:toInteger(a),a<0&&(a+=h),a=n>a?0:toLength(a);n<a;)e[n++]=r;return e}function fill(e,r,n,a){var h=e==null?0:e.length;return h?(n&&typeof n!="number"&&isIterateeCall(e,r,n)&&(n=0,a=h),baseFill(e,r,n,a)):[]}function baseFilter(e,r){var n=[];return baseEach(e,function(a,h,i){r(a,h,i)&&n.push(a)}),n}function filter(e,r){var n=isArray(e)?arrayFilter:baseFilter;return n(e,baseIteratee(r))}function baseFindKey(e,r,n){var a;return n(e,function(h,i,d){if(r(h,i,d))return a=i,!1}),a}function findKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwn)}function findLastKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwnRight)}var INFINITY$1=1/0;function flatMapDeep(e,r){return baseFlatten(map(e,r),INFINITY$1)}function flatMapDepth(e,r,n){return n=n===void 0?1:toInteger(n),baseFlatten(map(e,r),n)}var INFINITY=1/0;function flattenDeep(e){var r=e==null?0:e.length;return r?baseFlatten(e,INFINITY):[]}function flattenDepth(e,r){var n=e==null?0:e.length;return n?(r=r===void 0?1:toInteger(r),baseFlatten(e,r)):[]}var WRAP_FLIP_FLAG=512;function flip(e){return createWrap(e,WRAP_FLIP_FLAG)}var floor=createRound("floor"),FUNC_ERROR_TEXT$3="Expected a function",WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG$1=32,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG$1=256;function createFlow(e){return flatRest(function(r){var n=r.length,a=n,h=LodashWrapper.prototype.thru;for(e&&r.reverse();a--;){var i=r[a];if(typeof i!="function")throw new TypeError(FUNC_ERROR_TEXT$3);if(h&&!d&&getFuncName(i)=="wrapper")var d=new LodashWrapper([],!0)}for(a=d?a:n;++a<n;){i=r[a];var s=getFuncName(i),f=s=="wrapper"?getData(i):void 0;f&&isLaziable(f[0])&&f[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG$1|WRAP_REARG_FLAG$1)&&!f[4].length&&f[9]==1?d=d[getFuncName(f[0])].apply(d,f[3]):d=i.length==1&&isLaziable(i)?d[s]():d.thru(i)}return function(){var o=arguments,t=o[0];if(d&&o.length==1&&isArray(t))return d.plant(t).value();for(var u=0,c=n?r[u].apply(this,o):t;++u<n;)c=r[u].call(this,c);return c}})}var flow=createFlow(),flowRight=createFlow(!0);function forIn(e,r){return e==null?e:baseFor(e,castFunction(r),keysIn)}function forInRight(e,r){return e==null?e:baseForRight(e,castFunction(r),keysIn)}function forOwn(e,r){return e&&baseForOwn(e,castFunction(r))}function forOwnRight(e,r){return e&&baseForOwnRight(e,castFunction(r))}function fromPairs(e){for(var r=-1,n=e==null?0:e.length,a={};++r<n;){var h=e[r];baseAssignValue(a,h[0],h[1])}return a}function baseFunctions(e,r){return arrayFilter(r,function(n){return isFunction(e[n])})}function functions(e){return e==null?[]:baseFunctions(e,keys(e))}function functionsIn(e){return e==null?[]:baseFunctions(e,keysIn(e))}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty,groupBy=createAggregator(function(e,r,n){hasOwnProperty$4.call(e,n)?e[n].push(r):baseAssignValue(e,n,[r])});function createRelationalOperation(e){return function(r,n){return typeof r=="string"&&typeof n=="string"||(r=toNumber(r),n=toNumber(n)),e(r,n)}}var gt=createRelationalOperation(baseGt),gte=createRelationalOperation(function(e,r){return e>=r}),nativeMax$7=Math.max,nativeMin$9=Math.min;function baseInRange(e,r,n){return e>=nativeMin$9(r,n)&&e<nativeMax$7(r,n)}function inRange(e,r,n){return r=toFinite(r),n===void 0?(n=r,r=0):n=toFinite(n),e=toNumber(e),baseInRange(e,r,n)}var nativeMax$6=Math.max;function includes(e,r,n,a){e=isArrayLike(e)?e:values(e),n=n&&!a?toInteger(n):0;var h=e.length;return n<0&&(n=nativeMax$6(h+n,0)),isString(e)?n<=h&&e.indexOf(r,n)>-1:!!h&&baseIndexOf(e,r,n)>-1}var nativeMax$5=Math.max;function indexOf(e,r,n){var a=e==null?0:e.length;if(!a)return-1;var h=n==null?0:toInteger(n);return h<0&&(h=nativeMax$5(a+h,0)),baseIndexOf(e,r,h)}function initial(e){var r=e==null?0:e.length;return r?baseSlice(e,0,-1):[]}var nativeMin$8=Math.min;function baseIntersection(e,r,n){for(var a=n?arrayIncludesWith:arrayIncludes,h=e[0].length,i=e.length,d=i,s=Array(i),f=1/0,o=[];d--;){var t=e[d];d&&r&&(t=arrayMap(t,baseUnary(r))),f=nativeMin$8(t.length,f),s[d]=!n&&(r||h>=120&&t.length>=120)?new SetCache(d&&t):void 0}t=e[0];var u=-1,c=s[0];e:for(;++u<h&&o.length<f;){var l=t[u],p=r?r(l):l;if(l=n||l!==0?l:0,!(c?cacheHas(c,p):a(o,p,n))){for(d=i;--d;){var v=s[d];if(!(v?cacheHas(v,p):a(e[d],p,n)))continue e}c&&c.push(p),o.push(l)}}return o}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}var intersection=baseRest(function(e){var r=arrayMap(e,castArrayLikeObject);return r.length&&r[0]===e[0]?baseIntersection(r):[]}),intersectionBy=baseRest(function(e){var r=last(e),n=arrayMap(e,castArrayLikeObject);return r===last(n)?r=void 0:n.pop(),n.length&&n[0]===e[0]?baseIntersection(n,baseIteratee(r)):[]}),intersectionWith=baseRest(function(e){var r=last(e),n=arrayMap(e,castArrayLikeObject);return r=typeof r=="function"?r:void 0,r&&n.pop(),n.length&&n[0]===e[0]?baseIntersection(n,void 0,r):[]});function baseInverter(e,r,n,a){return baseForOwn(e,function(h,i,d){r(a,n(h),i,d)}),a}function createInverter(e,r){return function(n,a){return baseInverter(n,e,r(a),{})}}var objectProto$4=Object.prototype,nativeObjectToString$1=objectProto$4.toString,invert=createInverter(function(e,r,n){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString$1.call(r)),e[r]=n},constant(identity)),objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty,nativeObjectToString=objectProto$3.toString,invertBy=createInverter(function(e,r,n){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString.call(r)),hasOwnProperty$3.call(e,r)?e[r].push(n):e[r]=[n]},baseIteratee);function baseInvoke(e,r,n){r=castPath(r,e),e=parent(e,r);var a=e==null?e:e[toKey(last(r))];return a==null?void 0:apply(a,e,n)}var invoke=baseRest(baseInvoke),invokeMap=baseRest(function(e,r,n){var a=-1,h=typeof r=="function",i=isArrayLike(e)?Array(e.length):[];return baseEach(e,function(d){i[++a]=h?apply(r,d,n):baseInvoke(d,r,n)}),i}),arrayBufferTag="[object ArrayBuffer]";function baseIsArrayBuffer(e){return isObjectLike(e)&&baseGetTag(e)==arrayBufferTag}var nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):baseIsArrayBuffer,dateTag="[object Date]";function baseIsDate(e){return isObjectLike(e)&&baseGetTag(e)==dateTag}var nodeIsDate=nodeUtil&&nodeUtil.isDate,isDate=nodeIsDate?baseUnary(nodeIsDate):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEqualWith(e,r,n){n=typeof n=="function"?n:void 0;var a=n?n(e,r):void 0;return a===void 0?baseIsEqual(e,r,void 0,n):!!a}var nativeIsFinite=root.isFinite;function isFinite$1(e){return typeof e=="number"&&nativeIsFinite(e)}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isMatch(e,r){return e===r||baseIsMatch(e,r,getMatchData(r))}function isMatchWith(e,r,n){return n=typeof n=="function"?n:void 0,baseIsMatch(e,r,getMatchData(r),n)}var isMaskable=coreJsData?isFunction:stubFalse,CORE_ERROR_TEXT="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function isNative(e){if(isMaskable(e))throw new Error(CORE_ERROR_TEXT);return baseIsNative(e)}function isNull(e){return e===null}var regexpTag="[object RegExp]";function baseIsRegExp(e){return isObjectLike(e)&&baseGetTag(e)==regexpTag}var nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):baseIsRegExp,MAX_SAFE_INTEGER$3=9007199254740991;function isSafeInteger(e){return isInteger(e)&&e>=-MAX_SAFE_INTEGER$3&&e<=MAX_SAFE_INTEGER$3}function isUndefined(e){return e===void 0}var weakMapTag="[object WeakMap]";function isWeakMap(e){return isObjectLike(e)&&getTag(e)==weakMapTag}var weakSetTag="[object WeakSet]";function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==weakSetTag}var CLONE_DEEP_FLAG$2=1;function iteratee(e){return baseIteratee(typeof e=="function"?e:baseClone(e,CLONE_DEEP_FLAG$2))}var arrayProto$4=Array.prototype,nativeJoin=arrayProto$4.join;function join(e,r){return e==null?"":nativeJoin.call(e,r)}var kebabCase=createCompounder(function(e,r,n){return e+(n?"-":"")+r.toLowerCase()}),keyBy=createAggregator(function(e,r,n){baseAssignValue(e,n,r)});function strictLastIndexOf(e,r,n){for(var a=n+1;a--;)if(e[a]===r)return a;return a}var nativeMax$4=Math.max,nativeMin$7=Math.min;function lastIndexOf(e,r,n){var a=e==null?0:e.length;if(!a)return-1;var h=a;return n!==void 0&&(h=toInteger(n),h=h<0?nativeMax$4(a+h,0):nativeMin$7(h,a-1)),r===r?strictLastIndexOf(e,r,h):baseFindIndex(e,baseIsNaN,h,!0)}var lowerCase=createCompounder(function(e,r,n){return e+(n?" ":"")+r.toLowerCase()}),lowerFirst=createCaseFirst("toLowerCase"),lt=createRelationalOperation(baseLt),lte=createRelationalOperation(function(e,r){return e<=r});function mapKeys(e,r){var n={};return r=baseIteratee(r),baseForOwn(e,function(a,h,i){baseAssignValue(n,r(a,h,i),a)}),n}var CLONE_DEEP_FLAG$1=1;function matches(e){return baseMatches(baseClone(e,CLONE_DEEP_FLAG$1))}var CLONE_DEEP_FLAG=1;function matchesProperty(e,r){return baseMatchesProperty(e,baseClone(r,CLONE_DEEP_FLAG))}var NAN=NaN;function baseMean(e,r){var n=e==null?0:e.length;return n?baseSum(e,r)/n:NAN}function mean(e){return baseMean(e,identity)}function meanBy(e,r){return baseMean(e,baseIteratee(r))}var merge=createAssigner(function(e,r,n){baseMerge(e,r,n)}),method=baseRest(function(e,r){return function(n){return baseInvoke(n,e,r)}}),methodOf=baseRest(function(e,r){return function(n){return baseInvoke(e,n,r)}});function mixin$1(e,r,n){var a=keys(r),h=baseFunctions(r,a),i=!(isObject(n)&&"chain"in n)||!!n.chain,d=isFunction(e);return arrayEach(h,function(s){var f=r[s];e[s]=f,d&&(e.prototype[s]=function(){var o=this.__chain__;if(i||o){var t=e(this.__wrapped__),u=t.__actions__=copyArray(this.__actions__);return u.push({func:f,args:arguments,thisArg:e}),t.__chain__=o,t}return f.apply(e,arrayPush([this.value()],arguments))})}),e}var multiply=createMathOperation(function(e,r){return e*r},1),FUNC_ERROR_TEXT$2="Expected a function";function negate(e){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$2);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function iteratorToArray(e){for(var r,n=[];!(r=e.next()).done;)n.push(r.value);return n}var mapTag$1="[object Map]",setTag$1="[object Set]",symIterator$1=Symbol$1?Symbol$1.iterator:void 0;function toArray(e){if(!e)return[];if(isArrayLike(e))return isString(e)?stringToArray(e):copyArray(e);if(symIterator$1&&e[symIterator$1])return iteratorToArray(e[symIterator$1]());var r=getTag(e),n=r==mapTag$1?mapToArray:r==setTag$1?setToArray:values;return n(e)}function wrapperNext(){this.__values__===void 0&&(this.__values__=toArray(this.value()));var e=this.__index__>=this.__values__.length,r=e?void 0:this.__values__[this.__index__++];return{done:e,value:r}}function baseNth(e,r){var n=e.length;if(n)return r+=r<0?n:0,isIndex(r,n)?e[r]:void 0}function nth(e,r){return e&&e.length?baseNth(e,toInteger(r)):void 0}function nthArg(e){return e=toInteger(e),baseRest(function(r){return baseNth(r,e)})}function baseSet(e,r,n,a){if(!isObject(e))return e;r=castPath(r,e);for(var h=-1,i=r.length,d=i-1,s=e;s!=null&&++h<i;){var f=toKey(r[h]),o=n;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(h!=d){var t=s[f];o=a?a(t,f,s):void 0,o===void 0&&(o=isObject(t)?t:isIndex(r[h+1])?[]:{})}assignValue(s,f,o),s=s[f]}return e}function basePickBy(e,r,n){for(var a=-1,h=r.length,i={};++a<h;){var d=r[a],s=baseGet(e,d);n(s,d)&&baseSet(i,castPath(d,e),s)}return i}function pickBy(e,r){if(e==null)return{};var n=arrayMap(getAllKeysIn(e),function(a){return[a]});return r=baseIteratee(r),basePickBy(e,n,function(a,h){return r(a,h[0])})}function omitBy(e,r){return pickBy(e,negate(baseIteratee(r)))}function once(e){return before(2,e)}function createOver(e){return flatRest(function(r){return r=arrayMap(r,baseUnary(baseIteratee)),baseRest(function(n){var a=this;return e(r,function(h){return apply(h,a,n)})})})}var over=createOver(arrayMap),castRest=baseRest,nativeMin$6=Math.min,overArgs=castRest(function(e,r){r=r.length==1&&isArray(r[0])?arrayMap(r[0],baseUnary(baseIteratee)):arrayMap(baseFlatten(r,1),baseUnary(baseIteratee));var n=r.length;return baseRest(function(a){for(var h=-1,i=nativeMin$6(a.length,n);++h<i;)a[h]=r[h].call(this,a[h]);return apply(e,this,a)})}),overEvery=createOver(arrayEvery),overSome=createOver(arraySome),MAX_SAFE_INTEGER$2=9007199254740991,nativeFloor$3=Math.floor;function baseRepeat(e,r){var n="";if(!e||r<1||r>MAX_SAFE_INTEGER$2)return n;do r%2&&(n+=e),r=nativeFloor$3(r/2),r&&(e+=e);while(r);return n}var asciiSize=baseProperty("length"),rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeSize(e){for(var r=reUnicode.lastIndex=0;reUnicode.test(e);)++r;return r}function stringSize(e){return hasUnicode(e)?unicodeSize(e):asciiSize(e)}var nativeCeil$1=Math.ceil;function createPadding(e,r){r=r===void 0?" ":baseToString(r);var n=r.length;if(n<2)return n?baseRepeat(r,e):r;var a=baseRepeat(r,nativeCeil$1(e/stringSize(r)));return hasUnicode(r)?castSlice(stringToArray(a),0,e).join(""):a.slice(0,e)}var nativeCeil=Math.ceil,nativeFloor$2=Math.floor;function pad(e,r,n){e=toString(e),r=toInteger(r);var a=r?stringSize(e):0;if(!r||a>=r)return e;var h=(r-a)/2;return createPadding(nativeFloor$2(h),n)+e+createPadding(nativeCeil(h),n)}function padEnd(e,r,n){e=toString(e),r=toInteger(r);var a=r?stringSize(e):0;return r&&a<r?e+createPadding(r-a,n):e}function padStart(e,r,n){e=toString(e),r=toInteger(r);var a=r?stringSize(e):0;return r&&a<r?createPadding(r-a,n)+e:e}var reTrimStart$1=/^\s+/,nativeParseInt=root.parseInt;function parseInt$1(e,r,n){return n||r==null?r=0:r&&(r=+r),nativeParseInt(toString(e).replace(reTrimStart$1,""),r||0)}var WRAP_PARTIAL_FLAG=32,partial=baseRest(function(e,r){var n=replaceHolders(r,getHolder(partial));return createWrap(e,WRAP_PARTIAL_FLAG,void 0,r,n)});partial.placeholder={};var WRAP_PARTIAL_RIGHT_FLAG=64,partialRight=baseRest(function(e,r){var n=replaceHolders(r,getHolder(partialRight));return createWrap(e,WRAP_PARTIAL_RIGHT_FLAG,void 0,r,n)});partialRight.placeholder={};var partition=createAggregator(function(e,r,n){e[n?0:1].push(r)},function(){return[[],[]]});function basePick(e,r){return basePickBy(e,r,function(n,a){return hasIn(e,a)})}var pick=flatRest(function(e,r){return e==null?{}:basePick(e,r)});function wrapperPlant(e){for(var r,n=this;n instanceof baseLodash;){var a=wrapperClone(n);a.__index__=0,a.__values__=void 0,r?h.__wrapped__=a:r=a;var h=a;n=n.__wrapped__}return h.__wrapped__=e,r}function propertyOf(e){return function(r){return e==null?void 0:baseGet(e,r)}}function baseIndexOfWith(e,r,n,a){for(var h=n-1,i=e.length;++h<i;)if(a(e[h],r))return h;return-1}var arrayProto$3=Array.prototype,splice$1=arrayProto$3.splice;function basePullAll(e,r,n,a){var h=a?baseIndexOfWith:baseIndexOf,i=-1,d=r.length,s=e;for(e===r&&(r=copyArray(r)),n&&(s=arrayMap(e,baseUnary(n)));++i<d;)for(var f=0,o=r[i],t=n?n(o):o;(f=h(s,t,f,a))>-1;)s!==e&&splice$1.call(s,f,1),splice$1.call(e,f,1);return e}function pullAll(e,r){return e&&e.length&&r&&r.length?basePullAll(e,r):e}var pull=baseRest(pullAll);function pullAllBy(e,r,n){return e&&e.length&&r&&r.length?basePullAll(e,r,baseIteratee(n)):e}function pullAllWith(e,r,n){return e&&e.length&&r&&r.length?basePullAll(e,r,void 0,n):e}var arrayProto$2=Array.prototype,splice=arrayProto$2.splice;function basePullAt(e,r){for(var n=e?r.length:0,a=n-1;n--;){var h=r[n];if(n==a||h!==i){var i=h;isIndex(h)?splice.call(e,h,1):baseUnset(e,h)}}return e}var pullAt=flatRest(function(e,r){var n=e==null?0:e.length,a=baseAt(e,r);return basePullAt(e,arrayMap(r,function(h){return isIndex(h,n)?+h:h}).sort(compareAscending)),a}),nativeFloor$1=Math.floor,nativeRandom$1=Math.random;function baseRandom(e,r){return e+nativeFloor$1(nativeRandom$1()*(r-e+1))}var freeParseFloat=parseFloat,nativeMin$5=Math.min,nativeRandom=Math.random;function random(e,r,n){if(n&&typeof n!="boolean"&&isIterateeCall(e,r,n)&&(r=n=void 0),n===void 0&&(typeof r=="boolean"?(n=r,r=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&r===void 0?(e=0,r=1):(e=toFinite(e),r===void 0?(r=e,e=0):r=toFinite(r)),e>r){var a=e;e=r,r=a}if(n||e%1||r%1){var h=nativeRandom();return nativeMin$5(e+h*(r-e+freeParseFloat("1e-"+((h+"").length-1))),r)}return baseRandom(e,r)}var rangeRight=createRange(!0),WRAP_REARG_FLAG=256,rearg=flatRest(function(e,r){return createWrap(e,WRAP_REARG_FLAG,void 0,void 0,void 0,r)});function baseReduce(e,r,n,a,h){return h(e,function(i,d,s){n=a?(a=!1,i):r(n,i,d,s)}),n}function reduce(e,r,n){var a=isArray(e)?arrayReduce:baseReduce,h=arguments.length<3;return a(e,baseIteratee(r),n,h,baseEach)}function arrayReduceRight(e,r,n,a){var h=e==null?0:e.length;for(a&&h&&(n=e[--h]);h--;)n=r(n,e[h],h,e);return n}function reduceRight(e,r,n){var a=isArray(e)?arrayReduceRight:baseReduce,h=arguments.length<3;return a(e,baseIteratee(r),n,h,baseEachRight)}function reject(e,r){var n=isArray(e)?arrayFilter:baseFilter;return n(e,negate(baseIteratee(r)))}function remove(e,r){var n=[];if(!(e&&e.length))return n;var a=-1,h=[],i=e.length;for(r=baseIteratee(r);++a<i;){var d=e[a];r(d,a,e)&&(n.push(d),h.push(a))}return basePullAt(e,h),n}function repeat(e,r,n){return(n?isIterateeCall(e,r,n):r===void 0)?r=1:r=toInteger(r),baseRepeat(toString(e),r)}function replace(){var e=arguments,r=toString(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var FUNC_ERROR_TEXT$1="Expected a function";function rest(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return r=r===void 0?r:toInteger(r),baseRest(e,r)}function result(e,r,n){r=castPath(r,e);var a=-1,h=r.length;for(h||(h=1,e=void 0);++a<h;){var i=e?.[toKey(r[a])];i===void 0&&(a=h,i=n),e=isFunction(i)?i.call(e):i}return e}var arrayProto$1=Array.prototype,nativeReverse=arrayProto$1.reverse;function reverse(e){return e==null?e:nativeReverse.call(e)}var round=createRound("round");function arraySample(e){var r=e.length;return r?e[baseRandom(0,r-1)]:void 0}function baseSample(e){return arraySample(values(e))}function sample(e){var r=isArray(e)?arraySample:baseSample;return r(e)}function shuffleSelf(e,r){var n=-1,a=e.length,h=a-1;for(r=r===void 0?a:r;++n<r;){var i=baseRandom(n,h),d=e[i];e[i]=e[n],e[n]=d}return e.length=r,e}function arraySampleSize(e,r){return shuffleSelf(copyArray(e),baseClamp(r,0,e.length))}function baseSampleSize(e,r){var n=values(e);return shuffleSelf(n,baseClamp(r,0,n.length))}function sampleSize(e,r,n){(n?isIterateeCall(e,r,n):r===void 0)?r=1:r=toInteger(r);var a=isArray(e)?arraySampleSize:baseSampleSize;return a(e,r)}function set(e,r,n){return e==null?e:baseSet(e,r,n)}function setWith(e,r,n,a){return a=typeof a=="function"?a:void 0,e==null?e:baseSet(e,r,n,a)}function arrayShuffle(e){return shuffleSelf(copyArray(e))}function baseShuffle(e){return shuffleSelf(values(e))}function shuffle(e){var r=isArray(e)?arrayShuffle:baseShuffle;return r(e)}var mapTag="[object Map]",setTag="[object Set]";function size(e){if(e==null)return 0;if(isArrayLike(e))return isString(e)?stringSize(e):e.length;var r=getTag(e);return r==mapTag||r==setTag?e.size:baseKeys(e).length}function slice(e,r,n){var a=e==null?0:e.length;return a?(n&&typeof n!="number"&&isIterateeCall(e,r,n)?(r=0,n=a):(r=r==null?0:toInteger(r),n=n===void 0?a:toInteger(n)),baseSlice(e,r,n)):[]}var snakeCase=createCompounder(function(e,r,n){return e+(n?"_":"")+r.toLowerCase()}),MAX_ARRAY_LENGTH$4=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH$4-1,nativeFloor=Math.floor,nativeMin$4=Math.min;function baseSortedIndexBy(e,r,n,a){var h=0,i=e==null?0:e.length;if(i===0)return 0;r=n(r);for(var d=r!==r,s=r===null,f=isSymbol(r),o=r===void 0;h<i;){var t=nativeFloor((h+i)/2),u=n(e[t]),c=u!==void 0,l=u===null,p=u===u,v=isSymbol(u);if(d)var y=a||p;else o?y=p&&(a||c):s?y=p&&c&&(a||!l):f?y=p&&c&&!l&&(a||!v):l||v?y=!1:y=a?u<=r:u<r;y?h=t+1:i=t}return nativeMin$4(i,MAX_ARRAY_INDEX)}var MAX_ARRAY_LENGTH$3=4294967295,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH$3>>>1;function baseSortedIndex(e,r,n){var a=0,h=e==null?a:e.length;if(typeof r=="number"&&r===r&&h<=HALF_MAX_ARRAY_LENGTH){for(;a<h;){var i=a+h>>>1,d=e[i];d!==null&&!isSymbol(d)&&(n?d<=r:d<r)?a=i+1:h=i}return h}return baseSortedIndexBy(e,r,identity,n)}function sortedIndex(e,r){return baseSortedIndex(e,r)}function sortedIndexBy(e,r,n){return baseSortedIndexBy(e,r,baseIteratee(n))}function sortedIndexOf(e,r){var n=e==null?0:e.length;if(n){var a=baseSortedIndex(e,r);if(a<n&&eq(e[a],r))return a}return-1}function sortedLastIndex(e,r){return baseSortedIndex(e,r,!0)}function sortedLastIndexBy(e,r,n){return baseSortedIndexBy(e,r,baseIteratee(n),!0)}function sortedLastIndexOf(e,r){var n=e==null?0:e.length;if(n){var a=baseSortedIndex(e,r,!0)-1;if(eq(e[a],r))return a}return-1}function baseSortedUniq(e,r){for(var n=-1,a=e.length,h=0,i=[];++n<a;){var d=e[n],s=r?r(d):d;if(!n||!eq(s,f)){var f=s;i[h++]=d===0?0:d}}return i}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,r){return e&&e.length?baseSortedUniq(e,baseIteratee(r)):[]}var MAX_ARRAY_LENGTH$2=4294967295;function split(e,r,n){return n&&typeof n!="number"&&isIterateeCall(e,r,n)&&(r=n=void 0),n=n===void 0?MAX_ARRAY_LENGTH$2:n>>>0,n?(e=toString(e),e&&(typeof r=="string"||r!=null&&!isRegExp(r))&&(r=baseToString(r),!r&&hasUnicode(e))?castSlice(stringToArray(e),0,n):e.split(r,n)):[]}var FUNC_ERROR_TEXT="Expected a function",nativeMax$3=Math.max;function spread(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);return r=r==null?0:nativeMax$3(toInteger(r),0),baseRest(function(n){var a=n[r],h=castSlice(n,0,r);return a&&arrayPush(h,a),apply(e,this,h)})}var startCase=createCompounder(function(e,r,n){return e+(n?" ":"")+upperFirst(r)});function startsWith(e,r,n){return e=toString(e),n=n==null?0:baseClamp(toInteger(n),0,e.length),r=baseToString(r),e.slice(n,n+r.length)==r}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}var subtract=createMathOperation(function(e,r){return e-r},0);function sum(e){return e&&e.length?baseSum(e,identity):0}function tail(e){var r=e==null?0:e.length;return r?baseSlice(e,1,r):[]}function take(e,r,n){return e&&e.length?(r=n||r===void 0?1:toInteger(r),baseSlice(e,0,r<0?0:r)):[]}function takeRight(e,r,n){var a=e==null?0:e.length;return a?(r=n||r===void 0?1:toInteger(r),r=a-r,baseSlice(e,r<0?0:r,a)):[]}function takeRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!1,!0):[]}function takeWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r)):[]}function tap(e,r){return r(e),e}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function customDefaultsAssignIn(e,r,n,a){return e===void 0||eq(e,objectProto$2[n])&&!hasOwnProperty$2.call(a,n)?r:e}var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+stringEscapes[e]}var reInterpolate=/<%=([\s\S]+?)%>/g,reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:{escape:escape$1}}},INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",INVALID_TEMPL_IMPORTS_ERROR_TEXT="Invalid `imports` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function template(e,r,n){var a=templateSettings.imports._.templateSettings||templateSettings;n&&isIterateeCall(e,r,n)&&(r=void 0),e=toString(e),r=assignWith({},r,a,customDefaultsAssignIn);var h=assignWith({},r.imports,a.imports,customDefaultsAssignIn),i=keys(h),d=baseValues(h,i);arrayEach(i,function(y){if(reForbiddenIdentifierChars.test(y))throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT)});var s,f,o=0,t=r.interpolate||reNoMatch,u="__p += '",c=RegExp((r.escape||reNoMatch).source+"|"+t.source+"|"+(t===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(r.evaluate||reNoMatch).source+"|$","g"),l=hasOwnProperty$1.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
|
|
20
|
+
`:"";e.replace(c,function(y,g,x,_,m,q){return x||(x=_),u+=e.slice(o,q).replace(reUnescapedString,escapeStringChar),g&&(s=!0,u+=`' +
|
|
21
|
+
__e(`+g+`) +
|
|
22
|
+
'`),m&&(f=!0,u+=`';
|
|
23
|
+
`+m+`;
|
|
24
|
+
__p += '`),x&&(u+=`' +
|
|
25
|
+
((__t = (`+x+`)) == null ? '' : __t) +
|
|
26
|
+
'`),o=q+y.length,y}),u+=`';
|
|
27
|
+
`;var p=hasOwnProperty$1.call(r,"variable")&&r.variable;if(!p)u=`with (obj) {
|
|
28
|
+
`+u+`
|
|
29
|
+
}
|
|
30
|
+
`;else if(reForbiddenIdentifierChars.test(p))throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);u=(f?u.replace(reEmptyStringLeading,""):u).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;"),u="function("+(p||"obj")+`) {
|
|
31
|
+
`+(p?"":`obj || (obj = {});
|
|
32
|
+
`)+"var __t, __p = ''"+(s?", __e = _.escape":"")+(f?`, __j = Array.prototype.join;
|
|
33
|
+
function print() { __p += __j.call(arguments, '') }
|
|
34
|
+
`:`;
|
|
35
|
+
`)+u+`return __p
|
|
36
|
+
}`;var v=attempt(function(){return Function(i,l+"return "+u).apply(void 0,d)});if(v.source=u,isError(v))throw v;return v}function thru(e,r){return r(e)}var MAX_SAFE_INTEGER$1=9007199254740991,MAX_ARRAY_LENGTH$1=4294967295,nativeMin$3=Math.min;function times(e,r){if(e=toInteger(e),e<1||e>MAX_SAFE_INTEGER$1)return[];var n=MAX_ARRAY_LENGTH$1,a=nativeMin$3(e,MAX_ARRAY_LENGTH$1);r=castFunction(r),e-=MAX_ARRAY_LENGTH$1;for(var h=baseTimes(a,r);++n<e;)r(n);return h}function wrapperToIterator(){return this}function baseWrapperValue(e,r){var n=e;return n instanceof LazyWrapper&&(n=n.value()),arrayReduce(r,function(a,h){return h.func.apply(h.thisArg,arrayPush([a],h.args))},n)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}function toLower(e){return toString(e).toLowerCase()}function toPath(e){return isArray(e)?arrayMap(e,toKey):isSymbol(e)?[e]:copyArray(stringToPath(toString(e)))}var MAX_SAFE_INTEGER=9007199254740991;function toSafeInteger(e){return e?baseClamp(toInteger(e),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):e===0?e:0}function toUpper(e){return toString(e).toUpperCase()}function transform(e,r,n){var a=isArray(e),h=a||isBuffer(e)||isTypedArray$2(e);if(r=baseIteratee(r),n==null){var i=e&&e.constructor;h?n=a?new i:[]:isObject(e)?n=isFunction(i)?baseCreate(getPrototype(e)):{}:n={}}return(h?arrayEach:baseForOwn)(e,function(d,s,f){return r(n,d,s,f)}),n}function charsStartIndex(e,r){for(var n=-1,a=e.length;++n<a&&baseIndexOf(r,e[n],0)>-1;);return n}function trim(e,r,n){if(e=toString(e),e&&(n||r===void 0))return baseTrim(e);if(!e||!(r=baseToString(r)))return e;var a=stringToArray(e),h=stringToArray(r),i=charsStartIndex(a,h),d=charsEndIndex(a,h)+1;return castSlice(a,i,d).join("")}var reTrimStart=/^\s+/;function trimStart(e,r,n){if(e=toString(e),e&&(n||r===void 0))return e.replace(reTrimStart,"");if(!e||!(r=baseToString(r)))return e;var a=stringToArray(e),h=charsStartIndex(a,stringToArray(r));return castSlice(a,h).join("")}var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...",reFlags=/\w*$/;function truncate(e,r){var n=DEFAULT_TRUNC_LENGTH,a=DEFAULT_TRUNC_OMISSION;if(isObject(r)){var h="separator"in r?r.separator:h;n="length"in r?toInteger(r.length):n,a="omission"in r?baseToString(r.omission):a}e=toString(e);var i=e.length;if(hasUnicode(e)){var d=stringToArray(e);i=d.length}if(n>=i)return e;var s=n-stringSize(a);if(s<1)return a;var f=d?castSlice(d,0,s).join(""):e.slice(0,s);if(h===void 0)return f+a;if(d&&(s+=f.length-s),isRegExp(h)){if(e.slice(s).search(h)){var o,t=f;for(h.global||(h=RegExp(h.source,toString(reFlags.exec(h))+"g")),h.lastIndex=0;o=h.exec(t);)var u=o.index;f=f.slice(0,u===void 0?s:u)}}else if(e.indexOf(baseToString(h),s)!=s){var c=f.lastIndexOf(h);c>-1&&(f=f.slice(0,c))}return f+a}function unary(e){return ary(e,1)}var htmlUnescapes={"&":"&","<":"<",">":">",""":'"',"'":"'"},unescapeHtmlChar=basePropertyOf(htmlUnescapes),reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reHasEscapedHtml=RegExp(reEscapedHtml.source);function unescape$1(e){return e=toString(e),e&&reHasEscapedHtml.test(e)?e.replace(reEscapedHtml,unescapeHtmlChar):e}var union=baseRest(function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,!0))}),unionBy=baseRest(function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),baseIteratee(r))}),unionWith=baseRest(function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),void 0,r)});function uniqWith(e,r){return r=typeof r=="function"?r:void 0,e&&e.length?baseUniq(e,void 0,r):[]}var idCounter=0;function uniqueId(e){var r=++idCounter;return toString(e)+r}function unset(e,r){return e==null?!0:baseUnset(e,r)}var nativeMax$2=Math.max;function unzip(e){if(!(e&&e.length))return[];var r=0;return e=arrayFilter(e,function(n){if(isArrayLikeObject(n))return r=nativeMax$2(n.length,r),!0}),baseTimes(r,function(n){return arrayMap(e,baseProperty(n))})}function unzipWith(e,r){if(!(e&&e.length))return[];var n=unzip(e);return r==null?n:arrayMap(n,function(a){return apply(r,void 0,a)})}function baseUpdate(e,r,n,a){return baseSet(e,r,n(baseGet(e,r)),a)}function update(e,r,n){return e==null?e:baseUpdate(e,r,castFunction(n))}function updateWith(e,r,n,a){return a=typeof a=="function"?a:void 0,e==null?e:baseUpdate(e,r,castFunction(n),a)}var upperCase=createCompounder(function(e,r,n){return e+(n?" ":"")+r.toUpperCase()});function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}var without=baseRest(function(e,r){return isArrayLikeObject(e)?baseDifference(e,r):[]});function wrap(e,r){return partial(castFunction(r),e)}var wrapperAt=flatRest(function(e){var r=e.length,n=r?e[0]:0,a=this.__wrapped__,h=function(i){return baseAt(i,e)};return r>1||this.__actions__.length||!(a instanceof LazyWrapper)||!isIndex(n)?this.thru(h):(a=a.slice(n,+n+(r?1:0)),a.__actions__.push({func:thru,args:[h],thisArg:void 0}),new LodashWrapper(a,this.__chain__).thru(function(i){return r&&!i.length&&i.push(void 0),i}))});function wrapperChain(){return chain(this)}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var r=e;return this.__actions__.length&&(r=new LazyWrapper(this)),r=r.reverse(),r.__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(r,this.__chain__)}return this.thru(reverse)}function baseXor(e,r,n){var a=e.length;if(a<2)return a?baseUniq(e[0]):[];for(var h=-1,i=Array(a);++h<a;)for(var d=e[h],s=-1;++s<a;)s!=h&&(i[h]=baseDifference(i[h]||d,e[s],r,n));return baseUniq(baseFlatten(i,1),r,n)}var xor=baseRest(function(e){return baseXor(arrayFilter(e,isArrayLikeObject))}),xorBy=baseRest(function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseXor(arrayFilter(e,isArrayLikeObject),baseIteratee(r))}),xorWith=baseRest(function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseXor(arrayFilter(e,isArrayLikeObject),void 0,r)}),zip=baseRest(unzip);function baseZipObject(e,r,n){for(var a=-1,h=e.length,i=r.length,d={};++a<h;){var s=a<i?r[a]:void 0;n(d,e[a],s)}return d}function zipObject(e,r){return baseZipObject(e||[],r||[],assignValue)}function zipObjectDeep(e,r){return baseZipObject(e||[],r||[],baseSet)}var zipWith=baseRest(function(e){var r=e.length,n=r>1?e[r-1]:void 0;return n=typeof n=="function"?(e.pop(),n):void 0,unzipWith(e,n)});const array={chunk,compact,concat,difference,differenceBy,differenceWith,drop,dropRight,dropRightWhile,dropWhile,fill,findIndex,findLastIndex,flatten,flattenDeep,flattenDepth,fromPairs,head,indexOf,initial,intersection,intersectionBy,intersectionWith,join,lastIndexOf,nth,pull,pullAll,pullAllBy,pullAllWith,pullAt,remove,reverse,slice,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,tail,take,takeRight,takeRightWhile,takeWhile,union,unionBy,unionWith,uniq,uniqBy,uniqWith,unzip,unzipWith,without,xor,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},collection={countBy,every,filter,find,findLast,flatMap,flatMapDeep,flatMapDepth,forEach,forEachRight,groupBy,includes,invokeMap,keyBy,map,orderBy,partition,reduce,reduceRight,reject,sample,sampleSize,shuffle,size,some,sortBy},date={now},func={after,ary,before,bind,bindKey,curry,curryRight,debounce,defer,delay,flip,memoize,once,overArgs,partial,partialRight,rearg,rest,spread,throttle,unary,wrap},lang={castArray,clone,cloneDeep,cloneDeepWith,cloneWith,conformsTo,eq,gt,gte,isArguments:isArguments$1,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,lt,lte,toArray,toFinite,toLength,toNumber,toPlainObject,toSafeInteger,toString},math={add,ceil,divide,floor,max:max$1,maxBy,mean,meanBy,min:min$1,minBy,multiply,round,subtract,sum,sumBy},number={clamp,inRange,random},object={assign,assignIn,assignInWith,assignWith,at,create,defaults,defaultsDeep,findKey,findLastKey,forIn,forInRight,forOwn,forOwnRight,functions,functionsIn,get:get$1,has,hasIn,invert,invertBy,invoke,keysIn,mapKeys,mapValues,merge,mergeWith,omit,omitBy,pick,pickBy,result,set,setWith,toPairs,toPairsIn,transform,unset,update,updateWith,values,valuesIn},seq={at:wrapperAt,chain,commit:wrapperCommit,next:wrapperNext,plant:wrapperPlant,reverse:wrapperReverse,tap,toIterator:wrapperToIterator,value:wrapperValue,wrapperChain},string={camelCase,capitalize,deburr,endsWith,escape:escape$1,escapeRegExp,kebabCase,lowerCase,lowerFirst,pad,padEnd,padStart,parseInt:parseInt$1,repeat,replace,snakeCase,split,startCase,startsWith,template,templateSettings,toLower,toUpper,trim,trimEnd,trimStart,truncate,unescape:unescape$1,upperCase,upperFirst,words},util={attempt,bindAll,cond,conforms,constant,defaultTo,flow,flowRight,iteratee,matches,matchesProperty,method,methodOf,noop,nthArg,over,overEvery,overSome,property,propertyOf,range:range$1,rangeRight,stubArray,stubFalse,stubObject,stubString,stubTrue,times,toPath,uniqueId};function lazyClone(){var e=new LazyWrapper(this.__wrapped__);return e.__actions__=copyArray(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=copyArray(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=copyArray(this.__views__),e}function lazyReverse(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var nativeMax$1=Math.max,nativeMin$2=Math.min;function getView(e,r,n){for(var a=-1,h=n.length;++a<h;){var i=n[a],d=i.size;switch(i.type){case"drop":e+=d;break;case"dropRight":r-=d;break;case"take":r=nativeMin$2(r,e+d);break;case"takeRight":e=nativeMax$1(e,r-d);break}}return{start:e,end:r}}var LAZY_FILTER_FLAG$1=1,LAZY_MAP_FLAG=2,nativeMin$1=Math.min;function lazyValue(){var e=this.__wrapped__.value(),r=this.__dir__,n=isArray(e),a=r<0,h=n?e.length:0,i=getView(0,h,this.__views__),d=i.start,s=i.end,f=s-d,o=a?s:d-1,t=this.__iteratees__,u=t.length,c=0,l=nativeMin$1(f,this.__takeCount__);if(!n||!a&&h==f&&l==f)return baseWrapperValue(e,this.__actions__);var p=[];e:for(;f--&&c<l;){o+=r;for(var v=-1,y=e[o];++v<u;){var g=t[v],x=g.iteratee,_=g.type,m=x(y);if(_==LAZY_MAP_FLAG)y=m;else if(!m){if(_==LAZY_FILTER_FLAG$1)continue e;break e}}p[c++]=y}return p}var VERSION="4.18.1",WRAP_BIND_KEY_FLAG=2,LAZY_FILTER_FLAG=1,LAZY_WHILE_FLAG=3,MAX_ARRAY_LENGTH=4294967295,arrayProto=Array.prototype,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,symIterator=Symbol$1?Symbol$1.iterator:void 0,nativeMax=Math.max,nativeMin=Math.min,mixin=function(e){return function(r,n,a){if(a==null){var h=isObject(n),i=h&&keys(n),d=i&&i.length&&baseFunctions(n,i);(d?d.length:h)||(a=n,n=r,r=this)}return e(r,n,a)}}(mixin$1);lodash$1.after=func.after;lodash$1.ary=func.ary;lodash$1.assign=object.assign;lodash$1.assignIn=object.assignIn;lodash$1.assignInWith=object.assignInWith;lodash$1.assignWith=object.assignWith;lodash$1.at=object.at;lodash$1.before=func.before;lodash$1.bind=func.bind;lodash$1.bindAll=util.bindAll;lodash$1.bindKey=func.bindKey;lodash$1.castArray=lang.castArray;lodash$1.chain=seq.chain;lodash$1.chunk=array.chunk;lodash$1.compact=array.compact;lodash$1.concat=array.concat;lodash$1.cond=util.cond;lodash$1.conforms=util.conforms;lodash$1.constant=util.constant;lodash$1.countBy=collection.countBy;lodash$1.create=object.create;lodash$1.curry=func.curry;lodash$1.curryRight=func.curryRight;lodash$1.debounce=func.debounce;lodash$1.defaults=object.defaults;lodash$1.defaultsDeep=object.defaultsDeep;lodash$1.defer=func.defer;lodash$1.delay=func.delay;lodash$1.difference=array.difference;lodash$1.differenceBy=array.differenceBy;lodash$1.differenceWith=array.differenceWith;lodash$1.drop=array.drop;lodash$1.dropRight=array.dropRight;lodash$1.dropRightWhile=array.dropRightWhile;lodash$1.dropWhile=array.dropWhile;lodash$1.fill=array.fill;lodash$1.filter=collection.filter;lodash$1.flatMap=collection.flatMap;lodash$1.flatMapDeep=collection.flatMapDeep;lodash$1.flatMapDepth=collection.flatMapDepth;lodash$1.flatten=array.flatten;lodash$1.flattenDeep=array.flattenDeep;lodash$1.flattenDepth=array.flattenDepth;lodash$1.flip=func.flip;lodash$1.flow=util.flow;lodash$1.flowRight=util.flowRight;lodash$1.fromPairs=array.fromPairs;lodash$1.functions=object.functions;lodash$1.functionsIn=object.functionsIn;lodash$1.groupBy=collection.groupBy;lodash$1.initial=array.initial;lodash$1.intersection=array.intersection;lodash$1.intersectionBy=array.intersectionBy;lodash$1.intersectionWith=array.intersectionWith;lodash$1.invert=object.invert;lodash$1.invertBy=object.invertBy;lodash$1.invokeMap=collection.invokeMap;lodash$1.iteratee=util.iteratee;lodash$1.keyBy=collection.keyBy;lodash$1.keys=keys;lodash$1.keysIn=object.keysIn;lodash$1.map=collection.map;lodash$1.mapKeys=object.mapKeys;lodash$1.mapValues=object.mapValues;lodash$1.matches=util.matches;lodash$1.matchesProperty=util.matchesProperty;lodash$1.memoize=func.memoize;lodash$1.merge=object.merge;lodash$1.mergeWith=object.mergeWith;lodash$1.method=util.method;lodash$1.methodOf=util.methodOf;lodash$1.mixin=mixin;lodash$1.negate=negate;lodash$1.nthArg=util.nthArg;lodash$1.omit=object.omit;lodash$1.omitBy=object.omitBy;lodash$1.once=func.once;lodash$1.orderBy=collection.orderBy;lodash$1.over=util.over;lodash$1.overArgs=func.overArgs;lodash$1.overEvery=util.overEvery;lodash$1.overSome=util.overSome;lodash$1.partial=func.partial;lodash$1.partialRight=func.partialRight;lodash$1.partition=collection.partition;lodash$1.pick=object.pick;lodash$1.pickBy=object.pickBy;lodash$1.property=util.property;lodash$1.propertyOf=util.propertyOf;lodash$1.pull=array.pull;lodash$1.pullAll=array.pullAll;lodash$1.pullAllBy=array.pullAllBy;lodash$1.pullAllWith=array.pullAllWith;lodash$1.pullAt=array.pullAt;lodash$1.range=util.range;lodash$1.rangeRight=util.rangeRight;lodash$1.rearg=func.rearg;lodash$1.reject=collection.reject;lodash$1.remove=array.remove;lodash$1.rest=func.rest;lodash$1.reverse=array.reverse;lodash$1.sampleSize=collection.sampleSize;lodash$1.set=object.set;lodash$1.setWith=object.setWith;lodash$1.shuffle=collection.shuffle;lodash$1.slice=array.slice;lodash$1.sortBy=collection.sortBy;lodash$1.sortedUniq=array.sortedUniq;lodash$1.sortedUniqBy=array.sortedUniqBy;lodash$1.split=string.split;lodash$1.spread=func.spread;lodash$1.tail=array.tail;lodash$1.take=array.take;lodash$1.takeRight=array.takeRight;lodash$1.takeRightWhile=array.takeRightWhile;lodash$1.takeWhile=array.takeWhile;lodash$1.tap=seq.tap;lodash$1.throttle=func.throttle;lodash$1.thru=thru;lodash$1.toArray=lang.toArray;lodash$1.toPairs=object.toPairs;lodash$1.toPairsIn=object.toPairsIn;lodash$1.toPath=util.toPath;lodash$1.toPlainObject=lang.toPlainObject;lodash$1.transform=object.transform;lodash$1.unary=func.unary;lodash$1.union=array.union;lodash$1.unionBy=array.unionBy;lodash$1.unionWith=array.unionWith;lodash$1.uniq=array.uniq;lodash$1.uniqBy=array.uniqBy;lodash$1.uniqWith=array.uniqWith;lodash$1.unset=object.unset;lodash$1.unzip=array.unzip;lodash$1.unzipWith=array.unzipWith;lodash$1.update=object.update;lodash$1.updateWith=object.updateWith;lodash$1.values=object.values;lodash$1.valuesIn=object.valuesIn;lodash$1.without=array.without;lodash$1.words=string.words;lodash$1.wrap=func.wrap;lodash$1.xor=array.xor;lodash$1.xorBy=array.xorBy;lodash$1.xorWith=array.xorWith;lodash$1.zip=array.zip;lodash$1.zipObject=array.zipObject;lodash$1.zipObjectDeep=array.zipObjectDeep;lodash$1.zipWith=array.zipWith;lodash$1.entries=object.toPairs;lodash$1.entriesIn=object.toPairsIn;lodash$1.extend=object.assignIn;lodash$1.extendWith=object.assignInWith;mixin(lodash$1,lodash$1);lodash$1.add=math.add;lodash$1.attempt=util.attempt;lodash$1.camelCase=string.camelCase;lodash$1.capitalize=string.capitalize;lodash$1.ceil=math.ceil;lodash$1.clamp=number.clamp;lodash$1.clone=lang.clone;lodash$1.cloneDeep=lang.cloneDeep;lodash$1.cloneDeepWith=lang.cloneDeepWith;lodash$1.cloneWith=lang.cloneWith;lodash$1.conformsTo=lang.conformsTo;lodash$1.deburr=string.deburr;lodash$1.defaultTo=util.defaultTo;lodash$1.divide=math.divide;lodash$1.endsWith=string.endsWith;lodash$1.eq=lang.eq;lodash$1.escape=string.escape;lodash$1.escapeRegExp=string.escapeRegExp;lodash$1.every=collection.every;lodash$1.find=collection.find;lodash$1.findIndex=array.findIndex;lodash$1.findKey=object.findKey;lodash$1.findLast=collection.findLast;lodash$1.findLastIndex=array.findLastIndex;lodash$1.findLastKey=object.findLastKey;lodash$1.floor=math.floor;lodash$1.forEach=collection.forEach;lodash$1.forEachRight=collection.forEachRight;lodash$1.forIn=object.forIn;lodash$1.forInRight=object.forInRight;lodash$1.forOwn=object.forOwn;lodash$1.forOwnRight=object.forOwnRight;lodash$1.get=object.get;lodash$1.gt=lang.gt;lodash$1.gte=lang.gte;lodash$1.has=object.has;lodash$1.hasIn=object.hasIn;lodash$1.head=array.head;lodash$1.identity=identity;lodash$1.includes=collection.includes;lodash$1.indexOf=array.indexOf;lodash$1.inRange=number.inRange;lodash$1.invoke=object.invoke;lodash$1.isArguments=lang.isArguments;lodash$1.isArray=isArray;lodash$1.isArrayBuffer=lang.isArrayBuffer;lodash$1.isArrayLike=lang.isArrayLike;lodash$1.isArrayLikeObject=lang.isArrayLikeObject;lodash$1.isBoolean=lang.isBoolean;lodash$1.isBuffer=lang.isBuffer;lodash$1.isDate=lang.isDate;lodash$1.isElement=lang.isElement;lodash$1.isEmpty=lang.isEmpty;lodash$1.isEqual=lang.isEqual;lodash$1.isEqualWith=lang.isEqualWith;lodash$1.isError=lang.isError;lodash$1.isFinite=lang.isFinite;lodash$1.isFunction=lang.isFunction;lodash$1.isInteger=lang.isInteger;lodash$1.isLength=lang.isLength;lodash$1.isMap=lang.isMap;lodash$1.isMatch=lang.isMatch;lodash$1.isMatchWith=lang.isMatchWith;lodash$1.isNaN=lang.isNaN;lodash$1.isNative=lang.isNative;lodash$1.isNil=lang.isNil;lodash$1.isNull=lang.isNull;lodash$1.isNumber=lang.isNumber;lodash$1.isObject=isObject;lodash$1.isObjectLike=lang.isObjectLike;lodash$1.isPlainObject=lang.isPlainObject;lodash$1.isRegExp=lang.isRegExp;lodash$1.isSafeInteger=lang.isSafeInteger;lodash$1.isSet=lang.isSet;lodash$1.isString=lang.isString;lodash$1.isSymbol=lang.isSymbol;lodash$1.isTypedArray=lang.isTypedArray;lodash$1.isUndefined=lang.isUndefined;lodash$1.isWeakMap=lang.isWeakMap;lodash$1.isWeakSet=lang.isWeakSet;lodash$1.join=array.join;lodash$1.kebabCase=string.kebabCase;lodash$1.last=last;lodash$1.lastIndexOf=array.lastIndexOf;lodash$1.lowerCase=string.lowerCase;lodash$1.lowerFirst=string.lowerFirst;lodash$1.lt=lang.lt;lodash$1.lte=lang.lte;lodash$1.max=math.max;lodash$1.maxBy=math.maxBy;lodash$1.mean=math.mean;lodash$1.meanBy=math.meanBy;lodash$1.min=math.min;lodash$1.minBy=math.minBy;lodash$1.stubArray=util.stubArray;lodash$1.stubFalse=util.stubFalse;lodash$1.stubObject=util.stubObject;lodash$1.stubString=util.stubString;lodash$1.stubTrue=util.stubTrue;lodash$1.multiply=math.multiply;lodash$1.nth=array.nth;lodash$1.noop=util.noop;lodash$1.now=date.now;lodash$1.pad=string.pad;lodash$1.padEnd=string.padEnd;lodash$1.padStart=string.padStart;lodash$1.parseInt=string.parseInt;lodash$1.random=number.random;lodash$1.reduce=collection.reduce;lodash$1.reduceRight=collection.reduceRight;lodash$1.repeat=string.repeat;lodash$1.replace=string.replace;lodash$1.result=object.result;lodash$1.round=math.round;lodash$1.sample=collection.sample;lodash$1.size=collection.size;lodash$1.snakeCase=string.snakeCase;lodash$1.some=collection.some;lodash$1.sortedIndex=array.sortedIndex;lodash$1.sortedIndexBy=array.sortedIndexBy;lodash$1.sortedIndexOf=array.sortedIndexOf;lodash$1.sortedLastIndex=array.sortedLastIndex;lodash$1.sortedLastIndexBy=array.sortedLastIndexBy;lodash$1.sortedLastIndexOf=array.sortedLastIndexOf;lodash$1.startCase=string.startCase;lodash$1.startsWith=string.startsWith;lodash$1.subtract=math.subtract;lodash$1.sum=math.sum;lodash$1.sumBy=math.sumBy;lodash$1.template=string.template;lodash$1.times=util.times;lodash$1.toFinite=lang.toFinite;lodash$1.toInteger=toInteger;lodash$1.toLength=lang.toLength;lodash$1.toLower=string.toLower;lodash$1.toNumber=lang.toNumber;lodash$1.toSafeInteger=lang.toSafeInteger;lodash$1.toString=lang.toString;lodash$1.toUpper=string.toUpper;lodash$1.trim=string.trim;lodash$1.trimEnd=string.trimEnd;lodash$1.trimStart=string.trimStart;lodash$1.truncate=string.truncate;lodash$1.unescape=string.unescape;lodash$1.uniqueId=util.uniqueId;lodash$1.upperCase=string.upperCase;lodash$1.upperFirst=string.upperFirst;lodash$1.each=collection.forEach;lodash$1.eachRight=collection.forEachRight;lodash$1.first=array.head;mixin(lodash$1,function(){var e={};return baseForOwn(lodash$1,function(r,n){hasOwnProperty.call(lodash$1.prototype,n)||(e[n]=r)}),e}(),{chain:!1});lodash$1.VERSION=VERSION;(lodash$1.templateSettings=string.templateSettings).imports._=lodash$1;arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){lodash$1[e].placeholder=lodash$1});arrayEach(["drop","take"],function(e,r){LazyWrapper.prototype[e]=function(n){n=n===void 0?1:nativeMax(toInteger(n),0);var a=this.__filtered__&&!r?new LazyWrapper(this):this.clone();return a.__filtered__?a.__takeCount__=nativeMin(n,a.__takeCount__):a.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:e+(a.__dir__<0?"Right":"")}),a},LazyWrapper.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}});arrayEach(["filter","map","takeWhile"],function(e,r){var n=r+1,a=n==LAZY_FILTER_FLAG||n==LAZY_WHILE_FLAG;LazyWrapper.prototype[e]=function(h){var i=this.clone();return i.__iteratees__.push({iteratee:baseIteratee(h),type:n}),i.__filtered__=i.__filtered__||a,i}});arrayEach(["head","last"],function(e,r){var n="take"+(r?"Right":"");LazyWrapper.prototype[e]=function(){return this[n](1).value()[0]}});arrayEach(["initial","tail"],function(e,r){var n="drop"+(r?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[n](1)}});LazyWrapper.prototype.compact=function(){return this.filter(identity)};LazyWrapper.prototype.find=function(e){return this.filter(e).head()};LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)};LazyWrapper.prototype.invokeMap=baseRest(function(e,r){return typeof e=="function"?new LazyWrapper(this):this.map(function(n){return baseInvoke(n,e,r)})});LazyWrapper.prototype.reject=function(e){return this.filter(negate(baseIteratee(e)))};LazyWrapper.prototype.slice=function(e,r){e=toInteger(e);var n=this;return n.__filtered__&&(e>0||r<0)?new LazyWrapper(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),r!==void 0&&(r=toInteger(r),n=r<0?n.dropRight(-r):n.take(r-e)),n)};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)};baseForOwn(LazyWrapper.prototype,function(e,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),a=/^(?:head|last)$/.test(r),h=lodash$1[a?"take"+(r=="last"?"Right":""):r],i=a||/^find/.test(r);h&&(lodash$1.prototype[r]=function(){var d=this.__wrapped__,s=a?[1]:arguments,f=d instanceof LazyWrapper,o=s[0],t=f||isArray(d),u=function(g){var x=h.apply(lodash$1,arrayPush([g],s));return a&&c?x[0]:x};t&&n&&typeof o=="function"&&o.length!=1&&(f=t=!1);var c=this.__chain__,l=!!this.__actions__.length,p=i&&!c,v=f&&!l;if(!i&&t){d=v?d:new LazyWrapper(this);var y=e.apply(d,s);return y.__actions__.push({func:thru,args:[u],thisArg:void 0}),new LodashWrapper(y,c)}return p&&v?e.apply(this,s):(y=this.thru(u),p?a?y.value()[0]:y.value():y)})});arrayEach(["pop","push","shift","sort","splice","unshift"],function(e){var r=arrayProto[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);lodash$1.prototype[e]=function(){var h=arguments;if(a&&!this.__chain__){var i=this.value();return r.apply(isArray(i)?i:[],h)}return this[n](function(d){return r.apply(isArray(d)?d:[],h)})}});baseForOwn(LazyWrapper.prototype,function(e,r){var n=lodash$1[r];if(n){var a=n.name+"";hasOwnProperty.call(realNames,a)||(realNames[a]=[]),realNames[a].push({name:r,func:n})}});realNames[createHybrid(void 0,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:void 0}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash$1.prototype.at=seq.at;lodash$1.prototype.chain=seq.wrapperChain;lodash$1.prototype.commit=seq.commit;lodash$1.prototype.next=seq.next;lodash$1.prototype.plant=seq.plant;lodash$1.prototype.reverse=seq.reverse;lodash$1.prototype.toJSON=lodash$1.prototype.valueOf=lodash$1.prototype.value=seq.value;lodash$1.prototype.first=lodash$1.prototype.head;symIterator&&(lodash$1.prototype[symIterator]=seq.toIterator);const lodash=Object.freeze(Object.defineProperty({__proto__:null,add,after,ary,assign,assignIn,assignInWith,assignWith,at,attempt,before,bind,bindAll,bindKey,camelCase,capitalize,castArray,ceil,chain,chunk,clamp,clone,cloneDeep,cloneDeepWith,cloneWith,commit:wrapperCommit,compact,concat,cond,conforms,conformsTo,constant,countBy,create,curry,curryRight,debounce,deburr,default:lodash$1,defaultTo,defaults,defaultsDeep,defer,delay,difference,differenceBy,differenceWith,divide,drop,dropRight,dropRightWhile,dropWhile,each:forEach,eachRight:forEachRight,endsWith,entries:toPairs,entriesIn:toPairsIn,eq,escape:escape$1,escapeRegExp,every,extend:assignIn,extendWith:assignInWith,fill,filter,find,findIndex,findKey,findLast,findLastIndex,findLastKey,first:head,flatMap,flatMapDeep,flatMapDepth,flatten,flattenDeep,flattenDepth,flip,floor,flow,flowRight,forEach,forEachRight,forIn,forInRight,forOwn,forOwnRight,fromPairs,functions,functionsIn,get:get$1,groupBy,gt,gte,has,hasIn,head,identity,inRange,includes,indexOf,initial,intersection,intersectionBy,intersectionWith,invert,invertBy,invoke,invokeMap,isArguments:isArguments$1,isArray,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObject,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,iteratee,join,kebabCase,keyBy,keys,keysIn,last,lastIndexOf,lodash:lodash$1,lowerCase,lowerFirst,lt,lte,map,mapKeys,mapValues,matches,matchesProperty,max:max$1,maxBy,mean,meanBy,memoize,merge,mergeWith,method,methodOf,min:min$1,minBy,mixin:mixin$1,multiply,negate,next:wrapperNext,noop,now,nth,nthArg,omit,omitBy,once,orderBy,over,overArgs,overEvery,overSome,pad,padEnd,padStart,parseInt:parseInt$1,partial,partialRight,partition,pick,pickBy,plant:wrapperPlant,property,propertyOf,pull,pullAll,pullAllBy,pullAllWith,pullAt,random,range:range$1,rangeRight,rearg,reduce,reduceRight,reject,remove,repeat,replace,rest,result,reverse,round,sample,sampleSize,set,setWith,shuffle,size,slice,snakeCase,some,sortBy,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,split,spread,startCase,startsWith,stubArray,stubFalse,stubObject,stubString,stubTrue,subtract,sum,sumBy,tail,take,takeRight,takeRightWhile,takeWhile,tap,template,templateSettings,throttle,thru,times,toArray,toFinite,toInteger,toIterator:wrapperToIterator,toJSON:wrapperValue,toLength,toLower,toNumber,toPairs,toPairsIn,toPath,toPlainObject,toSafeInteger,toString,toUpper,transform,trim,trimEnd,trimStart,truncate,unary,unescape:unescape$1,union,unionBy,unionWith,uniq,uniqBy,uniqWith,uniqueId,unset,unzip,unzipWith,update,updateWith,upperCase,upperFirst,value:wrapperValue,valueOf:wrapperValue,values,valuesIn,without,words,wrap,wrapperAt,wrapperChain,wrapperCommit,wrapperLodash:lodash$1,wrapperNext,wrapperPlant,wrapperReverse,wrapperToIterator,wrapperValue,xor,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},Symbol.toStringTag,{value:"Module"}));export{requireUtil$1 as a,requireShams$1 as b,requireCallBound$1 as c,requireEsObjectAtoms as d,requireCallBind as e,requireGetIntrinsic as f,requireHasPropertyDescriptors as g,requireDefineDataProperty as h,requireCryptoBrowserify as i,require_stream_writable$1 as j,requireDist as k,requireStreamBrowserify as l,requireString_decoder as m,requireSafeBuffer$1 as n,lodash as o,require_stream_readable$1 as p,require_stream_duplex$1 as q,requireCryptoJs as r,require_stream_transform$1 as s,require_stream_passthrough$1 as t,requireEndOfStream as u,requirePipeline as v,requireInherits_browser as w,requireType as x};
|