varsnarkjs=function(t){"use strict";conste=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];functiona(t,e){returne&&10!=e?16==e?"0x"==t.slice(0,2)?BigInt(t):BigInt("0x"+t):void0:BigInt(t)}consti=a;functiono(t,e){returnBigInt(t)<<BigInt(e)}functionn(t,e){returnBigInt(t)>>BigInt(e)}constr=o,c=n;varl=Object.freeze({__proto__:null,fromString:a,e:i,fromArray:function(t,e){leta=BigInt(0);e=BigInt(e);for(leti=0;i<t.length;i++)a=a*e+BigInt(t[i]);returna},bitLength:function(t){consta=t.toString(16);return4*(a.length-1)+e[parseInt(a[0],16)]},isNegative:function(t){returnBigInt(t)<BigInt(0)},isZero:function(t){return!t},shiftLeft:o,shiftRight:n,shl:r,shr:c,isOdd:function(t){return(BigInt(t)&BigInt(1))==BigInt(1)},naf:function(t){lete=BigInt(t);consta=[];for(;e;){if(e&BigInt(1)){constt=2-Number(e%BigInt(4));a.push(t),e-=BigInt(t)}elsea.push(0);e>>=BigInt(1)}returna},bits:function(t){lete=BigInt(t);consta=[];for(;e;)e&BigInt(1)?a.push(1):a.push(0),e>>=BigInt(1);returna},toNumber:function(t){if(t>BigInt(Number.MAX_SAFE_INTEGER))thrownewError("Number too big");returnNumber(t)},toArray:function(t,e){consta=[];leti=BigInt(t);for(e=BigInt(e);i;)a.unshift(Number(i%e)),i/=e;returna},add:function(t,e){returnBigInt(t)+BigInt(e)},sub:function(t,e){returnBigInt(t)-BigInt(e)},neg:function(t){return-BigInt(t)},mul:function(t,e){returnBigInt(t)*BigInt(e)},square:function(t){returnBigInt(t)*BigInt(t)},pow:function(t,e){returnBigInt(t)**BigInt(e)},exp:function(t,e){returnBigInt(t)**BigInt(e)},abs:function(t){returnBigInt(t)>=0?BigInt(t):-BigInt(t)},div:function(t,e){returnBigInt(t)/BigInt(e)},mod:function(t,e){returnBigInt(t)%BigInt(e)},eq:function(t,e){returnBigInt(t)==BigInt(e)},neq:function(t,e){returnBigInt(t)!=BigInt(e)},lt:function(t,e){returnBigInt(t)<BigInt(e)},gt:function(t,e){returnBigInt(t)>BigInt(e)},leq:function(t,e){returnBigInt(t)<=BigInt(e)},geq:function(t,e){returnBigInt(t)>=BigInt(e)},band:function(t,e){returnBigInt(t)&BigInt(e)},bor:function(t,e){returnBigInt(t)|BigInt(e)},bxor:function(t,e){returnBigInt(t)^BigInt(e)},land:function(t,e){returnBigInt(t)&&BigInt(e)},lor:function(t,e){returnBigInt(t)||BigInt(e)},lnot:function(t){return!BigInt(t)}}),s="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functiond(t){vare={exports:{}};returnt(e,e.exports),e.exports}varu=d((function(t){vare=function(t){vara=1e7,i=9007199254740992,o=g(i),n="0123456789abcdefghijklmnopqrstuvwxyz",r="function"==typeofBigInt;functionc(t,e,a,i){returnvoid0===t?c[0]:void0!==e&&(10!=+e||a)?K(t,e,a,i):Z(t)}functionl(t,e){this.value=t,this.sign=e,this.isSmall=!1}functions(t){this.value=t,this.sign=t<0,this.isSmall=!0}functiond(t){this.value=t}functionu(t){return-i<t&&t<i}functiong(t){returnt<1e7?[t]:t<1e14?[t%1e7,Math.floor(t/1e7)]:[t%1e7,Math.floor(t/1e7)%1e7,Math.floor(t/1e14)]}functionf(t){_(t);vare=t.length;if(e<4&&S(t,o)<0)switch(e){case0:return0;case1:returnt[0];case2:returnt[0]+t[1]*a;default:returnt[0]+(t[1]+t[2]*a)*a}returnt}function_(t){for(vare=t.length;0===t[--e];);t.length=e+1}functionp(t){for(vare=newArray(t),a=-1;++a<t;)e[a]=0;returne}functionh(t){returnt>0?Math.floor(t):Math.ceil(t)}functionm(t,e){vari,o,n=t.length,r=e.length,c=newArray(n),l=0,s=a;for(o=0;o<r;o++)l=(i=t[o]+e[o]+l)>=s?1:0,c[o]=i-l*s;for(;o<n;)l=(i=t[o]+l)===s?1:0,c[o++]=i-l*s;returnl>0&&c.push(l),c}functionL(t,e){returnt.length>=e.length?m(t,e):m(e,t)}functionw(t,e){vari,o,n=t.length,r=newArray(n),c=a;for(o=0;o<n;o++)i=t[o]-c+e,e=Math.floor(i/c),r[o]=i-e*c,e+=1;for(;e>0;)r[o++]=e%c,e=Math.floor(e/c);returnr}functionA(t,e){vari,o,n=t.length,r=e.length,c=newArray(n),l=0,s=a;for(i=0;i<r;i++)(o=t[i]-l-e[i])<0?(o+=s,l=1):l=0,c[i]=o;for(i=r;i<n;i++){if(!((o=t[i]-l)<0)){c[i++]=o;break}o+=s,c[i]=o}for(;i<n;i++)c[i]=t[i];return_(c),c}functionb(t,e,i){varo,n,r=t.length,c=newArray(r),d=-e,u=a;for(o=0;o<r;o++)n=t[o]+d,d=Math.floor(n/u),n%=u,c[o]=n<0?n+u:n;return"number"==typeof(c=f(c))?(i&&(c=-c),news(c)):newl(c,i)