diff --git a/asset-manifest.json b/asset-manifest.json index 834bbb6..ebf5e40 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/cyborg-connect/static/css/main.b0168615.css", - "main.js": "/cyborg-connect/static/js/main.735a48de.js", + "main.js": "/cyborg-connect/static/js/main.bc46dc11.js", "static/media/brand-icons.svg": "/cyborg-connect/static/media/brand-icons.6729d29753e000c17489.svg", "static/media/icons.svg": "/cyborg-connect/static/media/icons.62d9dae4e0040e81c980.svg", "static/media/dockdeploy.gif": "/cyborg-connect/static/media/dockdeploy.3402b6a92d6cbcc5c4f8.gif", @@ -22,10 +22,10 @@ "static/media/outline-icons.woff2": "/cyborg-connect/static/media/outline-icons.687a4990ea22bb1a49d4.woff2", "index.html": "/cyborg-connect/index.html", "main.b0168615.css.map": "/cyborg-connect/static/css/main.b0168615.css.map", - "main.735a48de.js.map": "/cyborg-connect/static/js/main.735a48de.js.map" + "main.bc46dc11.js.map": "/cyborg-connect/static/js/main.bc46dc11.js.map" }, "entrypoints": [ "static/css/main.b0168615.css", - "static/js/main.735a48de.js" + "static/js/main.bc46dc11.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index d6d1a87..6188b3e 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Substrate Front End Template
\ No newline at end of file +Substrate Front End Template
\ No newline at end of file diff --git a/static/js/main.735a48de.js b/static/js/main.bc46dc11.js similarity index 97% rename from static/js/main.735a48de.js rename to static/js/main.bc46dc11.js index eec87ce..586e710 100644 --- a/static/js/main.735a48de.js +++ b/static/js/main.bc46dc11.js @@ -1,3 +1,3 @@ -/*! For license information please see main.735a48de.js.LICENSE.txt */ -(()=>{var __webpack_modules__={5781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>qe,StyledEngineProvider:()=>Fe,ThemeContext:()=>Oe,css:()=>Le,default:()=>We,internal_processStyles:()=>Ze,keyframes:()=>He});var r=n(7462),a=n(2791),o=n.t(a,2);function i(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,c=i((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var l=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?y(P,--S):0,k--,10===E&&(k=1,w--),E}function N(){return E=S<_?y(P,S++):0,k++,10===E&&(k=1,w++),E}function C(){return y(P,S)}function I(){return S}function M(e,t){return b(P,e,t)}function j(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(e){return w=k=1,_=g(P=e),S=0,[]}function R(e){return P="",e}function V(e){return p(M(S-1,H(91===e?e+2:40===e?e+1:e)))}function U(e){for(;(E=C())&&E<33;)N();return j(e)>2||j(E)>3?"":" "}function L(e,t){for(;--t&&N()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return M(e,I()+(t<6&&32==C()&&32==N()))}function H(e){for(;N();)switch(E){case e:return S;case 34:case 39:34!==e&&39!==e&&H(E);break;case 40:41===e&&H(e);break;case 92:N()}return S}function D(e,t){for(;N()&&e+E!==57&&(e+E!==84||47!==C()););return"/*"+M(t,S-1)+"*"+d(47===e?e:N())}function z(e){for(;!j(C());)N();return M(e,S)}var F="-ms-",q="-moz-",W="-webkit-",Z="comm",X="rule",K="decl",G="@keyframes";function Y(e,t){for(var n="",r=v(e),a=0;a0&&g(M)-f&&x(b>32?ne(M+";",r,n,f-1):ne(h(M," ","")+";",r,n,f-2),c);break;case 59:M+=";";default:if(x(O=ee(M,t,n,l,u,a,s,E,P=[],A=[],f),o),123===S)if(0===u)$(M,t,O,O,P,o,f,s,A);else switch(99===p&&110===y(M,3)?100:p){case 100:case 108:case 109:case 115:$(e,O,O,r&&x(ee(e,O,O,0,0,a,s,E,a,P=[],f),A),a,A,f,s,r?P:A);break;default:$(M,O,O,O,[""],A,0,s,A)}}l=u=b=0,w=_=1,E=M="",f=i;break;case 58:f=1+g(M),b=v;default:if(w<1)if(123==S)--w;else if(125==S&&0==w++&&125==T())continue;switch(M+=d(S),S*w){case 38:_=u>0?1:(M+="\f",-1);break;case 44:s[l++]=(g(M)-1)*_,_=1;break;case 64:45===C()&&(M+=V(N())),p=C(),u=f=g(E=M+=z(I())),S++;break;case 45:45===v&&2==g(M)&&(w=0)}}return o}function ee(e,t,n,r,a,o,i,s,c,l,d){for(var f=a-1,m=0===a?o:[""],y=v(m),g=0,x=0,w=0;g0?m[k]+" "+_:h(_,/&\f/g,m[k])))&&(c[w++]=S);return A(e,t,n,0===a?X:s,c,l,d)}function te(e,t,n){return A(e,t,n,Z,d(E),b(e,2,-2),0)}function ne(e,t,n,r){return A(e,t,n,K,b(e,0,r),b(e,r+1,-1),r)}n(5102);var re=function(e,t,n){for(var r=0,a=0;r=a,a=C(),38===r&&12===a&&(t[n]=1),!j(a);)N();return M(e,S)},ae=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(j(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=re(S-1,t,n);break;case 2:e[n]+=V(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=d(r)}}while(r=N());return e}(B(e),t))},oe=new WeakMap,ie=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||oe.get(n))&&!r){oe.set(e,!0);for(var a=[],o=ae(t,a),i=n.props,s=0,c=0;s6)switch(y(e,t+1)){case 109:if(45!==y(e,t+4))break;case 102:return h(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==y(e,t+3)?"$3":"$2-$3"))+e;case 115:return~m(e,"stretch")?ce(h(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==y(e,t+1))break;case 6444:switch(y(e,g(e)-3-(~m(e,"!important")&&10))){case 107:return h(e,":",":-webkit-")+e;case 101:return h(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===y(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(y(e,t+11)){case 114:return W+e+F+h(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+F+h(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+F+h(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+F+e+e}return e}var le=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case K:e.return=ce(e.value,e.length);break;case G:return Y([O(e,{value:h(e.value,"@","@-webkit-")})],r);case X:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([O(e,{props:[h(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Y([O(e,{props:[h(t,/:(plac\w+)/,":-webkit-input-$1")]}),O(e,{props:[h(t,/:(plac\w+)/,":-moz-$1")]}),O(e,{props:[h(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],ue=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||le;var a,o,i={},s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+c;return{name:l,styles:a,next:ve}},ke=!!o.useInsertionEffect&&o.useInsertionEffect,_e=ke||function(e){return e()},Se=ke||a.useLayoutEffect,Ee=a.createContext("undefined"!==typeof HTMLElement?ue({key:"css"}):null);var Pe=Ee.Provider,Ae=function(e){return(0,a.forwardRef)((function(t,n){var r=(0,a.useContext)(Ee);return e(t,r,n)}))};var Oe=a.createContext({});function Te(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ne=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ce=function(e,t,n){Ne(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}},Ie=c,Me=function(e){return"theme"!==e},je=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Ie:Me},Be=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},Re=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ne(t,n,r),_e((function(){return Ce(t,n,r)})),null},Ve=function e(t,n){var o,i,s=t.__emotion_real===t,c=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var l=Be(t,n,s),u=l||je(c),d=!u("as");return function(){var f=arguments,p=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)p.push.apply(p,f);else{0,p.push(f[0][0]);for(var h=f.length,m=1;m{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,De.jsx)(Ue,{styles:r})}function We(e,t){return Ve(e,t)}"object"===typeof document&&(ze=ue({key:"css",prepend:!0}));const Ze=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},4131:(e,t,n)=>{"use strict";var r=n(4836);t._j=h,t.mi=function(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=m;var a=r(n(7034)),o=r(n(9881));function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,o.default)(e,t,n)}function s(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function c(e){if(e.type)return e;if("#"===e.charAt(0))return c(s(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,a.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,a.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const l=e=>{const t=c(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function d(e){e=c(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,o=r*Math.min(a,1-a),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-o*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),u({type:s,values:l})}function f(e){let t="hsl"===(e=c(e)).type||"hsla"===e.type?c(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=c(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,u(e)}function h(e,t){if(e=c(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function m(e,t){if(e=c(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?h(e,t):m(e,t)}},7012:(e,t,n)=>{"use strict";var r=n(4836);t.ZP=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=y,rootShouldForwardProp:r=m,slotShouldForwardProp:c=m}=e,u=e=>(0,l.default)((0,a.default)({},e,{theme:g((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:y,skipSx:w,overridesResolver:k=v(b(p))}=l,_=(0,o.default)(l,f),S=void 0!==y?y:p&&"Root"!==p&&"root"!==p||!1,E=w||!1;let P;let A=m;"Root"===p||"root"===p?A=r:p?A=c:h(e)&&(A=void 0);const O=(0,i.default)(e,(0,a.default)({shouldForwardProp:A,label:P},_)),T=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>x(e,(0,a.default)({},r,{theme:g({theme:r.theme,defaultTheme:n,themeId:t})})):e,N=function(r){let o=T(r);for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c{const r=g((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const o=r.components[d].styleOverrides,i={};return Object.entries(o).forEach((t=>{let[n,o]=t;i[n]=x(o,(0,a.default)({},e,{theme:r}))})),k(e,i)})),d&&!S&&l.push((e=>{var r;const o=g((0,a.default)({},e,{defaultTheme:n,themeId:t}));return x({variants:null==o||null==(r=o.components)||null==(r=r[d])?void 0:r.variants},(0,a.default)({},e,{theme:o}))})),E||l.push(u);const f=l.length-s.length;if(Array.isArray(r)&&f>0){const e=new Array(f).fill("");o=[...r,...e],o.raw=[...r.raw,...e]}const p=O(o,...l);return e.muiName&&(p.muiName=e.muiName),p};return O.withConfig&&(N.withConfig=O.withConfig),N}};var a=r(n(434)),o=r(n(7071)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(5781)),s=n(1520),c=(r(n(333)),r(n(386)),r(n(4652))),l=r(n(3101));const u=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e){return"string"===typeof e&&e.charCodeAt(0)>96}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const y=(0,c.default)(),b=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g(e){let{defaultTheme:t,theme:n,themeId:r}=e;return a=n,0===Object.keys(a).length?t:n[r]||n;var a}function v(e){return e?(t,n)=>n[e]:null}function x(e,t){let{ownerState:n}=t,r=(0,o.default)(t,u);const i="function"===typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap((e=>x(e,(0,a.default)({ownerState:n},r))));if(i&&"object"===typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,o.default)(i,d);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))})),t}return i}},1184:(e,t,n)=>{"use strict";n.d(t,{L7:()=>s,VO:()=>r,W8:()=>i,k9:()=>o});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(r[e],"px)")};function o(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||a;return t.reduce(((r,a,o)=>(r[e.up(e.keys[o])]=n(t[o]),r)),{})}if("object"===typeof t){const e=o.breakpoints||a;return Object.keys(t).reduce(((a,o)=>{if(-1!==Object.keys(e.values||r).indexOf(o)){a[e.up(o)]=n(t[o],o)}else{const e=o;a[e]=t[e]}return a}),{})}return n(t)}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const n=null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return n||{}}function s(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},8759:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}n.d(t,{Z:()=>r})},9572:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3366),a=n(7462);const o=["values","unit","step"];function i(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,s=(0,r.Z)(e,o),c=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,a.Z)({},e,{[t.key]:t.val})),{})})(t),l=Object.keys(c);function u(e){const r="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(r).concat(n,")")}function d(e){const r="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(r-i/100).concat(n,")")}function f(e,r){const a=l.indexOf(r);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(n,") and ")+"(max-width:".concat((-1!==a&&"number"===typeof t[l[a]]?t[l[a]]:r)-i/100).concat(n,")")}return(0,a.Z)({keys:l,values:c,up:u,down:d,between:f,only:function(e){return l.indexOf(e)+1{"use strict";n.d(t,{Z:()=>h});var r=n(7462),a=n(3366),o=n(8736),i=n(9572);const s={borderRadius:4};var c=n(5682);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r{const n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}var u=n(104),d=n(7416),f=n(8759);const p=["breakpoints","palette","spacing","shape"];const h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:c,shape:h={}}=e,m=(0,a.Z)(e,p),y=(0,i.Z)(t),b=l(c);let g=(0,o.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},n),spacing:b,shape:(0,r.Z)({},s,h)},m);g.applyStyles=f.Z;for(var v=arguments.length,x=new Array(v>1?v-1:0),w=1;w(0,o.Z)(e,t)),g),g.unstable_sxConfig=(0,r.Z)({},d.Z,null==m?void 0:m.unstable_sxConfig),g.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},g}},4652:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,private_createBreakpoints:()=>a.Z,unstable_applyStyles:()=>o.Z});var r=n(8809),a=n(9572),o=n(8759)},8247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8736);const a=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:(e,t,n)=>{"use strict";n.d(t,{hB:()=>h,eI:()=>p,NA:()=>m,e6:()=>g,o3:()=>v});var r=n(1184),a=n(8529),o=n(8247);const i={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,n]=e.split(""),r=i[t],a=s[n]||"";return Array.isArray(a)?a.map((e=>r+e)):[r+a]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...d];function p(e,t,n,r){var o;const i=null!=(o=(0,a.DW)(e,t,!1))?o:n;return"number"===typeof i?e=>"string"===typeof e?e:i*e:Array.isArray(i)?e=>"string"===typeof e?e:i[e]:"function"===typeof i?i:()=>{}}function h(e){return p(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function y(e,t,n,a){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(l(n),a),i=e[n];return(0,r.k9)(e,i,o)}function b(e,t){const n=h(e.theme);return Object.keys(e).map((r=>y(e,t,r,n))).reduce(o.Z,{})}function g(e){return b(e,u)}function v(e){return b(e,d)}function x(e){return b(e,f)}g.propTypes={},g.filterProps=u,v.propTypes={},v.filterProps=d,x.propTypes={},x.filterProps=f},8529:(e,t,n)=>{"use strict";n.d(t,{DW:()=>o,Jq:()=>i,ZP:()=>s});var r=n(1816),a=n(1184);function o(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n="vars.".concat(t).split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function i(e,t,n){let r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||a:o(e,n)||a,t&&(r=t(r,a,e)),r}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:c}=e,l=e=>{if(null==e[t])return null;const l=e[t],u=o(e.theme,s)||{};return(0,a.k9)(e,l,(e=>{let a=i(u,c,e);return e===a&&"string"===typeof e&&(a=i(u,c,"".concat(t).concat("default"===e?"":(0,r.Z)(e)),e)),!1===n?a:{[n]:a}}))};return l.propTypes={},l.filterProps=[t],l}},7416:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var r=n(5682),a=n(8529),o=n(8247);const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),a=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,o.Z)(t,r[n](e)):t),{});return a.propTypes={},a.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),a};var s=n(1184);function c(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function l(e,t){return(0,a.ZP)({prop:e,themeKey:"borders",transform:t})}const u=l("border",c),d=l("borderTop",c),f=l("borderRight",c),p=l("borderBottom",c),h=l("borderLeft",c),m=l("borderColor"),y=l("borderTopColor"),b=l("borderRightColor"),g=l("borderBottomColor"),v=l("borderLeftColor"),x=l("outline",c),w=l("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r.NA)(t,e)});return(0,s.k9)(e,e.borderRadius,n)}return null};k.propTypes={},k.filterProps=["borderRadius"];i(u,d,f,p,h,m,y,b,g,v,k,x,w);const _=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.gap,n)}return null};_.propTypes={},_.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.columnGap,n)}return null};S.propTypes={},S.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];i(_,S,E,(0,a.ZP)({prop:"gridColumn"}),(0,a.ZP)({prop:"gridRow"}),(0,a.ZP)({prop:"gridAutoFlow"}),(0,a.ZP)({prop:"gridAutoColumns"}),(0,a.ZP)({prop:"gridAutoRows"}),(0,a.ZP)({prop:"gridTemplateColumns"}),(0,a.ZP)({prop:"gridTemplateRows"}),(0,a.ZP)({prop:"gridTemplateAreas"}),(0,a.ZP)({prop:"gridArea"}));function P(e,t){return"grey"===t?t:e}i((0,a.ZP)({prop:"color",themeKey:"palette",transform:P}),(0,a.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:P}),(0,a.ZP)({prop:"backgroundColor",themeKey:"palette",transform:P}));function A(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const O=(0,a.ZP)({prop:"width",transform:A}),T=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const a=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.VO[t];return a?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:"".concat(a).concat(e.theme.breakpoints.unit)}:{maxWidth:a}:{maxWidth:A(t)}};return(0,s.k9)(e,e.maxWidth,t)}return null};T.filterProps=["maxWidth"];const N=(0,a.ZP)({prop:"minWidth",transform:A}),C=(0,a.ZP)({prop:"height",transform:A}),I=(0,a.ZP)({prop:"maxHeight",transform:A}),M=(0,a.ZP)({prop:"minHeight",transform:A}),j=((0,a.ZP)({prop:"size",cssProperty:"width",transform:A}),(0,a.ZP)({prop:"size",cssProperty:"height",transform:A}),i(O,T,N,C,I,M,(0,a.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:c},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:P},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:P},backgroundColor:{themeKey:"palette",transform:P},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:E},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:A},maxWidth:{style:T},minWidth:{transform:A},height:{transform:A},maxHeight:{transform:A},minHeight:{transform:A},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},3101:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,extendSxProp:()=>l,unstable_createStyleFunctionSx:()=>r.n,unstable_defaultSxConfig:()=>s.Z});var r=n(104),a=n(7462),o=n(3366),i=n(8736),s=n(7416);const c=["sx"];function l(e){const{sx:t}=e,n=(0,o.Z)(e,c),{systemProps:r,otherProps:l}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},a=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:s.Z;return Object.keys(e).forEach((t=>{a[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let u;return u=Array.isArray(t)?[r,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,i.P)(e)?(0,a.Z)({},r,e):r}:(0,a.Z)({},r,t),(0,a.Z)({},l,{sx:u})}},104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,n:()=>c});var r=n(1816),a=n(8247),o=n(8529),i=n(1184),s=n(7416);function c(){function e(e,t,n,a){const s={[e]:t,theme:n},c=a[e];if(!c)return{[e]:t};const{cssProperty:l=e,themeKey:u,transform:d,style:f}=c;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,o.DW)(n,u)||{};if(f)return f(s);return(0,i.k9)(s,t,(t=>{let n=(0,o.Jq)(p,d,t);return t===n&&"string"===typeof t&&(n=(0,o.Jq)(p,d,"".concat(e).concat("default"===t?"":(0,r.Z)(t)),t)),!1===l?n:{[l]:n}}))}return function t(n){var r;const{sx:o,theme:c={}}=n||{};if(!o)return null;const l=null!=(r=c.unstable_sxConfig)?r:s.Z;function u(n){let r=n;if("function"===typeof n)r=n(c);else if("object"!==typeof n)return n;if(!r)return null;const o=(0,i.W8)(c.breakpoints),s=Object.keys(o);let u=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],d=c,"function"===typeof s?s(d):s);var s,d;if(null!==o&&void 0!==o)if("object"===typeof o)if(l[n])u=(0,a.Z)(u,e(n,o,c,l));else{const e=(0,i.k9)({theme:c},o,(e=>({[n]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;ne.concat(Object.keys(t))),[]),a=new Set(r);return t.every((e=>a.size===Object.keys(e).length))}(e,o)?u=(0,a.Z)(u,e):u[n]=t({sx:o,theme:c})}else u=(0,a.Z)(u,e(n,o,c,l))})),(0,i.L7)(s,u)}return Array.isArray(o)?o.map(u):u(o)}}const l=c();l.filterProps=["sx"];const u=l},1816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(721);function a(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},333:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z});var r=n(1816)},9881:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}},8736:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,Z:()=>i});var r=n(7462);function a(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function o(e){if(!a(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=o(e[n])})),t}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=n.clone?(0,r.Z)({},e):e;return a(e)&&a(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(a(t[r])&&r in e&&a(e[r])?s[r]=i(e[r],t[r],n):n.clone?s[r]=a(t[r])?o(t[r]):t[r]:s[r]=t[r])})),s}},1520:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,isPlainObject:()=>r.P});var r=n(8736)},721:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nr})},7034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z});var r=n(721)},386:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c,getFunctionName:()=>o});var r=n(3325);const a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o(e){const t="".concat(e).match(a);return t&&t[1]||""}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||o(e)||t}function s(e,t,n){const r=i(t);return e.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function c(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return i(e,"Component");if("object"===typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},794:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case m:case h:case c:return e;default:return t}}case a:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.Memo=h},3325:(e,t,n)=>{"use strict";e.exports=n(794)},7525:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCurve=t.getHash=void 0;const r=n(5968),a=n(4361),o=n(2846);function i(e){return{hash:e,hmac:function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i(0,o.weierstrass)({...e,...i(t)});return Object.freeze({...n(t),create:n})}},369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasic=t.wNAF=void 0;const r=n(7701),a=n(3500),o=BigInt(0),i=BigInt(1);t.wNAF=function(e,t){const n=(e,t)=>{const n=t.negate();return e?n:t},r=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:n,unsafeLadder(t,n){let r=e.ZERO,a=t;for(;n>o;)n&i&&(r=r.add(a)),a=a.double(),n>>=i;return r},precomputeWindow(e,t){const{windows:n,windowSize:a}=r(t),o=[];let i=e,s=i;for(let r=0;r>=p,r>c&&(r-=f,o+=i);const s=t,h=t+Math.abs(r)-1,m=e%2!==0,y=r<0;0===r?u=u.add(n(m,a[s])):l=l.add(n(y,a[h]))}return{p:l,f:u}},wNAFCached(e,t,n,r){const a=e._WINDOW_SIZE||1;let o=t.get(e);return o||(o=this.precomputeWindow(e,a),1!==a&&t.set(e,r(o))),this.wNAF(a,o,n)}}},t.validateBasic=function(e){return(0,r.validateField)(e.Fp),(0,a.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,r.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}},4303:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.twistedEdwards=void 0;const r=n(7701),a=n(3500),o=n(3500),i=n(369),s=BigInt(0),c=BigInt(1),l=BigInt(2),u=BigInt(8),d={zip215:!0};t.twistedEdwards=function(e){const t=function(e){const t=(0,i.validateBasic)(e);return a.validateObject(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}(e),{Fp:n,n:f,prehash:p,hash:h,randomBytes:m,nByteLength:y,h:b}=t,g=l**BigInt(8*y),v=n.create,x=t.uvRatio||((e,t)=>{try{return{isValid:!0,value:n.sqrt(e*n.inv(t))}}catch(r){return{isValid:!1,value:s}}}),w=t.adjustScalarBytes||(e=>e),k=t.domain||((e,t,n)=>{if(t.length||n)throw new Error("Contexts/pre-hash are not supported");return e}),_=e=>"bigint"===typeof e&&s_(e)&&_(t)&&ee===s||S(e,g);function P(e,t){if(S(e,t))return e;throw new Error("Expected valid scalar < ".concat(t,", got ").concat(typeof e," ").concat(e))}function A(e){return e===s?e:P(e,f)}const O=new Map;function T(e){if(!(e instanceof N))throw new Error("ExtendedPoint expected")}class N{constructor(e,t,n,r){if(this.ex=e,this.ey=t,this.ez=n,this.et=r,!E(e))throw new Error("x required");if(!E(t))throw new Error("y required");if(!E(n))throw new Error("z required");if(!E(r))throw new Error("t required")}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof N)throw new Error("extended point not allowed");const{x:t,y:n}=e||{};if(!E(t)||!E(n))throw new Error("invalid affine point");return new N(t,n,c,v(t*n))}static normalizeZ(e){const t=n.invertBatch(e.map((e=>e.ez)));return e.map(((e,n)=>e.toAffine(t[n]))).map(N.fromAffine)}_setWindowSize(e){this._WINDOW_SIZE=e,O.delete(this)}assertValidity(){const{a:e,d:n}=t;if(this.is0())throw new Error("bad point: ZERO");const{ex:r,ey:a,ez:o,et:i}=this,s=v(r*r),c=v(a*a),l=v(o*o),u=v(l*l),d=v(s*e);if(v(l*v(d+c))!==v(u+v(n*v(s*c))))throw new Error("bad point: equation left != right (1)");if(v(r*a)!==v(o*i))throw new Error("bad point: equation left != right (2)")}equals(e){T(e);const{ex:t,ey:n,ez:r}=this,{ex:a,ey:o,ez:i}=e,s=v(t*i),c=v(a*r),l=v(n*i),u=v(o*r);return s===c&&l===u}is0(){return this.equals(N.ZERO)}negate(){return new N(v(-this.ex),this.ey,this.ez,v(-this.et))}double(){const{a:e}=t,{ex:n,ey:r,ez:a}=this,o=v(n*n),i=v(r*r),s=v(l*v(a*a)),c=v(e*o),u=n+r,d=v(v(u*u)-o-i),f=c+i,p=f-s,h=c-i,m=v(d*p),y=v(f*h),b=v(d*h),g=v(p*f);return new N(m,y,g,b)}add(e){T(e);const{a:n,d:r}=t,{ex:a,ey:o,ez:i,et:c}=this,{ex:u,ey:d,ez:f,et:p}=e;if(n===BigInt(-1)){const e=v((o-a)*(d+u)),t=v((o+a)*(d-u)),n=v(t-e);if(n===s)return this.double();const r=v(i*l*p),h=v(c*l*f),m=h+r,y=t+e,b=h-r,g=v(m*n),x=v(y*b),w=v(m*b),k=v(n*y);return new N(g,x,k,w)}const h=v(a*u),m=v(o*d),y=v(c*r*p),b=v(i*f),g=v((a+o)*(u+d)-h-m),x=b-y,w=b+y,k=v(m-n*h),_=v(g*x),S=v(w*k),E=v(g*k),P=v(x*w);return new N(_,S,P,E)}subtract(e){return this.add(e.negate())}wNAF(e){return M.wNAFCached(this,O,e,N.normalizeZ)}multiply(e){const{p:t,f:n}=this.wNAF(P(e,f));return N.normalizeZ([t,n])[0]}multiplyUnsafe(e){let t=A(e);return t===s?I:this.equals(I)||t===c?this:this.equals(C)?this.wNAF(t).p:M.unsafeLadder(this,t)}isSmallOrder(){return this.multiplyUnsafe(b).is0()}isTorsionFree(){return M.unsafeLadder(this,f).is0()}toAffine(e){const{ex:t,ey:r,ez:a}=this,o=this.is0();null==e&&(e=o?u:n.inv(a));const i=v(t*e),l=v(r*e),d=v(a*e);if(o)return{x:s,y:c};if(d!==c)throw new Error("invZ was invalid");return{x:i,y:l}}clearCofactor(){const{h:e}=t;return e===c?this:this.multiplyUnsafe(e)}static fromHex(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{d:i,a:l}=t,u=n.BYTES,d=(e=(0,o.ensureBytes)("pointHex",e,u)).slice(),f=e[u-1];d[u-1]=-129&f;const p=a.bytesToNumberLE(d);p===s||P(p,r?g:n.ORDER);const h=v(p*p),m=v(h-c),y=v(i*h-l);let{isValid:b,value:w}=x(m,y);if(!b)throw new Error("Point.fromHex: invalid y coordinate");return 0!==(128&f)!==((w&c)===c)&&(w=v(-w)),N.fromAffine({x:w,y:p})}static fromPrivateKey(e){return R(e).point}toRawBytes(){const{x:e,y:t}=this.toAffine(),r=a.numberToBytesLE(t,n.BYTES);return r[r.length-1]|=e&c?128:0,r}toHex(){return a.bytesToHex(this.toRawBytes())}}N.BASE=new N(t.Gx,t.Gy,c,v(t.Gx*t.Gy)),N.ZERO=new N(s,c,c,s);const{BASE:C,ZERO:I}=N,M=(0,i.wNAF)(N,8*y);function j(e){return(0,r.mod)(e,f)}function B(e){return j(a.bytesToNumberLE(e))}function R(e){const t=y;e=(0,o.ensureBytes)("private key",e,t);const n=(0,o.ensureBytes)("hashed private key",h(e),2*t),r=w(n.slice(0,t)),a=n.slice(t,2*t),i=B(r),s=C.multiply(i),c=s.toRawBytes();return{head:r,prefix:a,scalar:i,point:s,pointBytes:c}}function V(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rm(n.BYTES),precompute(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.BASE;return t._setWindowSize(e),t.multiply(BigInt(3)),t}};return{CURVE:t,getPublicKey:function(e){return R(e).pointBytes},sign:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e=(0,o.ensureBytes)("message",e),p&&(e=p(e));const{prefix:i,scalar:s,pointBytes:c}=R(t),l=V(r.context,i,e),u=C.multiply(l).toRawBytes(),d=V(r.context,u,c,e),f=j(l+d*s);A(f);const h=a.concatBytes(u,a.numberToBytesLE(f,n.BYTES));return(0,o.ensureBytes)("result",h,2*y)},verify:function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:U;const{context:s,zip215:c}=i,l=n.BYTES;e=(0,o.ensureBytes)("signature",e,2*l),t=(0,o.ensureBytes)("message",t),p&&(t=p(t));const u=a.bytesToNumberLE(e.slice(l,2*l));let d,f,h;try{d=N.fromHex(r,c),f=N.fromHex(e.slice(0,l),c),h=C.multiplyUnsafe(u)}catch(b){return!1}const m=V(s,f.toRawBytes(),d.toRawBytes(),t),y=f.add(d.multiplyUnsafe(m));return y.subtract(h).clearCofactor().equals(N.ZERO)},ExtendedPoint:N,utils:L}}},4464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHasher=t.isogenyMap=t.hash_to_field=t.expand_message_xof=t.expand_message_xmd=void 0;const r=n(7701),a=n(3500);const o=a.bytesToNumberBE;function i(e,t){if(e<0||e>=1<<8*t)throw new Error("bad I2OSP call: value=".concat(e," length=").concat(t));const n=Array.from({length:t}).fill(0);for(let r=t-1;r>=0;r--)n[r]=255&e,e>>>=8;return new Uint8Array(n)}function s(e,t){const n=new Uint8Array(e.length);for(let r=0;r255&&(t=r((0,a.concatBytes)((0,a.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));const{outputLen:o,blockLen:u}=r,d=Math.ceil(n/o);if(d>255)throw new Error("Invalid xmd length");const f=(0,a.concatBytes)(t,i(t.length,1)),p=i(0,u),h=i(n,2),m=new Array(d),y=r((0,a.concatBytes)(p,e,h,i(0,1),f));m[0]=r((0,a.concatBytes)(y,i(1,1),f));for(let c=1;c<=d;c++){const e=[s(y,m[c-1]),i(c+1,1),f];m[c]=r((0,a.concatBytes)(...e))}return(0,a.concatBytes)(...m).slice(0,n)}function d(e,t,n,r,o){if(c(e),c(t),l(n),t.length>255){const e=Math.ceil(2*r/8);t=o.create({dkLen:e}).update((0,a.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()}if(n>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return o.create({dkLen:n}).update(e).update(i(n,2)).update(t).update(i(t.length,1)).digest()}function f(e,t,n){(0,a.validateObject)(n,{DST:"string",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:i,k:s,m:f,hash:p,expand:h,DST:m}=n;c(e),l(t);const y=function(e){if(e instanceof Uint8Array)return e;if("string"===typeof e)return(0,a.utf8ToBytes)(e);throw new Error("DST must be Uint8Array or string")}(m),b=i.toString(2).length,g=Math.ceil((b+s)/8),v=t*f*g;let x;if("xmd"===h)x=u(e,y,v,p);else if("xof"===h)x=d(e,y,v,s,p);else{if("_internal_pass"!==h)throw new Error('expand must be "xmd" or "xof"');x=e}const w=new Array(t);for(let a=0;aArray.from(e).reverse()));return(t,r)=>{const[a,o,i,s]=n.map((n=>n.reduce(((n,r)=>e.add(e.mul(n,t),r)))));return t=e.div(a,o),r=e.mul(r,e.div(i,s)),{x:t,y:r}}},t.createHasher=function(e,t,n){if("function"!==typeof t)throw new Error("mapToCurve() must be defined");return{hashToCurve(r,a){const o=f(r,2,{...n,DST:n.DST,...a}),i=e.fromAffine(t(o[0])),s=e.fromAffine(t(o[1])),c=i.add(s).clearCofactor();return c.assertValidity(),c},encodeToCurve(r,a){const o=f(r,1,{...n,DST:n.encodeDST,...a}),i=e.fromAffine(t(o[0])).clearCofactor();return i.assertValidity(),i}}}},7701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashToPrivateScalar=t.FpSqrtEven=t.FpSqrtOdd=t.Field=t.nLength=t.FpIsSquare=t.FpDiv=t.FpInvertBatch=t.FpPow=t.validateField=t.isNegativeLE=t.FpSqrt=t.tonelliShanks=t.invert=t.pow2=t.pow=t.mod=void 0;const r=n(3500),a=BigInt(0),o=BigInt(1),i=BigInt(2),s=BigInt(3),c=BigInt(4),l=BigInt(5),u=BigInt(8);BigInt(9),BigInt(16);function d(e,t){const n=e%t;return n>=a?n:t+n}function f(e,t,n){if(n<=a||t 0");if(n===o)return a;let r=o;for(;t>a;)t&o&&(r=r*e%n),e=e*e%n,t>>=o;return r}function p(e,t){if(e===a||t<=a)throw new Error("invert: expected positive integers, got n=".concat(e," mod=").concat(t));let n=d(e,t),r=t,i=a,s=o,c=o,l=a;for(;n!==a;){const e=r/n,t=r%n,a=i-c*e,o=s-l*e;r=n,n=t,i=c,s=l,c=a,l=o}if(r!==o)throw new Error("invert: does not exist");return d(i,t)}function h(e){const t=(e-o)/i;let n,r,s;for(n=e-o,r=0;n%i===a;n/=i,r++);for(s=i;sa;)r*=r,r%=n;return r},t.invert=p,t.tonelliShanks=h,t.FpSqrt=m;t.isNegativeLE=(e,t)=>(d(e,t)&o)===o;const y=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function b(e,t,n){if(n 0");if(n===a)return e.ONE;if(n===o)return t;let r=e.ONE,i=t;for(;n>a;)n&o&&(r=e.mul(r,i)),i=e.sqr(i),n>>=o;return r}function g(e,t){const n=new Array(t.length),r=t.reduce(((t,r,a)=>e.is0(r)?t:(n[a]=t,e.mul(t,r))),e.ONE),a=e.inv(r);return t.reduceRight(((t,r,a)=>e.is0(r)?t:(n[a]=e.mul(t,n[a]),e.mul(t,r))),a),n}function v(e,t){const n=void 0!==t?t:e.toString(2).length;return{nBitLength:n,nByteLength:Math.ceil(n/8)}}t.validateField=function(e){const t=y.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,r.validateObject)(e,t)},t.FpPow=b,t.FpInvertBatch=g,t.FpDiv=function(e,t,n){return e.mul(t,"bigint"===typeof n?p(n,e.ORDER):e.inv(n))},t.FpIsSquare=function(e){const t=(e.ORDER-o)/i;return n=>{const r=e.pow(n,t);return e.eql(r,e.ZERO)||e.eql(r,e.ONE)}},t.nLength=v,t.Field=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e<=a)throw new Error("Expected Fp ORDER > 0, got ".concat(e));const{nBitLength:s,nByteLength:c}=v(e,t);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const l=m(e),u=Object.freeze({ORDER:e,BITS:s,BYTES:c,MASK:(0,r.bitMask)(s),ZERO:a,ONE:o,create:t=>d(t,e),isValid:t=>{if("bigint"!==typeof t)throw new Error("Invalid field element: expected bigint, got ".concat(typeof t));return a<=t&&te===a,isOdd:e=>(e&o)===o,neg:t=>d(-t,e),eql:(e,t)=>e===t,sqr:t=>d(t*t,e),add:(t,n)=>d(t+n,e),sub:(t,n)=>d(t-n,e),mul:(t,n)=>d(t*n,e),pow:(e,t)=>b(u,e,t),div:(t,n)=>d(t*p(n,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>p(t,e),sqrt:i.sqrt||(e=>l(u,e)),invertBatch:e=>g(u,e),cmov:(e,t,n)=>n?t:e,toBytes:e=>n?(0,r.numberToBytesLE)(e,c):(0,r.numberToBytesBE)(e,c),fromBytes:e=>{if(e.length!==c)throw new Error("Fp.fromBytes: expected ".concat(c,", got ").concat(e.length));return n?(0,r.bytesToNumberLE)(e):(0,r.bytesToNumberBE)(e)}});return Object.freeze(u)},t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const n=e.sqrt(t);return e.isOdd(n)?n:e.neg(n)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const n=e.sqrt(t);return e.isOdd(n)?e.neg(n):n},t.hashToPrivateScalar=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const a=(e=(0,r.ensureBytes)("privateHash",e)).length,i=v(t).nByteLength+8;if(i<24||a1024)throw new Error("hashToPrivateScalar: expected ".concat(i,"-1024 bytes of input, got ").concat(a));const s=n?(0,r.bytesToNumberLE)(e):(0,r.bytesToNumberBE)(e);return d(s,t-o)+o}},7232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.montgomery=void 0;const r=n(7701),a=n(3500),o=BigInt(0),i=BigInt(1);t.montgomery=function(e){const t=(n=e,(0,a.validateObject)(n,{a:"bigint"},{montgomeryBits:"isSafeInteger",nByteLength:"isSafeInteger",adjustScalarBytes:"function",domain:"function",powPminus2:"function",Gu:"bigint"}),Object.freeze({...n}));var n;const{P:s}=t,c=e=>(0,r.mod)(e,s),l=t.montgomeryBits,u=Math.ceil(l/8),d=t.nByteLength,f=t.adjustScalarBytes||(e=>e),p=t.powPminus2||(e=>(0,r.pow)(e,s-BigInt(2),s));function h(e,t,n){const r=c(e*(t-n));return[t=c(t-r),n=c(n+r)]}function m(e){if("bigint"===typeof e&&o<=e&&e=o;p--){const e=r>>p&i;g^=e,s=h(g,u,f),u=s[0],f=s[1],s=h(g,d,b),d=s[0],b=s[1],g=e;const t=u+d,n=c(t*t),o=u-d,l=c(o*o),m=n-l,v=f+b,x=c((f-b)*t),w=c(v*o),k=x+w,_=x-w;f=c(k*k),b=c(a*c(_*_)),u=c(n*l),d=c(m*(n+c(y*m)))}s=h(g,u,f),u=s[0],f=s[1],s=h(g,d,b),d=s[0],b=s[1];const v=p(d);return c(u*v)}(n,function(e){const t=(0,a.ensureBytes)("scalar",e);if(t.length!==u&&t.length!==d)throw new Error("Expected ".concat(u," or ").concat(d," bytes, got ").concat(t.length));return(0,a.bytesToNumberLE)(f(t))}(e));if(r===o)throw new Error("Invalid private or public key received");return b(r)}const v=b(t.Gu);function x(e){return g(e,v)}return{scalarMult:g,scalarMultBase:x,getSharedSecret:(e,t)=>g(e,t),getPublicKey:e=>x(e),utils:{randomPrivateKey:()=>t.randomBytes(t.nByteLength)},GuBytes:v}}},3500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateObject=t.createHmacDrbg=t.bitMask=t.bitSet=t.bitGet=t.bitLen=t.utf8ToBytes=t.equalBytes=t.concatBytes=t.ensureBytes=t.numberToVarBytesBE=t.numberToBytesLE=t.numberToBytesBE=t.bytesToNumberLE=t.bytesToNumberBE=t.hexToBytes=t.hexToNumber=t.numberToHexUnpadded=t.bytesToHex=void 0;const n=BigInt(0),r=BigInt(1),a=BigInt(2),o=e=>e instanceof Uint8Array,i=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function s(e){if(!o(e))throw new Error("Uint8Array expected");let t="";for(let n=0;nu(e.toString(16).padStart(2*t,"0"));t.numberToBytesLE=(e,n)=>(0,t.numberToBytesBE)(e,n).reverse();function d(){for(var e=arguments.length,t=new Array(e),n=0;ne+t.length),0));let a=0;return t.forEach((e=>{if(!o(e))throw new Error("Uint8Array expected");r.set(e,a),a+=e.length})),r}t.numberToVarBytesBE=e=>u(c(e)),t.ensureBytes=function(e,t,n){let r;if("string"===typeof t)try{r=u(t)}catch(i){throw new Error("".concat(e,' must be valid hex string, got "').concat(t,'". Cause: ').concat(i))}else{if(!o(t))throw new Error("".concat(e," must be hex string or Uint8Array"));r=Uint8Array.from(t)}const a=r.length;if("number"===typeof n&&a!==n)throw new Error("".concat(e," expected ").concat(n," bytes, got ").concat(a));return r},t.concatBytes=d,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;for(let n=0;nn;e>>=r,t+=1);return t};t.bitGet=(e,t)=>e>>BigInt(t)&r;t.bitSet=(e,t,a)=>e|(a?r:n)<(a<new Uint8Array(e),p=e=>Uint8Array.from(e);t.createHmacDrbg=function(e,t,n){if("number"!==typeof e||e<2)throw new Error("hashLen must be a number");if("number"!==typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!==typeof n)throw new Error("hmacFn must be a function");let r=f(e),a=f(e),o=0;const i=()=>{r.fill(1),a.fill(0),o=0},s=function(){for(var e=arguments.length,t=new Array(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:f();a=s(p([0]),e),r=s(),0!==e.length&&(a=s(p([1]),e),r=s())},l=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const n=[];for(;e{let n;for(i(),c(e);!(n=t(l()));)c();return i(),n}};const h={bigint:e=>"bigint"===typeof e,function:e=>"function"===typeof e,boolean:e=>"boolean"===typeof e,string:e=>"string"===typeof e,isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"===typeof e&&Number.isSafeInteger(e.outputLen)};t.validateObject=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(t,n,r)=>{const a=h[n];if("function"!==typeof a)throw new Error('Invalid validator "'.concat(n,'", expected function'));const o=e[t];if((!r||void 0!==o)&&!a(o,e))throw new Error("Invalid param ".concat(String(t),"=").concat(o," (").concat(typeof o,"), expected ").concat(n))};for(const[a,o]of Object.entries(t))r(a,o,!1);for(const[a,o]of Object.entries(n))r(a,o,!0);return e}},2846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToCurveSimpleSWU=t.SWUFpSqrtRatio=t.weierstrass=t.weierstrassPoints=t.DER=void 0;const r=n(7701),a=n(3500),o=n(3500),i=n(369);const{bytesToNumberBE:s,hexToBytes:c}=a;t.DER={Err:class extends Error{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}},_parseInt(e){const{Err:n}=t.DER;if(e.length<2||2!==e[0])throw new n("Invalid signature integer tag");const r=e[1],a=e.subarray(2,r+2);if(!r||a.length!==r)throw new n("Invalid signature integer: wrong length");if(128&a[0])throw new n("Invalid signature integer: negative");if(0===a[0]&&!(128&a[1]))throw new n("Invalid signature integer: unnecessary leading zero");return{d:s(a),l:e.subarray(r+2)}},toSig(e){const{Err:n}=t.DER,r="string"===typeof e?c(e):e;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let a=r.length;if(a<2||48!=r[0])throw new n("Invalid signature tag");if(r[1]!==a-2)throw new n("Invalid signature: incorrect length");const{d:o,l:i}=t.DER._parseInt(r.subarray(2)),{d:s,l:l}=t.DER._parseInt(i);if(l.length)throw new n("Invalid signature: left bytes after parsing");return{r:o,s:s}},hexFromSig(e){const t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,n=e=>{const t=e.toString(16);return 1&t.length?"0".concat(t):t},r=t(n(e.s)),a=t(n(e.r)),o=r.length/2,i=a.length/2,s=n(o),c=n(i);return"30".concat(n(i+o+4),"02").concat(c).concat(a,"02").concat(s).concat(r)}};const l=BigInt(0),u=BigInt(1),d=BigInt(2),f=BigInt(3),p=BigInt(4);function h(e){const t=function(e){const t=(0,i.validateBasic)(e);a.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:n,Fp:r,a:o}=t;if(n){if(!r.eql(o,r.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!==typeof n||"bigint"!==typeof n.beta||"function"!==typeof n.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:n}=t,s=t.toBytes||((e,t,r)=>{const o=t.toAffine();return a.concatBytes(Uint8Array.from([4]),n.toBytes(o.x),n.toBytes(o.y))}),c=t.fromBytes||(e=>{const t=e.subarray(1);return{x:n.fromBytes(t.subarray(0,n.BYTES)),y:n.fromBytes(t.subarray(n.BYTES,2*n.BYTES))}});function d(e){const{a:r,b:a}=t,o=n.sqr(e),i=n.mul(o,e);return n.add(n.add(i,n.mul(e,r)),a)}if(!n.eql(n.sqr(t.Gy),d(t.Gx)))throw new Error("bad generator point: equation left != right");function p(e){return"bigint"===typeof e&&ln.eql(e,n.ZERO);return a(t)&&a(r)?g.ZERO:new g(t,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){const t=n.invertBatch(e.map((e=>e.pz)));return e.map(((e,n)=>e.toAffine(t[n]))).map(g.fromAffine)}static fromHex(e){const t=g.fromAffine(c((0,o.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return g.BASE.multiply(m(e))}_setWindowSize(e){this._WINDOW_SIZE=e,y.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:e,y:r}=this.toAffine();if(!n.isValid(e)||!n.isValid(r))throw new Error("bad point: x or y not FE");const a=n.sqr(r),o=d(e);if(!n.eql(a,o))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:e}=this.toAffine();if(n.isOdd)return!n.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){b(e);const{px:t,py:r,pz:a}=this,{px:o,py:i,pz:s}=e,c=n.eql(n.mul(t,s),n.mul(o,a)),l=n.eql(n.mul(r,s),n.mul(i,a));return c&&l}negate(){return new g(this.px,n.neg(this.py),this.pz)}double(){const{a:e,b:r}=t,a=n.mul(r,f),{px:o,py:i,pz:s}=this;let c=n.ZERO,l=n.ZERO,u=n.ZERO,d=n.mul(o,o),p=n.mul(i,i),h=n.mul(s,s),m=n.mul(o,i);return m=n.add(m,m),u=n.mul(o,s),u=n.add(u,u),c=n.mul(e,u),l=n.mul(a,h),l=n.add(c,l),c=n.sub(p,l),l=n.add(p,l),l=n.mul(c,l),c=n.mul(m,c),u=n.mul(a,u),h=n.mul(e,h),m=n.sub(d,h),m=n.mul(e,m),m=n.add(m,u),u=n.add(d,d),d=n.add(u,d),d=n.add(d,h),d=n.mul(d,m),l=n.add(l,d),h=n.mul(i,s),h=n.add(h,h),d=n.mul(h,m),c=n.sub(c,d),u=n.mul(h,p),u=n.add(u,u),u=n.add(u,u),new g(c,l,u)}add(e){b(e);const{px:r,py:a,pz:o}=this,{px:i,py:s,pz:c}=e;let l=n.ZERO,u=n.ZERO,d=n.ZERO;const p=t.a,h=n.mul(t.b,f);let m=n.mul(r,i),y=n.mul(a,s),v=n.mul(o,c),x=n.add(r,a),w=n.add(i,s);x=n.mul(x,w),w=n.add(m,y),x=n.sub(x,w),w=n.add(r,o);let k=n.add(i,c);return w=n.mul(w,k),k=n.add(m,v),w=n.sub(w,k),k=n.add(a,o),l=n.add(s,c),k=n.mul(k,l),l=n.add(y,v),k=n.sub(k,l),d=n.mul(p,w),l=n.mul(h,v),d=n.add(l,d),l=n.sub(y,d),d=n.add(y,d),u=n.mul(l,d),y=n.add(m,m),y=n.add(y,m),v=n.mul(p,v),w=n.mul(h,w),y=n.add(y,v),v=n.sub(m,v),v=n.mul(p,v),w=n.add(w,v),m=n.mul(y,w),u=n.add(u,m),m=n.mul(k,w),l=n.mul(x,l),l=n.sub(l,m),m=n.mul(x,y),d=n.mul(k,d),d=n.add(d,m),new g(l,u,d)}subtract(e){return this.add(e.negate())}is0(){return this.equals(g.ZERO)}wNAF(e){return x.wNAFCached(this,y,e,(e=>{const t=n.invertBatch(e.map((e=>e.pz)));return e.map(((e,n)=>e.toAffine(t[n]))).map(g.fromAffine)}))}multiplyUnsafe(e){const r=g.ZERO;if(e===l)return r;if(h(e),e===u)return this;const{endo:a}=t;if(!a)return x.unsafeLadder(this,e);let{k1neg:o,k1:i,k2neg:s,k2:c}=a.splitScalar(e),d=r,f=r,p=this;for(;i>l||c>l;)i&u&&(d=d.add(p)),c&u&&(f=f.add(p)),p=p.double(),i>>=u,c>>=u;return o&&(d=d.negate()),s&&(f=f.negate()),f=new g(n.mul(f.px,a.beta),f.py,f.pz),d.add(f)}multiply(e){h(e);let r,a,o=e;const{endo:i}=t;if(i){const{k1neg:e,k1:t,k2neg:s,k2:c}=i.splitScalar(o);let{p:l,f:u}=this.wNAF(t),{p:d,f:f}=this.wNAF(c);l=x.constTimeNegate(e,l),d=x.constTimeNegate(s,d),d=new g(n.mul(d.px,i.beta),d.py,d.pz),r=l.add(d),a=u.add(f)}else{const{p:e,f:t}=this.wNAF(o);r=e,a=t}return g.normalizeZ([r,a])[0]}multiplyAndAddUnsafe(e,t,n){const r=g.BASE,a=(e,t)=>t!==l&&t!==u&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),o=a(this,t).add(a(e,n));return o.is0()?void 0:o}toAffine(e){const{px:t,py:r,pz:a}=this,o=this.is0();null==e&&(e=o?n.ONE:n.inv(a));const i=n.mul(t,e),s=n.mul(r,e),c=n.mul(a,e);if(o)return{x:n.ZERO,y:n.ZERO};if(!n.eql(c,n.ONE))throw new Error("invZ was invalid");return{x:i,y:s}}isTorsionFree(){const{h:e,isTorsionFree:n}=t;if(e===u)return!0;if(n)return n(g,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:n}=t;return e===u?this:n?n(g,this):this.multiplyUnsafe(t.h)}toRawBytes(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.assertValidity(),s(g,this,e)}toHex(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return a.bytesToHex(this.toRawBytes(e))}}g.BASE=new g(t.Gx,t.Gy,n.ONE),g.ZERO=new g(n.ZERO,n.ONE,n.ZERO);const v=t.nBitLength,x=(0,i.wNAF)(g,t.endo?Math.ceil(v/2):v);return{CURVE:t,ProjectivePoint:g,normPrivateKeyToScalar:m,weierstrassEquation:d,isWithinCurveOrder:p}}function m(e,t){const n=e.ORDER;let r=l;for(let f=n-u;f%d===l;f/=d)r+=u;const a=r,o=(n-u)/d**a,i=(o-u)/d,s=d**a-u,c=d**(a-u),h=e.pow(t,o),m=e.pow(t,(o+u)/d);let y=(t,n)=>{let r=h,o=e.pow(n,s),l=e.sqr(o);l=e.mul(l,n);let f=e.mul(t,l);f=e.pow(f,i),f=e.mul(f,o),o=e.mul(f,n),l=e.mul(f,t);let p=e.mul(l,o);f=e.pow(p,c);let y=e.eql(f,e.ONE);o=e.mul(l,m),f=e.mul(p,r),l=e.cmov(o,l,y),p=e.cmov(f,p,y);for(let i=a;i>u;i--){let t=d**(i-d),n=e.pow(p,t);const a=e.eql(n,e.ONE);o=e.mul(l,r),r=e.mul(r,r),n=e.mul(p,r),l=e.cmov(o,l,a),p=e.cmov(n,p,a)}return{isValid:y,value:l}};if(e.ORDER%p===f){const n=(e.ORDER-f)/p,r=e.sqrt(e.neg(t));y=(t,a)=>{let o=e.sqr(a);const i=e.mul(t,a);o=e.mul(o,i);let s=e.pow(o,n);s=e.mul(s,i);const c=e.mul(s,r),l=e.mul(e.sqr(s),a),u=e.eql(l,t);return{isValid:u,value:e.cmov(c,s,u)}}}return y}t.weierstrassPoints=h,t.weierstrass=function(e){const n=function(e){const t=(0,i.validateBasic)(e);return a.validateObject(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:s,n:c}=n,d=s.BYTES+1,f=2*s.BYTES+1;function p(e){return r.mod(e,c)}function m(e){return r.invert(e,c)}const{ProjectivePoint:y,normPrivateKeyToScalar:b,weierstrassEquation:g,isWithinCurveOrder:v}=h({...n,toBytes(e,t,n){const r=t.toAffine(),o=s.toBytes(r.x),i=a.concatBytes;return n?i(Uint8Array.from([t.hasEvenY()?2:3]),o):i(Uint8Array.from([4]),o,s.toBytes(r.y))},fromBytes(e){const t=e.length,n=e[0],r=e.subarray(1);if(t!==d||2!==n&&3!==n){if(t===f&&4===n){return{x:s.fromBytes(r.subarray(0,s.BYTES)),y:s.fromBytes(r.subarray(s.BYTES,2*s.BYTES))}}throw new Error("Point of length ".concat(t," was invalid. Expected ").concat(d," compressed bytes or ").concat(f," uncompressed bytes"))}{const e=a.bytesToNumberBE(r);if(!(l<(o=e)&&oa.bytesToHex(a.numberToBytesBE(e,n.nByteLength));function w(e){return e>c>>u}function k(e){return w(e)?p(-e):e}const _=(e,t,n)=>a.bytesToNumberBE(e.slice(t,n));class S{constructor(e,t,n){this.r=e,this.s=t,this.recovery=n,this.assertValidity()}static fromCompact(e){const t=n.nByteLength;return e=(0,o.ensureBytes)("compactSignature",e,2*t),new S(_(e,0,t),_(e,t,2*t))}static fromDER(e){const{r:n,s:r}=t.DER.toSig((0,o.ensureBytes)("DER",e));return new S(n,r)}assertValidity(){if(!v(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!v(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new S(this.r,this.s,e)}recoverPublicKey(e){const{r:t,s:r,recovery:a}=this,i=O((0,o.ensureBytes)("msgHash",e));if(null==a||![0,1,2,3].includes(a))throw new Error("recovery id invalid");const c=2===a||3===a?t+n.n:t;if(c>=s.ORDER)throw new Error("recovery id 2 or 3 invalid");const l=0===(1&a)?"02":"03",u=y.fromHex(l+x(c)),d=m(c),f=p(-i*d),h=p(r*d),b=y.BASE.multiplyAndAddUnsafe(u,f,h);if(!b)throw new Error("point at infinify");return b.assertValidity(),b}hasHighS(){return w(this.s)}normalizeS(){return this.hasHighS()?new S(this.r,p(-this.s),this.recovery):this}toDERRawBytes(){return a.hexToBytes(this.toDERHex())}toDERHex(){return t.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return a.hexToBytes(this.toCompactHex())}toCompactHex(){return x(this.r)+x(this.s)}}const E={isValidPrivateKey(e){try{return b(e),!0}catch(t){return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{const e=n.randomBytes(s.BYTES+8),t=r.hashToPrivateScalar(e,c);return a.numberToBytesBE(t,n.nByteLength)},precompute(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.BASE;return t._setWindowSize(e),t.multiply(BigInt(3)),t}};function P(e){const t=e instanceof Uint8Array,n="string"===typeof e,r=(t||n)&&e.length;return t?r===d||r===f:n?r===2*d||r===2*f:e instanceof y}const A=n.bits2int||function(e){const t=a.bytesToNumberBE(e),r=8*e.length-n.nBitLength;return r>0?t>>BigInt(r):t},O=n.bits2int_modN||function(e){return p(A(e))},T=a.bitMask(n.nBitLength);function N(e){if("bigint"!==typeof e)throw new Error("bigint expected");if(!(l<=e&&e2&&void 0!==arguments[2]?arguments[2]:I;if(["recovered","canonical"].some((e=>e in r)))throw new Error("sign() legacy options not supported");const{hash:i,randomBytes:c}=n;let{lowS:d,prehash:f,extraEntropy:h}=r;null==d&&(d=!0),e=(0,o.ensureBytes)("msgHash",e),f&&(e=(0,o.ensureBytes)("prehashed msgHash",i(e)));const g=O(e),x=b(t),_=[N(x),N(g)];if(null!=h){const e=!0===h?c(s.BYTES):h;_.push((0,o.ensureBytes)("extraEntropy",e,s.BYTES))}const E=a.concatBytes(..._),P=g;function T(e){const t=A(e);if(!v(t))return;const n=m(t),r=y.BASE.multiply(t).toAffine(),a=p(r.x);if(a===l)return;const o=p(n*p(P+a*x));if(o===l)return;let i=(r.x===a?0:2)|Number(r.y&u),s=o;return d&&w(o)&&(s=k(o),i^=1),new S(a,s,i)}return{seed:E,k2sig:T}}const I={lowS:n.lowS,prehash:!1},M={lowS:n.lowS,prehash:!1};return y.BASE._setWindowSize(8),{CURVE:n,getPublicKey:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return y.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(P(e))throw new Error("first arg must be private key");if(!P(t))throw new Error("second arg must be public key");const r=y.fromHex(t);return r.multiply(b(e)).toRawBytes(n)},sign:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I;const{seed:o,k2sig:i}=C(e,t,r),s=a.createHmacDrbg(n.hash.outputLen,n.nByteLength,n.hmac);return s(o,i)},verify:function(e,r,a){var i;let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:M;const c=e;if(r=(0,o.ensureBytes)("msgHash",r),a=(0,o.ensureBytes)("publicKey",a),"strict"in s)throw new Error("options.strict was renamed to lowS");const{lowS:l,prehash:u}=s;let d,f;try{if("string"===typeof c||c instanceof Uint8Array)try{d=S.fromDER(c)}catch(E){if(!(E instanceof t.DER.Err))throw E;d=S.fromCompact(c)}else{if("object"!==typeof c||"bigint"!==typeof c.r||"bigint"!==typeof c.s)throw new Error("PARSE");{const{r:e,s:t}=c;d=new S(e,t)}}f=y.fromHex(a)}catch(P){if("PARSE"===P.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(l&&d.hasHighS())return!1;u&&(r=n.hash(r));const{r:h,s:b}=d,g=O(r),v=m(b),x=p(g*v),w=p(h*v),k=null===(i=y.BASE.multiplyAndAddUnsafe(f,x,w))||void 0===i?void 0:i.toAffine();if(!k)return!1;const _=p(k.x);return _===h},ProjectivePoint:y,Signature:S,utils:E}},t.SWUFpSqrtRatio=m,t.mapToCurveSimpleSWU=function(e,t){if(r.validateField(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=m(e,t.Z);if(!e.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let a,o,i,s,c,l,u,d;a=e.sqr(r),a=e.mul(a,t.Z),o=e.sqr(a),o=e.add(o,a),i=e.add(o,e.ONE),i=e.mul(i,t.B),s=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),s=e.mul(s,t.A),o=e.sqr(i),l=e.sqr(s),c=e.mul(l,t.A),o=e.add(o,c),o=e.mul(o,i),l=e.mul(l,s),c=e.mul(l,t.B),o=e.add(o,c),u=e.mul(a,i);const{isValid:f,value:p}=n(o,l);d=e.mul(a,r),d=e.mul(d,p),u=e.cmov(u,i,f),d=e.cmov(d,p,f);const h=e.isOdd(r)===e.isOdd(d);return d=e.cmov(e.neg(d),d,h),u=e.div(u,s),{x:u,y:d}}}},9984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hash_to_ristretto255=t.RistrettoPoint=t.encodeToCurve=t.hashToCurve=t.edwardsToMontgomery=t.x25519=t.ed25519ph=t.ed25519ctx=t.ed25519=t.ED25519_TORSION_SUBGROUP=void 0;const r=n(1855),a=n(4361),o=n(4303),i=n(7232),s=n(7701),c=n(3500),l=n(4464),u=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),d=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),f=BigInt(0),p=BigInt(1),h=BigInt(2),m=BigInt(5),y=BigInt(10),b=BigInt(20),g=BigInt(40),v=BigInt(80);function x(e){const t=u,n=e*e%t*e%t,r=(0,s.pow2)(n,h,t)*n%t,a=(0,s.pow2)(r,p,t)*e%t,o=(0,s.pow2)(a,m,t)*a%t,i=(0,s.pow2)(o,y,t)*o%t,c=(0,s.pow2)(i,b,t)*i%t,l=(0,s.pow2)(c,g,t)*c%t,d=(0,s.pow2)(l,v,t)*l%t,f=(0,s.pow2)(d,v,t)*l%t,x=(0,s.pow2)(f,y,t)*o%t;return{pow_p_5_8:(0,s.pow2)(x,h,t)*e%t,b2:n}}function w(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function k(e,t){const n=u,r=(0,s.mod)(t*t*t,n),a=x(e*(0,s.mod)(r*r*t,n)).pow_p_5_8;let o=(0,s.mod)(e*r*a,n);const i=(0,s.mod)(t*o*o,n),c=o,l=(0,s.mod)(o*d,n),f=i===e,p=i===(0,s.mod)(-e,n),h=i===(0,s.mod)(-e*d,n);return f&&(o=c),(p||h)&&(o=l),(0,s.isNegativeLE)(o,n)&&(o=(0,s.mod)(-o,n)),{isValid:f||p,value:o}}t.ED25519_TORSION_SUBGROUP=["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"];const _=(0,s.Field)(u,void 0,!0),S={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:_,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:r.sha512,randomBytes:a.randomBytes,adjustScalarBytes:w,uvRatio:k};function E(e,t,n){if(t.length>255)throw new Error("Context is too big");return(0,a.concatBytes)((0,a.utf8ToBytes)("SigEd25519 no Ed25519 collisions"),new Uint8Array([n?1:0,t.length]),t,e)}t.ed25519=(0,o.twistedEdwards)(S),t.ed25519ctx=(0,o.twistedEdwards)({...S,domain:E}),t.ed25519ph=(0,o.twistedEdwards)({...S,domain:E,prehash:r.sha512}),t.x25519=(0,i.montgomery)({P:u,a:BigInt(486662),montgomeryBits:255,nByteLength:32,Gu:BigInt(9),powPminus2:e=>{const t=u,{pow_p_5_8:n,b2:r}=x(e);return(0,s.mod)((0,s.pow2)(n,BigInt(3),t)*r,t)},adjustScalarBytes:w,randomBytes:a.randomBytes}),t.edwardsToMontgomery=function(e){const{y:n}=t.ed25519.ExtendedPoint.fromHex(e),r=BigInt(1);return _.toBytes(_.create((n-r)*_.inv(n+r)))};const P=(_.ORDER+BigInt(3))/BigInt(8),A=_.pow(h,P),O=_.sqrt(_.neg(_.ONE)),T=(_.ORDER-BigInt(5))/BigInt(8),N=BigInt(486662);const C=(0,s.FpSqrtEven)(_,_.neg(BigInt(486664)));function I(e){const{xMn:t,xMd:n,yMn:r,yMd:a}=function(e){let t=_.sqr(e);t=_.mul(t,h);let n=_.add(t,_.ONE),r=_.neg(N),a=_.sqr(n),o=_.mul(a,n),i=_.mul(t,N);i=_.mul(i,r),i=_.add(i,a),i=_.mul(i,r);let s=_.sqr(o);a=_.sqr(s),s=_.mul(s,o),s=_.mul(s,i),a=_.mul(a,s);let c=_.pow(a,T);c=_.mul(c,s);let l=_.mul(c,O);a=_.sqr(c),a=_.mul(a,o);let u=_.eql(a,i),d=_.cmov(l,c,u),f=_.mul(r,t),m=_.mul(c,e);m=_.mul(m,A);let y=_.mul(m,O),b=_.mul(i,t);a=_.sqr(m),a=_.mul(a,o);let g=_.eql(a,b),v=_.cmov(y,m,g);a=_.sqr(d),a=_.mul(a,o);let x=_.eql(a,i),w=_.cmov(f,r,x),k=_.cmov(v,d,x),S=_.isOdd(k);return k=_.cmov(k,_.neg(k),x!==S),{xMn:w,xMd:n,yMn:k,yMd:p}}(e);let o=_.mul(t,a);o=_.mul(o,C);let i=_.mul(n,r),s=_.sub(t,n),c=_.add(t,n),l=_.mul(i,c),u=_.eql(l,_.ZERO);o=_.cmov(o,_.ZERO,u),i=_.cmov(i,_.ONE,u),s=_.cmov(s,_.ONE,u),c=_.cmov(c,_.ONE,u);const d=_.invertBatch([i,c]);return{x:_.mul(o,d[0]),y:_.mul(s,d[1])}}const{hashToCurve:M,encodeToCurve:j}=l.createHasher(t.ed25519.ExtendedPoint,(e=>I(e[0])),{DST:"edwards25519_XMD:SHA-512_ELL2_RO_",encodeDST:"edwards25519_XMD:SHA-512_ELL2_NU_",p:_.ORDER,m:1,k:128,expand:"xmd",hash:r.sha512});function B(e){if(!(e instanceof W))throw new Error("RistrettoPoint expected")}t.hashToCurve=M,t.encodeToCurve=j;const R=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),V=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),U=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),L=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),H=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),D=e=>k(p,e),z=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),F=e=>t.ed25519.CURVE.Fp.create((0,c.bytesToNumberLE)(e)&z);function q(e){const{d:n}=t.ed25519.CURVE,r=t.ed25519.CURVE.Fp.ORDER,a=t.ed25519.CURVE.Fp.create,o=a(R*e*e),i=a((o+p)*L);let c=BigInt(-1);const l=a((c-n*o)*a(o+n));let{isValid:u,value:d}=k(i,l),f=a(d*e);(0,s.isNegativeLE)(f,r)||(f=a(-f)),u||(d=f),u||(c=o);const h=a(c*(o-p)*H-l),m=d*d,y=a((d+d)*l),b=a(h*V),g=a(p-m),v=a(p+m);return new t.ed25519.ExtendedPoint(a(y*v),a(g*b),a(b*v),a(y*g))}class W{constructor(e){this.ep=e}static fromAffine(e){return new W(t.ed25519.ExtendedPoint.fromAffine(e))}static hashToCurve(e){e=(0,c.ensureBytes)("ristrettoHash",e,64);const t=q(F(e.slice(0,32))),n=q(F(e.slice(32,64)));return new W(t.add(n))}static fromHex(e){e=(0,c.ensureBytes)("ristrettoHex",e,32);const{a:n,d:r}=t.ed25519.CURVE,a=t.ed25519.CURVE.Fp.ORDER,o=t.ed25519.CURVE.Fp.create,i="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",l=F(e);if(!(0,c.equalBytes)((0,c.numberToBytesLE)(l,32),e)||(0,s.isNegativeLE)(l,a))throw new Error(i);const u=o(l*l),d=o(p+n*u),h=o(p-n*u),m=o(d*d),y=o(h*h),b=o(n*r*m-y),{isValid:g,value:v}=D(o(b*y)),x=o(v*h),w=o(v*x*b);let k=o((l+l)*x);(0,s.isNegativeLE)(k,a)&&(k=o(-k));const _=o(d*w),S=o(k*_);if(!g||(0,s.isNegativeLE)(S,a)||_===f)throw new Error(i);return new W(new t.ed25519.ExtendedPoint(k,_,p,S))}toRawBytes(){let{ex:e,ey:n,ez:r,et:a}=this.ep;const o=t.ed25519.CURVE.Fp.ORDER,i=t.ed25519.CURVE.Fp.create,l=i(i(r+n)*i(r-n)),u=i(e*n),d=i(u*u),{value:f}=D(i(l*d)),p=i(f*l),h=i(f*u),m=i(p*h*a);let y;if((0,s.isNegativeLE)(a*m,o)){let t=i(n*R),r=i(e*R);e=t,n=r,y=i(p*U)}else y=h;(0,s.isNegativeLE)(e*m,o)&&(n=i(-n));let b=i((r-n)*y);return(0,s.isNegativeLE)(b,o)&&(b=i(-b)),(0,c.numberToBytesLE)(b,32)}toHex(){return(0,c.bytesToHex)(this.toRawBytes())}toString(){return this.toHex()}equals(e){B(e);const{ex:n,ey:r}=this.ep,{ex:a,ey:o}=e.ep,i=t.ed25519.CURVE.Fp.create,s=i(n*o)===i(r*a),c=i(r*o)===i(n*a);return s||c}add(e){return B(e),new W(this.ep.add(e.ep))}subtract(e){return B(e),new W(this.ep.subtract(e.ep))}multiply(e){return new W(this.ep.multiply(e))}multiplyUnsafe(e){return new W(this.ep.multiplyUnsafe(e))}}W.BASE=new W(t.ed25519.ExtendedPoint.BASE),W.ZERO=new W(t.ed25519.ExtendedPoint.ZERO),t.RistrettoPoint=W;t.hash_to_ristretto255=(e,t)=>{const n=t.DST,o="string"===typeof n?(0,a.utf8ToBytes)(n):n,i=l.expand_message_xmd(e,o,64,r.sha512);return W.hashToCurve(i)}},6088:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.encodeToCurve=t.hashToCurve=t.schnorr=t.secp256k1=void 0;const a=n(4304),o=n(4361),i=n(7701),s=n(2846),c=n(3500),l=n(4464),u=n(7525),d=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),f=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),p=BigInt(1),h=BigInt(2),m=(e,t)=>(e+t/h)/t;function y(e){const t=d,n=BigInt(3),r=BigInt(6),a=BigInt(11),o=BigInt(22),s=BigInt(23),c=BigInt(44),l=BigInt(88),u=e*e*e%t,f=u*u*e%t,p=(0,i.pow2)(f,n,t)*f%t,m=(0,i.pow2)(p,n,t)*f%t,y=(0,i.pow2)(m,h,t)*u%t,g=(0,i.pow2)(y,a,t)*y%t,v=(0,i.pow2)(g,o,t)*g%t,x=(0,i.pow2)(v,c,t)*v%t,w=(0,i.pow2)(x,l,t)*x%t,k=(0,i.pow2)(w,c,t)*v%t,_=(0,i.pow2)(k,n,t)*f%t,S=(0,i.pow2)(_,s,t)*g%t,E=(0,i.pow2)(S,r,t)*u%t,P=(0,i.pow2)(E,h,t);if(!b.eql(b.sqr(P),e))throw new Error("Cannot find square root");return P}const b=(0,i.Field)(d,void 0,void 0,{sqrt:y});t.secp256k1=(0,u.createCurve)({a:BigInt(0),b:BigInt(7),Fp:b,n:f,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=f,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-p*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,s=BigInt("0x100000000000000000000000000000000"),c=m(o*e,t),l=m(-r*e,t);let u=(0,i.mod)(e-c*n-l*a,t),d=(0,i.mod)(-c*r-l*o,t);const h=u>s,y=d>s;if(h&&(u=t-u),y&&(d=t-d),u>s||d>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:h,k1:u,k2neg:y,k2:d}}}},a.sha256);const g=BigInt(0),v=e=>"bigint"===typeof e&&ge.charCodeAt(0))));t=(0,c.concatBytes)(n,n),x[e]=t}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;oe.toRawBytes(!0).slice(1),_=e=>(0,c.numberToBytesBE)(e,32),S=e=>(0,i.mod)(e,d),E=e=>(0,i.mod)(e,f),P=t.secp256k1.ProjectivePoint;function A(e){let n=t.secp256k1.utils.normPrivateKeyToScalar(e),r=P.fromPrivateKey(n);return{scalar:r.hasEvenY()?n:E(-n),bytes:k(r)}}function O(e){if(!v(e))throw new Error("bad x: need 0 < x < p");const t=S(e*e);let n=y(S(t*e+BigInt(7)));n%h!==g&&(n=S(-n));const r=new P(e,n,p);return r.assertValidity(),r}function T(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:(0,o.randomBytes)(32);const r=(0,c.ensureBytes)("message",e),{bytes:a,scalar:i}=A(t),s=(0,c.ensureBytes)("auxRand",n,32),l=_(i^(0,c.bytesToNumberBE)(w("BIP0340/aux",s))),u=w("BIP0340/nonce",l,a,r),d=E((0,c.bytesToNumberBE)(u));if(d===g)throw new Error("sign failed: k is zero");const{bytes:f,scalar:p}=A(d),h=T(f,a,r),m=new Uint8Array(64);if(m.set(f,0),m.set(_(E(p+h*i)),32),!N(m,r,a))throw new Error("sign: Invalid signature produced");return m},verify:N,utils:{randomPrivateKey:t.secp256k1.utils.randomPrivateKey,lift_x:O,pointToBytes:k,numberToBytesBE:c.numberToBytesBE,bytesToNumberBE:c.bytesToNumberBE,taggedHash:w,mod:i.mod}};const C=l.isogenyMap(b,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map((e=>e.map((e=>BigInt(e)))))),I=(0,s.mapToCurveSimpleSWU)(b,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:b.create(BigInt("-11"))});r=l.createHasher(t.secp256k1.ProjectivePoint,(e=>{const{x:t,y:n}=I(b.create(e[0]));return C(t,n)}),{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:b.ORDER,m:1,k:128,expand:"xmd",hash:a.sha256}),t.hashToCurve=r.hashToCurve,t.encodeToCurve=r.encodeToCurve},4337:(e,t)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Wrong positive integer: ".concat(e))}function r(e){if("boolean"!==typeof e)throw new Error("Expected boolean, not ".concat(e))}function a(e){if(!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&!n.includes(e.length))throw new TypeError("Expected Uint8Array of length ".concat(n,", not of length=").concat(e.length))}function o(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){a(e);const n=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLAKE2=t.SIGMA=void 0;const r=n(4337),a=n(4361);t.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class o extends a.Hash{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;if(super(),this.blockLen=e,this.outputLen=t,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,r.default.number(e),r.default.number(t),r.default.number(o),t<0||t>o)throw new Error("outputLen bigger than keyLen");if(void 0!==n.key&&(n.key.length<1||n.key.length>o))throw new Error("key must be up 1..".concat(o," byte long or undefined"));if(void 0!==n.salt&&n.salt.length!==i)throw new Error("salt must be ".concat(i," byte long or undefined"));if(void 0!==n.personalization&&n.personalization.length!==s)throw new Error("personalization must be ".concat(s," byte long or undefined"));this.buffer32=(0,a.u32)(this.buffer=new Uint8Array(e))}update(e){r.default.exists(this);const{blockLen:t,buffer:n,buffer32:o}=this,i=(e=(0,a.toBytes)(e)).length;for(let r=0;ro[t]=e))}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){const{buffer:t,length:n,finished:r,destroyed:a,outputLen:o,pos:i}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.length=n,e.finished=r,e.destroyed=a,e.outputLen=o,e.buffer.set(t),e.pos=i,e}}t.BLAKE2=o},747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;const r=n(4337),a=n(4361);class o extends a.Hash{constructor(e,t,n,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,a.createView)(this.buffer)}update(e){r.default.exists(this);const{view:t,buffer:n,blockLen:o}=this,i=(e=(0,a.toBytes)(e)).length;for(let r=0;ro-s&&(this.process(n,0),s=0);for(let r=s;r>a&o),s=Number(n&o),c=r?4:0,l=r?0:4;e.setUint32(t+c,i,r),e.setUint32(t+l,s,r)}(n,o-8,BigInt(8*this.length),i),this.process(n,0);const c=(0,a.createView)(e),l=this.outputLen;if(l%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=l/4,d=this.get();if(u>d.length)throw new Error("_sha2: outputLen bigger than state");for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;const n=BigInt(2**32-1),r=BigInt(32);function a(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);function i(e,t,n,r){const a=(t>>>0)+(r>>>0);return{h:e+n+(a/2**32|0)|0,l:0|a}}t.add=i;const s={fromBig:a,split:o,toBig:t.toBig,shrSH:(e,t,n)=>e>>>n,shrSL:(e,t,n)=>e<<32-n|t>>>n,rotrSH:(e,t,n)=>e>>>n|t<<32-n,rotrSL:(e,t,n)=>e<<32-n|t>>>n,rotrBH:(e,t,n)=>e<<64-n|t>>>n-32,rotrBL:(e,t,n)=>e>>>n-32|t<<64-n,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,n)=>e<>>32-n,rotlSL:(e,t,n)=>t<>>32-n,rotlBH:(e,t,n)=>t<>>64-n,rotlBL:(e,t,n)=>e<>>64-n,add:i,add3L:(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),add3H:(e,t,n,r)=>t+n+r+(e/2**32|0)|0,add4L:(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),add4H:(e,t,n,r,a)=>t+n+r+a+(e/2**32|0)|0,add5H:(e,t,n,r,a,o)=>t+n+r+a+o+(e/2**32|0)|0,add5L:(e,t,n,r,a)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(a>>>0)};t.default=s},4456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blake2b=void 0;const r=n(7779),a=n(4995),o=n(4361),i=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),s=new Uint32Array(32);function c(e,t,n,r,o,i){const c=o[i],l=o[i+1];let u=s[2*e],d=s[2*e+1],f=s[2*t],p=s[2*t+1],h=s[2*n],m=s[2*n+1],y=s[2*r],b=s[2*r+1],g=a.default.add3L(u,f,c);d=a.default.add3H(g,d,p,l),u=0|g,({Dh:b,Dl:y}={Dh:b^d,Dl:y^u}),({Dh:b,Dl:y}={Dh:a.default.rotr32H(b,y),Dl:a.default.rotr32L(b,y)}),({h:m,l:h}=a.default.add(m,h,b,y)),({Bh:p,Bl:f}={Bh:p^m,Bl:f^h}),({Bh:p,Bl:f}={Bh:a.default.rotrSH(p,f,24),Bl:a.default.rotrSL(p,f,24)}),s[2*e]=u,s[2*e+1]=d,s[2*t]=f,s[2*t+1]=p,s[2*n]=h,s[2*n+1]=m,s[2*r]=y,s[2*r+1]=b}function l(e,t,n,r,o,i){const c=o[i],l=o[i+1];let u=s[2*e],d=s[2*e+1],f=s[2*t],p=s[2*t+1],h=s[2*n],m=s[2*n+1],y=s[2*r],b=s[2*r+1],g=a.default.add3L(u,f,c);d=a.default.add3H(g,d,p,l),u=0|g,({Dh:b,Dl:y}={Dh:b^d,Dl:y^u}),({Dh:b,Dl:y}={Dh:a.default.rotrSH(b,y,16),Dl:a.default.rotrSL(b,y,16)}),({h:m,l:h}=a.default.add(m,h,b,y)),({Bh:p,Bl:f}={Bh:p^m,Bl:f^h}),({Bh:p,Bl:f}={Bh:a.default.rotrBH(p,f,63),Bl:a.default.rotrBL(p,f,63)}),s[2*e]=u,s[2*e+1]=d,s[2*t]=f,s[2*t+1]=p,s[2*n]=h,s[2*n+1]=m,s[2*r]=y,s[2*r+1]=b}class u extends r.BLAKE2{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(128,void 0===e.dkLen?64:e.dkLen,e,64,16,16),this.v0l=0|i[0],this.v0h=0|i[1],this.v1l=0|i[2],this.v1h=0|i[3],this.v2l=0|i[4],this.v2h=0|i[5],this.v3l=0|i[6],this.v3h=0|i[7],this.v4l=0|i[8],this.v4h=0|i[9],this.v5l=0|i[10],this.v5h=0|i[11],this.v6l=0|i[12],this.v6h=0|i[13],this.v7l=0|i[14],this.v7h=0|i[15];const t=e.key?e.key.length:0;if(this.v0l^=this.outputLen|t<<8|65536|1<<24,e.salt){const t=(0,o.u32)((0,o.toBytes)(e.salt));this.v4l^=t[0],this.v4h^=t[1],this.v5l^=t[2],this.v5h^=t[3]}if(e.personalization){const t=(0,o.u32)((0,o.toBytes)(e.personalization));this.v6l^=t[0],this.v6h^=t[1],this.v7l^=t[2],this.v7h^=t[3]}if(e.key){const t=new Uint8Array(this.blockLen);t.set((0,o.toBytes)(e.key)),this.update(t)}}get(){let{v0l:e,v0h:t,v1l:n,v1h:r,v2l:a,v2h:o,v3l:i,v3h:s,v4l:c,v4h:l,v5l:u,v5h:d,v6l:f,v6h:p,v7l:h,v7h:m}=this;return[e,t,n,r,a,o,i,s,c,l,u,d,f,p,h,m]}set(e,t,n,r,a,o,i,s,c,l,u,d,f,p,h,m){this.v0l=0|e,this.v0h=0|t,this.v1l=0|n,this.v1h=0|r,this.v2l=0|a,this.v2h=0|o,this.v3l=0|i,this.v3h=0|s,this.v4l=0|c,this.v4h=0|l,this.v5l=0|u,this.v5h=0|d,this.v6l=0|f,this.v6h=0|p,this.v7l=0|h,this.v7h=0|m}compress(e,t,n){this.get().forEach(((e,t)=>s[t]=e)),s.set(i,16);let{h:o,l:u}=a.default.fromBig(BigInt(this.length));s[24]=i[8]^u,s[25]=i[9]^o,n&&(s[28]=~s[28],s[29]=~s[29]);let d=0;const f=r.SIGMA;for(let r=0;r<12;r++)c(0,4,8,12,e,t+2*f[d++]),l(0,4,8,12,e,t+2*f[d++]),c(1,5,9,13,e,t+2*f[d++]),l(1,5,9,13,e,t+2*f[d++]),c(2,6,10,14,e,t+2*f[d++]),l(2,6,10,14,e,t+2*f[d++]),c(3,7,11,15,e,t+2*f[d++]),l(3,7,11,15,e,t+2*f[d++]),c(0,5,10,15,e,t+2*f[d++]),l(0,5,10,15,e,t+2*f[d++]),c(1,6,11,12,e,t+2*f[d++]),l(1,6,11,12,e,t+2*f[d++]),c(2,7,8,13,e,t+2*f[d++]),l(2,7,8,13,e,t+2*f[d++]),c(3,4,9,14,e,t+2*f[d++]),l(3,4,9,14,e,t+2*f[d++]);this.v0l^=s[0]^s[16],this.v0h^=s[1]^s[17],this.v1l^=s[2]^s[18],this.v1h^=s[3]^s[19],this.v2l^=s[4]^s[20],this.v2h^=s[5]^s[21],this.v3l^=s[6]^s[22],this.v3h^=s[7]^s[23],this.v4l^=s[8]^s[24],this.v4h^=s[9]^s[25],this.v5l^=s[10]^s[26],this.v5h^=s[11]^s[27],this.v6l^=s[12]^s[28],this.v6h^=s[13]^s[29],this.v7l^=s[14]^s[30],this.v7h^=s[15]^s[31],s.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.blake2b=(0,o.wrapConstructorWithOpts)((e=>new u(e)))},6164:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},5968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=void 0;const r=n(4337),a=n(4361);class o extends a.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,r.default.hash(e);const n=(0,a.toBytes)(t);if(this.iHash=e.create(),"function"!==typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,i=new Uint8Array(o);i.set(n.length>o?e.create().update(n).digest():n);for(let r=0;rnew o(e,t).update(n).digest(),t.hmac.create=(e,t)=>new o(e,t)},2802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;const r=n(4337),a=n(5968),o=n(4361);function i(e,t,n,i){r.default.hash(e);const s=(0,o.checkOpts)({dkLen:32,asyncTick:10},i),{c:c,dkLen:l,asyncTick:u}=s;if(r.default.number(c),r.default.number(l),r.default.number(u),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const d=(0,o.toBytes)(t),f=(0,o.toBytes)(n),p=new Uint8Array(l),h=a.hmac.create(e,d),m=h._cloneInto().update(f);return{c:c,dkLen:l,asyncTick:u,DK:p,PRF:h,PRFSalt:m}}function s(e,t,n,r,a){return e.destroy(),t.destroy(),r&&r.destroy(),a.fill(0),n}t.pbkdf2=function(e,t,n,r){const{c:a,dkLen:c,DK:l,PRF:u,PRFSalt:d}=i(e,t,n,r);let f;const p=new Uint8Array(4),h=(0,o.createView)(p),m=new Uint8Array(u.outputLen);for(let o=1,i=0;i{d._cloneInto(p).update(y).digestInto(y);for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scryptAsync=t.scrypt=void 0;const r=n(4337),a=n(4304),o=n(2802),i=n(4361),s=(e,t)=>e<>>32-t;function c(e,t,n,r,a,o){let i=e[t++]^n[r++],c=e[t++]^n[r++],l=e[t++]^n[r++],u=e[t++]^n[r++],d=e[t++]^n[r++],f=e[t++]^n[r++],p=e[t++]^n[r++],h=e[t++]^n[r++],m=e[t++]^n[r++],y=e[t++]^n[r++],b=e[t++]^n[r++],g=e[t++]^n[r++],v=e[t++]^n[r++],x=e[t++]^n[r++],w=e[t++]^n[r++],k=e[t++]^n[r++],_=i,S=c,E=l,P=u,A=d,O=f,T=p,N=h,C=m,I=y,M=b,j=g,B=v,R=x,V=w,U=k;for(let L=0;L<8;L+=2)A^=s(_+B|0,7),C^=s(A+_|0,9),B^=s(C+A|0,13),_^=s(B+C|0,18),I^=s(O+S|0,7),R^=s(I+O|0,9),S^=s(R+I|0,13),O^=s(S+R|0,18),V^=s(M+T|0,7),E^=s(V+M|0,9),T^=s(E+V|0,13),M^=s(T+E|0,18),P^=s(U+j|0,7),N^=s(P+U|0,9),j^=s(N+P|0,13),U^=s(j+N|0,18),S^=s(_+P|0,7),E^=s(S+_|0,9),P^=s(E+S|0,13),_^=s(P+E|0,18),T^=s(O+A|0,7),N^=s(T+O|0,9),A^=s(N+T|0,13),O^=s(A+N|0,18),j^=s(M+I|0,7),C^=s(j+M|0,9),I^=s(C+j|0,13),M^=s(I+C|0,18),B^=s(U+V|0,7),R^=s(B+U|0,9),V^=s(R+B|0,13),U^=s(V+R|0,18);a[o++]=i+_|0,a[o++]=c+S|0,a[o++]=l+E|0,a[o++]=u+P|0,a[o++]=d+A|0,a[o++]=f+O|0,a[o++]=p+T|0,a[o++]=h+N|0,a[o++]=m+C|0,a[o++]=y+I|0,a[o++]=b+M|0,a[o++]=g+j|0,a[o++]=v+B|0,a[o++]=x+R|0,a[o++]=w+V|0,a[o++]=k+U|0}function l(e,t,n,r,a){let o=r+0,i=r+16*a;for(let s=0;s<16;s++)n[i+s]=e[t+16*(2*a-1)+s];for(let s=0;s0&&(i+=16),c(n,o,e,t+=16,n,i)}function u(e,t,n){const s=(0,i.checkOpts)({dkLen:32,asyncTick:10,maxmem:1073742848},n),{N:c,r:l,p:u,dkLen:d,asyncTick:f,maxmem:p,onProgress:h}=s;if(r.default.number(c),r.default.number(l),r.default.number(u),r.default.number(d),r.default.number(f),r.default.number(p),void 0!==h&&"function"!==typeof h)throw new Error("progressCb should be function");const m=128*l,y=m/4;if(c<=1||0!==(c&c-1)||c>=2**(m/8)||c>2**32)throw new Error("Scrypt: N must be larger than 1, a power of 2, less than 2^(128 * r / 8) and less than 2^32");if(u<0||u>137438953440/m)throw new Error("Scrypt: p must be a positive integer less than or equal to ((2^32 - 1) * 32) / (128 * r)");if(d<0||d>137438953440)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");const b=m*(c+u);if(b>p)throw new Error("Scrypt: parameters too large, ".concat(b," (128 * r * (N + p)) > ").concat(p," (maxmem)"));const g=(0,o.pbkdf2)(a.sha256,e,t,{c:1,dkLen:m*u}),v=(0,i.u32)(g),x=(0,i.u32)(new Uint8Array(m*c)),w=(0,i.u32)(new Uint8Array(m));let k=()=>{};if(h){const e=2*c*u,t=Math.max(Math.floor(e/1e4),1);let n=0;k=()=>{n++,!h||n%t&&n!==e||h(n/e)}}return{N:c,r:l,p:u,dkLen:d,blockSize32:y,V:x,B32:v,B:g,tmp:w,blockMixCb:k,asyncTick:f}}function d(e,t,n,r,i){const s=(0,o.pbkdf2)(a.sha256,e,n,{c:1,dkLen:t});return n.fill(0),r.fill(0),i.fill(0),s}t.scrypt=function(e,t,n){const{N:r,r:a,p:o,dkLen:i,blockSize32:s,V:c,B32:f,B:p,tmp:h,blockMixCb:m}=u(e,t,n);for(let u=0;u{l(f,t,f,t+=c,a),y()})),l(f,(r-1)*c,p,e,a),y(),await(0,i.asyncLoop)(r,b,(t=>{const n=p[e+c-16]%r;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;const r=n(747),a=n(4361),o=(e,t,n)=>e&t^e&n^t&n,i=new Uint32Array([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]),s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),c=new Uint32Array(64);class l extends r.SHA2{constructor(){super(64,32,8,!1),this.A=0|s[0],this.B=0|s[1],this.C=0|s[2],this.D=0|s[3],this.E=0|s[4],this.F=0|s[5],this.G=0|s[6],this.H=0|s[7]}get(){const{A:e,B:t,C:n,D:r,E:a,F:o,G:i,H:s}=this;return[e,t,n,r,a,o,i,s]}set(e,t,n,r,a,o,i,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|i,this.H=0|s}process(e,t){for(let a=0;a<16;a++,t+=4)c[a]=e.getUint32(t,!1);for(let o=16;o<64;o++){const e=c[o-15],t=c[o-2],n=(0,a.rotr)(e,7)^(0,a.rotr)(e,18)^e>>>3,r=(0,a.rotr)(t,17)^(0,a.rotr)(t,19)^t>>>10;c[o]=r+c[o-7]+n+c[o-16]|0}let{A:n,B:r,C:s,D:l,E:u,F:d,G:f,H:p}=this;for(let m=0;m<64;m++){const e=p+((0,a.rotr)(u,6)^(0,a.rotr)(u,11)^(0,a.rotr)(u,25))+((h=u)&d^~h&f)+i[m]+c[m]|0,t=((0,a.rotr)(n,2)^(0,a.rotr)(n,13)^(0,a.rotr)(n,22))+o(n,r,s)|0;p=f,f=d,d=u,u=l+e|0,l=s,s=r,r=n,n=e+t|0}var h;n=n+this.A|0,r=r+this.B|0,s=s+this.C|0,l=l+this.D|0,u=u+this.E|0,d=d+this.F|0,f=f+this.G|0,p=p+this.H|0,this.set(n,r,s,l,u,d,f,p)}roundClean(){c.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class u extends l{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,a.wrapConstructor)((()=>new l)),t.sha224=(0,a.wrapConstructor)((()=>new u))},7883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const r=n(4337),a=n(4995),o=n(4361),[i,s,c]=[[],[],[]],l=BigInt(0),u=BigInt(1),d=BigInt(2),f=BigInt(7),p=BigInt(256),h=BigInt(113);for(let _=0,S=u,E=1,P=0;_<24;_++){[E,P]=[P,(2*E+3*P)%5],i.push(2*(5*P+E)),s.push((_+1)*(_+2)/2%64);let e=l;for(let t=0;t<7;t++)S=(S<>f)*h)%p,S&d&&(e^=u<<(u<n>32?a.default.rotlBH(e,t,n):a.default.rotlSH(e,t,n),g=(e,t,n)=>n>32?a.default.rotlBL(e,t,n):a.default.rotlSL(e,t,n);function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24;const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let r=0;r<10;r++)n[r]=e[r]^e[r+10]^e[r+20]^e[r+30]^e[r+40];for(let r=0;r<10;r+=2){const t=(r+8)%10,a=(r+2)%10,o=n[a],i=n[a+1],s=b(o,i,1)^n[t],c=g(o,i,1)^n[t+1];for(let n=0;n<50;n+=10)e[r+n]^=s,e[r+n+1]^=c}let t=e[2],a=e[3];for(let n=0;n<24;n++){const r=s[n],o=b(t,a,r),c=g(t,a,r),l=i[n];t=e[l],a=e[l+1],e[l]=o,e[l+1]=c}for(let r=0;r<50;r+=10){for(let t=0;t<10;t++)n[t]=e[r+t];for(let t=0;t<10;t++)e[r+t]^=~n[(t+2)%10]&n[(t+4)%10]}e[0]^=m[r],e[1]^=y[r]}n.fill(0)}t.keccakP=v;class x extends o.Hash{constructor(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=a,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,r.default.number(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){v(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){r.default.exists(this);const{blockLen:t,state:n}=this,a=(e=(0,o.toBytes)(e)).length;for(let r=0;r=n&&this.keccak();const o=Math.min(n-this.posOut,a-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return r.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(r.default.output(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:n,outputLen:r,rounds:a,enableXOF:o}=this;return e||(e=new x(t,n,r,o,a)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=a,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=x;const w=(e,t,n)=>(0,o.wrapConstructor)((()=>new x(t,e,n)));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);const k=(e,t,n)=>(0,o.wrapConstructorWithOpts)((function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new x(t,e,void 0===r.dkLen?n:r.dkLen,!0)}));t.shake128=k(31,168,16),t.shake256=k(31,136,32)},1855:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512_224=t.sha512=t.SHA512=void 0;const r=n(747),a=n(4995),o=n(4361),[i,s]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),c=new Uint32Array(80),l=new Uint32Array(80);class u extends r.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:n,Bl:r,Ch:a,Cl:o,Dh:i,Dl:s,Eh:c,El:l,Fh:u,Fl:d,Gh:f,Gl:p,Hh:h,Hl:m}=this;return[e,t,n,r,a,o,i,s,c,l,u,d,f,p,h,m]}set(e,t,n,r,a,o,i,s,c,l,u,d,f,p,h,m){this.Ah=0|e,this.Al=0|t,this.Bh=0|n,this.Bl=0|r,this.Ch=0|a,this.Cl=0|o,this.Dh=0|i,this.Dl=0|s,this.Eh=0|c,this.El=0|l,this.Fh=0|u,this.Fl=0|d,this.Gh=0|f,this.Gl=0|p,this.Hh=0|h,this.Hl=0|m}process(e,t){for(let a=0;a<16;a++,t+=4)c[a]=e.getUint32(t),l[a]=e.getUint32(t+=4);for(let i=16;i<80;i++){const e=0|c[i-15],t=0|l[i-15],n=a.default.rotrSH(e,t,1)^a.default.rotrSH(e,t,8)^a.default.shrSH(e,t,7),r=a.default.rotrSL(e,t,1)^a.default.rotrSL(e,t,8)^a.default.shrSL(e,t,7),o=0|c[i-2],s=0|l[i-2],u=a.default.rotrSH(o,s,19)^a.default.rotrBH(o,s,61)^a.default.shrSH(o,s,6),d=a.default.rotrSL(o,s,19)^a.default.rotrBL(o,s,61)^a.default.shrSL(o,s,6),f=a.default.add4L(r,d,l[i-7],l[i-16]),p=a.default.add4H(f,n,u,c[i-7],c[i-16]);c[i]=0|p,l[i]=0|f}let{Ah:n,Al:r,Bh:o,Bl:u,Ch:d,Cl:f,Dh:p,Dl:h,Eh:m,El:y,Fh:b,Fl:g,Gh:v,Gl:x,Hh:w,Hl:k}=this;for(let _=0;_<80;_++){const e=a.default.rotrSH(m,y,14)^a.default.rotrSH(m,y,18)^a.default.rotrBH(m,y,41),t=a.default.rotrSL(m,y,14)^a.default.rotrSL(m,y,18)^a.default.rotrBL(m,y,41),S=m&b^~m&v,E=y&g^~y&x,P=a.default.add5L(k,t,E,s[_],l[_]),A=a.default.add5H(P,w,e,S,i[_],c[_]),O=0|P,T=a.default.rotrSH(n,r,28)^a.default.rotrBH(n,r,34)^a.default.rotrBH(n,r,39),N=a.default.rotrSL(n,r,28)^a.default.rotrBL(n,r,34)^a.default.rotrBL(n,r,39),C=n&o^n&d^o&d,I=r&u^r&f^u&f;w=0|v,k=0|x,v=0|b,x=0|g,b=0|m,g=0|y,({h:m,l:y}=a.default.add(0|p,0|h,0|A,0|O)),p=0|d,h=0|f,d=0|o,f=0|u,o=0|n,u=0|r;const M=a.default.add3L(O,N,I);n=a.default.add3H(M,A,T,C),r=0|M}({h:n,l:r}=a.default.add(0|this.Ah,0|this.Al,0|n,0|r)),({h:o,l:u}=a.default.add(0|this.Bh,0|this.Bl,0|o,0|u)),({h:d,l:f}=a.default.add(0|this.Ch,0|this.Cl,0|d,0|f)),({h:p,l:h}=a.default.add(0|this.Dh,0|this.Dl,0|p,0|h)),({h:m,l:y}=a.default.add(0|this.Eh,0|this.El,0|m,0|y)),({h:b,l:g}=a.default.add(0|this.Fh,0|this.Fl,0|b,0|g)),({h:v,l:x}=a.default.add(0|this.Gh,0|this.Gl,0|v,0|x)),({h:w,l:k}=a.default.add(0|this.Hh,0|this.Hl,0|w,0|k)),this.set(n,r,o,u,d,f,p,h,m,y,b,g,v,x,w,k)}roundClean(){c.fill(0),l.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.SHA512=u;class d extends u{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends u{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class p extends u{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}t.sha512=(0,o.wrapConstructor)((()=>new u)),t.sha512_224=(0,o.wrapConstructor)((()=>new d)),t.sha512_256=(0,o.wrapConstructor)((()=>new f)),t.sha384=(0,o.wrapConstructor)((()=>new p))},4361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(6164);t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const a=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));t.bytesToHex=function(e){if(!(e instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let n=0;n{},t.asyncLoop=async function(e,n,r){let a=Date.now();for(let o=0;o=0&&ee instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const r=t.reduce(((e,t)=>e+t.length),0),a=new Uint8Array(r);for(let o=0,i=0;oe().update(i(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(i(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(r.crypto&&"function"===typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},8434:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function a(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var i;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{i="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(573).Buffer}catch(O){}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function l(e,t,n,a){for(var o=0,i=0,s=Math.min(e.length,n),c=t;c=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&i0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var a=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(a++,this.negative=1),a=0;a-=3)i=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[o]|=i<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(a=0,o=0;a>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)a=c(e,t,r)<=18?(o-=18,i+=1,this.words[i]|=a>>>26):o+=8;else for(r=(e.length-t)%2===0?t+1:t;r=18?(o-=18,i+=1,this.words[i]|=a>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,a=1;a<=67108863;a*=t)r++;r--,a=a/t|0;for(var o=e.length-n,i=o%r,s=Math.min(o,o-i)+n,c=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(O){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?""}var f=["","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"],p=[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],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var a=0,o=0,i=0;i>>24-a&16777215,(a+=2)>=26&&(a-=26,i--),n=0!==o||i!==this.length-1?f[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=p[e],u=h[e];n="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(u).toString(e);n=(d=d.idivn(u)).isZero()?m+n:f[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},i&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(i,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var a=0|e.words[0],o=0|t.words[0],i=a*o,s=67108863&i,c=i/67108864|0;n.words[0]=s;for(var l=1;l>>26,d=67108863&c,f=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=f;p++){var h=l-p|0;u+=(i=(a=0|e.words[h])*(o=0|t.words[p])+d)/67108864|0,d=67108863&i}n.words[l]=0|d,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var a=this.byteLength(),o=n||Math.max(1,a);r(a<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var i=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](i,a),i},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,a=0,o=0;a>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=i>>>24,o+=2)}if(n=0&&(e[n--]=i>>8&255),n>=0&&(e[n--]=i>>16&255),6===o?(n>=0&&(e[n--]=i>>24&255),r=0,o=0):(r=i>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var a=0;a0&&(this.words[a]=~this.words[a]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,a=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var a=0,o=0;o>>26;for(;0!==a&&o>>26;if(this.length=n.length,0!==a)this.words[this.length]=a,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,a=this.cmp(e);if(0===a)return this.negative=0,this.length=1,this.words[0]=0,this;a>0?(n=this,r=e):(n=e,r=this);for(var o=0,i=0;i>26,this.words[i]=67108863&t;for(;0!==o&&i>26,this.words[i]=67108863&t;if(0===o&&i>>13,p=0|i[1],h=8191&p,m=p>>>13,y=0|i[2],b=8191&y,g=y>>>13,v=0|i[3],x=8191&v,w=v>>>13,k=0|i[4],_=8191&k,S=k>>>13,E=0|i[5],P=8191&E,A=E>>>13,O=0|i[6],T=8191&O,N=O>>>13,C=0|i[7],I=8191&C,M=C>>>13,j=0|i[8],B=8191&j,R=j>>>13,V=0|i[9],U=8191&V,L=V>>>13,H=0|s[0],D=8191&H,z=H>>>13,F=0|s[1],q=8191&F,W=F>>>13,Z=0|s[2],X=8191&Z,K=Z>>>13,G=0|s[3],Y=8191&G,J=G>>>13,Q=0|s[4],$=8191&Q,ee=Q>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ae=0|s[6],oe=8191&ae,ie=ae>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],de=8191&ue,fe=ue>>>13,pe=0|s[9],he=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var ye=(l+(r=Math.imul(d,D))|0)+((8191&(a=(a=Math.imul(d,z))+Math.imul(f,D)|0))<<13)|0;l=((o=Math.imul(f,z))+(a>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(h,D),a=(a=Math.imul(h,z))+Math.imul(m,D)|0,o=Math.imul(m,z);var be=(l+(r=r+Math.imul(d,q)|0)|0)+((8191&(a=(a=a+Math.imul(d,W)|0)+Math.imul(f,q)|0))<<13)|0;l=((o=o+Math.imul(f,W)|0)+(a>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(b,D),a=(a=Math.imul(b,z))+Math.imul(g,D)|0,o=Math.imul(g,z),r=r+Math.imul(h,q)|0,a=(a=a+Math.imul(h,W)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,W)|0;var ge=(l+(r=r+Math.imul(d,X)|0)|0)+((8191&(a=(a=a+Math.imul(d,K)|0)+Math.imul(f,X)|0))<<13)|0;l=((o=o+Math.imul(f,K)|0)+(a>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(x,D),a=(a=Math.imul(x,z))+Math.imul(w,D)|0,o=Math.imul(w,z),r=r+Math.imul(b,q)|0,a=(a=a+Math.imul(b,W)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,W)|0,r=r+Math.imul(h,X)|0,a=(a=a+Math.imul(h,K)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,K)|0;var ve=(l+(r=r+Math.imul(d,Y)|0)|0)+((8191&(a=(a=a+Math.imul(d,J)|0)+Math.imul(f,Y)|0))<<13)|0;l=((o=o+Math.imul(f,J)|0)+(a>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(_,D),a=(a=Math.imul(_,z))+Math.imul(S,D)|0,o=Math.imul(S,z),r=r+Math.imul(x,q)|0,a=(a=a+Math.imul(x,W)|0)+Math.imul(w,q)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(b,X)|0,a=(a=a+Math.imul(b,K)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,K)|0,r=r+Math.imul(h,Y)|0,a=(a=a+Math.imul(h,J)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0;var xe=(l+(r=r+Math.imul(d,$)|0)|0)+((8191&(a=(a=a+Math.imul(d,ee)|0)+Math.imul(f,$)|0))<<13)|0;l=((o=o+Math.imul(f,ee)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,D),a=(a=Math.imul(P,z))+Math.imul(A,D)|0,o=Math.imul(A,z),r=r+Math.imul(_,q)|0,a=(a=a+Math.imul(_,W)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(x,X)|0,a=(a=a+Math.imul(x,K)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,K)|0,r=r+Math.imul(b,Y)|0,a=(a=a+Math.imul(b,J)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,J)|0,r=r+Math.imul(h,$)|0,a=(a=a+Math.imul(h,ee)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(d,ne)|0)|0)+((8191&(a=(a=a+Math.imul(d,re)|0)+Math.imul(f,ne)|0))<<13)|0;l=((o=o+Math.imul(f,re)|0)+(a>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(T,D),a=(a=Math.imul(T,z))+Math.imul(N,D)|0,o=Math.imul(N,z),r=r+Math.imul(P,q)|0,a=(a=a+Math.imul(P,W)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,W)|0,r=r+Math.imul(_,X)|0,a=(a=a+Math.imul(_,K)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(x,Y)|0,a=(a=a+Math.imul(x,J)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,J)|0,r=r+Math.imul(b,$)|0,a=(a=a+Math.imul(b,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(h,ne)|0,a=(a=a+Math.imul(h,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(d,oe)|0)|0)+((8191&(a=(a=a+Math.imul(d,ie)|0)+Math.imul(f,oe)|0))<<13)|0;l=((o=o+Math.imul(f,ie)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(I,D),a=(a=Math.imul(I,z))+Math.imul(M,D)|0,o=Math.imul(M,z),r=r+Math.imul(T,q)|0,a=(a=a+Math.imul(T,W)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,W)|0,r=r+Math.imul(P,X)|0,a=(a=a+Math.imul(P,K)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,K)|0,r=r+Math.imul(_,Y)|0,a=(a=a+Math.imul(_,J)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(x,$)|0,a=(a=a+Math.imul(x,ee)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(b,ne)|0,a=(a=a+Math.imul(b,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(h,oe)|0,a=(a=a+Math.imul(h,ie)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ie)|0;var _e=(l+(r=r+Math.imul(d,ce)|0)|0)+((8191&(a=(a=a+Math.imul(d,le)|0)+Math.imul(f,ce)|0))<<13)|0;l=((o=o+Math.imul(f,le)|0)+(a>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(B,D),a=(a=Math.imul(B,z))+Math.imul(R,D)|0,o=Math.imul(R,z),r=r+Math.imul(I,q)|0,a=(a=a+Math.imul(I,W)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,W)|0,r=r+Math.imul(T,X)|0,a=(a=a+Math.imul(T,K)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,K)|0,r=r+Math.imul(P,Y)|0,a=(a=a+Math.imul(P,J)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,J)|0,r=r+Math.imul(_,$)|0,a=(a=a+Math.imul(_,ee)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(x,ne)|0,a=(a=a+Math.imul(x,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(b,oe)|0,a=(a=a+Math.imul(b,ie)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ie)|0,r=r+Math.imul(h,ce)|0,a=(a=a+Math.imul(h,le)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,le)|0;var Se=(l+(r=r+Math.imul(d,de)|0)|0)+((8191&(a=(a=a+Math.imul(d,fe)|0)+Math.imul(f,de)|0))<<13)|0;l=((o=o+Math.imul(f,fe)|0)+(a>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(U,D),a=(a=Math.imul(U,z))+Math.imul(L,D)|0,o=Math.imul(L,z),r=r+Math.imul(B,q)|0,a=(a=a+Math.imul(B,W)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,W)|0,r=r+Math.imul(I,X)|0,a=(a=a+Math.imul(I,K)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(T,Y)|0,a=(a=a+Math.imul(T,J)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,J)|0,r=r+Math.imul(P,$)|0,a=(a=a+Math.imul(P,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,r=r+Math.imul(_,ne)|0,a=(a=a+Math.imul(_,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(x,oe)|0,a=(a=a+Math.imul(x,ie)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ie)|0,r=r+Math.imul(b,ce)|0,a=(a=a+Math.imul(b,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(h,de)|0,a=(a=a+Math.imul(h,fe)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,fe)|0;var Ee=(l+(r=r+Math.imul(d,he)|0)|0)+((8191&(a=(a=a+Math.imul(d,me)|0)+Math.imul(f,he)|0))<<13)|0;l=((o=o+Math.imul(f,me)|0)+(a>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(U,q),a=(a=Math.imul(U,W))+Math.imul(L,q)|0,o=Math.imul(L,W),r=r+Math.imul(B,X)|0,a=(a=a+Math.imul(B,K)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,K)|0,r=r+Math.imul(I,Y)|0,a=(a=a+Math.imul(I,J)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(T,$)|0,a=(a=a+Math.imul(T,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(P,ne)|0,a=(a=a+Math.imul(P,re)|0)+Math.imul(A,ne)|0,o=o+Math.imul(A,re)|0,r=r+Math.imul(_,oe)|0,a=(a=a+Math.imul(_,ie)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ie)|0,r=r+Math.imul(x,ce)|0,a=(a=a+Math.imul(x,le)|0)+Math.imul(w,ce)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(b,de)|0,a=(a=a+Math.imul(b,fe)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,fe)|0;var Pe=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(a=(a=a+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(a>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(U,X),a=(a=Math.imul(U,K))+Math.imul(L,X)|0,o=Math.imul(L,K),r=r+Math.imul(B,Y)|0,a=(a=a+Math.imul(B,J)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(I,$)|0,a=(a=a+Math.imul(I,ee)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(T,ne)|0,a=(a=a+Math.imul(T,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(P,oe)|0,a=(a=a+Math.imul(P,ie)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ie)|0,r=r+Math.imul(_,ce)|0,a=(a=a+Math.imul(_,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(x,de)|0,a=(a=a+Math.imul(x,fe)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,fe)|0;var Ae=(l+(r=r+Math.imul(b,he)|0)|0)+((8191&(a=(a=a+Math.imul(b,me)|0)+Math.imul(g,he)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(a>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(U,Y),a=(a=Math.imul(U,J))+Math.imul(L,Y)|0,o=Math.imul(L,J),r=r+Math.imul(B,$)|0,a=(a=a+Math.imul(B,ee)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(I,ne)|0,a=(a=a+Math.imul(I,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(T,oe)|0,a=(a=a+Math.imul(T,ie)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ie)|0,r=r+Math.imul(P,ce)|0,a=(a=a+Math.imul(P,le)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,le)|0,r=r+Math.imul(_,de)|0,a=(a=a+Math.imul(_,fe)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,fe)|0;var Oe=(l+(r=r+Math.imul(x,he)|0)|0)+((8191&(a=(a=a+Math.imul(x,me)|0)+Math.imul(w,he)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(a>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(U,$),a=(a=Math.imul(U,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),r=r+Math.imul(B,ne)|0,a=(a=a+Math.imul(B,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(I,oe)|0,a=(a=a+Math.imul(I,ie)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ie)|0,r=r+Math.imul(T,ce)|0,a=(a=a+Math.imul(T,le)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(P,de)|0,a=(a=a+Math.imul(P,fe)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,fe)|0;var Te=(l+(r=r+Math.imul(_,he)|0)|0)+((8191&(a=(a=a+Math.imul(_,me)|0)+Math.imul(S,he)|0))<<13)|0;l=((o=o+Math.imul(S,me)|0)+(a>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(U,ne),a=(a=Math.imul(U,re))+Math.imul(L,ne)|0,o=Math.imul(L,re),r=r+Math.imul(B,oe)|0,a=(a=a+Math.imul(B,ie)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ie)|0,r=r+Math.imul(I,ce)|0,a=(a=a+Math.imul(I,le)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(T,de)|0,a=(a=a+Math.imul(T,fe)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,fe)|0;var Ne=(l+(r=r+Math.imul(P,he)|0)|0)+((8191&(a=(a=a+Math.imul(P,me)|0)+Math.imul(A,he)|0))<<13)|0;l=((o=o+Math.imul(A,me)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(U,oe),a=(a=Math.imul(U,ie))+Math.imul(L,oe)|0,o=Math.imul(L,ie),r=r+Math.imul(B,ce)|0,a=(a=a+Math.imul(B,le)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(I,de)|0,a=(a=a+Math.imul(I,fe)|0)+Math.imul(M,de)|0,o=o+Math.imul(M,fe)|0;var Ce=(l+(r=r+Math.imul(T,he)|0)|0)+((8191&(a=(a=a+Math.imul(T,me)|0)+Math.imul(N,he)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(a>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(U,ce),a=(a=Math.imul(U,le))+Math.imul(L,ce)|0,o=Math.imul(L,le),r=r+Math.imul(B,de)|0,a=(a=a+Math.imul(B,fe)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,fe)|0;var Ie=(l+(r=r+Math.imul(I,he)|0)|0)+((8191&(a=(a=a+Math.imul(I,me)|0)+Math.imul(M,he)|0))<<13)|0;l=((o=o+Math.imul(M,me)|0)+(a>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(U,de),a=(a=Math.imul(U,fe))+Math.imul(L,de)|0,o=Math.imul(L,fe);var Me=(l+(r=r+Math.imul(B,he)|0)|0)+((8191&(a=(a=a+Math.imul(B,me)|0)+Math.imul(R,he)|0))<<13)|0;l=((o=o+Math.imul(R,me)|0)+(a>>>13)|0)+(Me>>>26)|0,Me&=67108863;var je=(l+(r=Math.imul(U,he))|0)+((8191&(a=(a=Math.imul(U,me))+Math.imul(L,he)|0))<<13)|0;return l=((o=Math.imul(L,me))+(a>>>13)|0)+(je>>>26)|0,je&=67108863,c[0]=ye,c[1]=be,c[2]=ge,c[3]=ve,c[4]=xe,c[5]=we,c[6]=ke,c[7]=_e,c[8]=Se,c[9]=Ee,c[10]=Pe,c[11]=Ae,c[12]=Oe,c[13]=Te,c[14]=Ne,c[15]=Ce,c[16]=Ie,c[17]=Me,c[18]=je,0!==l&&(c[19]=l,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,a=0,o=0;o>>26)|0)>>>26,i&=67108863}n.words[o]=s,r=i,i=a}return 0!==r?n.words[o]=r:n.length--,n._strip()}function g(e,t,n){return b(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(y=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?y(this,e,t):n<63?m(this,e,t):n<1024?b(this,e,t):g(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,a,o){for(var i=0;i>>=1)a++;return 1<>>=13,n[2*i+1]=8191&o,o>>>=13;for(i=2*t;i>=26,n+=o/67108864|0,n+=i>>>26,this.words[a]=67108863&i}return 0!==n&&(this.words[a]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>a&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,a=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var i=0;for(t=0;t>>26-n}i&&(this.words[t]=i,this.length++)}if(0!==a){for(t=this.length-1;t>=0;t--)this.words[t+a]=this.words[t];for(t=0;t=0),a=t?(t-t%26)/26:0;var o=e%26,i=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<i)for(this.length-=i,l=0;l=0&&(0!==u||l>=a);l--){var d=0|this.words[l];this.words[l]=u<<26-o|d>>>o,u=d&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,a=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var a=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[a+n]=67108863&o}for(;a>26,this.words[a+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,a=0;a>26,this.words[a]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),a=e,i=0|a.words[a.length-1];0!==(n=26-this._countBits(i))&&(a=a.ushln(n),r.iushln(n),i=0|a.words[a.length-1]);var s,c=r.length-a.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;d--){var f=67108864*(0|r.words[a.length+d])+(0|r.words[a.length+d-1]);for(f=Math.min(f/i|0,67108863),r._ishlnsubmul(a,f,d);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(a,1,d),r.isZero()||(r.negative^=1);s&&(s.words[d]=f)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(a=s.div.neg()),"div"!==t&&(i=s.mod.neg(),n&&0!==i.negative&&i.iadd(e)),{div:a,mod:i}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(a=s.div.neg()),{div:a,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(i=s.mod.neg(),n&&0!==i.negative&&i.isub(e)),{div:s.div,mod:i}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var a,i,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),a=e.andln(1),o=n.cmp(r);return o<0||1===a&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,a=0,o=this.length-1;o>=0;o--)a=(n*a+(0|this.words[o]))%e;return t?-a:a},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,a=this.length-1;a>=0;a--){var o=(0|this.words[a])+67108864*n;this.words[a]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var a=new o(1),i=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var f=0,p=1;0===(t.words[0]&p)&&f<26;++f,p<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(a.isOdd()||i.isOdd())&&(a.iadd(u),i.isub(d)),a.iushrn(1),i.iushrn(1);for(var h=0,m=1;0===(n.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s),i.isub(c)):(n.isub(t),s.isub(a),c.isub(i))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var a,i=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0===(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)i.isOdd()&&i.iadd(c),i.iushrn(1);for(var d=0,f=1;0===(n.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(n.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s)):(n.isub(t),s.isub(i))}return(a=0===t.cmpn(1)?i:s).cmpn(0)<0&&a.iadd(e),a},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var a=t.cmp(n);if(a<0){var o=t;t=n,n=o}else if(0===a||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,a=1<>>26,s&=67108863,this.words[i]=s}return 0!==o&&(this.words[i]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var a=0|this.words[0];t=a===e?0:ae.length)return 1;if(this.length=0;n--){var r=0|this.words[n],a=0|e.words[n];if(r!==a){ra&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new P(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var x={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function P(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){P.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},a(k,w),k.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),a=0;a>>22,o=i}o>>>=22,e.words[a-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=a,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(x[e])return x[e];var t;if("k256"===e)t=new k;else if("p224"===e)t=new _;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return x[e]=t,t},P.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},P.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},P.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},P.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},P.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},P.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},P.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},P.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},P.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},P.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},P.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},P.prototype.isqr=function(e){return this.imul(e,e.clone())},P.prototype.sqr=function(e){return this.mul(e,e)},P.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var a=this.m.subn(1),i=0;!a.isZero()&&0===a.andln(1);)i++,a.iushrn(1);r(!a.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var d=this.pow(u,a),f=this.pow(e,a.addn(1).iushrn(1)),p=this.pow(e,a),h=i;0!==p.cmp(s);){for(var m=p,y=0;0!==m.cmp(s);y++)m=m.redSqr();r(y=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var d=l>>u&1;a!==n[0]&&(a=this.sqr(a)),0!==d||0!==i?(i<<=1,i|=d,(4===++s||0===r&&0===u)&&(a=this.mul(a,n[i]),s=0,i=0)):s=0}c=26}return a},P.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},P.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new A(e)},a(A,P),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=n.isub(r).iushrn(this.shift),o=a;return a.cmp(this.m)>=0?o=a.isub(this.m):a.cmpn(0)<0&&(o=a.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=n.isub(r).iushrn(this.shift),i=a;return a.cmp(this.m)>=0?i=a.isub(this.m):a.cmpn(0)<0&&(i=a.iadd(this.m)),i._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},4848:(e,t)=>{"use strict";function n(e){if(!Number.isSafeInteger(e))throw new Error("Wrong integer: ".concat(e))}function r(){const e=(e,t)=>n=>e(t(n));for(var t=arguments.length,n=new Array(t),r=0;rt?e(t,n.encode):n.encode),void 0),o=n.reduce(((t,n)=>t?e(t,n.decode):n.decode),void 0);return{encode:a,decode:o}}function a(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((t=>{if(n(t),t<0||t>=e.length)throw new Error("Digit index outside alphabet: ".concat(t," (alphabet: ").concat(e.length,")"));return e[t]}))},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((t=>{if("string"!==typeof t)throw new Error("alphabet.decode: not string element=".concat(t));const n=e.indexOf(t);if(-1===n)throw new Error('Unknown letter: "'.concat(t,'". Allowed: ').concat(e));return n}))}}}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("string"!==typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!==typeof e)throw new Error("join.encode: non-string input=".concat(e));return t.join(e)},decode:t=>{if("string"!==typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"=";if(n(e),"string"!==typeof t)throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&"string"!==typeof n[0])throw new Error("padding.encode input should be array of strings");for(let e of n)if("string"!==typeof e)throw new Error("padding.encode: non-string input=".concat(e));for(;n.length*e%8;)n.push(t);return n},decode(n){if(!Array.isArray(n)||n.length&&"string"!==typeof n[0])throw new Error("padding.encode input should be array of strings");for(let e of n)if("string"!==typeof e)throw new Error("padding.decode: non-string input=".concat(e));let r=n.length;if(r*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===t;r--)if(!((r-1)*e%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function s(e){if("function"!==typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function c(e,t,r){if(t<2)throw new Error("convertRadix: wrong from=".concat(t,", base cannot be less than 2"));if(r<2)throw new Error("convertRadix: wrong to=".concat(r,", base cannot be less than 2"));if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let a=0;const o=[],i=Array.from(e);for(i.forEach((e=>{if(n(e),e<0||e>=t)throw new Error("Wrong integer: ".concat(e))}));;){let e=0,n=!0;for(let o=a;ot?l(t,e%t):e,u=(e,t)=>e+(t-l(e,t));function d(e,t,r,a){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error("convertRadix2: wrong from=".concat(t));if(r<=0||r>32)throw new Error("convertRadix2: wrong to=".concat(r));if(u(t,r)>32)throw new Error("convertRadix2: carry overflow from=".concat(t," to=").concat(r," carryBits=").concat(u(t,r)));let o=0,i=0;const s=2**r-1,c=[];for(const l of e){if(n(l),l>=2**t)throw new Error("convertRadix2: invalid data word=".concat(l," from=").concat(t));if(o=o<32)throw new Error("convertRadix2: carry overflow pos=".concat(i," from=").concat(t));for(i+=t;i>=r;i-=r)c.push((o>>i-r&s)>>>0);o&=2**i-1}if(o=o<=t)throw new Error("Excess padding");if(!a&&o)throw new Error("Non-zero padding: ".concat(o));return a&&i>0&&c.push(o>>>0),c}function f(e){return n(e),{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return c(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(c(t,e,256))}}}function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return d(Array.from(n),8,e,!t)},decode:n=>{if(!Array.isArray(n)||n.length&&"number"!==typeof n[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(d(n,e,8,t))}}}function h(e){if("function"!==typeof e)throw new Error("unsafeWrapper fn should be function");return function(){try{for(var t=arguments.length,n=new Array(t),r=0;re.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")))),t.base64=r(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),i(6),o("")),t.base64url=r(p(6),a("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(6),o(""));const y=e=>r(f(58),a(e),o(""));t.base58=y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=y("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=y("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const b=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let n="";for(let r=0;rr(m(4,(t=>e(e(t)))),t.base58);const g=r(a("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),o("")),v=[996825010,642813549,513874426,1027748829,705979059];function x(e){const t=e>>25;let n=(33554431&e)<<5;for(let r=0;r>r&1)&&(n^=v[r]);return n}function w(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r=e.length;let a=1;for(let o=0;o126)throw new Error("Invalid prefix (".concat(e,")"));a=x(a)^t>>5}a=x(a);for(let o=0;o1&&void 0!==arguments[1]?arguments[1]:90;if("string"!==typeof e)throw new Error("bech32.decode input should be string, not ".concat(typeof e));if(e.length<8||!1!==n&&e.length>n)throw new TypeError("Wrong string length: ".concat(e.length," (").concat(e,"). Expected (8..").concat(n,")"));const r=e.toLowerCase();if(e!==r&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");const a=(e=r).lastIndexOf("1");if(0===a||-1===a)throw new Error('Letter "1" must be present between prefix and data only');const o=e.slice(0,a),i=e.slice(a+1);if(i.length<6)throw new Error("Data must be at least 6 characters long");const s=g.decode(i).slice(0,-6),c=w(o,s,t);if(!i.endsWith(c))throw new Error("Invalid checksum in ".concat(e,': expected "').concat(c,'"'));return{prefix:o,words:s}}return{encode:function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90;if("string"!==typeof e)throw new Error("bech32.encode prefix should be string, not ".concat(typeof e));if(!Array.isArray(n)||n.length&&"number"!==typeof n[0])throw new Error("bech32.encode words should be array of numbers, not ".concat(typeof n));const a=e.length+7+n.length;if(!1!==r&&a>r)throw new TypeError("Length ".concat(a," exceeds limit ").concat(r));return e=e.toLowerCase(),"".concat(e,"1").concat(g.encode(n)).concat(w(e,n,t))},decode:i,decodeToBytes:function(e){const{prefix:t,words:n}=i(e,!1);return{prefix:t,words:n,bytes:r(n)}},decodeUnsafe:h(i),fromWords:r,fromWordsUnsafe:o,toWords:a}}t.bech32=k("bech32"),t.bech32m=k("bech32m"),t.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},t.hex=r(p(4),a("0123456789abcdef"),o(""),s((e=>{if("string"!==typeof e||e.length%2)throw new TypeError("hex.decode: expected string, got ".concat(typeof e," with length ").concat(e.length));return e.toLowerCase()})));const _={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: ".concat(Object.keys(_).join(", "));t.bytesToString=(e,t)=>{if("string"!==typeof e||!_.hasOwnProperty(e))throw new TypeError(S);if(!(t instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return _[e].encode(t)},t.str=t.bytesToString;t.stringToBytes=(e,t)=>{if(!_.hasOwnProperty(e))throw new TypeError(S);if("string"!==typeof t)throw new TypeError("stringToBytes() expects string");return _[e].decode(t)},t.bytes=t.stringToBytes},6630:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2618);n(2007);var a=n(2791);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n=0;r-=1)this.handlers[r].called||(this.handlers[r].called=!0,this.handlers[r](e));for(var a=n;a>=0;a-=1)this.handlers[a].called=!1}else(0,this.handlers[n])(e)}},{key:"hasHandlers",value:function(){return this.handlers.length>0}},{key:"removeHandlers",value:function(t){for(var n=[],r=this.handlers.length,a=0;a0;var t=this.handlerSets.get(e);return!!t&&t.hasHandlers()}},{key:"removeHandlers",value:function(t,n){var r=m(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var a=r.get(t).removeHandlers(n);return a.hasHandlers()?r.set(t,a):r.delete(t),new e(this.poolName,r)}}]),e}();l(g,"createByType",(function(e,t,n){var r=new Map;return r.set(t,new h(n)),new g(e,r)}));var v=function(){function e(t){var n=this;i(this,e),l(this,"handlers",new Map),l(this,"pools",new Map),l(this,"target",void 0),l(this,"createEmitter",(function(e){return function(t){n.pools.forEach((function(n){n.dispatchEvent(e,t)}))}})),this.target=t}return c(e,[{key:"addHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e);this.pools.set(e,r.addHandlers(t,n))}else this.pools.set(e,g.createByType(e,t,n));this.handlers.has(t)||this.addTargetHandler(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e).removeHandlers(t,n);r.hasHandlers()?this.pools.set(e,r):this.pools.delete(e);var a=!1;this.pools.forEach((function(e){return a=a||e.hasHandlers(t)})),a||this.removeTargetHandler(t)}}},{key:"addTargetHandler",value:function(e){var t=this.createEmitter(e);this.handlers.set(e,t),this.target.addEventListener(e,t,!0)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e),!0),this.handlers.delete(e))}}]),e}(),x=new(function(){function e(){var t=this;i(this,e),l(this,"targets",new Map),l(this,"getTarget",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=b(e);if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var a=new v(r);return t.targets.set(r,a),a})),l(this,"removeTarget",(function(e){t.targets.delete(b(e))}))}return c(e,[{key:"sub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var a=n.target,o=void 0===a?document:a,i=n.pool,s=void 0===i?"default":i;this.getTarget(o).addHandlers(s,e,y(t))}}},{key:"unsub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var a=n.target,o=void 0===a?document:a,i=n.pool,s=void 0===i?"default":i,c=this.getTarget(o,!1);c&&(c.removeHandlers(s,e,y(t)),c.hasHandlers()||this.removeTarget(o))}}}]),e}()),w=function(e){function t(){return i(this,t),p(this,d(t).apply(this,arguments))}return u(t,a.PureComponent),c(t,[{key:"componentDidMount",value:function(){this.subscribe(this.props)}},{key:"componentDidUpdate",value:function(e){this.unsubscribe(e),this.subscribe(this.props)}},{key:"componentWillUnmount",value:function(){this.unsubscribe(this.props)}},{key:"subscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,a=e.target;x.sub(t,n,{pool:r,target:a})}},{key:"unsubscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,a=e.target;x.unsub(t,n,{pool:r,target:a})}},{key:"render",value:function(){return null}}]),t}();l(w,"defaultProps",{pool:"default",target:"document"}),w.propTypes={},t.instance=x,t.default=w},6775:(e,t,n)=>{"use strict";var r;r=n(6630),e.exports=r.default,e.exports.instance=r.instance},8093:(e,t,n)=>{"use strict";var r=n(1426),a=n(5102);function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i,s,c=n(3372).codes,l=c.ERR_AMBIGUOUS_ARGUMENT,u=c.ERR_INVALID_ARG_TYPE,d=c.ERR_INVALID_ARG_VALUE,f=c.ERR_INVALID_RETURN_VALUE,p=c.ERR_MISSING_ARGS,h=n(4945),m=n(9639).inspect,y=n(9639).types,b=y.isPromise,g=y.isRegExp,v=Object.assign?Object.assign:n(887).assign,x=Object.is?Object.is:n(3454);new Map;function w(){var e=n(6912);i=e.isDeepEqual,s=e.isDeepStrictEqual}var k=!1,_=e.exports=A,S={};function E(e){if(e.message instanceof Error)throw e.message;throw new h(e)}function P(e,t,n,r){if(!n){var a=!1;if(0===t)a=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new h({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=a,o}}function A(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),a=1;a1?n-1:0),a=1;a1?n-1:0),a=1;a1?n-1:0),a=1;a{"use strict";var r=n(1426);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;ne.length)&&(n=e.length),e.substring(n-t.length,n)===t}var b="",g="",v="",x="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function k(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function _(e){return h(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function S(e,t,n){var a="",o="",i=0,s="",c=!1,l=_(e),u=l.split("\n"),d=_(t).split("\n"),f=0,h="";if("strictEqual"===n&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===d.length&&u[0]!==d[0]){var m=u[0].length+d[0].length;if(m<=10){if(("object"!==p(e)||null===e)&&("object"!==p(t)||null===t)&&(0!==e||0!==t))return"".concat(w[n],"\n\n")+"".concat(u[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n){if(m<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;u[0][f]===d[0][f];)f++;f>2&&(h="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",f),"^"),f=0)}}}for(var k=u[u.length-1],S=d[d.length-1];k===S&&(f++<2?s="\n ".concat(k).concat(s):a=k,u.pop(),d.pop(),0!==u.length&&0!==d.length);)k=u[u.length-1],S=d[d.length-1];var E=Math.max(u.length,d.length);if(0===E){var P=l.split("\n");if(P.length>30)for(P[26]="".concat(b,"...").concat(x);P.length>27;)P.pop();return"".concat(w.notIdentical,"\n\n").concat(P.join("\n"),"\n")}f>3&&(s="\n".concat(b,"...").concat(x).concat(s),c=!0),""!==a&&(s="\n ".concat(a).concat(s),a="");var A=0,O=w[n]+"\n".concat(g,"+ actual").concat(x," ").concat(v,"- expected").concat(x),T=" ".concat(b,"...").concat(x," Lines skipped");for(f=0;f1&&f>2&&(N>4?(o+="\n".concat(b,"...").concat(x),c=!0):N>3&&(o+="\n ".concat(d[f-2]),A++),o+="\n ".concat(d[f-1]),A++),i=f,a+="\n".concat(v,"-").concat(x," ").concat(d[f]),A++;else if(d.length1&&f>2&&(N>4?(o+="\n".concat(b,"...").concat(x),c=!0):N>3&&(o+="\n ".concat(u[f-2]),A++),o+="\n ".concat(u[f-1]),A++),i=f,o+="\n".concat(g,"+").concat(x," ").concat(u[f]),A++;else{var C=d[f],I=u[f],M=I!==C&&(!y(I,",")||I.slice(0,-1)!==C);M&&y(C,",")&&C.slice(0,-1)===I&&(M=!1,I+=","),M?(N>1&&f>2&&(N>4?(o+="\n".concat(b,"...").concat(x),c=!0):N>3&&(o+="\n ".concat(u[f-2]),A++),o+="\n ".concat(u[f-1]),A++),i=f,o+="\n".concat(g,"+").concat(x," ").concat(I),a+="\n".concat(v,"-").concat(x," ").concat(C),A+=2):(o+=a,a="",1!==N&&0!==f||(o+="\n ".concat(I),A++))}if(A>20&&f30)for(y[26]="".concat(b,"...").concat(x);y.length>27;)y.pop();n=1===y.length?i(this,f(t).call(this,"".concat(h," ").concat(y[0]))):i(this,f(t).call(this,"".concat(h,"\n\n").concat(y.join("\n"),"\n")))}else{var E=_(l),P="",A=w[o];"notDeepEqual"===o||"notEqual"===o?(E="".concat(w[o],"\n\n").concat(E)).length>1024&&(E="".concat(E.slice(0,1021),"...")):(P="".concat(_(u)),E.length>512&&(E="".concat(E.slice(0,509),"...")),P.length>512&&(P="".concat(P.slice(0,509),"...")),"deepEqual"===o||"equal"===o?E="".concat(A,"\n\n").concat(E,"\n\nshould equal\n\n"):P=" ".concat(o," ").concat(P)),n=i(this,f(t).call(this,"".concat(E).concat(P)))}return Error.stackTraceLimit=d,n.generatedMessage=!a,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=l,n.expected=u,n.operator=o,Error.captureStackTrace&&Error.captureStackTrace(s(n),c),n.stack,n.name="AssertionError",i(n)}var n,c,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,c=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(e,t){return h(this,function(e){for(var t=1;t{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var s,c,l={};function u(e,t,n){n||(n=Error);var r=function(n){function r(n,i,s){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),c=a(this,o(r).call(this,function(e,n,r){return"string"===typeof t?t:t(e,n,r)}(n,i,s))),c.code=e,c}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(r,n),r}(n);l[e]=r}function d(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,a){var o,i,c,l;if(void 0===s&&(s=n(8093)),s("string"===typeof e,"'name' must be a string"),"string"===typeof t&&(i="not ",t.substr(!c||c<0?0:+c,i.length)===i)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))l="The ".concat(e," ").concat(o," ").concat(d(t,"type"));else{var u=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(u," ").concat(o," ").concat(d(t,"type"))}return l+=". Received type ".concat(r(a))}),TypeError),u("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(9639));var a=c.inspect(t);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(a)}),TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var a;return a=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(a,".")}),TypeError),u("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0,"At least one arg needs to be specified");var a="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:a+="".concat(t[0]," argument");break;case 2:a+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:a+=t.slice(0,o-1).join(", "),a+=", and ".concat(t[o-1]," arguments")}return"".concat(a," must be specified")}),TypeError),e.exports.codes=l},6912:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(c){a=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var o=void 0!==/a/g.flags,i=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(3454),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},u=Number.isNaN?Number.isNaN:n(6188);function d(e){return e.call.bind(e)}var f=d(Object.prototype.hasOwnProperty),p=d(Object.prototype.propertyIsEnumerable),h=d(Object.prototype.toString),m=n(9639).types,y=m.isAnyArrayBuffer,b=m.isArrayBufferView,g=m.isDate,v=m.isMap,x=m.isRegExp,w=m.isSet,k=m.isNativeError,_=m.isBoxedPrimitive,S=m.isNumberObject,E=m.isStringObject,P=m.isBooleanObject,A=m.isBigIntObject,O=m.isSymbolObject,T=m.isFloat32Array,N=m.isFloat64Array;function C(e){if(0===e.length||e.length>10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function I(e){return Object.keys(e).filter(C).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function M(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,a=0,o=Math.min(n,r);a{"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=c(e),i=o[0],s=o[1],l=new a(function(e,t,n){return 3*(t+n)/4-n}(0,i,s)),u=0,d=s>0?i-4:i;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,a=r%3,o=[],i=16383,s=0,c=r-a;sc?c:s+i));1===a?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===a&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=o.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var a,o,i=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},9778:(e,t,n)=>{"use strict";var r=n(5102);const a=n(2009),o=n(4038),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=l,t.h2=50;const s=2147483647;function c(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,n)}function u(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|y(e,t);let r=c(n);const a=r.write(e,t);a!==n&&(r=r.slice(0,a));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Y(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const a=function(e){if(l.isBuffer(e)){const t=0|m(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||J(e.length)?c(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(a)return a;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return d(e),c(e<0?0:0|m(e))}function p(e){const t=e.length<0?0:0|m(e.length),n=c(t);for(let r=0;r=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function y(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let a=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(a)return r?-1:X(e).length;t=(""+t).toLowerCase(),a=!0}}function b(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,a){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,a);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function x(e,t,n,r,a){let o,i=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,c/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(a){let r=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){let n=!0;for(let r=0;ra&&(r=a):r=a;const o=t.length;let i;for(r>o/2&&(r=o/2),i=0;i>8,a=n%256,o.push(a),o.push(r);return o}(t,e.length-n),e,n,r)}function P(e,t,n){return 0===t&&n===e.length?a.fromByteArray(e):a.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);const r=[];let a=t;for(;a239?4:t>223?3:t>191?2:1;if(a+i<=n){let n,r,s,c;switch(i){case 1:t<128&&(o=t);break;case 2:n=e[a+1],128===(192&n)&&(c=(31&t)<<6|63&n,c>127&&(o=c));break;case 3:n=e[a+1],r=e[a+2],128===(192&n)&&128===(192&r)&&(c=(15&t)<<12|(63&n)<<6|63&r,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:n=e[a+1],r=e[a+2],s=e[a+3],128===(192&n)&&128===(192&r)&&128===(192&s)&&(c=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,c>65535&&c<1114112&&(o=c))}}null===o?(o=65533,i=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),a+=i}return function(e){const t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,a)):Uint8Array.prototype.set.call(r,t,a);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,a)}a+=t.length}return r},l.byteLength=y,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,a){if(Y(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(a>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0);const s=Math.min(o,i),c=this.slice(r,a),u=e.slice(t,n);for(let l=0;l>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function T(e,t,n){let r="";n=Math.min(e.length,n);for(let a=t;ar)&&(n=r);let a="";for(let o=t;on)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,a,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function B(e,t,n,r,a){F(t,r,a,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,n}function R(e,t,n,r,a){F(t,r,a,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=i,i>>=8,e[n+2]=i,i>>=8,e[n+1]=i,i>>=8,e[n]=i,n+8}function V(e,t,n,r,a,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,a){return t=+t,n>>>=0,a||V(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,a){return t=+t,n>>>=0,a||V(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e],a=1,o=0;for(;++o>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e+--t],a=1;for(;t>0&&(a*=256);)r+=this[e+--t]*a;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=$((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,a=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(a)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],a=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||M(e,t,this.length);let r=this[e],a=1,o=0;for(;++o=a&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);let r=t,a=1,o=this[e+--r];for(;r>0&&(a*=256);)o+=this[e+--r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||M(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||M(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=$((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||M(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||M(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||M(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||M(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}let a=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}let a=n-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=$((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=$((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}let a=0,o=1,i=0;for(this[t]=255&e;++a>0)-i&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}let a=n-1,o=1,i=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===i&&0!==this[t+a+1]&&(i=1),this[t+a]=(e/o>>0)-i&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=$((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=$((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function F(e,t,n,r,a,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(r," and < 2").concat(r," ** ").concat(8*(o+1)).concat(r):">= -(2".concat(r," ** ").concat(8*(o+1)-1).concat(r,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(r):">= ".concat(t).concat(r," and <= ").concat(n).concat(r),new H.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,a,o)}function q(e,t){if("number"!==typeof e)throw new H.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new H.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new H.ERR_BUFFER_OUT_OF_BOUNDS;throw new H.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}D("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),D("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),D("ERR_OUT_OF_RANGE",(function(e,t,n){let r='The value of "'.concat(e,'" is out of range.'),a=n;return Number.isInteger(n)&&Math.abs(n)>2**32?a=z(String(n)):"bigint"===typeof n&&(a=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(a=z(a)),a+="n"),r+=" It must be ".concat(t,". Received ").concat(a),r}),RangeError);const Z=/[^+/0-9A-Za-z-_]/g;function X(e,t){let n;t=t||1/0;const r=e.length;let a=null;const o=[];for(let i=0;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&o.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Z,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function G(e,t,n,r){let a;for(a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function Y(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!==e}const Q=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let a=0;a<16;++a)t[r+a]=e[n]+e[a]}return t}();function $(e){return"undefined"===typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},4037:(e,t,n)=>{"use strict";var r=n(2506),a=n(9722),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?a(n):n}},9722:(e,t,n)=>{"use strict";var r=n(3350),a=n(2506),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),s=a("%Reflect.apply%",!0)||r.call(i,o),c=a("%Object.getOwnPropertyDescriptor%",!0),l=a("%Object.defineProperty%",!0),u=a("%Math.max%");if(l)try{l({},"a",{value:1})}catch(f){l=null}e.exports=function(e){var t=s(r,i,arguments);if(c&&l){var n=c(t,"length");n.configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,o,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},5102:(e,t,n)=>{var r=n(9639),a=n(8093);function o(){return(new Date).getTime()}var i,s=Array.prototype.slice,c={};i="undefined"!==typeof n.g&&n.g.console?n.g.console:"undefined"!==typeof window&&window.console?window.console:{};for(var l=[[function(){},"log"],[function(){i.log.apply(i,arguments)},"info"],[function(){i.log.apply(i,arguments)},"warn"],[function(){i.warn.apply(i,arguments)},"error"],[function(e){c[e]=o()},"time"],[function(e){var t=c[e];if(!t)throw new Error("No such label: "+e);delete c[e];var n=o()-t;i.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),i.error(e.stack)},"trace"],[function(e){i.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);a.ok(!1,r.format.apply(null,t))}},"assert"]],u=0;u{"use strict";var r=n(5102),a=n(2458),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,s,c,l,u,d=!1;t||(t={}),n=t.debug||!1;try{if(s=a(),c=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(a){if(a.stopPropagation(),t.format)if(a.preventDefault(),"undefined"===typeof a.clipboardData){n&&r.warn("unable to use e.clipboardData"),n&&r.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else a.clipboardData.clearData(),a.clipboardData.setData(t.format,e);t.onCopy&&(a.preventDefault(),t.onCopy(a.clipboardData))})),document.body.appendChild(u),c.selectNodeContents(u),l.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");d=!0}catch(f){n&&r.error("unable to copy using execCommand: ",f),n&&r.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(f){n&&r.error("unable to copy using clipboardData: ",f),n&&r.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(c):l.removeAllRanges()),u&&document.body.removeChild(u),s()}return d}},9396:(e,t,n)=>{"use strict";var r=n(4892),a="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),o=Object.prototype.toString,i=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var a;(!(t in e)||"function"===typeof(a=r)&&"[object Function]"===o.call(a)&&r())&&(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);a&&(o=i.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s{"use strict";function t(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,i){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new a(r,o||e,i),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function i(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,o=r.length,i=new Array(o);a{var r;!function(){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},7910:e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,a){if("[object Function]"!==n.call(r))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var i=0;i{"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,a="[object Function]",o=function(e,t){for(var n=[],r=0;r{"use strict";var r=n(222);e.exports=Function.prototype.bind||r},2506:(e,t,n)=>{"use strict";var r,a=SyntaxError,o=Function,i=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(O){c=null}var l=function(){throw new i},u=c?function(){try{return l}catch(e){try{return c(arguments,"callee").get}catch(t){return l}}}():l,d=n(697)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"===typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet},y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=f(a.prototype))}return m[t]=n,n},b={"%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=n(3350),v=n(8316),x=g.call(Function.call,Array.prototype.concat),w=g.call(Function.apply,Array.prototype.splice),k=g.call(Function.call,String.prototype.replace),_=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,P=function(e){var t=_(e,0,1),n=_(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return k(e,S,(function(e,t,n,a){r[r.length]=n?k(a,E,"$1"):t||e})),r},A=function(e,t){var n,r=e;if(v(b,r)&&(r="%"+(n=b[r])[0]+"%"),v(m,r)){var o=m[r];if(o===p&&(o=y(r)),"undefined"===typeof o&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new i('"allowMissing" argument must be a boolean');var n=P(e),r=n.length>0?n[0]:"",o=A("%"+r+"%",t),s=o.name,l=o.value,u=!1,d=o.alias;d&&(r=d[0],w(n,x([0,1],d)));for(var f=1,p=!0;f=n.length){var g=c(l,h);l=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[h]}else p=v(l,h),l=l[h];p&&!u&&(m[s]=l)}}return l}},697:(e,t,n)=>{"use strict";var r="undefined"!==typeof Symbol&&Symbol,a=n(3297);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&a())))}},3297:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},4707:(e,t,n)=>{"use strict";var r=n(3297);e.exports=function(){return r()&&!!Symbol.toStringTag}},8316:(e,t,n)=>{"use strict";var r=n(3350);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},2110:(e,t,n)=>{"use strict";var r=n(7441),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),y=0;y{t.read=function(e,t,n,r,a){var o,i,s=8*a-r-1,c=(1<>1,u=-7,d=n?a-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=r;u>0;i=256*i+e[t+d],d+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return i?NaN:1/0*(p?-1:1);i+=Math.pow(2,r),o-=l}return(p?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,s,c,l=8*o-a-1,u=(1<>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(i++,c/=2),i+d>=u?(s=0,i=u):i+d>=1?(s=(t*c-1)*Math.pow(2,a),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),i=0));a>=8;e[n+p]=255&s,p+=h,s/=256,a-=8);for(i=i<0;e[n+p]=255&i,p+=h,i/=256,l-=8);e[n+p-h]|=128*m}},2534:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},5450:(e,t,n)=>{"use strict";var r=n(4707)(),a=n(4037)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===a(e)},i=function(e){return!!o(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==a(e)&&"[object Function]"===a(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=i,e.exports=s?o:i},5718:(e,t,n)=>{"use strict";var r,a=Object.prototype.toString,o=Function.prototype.toString,i=/^\s*(?:function)?\*/,s=n(4707)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!==typeof e)return!1;if(i.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===a.call(e);if(!c)return!1;if("undefined"===typeof r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&c(t)}return c(e)===r}},6510:e=>{"use strict";e.exports=function(e){return e!==e}},6188:(e,t,n)=>{"use strict";var r=n(9722),a=n(9396),o=n(6510),i=n(4951),s=n(6034),c=r(i(),Number);a(c,{getPolyfill:i,implementation:o,shim:s}),e.exports=c},4951:(e,t,n)=>{"use strict";var r=n(6510);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},6034:(e,t,n)=>{"use strict";var r=n(9396),a=n(4951);e.exports=function(){var e=a();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},6218:(e,t,n)=>{"use strict";var r=n(7910),a=n(306),o=n(4037),i=o("Object.prototype.toString"),s=n(4707)(),c="undefined"===typeof globalThis?n.g:globalThis,l=a(),u=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return!!p&&function(e){var t=!1;return r(f,(function(n,r){if(!t)try{t=n.call(e)===r}catch(a){}})),t}(e)}},7854:e=>{"use strict";for(var t=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},n={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},r=0;r<24;r+=1)n[112+r]="F"+(r+1);for(var a=0;a<26;a+=1){var o=a+65;n[o]=[String.fromCharCode(o+32),String.fromCharCode(o)]}var i={codes:n,getCode:function(e){return t(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var r=t(e);if(r&&e.key)return e.key;var a=n[r?e.keyCode||e.which:e];return Array.isArray(a)&&(a=r?a[e.shiftKey?1:0]:a[0]),a},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};i.Spacebar=i[" "],i.Digit0=i[0],i.Digit1=i[1],i.Digit2=i[2],i.Digit3=i[3],i.Digit4=i[4],i.Digit5=i[5],i.Digit6=i[6],i.Digit7=i[7],i.Digit8=i[8],i.Digit9=i[9],i.Tilde=i["~"],i.GraveAccent=i["`"],i.ExclamationPoint=i["!"],i.AtSign=i["@"],i.PoundSign=i["#"],i.PercentSign=i["%"],i.Caret=i["^"],i.Ampersand=i["&"],i.PlusSign=i["+"],i.MinusSign=i["-"],i.EqualsSign=i["="],i.DivisionSign=i["/"],i.MultiplicationSign=i["*"],i.Comma=i[","],i.Decimal=i["."],i.Colon=i[":"],i.Semicolon=i[";"],i.Pipe=i["|"],i.BackSlash=i["\\"],i.QuestionMark=i["?"],i.SingleQuote=i["'"],i.DoubleQuote=i['"'],i.LeftCurlyBrace=i["{"],i.RightCurlyBrace=i["}"],i.LeftParenthesis=i["("],i.RightParenthesis=i[")"],i.LeftAngleBracket=i["<"],i.RightAngleBracket=i[">"],i.LeftSquareBracket=i["["],i.RightSquareBracket=i["]"],e.exports=i},1725:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,s,c=a(e),l=1;l{"use strict";var t=function(e){return e!==e};e.exports=function(e,n){return 0===e&&0===n?1/e===1/n:e===n||!(!t(e)||!t(n))}},3454:(e,t,n)=>{"use strict";var r=n(9396),a=n(9722),o=n(2592),i=n(3355),s=n(3118),c=a(i(),Object);r(c,{getPolyfill:i,implementation:o,shim:s}),e.exports=c},3355:(e,t,n)=>{"use strict";var r=n(2592);e.exports=function(){return"function"===typeof Object.is?Object.is:r}},3118:(e,t,n)=>{"use strict";var r=n(3355),a=n(9396);e.exports=function(){var e=r();return a(Object,{is:e},{is:function(){return Object.is!==e}}),e}},1949:(e,t,n)=>{"use strict";var r;if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=n(7635),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&a.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===o.call(e),r=i(e),s=t&&"[object String]"===o.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=l&&n;if(s&&e.length>0&&!a.call(e,0))for(var m=0;m0)for(var y=0;y{"use strict";var r=Array.prototype.slice,a=n(7635),o=Object.keys,i=o?function(e){return o(e)}:n(1949),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return a(e)?s(r.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},7635:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},1426:e=>{var t,n,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=i(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var n=1;n{"use strict";var r=n(9047);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},2007:(e,t,n)=>{e.exports=n(888)()},9047:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n(2791)),a=o(n(6998));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n{"use strict";var r=n(568).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},4463:(e,t,n)=>{"use strict";var r=n(5102),a=n(2791),o=n(1725),i=n(5296);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n