LavaPack.loadBundle([[1668,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=window,i=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=104)}([function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.AZTEC=0]="AZTEC",e[e.CODABAR=1]="CODABAR",e[e.CODE_39=2]="CODE_39",e[e.CODE_93=3]="CODE_93",e[e.CODE_128=4]="CODE_128",e[e.DATA_MATRIX=5]="DATA_MATRIX",e[e.EAN_8=6]="EAN_8",e[e.EAN_13=7]="EAN_13",e[e.ITF=8]="ITF",e[e.MAXICODE=9]="MAXICODE",e[e.PDF_417=10]="PDF_417",e[e.QR_CODE=11]="QR_CODE",e[e.RSS_14=12]="RSS_14",e[e.RSS_EXPANDED=13]="RSS_EXPANDED",e[e.UPC_A=14]="UPC_A",e[e.UPC_E=15]="UPC_E",e[e.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(n||(n={})),t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(17),i=r(101),o=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){if(t instanceof e){var r=t;return this.x===r.x&&this.y===r.y}return!1},e.prototype.hashCode=function(){return 31*i.default.floatToIntBits(this.x)+i.default.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,r,n,i=this.distance(e[0],e[1]),o=this.distance(e[1],e[2]),a=this.distance(e[0],e[2]);if(o>=i&&o>=a?(r=e[0],t=e[1],n=e[2]):a>=o&&a>=i?(r=e[1],t=e[0],n=e[2]):(r=e[2],t=e[0],n=e[1]),this.crossProductZ(t,r,n)<0){var s=t;t=n,n=s}e[0]=t,e[1]=r,e[2]=n},e.distance=function(e,t){return n.default.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,r){var n=t.x,i=t.y;return(r.x-n)*(e.y-i)-(r.y-i)*(e.x-n)},e}();t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){void 0===t&&(t=void 0);var r=e.call(this,t)||this;return r.message=t,r}return i(t,e),t}(r(102).CustomError);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(14),i=r(7),o=r(37),a=r(12),s=r(1),u=function(){function e(e,t,r,n){if(this.width=e,this.height=t,this.rowSize=r,this.bits=n,null!=t||(t=e),this.height=t,e<1||t<1)throw new s.default("Both dimensions must be greater than 0");null!=r||(r=Math.floor((e+31)/32)),this.rowSize=r,null!=n||(this.bits=new Int32Array(this.rowSize*this.height))}return e.parseFromBooleanArray=function(t){for(var r=t.length,n=t[0].length,i=new e(n,r),o=0;o<r;o++)for(var a=t[o],s=0;s<n;s++)a[s]&&i.set(s,o);return i},e.parseFromString=function(t,r,n){if(null===t)throw new s.default("stringRepresentation cannot be null");for(var i=new Array(t.length),o=0,a=0,u=-1,l=0,c=0;c<t.length;)if("\n"===t.charAt(c)||"\r"===t.charAt(c)){if(o>a){if(-1===u)u=o-a;else if(o-a!==u)throw new s.default("row lengths do not match");a=o,l++}c++}else if(t.substring(c,c+r.length)===r)c+=r.length,i[o]=!0,o++;else{if(t.substring(c,c+n.length)!==n)throw new s.default("illegal character encountered: "+t.substring(c));c+=n.length,i[o]=!1,o++}if(o>a){if(-1===u)u=o-a;else if(o-a!==u)throw new s.default("row lengths do not match");l++}for(var f=new e(u,l),d=0;d<o;d++)i[d]&&f.set(Math.floor(d%u),Math.floor(d/u));return f},e.prototype.get=function(e,t){var r=t*this.rowSize+Math.floor(e/32);return 0!=(this.bits[r]>>>(31&e)&1)},e.prototype.set=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var r=t*this.rowSize+Math.floor(e/32);this.bits[r]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new s.default("input matrix dimensions do not match");for(var t=new n.default(Math.floor(this.width/32)+1),r=this.rowSize,i=this.bits,o=0,a=this.height;o<a;o++)for(var u=o*r,l=e.getRow(o,t).getBitArray(),c=0;c<r;c++)i[u+c]^=l[c]},e.prototype.clear=function(){for(var e=this.bits,t=e.length,r=0;r<t;r++)e[r]=0},e.prototype.setRegion=function(e,t,r,n){if(t<0||e<0)throw new s.default("Left and top must be nonnegative");if(n<1||r<1)throw new s.default("Height and width must be at least 1");var i=e+r,o=t+n;if(o>this.height||i>this.width)throw new s.default("The region must fit inside the matrix");for(var a=this.rowSize,u=this.bits,l=t;l<o;l++)for(var c=l*a,f=e;f<i;f++)u[c+Math.floor(f/32)]|=1<<(31&f)&4294967295},e.prototype.getRow=function(e,t){null==t||t.getSize()<this.width?t=new n.default(this.width):t.clear();for(var r=this.rowSize,i=this.bits,o=e*r,a=0;a<r;a++)t.setBulk(32*a,i[o+a]);return t},e.prototype.setRow=function(e,t){i.default.arraycopy(t.getBitArray(),0,this.bits,e*this.rowSize,this.rowSize)},e.prototype.rotate180=function(){for(var e=this.getWidth(),t=this.getHeight(),r=new n.default(e),i=new n.default(e),o=0,a=Math.floor((t+1)/2);o<a;o++)r=this.getRow(o,r),i=this.getRow(t-1-o,i),r.reverse(),i.reverse(),this.setRow(o,i),this.setRow(t-1-o,r)},e.prototype.getEnclosingRectangle=function(){for(var e=this.width,t=this.height,r=this.rowSize,n=this.bits,i=e,o=t,a=-1,s=-1,u=0;u<t;u++)for(var l=0;l<r;l++){var c=n[u*r+l];if(0!==c){if(u<o&&(o=u),u>s&&(s=u),32*l<i){for(var f=0;0==(c<<31-f&4294967295);)f++;32*l+f<i&&(i=32*l+f)}if(32*l+31>a){for(f=31;c>>>f==0;)f--;32*l+f>a&&(a=32*l+f)}}}return a<i||s<o?null:Int32Array.from([i,o,a-i+1,s-o+1])},e.prototype.getTopLeftOnBit=function(){for(var e=this.rowSize,t=this.bits,r=0;r<t.length&&0===t[r];)r++;if(r===t.length)return null;for(var n=r/e,i=r%e*32,o=t[r],a=0;0==(o<<31-a&4294967295);)a++;return i+=a,Int32Array.from([i,n])},e.prototype.getBottomRightOnBit=function(){for(var e=this.rowSize,t=this.bits,r=t.length-1;r>=0&&0===t[r];)r--;if(r<0)return null;for(var n=Math.floor(r/e),i=32*Math.floor(r%e),o=t[r],a=31;o>>>a==0;)a--;return i+=a,Int32Array.from([i,n])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&o.default.equals(this.bits,r.bits)},e.prototype.hashCode=function(){var e=this.width;return 31*(e=31*(e=31*(e=31*e+this.width)+this.height)+this.rowSize)+o.default.hashCode(this.bits)},e.prototype.toString=function(e,t,r){return void 0===e&&(e="x"),void 0===t&&(t=" "),void 0===r&&(r="\n"),this.buildToString(e,t,r)},e.prototype.buildToString=function(e,t,r){var n=new a.default;n.append(r);for(var i=0,o=this.height;i<o;i++){for(var s=0,u=this.width;s<u;s++)n.append(this.get(s,i)?e:t);n.append(r)}return n.toString()},e.prototype.clone=function(){return new e(this.width,this.height,this.rowSize,this.bits.slice())},e}();t.default=u},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.arraycopy=function(e,t,r,n,i){for(;i--;)r[n++]=e[t++]},e.currentTimeMillis=function(){return Date.now()},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(7),o=function(){function e(e,t,r,n,o,a){this.text=e,this.rawBytes=t,this.numBits=r,this.resultPoints=n,this.format=o,this.timestamp=a,this.text=e,this.rawBytes=t,this.numBits=null==r?null==t?0:8*t.length:r,this.resultPoints=n,this.format=o,this.resultMetadata=null,this.timestamp=null==a?i.default.currentTimeMillis():a}return e.prototype.getText=function(){return this.text},e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.getBarcodeFormat=function(){return this.format},e.prototype.getResultMetadata=function(){return this.resultMetadata},e.prototype.putMetadata=function(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)},e.prototype.putAllMetadata=function(e){null!==e&&(null===this.resultMetadata?this.resultMetadata=e:this.resultMetadata=new Map(e))},e.prototype.addResultPoints=function(e){var t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){var r=new n.default[t.length+e.length];i.default.arraycopy(t,0,r,0,t.length),i.default.arraycopy(e,0,r,t.length,e.length),this.resultPoints=r}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(14),i=r(10),o=r(3),a=r(0),s=function(){function e(){}return e.prototype.decode=function(e,t){try{return this.doDecode(e,t)}catch(d){if(t&&!0===t.get(3)&&e.isRotateSupported()){var r=e.rotateCounterClockwise(),n=this.doDecode(r,t),s=n.getResultMetadata(),u=270;null!==s&&!0===s.get(i.default.ORIENTATION)&&(u+=s.get(i.default.ORIENTATION)%360),n.putMetadata(i.default.ORIENTATION,u);var l=n.getResultPoints();if(null!==l)for(var c=r.getHeight(),f=0;f<l.length;f++)l[f]=new o.default(c-l[f].getY()-1,l[f].getX());return n}throw new a.default}},e.prototype.reset=function(){},e.prototype.doDecode=function(e,t){var r,s=e.getWidth(),u=e.getHeight(),l=new n.default(s),c=t&&!0===t.get(3),f=Math.max(1,u>>(c?8:5));r=c?u:15;for(var d=Math.trunc(u/2),h=0;h<r;h++){var p=Math.trunc((h+1)/2),y=d+f*(0==(1&h)?p:-p);if(y<0||y>=u)break;try{l=e.getBlackRow(y,l)}catch(e){continue}for(var m=function(e){if(1===e&&(l.reverse(),t&&!0===t.get(9))){var r=new Map;t.forEach((function(e,t){return r.set(t,e)})),r.delete(9),t=r}try{var n=b.decodeRow(y,l,t);if(1===e){n.putMetadata(i.default.ORIENTATION,180);var a=n.getResultPoints();null!==a&&(a[0]=new o.default(s-a[0].getX()-1,a[0].getY()),a[1]=new o.default(s-a[1].getX()-1,a[1].getY()))}return{value:n}}catch(e){}},b=this,g=0;g<2;g++){var w=m(g);if("object"==typeof w)return w.value}}throw new a.default},e.recordPattern=function(e,t,r){for(var n=r.length,i=0;i<n;i++)r[i]=0;var o=e.getSize();if(t>=o)throw new a.default;for(var s=!e.get(t),u=0,l=t;l<o;){if(e.get(l)!==s)r[u]++;else{if(++u===n)break;r[u]=1,s=!s}l++}if(u!==n&&(u!==n-1||l!==o))throw new a.default},e.recordPatternInReverse=function(t,r,n){for(var i=n.length,o=t.get(r);r>0&&i>=0;)t.get(--r)!==o&&(i--,o=!o);if(i>=0)throw new a.default;e.recordPattern(t,r+1,n)},e.patternMatchVariance=function(e,t,r){for(var n=e.length,i=0,o=0,a=0;a<n;a++)i+=e[a],o+=t[a];if(i<o)return Number.POSITIVE_INFINITY;var s=i/o;r*=s;for(var u=0,l=0;l<n;l++){var c=e[l],f=t[l]*s,d=c>f?c-f:f-c;if(d>r)return Number.POSITIVE_INFINITY;u+=d}return u/i},e}();t.default=s},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.OTHER=0]="OTHER",e[e.ORIENTATION=1]="ORIENTATION",e[e.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",e[e.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",e[e.ISSUE_NUMBER=4]="ISSUE_NUMBER",e[e.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",e[e.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",e[e.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",e[e.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",e[e.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",e[e.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(n||(n={})),t.default=n},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){void 0===e&&(e=""),this.value=e}return e.prototype.append=function(e){return this.value+="string"==typeof e?e.toString():String.fromCharCode(e),this},e.prototype.length=function(){return this.value.length},e.prototype.charAt=function(e){return this.value.charAt(e)},e.prototype.deleteCharAt=function(e){this.value=this.value.substr(0,e)+this.value.substring(e+1)},e.prototype.setCharAt=function(e,t){this.value=this.value.substr(0,e)+t+this.value.substr(e+1)},e.prototype.toString=function(){return this.value},e.prototype.insert=function(e,t){this.value=this.value.substr(0,e)+t+this.value.substr(e+t.length)},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(21),i=r(22),o=r(1),a=r(59),s=function(){function e(e,t,r){this.primitive=e,this.size=t,this.generatorBase=r;for(var i=new Int32Array(t),o=1,a=0;a<t;a++)i[a]=o,(o*=2)>=t&&(o^=e,o&=t-1);this.expTable=i;var s=new Int32Array(t);for(a=0;a<t-1;a++)s[i[a]]=a;this.logTable=s,this.zero=new n.default(this,Int32Array.from([0])),this.one=new n.default(this,Int32Array.from([1]))}return e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(e,t){if(e<0)throw new o.default;if(0===t)return this.zero;var r=new Int32Array(e+1);return r[0]=t,new n.default(this,r)},e.addOrSubtract=function(e,t){return e^t},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new o.default;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new a.default;return this.expTable[this.size-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+i.default.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(e){return e===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(7),i=r(22),o=r(37),a=r(1),s=function(){function e(t,r){void 0===t?(this.size=0,this.bits=new Int32Array(1)):(this.size=t,this.bits=null==r?e.makeArray(t):r)}return e.prototype.getSize=function(){return this.size},e.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},e.prototype.ensureCapacity=function(t){if(t>32*this.bits.length){var r=e.makeArray(t);n.default.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},e.prototype.get=function(e){return 0!=(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=r[n];o&=~((1<<(31&e))-1);for(var a=r.length;0===o;){if(++n===a)return t;o=r[n]}var s=32*n+i.default.numberOfTrailingZeros(o);return s>t?t:s},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var r=this.bits,n=Math.floor(e/32),o=~r[n];o&=~((1<<(31&e))-1);for(var a=r.length;0===o;){if(++n===a)return t;o=~r[n]}var s=32*n+i.default.numberOfTrailingZeros(o);return s>t?t:s},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(t<e||e<0||t>this.size)throw new a.default;if(t!==e){t--;for(var r=Math.floor(e/32),n=Math.floor(t/32),i=this.bits,o=r;o<=n;o++){var s=(2<<(o<n?31:31&t))-(1<<(o>r?0:31&e));i[o]|=s}}},e.prototype.clear=function(){for(var e=this.bits.length,t=this.bits,r=0;r<e;r++)t[r]=0},e.prototype.isRange=function(e,t,r){if(t<e||e<0||t>this.size)throw new a.default;if(t===e)return!0;t--;for(var n=Math.floor(e/32),i=Math.floor(t/32),o=this.bits,s=n;s<=i;s++){var u=(2<<(s<i?31:31&t))-(1<<(s>n?0:31&e))&4294967295;if((o[s]&u)!==(r?u:0))return!1}return!0},e.prototype.appendBit=function(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},e.prototype.appendBits=function(e,t){if(t<0||t>32)throw new a.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t),this.appendBit;for(var r=t;r>0;r--)this.appendBit(1==(e>>r-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t),this.appendBit;for(var r=0;r<t;r++)this.appendBit(e.get(r))},e.prototype.xor=function(e){if(this.size!==e.size)throw new a.default("Sizes don't match");for(var t=this.bits,r=0,n=t.length;r<n;r++)t[r]^=e.bits[r]},e.prototype.toBytes=function(e,t,r,n){for(var i=0;i<n;i++){for(var o=0,a=0;a<8;a++)this.get(e)&&(o|=1<<7-a),e++;t[r+i]=o}},e.prototype.getBitArray=function(){return this.bits},e.prototype.reverse=function(){for(var e=new Int32Array(this.bits.length),t=Math.floor((this.size-1)/32),r=t+1,n=this.bits,i=0;i<r;i++){var o=n[i];o=(o=(o=(o=(o=o>>1&1431655765|(1431655765&o)<<1)>>2&858993459|(858993459&o)<<2)>>4&252645135|(252645135&o)<<4)>>8&16711935|(16711935&o)<<8)>>16&65535|(65535&o)<<16,e[t-i]=o}if(this.size!==32*r){var a=32*r-this.size,s=e[0]>>>a;for(i=1;i<r;i++){var u=e[i];s|=u<<32-a,e[i-1]=s,s=u>>>a}e[r-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.size===r.size&&o.default.equals(this.bits,r.bits)},e.prototype.hashCode=function(){return 31*this.size+o.default.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,r=this.size;t<r;t++)0==(7&t)&&(e+=" "),e+=this.get(t)?"X":".";return e},e.prototype.clone=function(){return new e(this.size,this.bits.slice())},e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(4);!function(e){e[e.Cp437=0]="Cp437",e[e.ISO8859_1=1]="ISO8859_1",e[e.ISO8859_2=2]="ISO8859_2",e[e.ISO8859_3=3]="ISO8859_3",e[e.ISO8859_4=4]="ISO8859_4",e[e.ISO8859_5=5]="ISO8859_5",e[e.ISO8859_6=6]="ISO8859_6",e[e.ISO8859_7=7]="ISO8859_7",e[e.ISO8859_8=8]="ISO8859_8",e[e.ISO8859_9=9]="ISO8859_9",e[e.ISO8859_10=10]="ISO8859_10",e[e.ISO8859_11=11]="ISO8859_11",e[e.ISO8859_13=12]="ISO8859_13",e[e.ISO8859_14=13]="ISO8859_14",e[e.ISO8859_15=14]="ISO8859_15",e[e.ISO8859_16=15]="ISO8859_16",e[e.SJIS=16]="SJIS",e[e.Cp1250=17]="Cp1250",e[e.Cp1251=18]="Cp1251",e[e.Cp1252=19]="Cp1252",e[e.Cp1256=20]="Cp1256",e[e.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",e[e.UTF8=22]="UTF8",e[e.ASCII=23]="ASCII",e[e.Big5=24]="Big5",e[e.GB18030=25]="GB18030",e[e.EUC_KR=26]="EUC_KR"}(t.CharacterSetValueIdentifiers||(t.CharacterSetValueIdentifiers={}));var i=function(){function e(t,r,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];this.valueIdentifier=t,this.name=n,this.values="number"==typeof r?Int32Array.from([r]):r,this.otherEncodingNames=i,e.VALUE_IDENTIFIER_TO_ECI.set(t,this),e.NAME_TO_ECI.set(n,this);for(var a=this.values,s=0,u=a.length;s!==u;s++){var l=a[s];e.VALUES_TO_ECI.set(l,this)}for(var c=0,f=i;c<f.length;c++){var d=f[c];e.NAME_TO_ECI.set(d,this)}}return e.prototype.getValueIdentifier=function(){return this.valueIdentifier},e.prototype.getName=function(){return this.name},e.prototype.getValue=function(){return this.values[0]},e.getCharacterSetECIByValue=function(t){if(t<0||t>=900)throw new n.default("incorect value");var r=e.VALUES_TO_ECI.get(t);if(void 0===r)throw new n.default("incorect value");return r},e.getCharacterSetECIByName=function(t){var r=e.NAME_TO_ECI.get(t);if(void 0===r)throw new n.default("incorect value");return r},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.getName()===r.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(0,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(12,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(13,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(14,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(15,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(16,20,"SJIS","Shift_JIS"),e.Cp1250=new e(17,21,"Cp1250","windows-1250"),e.Cp1251=new e(18,22,"Cp1251","windows-1251"),e.Cp1252=new e(19,23,"Cp1252","windows-1252"),e.Cp1256=new e(20,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(21,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(22,26,"UTF8","UTF-8"),e.ASCII=new e(23,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(24,28,"Big5"),e.GB18030=new e(25,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(26,30,"EUC_KR","EUC-KR"),e}();t.default=i},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.MathUtils=function(){},e.round=function(e){return NaN===e?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,r,n){var i=e-r,o=t-n;return Math.sqrt(i*i+o*o)},e.sum=function(e){for(var t=0,r=0,n=e.length;r!==n;r++)t+=e[r];return t},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(12),i=r(38),o=function(){function e(e,t){this.width=e,this.height=t}return e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.isCropSupported=function(){return!1},e.prototype.crop=function(e,t,r,n){throw new i.default("This luminance source does not support cropping.")},e.prototype.isRotateSupported=function(){return!1},e.prototype.rotateCounterClockwise=function(){throw new i.default("This luminance source does not support rotation by 90 degrees.")},e.prototype.rotateCounterClockwise45=function(){throw new i.default("This luminance source does not support rotation by 45 degrees.")},e.prototype.toString=function(){for(var e=new Uint8ClampedArray(this.width),t=new n.default,r=0;r<this.height;r++){for(var i=this.getRow(r,e),o=0;o<this.width;o++){var a,s=255&i[o];a=s<64?"#":s<128?"+":s<192?".":" ",t.append(a)}t.append("\n")}return t.toString()},e}();t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var r=e.call(this,t.getWidth(),t.getHeight())||this;return r.delegate=t,r}return i(t,e),t.prototype.getRow=function(e,t){for(var r=this.delegate.getRow(e,t),n=this.getWidth(),i=0;i<n;i++)r[i]=255-(255&r[i]);return r},t.prototype.getMatrix=function(){for(var e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),r=new Uint8ClampedArray(t),n=0;n<t;n++)r[n]=255-(255&e[n]);return r},t.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},t.prototype.crop=function(e,r,n,i){return new t(this.delegate.crop(e,r,n,i))},t.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},t.prototype.invert=function(){return this.delegate},t.prototype.rotateCounterClockwise=function(){return new t(this.delegate.rotateCounterClockwise())},t.prototype.rotateCounterClockwise45=function(){return new t(this.delegate.rotateCounterClockwise45())},t}(r(18).default);t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(8),s=r(10),u=r(3),l=r(9),c=r(74),f=r(0),d=r(4),h=r(11),p=function(e){function t(){var r=e.call(this)||this;r.decodeRowStringBuffer="",r.decodeRowStringBuffer="",t.L_AND_G_PATTERNS=t.L_PATTERNS.map((function(e){return e.slice()}));for(var n=10;n<20;n++){for(var i=t.L_PATTERNS[n-10],o=new Array(i.length),a=0;a<i.length;a++)o[a]=i[i.length-a-1];t.L_AND_G_PATTERNS[n]=o}return r}return i(t,e),t.findStartGuardPattern=function(e){for(var r=!1,n=null,i=0,o=[0,0,0];!r;){o=[0,0,0];var a=(n=t.findGuardPattern(e,i,!1,this.START_END_PATTERN,o))[0],s=a-((i=n[1])-a);s>=0&&(r=e.isRange(s,a,!1))}return n},t.prototype.decodeRow=function(e,r,n){var i=t.findStartGuardPattern(r),l=null==n?null:n.get(9);if(null!=l){var p=new u.default((i[0]+i[1])/2,e);l.foundPossibleResultPoint(p)}var y=this.decodeMiddle(r,i,this.decodeRowStringBuffer),m=y.rowOffset,b=y.resultString;if(null!=l){var g=new u.default(m,e);l.foundPossibleResultPoint(g)}var w=t.decodeEnd(r,m);if(null!=l){var v=new u.default((w[0]+w[1])/2,e);l.foundPossibleResultPoint(v)}var _=w[1],S=_+(_-w[0]);if(S>=r.getSize()||!r.isRange(_,S,!1))throw new f.default;var A=b.toString();if(A.length<8)throw new d.default;if(!t.checkChecksum(A))throw new h.default;var T=(i[1]+i[0])/2,k=(w[1]+w[0])/2,E=this.getBarcodeFormat(),I=[new u.default(T,e),new u.default(k,e)],O=new a.default(A,null,0,I,E,(new Date).getTime()),M=0;try{var x=c.default.decodeRow(e,r,w[1]);O.putMetadata(s.default.UPC_EAN_EXTENSION,x.getText()),O.putAllMetadata(x.getResultMetadata()),O.addResultPoints(x.getResultPoints()),M=x.getText().length}catch(e){}var j=null==n?null:n.get(10);if(null!=j){var P=!1;for(var C in j)if(M.toString()===C){P=!0;break}if(!P)throw new f.default}return E===o.default.EAN_13||o.default.UPC_A,O},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var r=e.length;if(0===r)return!1;var n=parseInt(e.charAt(r-1),10);return t.getStandardUPCEANChecksum(e.substring(0,r-1))===n},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,r=0,n=t-1;n>=0;n-=2){if((i=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;r+=i}for(r*=3,n=t-2;n>=0;n-=2){var i;if((i=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;r+=i}return(1e3-r)%10},t.decodeEnd=function(e,r){return t.findGuardPattern(e,r,!1,t.START_END_PATTERN,new Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPattern=function(e,r,n,i,o){for(var a=e.getSize(),s=0,u=r=n?e.getNextUnset(r):e.getNextSet(r),c=i.length,d=n,h=r;h<a;h++)if(e.get(h)!==d)o[s]++;else{if(s===c-1){if(l.default.patternMatchVariance(o,i,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return[u,h];u+=o[0]+o[1];for(var p=o.slice(2,o.length),y=0;y<s-1;y++)o[y]=p[y];o[s-1]=0,o[s]=0,s--}else s++;o[s]=1,d=!d}throw new f.default},t.decodeDigit=function(e,r,n,i){this.recordPattern(e,n,r);for(var o=this.MAX_AVG_VARIANCE,a=-1,s=i.length,u=0;u<s;u++){var c=i[u],d=l.default.patternMatchVariance(r,c,t.MAX_INDIVIDUAL_VARIANCE);d<o&&(o=d,a=u)}if(a>=0)return a;throw new f.default},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=[1,1,1],t.MIDDLE_PATTERN=[1,1,1,1,1],t.END_PATTERN=[1,1,1,1,1,1],t.L_PATTERNS=[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],t}(l.default);t.default=p},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),i=r(7),o=r(1),a=function(){function e(e,t){if(0===t.length)throw new o.default;this.field=e;var r=t.length;if(r>1&&0===t[0]){for(var n=1;n<r&&0===t[n];)n++;n===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-n),i.default.arraycopy(t,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}return e.prototype.getCoefficients=function(){return this.coefficients},e.prototype.getDegree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.evaluateAt=function(e){if(0===e)return this.getCoefficient(0);var t,r=this.coefficients;if(1===e){t=0;for(var i=0,o=r.length;i!==o;i++){var a=r[i];t=n.default.addOrSubtract(t,a)}return t}t=r[0];var s=r.length,u=this.field;for(i=1;i<s;i++)t=n.default.addOrSubtract(u.multiply(e,t),r[i]);return t},e.prototype.addOrSubtract=function(t){if(!this.field.equals(t.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(this.isZero())return t;if(t.isZero())return this;var r=this.coefficients,a=t.coefficients;if(r.length>a.length){var s=r;r=a,a=s}var u=new Int32Array(a.length),l=a.length-r.length;i.default.arraycopy(a,0,u,0,l);for(var c=l;c<a.length;c++)u[c]=n.default.addOrSubtract(r[c-l],a[c]);return new e(this.field,u)},e.prototype.multiply=function(t){if(!this.field.equals(t.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(this.isZero()||t.isZero())return this.field.getZero();for(var r=this.coefficients,i=r.length,a=t.coefficients,s=a.length,u=new Int32Array(i+s-1),l=this.field,c=0;c<i;c++)for(var f=r[c],d=0;d<s;d++)u[c+d]=n.default.addOrSubtract(u[c+d],l.multiply(f,a[d]));return new e(l,u)},e.prototype.multiplyScalar=function(t){if(0===t)return this.field.getZero();if(1===t)return this;for(var r=this.coefficients.length,n=this.field,i=new Int32Array(r),o=this.coefficients,a=0;a<r;a++)i[a]=n.multiply(o[a],t);return new e(n,i)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new o.default;if(0===r)return this.field.getZero();for(var n=this.coefficients,i=n.length,a=new Int32Array(i+t),s=this.field,u=0;u<i;u++)a[u]=s.multiply(n[u],r);return new e(s,a)},e.prototype.divide=function(e){if(!this.field.equals(e.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(e.isZero())throw new o.default("Divide by 0");for(var t=this.field,r=t.getZero(),n=this,i=e.getCoefficient(e.getDegree()),a=t.inverse(i);n.getDegree()>=e.getDegree()&&!n.isZero();){var s=n.getDegree()-e.getDegree(),u=t.multiply(n.getCoefficient(n.getDegree()),a),l=e.multiplyByMonomial(s,u),c=t.buildMonomial(s,u);r=r.addOrSubtract(c),n=n.addOrSubtract(l)}return[r,n]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);if(0!==r){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),0===t||1!==r){var n=this.field.log(r);0===n?e+="1":1===n?e+="a":(e+="a^",e+=n)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.default=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.numberOfTrailingZeros=function(e){var t;if(0===e)return 32;var r=31;return 0!=(t=e<<16)&&(r-=16,e=t),0!=(t=e<<8)&&(r-=8,e=t),0!=(t=e<<4)&&(r-=4,e=t),0!=(t=e<<2)&&(r-=2,e=t),r-(e<<1>>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16==0&&(t+=16,e<<=16),e>>>24==0&&(t+=8,e<<=8),e>>>28==0&&(t+=4,e<<=4),e>>>30==0&&(t+=2,e<<=2),t-(e>>>31)},e.toHexString=function(e){return e.toString(16)},e.bitCount=function(e){return e=(e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135,63&(e+=e>>>8)+(e>>>16)},e.MIN_VALUE_32_BITS=-2147483648,e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(65),i=r(64),o=r(63),a=r(62),s=r(0),u=r(36),l=r(11),c=r(4),f=function(){function e(e,t,r){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this.hints=r}return e.prototype.getVideoInputDevices=function(){return new Promise((function(e,t){navigator.mediaDevices.enumerateDevices().then((function(t){for(var r=new Array,n=0,o=0,a=t.length;o!==a;o++){var s=t[o];"videoinput"===s.kind&&(r.push(new i.VideoInputDevice(s.deviceId,s.label||"Video source "+n)),n++)}e(r)})).catch((function(e){t(e)}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){var r;this.reset(),this.prepareVideoElement(t),r=void 0===e?{video:{facingMode:"environment"}}:{video:{deviceId:{exact:e}}};var n=this;return new Promise((function(e,t){navigator.mediaDevices.getUserMedia(r).then((function(r){n.stream=r,n.videoElement.srcObject=r,n.videoPlayingEventListener=function(){n.decodeOnceWithDelay(e,t)},n.videoElement.addEventListener("playing",n.videoPlayingEventListener),n.videoElement.play()})).catch((function(e){t(e)}))}))},e.prototype.decodeFromVideoSource=function(e,t){this.reset(),this.prepareVideoElement(t);var r=this;return new Promise((function(t,n){r.videoPlayEndedEventListener=function(){r.stop(),n(new s.default)},r.videoElement.addEventListener("ended",r.videoPlayEndedEventListener),r.videoPlayingEventListener=function(){r.decodeOnceWithDelay(t,n)},r.videoElement.addEventListener("playing",r.videoPlayingEventListener),r.videoElement.setAttribute("autoplay","true"),r.videoElement.setAttribute("src",e)}))},e.prototype.prepareVideoElement=function(e){void 0===e?(this.videoElement=document.createElement("video"),this.videoElement.width=640,this.videoElement.height=480):this.videoElement="string"==typeof e?this.getMediaElement(e,"video"):e,this.videoElement.setAttribute("autoplay","true"),this.videoElement.setAttribute("muted","true"),this.videoElement.setAttribute("playsinline","true"),this.videoElement.setAttribute("autofocus","true")},e.prototype.getMediaElement=function(e,t){var r=document.getElementById(e);if(null===r)throw new u.default("element with id '"+e+"' not found");if(r.nodeName.toLowerCase()!==t.toLowerCase())throw new u.default("element with id '"+e+"' must be an "+t+" element");return r},e.prototype.decodeFromImage=function(e,t){var r=this;if(this.reset(),void 0===e&&void 0===t)throw new u.default("either imageElement with a src set or an url must be provided");this.prepareImageElement(e);var n=this;return new Promise((function(e,i){if(void 0!==t)n.imageLoadedEventListener=function(){n.decodeOnce(e,i,!1,!0)},n.imageElement.addEventListener("load",n.imageLoadedEventListener),n.imageElement.src=t;else{if(!r.isImageLoaded(r.imageElement))throw new u.default("either src or a loaded img should be provided");n.decodeOnce(e,i,!1,!0)}}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){void 0===e?(this.imageElement=document.createElement("img"),this.imageElement.width=200,this.imageElement.height=200):this.imageElement="string"==typeof e?this.getMediaElement(e,"img"):e},e.prototype.decodeOnceWithDelay=function(e,t){this.timeoutHandler=window.setTimeout(this.decodeOnce.bind(this,e,t),this.timeBetweenScansMillis)},e.prototype.decodeOnce=function(e,t,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0),void 0===this.canvasElementContext&&this.prepareCaptureCanvas(),this.drawImageOnCanvas(this.canvasElementContext,this.videoElement||this.imageElement);var u=new n.HTMLCanvasElementLuminanceSource(this.canvasElement),f=new o.default(new a.default(u));try{e(this.readerDecode(f))}catch(n){r&&n instanceof s.default||i&&(n instanceof l.default||n instanceof c.default)?this.decodeOnceWithDelay(e,t):t(n)}},e.prototype.drawImageOnCanvas=function(e,t){e.drawImage(t,0,0)},e.prototype.readerDecode=function(e){return this.reader.decode(e,this.hints)},e.prototype.prepareCaptureCanvas=function(){var e,t,r=document.createElement("canvas");void 0!==this.videoElement?(e=this.videoElement.videoWidth,t=this.videoElement.videoHeight):(e=this.imageElement.naturalWidth||this.imageElement.width,t=this.imageElement.naturalHeight||this.imageElement.height),r.style.width=e+"px",r.style.height=t+"px",r.width=e,r.height=t,this.canvasElement=r,this.canvasElementContext=r.getContext("2d")},e.prototype.stop=function(){void 0!==this.timeoutHandler&&(window.clearTimeout(this.timeoutHandler),this.timeoutHandler=void 0),void 0!==this.stream&&(this.stream.getTracks()[0].stop(),this.stream=void 0)},e.prototype.reset=function(){this.stop(),void 0!==this.videoPlayEndedEventListener&&void 0!==this.videoElement&&this.videoElement.removeEventListener("ended",this.videoPlayEndedEventListener),void 0!==this.videoPlayingEventListener&&void 0!==this.videoElement&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoElement&&(this.videoElement.srcObject=void 0,this.videoElement.removeAttribute("src"),this.videoElement=void 0),void 0!==this.videoPlayEndedEventListener&&void 0!==this.imageElement&&this.imageElement.removeEventListener("load",this.imageLoadedEventListener),void 0!==this.imageElement&&(this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0),this.canvasElementContext=void 0,this.canvasElement=void 0},e}();t.BrowserCodeReader=f},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.ERROR_CORRECTION=0]="ERROR_CORRECTION",e[e.CHARACTER_SET=1]="CHARACTER_SET",e[e.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",e[e.MIN_SIZE=3]="MIN_SIZE",e[e.MAX_SIZE=4]="MAX_SIZE",e[e.MARGIN=5]="MARGIN",e[e.PDF417_COMPACT=6]="PDF417_COMPACT",e[e.PDF417_COMPACTION=7]="PDF417_COMPACTION",e[e.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",e[e.AZTEC_LAYERS=9]="AZTEC_LAYERS",e[e.QR_VERSION=10]="QR_VERSION"}(n||(n={})),t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,r,n,i,o,a,s,u){this.a11=e,this.a21=t,this.a31=r,this.a12=n,this.a22=i,this.a32=o,this.a13=a,this.a23=s,this.a33=u}return e.quadrilateralToQuadrilateral=function(t,r,n,i,o,a,s,u,l,c,f,d,h,p,y,m){var b=e.quadrilateralToSquare(t,r,n,i,o,a,s,u);return e.squareToQuadrilateral(l,c,f,d,h,p,y,m).times(b)},e.prototype.transformPoints=function(e){for(var t=e.length,r=this.a11,n=this.a12,i=this.a13,o=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=0;f<t;f+=2){var d=e[f],h=e[f+1],p=i*d+s*h+c;e[f]=(r*d+o*h+u)/p,e[f+1]=(n*d+a*h+l)/p}},e.prototype.transformPointsWithValues=function(e,t){for(var r=this.a11,n=this.a12,i=this.a13,o=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=e.length,d=0;d<f;d++){var h=e[d],p=t[d],y=i*h+s*p+c;e[d]=(r*h+o*p+u)/y,t[d]=(n*h+a*p+l)/y}},e.squareToQuadrilateral=function(t,r,n,i,o,a,s,u){var l=t-n+o-s,c=r-i+a-u;if(0===l&&0===c)return new e(n-t,o-n,t,i-r,a-i,r,0,0,1);var f=n-o,d=s-o,h=i-a,p=u-a,y=f*p-d*h,m=(l*p-d*c)/y,b=(f*c-l*h)/y;return new e(n-t+m*n,s-t+b*s,t,i-r+m*i,u-r+b*u,r,m,b,1)},e.quadrilateralToSquare=function(t,r,n,i,o,a,s,u){return e.squareToQuadrilateral(t,r,n,i,o,a,s,u).buildAdjoint()},e.prototype.buildAdjoint=function(){return new e(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},e.prototype.times=function(t){return new e(this.a11*t.a11+this.a21*t.a12+this.a31*t.a13,this.a11*t.a21+this.a21*t.a22+this.a31*t.a23,this.a11*t.a31+this.a21*t.a32+this.a31*t.a33,this.a12*t.a11+this.a22*t.a12+this.a32*t.a13,this.a12*t.a21+this.a22*t.a22+this.a32*t.a23,this.a12*t.a31+this.a22*t.a32+this.a32*t.a33,this.a13*t.a11+this.a23*t.a12+this.a33*t.a13,this.a13*t.a21+this.a23*t.a22+this.a33*t.a23,this.a13*t.a31+this.a23*t.a32+this.a33*t.a33)},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(53),i=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new n.default,e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(38),i=r(15),o=function(){function e(){}return e.decode=function(e,t){var r=this.encodingName(t);return"undefined"==typeof TextDecoder?this.decodeFallback(e,r):new TextDecoder(r).decode(e)},e.encode=function(t,r){return e.isBrowser()?"undefined"==typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t):new TextEncoder(this.encodingName(r),{NONSTANDARD_allowLegacyEncoding:!0}).encode(t)},e.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"==typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return i.default.getCharacterSetECIByName(this.encodingName(e))},e.decodeFallback=function(e,t){var r=this.encodingCharacterSet(t);if(r.equals(i.default.UTF8)||r.equals(i.default.ISO8859_1)||r.equals(i.default.ASCII)){for(var o="",a=0,s=e.length;a<s;a++){var u=e[a].toString(16);u.length<2&&(u="0"+u),o+="%"+u}return decodeURIComponent(o)}if(r.equals(i.default.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new n.default("Encoding "+this.encodingName(t)+" not supported by fallback.")},e.encodeFallback=function(e){for(var t=btoa(unescape(encodeURIComponent(e))).split(""),r=[],n=0;n<t.length;n++)r.push(t[n].charCodeAt(0));return new Uint8Array(r)},e}();t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,r,n,i,o){void 0===i&&(i=-1),void 0===o&&(o=-1),this.rawBytes=e,this.text=t,this.byteSegments=r,this.ecLevel=n,this.structuredAppendSequenceNumber=i,this.structuredAppendParity=o,this.numBits=null==e?0:8*e.length}return e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.setNumBits=function(e){this.numBits=e},e.prototype.getText=function(){return this.text},e.prototype.getByteSegments=function(){return this.byteSegments},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getErrorsCorrected=function(){return this.errorsCorrected},e.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},e.prototype.getErasures=function(){return this.erasures},e.prototype.setErasures=function(e){this.erasures=e},e.prototype.getOther=function(){return this.other},e.prototype.setOther=function(e){this.other=e},e.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new n.default(""+e);var t=0,r=this.bitOffset,i=this.byteOffset,o=this.bytes;if(r>0){var a=8-r,s=e<a?e:a,u=255>>8-s<<(l=a-s);t=(o[i]&u)>>l,e-=s,8===(r+=s)&&(r=0,i++)}if(e>0){for(;e>=8;)t=t<<8|255&o[i],i++,e-=8;var l;e>0&&(u=255>>(l=8-e)<<l,t=t<<e|(o[i]&u)>>l,r+=e)}return this.bitOffset=r,this.byteOffset=i,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(36),i=r(1);!function(e){e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H"}(t.ErrorCorrectionLevelValues||(t.ErrorCorrectionLevelValues={}));var o=function(){function e(t,r,n){this.value=t,this.stringValue=r,this.bits=n,e.FOR_BITS.set(n,this),e.FOR_VALUE.set(t,this)}return e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.fromString=function(t){switch(t){case"L":return e.L;case"M":return e.M;case"Q":return e.Q;case"H":return e.H;default:throw new n.default(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.value===r.value},e.forBits=function(t){if(t<0||t>=e.FOR_BITS.size)throw new i.default;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(0,"L",1),e.M=new e(1,"M",0),e.Q=new e(2,"Q",3),e.H=new e(3,"H",2),e}();t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),i=r(57),o=r(98),a=r(97),s=r(4),u=r(1),l=function(){function e(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];this.versionNumber=e,this.alignmentPatternCenters=t,this.ecBlocks=r;for(var i=0,o=r[0].getECCodewordsPerBlock(),a=0,s=r[0].getECBlocks();a<s.length;a++){var u=s[a];i+=u.getCount()*(u.getDataCodewords()+o)}this.totalCodewords=i}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},e.prototype.getECBlocksForLevel=function(e){return this.ecBlocks[e.getValue()]},e.getProvisionalVersionForDimension=function(e){if(e%4!=1)throw new s.default;try{return this.getVersionForNumber((e-17)/4)}catch(e){throw new s.default}},e.getVersionForNumber=function(t){if(t<1||t>40)throw new u.default;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var r=Number.MAX_SAFE_INTEGER,n=0,o=0;o<e.VERSION_DECODE_INFO.length;o++){var a=e.VERSION_DECODE_INFO[o];if(a===t)return e.getVersionForNumber(o+7);var s=i.default.numBitsDiffering(t,a);s<r&&(n=o+7,r=s)}return r<=3?e.getVersionForNumber(n):null},e.prototype.buildFunctionPattern=function(){var e=this.getDimensionForVersion(),t=new n.default(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);for(var r=this.alignmentPatternCenters.length,i=0;i<r;i++)for(var o=this.alignmentPatternCenters[i]-2,a=0;a<r;a++)0===i&&(0===a||a===r-1)||i===r-1&&0===a||t.setRegion(this.alignmentPatternCenters[a]-2,o,5,5);return t.setRegion(6,9,1,e-17),t.setRegion(9,6,e-17,1),this.versionNumber>6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new o.default(7,new a.default(1,19)),new o.default(10,new a.default(1,16)),new o.default(13,new a.default(1,13)),new o.default(17,new a.default(1,9))),new e(2,Int32Array.from([6,18]),new o.default(10,new a.default(1,34)),new o.default(16,new a.default(1,28)),new o.default(22,new a.default(1,22)),new o.default(28,new a.default(1,16))),new e(3,Int32Array.from([6,22]),new o.default(15,new a.default(1,55)),new o.default(26,new a.default(1,44)),new o.default(18,new a.default(2,17)),new o.default(22,new a.default(2,13))),new e(4,Int32Array.from([6,26]),new o.default(20,new a.default(1,80)),new o.default(18,new a.default(2,32)),new o.default(26,new a.default(2,24)),new o.default(16,new a.default(4,9))),new e(5,Int32Array.from([6,30]),new o.default(26,new a.default(1,108)),new o.default(24,new a.default(2,43)),new o.default(18,new a.default(2,15),new a.default(2,16)),new o.default(22,new a.default(2,11),new a.default(2,12))),new e(6,Int32Array.from([6,34]),new o.default(18,new a.default(2,68)),new o.default(16,new a.default(4,27)),new o.default(24,new a.default(4,19)),new o.default(28,new a.default(4,15))),new e(7,Int32Array.from([6,22,38]),new o.default(20,new a.default(2,78)),new o.default(18,new a.default(4,31)),new o.default(18,new a.default(2,14),new a.default(4,15)),new o.default(26,new a.default(4,13),new a.default(1,14))),new e(8,Int32Array.from([6,24,42]),new o.default(24,new a.default(2,97)),new o.default(22,new a.default(2,38),new a.default(2,39)),new o.default(22,new a.default(4,18),new a.default(2,19)),new o.default(26,new a.default(4,14),new a.default(2,15))),new e(9,Int32Array.from([6,26,46]),new o.default(30,new a.default(2,116)),new o.default(22,new a.default(3,36),new a.default(2,37)),new o.default(20,new a.default(4,16),new a.default(4,17)),new o.default(24,new a.default(4,12),new a.default(4,13))),new e(10,Int32Array.from([6,28,50]),new o.default(18,new a.default(2,68),new a.default(2,69)),new o.default(26,new a.default(4,43),new a.default(1,44)),new o.default(24,new a.default(6,19),new a.default(2,20)),new o.default(28,new a.default(6,15),new a.default(2,16))),new e(11,Int32Array.from([6,30,54]),new o.default(20,new a.default(4,81)),new o.default(30,new a.default(1,50),new a.default(4,51)),new o.default(28,new a.default(4,22),new a.default(4,23)),new o.default(24,new a.default(3,12),new a.default(8,13))),new e(12,Int32Array.from([6,32,58]),new o.default(24,new a.default(2,92),new a.default(2,93)),new o.default(22,new a.default(6,36),new a.default(2,37)),new o.default(26,new a.default(4,20),new a.default(6,21)),new o.default(28,new a.default(7,14),new a.default(4,15))),new e(13,Int32Array.from([6,34,62]),new o.default(26,new a.default(4,107)),new o.default(22,new a.default(8,37),new a.default(1,38)),new o.default(24,new a.default(8,20),new a.default(4,21)),new o.default(22,new a.default(12,11),new a.default(4,12))),new e(14,Int32Array.from([6,26,46,66]),new o.default(30,new a.default(3,115),new a.default(1,116)),new o.default(24,new a.default(4,40),new a.default(5,41)),new o.default(20,new a.default(11,16),new a.default(5,17)),new o.default(24,new a.default(11,12),new a.default(5,13))),new e(15,Int32Array.from([6,26,48,70]),new o.default(22,new a.default(5,87),new a.default(1,88)),new o.default(24,new a.default(5,41),new a.default(5,42)),new o.default(30,new a.default(5,24),new a.default(7,25)),new o.default(24,new a.default(11,12),new a.default(7,13))),new e(16,Int32Array.from([6,26,50,74]),new o.default(24,new a.default(5,98),new a.default(1,99)),new o.default(28,new a.default(7,45),new a.default(3,46)),new o.default(24,new a.default(15,19),new a.default(2,20)),new o.default(30,new a.default(3,15),new a.default(13,16))),new e(17,Int32Array.from([6,30,54,78]),new o.default(28,new a.default(1,107),new a.default(5,108)),new o.default(28,new a.default(10,46),new a.default(1,47)),new o.default(28,new a.default(1,22),new a.default(15,23)),new o.default(28,new a.default(2,14),new a.default(17,15))),new e(18,Int32Array.from([6,30,56,82]),new o.default(30,new a.default(5,120),new a.default(1,121)),new o.default(26,new a.default(9,43),new a.default(4,44)),new o.default(28,new a.default(17,22),new a.default(1,23)),new o.default(28,new a.default(2,14),new a.default(19,15))),new e(19,Int32Array.from([6,30,58,86]),new o.default(28,new a.default(3,113),new a.default(4,114)),new o.default(26,new a.default(3,44),new a.default(11,45)),new o.default(26,new a.default(17,21),new a.default(4,22)),new o.default(26,new a.default(9,13),new a.default(16,14))),new e(20,Int32Array.from([6,34,62,90]),new o.default(28,new a.default(3,107),new a.default(5,108)),new o.default(26,new a.default(3,41),new a.default(13,42)),new o.default(30,new a.default(15,24),new a.default(5,25)),new o.default(28,new a.default(15,15),new a.default(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new o.default(28,new a.default(4,116),new a.default(4,117)),new o.default(26,new a.default(17,42)),new o.default(28,new a.default(17,22),new a.default(6,23)),new o.default(30,new a.default(19,16),new a.default(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new o.default(28,new a.default(2,111),new a.default(7,112)),new o.default(28,new a.default(17,46)),new o.default(30,new a.default(7,24),new a.default(16,25)),new o.default(24,new a.default(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new o.default(30,new a.default(4,121),new a.default(5,122)),new o.default(28,new a.default(4,47),new a.default(14,48)),new o.default(30,new a.default(11,24),new a.default(14,25)),new o.default(30,new a.default(16,15),new a.default(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new o.default(30,new a.default(6,117),new a.default(4,118)),new o.default(28,new a.default(6,45),new a.default(14,46)),new o.default(30,new a.default(11,24),new a.default(16,25)),new o.default(30,new a.default(30,16),new a.default(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new o.default(26,new a.default(8,106),new a.default(4,107)),new o.default(28,new a.default(8,47),new a.default(13,48)),new o.default(30,new a.default(7,24),new a.default(22,25)),new o.default(30,new a.default(22,15),new a.default(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new o.default(28,new a.default(10,114),new a.default(2,115)),new o.default(28,new a.default(19,46),new a.default(4,47)),new o.default(28,new a.default(28,22),new a.default(6,23)),new o.default(30,new a.default(33,16),new a.default(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new o.default(30,new a.default(8,122),new a.default(4,123)),new o.default(28,new a.default(22,45),new a.default(3,46)),new o.default(30,new a.default(8,23),new a.default(26,24)),new o.default(30,new a.default(12,15),new a.default(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new o.default(30,new a.default(3,117),new a.default(10,118)),new o.default(28,new a.default(3,45),new a.default(23,46)),new o.default(30,new a.default(4,24),new a.default(31,25)),new o.default(30,new a.default(11,15),new a.default(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new o.default(30,new a.default(7,116),new a.default(7,117)),new o.default(28,new a.default(21,45),new a.default(7,46)),new o.default(30,new a.default(1,23),new a.default(37,24)),new o.default(30,new a.default(19,15),new a.default(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new o.default(30,new a.default(5,115),new a.default(10,116)),new o.default(28,new a.default(19,47),new a.default(10,48)),new o.default(30,new a.default(15,24),new a.default(25,25)),new o.default(30,new a.default(23,15),new a.default(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new o.default(30,new a.default(13,115),new a.default(3,116)),new o.default(28,new a.default(2,46),new a.default(29,47)),new o.default(30,new a.default(42,24),new a.default(1,25)),new o.default(30,new a.default(23,15),new a.default(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new o.default(30,new a.default(17,115)),new o.default(28,new a.default(10,46),new a.default(23,47)),new o.default(30,new a.default(10,24),new a.default(35,25)),new o.default(30,new a.default(19,15),new a.default(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new o.default(30,new a.default(17,115),new a.default(1,116)),new o.default(28,new a.default(14,46),new a.default(21,47)),new o.default(30,new a.default(29,24),new a.default(19,25)),new o.default(30,new a.default(11,15),new a.default(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new o.default(30,new a.default(13,115),new a.default(6,116)),new o.default(28,new a.default(14,46),new a.default(23,47)),new o.default(30,new a.default(44,24),new a.default(7,25)),new o.default(30,new a.default(59,16),new a.default(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new o.default(30,new a.default(12,121),new a.default(7,122)),new o.default(28,new a.default(12,47),new a.default(26,48)),new o.default(30,new a.default(39,24),new a.default(14,25)),new o.default(30,new a.default(22,15),new a.default(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new o.default(30,new a.default(6,121),new a.default(14,122)),new o.default(28,new a.default(6,47),new a.default(34,48)),new o.default(30,new a.default(46,24),new a.default(10,25)),new o.default(30,new a.default(2,15),new a.default(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new o.default(30,new a.default(17,122),new a.default(4,123)),new o.default(28,new a.default(29,46),new a.default(14,47)),new o.default(30,new a.default(49,24),new a.default(10,25)),new o.default(30,new a.default(24,15),new a.default(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new o.default(30,new a.default(4,122),new a.default(18,123)),new o.default(28,new a.default(13,46),new a.default(32,47)),new o.default(30,new a.default(48,24),new a.default(14,25)),new o.default(30,new a.default(42,15),new a.default(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new o.default(30,new a.default(20,117),new a.default(4,118)),new o.default(28,new a.default(40,47),new a.default(7,48)),new o.default(30,new a.default(43,24),new a.default(22,25)),new o.default(30,new a.default(10,15),new a.default(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new o.default(30,new a.default(19,118),new a.default(6,119)),new o.default(28,new a.default(18,47),new a.default(31,48)),new o.default(30,new a.default(34,24),new a.default(34,25)),new o.default(30,new a.default(20,15),new a.default(61,16)))],e}();t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),i=r(21),o=r(58),a=r(16),s=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var r=this.field,a=new i.default(r,e),s=new Int32Array(t),u=!0,l=0;l<t;l++){var c=a.evaluateAt(r.exp(l+r.getGeneratorBase()));s[s.length-1-l]=c,0!==c&&(u=!1)}if(!u){var f=new i.default(r,s),d=this.runEuclideanAlgorithm(r.buildMonomial(t,1),f,t),h=d[0],p=d[1],y=this.findErrorLocations(h),m=this.findErrorMagnitudes(p,y);for(l=0;l<y.length;l++){var b=e.length-1-r.log(y[l]);if(b<0)throw new o.default("Bad error location");e[b]=n.default.addOrSubtract(e[b],m[l])}}},e.prototype.runEuclideanAlgorithm=function(e,t,r){if(e.getDegree()<t.getDegree()){var n=e;e=t,t=n}for(var i=this.field,s=e,u=t,l=i.getZero(),c=i.getOne();u.getDegree()>=(r/2|0);){var f=s,d=l;if(l=c,(s=u).isZero())throw new o.default("r_{i-1} was zero");u=f;for(var h=i.getZero(),p=s.getCoefficient(s.getDegree()),y=i.inverse(p);u.getDegree()>=s.getDegree()&&!u.isZero();){var m=u.getDegree()-s.getDegree(),b=i.multiply(u.getCoefficient(u.getDegree()),y);h=h.addOrSubtract(i.buildMonomial(m,b)),u=u.addOrSubtract(s.multiplyByMonomial(m,b))}if(c=h.multiply(l).addOrSubtract(d),u.getDegree()>=s.getDegree())throw new a.default("Division algorithm failed to reduce polynomial?")}var g=c.getCoefficient(0);if(0===g)throw new o.default("sigmaTilde(0) was zero");var w=i.inverse(g);return[c.multiplyScalar(w),u.multiplyScalar(w)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var r=new Int32Array(t),n=0,i=this.field,a=1;a<i.getSize()&&n<t;a++)0===e.evaluateAt(a)&&(r[n]=i.inverse(a),n++);if(n!==t)throw new o.default("Error locator degree does not match number of roots");return r},e.prototype.findErrorMagnitudes=function(e,t){for(var r=t.length,n=new Int32Array(r),i=this.field,o=0;o<r;o++){for(var a=i.inverse(t[o]),s=1,u=0;u<r;u++)if(o!==u){var l=i.multiply(t[u],a),c=0==(1&l)?1|l:-2&l;s=i.multiply(s,c)}n[o]=i.multiply(e.evaluateAt(a),i.inverse(s)),0!==i.getGeneratorBase()&&(n[o]=i.multiply(n[o],a))}return n},e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(8),o=r(10),a=r(6),s=r(100),u=r(56),l=r(93),c=r(0),f=function(){function e(){this.decoder=new s.default}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,r){var a,s;if(null!=r&&void 0!==r.get(1)){var c=e.extractPureBits(t.getBlackMatrix());a=this.decoder.decodeBitMatrix(c,r),s=e.NO_POINTS}else{var f=new l.default(t.getBlackMatrix()).detect(r);a=this.decoder.decodeBitMatrix(f.getBits(),r),s=f.getPoints()}a.getOther()instanceof u.default&&a.getOther().applyMirroredCorrection(s);var d=new i.default(a.getText(),a.getRawBytes(),void 0,s,n.default.QR_CODE,void 0),h=a.getByteSegments();null!==h&&d.putMetadata(o.default.BYTE_SEGMENTS,h);var p=a.getECLevel();return null!==p&&d.putMetadata(o.default.ERROR_CORRECTION_LEVEL,p),a.hasStructuredAppend()&&(d.putMetadata(o.default.STRUCTURED_APPEND_SEQUENCE,a.getStructuredAppendSequenceNumber()),d.putMetadata(o.default.STRUCTURED_APPEND_PARITY,a.getStructuredAppendParity())),d},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null===t||null===r)throw new c.default;var n=this.moduleSize(t,e),i=t[1],o=r[1],s=t[0],u=r[0];if(s>=u||i>=o)throw new c.default;if(o-i!=u-s&&(u=s+(o-i))>=e.getWidth())throw new c.default;var l=Math.round((u-s+1)/n),f=Math.round((o-i+1)/n);if(l<=0||f<=0)throw new c.default;if(f!==l)throw new c.default;var d=Math.floor(n/2);i+=d;var h=(s+=d)+Math.floor((l-1)*n)-u;if(h>0){if(h>d)throw new c.default;s-=h}var p=i+Math.floor((f-1)*n)-o;if(p>0){if(p>d)throw new c.default;i-=p}for(var y=new a.default(l,f),m=0;m<f;m++)for(var b=i+Math.floor(m*n),g=0;g<l;g++)e.get(s+Math.floor(g*n),b)&&y.set(g,m);return y},e.moduleSize=function(e,t){for(var r=t.getHeight(),n=t.getWidth(),i=e[0],o=e[1],a=!0,s=0;i<n&&o<r;){if(a!==t.get(i,o)){if(5==++s)break;a=!a}i++,o++}if(i===n||o===r)throw new c.default;return(i-e[0])/7},e.NO_POINTS=new Array,e}();t.default=f},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(7),i=function(){function e(){}return e.equals=function(e,t){if(!e)return!1;if(!t)return!1;if(!e.length)return!1;if(!t.length)return!1;if(e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0},e.hashCode=function(e){if(null===e)return 0;for(var t=1,r=0,n=e;r<n.length;r++)t=31*t+n[r];return t},e.fillUint8Array=function(e,t){for(var r=0;r!==e.length;r++)e[r]=t},e.copyOf=function(e,t){var r=new Int32Array(t);return n.default.arraycopy(e,0,r,0,Math.min(e.length,t)),r},e.binarySearch=function(t,r,n){void 0===n&&(n=e.numberComparator);for(var i=0,o=t.length-1;i<=o;){var a=o+i>>1,s=n(r,t[a]);if(s>0)i=a+1;else{if(!(s<0))return a;o=a-1}}return-i-1},e.numberComparator=function(e,t){return e-t},e}();t.default=i},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(25),o=r(6),a=r(32),s=r(49),u=r(1),l=r(16),c=function(){function e(){}return e.prototype.encode=function(t,r,o,l,c){if(0===t.length)throw new u.default("Found empty contents");if(r!==n.default.QR_CODE)throw new u.default("Can only encode QR_CODE, but got "+r);if(o<0||l<0)throw new u.default("Requested dimensions are too small: "+o+"x"+l);var f=a.default.L,d=e.QUIET_ZONE_SIZE;null!==c&&(void 0!==c.get(i.default.ERROR_CORRECTION)&&(f=a.default.fromString(c.get(i.default.ERROR_CORRECTION).toString())),void 0!==c.get(i.default.MARGIN)&&(d=Number.parseInt(c.get(i.default.MARGIN).toString(),10)));var h=s.default.encode(t,f,c);return e.renderResult(h,o,l,d)},e.renderResult=function(e,t,r,n){var i=e.getMatrix();if(null===i)throw new l.default;for(var a=i.getWidth(),s=i.getHeight(),u=a+2*n,c=s+2*n,f=Math.max(t,u),d=Math.max(r,c),h=Math.min(Math.floor(f/u),Math.floor(d/c)),p=Math.floor((f-a*h)/2),y=Math.floor((d-s*h)/2),m=new o.default(f,d),b=0,g=y;b<s;b++,g+=h)for(var w=0,v=p;w<a;w++,v+=h)1===i.get(w,b)&&m.setRegion(v,g,h,h);return m},e.QUIET_ZONE_SIZE=4,e}();t.default=c},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(20),s=r(0),u=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=[0,0,0,0],t}return i(t,e),t.prototype.decodeMiddle=function(e,r,n){var i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var o=e.getSize(),s=r[1],u=0,l=0;l<6&&s<o;l++){var c=a.default.decodeDigit(e,i,s,a.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+c%10);for(var f=0,d=i;f<d.length;f++)s+=d[f];c>=10&&(u|=1<<5-l)}for(n=t.determineFirstDigit(n,u),s=a.default.findGuardPattern(e,s,!0,a.default.MIDDLE_PATTERN,new Array(a.default.MIDDLE_PATTERN.length).fill(0))[1],l=0;l<6&&s<o;l++){c=a.default.decodeDigit(e,i,s,a.default.L_PATTERNS),n+=String.fromCharCode("0".charCodeAt(0)+c);for(var h=0,p=i;h<p.length;h++)s+=p[h]}return{rowOffset:s,resultString:n}},t.prototype.getBarcodeFormat=function(){return o.default.EAN_13},t.determineFirstDigit=function(e,t){for(var r=0;r<10;r++)if(t===this.FIRST_DIGIT_ENCODINGS[r])return String.fromCharCode("0".charCodeAt(0)+r)+e;throw new s.default},t.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],t}(a.default);t.default=u},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(8),s=r(3),u=r(9),l=r(12),c=r(7),f=r(4),d=r(0),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return i(t,e),t.prototype.decodeRow=function(e,r,n){var i=this.decodeStart(r),u=this.decodeEnd(r),c=new l.default;t.decodeMiddle(r,i[1],u[0],c);var d=c.toString(),h=null;null!=n&&(h=n.get(5)),null==h&&(h=t.DEFAULT_ALLOWED_LENGTHS);for(var p=d.length,y=!1,m=0,b=0,g=h;b<g.length;b++){var w=g[b];if(p===w){y=!0;break}w>m&&(m=w)}if(!y&&p>m&&(y=!0),!y)throw new f.default;var v=[new s.default(i[1],e),new s.default(u[0],e)];return new a.default(d,null,0,v,o.default.ITF,(new Date).getTime())},t.decodeMiddle=function(e,r,n,i){var o=new Array(10),a=new Array(5),s=new Array(5);for(o.fill(0),a.fill(0),s.fill(0);r<n;){u.default.recordPattern(e,r,o);for(var l=0;l<5;l++){var c=2*l;a[l]=o[c],s[l]=o[c+1]}var f=t.decodeDigit(a);i.append(f.toString()),f=this.decodeDigit(s),i.append(f.toString()),o.forEach((function(e){r+=e}))}},t.prototype.decodeStart=function(e){var r=t.skipWhiteSpace(e),n=t.findGuardPattern(e,r,t.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(e,n[0]),n},t.prototype.validateQuietZone=function(e,t){var r=10*this.narrowLineWidth;r=r<t?r:t;for(var n=t-1;r>0&&n>=0&&!e.get(n);n--)r--;if(0!==r)throw new d.default},t.skipWhiteSpace=function(e){var t=e.getSize(),r=e.getNextSet(0);if(r===t)throw new d.default;return r},t.prototype.decodeEnd=function(e){e.reverse();try{var r=t.skipWhiteSpace(e),n=void 0;try{n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[0])}catch(i){n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[1])}this.validateQuietZone(e,n[0]);var i=n[0];return n[0]=e.getSize()-n[1],n[1]=e.getSize()-i,n}finally{e.reverse()}},t.findGuardPattern=function(e,r,n){var i=n.length,o=new Array(i),a=e.getSize(),s=!1,l=0,f=r;o.fill(0);for(var h=r;h<a;h++)if(e.get(h)!==s)o[l]++;else{if(l===i-1){if(u.default.patternMatchVariance(o,n,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return[f,h];f+=o[0]+o[1],c.default.arraycopy(o,2,o,0,l-1),o[l-1]=0,o[l]=0,l--}else l++;o[l]=1,s=!s}throw new d.default},t.decodeDigit=function(e){for(var r=t.MAX_AVG_VARIANCE,n=-1,i=t.PATTERNS.length,o=0;o<i;o++){var a=t.PATTERNS[o],s=u.default.patternMatchVariance(e,a,t.MAX_INDIVIDUAL_VARIANCE);s<r?(r=s,n=o):s===r&&(n=-1)}if(n>=0)return n%10;throw new d.default},t.W=3,t.w=2,t.N=1,t.PATTERNS=[[1,1,2,2,1],[2,1,1,1,2],[1,2,1,1,2],[2,2,1,1,1],[1,1,2,1,2],[2,1,2,1,1],[1,2,2,1,1],[1,1,1,2,2],[2,1,1,2,1],[1,2,1,2,1],[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=[1,1,1,1],t.END_PATTERN_REVERSED=[[1,1,2],[1,1,3]],t}(u.default);t.default=h},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(8),s=r(3),u=r(9),l=r(0),c=r(4),f=r(11),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.findStartPattern=function(e){for(var r=e.getSize(),n=e.getNextSet(0),i=0,o=[0,0,0,0,0,0],a=n,s=!1,c=n;c<r;c++)if(e.get(c)!==s)o[i]++;else{if(5===i){for(var f=t.MAX_AVG_VARIANCE,d=-1,h=t.CODE_START_A;h<=t.CODE_START_C;h++){var p=u.default.patternMatchVariance(o,t.CODE_PATTERNS[h],t.MAX_INDIVIDUAL_VARIANCE);p<f&&(f=p,d=h)}if(d>=0&&e.isRange(Math.max(0,a-(c-a)/2),a,!1))return[a,c,d];a+=o[0]+o[1],o.splice(0,2),o[i-1]=0,o[i]=0,i--}else i++;o[i]=1,s=!s}throw new l.default},t.decodeCode=function(e,r,n){u.default.recordPattern(e,n,r);for(var i=t.MAX_AVG_VARIANCE,o=-1,a=0;a<t.CODE_PATTERNS.length;a++){var s=t.CODE_PATTERNS[a],c=this.patternMatchVariance(r,s,t.MAX_INDIVIDUAL_VARIANCE);c<i&&(i=c,o=a)}if(o>=0)return o;throw new l.default},t.prototype.decodeRow=function(e,r,n){var i,u=n&&!0===n.get(7),d=t.findStartPattern(r),h=d[2],p=0,y=new Uint8Array(20);switch(y[p++]=h,h){case t.CODE_START_A:i=t.CODE_CODE_A;break;case t.CODE_START_B:i=t.CODE_CODE_B;break;case t.CODE_START_C:i=t.CODE_CODE_C;break;default:throw new c.default}for(var m=!1,b=!1,g="",w=d[0],v=d[1],_=[0,0,0,0,0,0],S=0,A=0,T=h,k=0,E=!0,I=!1,O=!1;!m;){var M=b;switch(b=!1,S=A,A=t.decodeCode(r,_,v),y[p++]=A,A!==t.CODE_STOP&&(E=!0),A!==t.CODE_STOP&&(T+=++k*A),w=v,v+=_.reduce((function(e,t){return e+t}),0),A){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new c.default}switch(i){case t.CODE_CODE_A:if(A<64)g+=O===I?String.fromCharCode(" ".charCodeAt(0)+A):String.fromCharCode(" ".charCodeAt(0)+A+128),O=!1;else if(A<96)g+=O===I?String.fromCharCode(A-64):String.fromCharCode(A+64),O=!1;else switch(A!==t.CODE_STOP&&(E=!1),A){case t.CODE_FNC_1:u&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!I&&O?(I=!0,O=!1):I&&O?(I=!1,O=!1):O=!0;break;case t.CODE_SHIFT:b=!0,i=t.CODE_CODE_B;break;case t.CODE_CODE_B:i=t.CODE_CODE_B;break;case t.CODE_CODE_C:i=t.CODE_CODE_C;break;case t.CODE_STOP:m=!0}break;case t.CODE_CODE_B:if(A<96)g+=O===I?String.fromCharCode(" ".charCodeAt(0)+A):String.fromCharCode(" ".charCodeAt(0)+A+128),O=!1;else switch(A!==t.CODE_STOP&&(E=!1),A){case t.CODE_FNC_1:u&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!I&&O?(I=!0,O=!1):I&&O?(I=!1,O=!1):O=!0;break;case t.CODE_SHIFT:b=!0,i=t.CODE_CODE_A;break;case t.CODE_CODE_A:i=t.CODE_CODE_A;break;case t.CODE_CODE_C:i=t.CODE_CODE_C;break;case t.CODE_STOP:m=!0}break;case t.CODE_CODE_C:if(A<100)A<10&&(g+="0"),g+=A;else switch(A!==t.CODE_STOP&&(E=!1),A){case t.CODE_FNC_1:u&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case t.CODE_CODE_A:i=t.CODE_CODE_A;break;case t.CODE_CODE_B:i=t.CODE_CODE_B;break;case t.CODE_STOP:m=!0}}M&&(i=i===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var x=v-w;if(v=r.getNextUnset(v),!r.isRange(v,Math.min(r.getSize(),v+(v-w)/2),!1))throw new l.default;if((T-=k*S)%103!==S)throw new f.default;var j=g.length;if(0===j)throw new l.default;j>0&&E&&(g=i===t.CODE_CODE_C?g.substring(0,j-2):g.substring(0,j-1));for(var P=(d[1]+d[0])/2,C=w+x/2,N=y.length,B=new Uint8Array(N),D=0;D<N;D++)B[D]=y[D];var R=[new s.default(P,e),new s.default(C,e)];return new a.default(g,B,0,R,o.default.CODE_128,(new Date).getTime())},t.CODE_PATTERNS=[[2,1,2,2,2,2],[2,2,2,1,2,2],[2,2,2,2,2,1],[1,2,1,2,2,3],[1,2,1,3,2,2],[1,3,1,2,2,2],[1,2,2,2,1,3],[1,2,2,3,1,2],[1,3,2,2,1,2],[2,2,1,2,1,3],[2,2,1,3,1,2],[2,3,1,2,1,2],[1,1,2,2,3,2],[1,2,2,1,3,2],[1,2,2,2,3,1],[1,1,3,2,2,2],[1,2,3,1,2,2],[1,2,3,2,2,1],[2,2,3,2,1,1],[2,2,1,1,3,2],[2,2,1,2,3,1],[2,1,3,2,1,2],[2,2,3,1,1,2],[3,1,2,1,3,1],[3,1,1,2,2,2],[3,2,1,1,2,2],[3,2,1,2,2,1],[3,1,2,2,1,2],[3,2,2,1,1,2],[3,2,2,2,1,1],[2,1,2,1,2,3],[2,1,2,3,2,1],[2,3,2,1,2,1],[1,1,1,3,2,3],[1,3,1,1,2,3],[1,3,1,3,2,1],[1,1,2,3,1,3],[1,3,2,1,1,3],[1,3,2,3,1,1],[2,1,1,3,1,3],[2,3,1,1,1,3],[2,3,1,3,1,1],[1,1,2,1,3,3],[1,1,2,3,3,1],[1,3,2,1,3,1],[1,1,3,1,2,3],[1,1,3,3,2,1],[1,3,3,1,2,1],[3,1,3,1,2,1],[2,1,1,3,3,1],[2,3,1,1,3,1],[2,1,3,1,1,3],[2,1,3,3,1,1],[2,1,3,1,3,1],[3,1,1,1,2,3],[3,1,1,3,2,1],[3,3,1,1,2,1],[3,1,2,1,1,3],[3,1,2,3,1,1],[3,3,2,1,1,1],[3,1,4,1,1,1],[2,2,1,4,1,1],[4,3,1,1,1,1],[1,1,1,2,2,4],[1,1,1,4,2,2],[1,2,1,1,2,4],[1,2,1,4,2,1],[1,4,1,1,2,2],[1,4,1,2,2,1],[1,1,2,2,1,4],[1,1,2,4,1,2],[1,2,2,1,1,4],[1,2,2,4,1,1],[1,4,2,1,1,2],[1,4,2,2,1,1],[2,4,1,2,1,1],[2,2,1,1,1,4],[4,1,3,1,1,1],[2,4,1,1,1,2],[1,3,4,1,1,1],[1,1,1,2,4,2],[1,2,1,1,4,2],[1,2,1,2,4,1],[1,1,4,2,1,2],[1,2,4,1,1,2],[1,2,4,2,1,1],[4,1,1,2,1,2],[4,2,1,1,1,2],[4,2,1,2,1,1],[2,1,2,1,4,1],[2,1,4,1,2,1],[4,1,2,1,2,1],[1,1,1,1,4,3],[1,1,1,3,4,1],[1,3,1,1,4,1],[1,1,4,1,1,3],[1,1,4,3,1,1],[4,1,1,1,1,3],[4,1,1,3,1,1],[1,1,3,1,4,1],[1,1,4,1,3,1],[3,1,1,1,4,1],[4,1,1,1,3,1],[2,1,1,4,1,2],[2,1,1,2,1,4],[2,1,1,2,3,2],[2,3,3,1,1,1,2]],t.MAX_AVG_VARIANCE=.25,t.MAX_INDIVIDUAL_VARIANCE=.7,t.CODE_SHIFT=98,t.CODE_CODE_C=99,t.CODE_CODE_B=100,t.CODE_CODE_A=101,t.CODE_FNC_1=102,t.CODE_FNC_2=97,t.CODE_FNC_3=96,t.CODE_FNC_4_A=101,t.CODE_FNC_4_B=100,t.CODE_START_A=103,t.CODE_START_B=104,t.CODE_START_C=105,t.CODE_STOP=106,t}(u.default);t.default=d},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(11),s=r(4),u=r(0),l=r(9),c=r(8),f=r(3),d=function(e){function t(t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.call(this)||this;return n.usingCheckDigit=t,n.extendedMode=r,n.decodeRowResult="",n.counters=new Array(9),n}return i(t,e),t.prototype.decodeRow=function(e,r,n){var i=this.counters;i.fill(0),this.decodeRowResult="";var s,l,d,h=t.findAsteriskPattern(r,i),p=r.getNextSet(h[1]),y=r.getSize();do{t.recordPattern(r,p,i);var m=t.toNarrowWidePattern(i);if(m<0)throw new u.default;s=t.patternToChar(m),this.decodeRowResult+=s,l=p;for(var b=0,g=i;b<g.length;b++)p+=g[b];p=r.getNextSet(p)}while("*"!==s);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);for(var w=0,v=0,_=i;v<_.length;v++)w+=_[v];if(p!==y&&2*(p-l-w)<w)throw new u.default;if(this.usingCheckDigit){for(var S=this.decodeRowResult.length-1,A=0,T=0;T<S;T++)A+=t.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(T));if(this.decodeRowResult.charAt(S)!==t.ALPHABET_STRING.charAt(A%43))throw new a.default;this.decodeRowResult=this.decodeRowResult.substring(0,S)}if(0===this.decodeRowResult.length)throw new u.default;d=this.extendedMode?t.decodeExtended(this.decodeRowResult):this.decodeRowResult;var k=(h[1]+h[0])/2,E=l+w/2;return new c.default(d,null,0,[new f.default(k,e),new f.default(E,e)],o.default.CODE_39,(new Date).getTime())},t.findAsteriskPattern=function(e,r){for(var n=e.getSize(),i=e.getNextSet(0),o=0,a=i,s=!1,l=r.length,c=i;c<n;c++)if(e.get(c)!==s)r[o]++;else{if(o===l-1){if(this.toNarrowWidePattern(r)===t.ASTERISK_ENCODING&&e.isRange(Math.max(0,a-Math.floor((c-a)/2)),a,!1))return[a,c];a+=r[0]+r[1],r.copyWithin(0,2,2+o-1),r[o-1]=0,r[o]=0,o--}else o++;r[o]=1,s=!s}throw new u.default},t.toNarrowWidePattern=function(e){var t,r=e.length,n=0;do{for(var i=2147483647,o=0,a=e;o<a.length;o++)(c=a[o])<i&&c>n&&(i=c);n=i,t=0;for(var s=0,u=0,l=0;l<r;l++)(c=e[l])>n&&(u|=1<<r-1-l,t++,s+=c);if(3===t){for(l=0;l<r&&t>0;l++){var c;if((c=e[l])>n&&(t--,2*c>=s))return-1}return u}}while(t>3);return-1},t.patternToChar=function(e){for(var r=0;r<t.CHARACTER_ENCODINGS.length;r++)if(t.CHARACTER_ENCODINGS[r]===e)return t.ALPHABET_STRING.charAt(r);if(e===t.ASTERISK_ENCODING)return"*";throw new u.default},t.decodeExtended=function(e){for(var t=e.length,r="",n=0;n<t;n++){var i=e.charAt(n);if("+"===i||"$"===i||"%"===i||"/"===i){var o=e.charAt(n+1),a="\0";switch(i){case"+":if(!(o>="A"&&o<="Z"))throw new s.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"$":if(!(o>="A"&&o<="Z"))throw new s.default;a=String.fromCharCode(o.charCodeAt(0)-64);break;case"%":if(o>="A"&&o<="E")a=String.fromCharCode(o.charCodeAt(0)-38);else if(o>="F"&&o<="J")a=String.fromCharCode(o.charCodeAt(0)-11);else if(o>="K"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)+16);else if(o>="P"&&o<="T")a=String.fromCharCode(o.charCodeAt(0)+43);else if("U"===o)a="\0";else if("V"===o)a="@";else if("W"===o)a="`";else{if("X"!==o&&"Y"!==o&&"Z"!==o)throw new s.default;a=""}break;case"/":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new s.default;a=":"}}r+=a,n++}else r+=i}return r},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(l.default);t.default=d},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(44),s=r(43),u=r(42),l=r(75),c=r(0),f=function(e){function t(t){var r=e.call(this)||this;r.readers=[];var n=t?t.get(2):null,i=t&&void 0!==t.get(6);return n&&(n.includes(o.default.EAN_13)&&r.readers.push(new l.default(t)),n.includes(o.default.CODE_39)&&r.readers.push(new a.default(i)),n.includes(o.default.CODE_128)&&r.readers.push(new s.default),n.includes(o.default.ITF)&&r.readers.push(new u.default)),0===r.readers.length&&(r.readers.push(new a.default),r.readers.push(new l.default(t)),r.readers.push(new s.default),r.readers.push(new u.default)),r}return i(t,e),t.prototype.decodeRow=function(e,t,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(e,t,r)}catch(e){}throw new c.default},t.prototype.reset=function(){this.readers.forEach((function(e){return e.reset()}))},t}(r(9).default);t.default=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(12),i=function(){function e(){this.maskPattern=-1}return e.prototype.getMode=function(){return this.mode},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getVersion=function(){return this.version},e.prototype.getMaskPattern=function(){return this.maskPattern},e.prototype.getMatrix=function(){return this.matrix},e.prototype.toString=function(){var e=new n.default;return e.append("<<\n"),e.append(" mode: "),e.append(this.mode?this.mode.toString():"null"),e.append("\n ecLevel: "),e.append(this.ecLevel?this.ecLevel.toString():"null"),e.append("\n version: "),e.append(this.version?this.version.toString():"null"),e.append("\n maskPattern: "),e.append(this.maskPattern.toString()),this.matrix?(e.append("\n matrix:\n"),e.append(this.matrix.toString())):e.append("\n matrix: null\n"),e.append(">>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t<e.NUM_MASK_PATTERNS},e.NUM_MASK_PATTERNS=8,e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(){}return e.applyMaskPenaltyRule1=function(t){return e.applyMaskPenaltyRule1Internal(t,!0)+e.applyMaskPenaltyRule1Internal(t,!1)},e.applyMaskPenaltyRule2=function(t){for(var r=0,n=t.getArray(),i=t.getWidth(),o=t.getHeight(),a=0;a<o-1;a++)for(var s=n[a],u=0;u<i-1;u++){var l=s[u];l===s[u+1]&&l===n[a+1][u]&&l===n[a+1][u+1]&&r++}return e.N2*r},e.applyMaskPenaltyRule3=function(t){for(var r=0,n=t.getArray(),i=t.getWidth(),o=t.getHeight(),a=0;a<o;a++)for(var s=0;s<i;s++){var u=n[a];s+6<i&&1===u[s]&&0===u[s+1]&&1===u[s+2]&&1===u[s+3]&&1===u[s+4]&&0===u[s+5]&&1===u[s+6]&&(e.isWhiteHorizontal(u,s-4,s)||e.isWhiteHorizontal(u,s+7,s+11))&&r++,a+6<o&&1===n[a][s]&&0===n[a+1][s]&&1===n[a+2][s]&&1===n[a+3][s]&&1===n[a+4][s]&&0===n[a+5][s]&&1===n[a+6][s]&&(e.isWhiteVertical(n,s,a-4,a)||e.isWhiteVertical(n,s,a+7,a+11))&&r++}return r*e.N3},e.isWhiteHorizontal=function(e,t,r){t=Math.max(t,0),r=Math.min(r,e.length);for(var n=t;n<r;n++)if(1===e[n])return!1;return!0},e.isWhiteVertical=function(e,t,r,n){r=Math.max(r,0),n=Math.min(n,e.length);for(var i=r;i<n;i++)if(1===e[i][t])return!1;return!0},e.applyMaskPenaltyRule4=function(t){for(var r=0,n=t.getArray(),i=t.getWidth(),o=t.getHeight(),a=0;a<o;a++)for(var s=n[a],u=0;u<i;u++)1===s[u]&&r++;var l=t.getHeight()*t.getWidth();return Math.floor(10*Math.abs(2*r-l)/l)*e.N4},e.getDataMaskBit=function(e,t,r){var i,o;switch(e){case 0:i=r+t&1;break;case 1:i=1&r;break;case 2:i=t%3;break;case 3:i=(r+t)%3;break;case 4:i=Math.floor(r/2)+Math.floor(t/3)&1;break;case 5:i=(1&(o=r*t))+o%3;break;case 6:i=(1&(o=r*t))+o%3&1;break;case 7:i=(o=r*t)%3+(r+t&1)&1;break;default:throw new n.default("Invalid mask pattern: "+e)}return 0===i},e.applyMaskPenaltyRule1Internal=function(t,r){for(var n=0,i=r?t.getHeight():t.getWidth(),o=r?t.getWidth():t.getHeight(),a=t.getArray(),s=0;s<i;s++){for(var u=0,l=-1,c=0;c<o;c++){var f=r?a[s][c]:a[c][s];f===l?u++:(u>=5&&(n+=e.N1+(u-5)),u=1,l=f)}u>=5&&(n+=e.N1+(u-5))}return n},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(21),i=r(7),o=r(1),a=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new n.default(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var r=t[t.length-1],i=this.field,o=t.length;o<=e;o++){var a=r.multiply(new n.default(i,Int32Array.from([1,i.exp(o-1+i.getGeneratorBase())])));t.push(a),r=a}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new o.default("No error correction bytes");var r=e.length-t;if(r<=0)throw new o.default("No data bytes provided");var a=this.buildGenerator(t),s=new Int32Array(r);i.default.arraycopy(e,0,s,0,r);for(var u=new n.default(this.field,s),l=(u=u.multiplyByMonomial(t,1)).divide(a)[1].getCoefficients(),c=t-l.length,f=0;f<c;f++)e[r+f]=0;i.default.arraycopy(l,0,e,r+c,l.length)},e}();t.default=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(25),i=r(14),o=r(15),a=r(13),s=r(48),u=r(54),l=r(33),c=r(47),f=r(79),d=r(46),h=r(78),p=r(29),y=r(77),m=r(24),b=function(){function e(){}return e.calculateMaskPenalty=function(e){return c.default.applyMaskPenaltyRule1(e)+c.default.applyMaskPenaltyRule2(e)+c.default.applyMaskPenaltyRule3(e)+c.default.applyMaskPenaltyRule4(e)},e.encode=function(t,r,a){void 0===a&&(a=null);var s=e.DEFAULT_BYTE_MODE_ENCODING,c=null!==a&&void 0!==a.get(n.default.CHARACTER_SET);c&&(s=a.get(n.default.CHARACTER_SET).toString());var p=this.chooseMode(t,s),y=new i.default;if(p===u.default.BYTE&&(c||e.DEFAULT_BYTE_MODE_ENCODING!==s)){var b=o.default.getCharacterSetECIByName(s);void 0!==b&&this.appendECI(b,y)}this.appendModeInfo(p,y);var g,w=new i.default;if(this.appendBytes(t,p,w,s),null!==a&&void 0!==a.get(n.default.QR_VERSION)){var v=Number.parseInt(a.get(n.default.QR_VERSION).toString(),10);g=l.default.getVersionForNumber(v);var _=this.calculateBitsNeeded(p,y,w,g);if(!this.willFit(_,g,r))throw new m.default("Data too big for requested version")}else g=this.recommendVersion(r,p,y,w);var S=new i.default;S.appendBitArray(y);var A=p===u.default.BYTE?w.getSizeInBytes():t.length;this.appendLengthInfo(A,g,p,S),S.appendBitArray(w);var T=g.getECBlocksForLevel(r),k=g.getTotalCodewords()-T.getTotalECCodewords();this.terminateBits(k,S);var E=this.interleaveWithECBytes(S,g.getTotalCodewords(),k,T.getNumBlocks()),I=new d.default;I.setECLevel(r),I.setMode(p),I.setVersion(g);var O=g.getDimensionForVersion(),M=new f.default(O,O),x=this.chooseMaskPattern(E,r,g,M);return I.setMaskPattern(x),h.default.buildMatrix(E,r,g,x,M),I.setMatrix(M),I},e.recommendVersion=function(e,t,r,n){var i=this.calculateBitsNeeded(t,r,n,l.default.getVersionForNumber(1)),o=this.chooseVersion(i,e),a=this.calculateBitsNeeded(t,r,n,o);return this.chooseVersion(a,e)},e.calculateBitsNeeded=function(e,t,r,n){return t.getSize()+e.getCharacterCountBits(n)+r.getSize()},e.getAlphanumericCode=function(t){return t<e.ALPHANUMERIC_TABLE.length?e.ALPHANUMERIC_TABLE[t]:-1},e.chooseMode=function(t,r){if(void 0===r&&(r=null),o.default.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(t))return u.default.KANJI;for(var n=!1,i=!1,a=0,s=t.length;a<s;++a){var l=t.charAt(a);if(e.isDigit(l))n=!0;else{if(-1===this.getAlphanumericCode(l.charCodeAt(0)))return u.default.BYTE;i=!0}}return i?u.default.ALPHANUMERIC:n?u.default.NUMERIC:u.default.BYTE},e.isOnlyDoubleByteKanji=function(e){var t;try{t=p.default.encode(e,o.default.SJIS)}catch(e){return!1}var r=t.length;if(r%2!=0)return!1;for(var n=0;n<r;n+=2){var i=255&t[n];if((i<129||i>159)&&(i<224||i>235))return!1}return!0},e.chooseMaskPattern=function(e,t,r,n){for(var i=Number.MAX_SAFE_INTEGER,o=-1,a=0;a<d.default.NUM_MASK_PATTERNS;a++){h.default.buildMatrix(e,t,r,a,n);var s=this.calculateMaskPenalty(n);s<i&&(i=s,o=a)}return o},e.chooseVersion=function(t,r){for(var n=1;n<=40;n++){var i=l.default.getVersionForNumber(n);if(e.willFit(t,i,r))return i}throw new m.default("Data too big")},e.willFit=function(e,t,r){return t.getTotalCodewords()-t.getECBlocksForLevel(r).getTotalECCodewords()>=(e+7)/8},e.terminateBits=function(e,t){var r=8*e;if(t.getSize()>r)throw new m.default("data bits cannot fit in the QR Code"+t.getSize()+" > "+r);for(var n=0;n<4&&t.getSize()<r;++n)t.appendBit(!1);var i=7&t.getSize();if(i>0)for(n=i;n<8;n++)t.appendBit(!1);var o=e-t.getSizeInBytes();for(n=0;n<o;++n)t.appendBits(0==(1&n)?236:17,8);if(t.getSize()!==r)throw new m.default("Bits size does not equal capacity")},e.getNumDataBytesAndNumECBytesForBlockID=function(e,t,r,n,i,o){if(n>=r)throw new m.default("Block ID too large");var a=e%r,s=r-a,u=Math.floor(e/r),l=u+1,c=Math.floor(t/r),f=c+1,d=u-c,h=l-f;if(d!==h)throw new m.default("EC bytes mismatch");if(r!==s+a)throw new m.default("RS blocks mismatch");if(e!==(c+d)*s+(f+h)*a)throw new m.default("Total bytes mismatch");n<s?(i[0]=c,o[0]=d):(i[0]=f,o[0]=h)},e.interleaveWithECBytes=function(t,r,n,o){if(t.getSizeInBytes()!==n)throw new m.default("Number of bits and data bytes does not match");for(var a=0,s=0,u=0,l=new Array,c=0;c<o;++c){var f=new Int32Array(1),d=new Int32Array(1);e.getNumDataBytesAndNumECBytesForBlockID(r,n,o,c,f,d);var h=f[0],p=new Uint8Array(h);t.toBytes(8*a,p,0,h);var b=e.generateECBytes(p,d[0]);l.push(new y.default(p,b)),s=Math.max(s,h),u=Math.max(u,b.length),a+=f[0]}if(n!==a)throw new m.default("Data bytes does not match offset");var g=new i.default;for(c=0;c<s;++c)for(var w=0,v=l;w<v.length;w++)c<(p=v[w].getDataBytes()).length&&g.appendBits(p[c],8);for(c=0;c<u;++c)for(var _=0,S=l;_<S.length;_++)c<(b=S[_].getErrorCorrectionBytes()).length&&g.appendBits(b[c],8);if(r!==g.getSizeInBytes())throw new m.default("Interleaving error: "+r+" and "+g.getSizeInBytes()+" differ.");return g},e.generateECBytes=function(e,t){for(var r=e.length,n=new Int32Array(r+t),i=0;i<r;i++)n[i]=255&e[i];new s.default(a.default.QR_CODE_FIELD_256).encode(n,t);var o=new Uint8Array(t);for(i=0;i<t;i++)o[i]=n[r+i];return o},e.appendModeInfo=function(e,t){t.appendBits(e.getBits(),4)},e.appendLengthInfo=function(e,t,r,n){var i=r.getCharacterCountBits(t);if(e>=1<<i)throw new m.default(e+" is bigger than "+((1<<i)-1));n.appendBits(e,i)},e.appendBytes=function(t,r,n,i){switch(r){case u.default.NUMERIC:e.appendNumericBytes(t,n);break;case u.default.ALPHANUMERIC:e.appendAlphanumericBytes(t,n);break;case u.default.BYTE:e.append8BitBytes(t,n,i);break;case u.default.KANJI:e.appendKanjiBytes(t,n);break;default:throw new m.default("Invalid mode: "+r)}},e.getDigit=function(e){return e.charCodeAt(0)-48},e.isDigit=function(t){var r=e.getDigit(t);return r>=0&&r<=9},e.appendNumericBytes=function(t,r){for(var n=t.length,i=0;i<n;){var o=e.getDigit(t.charAt(i));if(i+2<n){var a=e.getDigit(t.charAt(i+1)),s=e.getDigit(t.charAt(i+2));r.appendBits(100*o+10*a+s,10),i+=3}else i+1<n?(a=e.getDigit(t.charAt(i+1)),r.appendBits(10*o+a,7),i+=2):(r.appendBits(o,4),i++)}},e.appendAlphanumericBytes=function(t,r){for(var n=t.length,i=0;i<n;){var o=e.getAlphanumericCode(t.charCodeAt(i));if(-1===o)throw new m.default;if(i+1<n){var a=e.getAlphanumericCode(t.charCodeAt(i+1));if(-1===a)throw new m.default;r.appendBits(45*o+a,11),i+=2}else r.appendBits(o,6),i++}},e.append8BitBytes=function(e,t,r){var n;try{n=p.default.encode(e,r)}catch(e){throw new m.default(e)}for(var i=0,o=n.length;i!==o;i++){var a=n[i];t.appendBits(a,8)}},e.appendKanjiBytes=function(e,t){var r;try{r=p.default.encode(e,o.default.SJIS)}catch(e){throw new m.default(e)}for(var n=r.length,i=0;i<n;i+=2){var a=(255&r[i])<<8&4294967295|255&r[i+1],s=-1;if(a>=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new m.default("Invalid byte sequence");var u=192*(s>>8)+(255&s);t.appendBits(u,13)}},e.appendECI=function(e,t){t.appendBits(u.default.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=o.default.UTF8.getName(),e}();t.default=b},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(17),o=r(0),a=function(){function e(t,r,n,i){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null!=r||(r=e.INIT_SIZE),null!=n||(n=t.getWidth()/2|0),null!=i||(i=t.getHeight()/2|0);var a=r/2|0;if(this.leftInit=n-a,this.rightInit=n+a,this.upInit=i-a,this.downInit=i+a,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new o.default}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,r=this.upInit,n=this.downInit,i=!1,a=!0,s=!1,u=!1,l=!1,c=!1,f=!1,d=this.width,h=this.height;a;){a=!1;for(var p=!0;(p||!u)&&t<d;)(p=this.containsBlackPoint(r,n,t,!1))?(t++,a=!0,u=!0):u||t++;if(t>=d){i=!0;break}for(var y=!0;(y||!l)&&n<h;)(y=this.containsBlackPoint(e,t,n,!0))?(n++,a=!0,l=!0):l||n++;if(n>=h){i=!0;break}for(var m=!0;(m||!c)&&e>=0;)(m=this.containsBlackPoint(r,n,e,!1))?(e--,a=!0,c=!0):c||e--;if(e<0){i=!0;break}for(var b=!0;(b||!f)&&r>=0;)(b=this.containsBlackPoint(e,t,r,!0))?(r--,a=!0,f=!0):f||r--;if(r<0){i=!0;break}a&&(s=!0)}if(!i&&s){for(var g=t-e,w=null,v=1;null===w&&v<g;v++)w=this.getBlackPointOnSegment(e,n-v,e+v,n);if(null==w)throw new o.default;var _=null;for(v=1;null===_&&v<g;v++)_=this.getBlackPointOnSegment(e,r+v,e+v,r);if(null==_)throw new o.default;var S=null;for(v=1;null===S&&v<g;v++)S=this.getBlackPointOnSegment(t,r+v,t-v,r);if(null==S)throw new o.default;var A=null;for(v=1;null===A&&v<g;v++)A=this.getBlackPointOnSegment(t,n-v,t-v,n);if(null==A)throw new o.default;return this.centerEdges(A,w,S,_)}throw new o.default},e.prototype.getBlackPointOnSegment=function(e,t,r,o){for(var a=i.default.round(i.default.distance(e,t,r,o)),s=(r-e)/a,u=(o-t)/a,l=this.image,c=0;c<a;c++){var f=i.default.round(e+c*s),d=i.default.round(t+c*u);if(l.get(f,d))return new n.default(f,d)}return null},e.prototype.centerEdges=function(t,r,i,o){var a=t.getX(),s=t.getY(),u=r.getX(),l=r.getY(),c=i.getX(),f=i.getY(),d=o.getX(),h=o.getY(),p=e.CORR;return a<this.width/2?[new n.default(d-p,h+p),new n.default(u+p,l+p),new n.default(c-p,f-p),new n.default(a+p,s-p)]:[new n.default(d+p,h+p),new n.default(u+p,l-p),new n.default(c-p,f+p),new n.default(a-p,s-p)]},e.prototype.containsBlackPoint=function(e,t,r,n){var i=this.image;if(n){for(var o=e;o<=t;o++)if(i.get(o,r))return!0}else for(var a=e;a<=t;a++)if(i.get(r,a))return!0;return!1},e.INIT_SIZE=10,e.CORR=1,e}();t.default=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(86),i=r(8),o=r(2),a=r(10),s=r(6),u=r(81),l=r(7),c=r(0),f=function(){function e(){this.decoder=new n.default}return e.prototype.decode=function(t,r){var n,s;if(void 0===r&&(r=null),null!=r&&r.has(1)){var c=e.extractPureBits(t.getBlackMatrix());n=this.decoder.decode(c),s=e.NO_POINTS}else{var f=new u.default(t.getBlackMatrix()).detect();n=this.decoder.decode(f.getBits()),s=f.getPoints()}var d=n.getRawBytes(),h=new i.default(n.getText(),d,8*d.length,s,o.default.DATA_MATRIX,l.default.currentTimeMillis()),p=n.getByteSegments();null!=p&&h.putMetadata(a.default.BYTE_SEGMENTS,p);var y=n.getECLevel();return null!=y&&h.putMetadata(a.default.ERROR_CORRECTION_LEVEL,y),h},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(null==t||null==r)throw new c.default;var n=this.moduleSize(t,e),i=t[1],o=r[1],a=t[0],u=(r[0]-a+1)/n,l=(o-i+1)/n;if(u<=0||l<=0)throw new c.default;var f=n/2;i+=f,a+=f;for(var d=new s.default(u,l),h=0;h<l;h++)for(var p=i+h*n,y=0;y<u;y++)e.get(a+y*n,p)&&d.set(y,h);return d},e.moduleSize=function(e,t){for(var r=t.getWidth(),n=e[0],i=e[1];n<r&&t.get(n,i);)n++;if(n===r)throw new c.default;var o=n-e[0];if(0===o)throw new c.default;return o},e.NO_POINTS=[],e}();t.default=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var r=e.getWidth(),i=e.getHeight(),o=!0,a=0;a<t.length&&o;a+=2){var s=Math.floor(t[a]),u=Math.floor(t[a+1]);if(s<-1||s>r||u<-1||u>i)throw new n.default;o=!1,-1===s?(t[a]=0,o=!0):s===r&&(t[a]=r-1,o=!0),-1===u?(t[a+1]=0,o=!0):u===i&&(t[a+1]=i-1,o=!0)}for(o=!0,a=t.length-2;a>=0&&o;a-=2){if(s=Math.floor(t[a]),u=Math.floor(t[a+1]),s<-1||s>r||u<-1||u>i)throw new n.default;o=!1,-1===s?(t[a]=0,o=!0):s===r&&(t[a]=r-1,o=!0),-1===u?(t[a+1]=0,o=!0):u===i&&(t[a+1]=i-1,o=!0)}},e}();t.default=i},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(52),a=r(6),s=r(26),u=r(0),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.sampleGrid=function(e,t,r,n,i,o,a,u,l,c,f,d,h,p,y,m,b,g,w){var v=s.default.quadrilateralToQuadrilateral(n,i,o,a,u,l,c,f,d,h,p,y,m,b,g,w);return this.sampleGridWithTransform(e,t,r,v)},t.prototype.sampleGridWithTransform=function(e,t,r,n){if(t<=0||r<=0)throw new u.default;for(var i=new a.default(t,r),s=new Float32Array(2*t),l=0;l<r;l++){for(var c=s.length,f=l+.5,d=0;d<c;d+=2)s[d]=d/2+.5,s[d+1]=f;n.transformPoints(s),o.default.checkAndNudgePoints(e,s);try{for(d=0;d<c;d+=2)e.get(Math.floor(s[d]),Math.floor(s[d+1]))&&i.set(d/2,l)}catch(e){throw new u.default}}return i},t}(o.default);t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);!function(e){e[e.TERMINATOR=0]="TERMINATOR",e[e.NUMERIC=1]="NUMERIC",e[e.ALPHANUMERIC=2]="ALPHANUMERIC",e[e.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",e[e.BYTE=4]="BYTE",e[e.ECI=5]="ECI",e[e.KANJI=6]="KANJI",e[e.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",e[e.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",e[e.HANZI=9]="HANZI"}(t.ModeValues||(t.ModeValues={}));var i=function(){function e(t,r,n,i){this.value=t,this.stringValue=r,this.characterCountBitsForVersions=n,this.bits=i,e.FOR_BITS.set(i,this),e.FOR_VALUE.set(t,this)}return e.forBits=function(t){var r=e.FOR_BITS.get(t);if(void 0===r)throw new n.default;return r},e.prototype.getCharacterCountBits=function(e){var t,r=e.getVersionNumber();return t=r<=9?0:r<=26?1:2,this.characterCountBitsForVersions[t]},e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.value===r.value},e.prototype.toString=function(){return this.stringValue},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.TERMINATOR=new e(0,"TERMINATOR",Int32Array.from([0,0,0]),0),e.NUMERIC=new e(1,"NUMERIC",Int32Array.from([10,12,14]),1),e.ALPHANUMERIC=new e(2,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),e.STRUCTURED_APPEND=new e(3,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),e.BYTE=new e(4,"BYTE",Int32Array.from([8,16,16]),4),e.ECI=new e(5,"ECI",Int32Array.from([0,0,0]),7),e.KANJI=new e(6,"KANJI",Int32Array.from([8,10,12]),8),e.FNC1_FIRST_POSITION=new e(7,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),e.FNC1_SECOND_POSITION=new e(8,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),e.HANZI=new e(9,"HANZI",Int32Array.from([8,10,12]),13),e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(15),i=function(){function e(){}return e.prototype.StringUtils=function(){},e.guessEncoding=function(t,r){if(null!=r&&void 0!==r.get(4))return r.get(4).toString();for(var n=t.length,i=!0,o=!0,a=!0,s=0,u=0,l=0,c=0,f=0,d=0,h=0,p=0,y=0,m=0,b=0,g=t.length>3&&239===t[0]&&187===t[1]&&191===t[2],w=0;w<n&&(i||o||a);w++){var v=255&t[w];a&&(s>0?0==(128&v)?a=!1:s--:0!=(128&v)&&(0==(64&v)?a=!1:(s++,0==(32&v)?u++:(s++,0==(16&v)?l++:(s++,0==(8&v)?c++:a=!1))))),i&&(v>127&&v<160?i=!1:v>159&&(v<192||215===v||247===v)&&b++),o&&(f>0?v<64||127===v||v>252?o=!1:f--:128===v||160===v||v>239?o=!1:v>160&&v<224?(d++,p=0,++h>y&&(y=h)):v>127?(f++,h=0,++p>m&&(m=p)):(h=0,p=0))}return a&&s>0&&(a=!1),o&&f>0&&(o=!1),a&&(g||u+l+c>0)?e.UTF8:o&&(e.ASSUME_SHIFT_JIS||y>=3||m>=3)?e.SHIFT_JIS:i&&o?2===y&&2===d||10*b>=n?e.SHIFT_JIS:e.ISO88591:i?e.ISO88591:o?e.SHIFT_JIS:a?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.SHIFT_JIS=n.default.SJIS.getName(),e.GB2312="GB2312",e.ISO88591=n.default.ISO8859_1.getName(),e.EUC_JP="EUC_JP",e.UTF8=n.default.UTF8.getName(),e.PLATFORM_DEFAULT_ENCODING=e.UTF8,e.ASSUME_SHIFT_JIS=!1,e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.mirrored=e}return e.prototype.isMirrored=function(){return this.mirrored},e.prototype.applyMirroredCorrection=function(e){if(this.mirrored&&null!==e&&!(e.length<3)){var t=e[0];e[0]=e[2],e[2]=t}},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(32),i=r(22),o=function(){function e(e){this.errorCorrectionLevel=n.default.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return i.default.bitCount(e^t)},e.decodeFormatInformation=function(t,r){var n=e.doDecodeFormatInformation(t,r);return null!==n?n:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,r^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,r){for(var n=Number.MAX_SAFE_INTEGER,i=0,o=0,a=e.FORMAT_INFO_DECODE_LOOKUP;o<a.length;o++){var s=a[o],u=s[0];if(u===t||u===r)return new e(s[1]);var l=e.numBitsDiffering(t,u);l<n&&(i=s[1],n=l),t!==r&&(l=e.numBitsDiffering(r,u))<n&&(i=s[1],n=l)}return n<=3?new e(i):null},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getDataMask=function(){return this.dataMask},e.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.dataMask},e.FORMAT_INFO_MASK_QR=21522,e.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],e}();t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(5).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.source=e}return e.prototype.getLuminanceSource=function(){return this.source},e.prototype.getWidth=function(){return this.source.getWidth()},e.prototype.getHeight=function(){return this.source.getHeight()},e}();t.default=n},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(60),a=r(14),s=r(6),u=r(0),l=function(e){function t(r){var n=e.call(this,r)||this;return n.luminances=t.EMPTY,n.buckets=new Int32Array(t.LUMINANCE_BUCKETS),n}return i(t,e),t.prototype.getBlackRow=function(e,r){var n=this.getLuminanceSource(),i=n.getWidth();null==r||r.getSize()<i?r=new a.default(i):r.clear(),this.initArrays(i);for(var o=n.getRow(e,this.luminances),s=this.buckets,u=0;u<i;u++)s[(255&o[u])>>t.LUMINANCE_SHIFT]++;var l=t.estimateBlackPoint(s);if(i<3)for(u=0;u<i;u++)(255&o[u])<l&&r.set(u);else{var c=255&o[0],f=255&o[1];for(u=1;u<i-1;u++){var d=255&o[u+1];(4*f-c-d)/2<l&&r.set(u),c=f,f=d}}return r},t.prototype.getBlackMatrix=function(){var e=this.getLuminanceSource(),r=e.getWidth(),n=e.getHeight(),i=new s.default(r,n);this.initArrays(r);for(var o=this.buckets,a=1;a<5;a++)for(var u=n*a/5,l=e.getRow(u,this.luminances),c=Math.floor(4*r/5),f=Math.floor(r/5);f<c;f++)o[(255&l[f])>>t.LUMINANCE_SHIFT]++;var d=t.estimateBlackPoint(o),h=e.getMatrix();for(a=0;a<n;a++){var p=a*r;for(f=0;f<r;f++)(255&h[p+f])<d&&i.set(f,a)}return i},t.prototype.createBinarizer=function(e){return new t(e)},t.prototype.initArrays=function(e){this.luminances.length<e&&(this.luminances=new Uint8ClampedArray(e));for(var r=this.buckets,n=0;n<t.LUMINANCE_BUCKETS;n++)r[n]=0},t.estimateBlackPoint=function(e){for(var r=e.length,n=0,i=0,o=0,a=0;a<r;a++)e[a]>o&&(i=a,o=e[a]),e[a]>n&&(n=e[a]);var s=0,l=0;for(a=0;a<r;a++){var c=a-i;(p=e[a]*c*c)>l&&(s=a,l=p)}if(i>s){var f=i;i=s,s=f}if(s-i<=r/16)throw new u.default;var d=s-1,h=-1;for(a=s-1;a>i;a--){var p,y=a-i;(p=y*y*(s-a)*(n-e[a]))>h&&(d=a,h=p)}return d<<t.LUMINANCE_SHIFT},t.LUMINANCE_BITS=5,t.LUMINANCE_SHIFT=8-t.LUMINANCE_BITS,t.LUMINANCE_BUCKETS=1<<t.LUMINANCE_BITS,t.EMPTY=Uint8ClampedArray.from([0]),t}(o.default);t.default=l},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(61),a=r(6),s=function(e){function t(t){var r=e.call(this,t)||this;return r.matrix=null,r}return i(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var r=this.getLuminanceSource(),n=r.getWidth(),i=r.getHeight();if(n>=t.MINIMUM_DIMENSION&&i>=t.MINIMUM_DIMENSION){var o=r.getMatrix(),s=n>>t.BLOCK_SIZE_POWER;0!=(n&t.BLOCK_SIZE_MASK)&&s++;var u=i>>t.BLOCK_SIZE_POWER;0!=(i&t.BLOCK_SIZE_MASK)&&u++;var l=t.calculateBlackPoints(o,s,u,n,i),c=new a.default(n,i);t.calculateThresholdForBlock(o,s,u,n,i,l,c),this.matrix=c}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,r,n,i,o,a,s){for(var u=o-t.BLOCK_SIZE,l=i-t.BLOCK_SIZE,c=0;c<n;c++){var f=c<<t.BLOCK_SIZE_POWER;f>u&&(f=u);for(var d=t.cap(c,2,n-3),h=0;h<r;h++){var p=h<<t.BLOCK_SIZE_POWER;p>l&&(p=l);for(var y=t.cap(h,2,r-3),m=0,b=-2;b<=2;b++){var g=a[d+b];m+=g[y-2]+g[y-1]+g[y]+g[y+1]+g[y+2]}var w=m/25;t.thresholdBlock(e,p,f,w,i,s)}}},t.cap=function(e,t,r){return e<t?t:e>r?r:e},t.thresholdBlock=function(e,r,n,i,o,a){for(var s=0,u=n*o+r;s<t.BLOCK_SIZE;s++,u+=o)for(var l=0;l<t.BLOCK_SIZE;l++)(255&e[u+l])<=i&&a.set(r+l,n+s)},t.calculateBlackPoints=function(e,r,n,i,o){for(var a=o-t.BLOCK_SIZE,s=i-t.BLOCK_SIZE,u=new Array(n),l=0;l<n;l++){u[l]=new Int32Array(r);var c=l<<t.BLOCK_SIZE_POWER;c>a&&(c=a);for(var f=0;f<r;f++){var d=f<<t.BLOCK_SIZE_POWER;d>s&&(d=s);for(var h=0,p=255,y=0,m=0,b=c*i+d;m<t.BLOCK_SIZE;m++,b+=i){for(var g=0;g<t.BLOCK_SIZE;g++){var w=255&e[b+g];h+=w,w<p&&(p=w),w>y&&(y=w)}if(y-p>t.MIN_DYNAMIC_RANGE)for(m++,b+=i;m<t.BLOCK_SIZE;m++,b+=i)for(g=0;g<t.BLOCK_SIZE;g++)h+=255&e[b+g]}var v=h>>2*t.BLOCK_SIZE_POWER;if(y-p<=t.MIN_DYNAMIC_RANGE&&(v=p/2,l>0&&f>0)){var _=(u[l-1][f]+2*u[l][f-1]+u[l-1][f-1])/4;p<_&&(v=_)}u[l][f]=v}}return u},t.BLOCK_SIZE_POWER=3,t.BLOCK_SIZE=1<<t.BLOCK_SIZE_POWER,t.BLOCK_SIZE_MASK=t.BLOCK_SIZE-1,t.MINIMUM_DIMENSION=5*t.BLOCK_SIZE,t.MIN_DYNAMIC_RANGE=24,t}(o.default);t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(e){if(this.binarizer=e,null===e)throw new n.default("Binarizer must be non-null.")}return e.prototype.getWidth=function(){return this.binarizer.getWidth()},e.prototype.getHeight=function(){return this.binarizer.getHeight()},e.prototype.getBlackRow=function(e,t){return this.binarizer.getBlackRow(e,t)},e.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},e.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},e.prototype.crop=function(t,r,n,i){var o=this.binarizer.getLuminanceSource().crop(t,r,n,i);return new e(this.binarizer.createBinarizer(o))},e.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},e.prototype.rotateCounterClockwise=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new e(this.binarizer.createBinarizer(t))},e.prototype.rotateCounterClockwise45=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new e(this.binarizer.createBinarizer(t))},e.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(e){return""}},e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.VideoInputDevice=function(e,t){this.deviceId=e,this.label=t}},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(19),a=r(18),s=r(1),u=function(e){function t(r){var n=e.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=t.makeBufferFromCanvasImageData(r),n}return i(t,e),t.makeBufferFromCanvasImageData=function(e){var r=e.getContext("2d").getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(r.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,t,r){for(var n=new Uint8ClampedArray(t*r),i=0,o=0,a=e.length;i<a;i+=4,o++){var s;s=0===e[i+3]?255:306*e[i]+601*e[i+1]+117*e[i+2]+512>>10,n[o]=s}return n},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new s.default("Requested row is outside the image: "+e);var r=this.getWidth(),n=e*r;return null===t?t=this.buffer.slice(n,n+r):(t.length<r&&(t=new Uint8ClampedArray(r)),t.set(this.buffer.slice(n,n+r))),t},t.prototype.getMatrix=function(){return this.buffer},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(e,t,r,n){return this.crop(e,t,r,n),this},t.prototype.isRotateSupported=function(){return!0},t.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},t.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},t.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var e=this.canvas.ownerDocument.createElement("canvas");e.style.width=this.canvas.width+"px",e.style.height=this.canvas.height+"px",this.tempCanvasElement=e}return this.tempCanvasElement},t.prototype.rotate=function(e){var r=this.getTempCanvasElement(),n=r.getContext("2d");return n.rotate(e*t.DEGREE_TO_RADIANS),n.drawImage(this.canvas,0,0),this.buffer=t.makeBufferFromCanvasImageData(r),this},t.prototype.invert=function(){return new o.default(this)},t.DEGREE_TO_RADIANS=Math.PI/180,t}(a.default);t.HTMLCanvasElementLuminanceSource=u},function(e,t,r){function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(103)),n(r(87)),n(r(80)),n(r(76)),n(r(23)),n(r(65)),n(r(64));var i=r(5);t.Exception=i.default;var o=r(36);t.ArgumentException=o.default;var a=r(59);t.ArithmeticException=a.default;var s=r(11);t.ChecksumException=s.default;var u=r(4);t.FormatException=u.default;var l=r(1);t.IllegalArgumentException=l.default;var c=r(16);t.IllegalStateException=c.default;var f=r(0);t.NotFoundException=f.default;var d=r(40);t.ReaderException=d.default;var h=r(58);t.ReedSolomonException=h.default;var p=r(38);t.UnsupportedOperationException=p.default;var y=r(24);t.WriterException=y.default;var m=r(2);t.BarcodeFormat=m.default;var b=r(60);t.Binarizer=b.default;var g=r(63);t.BinaryBitmap=g.default;var w=r(71);t.DecodeHintType=w.default;var v=r(19);t.InvertedLuminanceSource=v.default;var _=r(18);t.LuminanceSource=_.default;var S=r(70);t.MultiFormatReader=S.default;var A=r(69);t.MultiFormatWriter=A.default;var T=r(68);t.PlanarYUVLuminanceSource=T.default;var k=r(8);t.Result=k.default;var E=r(10);t.ResultMetadataType=E.default;var I=r(67);t.RGBLuminanceSource=I.default;var O=r(14);t.BitArray=O.default;var M=r(6);t.BitMatrix=M.default;var x=r(31);t.BitSource=x.default;var j=r(15);t.CharacterSetECI=j.default;var P=r(30);t.DecoderResult=P.default;var C=r(53);t.DefaultGridSampler=C.default;var N=r(28);t.DetectorResult=N.default;var B=r(61);t.GlobalHistogramBinarizer=B.default;var D=r(52);t.GridSampler=D.default;var R=r(27);t.GridSamplerInstance=R.default;var L=r(62);t.HybridBinarizer=L.default;var U=r(26);t.PerspectiveTransform=U.default;var F=r(55);t.StringUtils=F.default;var V=r(17);t.MathUtils=V.default;var z=r(50);t.WhiteRectangleDetector=z.default;var G=r(13);t.GenericGF=G.default;var H=r(21);t.GenericGFPoly=H.default;var q=r(34);t.ReedSolomonDecoder=q.default;var W=r(48);t.ReedSolomonEncoder=W.default;var K=r(35);t.QRCodeReader=K.default;var $=r(39);t.QRCodeWriter=$.default;var Z=r(9);t.OneDReader=Z.default;var X=r(41);t.EAN13Reader=X.default;var Y=r(43);t.Code128Reader=Y.default;var J=r(42);t.ITFReader=J.default;var Q=r(44);t.Code39Reader=Q.default},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),r(19);var o=r(19),a=r(18),s=r(7),u=r(1),l=function(e){function t(t,r,n,i,o,a,s){var l=e.call(this,r,n)||this;if(l.dataWidth=i,l.dataHeight=o,l.left=a,l.top=s,4===t.BYTES_PER_ELEMENT){for(var c=r*n,f=new Uint8ClampedArray(c),d=0;d<c;d++){var h=t[d],p=h>>16&255,y=h>>7&510,m=255&h;f[d]=(p+y+m)/4&255}l.luminances=f}else l.luminances=t;if(void 0===i&&(l.dataWidth=r),void 0===o&&(l.dataHeight=n),void 0===a&&(l.left=0),void 0===s&&(l.top=0),l.left+r>l.dataWidth||l.top+n>l.dataHeight)throw new u.default("Crop rectangle does not fit within image data.");return l}return i(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var r=this.getWidth();(null==t||t.length<r)&&(t=new Uint8ClampedArray(r));var n=(e+this.top)*this.dataWidth+this.left;return s.default.arraycopy(this.luminances,n,t,0,r),t},t.prototype.getMatrix=function(){var e=this.getWidth(),t=this.getHeight();if(e===this.dataWidth&&t===this.dataHeight)return this.luminances;var r=e*t,n=new Uint8ClampedArray(r),i=this.top*this.dataWidth+this.left;if(e===this.dataWidth)return s.default.arraycopy(this.luminances,i,n,0,r),n;for(var o=0;o<t;o++){var a=o*e;s.default.arraycopy(this.luminances,i,n,a,e),i+=this.dataWidth}return n},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(e,r,n,i){return new t(this.luminances,n,i,this.dataWidth,this.dataHeight,this.left+e,this.top+r)},t.prototype.invert=function(){return new o.default(this)},t}(a.default);t.default=l},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(7),a=r(18),s=r(19),u=r(1),l=function(e){function t(t,r,n,i,o,a,s,l){var c=e.call(this,a,s)||this;if(c.yuvData=t,c.dataWidth=r,c.dataHeight=n,c.left=i,c.top=o,i+a>r||o+s>n)throw new u.default("Crop rectangle does not fit within image data.");return l&&c.reverseHorizontal(a,s),c}return i(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var r=this.getWidth();(null==t||t.length<r)&&(t=new Uint8ClampedArray(r));var n=(e+this.top)*this.dataWidth+this.left;return o.default.arraycopy(this.yuvData,n,t,0,r),t},t.prototype.getMatrix=function(){var e=this.getWidth(),t=this.getHeight();if(e===this.dataWidth&&t===this.dataHeight)return this.yuvData;var r=e*t,n=new Uint8ClampedArray(r),i=this.top*this.dataWidth+this.left;if(e===this.dataWidth)return o.default.arraycopy(this.yuvData,i,n,0,r),n;for(var a=0;a<t;a++){var s=a*e;o.default.arraycopy(this.yuvData,i,n,s,e),i+=this.dataWidth}return n},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(e,r,n,i){return new t(this.yuvData,this.dataWidth,this.dataHeight,this.left+e,this.top+r,n,i,!1)},t.prototype.renderThumbnail=function(){for(var e=this.getWidth()/t.THUMBNAIL_SCALE_FACTOR,r=this.getHeight()/t.THUMBNAIL_SCALE_FACTOR,n=new Int32Array(e*r),i=this.yuvData,o=this.top*this.dataWidth+this.left,a=0;a<r;a++){for(var s=a*e,u=0;u<e;u++){var l=255&i[o+u*t.THUMBNAIL_SCALE_FACTOR];n[s+u]=4278190080|65793*l}o+=this.dataWidth*t.THUMBNAIL_SCALE_FACTOR}return n},t.prototype.getThumbnailWidth=function(){return this.getWidth()/t.THUMBNAIL_SCALE_FACTOR},t.prototype.getThumbnailHeight=function(){return this.getHeight()/t.THUMBNAIL_SCALE_FACTOR},t.prototype.reverseHorizontal=function(e,t){for(var r=this.yuvData,n=0,i=this.top*this.dataWidth+this.left;n<t;n++,i+=this.dataWidth)for(var o=i+e/2,a=i,s=i+e-1;a<o;a++,s--){var u=r[a];r[a]=r[s],r[s]=u}},t.prototype.invert=function(){return new s.default(this)},t.THUMBNAIL_SCALE_FACTOR=2,t}(a.default);t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(39),i=r(2),o=r(1),a=function(){function e(){}return e.prototype.encode=function(e,t,r,a,s){if(t!==i.default.QR_CODE)throw new o.default("No encoder available for format "+t);return(new n.default).encode(e,t,r,a,s)},e}();t.default=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(35),o=r(45),a=r(51),s=r(0),u=r(40),l=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!=e&&void 0!==e.get(3),r=null==e?null:e.get(2),s=new Array;if(null!=r){var u=r.some((function(e){return e===n.default.UPC_A||e===n.default.UPC_E||e===n.default.EAN_13||e===n.default.EAN_8||e===n.default.CODABAR||e===n.default.CODE_39||e===n.default.CODE_93||e===n.default.CODE_128||e===n.default.ITF||e===n.default.RSS_14||e===n.default.RSS_EXPANDED}));u&&!t&&s.push(new o.default(e)),r.includes(n.default.QR_CODE)&&s.push(new i.default),r.includes(n.default.DATA_MATRIX)&&s.push(new a.default),u&&t&&s.push(new o.default(e))}0===s.length&&(t||s.push(new o.default(e)),s.push(new i.default),s.push(new a.default),t&&s.push(new o.default(e))),this.readers=s},e.prototype.reset=function(){if(null!==this.readers)for(var e=0,t=this.readers;e<t.length;e++)t[e].reset()},e.prototype.decodeInternal=function(e){if(null===this.readers)throw new u.default("No readers where selected, nothing can be read.");for(var t=0,r=this.readers;t<r.length;t++){var n=r[t];try{return n.decode(e,this.hints)}catch(e){if(e instanceof u.default)continue}}throw new s.default("No MultiFormat Readers were able to detect the code.")},e}();t.default=l},function(e,t,r){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.OTHER=0]="OTHER",e[e.PURE_BARCODE=1]="PURE_BARCODE",e[e.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",e[e.TRY_HARDER=3]="TRY_HARDER",e[e.CHARACTER_SET=4]="CHARACTER_SET",e[e.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",e[e.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",e[e.ASSUME_GS1=7]="ASSUME_GS1",e[e.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",e[e.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",e[e.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(n||(n={})),t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(20),o=r(8),a=r(3),s=r(10),u=r(0),l=function(){function e(){this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,i){var s=this.decodeRowStringBuffer,u=this.decodeMiddle(r,i,s),l=s.toString(),c=e.parseExtensionString(l),f=[new a.default((i[0]+i[1])/2,t),new a.default(u,t)],d=new o.default(l,null,0,f,n.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&d.putAllMetadata(c),d},e.prototype.decodeMiddle=function(e,t,r){var n=this.decodeMiddleCounters;n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var o=e.getSize(),a=t[1],s=0,l=0;l<2&&a<o;l++){var c=i.default.decodeDigit(e,n,a,i.default.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+c%10);for(var f=0,d=n;f<d.length;f++)a+=d[f];c>=10&&(s|=1<<1-l),1!==l&&(a=e.getNextSet(a),a=e.getNextUnset(a))}if(2!==r.length)throw new u.default;if(parseInt(r.toString())%4!==s)throw new u.default;return a},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[s.default.ISSUE_NUMBER,parseInt(e)]])},e}();t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=r(20),o=r(8),a=r(3),s=r(10),u=r(0),l=function(){function e(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,r,i){var s=this.decodeRowStringBuffer,u=this.decodeMiddle(r,i,s),l=s.toString(),c=e.parseExtensionString(l),f=[new a.default((i[0]+i[1])/2,t),new a.default(u,t)],d=new o.default(l,null,0,f,n.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&d.putAllMetadata(c),d},e.prototype.decodeMiddle=function(t,r,n){var o=this.decodeMiddleCounters;o[0]=0,o[1]=0,o[2]=0,o[3]=0;for(var a=t.getSize(),s=r[1],l=0,c=0;c<5&&s<a;c++){var f=i.default.decodeDigit(t,o,s,i.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f%10);for(var d=0,h=o;d<h.length;d++)s+=h[d];f>=10&&(l|=1<<4-c),4!==c&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(5!==n.length)throw new u.default;var p=this.determineCheckDigit(l);if(e.extensionChecksum(n.toString())!==p)throw new u.default;return s},e.extensionChecksum=function(e){for(var t=e.length,r=0,n=t-2;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);for(r*=3,n=t-1;n>=0;n-=2)r+=e.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return(r*=3)%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new u.default},e.parseExtensionString=function(t){if(5!==t.length)return null;var r=e.parseExtension5String(t);return null==r?null:new Map([[s.default.SUGGESTED_PRICE,r]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="£";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t=""}var r=parseInt(e.substring(1)),n=r%100;return t+(r/100).toString()+"."+(n<10?"0"+n:n.toString())},e}();t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(20),i=r(73),o=r(72),a=function(){function e(){}return e.decodeRow=function(e,t,r){var a=n.default.findGuardPattern(t,r,!1,this.EXTENSION_START_PATTERN,new Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new i.default).decodeRow(e,t,a)}catch(r){return(new o.default).decodeRow(e,t,a)}},e.EXTENSION_START_PATTERN=[1,1,2],e}();t.default=a},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),a=r(9),s=r(41),u=r(0),l=function(e){function t(t){var r=e.call(this)||this,n=null==t?null:t.get(2),i=[];return null!=n&&n.indexOf(o.default.EAN_13)>-1&&i.push(new s.default),0===i.length&&i.push(new s.default),r.readers=i,r}return i(t,e),t.prototype.decodeRow=function(e,t,r){for(var n=0,i=this.readers;n<i.length;n++){var o=i[n];try{return o.decodeRow(e,t,r)}catch(e){}}throw new u.default},t.prototype.reset=function(){for(var e=0,t=this.readers;e<t.length;e++)t[e].reset()},t}(a.default);t.default=l},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(23),a=r(45),s=function(e){function t(t,r){return void 0===t&&(t=500),e.call(this,new a.default(r),t,r)||this}return i(t,e),t}(o.BrowserCodeReader);t.BrowserBarcodeReader=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(14),i=r(22),o=r(46),a=r(47),s=r(24),u=r(1),l=function(){function e(){}return e.clearMatrix=function(e){e.clear(255)},e.buildMatrix=function(t,r,n,i,o){e.clearMatrix(o),e.embedBasicPatterns(n,o),e.embedTypeInfo(r,i,o),e.maybeEmbedVersionInfo(n,o),e.embedDataBits(t,i,o)},e.embedBasicPatterns=function(t,r){e.embedPositionDetectionPatternsAndSeparators(r),e.embedDarkDotAtLeftBottomCorner(r),e.maybeEmbedPositionAdjustmentPatterns(t,r),e.embedTimingPatterns(r)},e.embedTypeInfo=function(t,r,i){var o=new n.default;e.makeTypeInfoBits(t,r,o);for(var a=0,s=o.getSize();a<s;++a){var u=o.get(o.getSize()-1-a),l=e.TYPE_INFO_COORDINATES[a],c=l[0],f=l[1];if(i.setBoolean(c,f,u),a<8){var d=i.getWidth()-a-1,h=8;i.setBoolean(d,h,u)}else d=8,h=i.getHeight()-7+(a-8),i.setBoolean(d,h,u)}},e.maybeEmbedVersionInfo=function(t,r){if(!(t.getVersionNumber()<7)){var i=new n.default;e.makeVersionInfoBits(t,i);for(var o=17,a=0;a<6;++a)for(var s=0;s<3;++s){var u=i.get(o);o--,r.setBoolean(a,r.getHeight()-11+s,u),r.setBoolean(r.getHeight()-11+s,a,u)}}},e.embedDataBits=function(t,r,n){for(var i=0,o=-1,u=n.getWidth()-1,l=n.getHeight()-1;u>0;){for(6===u&&(u-=1);l>=0&&l<n.getHeight();){for(var c=0;c<2;++c){var f=u-c;if(e.isEmpty(n.get(f,l))){var d=void 0;i<t.getSize()?(d=t.get(i),++i):d=!1,255!==r&&a.default.getDataMaskBit(r,f,l)&&(d=!d),n.setBoolean(f,l,d)}}l+=o}l+=o=-o,u-=2}if(i!==t.getSize())throw new s.default("Not all bits consumed: "+i+"/"+t.getSize())},e.findMSBSet=function(e){return 32-i.default.numberOfLeadingZeros(e)},e.calculateBCHCode=function(t,r){if(0===r)throw new u.default("0 polynomial");var n=e.findMSBSet(r);for(t<<=n-1;e.findMSBSet(t)>=n;)t^=r<<e.findMSBSet(t)-n;return t},e.makeTypeInfoBits=function(t,r,i){if(!o.default.isValidMaskPattern(r))throw new s.default("Invalid mask pattern");var a=t.getBits()<<3|r;i.appendBits(a,5);var u=e.calculateBCHCode(a,e.TYPE_INFO_POLY);i.appendBits(u,10);var l=new n.default;if(l.appendBits(e.TYPE_INFO_MASK_PATTERN,15),i.xor(l),15!==i.getSize())throw new s.default("should not happen but we got: "+i.getSize())},e.makeVersionInfoBits=function(t,r){r.appendBits(t.getVersionNumber(),6);var n=e.calculateBCHCode(t.getVersionNumber(),e.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new s.default("should not happen but we got: "+r.getSize())},e.isEmpty=function(e){return 255===e},e.embedTimingPatterns=function(t){for(var r=8;r<t.getWidth()-8;++r){var n=(r+1)%2;e.isEmpty(t.get(r,6))&&t.setNumber(r,6,n),e.isEmpty(t.get(6,r))&&t.setNumber(6,r,n)}},e.embedDarkDotAtLeftBottomCorner=function(e){if(0===e.get(8,e.getHeight()-8))throw new s.default;e.setNumber(8,e.getHeight()-8,1)},e.embedHorizontalSeparationPattern=function(t,r,n){for(var i=0;i<8;++i){if(!e.isEmpty(n.get(t+i,r)))throw new s.default;n.setNumber(t+i,r,0)}},e.embedVerticalSeparationPattern=function(t,r,n){for(var i=0;i<7;++i){if(!e.isEmpty(n.get(t,r+i)))throw new s.default;n.setNumber(t,r+i,0)}},e.embedPositionAdjustmentPattern=function(t,r,n){for(var i=0;i<5;++i)for(var o=e.POSITION_ADJUSTMENT_PATTERN[i],a=0;a<5;++a)n.setNumber(t+a,r+i,o[a])},e.embedPositionDetectionPattern=function(t,r,n){for(var i=0;i<7;++i)for(var o=e.POSITION_DETECTION_PATTERN[i],a=0;a<7;++a)n.setNumber(t+a,r+i,o[a])},e.embedPositionDetectionPatternsAndSeparators=function(t){var r=e.POSITION_DETECTION_PATTERN[0].length;e.embedPositionDetectionPattern(0,0,t),e.embedPositionDetectionPattern(t.getWidth()-r,0,t),e.embedPositionDetectionPattern(0,t.getWidth()-r,t),e.embedHorizontalSeparationPattern(0,7,t),e.embedHorizontalSeparationPattern(t.getWidth()-8,7,t),e.embedHorizontalSeparationPattern(0,t.getWidth()-8,t),e.embedVerticalSeparationPattern(7,0,t),e.embedVerticalSeparationPattern(t.getHeight()-7-1,0,t),e.embedVerticalSeparationPattern(7,t.getHeight()-7,t)},e.maybeEmbedPositionAdjustmentPatterns=function(t,r){if(!(t.getVersionNumber()<2))for(var n=t.getVersionNumber()-1,i=e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],o=0,a=i.length;o!==a;o++){var s=i[o];if(s>=0)for(var u=0;u!==a;u++){var l=i[u];l>=0&&e.isEmpty(r.get(l,s))&&e.embedPositionAdjustmentPattern(l-2,s-2,r)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(37),i=r(12),o=function(){function e(e,t){this.width=e,this.height=t;for(var r=new Array(t),n=0;n!==t;n++)r[n]=new Uint8Array(e);this.bytes=r}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,r){this.bytes[t][e]=r},e.prototype.setBoolean=function(e,t,r){this.bytes[t][e]=r?1:0},e.prototype.clear=function(e){for(var t=0,r=this.bytes;t<r.length;t++){var i=r[t];n.default.fillUint8Array(i,e)}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,i=this.height;n<i;++n)for(var o=this.bytes[n],a=r.bytes[n],s=0,u=this.width;s<u;++s)if(o[s]!==a[s])return!1;return!0},e.prototype.toString=function(){for(var e=new i.default,t=0,r=this.height;t<r;++t){for(var n=this.bytes[t],o=0,a=this.width;o<a;++o)switch(n[o]){case 0:e.append(" 0");break;case 1:e.append(" 1");break;default:e.append("  ")}e.append("\n")}return e.toString()},e}();t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(25),i=r(49),o=r(32),a=r(1),s=r(16),u=function(){function e(e){this.containerElement="string"==typeof e?document.getElementById(e):e}return e.prototype.write=function(t,r,s,u){if(void 0===u&&(u=null),0===t.length)throw new a.default("Found empty contents");if(r<0||s<0)throw new a.default("Requested dimensions are too small: "+r+"x"+s);var l=o.default.L,c=e.QUIET_ZONE_SIZE;null!==u&&(void 0!==u.get(n.default.ERROR_CORRECTION)&&(l=o.default.fromString(u.get(n.default.ERROR_CORRECTION).toString())),void 0!==u.get(n.default.MARGIN)&&(c=Number.parseInt(u.get(n.default.MARGIN).toString(),10)));var f=i.default.encode(t,l,u);return this.renderResult(f,r,s,c)},e.prototype.renderResult=function(e,t,r,n){var i=e.getMatrix();if(null===i)throw new s.default;var o=i.getWidth(),a=i.getHeight(),u=o+2*n,l=a+2*n,c=Math.max(t,u),f=Math.max(r,l),d=Math.min(Math.floor(c/u),Math.floor(f/l)),h=Math.floor((c-o*d)/2),p=Math.floor((f-a*d)/2),y=this.createSVGElement(c,f);this.containerElement.appendChild(y);for(var m=0,b=p;m<a;m++,b+=d)for(var g=0,w=h;g<o;g++,w+=d)if(1===i.get(g,m)){var v=this.createSvgRectElement(w,b,d,d);y.appendChild(v)}return y},e.prototype.createSVGElement=function(t,r){var n=document.createElementNS(e.SVG_NS,"svg");return n.setAttributeNS(null,"height",t.toString()),n.setAttributeNS(null,"width",r.toString()),n},e.prototype.createSvgRectElement=function(t,r,n,i){var o=document.createElementNS(e.SVG_NS,"rect");return o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"height",n.toString()),o.setAttributeNS(null,"width",i.toString()),o.setAttributeNS(null,"fill","#000000"),o},e.QUIET_ZONE_SIZE=4,e.SVG_NS="http://www.w3.org/2000/svg",e}();t.BrowserQRCodeSvgWriter=u},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(28),o=r(27),a=r(17),s=r(50),u=r(0),l=function(){function e(e){this.image=e,this.rectangleDetector=new s.default(e)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),r=t[0],o=t[1],a=t[2],s=t[3],l=[];l.push(this.transitionsBetween(r,o)),l.push(this.transitionsBetween(r,a)),l.push(this.transitionsBetween(o,s)),l.push(this.transitionsBetween(a,s)),l.sort(c.resultPointsAndTransitionsComparator);var f=l[0],d=l[1],h=new Map;e.increment(h,f.getFrom()),e.increment(h,f.getTo()),e.increment(h,d.getFrom()),e.increment(h,d.getTo());for(var p=null,y=null,m=null,b=0,g=Array.from(h.entries());b<g.length;b++){var w=g[b],v=w[0];2===w[1]?y=v:null==p?p=v:m=v}if(null==p||null==y||null==m)throw new u.default;var _=[p,y,m];n.default.orderBestPatterns(_);var S=_[0];y=_[1];var A,T=_[2];A=h.has(r)?h.has(o)?h.has(a)?s:a:o:r;var k,E,I=this.transitionsBetween(T,A).getTransitions(),O=this.transitionsBetween(S,A).getTransitions();if(1==(1&I)&&I++,1==(1&O)&&O++,4*(I+=2)>=7*(O+=2)||4*O>=7*I)null==(E=this.correctTopRightRectangular(y,S,T,A,I,O))&&(E=A),1==(1&(I=this.transitionsBetween(T,E).getTransitions()))&&I++,1==(1&(O=this.transitionsBetween(S,E).getTransitions()))&&O++,k=e.sampleGrid(this.image,T,y,S,E,I,O);else{var M=Math.min(O,I);null==(E=this.correctTopRight(y,S,T,A,M))&&(E=A);var x=Math.max(this.transitionsBetween(T,E).getTransitions(),this.transitionsBetween(S,E).getTransitions());1==(1&++x)&&x++,k=e.sampleGrid(this.image,T,y,S,E,x,x)}return new i.default(k,[T,y,S,E])},e.prototype.correctTopRightRectangular=function(t,r,i,o,a,s){var u=e.distance(t,r)/a,l=e.distance(i,o),c=(o.getX()-i.getX())/l,f=(o.getY()-i.getY())/l,d=new n.default(o.getX()+u*c,o.getY()+u*f);u=e.distance(t,i)/s,l=e.distance(r,o),c=(o.getX()-r.getX())/l,f=(o.getY()-r.getY())/l;var h=new n.default(o.getX()+u*c,o.getY()+u*f);return this.isValid(d)?this.isValid(h)?Math.abs(a-this.transitionsBetween(i,d).getTransitions())+Math.abs(s-this.transitionsBetween(r,d).getTransitions())<=Math.abs(a-this.transitionsBetween(i,h).getTransitions())+Math.abs(s-this.transitionsBetween(r,h).getTransitions())?d:h:d:this.isValid(h)?h:null},e.prototype.correctTopRight=function(t,r,i,o,a){var s=e.distance(t,r)/a,u=e.distance(i,o),l=(o.getX()-i.getX())/u,c=(o.getY()-i.getY())/u,f=new n.default(o.getX()+s*l,o.getY()+s*c);s=e.distance(t,i)/a,u=e.distance(r,o),l=(o.getX()-r.getX())/u,c=(o.getY()-r.getY())/u;var d=new n.default(o.getX()+s*l,o.getY()+s*c);return this.isValid(f)?this.isValid(d)?Math.abs(this.transitionsBetween(i,f).getTransitions()-this.transitionsBetween(r,f).getTransitions())<=Math.abs(this.transitionsBetween(i,d).getTransitions()-this.transitionsBetween(r,d).getTransitions())?f:d:f:this.isValid(d)?d:null},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()<this.image.getWidth()&&e.getY()>0&&e.getY()<this.image.getHeight()},e.distance=function(e,t){return a.default.round(n.default.distance(e,t))},e.increment=function(e,t){var r=e.get(t);e.set(t,null==r?1:r+1)},e.sampleGrid=function(e,t,r,n,i,a,s){return o.default.getInstance().sampleGrid(e,a,s,.5,.5,a-.5,.5,a-.5,s-.5,.5,s-.5,t.getX(),t.getY(),i.getX(),i.getY(),n.getX(),n.getY(),r.getX(),r.getY())},e.prototype.transitionsBetween=function(e,t){var r=0|e.getX(),n=0|e.getY(),i=0|t.getX(),o=0|t.getY(),a=Math.abs(o-n)>Math.abs(i-r);if(a){var s=r;r=n,n=s,s=i,i=o,o=s}for(var u=Math.abs(i-r),l=Math.abs(o-n),f=-u/2,d=n<o?1:-1,h=r<i?1:-1,p=0,y=this.image.get(a?n:r,a?r:n),m=r,b=n;m!==i;m+=h){var g=this.image.get(a?b:m,a?m:b);if(g!==y&&(p++,y=g),(f+=l)>0){if(b===o)break;b+=d,f-=u}}return new c(e,t,p)},e}();t.default=l;var c=function(){function e(e,t,r){this.from=e,this.to=t,this.transitions=r}return e.prototype.getFrom=function(){return this.from},e.prototype.getTo=function(){return this.to},e.prototype.getTransitions=function(){return this.transitions},e.prototype.toString=function(){return this.from+"/"+this.to+"/"+this.transitions},e.resultPointsAndTransitionsComparator=function(e,t){return e.getTransitions()-t.getTransitions()},e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(30),o=r(31),a=r(12),s=r(29),u=r(66),l=r(4),c=r(16);!function(e){e[e.PAD_ENCODE=0]="PAD_ENCODE",e[e.ASCII_ENCODE=1]="ASCII_ENCODE",e[e.C40_ENCODE=2]="C40_ENCODE",e[e.TEXT_ENCODE=3]="TEXT_ENCODE",e[e.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",e[e.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",e[e.BASE256_ENCODE=6]="BASE256_ENCODE"}(n||(n={}));var f=function(){function e(){}return e.decode=function(e){var t=new o.default(e),r=new a.default,s=new a.default,u=new Array,c=n.ASCII_ENCODE;do{if(c===n.ASCII_ENCODE)c=this.decodeAsciiSegment(t,r,s);else{switch(c){case n.C40_ENCODE:this.decodeC40Segment(t,r);break;case n.TEXT_ENCODE:this.decodeTextSegment(t,r);break;case n.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,r);break;case n.EDIFACT_ENCODE:this.decodeEdifactSegment(t,r);break;case n.BASE256_ENCODE:this.decodeBase256Segment(t,r,u);break;default:throw new l.default}c=n.ASCII_ENCODE}}while(c!==n.PAD_ENCODE&&t.available()>0);return s.length()>0&&r.append(s.toString()),new i.default(e,r.toString(),0===u.length?null:u,null)},e.decodeAsciiSegment=function(e,t,r){var i=!1;do{var o=e.readBits(8);if(0===o)throw new l.default;if(o<=128)return i&&(o+=128),t.append(String.fromCharCode(o-1)),n.ASCII_ENCODE;if(129===o)return n.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&t.append("0"),t.append(""+a)}else switch(o){case 230:return n.C40_ENCODE;case 231:return n.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:i=!0;break;case 236:t.append("[)>05"),r.insert(0,"");break;case 237:t.append("[)>06"),r.insert(0,"");break;case 238:return n.ANSIX12_ENCODE;case 239:return n.TEXT_ENCODE;case 240:return n.EDIFACT_ENCODE;default:if(254!==o||0!==e.available())throw new l.default}}while(e.available()>0);return n.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var r=!1,n=[],i=0;do{if(8===e.available())return;var o=e.readBits(8);if(254===o)return;this.parseTwoBytes(o,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(i){case 0:if(s<3)i=s+1;else{if(!(s<this.C40_BASIC_SET_CHARS.length))throw new l.default;var u=this.C40_BASIC_SET_CHARS[s];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(s+128)),r=!1):t.append(String.fromCharCode(s)),i=0;break;case 2:if(s<this.C40_SHIFT2_SET_CHARS.length)u=this.C40_SHIFT2_SET_CHARS[s],r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u);else switch(s){case 27:t.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new l.default}i=0;break;case 3:r?(t.append(String.fromCharCode(s+224)),r=!1):t.append(String.fromCharCode(s+96)),i=0;break;default:throw new l.default}}}while(e.available()>0)},e.decodeTextSegment=function(e,t){var r=!1,n=[],i=0;do{if(8===e.available())return;var o=e.readBits(8);if(254===o)return;this.parseTwoBytes(o,e.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(i){case 0:if(s<3)i=s+1;else{if(!(s<this.TEXT_BASIC_SET_CHARS.length))throw new l.default;var u=this.TEXT_BASIC_SET_CHARS[s];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(s+128)),r=!1):t.append(String.fromCharCode(s)),i=0;break;case 2:if(s<this.TEXT_SHIFT2_SET_CHARS.length)u=this.TEXT_SHIFT2_SET_CHARS[s],r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u);else switch(s){case 27:t.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new l.default}i=0;break;case 3:if(!(s<this.TEXT_SHIFT3_SET_CHARS.length))throw new l.default;u=this.TEXT_SHIFT3_SET_CHARS[s],r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u),i=0;break;default:throw new l.default}}}while(e.available()>0)},e.decodeAnsiX12Segment=function(e,t){var r=[];do{if(8===e.available())return;var n=e.readBits(8);if(254===n)return;this.parseTwoBytes(n,e.readBits(8),r);for(var i=0;i<3;i++){var o=r[i];switch(o){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(o<14)t.append(String.fromCharCode(o+44));else{if(!(o<40))throw new l.default;t.append(String.fromCharCode(o+51))}}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,r){var n=(e<<8)+t-1,i=Math.floor(n/1600);r[0]=i,n-=1600*i,i=Math.floor(n/40),r[1]=i,r[2]=n-40*i},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var n=e.readBits(6);if(31===n){var i=8-e.getBitOffset();return void(8!==i&&e.readBits(i))}0==(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,r){var n,i=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),i++);if((n=0===o?e.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(e.readBits(8),i++))<0)throw new l.default;for(var a=new Uint8Array(n),f=0;f<n;f++){if(e.available()<8)throw new l.default;a[f]=this.unrandomize255State(e.readBits(8),i++)}r.push(a);try{t.append(s.default.decode(a,u.StringUtils.ISO88591))}catch(e){throw new c.default("Platform does not support required encoding: "+e.message)}},e.unrandomize255State=function(e,t){var r=e-(149*t%255+1);return r>=0?r:r+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],e}();t.default=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r){for(var i=r.getECBlocks(),o=0,a=i.getECBlocks(),s=0,u=a;s<u.length;s++)o+=(h=u[s]).getCount();for(var l=new Array(o),c=0,f=0,d=a;f<d.length;f++)for(var h=d[f],p=0;p<h.getCount();p++){var y=h.getDataCodewords(),m=i.getECCodewords()+y;l[c++]=new e(y,new Uint8Array(m))}var b=l[0].codewords.length-i.getECCodewords(),g=b-1,w=0;for(p=0;p<g;p++)for(var v=0;v<c;v++)l[v].codewords[p]=t[w++];var _=24===r.getVersionNumber(),S=_?8:c;for(v=0;v<S;v++)l[v].codewords[b-1]=t[w++];var A=l[0].codewords.length;for(p=b;p<A;p++)for(v=0;v<c;v++){var T=_?(v+8)%c:v,k=_&&T>7?p-1:p;l[T].codewords[k]=t[w++]}if(w!==t.length)throw new n.default;return l},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(4),i=function(){function e(e,t,r){this.ecCodewords=e,this.ecBlocks=[t],r&&this.ecBlocks.push(r)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}();t.ECBlocks=i;var o=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}();t.ECB=o;var a=function(){function e(e,t,r,n,i,o){this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,this.dataRegionSizeColumns=i,this.ecBlocks=o;for(var a=0,s=o.getECCodewords(),u=0,l=o.getECBlocks();u<l.length;u++){var c=l[u];a+=c.getCount()*(c.getDataCodewords()+s)}this.totalCodewords=a}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,r){if(0!=(1&t)||0!=(1&r))throw new n.default;for(var i=0,o=e.VERSIONS;i<o.length;i++){var a=o[i];if(a.symbolSizeRows===t&&a.symbolSizeColumns===r)return a}throw new n.default},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new i(5,new o(1,3))),new e(2,12,12,10,10,new i(7,new o(1,5))),new e(3,14,14,12,12,new i(10,new o(1,8))),new e(4,16,16,14,14,new i(12,new o(1,12))),new e(5,18,18,16,16,new i(14,new o(1,18))),new e(6,20,20,18,18,new i(18,new o(1,22))),new e(7,22,22,20,20,new i(20,new o(1,30))),new e(8,24,24,22,22,new i(24,new o(1,36))),new e(9,26,26,24,24,new i(28,new o(1,44))),new e(10,32,32,14,14,new i(36,new o(1,62))),new e(11,36,36,16,16,new i(42,new o(1,86))),new e(12,40,40,18,18,new i(48,new o(1,114))),new e(13,44,44,20,20,new i(56,new o(1,144))),new e(14,48,48,22,22,new i(68,new o(1,174))),new e(15,52,52,24,24,new i(42,new o(2,102))),new e(16,64,64,14,14,new i(56,new o(2,140))),new e(17,72,72,16,16,new i(36,new o(4,92))),new e(18,80,80,18,18,new i(48,new o(4,114))),new e(19,88,88,20,20,new i(56,new o(4,144))),new e(20,96,96,22,22,new i(68,new o(4,174))),new e(21,104,104,24,24,new i(56,new o(6,136))),new e(22,120,120,18,18,new i(68,new o(6,175))),new e(23,132,132,20,20,new i(62,new o(8,163))),new e(24,144,144,22,22,new i(62,new o(8,156),new o(2,155))),new e(25,8,18,6,16,new i(7,new o(1,5))),new e(26,8,32,6,14,new i(11,new o(1,10))),new e(27,12,26,10,24,new i(14,new o(1,16))),new e(28,12,36,10,16,new i(18,new o(1,22))),new e(29,16,36,14,16,new i(24,new o(1,32))),new e(30,16,48,14,22,new i(28,new o(1,49)))]},e.VERSIONS=e.buildVersions(),e}();t.default=a},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),i=r(84),o=r(4),a=r(1),s=function(){function e(t){var r=t.getHeight();if(r<8||r>144||0!=(1&r))throw new o.default;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new n.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),r=e.getWidth();return i.default.getVersionForDimensions(t,r)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,r=4,n=0,i=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),s=!1,u=!1,l=!1,c=!1;do{if(r!==i||0!==n||s)if(r!==i-2||0!==n||0==(3&a)||u)if(r!==i+4||2!==n||0!=(7&a)||l)if(r!==i-2||0!==n||4!=(7&a)||c){do{r<i&&n>=0&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,i,a)),r-=2,n+=2}while(r>=0&&n<a);r+=1,n+=3;do{r>=0&&n<a&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,i,a)),r+=2,n-=2}while(r<i&&n>=0);r+=3,n+=1}else e[t++]=255&this.readCorner4(i,a),r-=2,n+=2,c=!0;else e[t++]=255&this.readCorner3(i,a),r-=2,n+=2,l=!0;else e[t++]=255&this.readCorner2(i,a),r-=2,n+=2,u=!0;else e[t++]=255&this.readCorner1(i,a),r-=2,n+=2,s=!0}while(r<i||n<a);if(t!==this.version.getTotalCodewords())throw new o.default;return e},e.prototype.readModule=function(e,t,r,n){return e<0&&(e+=r,t+=4-(r+4&7)),t<0&&(t+=n,e+=4-(n+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)},e.prototype.readUtah=function(e,t,r,n){var i=0;return this.readModule(e-2,t-2,r,n)&&(i|=1),i<<=1,this.readModule(e-2,t-1,r,n)&&(i|=1),i<<=1,this.readModule(e-1,t-2,r,n)&&(i|=1),i<<=1,this.readModule(e-1,t-1,r,n)&&(i|=1),i<<=1,this.readModule(e-1,t,r,n)&&(i|=1),i<<=1,this.readModule(e,t-2,r,n)&&(i|=1),i<<=1,this.readModule(e,t-1,r,n)&&(i|=1),i<<=1,this.readModule(e,t,r,n)&&(i|=1),i},e.prototype.readCorner1=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,1,e,t)&&(r|=1),r<<=1,this.readModule(e-1,2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.readCorner2=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-4,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner3=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-3,e,t)&&(r|=1),r<<=1,this.readModule(1,t-2,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner4=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.extractDataRegion=function(e){var t=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new a.default("Dimension of bitMatrix must match the version size");for(var i=this.version.getDataRegionSizeRows(),o=this.version.getDataRegionSizeColumns(),s=t/i|0,u=r/o|0,l=s*i,c=u*o,f=new n.default(c,l),d=0;d<s;++d)for(var h=d*i,p=0;p<u;++p)for(var y=p*o,m=0;m<i;++m)for(var b=d*(i+2)+1+m,g=h+m,w=0;w<o;++w){var v=p*(o+2)+1+w;if(e.get(v,b)){var _=y+w;f.set(_,g)}}return f},e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(34),i=r(13),o=r(85),a=r(83),s=r(82),u=r(11),l=function(){function e(){this.rsDecoder=new n.default(i.default.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){for(var t=new o.default(e),r=t.getVersion(),n=t.readCodewords(),i=a.default.getDataBlocks(n,r),u=0,l=0,c=i;l<c.length;l++)u+=c[l].getNumDataCodewords();for(var f=new Uint8Array(u),d=i.length,h=0;h<d;h++){var p=i[h],y=p.getCodewords(),m=p.getNumDataCodewords();this.correctErrors(y,m);for(var b=0;b<m;b++)f[b*d+h]=y[b]}return s.default.decode(f)},e.prototype.correctErrors=function(e,t){e.length;var r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new u.default}for(var n=0;n<t;n++)e[n]=r[n]},e}();t.default=l},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(23),a=r(51),s=function(e){function t(t){return void 0===t&&(t=500),e.call(this,new a.default,t)||this}return i(t,e),t}(o.BrowserCodeReader);t.BrowserDatamatrixCodeReader=s},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.estimatedModuleSize=n,i}return i(t,e),t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){return new t((this.getX()+r)/2,(this.getY()+e)/2,(this.estimatedModuleSize+n)/2)},t}(r(3).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(88),i=r(0),o=function(){function e(e,t,r,n,i,o,a){this.image=e,this.startX=t,this.startY=r,this.width=n,this.height=i,this.moduleSize=o,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,r=e+this.width,n=this.startY+t/2,o=new Int32Array(3),a=this.image,s=0;s<t;s++){var u=n+(0==(1&s)?Math.floor((s+1)/2):-Math.floor((s+1)/2));o[0]=0,o[1]=0,o[2]=0;for(var l=e;l<r&&!a.get(l,u);)l++;for(var c=0;l<r;){if(a.get(l,u))if(1===c)o[1]++;else if(2===c){var f;if(this.foundPatternCross(o)&&null!==(f=this.handlePossibleCenter(o,u,l)))return f;o[0]=o[2],o[1]=1,o[2]=0,c=1}else o[++c]++;else 1===c&&c++,o[c]++;l++}if(this.foundPatternCross(o)&&null!==(f=this.handlePossibleCenter(o,u,r)))return f}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new i.default},e.centerFromEnd=function(e,t){return t-e[2]-e[1]/2},e.prototype.foundPatternCross=function(e){for(var t=this.moduleSize,r=t/2,n=0;n<3;n++)if(Math.abs(t-e[n])>=r)return!1;return!0},e.prototype.crossCheckVertical=function(t,r,n,i){var o=this.image,a=o.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var u=t;u>=0&&o.get(r,u)&&s[1]<=n;)s[1]++,u--;if(u<0||s[1]>n)return NaN;for(;u>=0&&!o.get(r,u)&&s[0]<=n;)s[0]++,u--;if(s[0]>n)return NaN;for(u=t+1;u<a&&o.get(r,u)&&s[1]<=n;)s[1]++,u++;if(u===a||s[1]>n)return NaN;for(;u<a&&!o.get(r,u)&&s[2]<=n;)s[2]++,u++;if(s[2]>n)return NaN;var l=s[0]+s[1]+s[2];return 5*Math.abs(l-i)>=2*i?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,r,i){var o=t[0]+t[1]+t[2],a=e.centerFromEnd(t,i),s=this.crossCheckVertical(r,a,2*t[1],o);if(!isNaN(s)){for(var u=(t[0]+t[1]+t[2])/3,l=0,c=this.possibleCenters;l<c.length;l++){var f=c[l];if(f.aboutEquals(u,s,a))return f.combineEstimate(s,a,u)}var d=new n.default(a,s,u);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},e}();t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}();t.default=n},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r,n,i){var o=e.call(this,t,r)||this;return o.estimatedModuleSize=n,o.count=i,void 0===i&&(o.count=1),o}return i(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var i=this.count+1;return new t((this.count*this.getX()+r)/i,(this.count*this.getY()+e)/i,(this.count*this.estimatedModuleSize+n)/i,i)},t}(r(3).default);t.default=o},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(91),o=r(90),a=r(0),s=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var r=null!=t&&void 0!==t.get(3),i=null!=t&&void 0!==t.get(1),a=this.image,s=a.getHeight(),u=a.getWidth(),l=Math.floor(3*s/(4*e.MAX_MODULES));(l<e.MIN_SKIP||r)&&(l=e.MIN_SKIP);for(var c=!1,f=new Int32Array(5),d=l-1;d<s&&!c;d+=l){f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0;for(var h=0,p=0;p<u;p++)if(a.get(p,d))1==(1&h)&&h++,f[h]++;else if(0==(1&h))if(4===h)if(e.foundPatternCross(f)){if(!0!==this.handlePossibleCenter(f,d,p,i)){f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,h=3;continue}if(l=2,!0===this.hasSkipped)c=this.haveMultiplyConfirmedCenters();else{var y=this.findRowSkip();y>f[2]&&(d+=y-f[2]-l,p=u-1)}h=0,f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0}else f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,h=3;else f[++h]++;else f[h]++;e.foundPatternCross(f)&&!0===this.handlePossibleCenter(f,d,u,i)&&(l=f[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}var m=this.selectBestPatterns();return n.default.orderBestPatterns(m),new o.default(m)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,r=0;r<5;r++){var n=e[r];if(0===n)return!1;t+=n}if(t<7)return!1;var i=t/7,o=i/2;return Math.abs(i-e[0])<o&&Math.abs(i-e[1])<o&&Math.abs(3*i-e[2])<3*o&&Math.abs(i-e[3])<o&&Math.abs(i-e[4])<o},e.prototype.getCrossCheckStateCount=function(){var e=this.crossCheckStateCount;return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e},e.prototype.crossCheckDiagonal=function(t,r,n,i){for(var o=this.getCrossCheckStateCount(),a=0,s=this.image;t>=a&&r>=a&&s.get(r-a,t-a);)o[2]++,a++;if(t<a||r<a)return!1;for(;t>=a&&r>=a&&!s.get(r-a,t-a)&&o[1]<=n;)o[1]++,a++;if(t<a||r<a||o[1]>n)return!1;for(;t>=a&&r>=a&&s.get(r-a,t-a)&&o[0]<=n;)o[0]++,a++;if(o[0]>n)return!1;var u=s.getHeight(),l=s.getWidth();for(a=1;t+a<u&&r+a<l&&s.get(r+a,t+a);)o[2]++,a++;if(t+a>=u||r+a>=l)return!1;for(;t+a<u&&r+a<l&&!s.get(r+a,t+a)&&o[3]<n;)o[3]++,a++;if(t+a>=u||r+a>=l||o[3]>=n)return!1;for(;t+a<u&&r+a<l&&s.get(r+a,t+a)&&o[4]<n;)o[4]++,a++;if(o[4]>=n)return!1;var c=o[0]+o[1]+o[2]+o[3]+o[4];return Math.abs(c-i)<2*i&&e.foundPatternCross(o)},e.prototype.crossCheckVertical=function(t,r,n,i){for(var o=this.image,a=o.getHeight(),s=this.getCrossCheckStateCount(),u=t;u>=0&&o.get(r,u);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!o.get(r,u)&&s[1]<=n;)s[1]++,u--;if(u<0||s[1]>n)return NaN;for(;u>=0&&o.get(r,u)&&s[0]<=n;)s[0]++,u--;if(s[0]>n)return NaN;for(u=t+1;u<a&&o.get(r,u);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!o.get(r,u)&&s[3]<n;)s[3]++,u++;if(u===a||s[3]>=n)return NaN;for(;u<a&&o.get(r,u)&&s[4]<n;)s[4]++,u++;if(s[4]>=n)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-i)>=2*i?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.crossCheckHorizontal=function(t,r,n,i){for(var o=this.image,a=o.getWidth(),s=this.getCrossCheckStateCount(),u=t;u>=0&&o.get(u,r);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!o.get(u,r)&&s[1]<=n;)s[1]++,u--;if(u<0||s[1]>n)return NaN;for(;u>=0&&o.get(u,r)&&s[0]<=n;)s[0]++,u--;if(s[0]>n)return NaN;for(u=t+1;u<a&&o.get(u,r);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!o.get(u,r)&&s[3]<n;)s[3]++,u++;if(u===a||s[3]>=n)return NaN;for(;u<a&&o.get(u,r)&&s[4]<n;)s[4]++,u++;if(s[4]>=n)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-i)>=i?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,r,n,o){var a=t[0]+t[1]+t[2]+t[3]+t[4],s=e.centerFromEnd(t,n),u=this.crossCheckVertical(r,Math.floor(s),t[2],a);if(!isNaN(u)&&(s=this.crossCheckHorizontal(Math.floor(s),Math.floor(u),t[2],a),!isNaN(s)&&(!o||this.crossCheckDiagonal(Math.floor(u),Math.floor(s),t[2],a)))){for(var l=a/7,c=!1,f=this.possibleCenters,d=0,h=f.length;d<h;d++){var p=f[d];if(p.aboutEquals(l,u,s)){f[d]=p.combineEstimate(u,s,l),c=!0;break}}if(!c){var y=new i.default(s,u,l);f.push(y),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(y)}return!0}return!1},e.prototype.findRowSkip=function(){if(this.possibleCenters.length<=1)return 0;for(var t=null,r=0,n=this.possibleCenters;r<n.length;r++){var i=n[r];if(i.getCount()>=e.CENTER_QUORUM){if(null!=t)return this.hasSkipped=!0,Math.floor((Math.abs(t.getX()-i.getX())-Math.abs(t.getY()-i.getY()))/2);t=i}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){for(var t=0,r=0,n=this.possibleCenters.length,i=0,o=this.possibleCenters;i<o.length;i++)(c=o[i]).getCount()>=e.CENTER_QUORUM&&(t++,r+=c.getEstimatedModuleSize());if(t<3)return!1;for(var a=r/n,s=0,u=0,l=this.possibleCenters;u<l.length;u++){var c=l[u];s+=Math.abs(c.getEstimatedModuleSize()-a)}return s<=.05*r},e.prototype.selectBestPatterns=function(){var e=this.possibleCenters.length;if(e<3)throw new a.default;var t,r=this.possibleCenters;if(e>3){for(var n=0,i=0,o=0,s=this.possibleCenters;o<s.length;o++){var u=s[o].getEstimatedModuleSize();n+=u,i+=u*u}t=n/e;var l=Math.sqrt(i/e-t*t);r.sort((function(e,r){var n=Math.abs(r.getEstimatedModuleSize()-t),i=Math.abs(e.getEstimatedModuleSize()-t);return n<i?-1:n>i?1:0}));for(var c=Math.max(.2*t,l),f=0;f<r.length&&r.length>3;f++){var d=r[f];Math.abs(d.getEstimatedModuleSize()-t)>c&&(r.splice(f,1),f--)}}if(r.length>3){n=0;for(var h=0,p=r;h<p.length;h++)n+=p[h].getEstimatedModuleSize();t=n/r.length,r.sort((function(e,r){if(r.getCount()===e.getCount()){var n=Math.abs(r.getEstimatedModuleSize()-t),i=Math.abs(e.getEstimatedModuleSize()-t);return n<i?1:n>i?-1:0}return r.getCount()-e.getCount()})),r.splice(3)}return[r[0],r[1],r[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(28),o=r(27),a=r(26),s=r(17),u=r(33),l=r(92),c=r(89),f=r(0),d=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null==e?null:e.get(9);var t=new l.default(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(t)},e.prototype.processFinderPatternInfo=function(t){var r=t.getTopLeft(),n=t.getTopRight(),o=t.getBottomLeft(),a=this.calculateModuleSize(r,n,o);if(a<1)throw new f.default("No pattern found in proccess finder.");var s=e.computeDimension(r,n,o,a),l=u.default.getProvisionalVersionForDimension(s),c=l.getDimensionForVersion()-7,d=null;if(l.getAlignmentPatternCenters().length>0)for(var h=n.getX()-r.getX()+o.getX(),p=n.getY()-r.getY()+o.getY(),y=1-3/c,m=Math.floor(r.getX()+y*(h-r.getX())),b=Math.floor(r.getY()+y*(p-r.getY())),g=4;g<=16;g<<=1)try{d=this.findAlignmentInRegion(a,m,b,g);break}catch(e){if(!(e instanceof f.default))throw e}var w,v=e.createTransform(r,n,o,d,s),_=e.sampleGrid(this.image,v,s);return w=null===d?[o,r,n]:[o,r,n,d],new i.default(_,w)},e.createTransform=function(e,t,r,n,i){var o,s,u,l,c=i-3.5;return null!==n?(o=n.getX(),s=n.getY(),l=u=c-3):(o=t.getX()-e.getX()+r.getX(),s=t.getY()-e.getY()+r.getY(),u=c,l=c),a.default.quadrilateralToQuadrilateral(3.5,3.5,c,3.5,u,l,3.5,c,e.getX(),e.getY(),t.getX(),t.getY(),o,s,r.getX(),r.getY())},e.sampleGrid=function(e,t,r){return o.default.getInstance().sampleGridWithTransform(e,r,r,t)},e.computeDimension=function(e,t,r,i){var o=s.default.round(n.default.distance(e,t)/i),a=s.default.round(n.default.distance(e,r)/i),u=Math.floor((o+a)/2)+7;switch(3&u){case 0:u++;break;case 2:u--;break;case 3:throw new f.default("Dimensions could be not found.")}return u},e.prototype.calculateModuleSize=function(e,t,r){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,r))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,r,n){var i=this.sizeOfBlackWhiteBlackRun(e,t,r,n),o=1,a=e-(r-e);a<0?(o=e/(e-a),a=0):a>=this.image.getWidth()&&(o=(this.image.getWidth()-1-e)/(a-e),a=this.image.getWidth()-1);var s=Math.floor(t-(n-t)*o);return o=1,s<0?(o=t/(t-s),s=0):s>=this.image.getHeight()&&(o=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),a=Math.floor(e+(a-e)*o),(i+=this.sizeOfBlackWhiteBlackRun(e,t,a,s))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,r,n){var i=Math.abs(n-t)>Math.abs(r-e);if(i){var o=e;e=t,t=o,o=r,r=n,n=o}for(var a=Math.abs(r-e),u=Math.abs(n-t),l=-a/2,c=e<r?1:-1,f=t<n?1:-1,d=0,h=r+c,p=e,y=t;p!==h;p+=c){var m=i?y:p,b=i?p:y;if(1===d===this.image.get(m,b)){if(2===d)return s.default.distance(p,y,e,t);d++}if((l+=u)>0){if(y===n)break;y+=f,l-=a}}return 2===d?s.default.distance(r+c,n,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,r,n){var i=Math.floor(n*e),o=Math.max(0,t-i),a=Math.min(this.image.getWidth()-1,t+i);if(a-o<3*e)throw new f.default("Alignment top exceeds estimated module size.");var s=Math.max(0,r-i),u=Math.min(this.image.getHeight()-1,r+i);if(u-s<3*e)throw new f.default("Alignment bottom exceeds estimated module size.");return new c.default(this.image,o,s,a-o,u-s,e,this.resultPointCallback).find()},e}();t.default=d},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),i=r(15),o=r(30),a=r(55),s=r(54),u=r(12),l=r(29),c=r(4),f=function(){function e(){}return e.decode=function(t,r,a,l){var f=new n.default(t),d=new u.default,h=new Array,p=-1,y=-1;try{var m=null,b=!1,g=void 0;do{if(f.available()<4)g=s.default.TERMINATOR;else{var w=f.readBits(4);g=s.default.forBits(w)}switch(g){case s.default.TERMINATOR:break;case s.default.FNC1_FIRST_POSITION:case s.default.FNC1_SECOND_POSITION:b=!0;break;case s.default.STRUCTURED_APPEND:if(f.available()<16)throw new c.default;p=f.readBits(8),y=f.readBits(8);break;case s.default.ECI:var v=e.parseECIValue(f);if(null===(m=i.default.getCharacterSetECIByValue(v)))throw new c.default;break;case s.default.HANZI:var _=f.readBits(4),S=f.readBits(g.getCharacterCountBits(r));_===e.GB2312_SUBSET&&e.decodeHanziSegment(f,d,S);break;default:var A=f.readBits(g.getCharacterCountBits(r));switch(g){case s.default.NUMERIC:e.decodeNumericSegment(f,d,A);break;case s.default.ALPHANUMERIC:e.decodeAlphanumericSegment(f,d,A,b);break;case s.default.BYTE:e.decodeByteSegment(f,d,A,m,h,l);break;case s.default.KANJI:e.decodeKanjiSegment(f,d,A);break;default:throw new c.default}}}while(g!==s.default.TERMINATOR)}catch(e){throw new c.default}return new o.default(t,d.toString(),0===h.length?null:h,null===a?null:a.toString(),p,y)},e.decodeHanziSegment=function(e,t,r){if(13*r>e.available())throw new c.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=e.readBits(13),s=o/96<<8&4294967295|o%96;s+=s<959?41377:42657,n[i]=s>>8&255,n[i+1]=255&s,i+=2,r--}try{t.append(l.default.decode(n,a.default.GB2312))}catch(e){throw new c.default(e)}},e.decodeKanjiSegment=function(e,t,r){if(13*r>e.available())throw new c.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=e.readBits(13),s=o/192<<8&4294967295|o%192;s+=s<7936?33088:49472,n[i]=s>>8,n[i+1]=s,i+=2,r--}try{t.append(l.default.decode(n,a.default.SHIFT_JIS))}catch(e){throw new c.default(e)}},e.decodeByteSegment=function(e,t,r,n,i,o){if(8*r>e.available())throw new c.default;for(var s,u=new Uint8Array(r),f=0;f<r;f++)u[f]=e.readBits(8);s=null===n?a.default.guessEncoding(u,o):n.getName();try{t.append(l.default.decode(u,s))}catch(e){throw new c.default(e)}i.push(u)},e.toAlphaNumericChar=function(t){if(t>=e.ALPHANUMERIC_CHARS.length)throw new c.default;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,r,n,i){for(var o=r.length();n>1;){if(t.available()<11)throw new c.default;var a=t.readBits(11);r.append(e.toAlphaNumericChar(Math.floor(a/45))),r.append(e.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(t.available()<6)throw new c.default;r.append(e.toAlphaNumericChar(t.readBits(6)))}if(i)for(var s=o;s<r.length();s++)"%"===r.charAt(s)&&(s<r.length()-1&&"%"===r.charAt(s+1)?r.deleteCharAt(s+1):r.setCharAt(s,String.fromCharCode(29)))},e.decodeNumericSegment=function(t,r,n){for(;n>=3;){if(t.available()<10)throw new c.default;var i=t.readBits(10);if(i>=1e3)throw new c.default;r.append(e.toAlphaNumericChar(Math.floor(i/100))),r.append(e.toAlphaNumericChar(Math.floor(i/10)%10)),r.append(e.toAlphaNumericChar(i%10)),n-=3}if(2===n){if(t.available()<7)throw new c.default;var o=t.readBits(7);if(o>=100)throw new c.default;r.append(e.toAlphaNumericChar(Math.floor(o/10))),r.append(e.toAlphaNumericChar(o%10))}else if(1===n){if(t.available()<4)throw new c.default;var a=t.readBits(4);if(a>=10)throw new c.default;r.append(e.toAlphaNumericChar(a))}},e.parseECIValue=function(e){var t=e.readBits(8);if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new c.default},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}();t.default=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,r,i){if(t.length!==r.getTotalCodewords())throw new n.default;for(var o=r.getECBlocksForLevel(i),a=0,s=o.getECBlocks(),u=0,l=s;u<l.length;u++)a+=(p=l[u]).getCount();for(var c=new Array(a),f=0,d=0,h=s;d<h.length;d++)for(var p=h[d],y=0;y<p.getCount();y++){var m=p.getDataCodewords(),b=o.getECCodewordsPerBlock()+m;c[f++]=new e(m,new Uint8Array(b))}for(var g=c[0].codewords.length,w=c.length-1;w>=0&&c[w].codewords.length!==g;)w--;w++;var v=g-o.getECCodewordsPerBlock(),_=0;for(y=0;y<v;y++)for(var S=0;S<f;S++)c[S].codewords[y]=t[_++];for(S=w;S<f;S++)c[S].codewords[v]=t[_++];var A=c[0].codewords.length;for(y=v;y<A;y++)for(S=0;S<f;S++){var T=S<w?y:y+1;c[S].codewords[T]=t[_++]}return c},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}();t.default=i},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.DATA_MASK_000=0]="DATA_MASK_000",e[e.DATA_MASK_001=1]="DATA_MASK_001",e[e.DATA_MASK_010=2]="DATA_MASK_010",e[e.DATA_MASK_011=3]="DATA_MASK_011",e[e.DATA_MASK_100=4]="DATA_MASK_100",e[e.DATA_MASK_101=5]="DATA_MASK_101",e[e.DATA_MASK_110=6]="DATA_MASK_110",e[e.DATA_MASK_111=7]="DATA_MASK_111"}(t.DataMaskValues||(t.DataMaskValues={}));var n=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var r=0;r<t;r++)for(var n=0;n<t;n++)this.isMasked(r,n)&&e.flip(n,r)},e.values=new Map([[0,new e(0,(function(e,t){return 0==(e+t&1)}))],[1,new e(1,(function(e,t){return 0==(1&e)}))],[2,new e(2,(function(e,t){return t%3==0}))],[3,new e(3,(function(e,t){return(e+t)%3==0}))],[4,new e(4,(function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3)&1)}))],[5,new e(5,(function(e,t){return e*t%6==0}))],[6,new e(6,(function(e,t){return e*t%6<3}))],[7,new e(7,(function(e,t){return 0==(e+t+e*t%3&1)}))]]),e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.ecCodewordsPerBlock=e,this.ecBlocks=t}return e.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},e.prototype.getNumBlocks=function(){for(var e=0,t=0,r=this.ecBlocks;t<r.length;t++)e+=r[t].getCount();return e},e.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},e.prototype.getECBlocks=function(){return this.ecBlocks},e}();t.default=n},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(33),i=r(57),o=r(96),a=r(4),s=function(){function e(e){var t=e.getHeight();if(t<21||1!=(3&t))throw new a.default;this.bitMatrix=e}return e.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var e=0,t=0;t<6;t++)e=this.copyBit(t,8,e);e=this.copyBit(7,8,e),e=this.copyBit(8,8,e),e=this.copyBit(8,7,e);for(var r=5;r>=0;r--)e=this.copyBit(8,r,e);var n=this.bitMatrix.getHeight(),o=0,s=n-7;for(r=n-1;r>=s;r--)o=this.copyBit(8,r,o);for(t=n-8;t<n;t++)o=this.copyBit(t,8,o);if(this.parsedFormatInfo=i.default.decodeFormatInformation(e,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new a.default},e.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var e=this.bitMatrix.getHeight(),t=Math.floor((e-17)/4);if(t<=6)return n.default.getVersionForNumber(t);for(var r=0,i=e-11,o=5;o>=0;o--)for(var s=e-9;s>=i;s--)r=this.copyBit(s,o,r);var u=n.default.decodeVersionInformation(r);if(null!==u&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;for(r=0,s=5;s>=0;s--)for(o=e-9;o>=i;o--)r=this.copyBit(s,o,r);if(null!==(u=n.default.decodeVersionInformation(r))&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;throw new a.default},e.prototype.copyBit=function(e,t,r){return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?r<<1|1:r<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),r=o.default.values.get(e.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var i=t.buildFunctionPattern(),s=!0,u=new Uint8Array(t.getTotalCodewords()),l=0,c=0,f=0,d=n-1;d>0;d-=2){6===d&&d--;for(var h=0;h<n;h++)for(var p=s?n-1-h:h,y=0;y<2;y++)i.get(d-y,p)||(f++,c<<=1,this.bitMatrix.get(d-y,p)&&(c|=1),8===f&&(u[l++]=c,f=0,c=0));s=!s}if(l!==t.getTotalCodewords())throw new a.default;return u},e.prototype.remask=function(){if(null!==this.parsedFormatInfo){var e=o.default.values[this.parsedFormatInfo.getDataMask()],t=this.bitMatrix.getHeight();e.unmaskBitMatrix(this.bitMatrix,t)}},e.prototype.setMirror=function(e){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=e},e.prototype.mirror=function(){for(var e=this.bitMatrix,t=0,r=e.getWidth();t<r;t++)for(var n=t+1,i=e.getHeight();n<i;n++)e.get(t,n)!==e.get(n,t)&&(e.flip(n,t),e.flip(t,n))},e}();t.default=s},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),i=r(13),o=r(34),a=r(99),s=r(56),u=r(95),l=r(94),c=r(11),f=function(){function e(){this.rsDecoder=new o.default(i.default.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(n.default.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var r=new a.default(e),n=null;try{return this.decodeBitMatrixParser(r,t)}catch(e){n=e}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var i=this.decodeBitMatrixParser(r,t);return i.setOther(new s.default(!0)),i}catch(e){if(null!==n)throw n;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){for(var r=e.readVersion(),n=e.readFormatInformation().getErrorCorrectionLevel(),i=e.readCodewords(),o=u.default.getDataBlocks(i,r,n),a=0,s=0,c=o;s<c.length;s++)a+=(y=c[s]).getNumDataCodewords();for(var f=new Uint8Array(a),d=0,h=0,p=o;h<p.length;h++){var y,m=(y=p[h]).getCodewords(),b=y.getNumDataCodewords();this.correctErrors(m,b);for(var g=0;g<b;g++)f[d++]=m[g]}return l.default.decode(f,r,n,t)},e.prototype.correctErrors=function(e,t){e.length;var r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new c.default}for(var n=0;n<t;n++)e[n]=r[n]},e}();t.default=f},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.floatToIntBits=function(e){return e},e}();t.default=n},function(e,t,r){!function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};function r(e,t){void 0===t&&(t=e.constructor);var r=Error.captureStackTrace;r&&r(e,t)}var n=function(e){function n(t){var n,i,o,a=this.constructor,s=e.call(this,t)||this;return s.name=a.name,n=s,i=a.prototype,(o=Object.setPrototypeOf)?o(n,i):n.__proto__=i,r(s),s}return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}(n,e),n}(Error);e.CustomError=n,e.customErrorFactory=function(e,t){function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(!(this instanceof n))return new(n.bind.apply(n,[void 0].concat(i)));t.apply(this,i),e.apply(this,i),this.name=e.name||t.name,r(this,n)}return void 0===t&&(t=Error),Object.defineProperties(n,{prototype:{value:Object.create(t.prototype,{constructor:{value:n,writable:!0,configurable:!0}})}})}}(t)},function(e,t,r){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(23),a=r(35),s=function(e){function t(t){return void 0===t&&(t=500),e.call(this,new a.default,t)||this}return i(t,e),t}(o.BrowserCodeReader);t.BrowserQRCodeReader=s},function(e,t,r){e.exports=r(66)}])},"object"==typeof r&&"object"==typeof t?t.exports=i():"function"==typeof define&&define.amd?define("ZXing",[],i):"object"==typeof r?r.ZXing=i():n.ZXing=i()}}},{package:"@zxing/library",file:"node_modules/@zxing/library/umd/index.min.js"}],[1670,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
 * accounting.js v0.4.1
 * Copyright 2014 Open Exchange Rates
 *
 * Freely distributable under the MIT license.
 * Portions of accounting.js are inspired or borrowed from underscore.js
 *
 * Full details and documentation:
 * http://openexchangerates.github.io/accounting.js/
 */
!function(e,n){var i={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},o=Array.prototype.map,a=Array.isArray,s=Object.prototype.toString;function u(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function l(e){return a?a(e):"[object Array]"===s.call(e)}function c(e){return e&&"[object Object]"===s.call(e)}function f(e,t){var r;for(r in e=e||{},t=t||{})t.hasOwnProperty(r)&&null==e[r]&&(e[r]=t[r]);return e}function d(e,t,r){var n,i,a=[];if(!e)return a;if(o&&e.map===o)return e.map(t,r);for(n=0,i=e.length;n<i;n++)a[n]=t.call(r,e[n],n,e);return a}function h(e,t){return e=Math.round(Math.abs(e)),isNaN(e)?t:e}function p(e){var t=i.settings.currency.format;return"function"==typeof e&&(e=e()),u(e)&&e.match("%v")?{pos:e,neg:e.replace("-","").replace("%v","-%v"),zero:e}:e&&e.pos&&e.pos.match("%v")?e:u(t)?i.settings.currency.format={pos:t,neg:t.replace("%v","-%v"),zero:t}:t}var y,m=i.unformat=i.parse=function(e,t){if(l(e))return d(e,(function(e){return m(e,t)}));if("number"==typeof(e=e||0))return e;t=t||i.settings.number.decimal;var r=new RegExp("[^0-9-"+t+"]",["g"]),n=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(r,"").replace(t,"."));return isNaN(n)?0:n},b=i.toFixed=function(e,t){t=h(t,i.settings.number.precision);var r=Math.pow(10,t);return(Math.round(i.unformat(e)*r)/r).toFixed(t)},g=i.formatNumber=i.format=function(e,t,r,n){if(l(e))return d(e,(function(e){return g(e,t,r,n)}));e=m(e);var o=f(c(t)?t:{precision:t,thousand:r,decimal:n},i.settings.number),a=h(o.precision),s=e<0?"-":"",u=parseInt(b(Math.abs(e||0),a),10)+"",p=u.length>3?u.length%3:0;return s+(p?u.substr(0,p)+o.thousand:"")+u.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o.thousand)+(a?o.decimal+b(Math.abs(e),a).split(".")[1]:"")},w=i.formatMoney=function(e,t,r,n,o,a){if(l(e))return d(e,(function(e){return w(e,t,r,n,o,a)}));e=m(e);var s=f(c(t)?t:{symbol:t,precision:r,thousand:n,decimal:o,format:a},i.settings.currency),u=p(s.format);return(e>0?u.pos:e<0?u.neg:u.zero).replace("%s",s.symbol).replace("%v",g(Math.abs(e),h(s.precision),s.thousand,s.decimal))};i.formatColumn=function(e,t,r,n,o,a){if(!e)return[];var s=f(c(t)?t:{symbol:t,precision:r,thousand:n,decimal:o,format:a},i.settings.currency),y=p(s.format),b=y.pos.indexOf("%s")<y.pos.indexOf("%v"),w=0,v=d(e,(function(e,t){if(l(e))return i.formatColumn(e,s);var r=((e=m(e))>0?y.pos:e<0?y.neg:y.zero).replace("%s",s.symbol).replace("%v",g(Math.abs(e),h(s.precision),s.thousand,s.decimal));return r.length>w&&(w=r.length),r}));return d(v,(function(e,t){return u(e)&&e.length<w?b?e.replace(s.symbol,s.symbol+new Array(w-e.length+1).join(" ")):new Array(w-e.length+1).join(" ")+e:e}))},void 0!==r?(void 0!==t&&t.exports&&(r=t.exports=i),r.accounting=i):"function"==typeof define&&define.amd?define([],(function(){return i})):(i.noConflict=(y=e.accounting,function(){return e.accounting=y,i.noConflict=void 0,i}),e.accounting=i)}(this)}}},{package:"currency-formatter>accounting",file:"node_modules/accounting/accounting.js"}],[1719,{"core-js/library/fn/array/from":1742},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/array/from"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/array/from.js"}],[1720,{"core-js/library/fn/get-iterator":1743},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/get-iterator"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/get-iterator.js"}],[1721,{"core-js/library/fn/is-iterable":1744},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/is-iterable"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/is-iterable.js"}],[1724,{"core-js/library/fn/object/create":1747},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/object/create"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/object/create.js"}],[1725,{"core-js/library/fn/object/define-property":1748},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/object/define-property"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/object/define-property.js"}],[1727,{"core-js/library/fn/object/set-prototype-of":1750},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/object/set-prototype-of"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/object/set-prototype-of.js"}],[1729,{"core-js/library/fn/symbol":1752},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/symbol"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/symbol.js"}],[173,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/arrayLikeToArray.js"}],[1730,{"core-js/library/fn/symbol/iterator":1753},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={default:e("core-js/library/fn/symbol/iterator"),__esModule:!0}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/core-js/symbol/iterator.js"}],[1732,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0,r.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/classCallCheck.js"}],[1733,{"../core-js/object/define-property":1725},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n,i=e("../core-js/object/define-property"),o=(n=i)&&n.__esModule?n:{default:n};r.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/createClass.js"}],[1734,{"../core-js/object/define-property":1725},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n,i=e("../core-js/object/define-property"),o=(n=i)&&n.__esModule?n:{default:n};r.default=function(e,t,r){return t in e?(0,o.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/defineProperty.js"}],[1735,{"../core-js/object/assign":1723},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n,i=e("../core-js/object/assign"),o=(n=i)&&n.__esModule?n:{default:n};r.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/extends.js"}],[1736,{"../core-js/object/create":1724,"../core-js/object/set-prototype-of":1727,"../helpers/typeof":1741},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n=a(e("../core-js/object/set-prototype-of")),i=a(e("../core-js/object/create")),o=a(e("../helpers/typeof"));function a(e){return e&&e.__esModule?e:{default:e}}r.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,o.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/inherits.js"}],[1737,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0,r.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/objectWithoutProperties.js"}],[1738,{"../helpers/typeof":1741},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n,i=e("../helpers/typeof"),o=(n=i)&&n.__esModule?n:{default:n};r.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/possibleConstructorReturn.js"}],[1739,{"../core-js/get-iterator":1720,"../core-js/is-iterable":1721},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n=o(e("../core-js/is-iterable")),i=o(e("../core-js/get-iterator"));function o(e){return e&&e.__esModule?e:{default:e}}r.default=function(e,t){if(Array.isArray(e))return e;if((0,n.default)(Object(e)))return function(e,t){var r=[],n=!0,o=!1,a=undefined;try{for(var s,u=(0,i.default)(e);!(n=(s=u.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{!n&&u.return&&u.return()}finally{if(o)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/slicedToArray.js"}],[174,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){if(Array.isArray(e))return e},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/arrayWithHoles.js"}],[1740,{"../core-js/array/from":1719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n,i=e("../core-js/array/from"),o=(n=i)&&n.__esModule?n:{default:n};r.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,o.default)(e)}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/toConsumableArray.js"}],[1741,{"../core-js/symbol":1729,"../core-js/symbol/iterator":1730},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0;var n=a(e("../core-js/symbol/iterator")),i=a(e("../core-js/symbol")),o="function"==typeof i.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}r.default="function"==typeof i.default&&"symbol"===o(n.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}}},{package:"ethjs-query>babel-runtime",file:"node_modules/babel-runtime/helpers/typeof.js"}],[1742,{"../../modules/_core":1761,"../../modules/es6.array.from":1832,"../../modules/es6.string.iterator":1841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.string.iterator"),e("../../modules/es6.array.from"),t.exports=e("../../modules/_core").Array.from}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/array/from.js"}],[1743,{"../modules/core.get-iterator":1830,"../modules/es6.string.iterator":1841,"../modules/web.dom.iterable":1847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../modules/web.dom.iterable"),e("../modules/es6.string.iterator"),t.exports=e("../modules/core.get-iterator")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/get-iterator.js"}],[1744,{"../modules/core.is-iterable":1831,"../modules/es6.string.iterator":1841,"../modules/web.dom.iterable":1847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../modules/web.dom.iterable"),e("../modules/es6.string.iterator"),t.exports=e("../modules/core.is-iterable")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/is-iterable.js"}],[1747,{"../../modules/_core":1761,"../../modules/es6.object.create":1835},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.object.create");var n=e("../../modules/_core").Object;t.exports=function(e,t){return n.create(e,t)}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/object/create.js"}],[1748,{"../../modules/_core":1761,"../../modules/es6.object.define-property":1836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.object.define-property");var n=e("../../modules/_core").Object;t.exports=function(e,t,r){return n.defineProperty(e,t,r)}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/object/define-property.js"}],[175,{"./arrayLikeToArray.js":173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./arrayLikeToArray.js");t.exports=function(e){if(Array.isArray(e))return n(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"}],[1750,{"../../modules/_core":1761,"../../modules/es6.object.set-prototype-of":1838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.object.set-prototype-of"),t.exports=e("../../modules/_core").Object.setPrototypeOf}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/object/set-prototype-of.js"}],[1752,{"../../modules/_core":1761,"../../modules/es6.object.to-string":1839,"../../modules/es6.symbol":1842,"../../modules/es7.symbol.async-iterator":1845,"../../modules/es7.symbol.observable":1846},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.symbol"),e("../../modules/es6.object.to-string"),e("../../modules/es7.symbol.async-iterator"),e("../../modules/es7.symbol.observable"),t.exports=e("../../modules/_core").Symbol}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/index.js"}],[1753,{"../../modules/_wks-ext":1827,"../../modules/es6.string.iterator":1841,"../../modules/web.dom.iterable":1847},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("../../modules/es6.string.iterator"),e("../../modules/web.dom.iterable"),t.exports=e("../../modules/_wks-ext").f("iterator")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/iterator.js"}],[1762,{"./_object-dp":1794,"./_property-desc":1807},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_object-dp"),i=e("./_property-desc");t.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_create-property.js"}],[1768,{"./_object-gops":1799,"./_object-keys":1802,"./_object-pie":1803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie");t.exports=function(e){var t=n(e),r=i.f;if(r)for(var a,s=r(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-keys.js"}],[178,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/classCallCheck.js"}],[1780,{"./_cof":1760},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==n(e)}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array.js"}],[1789,{"./_fails":1770,"./_has":1773,"./_is-object":1781,"./_object-dp":1794,"./_uid":1824},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_uid")("meta"),i=e("./_is-object"),o=e("./_has"),a=e("./_object-dp").f,s=0,u=Object.isExtensible||function(){return!0},l=!e("./_fails")((function(){return u(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[n].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!o(e,n)&&c(e),e}}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_meta.js"}],[1796,{"./_descriptors":1765,"./_has":1773,"./_ie8-dom-define":1776,"./_object-pie":1803,"./_property-desc":1807,"./_to-iobject":1820,"./_to-primitive":1823},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_object-pie"),i=e("./_property-desc"),o=e("./_to-iobject"),a=e("./_to-primitive"),s=e("./_has"),u=e("./_ie8-dom-define"),l=Object.getOwnPropertyDescriptor;r.f=e("./_descriptors")?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopd.js"}],[1797,{"./_object-gopn":1798,"./_to-iobject":1820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_to-iobject"),i=e("./_object-gopn").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(n(e))}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn-ext.js"}],[1798,{"./_enum-bug-keys":1767,"./_object-keys-internal":1801},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_object-keys-internal"),i=e("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(e){return n(e,i)}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn.js"}],[180,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/createClass.js"}],[1810,{"./_an-object":1757,"./_ctx":1763,"./_is-object":1781,"./_object-gopd":1796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_is-object"),i=e("./_an-object"),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,n){try{(n=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(e){r=!0}return function(e,t){return o(e,t),r?e.__proto__=t:n(e,t),e}}({},!1):undefined),check:o}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_set-proto.js"}],[182,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(){return t.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/extends.js"}],[1826,{"./_core":1761,"./_global":1772,"./_library":1788,"./_object-dp":1794,"./_wks-ext":1827},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_global"),i=e("./_core"),o=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-define.js"}],[1827,{"./_wks":1828},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.f=e("./_wks")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-ext.js"}],[1830,{"./_an-object":1757,"./_core":1761,"./core.get-iterator-method":1829},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_an-object"),i=e("./core.get-iterator-method");t.exports=e("./_core").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/core.get-iterator.js"}],[1831,{"./_classof":1759,"./_core":1761,"./_iterators":1787,"./_wks":1828},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_classof"),i=e("./_wks")("iterator"),o=e("./_iterators");t.exports=e("./_core").isIterable=function(e){var t=Object(e);return t[i]!==undefined||"@@iterator"in t||o.hasOwnProperty(n(t))}}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js"}],[1832,{"./_create-property":1762,"./_ctx":1763,"./_export":1769,"./_is-array-iter":1779,"./_iter-call":1782,"./_iter-detect":1785,"./_to-length":1821,"./_to-object":1822,"./core.get-iterator-method":1829},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_ctx"),i=e("./_export"),o=e("./_to-object"),a=e("./_iter-call"),s=e("./_is-array-iter"),u=e("./_to-length"),l=e("./_create-property"),c=e("./core.get-iterator-method");i(i.S+i.F*!e("./_iter-detect")((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,f,d=o(e),h="function"==typeof this?this:Array,p=arguments.length,y=p>1?arguments[1]:undefined,m=y!==undefined,b=0,g=c(d);if(m&&(y=n(y,p>2?arguments[2]:undefined,2)),g==undefined||h==Array&&s(g))for(r=new h(t=u(d.length));t>b;b++)l(r,b,m?y(d[b],b):d[b]);else for(f=g.call(d),r=new h;!(i=f.next()).done;b++)l(r,b,m?a(f,y,[i.value,b],!0):i.value);return r.length=b,r}})}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es6.array.from.js"}],[1835,{"./_export":1769,"./_object-create":1793},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_export");n(n.S,"Object",{create:e("./_object-create")})}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.create.js"}],[1836,{"./_descriptors":1765,"./_export":1769,"./_object-dp":1794},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_export");n(n.S+n.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.define-property.js"}],[1838,{"./_export":1769,"./_set-proto":1810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_export");n(n.S,"Object",{setPrototypeOf:e("./_set-proto").set})}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.set-prototype-of.js"}],[184,{"./setPrototypeOf.js":198},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./setPrototypeOf.js");t.exports=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/inherits.js"}],[1842,{"./_an-object":1757,"./_descriptors":1765,"./_enum-keys":1768,"./_export":1769,"./_fails":1770,"./_global":1772,"./_has":1773,"./_hide":1774,"./_is-array":1780,"./_is-object":1781,"./_library":1788,"./_meta":1789,"./_object-create":1793,"./_object-dp":1794,"./_object-gopd":1796,"./_object-gopn":1798,"./_object-gopn-ext":1797,"./_object-gops":1799,"./_object-keys":1802,"./_object-pie":1803,"./_property-desc":1807,"./_redefine":1809,"./_set-to-string-tag":1812,"./_shared":1814,"./_to-iobject":1820,"./_to-object":1822,"./_to-primitive":1823,"./_uid":1824,"./_wks":1828,"./_wks-define":1826,"./_wks-ext":1827},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_global"),i=e("./_has"),o=e("./_descriptors"),a=e("./_export"),s=e("./_redefine"),u=e("./_meta").KEY,l=e("./_fails"),c=e("./_shared"),f=e("./_set-to-string-tag"),d=e("./_uid"),h=e("./_wks"),p=e("./_wks-ext"),y=e("./_wks-define"),m=e("./_enum-keys"),b=e("./_is-array"),g=e("./_an-object"),w=e("./_is-object"),v=e("./_to-object"),_=e("./_to-iobject"),S=e("./_to-primitive"),A=e("./_property-desc"),T=e("./_object-create"),k=e("./_object-gopn-ext"),E=e("./_object-gopd"),I=e("./_object-gops"),O=e("./_object-dp"),M=e("./_object-keys"),x=E.f,j=O.f,P=k.f,C=n.Symbol,N=n.JSON,B=N&&N.stringify,D=h("_hidden"),R=h("toPrimitive"),L={}.propertyIsEnumerable,U=c("symbol-registry"),F=c("symbols"),V=c("op-symbols"),z=Object.prototype,G="function"==typeof C&&!!I.f,H=n.QObject,q=!H||!H.prototype||!H.prototype.findChild,W=o&&l((function(){return 7!=T(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=x(z,t);n&&delete z[t],j(e,t,r),n&&e!==z&&j(z,t,n)}:j,K=function(e){var t=F[e]=T(C.prototype);return t._k=e,t},$=G&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},Z=function(e,t,r){return e===z&&Z(V,t,r),g(e),t=S(t,!0),g(r),i(F,t)?(r.enumerable?(i(e,D)&&e[D][t]&&(e[D][t]=!1),r=T(r,{enumerable:A(0,!1)})):(i(e,D)||j(e,D,A(1,{})),e[D][t]=!0),W(e,t,r)):j(e,t,r)},X=function(e,t){g(e);for(var r,n=m(t=_(t)),i=0,o=n.length;o>i;)Z(e,r=n[i++],t[r]);return e},Y=function(e){var t=L.call(this,e=S(e,!0));return!(this===z&&i(F,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(F,e)||i(this,D)&&this[D][e])||t)},J=function(e,t){if(e=_(e),t=S(t,!0),e!==z||!i(F,t)||i(V,t)){var r=x(e,t);return!r||!i(F,t)||i(e,D)&&e[D][t]||(r.enumerable=!0),r}},Q=function(e){for(var t,r=P(_(e)),n=[],o=0;r.length>o;)i(F,t=r[o++])||t==D||t==u||n.push(t);return n},ee=function(e){for(var t,r=e===z,n=P(r?V:_(e)),o=[],a=0;n.length>a;)!i(F,t=n[a++])||r&&!i(z,t)||o.push(F[t]);return o};G||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:undefined),t=function(r){this===z&&t.call(V,r),i(this,D)&&i(this[D],e)&&(this[D][e]=!1),W(this,e,A(1,r))};return o&&q&&W(z,e,{configurable:!0,set:t}),K(e)},s(C.prototype,"toString",(function(){return this._k})),E.f=J,O.f=Z,e("./_object-gopn").f=k.f=Q,e("./_object-pie").f=Y,I.f=ee,o&&!e("./_library")&&s(z,"propertyIsEnumerable",Y,!0),p.f=function(e){return K(h(e))}),a(a.G+a.W+a.F*!G,{Symbol:C});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)h(te[re++]);for(var ne=M(h.store),ie=0;ne.length>ie;)y(ne[ie++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=C(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!G,"Object",{create:function(e,t){return t===undefined?T(e):X(T(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=l((function(){I.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return I.f(v(e))}}),N&&a(a.S+a.F*(!G||l((function(){var e=C();return"[null]"!=B([e])||"{}"!=B({a:e})||"{}"!=B(Object(e))}))),"JSON",{stringify:function(e){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=t=n[1],(w(t)||e!==undefined)&&!$(e))return b(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,B.apply(N,n)}}),C.prototype[R]||e("./_hide")(C.prototype,R,C.prototype.valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es6.symbol.js"}],[1845,{"./_wks-define":1826},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("./_wks-define")("asyncIterator")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.async-iterator.js"}],[1846,{"./_wks-define":1826},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){e("./_wks-define")("observable")}}},{package:"ethjs-query>babel-runtime>core-js",file:"node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.observable.js"}],[187,{"./typeof.js":202},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./typeof.js").default;function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}return o.default=e,r&&r.set(e,o),o},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/interopRequireWildcard.js"}],[189,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/iterableToArray.js"}],[190,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"}],[191,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/nonIterableRest.js"}],[1913,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/**
 * Echos the value of a value. Trys to print the value out
 * in the best way possible given the different types.
 *
 * @param {Object} obj The object to print out.
 * @param {Object} opts Optional options object that alters the output.
 * @license MIT (© Joyent)
 */
function n(e,t){var r={seen:[],stylize:i};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),o(t)?r.showHidden=t:t&&v(r,t),a(r.showHidden)&&(r.showHidden=!1),a(r.depth)&&(r.depth=2),a(r.colors)&&(r.colors=!1),a(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),g(r,e,r.depth)}function i(e,t){return e}function o(e){return"boolean"==typeof e}function a(e){return void 0===e}function s(e,t){var r=n.styles[t];return r?"["+n.colors[r][0]+"m"+e+"["+n.colors[r][1]+"m":e}function u(e){return"function"==typeof e}function l(e){return"string"==typeof e}function c(e){return null===e}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){return h(e)&&"[object RegExp]"===m(e)}function h(e){return"object"==typeof e&&null!==e}function p(e){return h(e)&&("[object Error]"===m(e)||e instanceof Error)}function y(e){return h(e)&&"[object Date]"===m(e)}function m(e){return Object.prototype.toString.call(e)}function b(e){return"["+Error.prototype.toString.call(e)+"]"}function g(e,t,r){if(e.customInspect&&t&&u(t.inspect)&&t.inspect!==n&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return l(i)||(i=g(e,i,r)),i}var s=function(e,t){if(a(t))return e.stylize("undefined","undefined");if(l(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(n=t,"number"==typeof n)return e.stylize(""+t,"number");var n;if(o(t))return e.stylize(""+t,"boolean");if(c(t))return e.stylize("null","null")}(e,t);if(s)return s;var h=Object.keys(t),m=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(h);try{e.showHidden&&Object.getOwnPropertyNames&&(h=Object.getOwnPropertyNames(t))}catch(e){}if(p(t)&&(h.indexOf("message")>=0||h.indexOf("description")>=0))return b(t);if(0===h.length){if(u(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(d(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(y(t))return e.stylize(Date.prototype.toString.call(t),"date");if(p(t))return b(t)}var _,S="",A=!1,T=["{","}"];(Array.isArray(t)&&(A=!0,T=["[","]"]),u(t))&&(S=" [Function"+(t.name?": "+t.name:"")+"]");return d(t)&&(S=" "+RegExp.prototype.toString.call(t)),y(t)&&(S=" "+Date.prototype.toUTCString.call(t)),p(t)&&(S=" "+b(t)),0!==h.length||A&&0!=t.length?r<0?d(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),_=A?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)f(t,String(a))?o.push(w(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(w(e,t,r,n,i,!0))})),o}(e,t,r,m,h):h.map((function(n){return w(e,t,r,m,n,A)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(_,S,T)):T[0]+S+T[1]}function w(e,t,r,n,i,o){var s,u,l;l={value:void 0};try{l.value=t[i]}catch(e){}try{Object.getOwnPropertyDescriptor&&(l=Object.getOwnPropertyDescriptor(t,i)||l)}catch(e){}if(l.get?u=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(u=e.stylize("[Setter]","special")),f(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(l.value)<0?(u=c(r)?g(e,l.value,null):g(e,l.value,r-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return"   "+e})).join("\n")):u=e.stylize("[Circular]","special")),a(s)){if(o&&i.match(/^\d+$/))return u;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function v(e,t){if(!t||!h(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}t.exports=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"}}}},{package:"browser-util-inspect",file:"node_modules/browser-util-inspect/index.js"}],[192,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/nonIterableSpread.js"}],[193,{"./defineProperty.js":181},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./defineProperty.js");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/objectSpread2.js"}],[194,{"./objectWithoutPropertiesLoose.js":195},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./objectWithoutPropertiesLoose.js");t.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/objectWithoutProperties.js"}],[195,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"}],[1954,{"./":1955,"get-intrinsic":2498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),i=e("./"),o=i(n("String.prototype.indexOf"));t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}}}},{package:"string.prototype.matchall>call-bind",file:"node_modules/call-bind/callBound.js"}],[1955,{"function-bind":2495,"get-intrinsic":2498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("function-bind"),i=e("get-intrinsic"),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=s(n,a,arguments);if(u&&l){var r=u(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(n,o,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f}}},{package:"string.prototype.matchall>call-bind",file:"node_modules/call-bind/index.js"}],[1958,{"./commented":1959,"./decoder":1961,"./diagnose":1962,"./encoder":1963,"./map":1964,"./simple":1965,"./tagged":1966,"./utils":1967,"bignumber.js":1968},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.BigNumber=e("bignumber.js").BigNumber,r.Commented=e("./commented"),r.Diagnose=e("./diagnose"),r.Decoder=e("./decoder"),r.Encoder=e("./encoder"),r.Simple=e("./simple"),r.Tagged=e("./tagged"),r.Map=e("./map"),r.comment=r.Commented.comment,r.decodeAll=r.Decoder.decodeAll,r.decodeFirst=r.Decoder.decodeFirst,r.decodeAllSync=r.Decoder.decodeAllSync,r.decodeFirstSync=r.Decoder.decodeFirstSync,r.diagnose=r.Diagnose.diagnose,r.encode=r.Encoder.encode,r.encodeCanonical=r.Encoder.encodeCanonical,r.encodeOne=r.Encoder.encodeOne,r.encodeAsync=r.Encoder.encodeAsync,r.decode=r.Decoder.decodeFirstSync,r.leveldb={decode:r.Decoder.decodeAllSync,encode:r.Encoder.encode,buffer:!0,name:"cbor"},r.hasBigInt=e("./utils").hasBigInt}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/cbor.js"}],[1959,{"../../is-buffer/index.js":2697,"./constants":1960,"./decoder":1961,"./simple":1965,"./utils":1967,"bignumber.js":1968,nofilter:2991,stream:1946,util:1949},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("stream"),i=e("util"),o=(e("./utils"),e("./simple"),e("./decoder")),a=e("./constants"),s=e("bignumber.js").BigNumber,u=e("nofilter"),l=a.MT,c=a.NUMBYTES,f=a.SYMS;function d(e){return e>1?"s":""}class h extends n.Transform{constructor(e){const t=Object.assign({depth:1,max_depth:10,no_summary:!1},e,{readableObjectMode:!1,writableObjectMode:!1}),r=t.max_depth;delete t.max_depth;const n=t.depth;delete t.depth,super(t),this.depth=n,this.max_depth=r,this.all=new u,t.tags={24:this._tag_24.bind(this)},this.parser=new o(t),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("start-string",this._on_start_string.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("error",this._on_error.bind(this)),t.no_summary||this.parser.on("data",this._on_data.bind(this)),this.parser.bs.on("read",this._on_read.bind(this))}_tag_24(e){const t=new h({depth:this.depth+1,no_summary:!0});t.on("data",(e=>this.push(e))),t.on("error",(e=>this.emit("error",e))),t.end(e)}_transform(e,t,r){this.parser.write(e,t,r)}_flush(e){return this.parser._flush(e)}static comment(e,t,r){if(null==e)throw new Error("input required");let n="string"==typeof e?"hex":void 0,i=10;switch(typeof t){case"function":r=t;break;case"string":n=t;break;case"number":i=t;break;case"object":const e=t.encoding,o=t.max_depth;n=null!=e?e:n,i=null!=o?o:i;break;case"undefined":break;default:throw new Error("Unknown option type")}const o=new u,a=new h({max_depth:i});let s=null;return"function"==typeof r?(a.on("end",(()=>{r(null,o.toString("utf8"))})),a.on("error",r)):s=new Promise(((e,t)=>(a.on("end",(()=>{e(o.toString("utf8"))})),a.on("error",t)))),a.pipe(o),a.end(e,n),s}_on_error(e){this.push("ERROR: "),this.push(e.toString()),this.push("\n")}_on_read(e){this.all.write(e);const t=e.toString("hex");this.push(new Array(this.depth+1).join("  ")),this.push(t);let r=2*(this.max_depth-this.depth);return r-=t.length,r<1&&(r=1),this.push(new Array(r+1).join(" ")),this.push("-- ")}_on_more(e,t,r,n){this.depth++;let i="";switch(e){case l.POS_INT:i="Positive number,";break;case l.NEG_INT:i="Negative number,";break;case l.ARRAY:i="Array, length";break;case l.MAP:i="Map, count";break;case l.BYTE_STRING:i="Bytes, length";break;case l.UTF8_STRING:i="String, length";break;case l.SIMPLE_FLOAT:i=1===t?"Simple value,":"Float,"}return this.push(i+" next "+t+" byte"+d(t)+"\n")}_on_start_string(e,t,r,n){this.depth++;let i="";switch(e){case l.BYTE_STRING:i="Bytes, length: "+t;break;case l.UTF8_STRING:i="String, length: "+t.toString()}return this.push(i+"\n")}_on_start(e,t,r,n){if(this.depth++,t!==f.BREAK)switch(r){case l.ARRAY:this.push(`[${n}], `);break;case l.MAP:n%2?this.push(`{Val:${Math.floor(n/2)}}, `):this.push(`{Key:${Math.floor(n/2)}}, `)}switch(e){case l.TAG:this.push(`Tag #${t}`),24==t&&this.push(" Encoded CBOR data item");break;case l.ARRAY:t===f.STREAM?this.push("Array (streaming)"):this.push(`Array, ${t} item${d(t)}`);break;case l.MAP:t===f.STREAM?this.push("Map (streaming)"):this.push(`Map, ${t} pair${d(t)}`);break;case l.BYTE_STRING:this.push("Bytes (streaming)");break;case l.UTF8_STRING:this.push("String (streaming)")}return this.push("\n")}_on_stop(e){return this.depth--}_on_value(e,t,n,o){if(e!==f.BREAK)switch(t){case l.ARRAY:this.push(`[${n}], `);break;case l.MAP:n%2?this.push(`{Val:${Math.floor(n/2)}}, `):this.push(`{Key:${Math.floor(n/2)}}, `)}switch(e===f.BREAK?this.push("BREAK\n"):e===f.NULL?this.push("null\n"):e===f.UNDEFINED?this.push("undefined\n"):"string"==typeof e?(this.depth--,e.length>0&&(this.push(JSON.stringify(e)),this.push("\n"))):r.isBuffer(e)?(this.depth--,e.length>0&&(this.push(e.toString("hex")),this.push("\n"))):e instanceof s?(this.push(e.toString()),this.push("\n")):(this.push(i.inspect(e)),this.push("\n")),o){case c.ONE:case c.TWO:case c.FOUR:case c.EIGHT:this.depth--}}_on_data(){return this.push("0x"),this.push(this.all.read().toString("hex")),this.push("\n")}}t.exports=h}).call(this)}).call(this,{isBuffer:e("../../is-buffer/index.js")})}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/commented.js"}],[196,{"./assertThisInitialized.js":176,"./typeof.js":202},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./typeof.js").default,i=e("./assertThisInitialized.js");t.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"}],[1960,{"bignumber.js":1968},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("bignumber.js").BigNumber;r.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7},r.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36},r.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31},r.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23},r.SYMS={NULL:Symbol("null"),UNDEFINED:Symbol("undef"),PARENT:Symbol("parent"),BREAK:Symbol("break"),STREAM:Symbol("stream")},r.SHIFT32=4294967296,r.BI={MINUS_ONE:-1,MAXINT32:4294967295,MAXINT64:"0xffffffffffffffff",SHIFT32:r.SHIFT32};const i=new n(-1);r.BN={MINUS_ONE:i,NEG_MAX:i.minus(new n(Number.MAX_SAFE_INTEGER.toString(16),16)),MAXINT:new n("0x20000000000000"),MAXINT32:new n(4294967295),MAXINT64:new n("0xffffffffffffffff"),SHIFT32:new n(r.SHIFT32)}}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/constants.js"}],[1961,{"../vendor/binary-parse-stream":1969,"./constants":1960,"./simple":1965,"./tagged":1966,"./utils":1967,"bignumber.js":1968,buffer:1943,nofilter:2991,stream:1946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("stream"),i=e("../vendor/binary-parse-stream"),o=e("./tagged"),a=e("./simple"),s=e("./utils"),u=e("bignumber.js").BigNumber,l=e("nofilter"),c=e("./constants"),f=c.MT,d=c.NUMBYTES,h=(c.SIMPLE,c.SYMS),p=s.bigIntize(c.BI),y=c.BN,m=Symbol("count"),b=(Symbol("pending_key"),Symbol("major type")),g=Symbol("error"),w=Symbol("not found");function v(e,t,r){const n=[];return n[m]=r,n[h.PARENT]=e,n[b]=t,n}function _(e,t){const r=new l;return r[m]=-1,r[h.PARENT]=e,r[b]=t,r}function S(e){return s.bufferToBigInt(e)}function A(e){return p.MINUS_ONE-s.bufferToBigInt(e)}class T extends i{constructor(e){const t=(e=e||{}).tags;delete e.tags;const r=null!=e.max_depth?e.max_depth:-1;delete e.max_depth;const n=!!s.hasBigInt&&!!e.bigint;delete e.bigint,super(e),this.running=!0,this.max_depth=r,this.tags=t,n&&(null==this.tags&&(this.tags={}),null==this.tags[2]&&(this.tags[2]=S),null==this.tags[3]&&(this.tags[3]=A))}static nullcheck(e){switch(e){case h.NULL:return null;case h.UNDEFINED:return undefined;case w:throw new Error("Value not found");default:return e}}static decodeFirstSync(e,t){let r,i={};switch(typeof(t=t||{encoding:"hex"})){case"string":r=t;break;case"object":i=s.extend({},t),r=i.encoding,delete i.encoding}const o=new T(i),a=e instanceof n.Readable?e:new l(e,null!=r?r:s.guessEncoding(e)),u=o._parse();let c=u.next();for(;!c.done;){const e=a.read(c.value);if(null==e||e.length!==c.value)throw new Error("Insufficient data");c=u.next(e)}const f=T.nullcheck(c.value);if(a.length>0){const e=a.read(1);a.unshift(e);const t=new Error("Unexpected data: 0x"+e[0].toString(16));throw t.value=f,t}return f}static decodeAllSync(e,t){let r,i={};switch(typeof(t=t||{encoding:"hex"})){case"string":r=t;break;case"object":i=s.extend({},t),r=i.encoding,delete i.encoding}const o=new T(i),a=e instanceof n.Readable?e:new l(e,null!=r?r:s.guessEncoding(e)),u=[];for(;a.length>0;){const e=o._parse();let t=e.next();for(;!t.done;){const r=a.read(t.value);if(null==r||r.length!==t.value)throw new Error("Insufficient data");t=e.next(r)}u.push(T.nullcheck(t.value))}return u}static decodeFirst(e,t,r){let n={},i=!1,o="hex";switch(typeof t){case"function":r=t,o=s.guessEncoding(e);break;case"string":o=t;break;case"object":n=s.extend({},t),o=null!=n.encoding?n.encoding:s.guessEncoding(e),delete n.encoding,i=null!=n.required&&n.required,delete n.required}const a=new T(n);let u=w;const l=new Promise(((e,t)=>{a.on("data",(e=>{u=T.nullcheck(e),a.close()})),a.once("error",(e=>(u!==w&&(e.value=u),u=g,a.close(),t(e)))),a.once("end",(()=>{switch(u){case w:return i?t(new Error("No CBOR found")):e(u);case g:return;default:return e(u)}}))}));return"function"==typeof r&&l.then((e=>r(null,e)),r),a.end(e,o),l}static decodeAll(e,t,r){let n={},i="hex";switch(typeof t){case"function":r=t,i=s.guessEncoding(e);break;case"string":i=t;break;case"object":n=s.extend({},t),i=null!=n.encoding?n.encoding:s.guessEncoding(e),delete n.encoding}const o=new T(n),a=[];o.on("data",(e=>a.push(T.nullcheck(e))));const u=new Promise(((e,t)=>{o.on("error",t),o.on("end",(()=>e(a)))}));return"function"==typeof r&&u.then((e=>r(null,e)),r),o.end(e,i),u}close(){this.running=!1,this.__fresh=!0}*_parse(){let e=null,t=0,n=null;for(;;){if(this.max_depth>=0&&t>this.max_depth)throw new Error("Maximum depth "+this.max_depth+" exceeded");const i=(yield 1)[0];if(!this.running)throw new Error("Unexpected data: 0x"+i.toString(16));const c=i>>5,p=31&i,g=null!=e?e[b]:undefined,w=null!=e?e.length:undefined;switch(p){case d.ONE:this.emit("more-bytes",c,1,g,w),n=(yield 1)[0];break;case d.TWO:case d.FOUR:case d.EIGHT:const e=1<<p-24;this.emit("more-bytes",c,e,g,w);const t=yield e;n=c===f.SIMPLE_FLOAT?t:s.parseCBORint(p,t);break;case 28:case 29:case 30:throw this.running=!1,new Error("Additional info not implemented: "+p);case d.INDEFINITE:switch(c){case f.POS_INT:case f.NEG_INT:case f.TAG:throw new Error(`Invalid indefinite encoding for MT ${c}`)}n=-1;break;default:n=p}switch(c){case f.POS_INT:break;case f.NEG_INT:n=n===Number.MAX_SAFE_INTEGER?y.NEG_MAX:n instanceof u?y.MINUS_ONE.minus(n):-1-n;break;case f.BYTE_STRING:case f.UTF8_STRING:switch(n){case 0:this.emit("start-string",c,n,g,w),n=c===f.BYTE_STRING?r.allocUnsafe(0):"";break;case-1:this.emit("start",c,h.STREAM,g,w),e=_(e,c),t++;continue;default:this.emit("start-string",c,n,g,w),n=yield n,c===f.UTF8_STRING&&(n=s.utf8(n))}break;case f.ARRAY:case f.MAP:switch(n){case 0:n=c===f.MAP?{}:[];break;case-1:this.emit("start",c,h.STREAM,g,w),e=v(e,c,-1),t++;continue;default:this.emit("start",c,n,g,w),e=v(e,c,n*(c-3)),t++;continue}break;case f.TAG:this.emit("start",c,n,g,w),e=v(e,c,1),e.push(n),t++;continue;case f.SIMPLE_FLOAT:if("number"==typeof n){if(p===d.ONE&&n<32)throw new Error(`Invalid two-byte encoding of simple value ${n}`);const t=null!=e;n=a.decode(n,t,t&&e[m]<0)}else n=s.parseCBORfloat(n)}this.emit("value",n,g,w,p);let S=!1;for(;null!=e;){switch(!1){case n!==h.BREAK:e[m]=1;break;case!Array.isArray(e):e.push(n);break;case!(e instanceof l):const t=e[b];if(null!=t&&t!==c)throw this.running=!1,new Error("Invalid major type in indefinite encoding");e.write(n)}if(0!=--e[m]){S=!0;break}if(--t,delete e[m],Array.isArray(e))switch(e[b]){case f.ARRAY:n=e;break;case f.MAP:let t=!0;if(e.length%2!=0)throw new Error("Invalid map length: "+e.length);for(let r=0,n=e.length;r<n;r+=2)if("string"!=typeof e[r]){t=!1;break}if(t){n={};for(let t=0,r=e.length;t<r;t+=2)n[e[t]]=e[t+1]}else{n=new Map;for(let t=0,r=e.length;t<r;t+=2)n.set(e[t],e[t+1])}break;case f.TAG:n=new o(e[0],e[1]).convert(this.tags)}else if(e instanceof l)switch(e[b]){case f.BYTE_STRING:n=e.slice();break;case f.UTF8_STRING:n=e.toString("utf-8")}this.emit("stop",e[b]);const r=e;e=e[h.PARENT],delete r[h.PARENT],delete r[b]}if(!S)return n}}}T.NOT_FOUND=w,t.exports=T}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/decoder.js"}],[1962,{"../../is-buffer/index.js":2697,"./constants":1960,"./decoder":1961,"./simple":1965,"./utils":1967,"bignumber.js":1968,nofilter:2991,stream:1946,util:1949},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("stream"),i=e("util"),o=e("./decoder"),a=(e("./simple"),e("./utils")),s=e("./constants"),u=e("bignumber.js").BigNumber,l=e("nofilter"),c=s.MT,f=s.SYMS;class d extends n.Transform{constructor(e){const t=Object.assign({separator:"\n",stream_errors:!1},e,{readableObjectMode:!1,writableObjectMode:!1}),r=t.separator;delete t.separator;const n=t.stream_errors;delete t.stream_errors,super(t),this.float_bytes=-1,this.separator=r,this.stream_errors=n,this.parser=new o(t),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("data",this._on_data.bind(this)),this.parser.on("error",this._on_error.bind(this))}_transform(e,t,r){return this.parser.write(e,t,r)}_flush(e){return this.parser._flush((t=>this.stream_errors?(t&&this._on_error(t),e()):e(t)))}static diagnose(e,t,r){if(null==e)throw new Error("input required");let n={},i="hex";switch(typeof t){case"function":r=t,i=a.guessEncoding(e);break;case"object":n=a.extend({},t),i=null!=n.encoding?n.encoding:a.guessEncoding(e),delete n.encoding;break;default:i=null!=t?t:"hex"}const o=new l,s=new d(n);let u=null;return"function"==typeof r?(s.on("end",(()=>r(null,o.toString("utf8")))),s.on("error",r)):u=new Promise(((e,t)=>(s.on("end",(()=>e(o.toString("utf8")))),s.on("error",t)))),s.pipe(o),s.end(e,i),u}_on_error(e){return this.stream_errors?this.push(e.toString()):this.emit("error",e)}_on_more(e,t,r,n){if(e===c.SIMPLE_FLOAT)return this.float_bytes={2:1,4:2,8:3}[t]}_fore(e,t){switch(e){case c.BYTE_STRING:case c.UTF8_STRING:case c.ARRAY:if(t>0)return this.push(", ");break;case c.MAP:if(t>0)return t%2?this.push(": "):this.push(", ")}}_on_value(e,t,n){if(e!==f.BREAK)return this._fore(t,n),this.push((()=>{switch(!1){case e!==f.NULL:return"null";case e!==f.UNDEFINED:return"undefined";case"string"!=typeof e:return JSON.stringify(e);case!(this.float_bytes>0):const t=this.float_bytes;return this.float_bytes=-1,i.inspect(e)+"_"+t;case!r.isBuffer(e):return"h'"+e.toString("hex")+"'";case!(e instanceof u):return e.toString();default:return i.inspect(e)}})())}_on_start(e,t,r,n){switch(this._fore(r,n),e){case c.TAG:this.push(`${t}(`);break;case c.ARRAY:this.push("[");break;case c.MAP:this.push("{");break;case c.BYTE_STRING:case c.UTF8_STRING:this.push("(")}if(t===f.STREAM)return this.push("_ ")}_on_stop(e){switch(e){case c.TAG:return this.push(")");case c.ARRAY:return this.push("]");case c.MAP:return this.push("}");case c.BYTE_STRING:case c.UTF8_STRING:return this.push(")")}}_on_data(){return this.push(this.separator)}}t.exports=d}).call(this)}).call(this,{isBuffer:e("../../is-buffer/index.js")})}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/diagnose.js"}],[1963,{"./constants":1960,"./simple":1965,"./tagged":1966,"./utils":1967,"bignumber.js":1968,buffer:1943,nofilter:2991,stream:1946,url:3347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("stream"),i=e("url"),o=(e("bignumber.js").BigNumber,e("nofilter")),a=(e("./tagged"),e("./simple"),e("./utils")),s=e("./constants"),u=s.MT,l=s.NUMBYTES,c=s.SHIFT32,f=s.SYMS,d=s.TAG,h=s.MT.SIMPLE_FLOAT<<5|s.NUMBYTES.TWO,p=s.MT.SIMPLE_FLOAT<<5|s.NUMBYTES.FOUR,y=s.MT.SIMPLE_FLOAT<<5|s.NUMBYTES.EIGHT,m=s.MT.SIMPLE_FLOAT<<5|s.SIMPLE.TRUE,b=s.MT.SIMPLE_FLOAT<<5|s.SIMPLE.FALSE,g=s.MT.SIMPLE_FLOAT<<5|s.SIMPLE.UNDEFINED,w=s.MT.SIMPLE_FLOAT<<5|s.SIMPLE.NULL,v=r.from([255]),_=a.bigIntize(s.BI),S=s.BN,A=r.from("f97e00","hex"),T=r.from("f9fc00","hex"),k=r.from("f97c00","hex"),E=r.from("f98000","hex"),I=Symbol("CBOR_LOOP_DETECT");class O extends n.Transform{constructor(e){const t=Object.assign({},e,{readableObjectMode:!1,writableObjectMode:!0});super(t),this.canonical=t.canonical,this.encodeUndefined=t.encodeUndefined,this.disallowUndefinedKeys=!!t.disallowUndefinedKeys,this.dateType=null!=t.dateType?t.dateType.toLowerCase():"number",this.collapseBigIntegers=!!t.collapseBigIntegers,"symbol"==typeof t.detectLoops?this.detectLoops=t.detectLoops:this.detectLoops=t.detectLoops?Symbol("CBOR_DETECT"):null,this.semanticTypes={Array:this._pushArray,Date:this._pushDate,Buffer:this._pushBuffer,Map:this._pushMap,NoFilter:this._pushNoFilter,RegExp:this._pushRegexp,Set:this._pushSet,BigNumber:this._pushBigNumber,ArrayBuffer:this._pushUint8Array,Uint8ClampedArray:this._pushUint8Array,Uint8Array:this._pushUint8Array,Uint16Array:this._pushArray,Uint32Array:this._pushArray,Int8Array:this._pushArray,Int16Array:this._pushArray,Int32Array:this._pushArray,Float32Array:this._pushFloat32Array,Float64Array:this._pushFloat64Array},i.Url&&this.addSemanticType("Url",this._pushUrl),i.URL&&this.addSemanticType("URL",this._pushURL);const r=t.genTypes||[];for(let e=0,t=r.length;e<t;e+=2)this.addSemanticType(r[e],r[e+1])}_transform(e,t,r){return r(!1===this.pushAny(e)?new Error("Push Error"):undefined)}_flush(e){return e()}addSemanticType(e,t){if("function"!=typeof t)throw new TypeError("fun must be of type function");const r="string"==typeof e?e:e.name,n=this.semanticTypes[r];return this.semanticTypes[r]=t,n}_pushUInt8(e){const t=r.allocUnsafe(1);return t.writeUInt8(e,0),this.push(t)}_pushUInt16BE(e){const t=r.allocUnsafe(2);return t.writeUInt16BE(e,0),this.push(t)}_pushUInt32BE(e){const t=r.allocUnsafe(4);return t.writeUInt32BE(e,0),this.push(t)}_pushFloatBE(e){const t=r.allocUnsafe(4);return t.writeFloatBE(e,0),this.push(t)}_pushDoubleBE(e){const t=r.allocUnsafe(8);return t.writeDoubleBE(e,0),this.push(t)}_pushNaN(){return this.push(A)}_pushInfinity(e){const t=e<0?T:k;return this.push(t)}_pushFloat(e){if(this.canonical){const t=r.allocUnsafe(2);if(a.writeHalf(t,e))return this._pushUInt8(h)&&this.push(t)}return Math.fround(e)===e?this._pushUInt8(p)&&this._pushFloatBE(e):this._pushUInt8(y)&&this._pushDoubleBE(e)}_pushInt(e,t,r){const n=t<<5;switch(!1){case!(e<24):return this._pushUInt8(n|e);case!(e<=255):return this._pushUInt8(n|l.ONE)&&this._pushUInt8(e);case!(e<=65535):return this._pushUInt8(n|l.TWO)&&this._pushUInt16BE(e);case!(e<=4294967295):return this._pushUInt8(n|l.FOUR)&&this._pushUInt32BE(e);case!(e<=Number.MAX_SAFE_INTEGER):return this._pushUInt8(n|l.EIGHT)&&this._pushUInt32BE(Math.floor(e/c))&&this._pushUInt32BE(e%c);default:return t===u.NEG_INT?this._pushFloat(r):this._pushFloat(e)}}_pushIntNum(e){return Object.is(e,-0)?this.push(E):e<0?this._pushInt(-e-1,u.NEG_INT,e):this._pushInt(e,u.POS_INT)}_pushNumber(e){switch(!1){case!isNaN(e):return this._pushNaN();case isFinite(e):return this._pushInfinity(e);case Math.round(e)!==e:return this._pushIntNum(e);default:return this._pushFloat(e)}}_pushString(e){const t=r.byteLength(e,"utf8");return this._pushInt(t,u.UTF8_STRING)&&this.push(e,"utf8")}_pushBoolean(e){return this._pushUInt8(e?m:b)}_pushUndefined(e){switch(typeof this.encodeUndefined){case"undefined":return this._pushUInt8(g);case"function":return this.pushAny(this.encodeUndefined.call(this,e));case"object":if(r.isBuffer(this.encodeUndefined))return this.push(this.encodeUndefined)}return this.pushAny(this.encodeUndefined)}_pushNull(e){return this._pushUInt8(w)}_pushArray(e,t,r){r=Object.assign({indefinite:!1},r);const n=t.length;if(r.indefinite){if(!e._pushUInt8(u.ARRAY<<5|l.INDEFINITE))return!1}else if(!e._pushInt(n,u.ARRAY))return!1;for(let r=0;r<n;r++)if(!e.pushAny(t[r]))return!1;return!(r.indefinite&&!e.push(v))}_pushTag(e){return this._pushInt(e,u.TAG)}_pushDate(e,t){switch(e.dateType){case"string":return e._pushTag(d.DATE_STRING)&&e._pushString(t.toISOString());case"int":case"integer":return e._pushTag(d.DATE_EPOCH)&&e._pushIntNum(Math.round(t/1e3));case"float":return e._pushTag(d.DATE_EPOCH)&&e._pushFloat(t/1e3);default:return e._pushTag(d.DATE_EPOCH)&&e.pushAny(t/1e3)}}_pushBuffer(e,t){return e._pushInt(t.length,u.BYTE_STRING)&&e.push(t)}_pushNoFilter(e,t){return e._pushBuffer(e,t.slice())}_pushRegexp(e,t){return e._pushTag(d.REGEXP)&&e.pushAny(t.source)}_pushSet(e,t){if(!e._pushInt(t.size,u.ARRAY))return!1;for(const r of t)if(!e.pushAny(r))return!1;return!0}_pushUrl(e,t){return e._pushTag(d.URI)&&e.pushAny(t.format())}_pushURL(e,t){return e._pushTag(d.URI)&&e.pushAny(t.toString())}_pushBigint(e){let t=u.POS_INT,n=d.POS_BIGINT;if(e.isNegative()&&(e=e.negated().minus(1),t=u.NEG_INT,n=d.NEG_BIGINT),this.collapseBigIntegers&&e.lte(S.MAXINT64))return e.lte(S.MAXINT32)?this._pushInt(e.toNumber(),t):this._pushUInt8(t<<5|l.EIGHT)&&this._pushUInt32BE(e.dividedToIntegerBy(S.SHIFT32).toNumber())&&this._pushUInt32BE(e.mod(S.SHIFT32).toNumber());let i=e.toString(16);i.length%2&&(i="0"+i);const o=r.from(i,"hex");return this._pushTag(n)&&this._pushBuffer(this,o)}_pushJSBigint(e){let t=u.POS_INT,n=d.POS_BIGINT;if(e<0&&(e=-e+_.MINUS_ONE,t=u.NEG_INT,n=d.NEG_BIGINT),this.collapseBigIntegers&&e<=_.MAXINT64)return e<=4294967295?this._pushInt(Number(e),t):this._pushUInt8(t<<5|l.EIGHT)&&this._pushUInt32BE(Number(e/_.SHIFT32))&&this._pushUInt32BE(Number(e%_.SHIFT32));let i=e.toString(16);i.length%2&&(i="0"+i);const o=r.from(i,"hex");return this._pushTag(n)&&this._pushBuffer(this,o)}_pushBigNumber(e,t){if(t.isNaN())return e._pushNaN();if(!t.isFinite())return e._pushInfinity(t.isNegative()?-Infinity:Infinity);if(t.isInteger())return e._pushBigint(t);if(!e._pushTag(d.DECIMAL_FRAC)||!e._pushInt(2,u.ARRAY))return!1;const r=t.decimalPlaces(),n=t.shiftedBy(r);return!!e._pushIntNum(-r)&&(n.abs().isLessThan(S.MAXINT)?e._pushIntNum(n.toNumber()):e._pushBigint(n))}_pushMap(e,t,r){if((r=Object.assign({indefinite:!1},r)).indefinite){if(!e._pushUInt8(u.MAP<<5|l.INDEFINITE))return!1}else if(!e._pushInt(t.size,u.MAP))return!1;if(e.canonical){const r=[...t.entries()],n=new O(this),i=new o({highWaterMark:this.readableHighWaterMark});n.pipe(i),r.sort((([e],[t])=>{n.pushAny(e);const r=i.read();n.pushAny(t);const o=i.read();return r.compare(o)}));for(const[t,n]of r){if(e.disallowUndefinedKeys&&void 0===t)throw new Error("Invalid Map key: undefined");if(!e.pushAny(t)||!e.pushAny(n))return!1}}else for(const[r,n]of t){if(e.disallowUndefinedKeys&&void 0===r)throw new Error("Invalid Map key: undefined");if(!e.pushAny(r)||!e.pushAny(n))return!1}return!(r.indefinite&&!e.push(v))}_pushUint8Array(e,t){return e._pushBuffer(e,r.from(t))}_pushFloat32Array(e,t){const r=t.length;if(!e._pushInt(r,u.ARRAY))return!1;for(let n=0;n<r;n++)if(!e._pushUInt8(p)||!e._pushFloatBE(t[n]))return!1;return!0}_pushFloat64Array(e,t){const r=t.length;if(!e._pushInt(r,u.ARRAY))return!1;for(let n=0;n<r;n++)if(!e._pushUInt8(y)||!e._pushDoubleBE(t[n]))return!1;return!0}removeLoopDetectors(e){return!!this.detectLoops&&O.removeLoopDetectors(e,this.detectLoops)}static removeLoopDetectors(e,t=null){if("object"!=typeof e||!e)return!1;const r=e[I];if(!r)return!1;if(null==t)t=r;else if(t!==r)return!1;if(delete e[I],Array.isArray(e))for(const r of e)this.removeLoopDetectors(r,t);else for(const r in e)this.removeLoopDetectors(e[r],t);return!0}_pushObject(e,t){if(!e)return this._pushNull(e);if(!(t=Object.assign({indefinite:!1,skipTypes:!1},t)).indefinite&&this.detectLoops){if(e[I]===this.detectLoops)throw new Error("Loop detected while CBOR encoding");e[I]=this.detectLoops}if(!t.skipTypes){const t=e.encodeCBOR;if("function"==typeof t)return t.call(e,this);const r=this.semanticTypes[e.constructor.name];if(r)return r.call(e,this,e)}const r=Object.keys(e).filter((t=>"function"!=typeof e[t])),n={};if(this.canonical&&r.sort(((e,t)=>{const r=n[e]||(n[e]=O.encode(e)),i=n[t]||(n[t]=O.encode(t));return r.compare(i)})),t.indefinite){if(!this._pushUInt8(u.MAP<<5|l.INDEFINITE))return!1}else if(!this._pushInt(r.length,u.MAP))return!1;let i;for(let t=0,o=r.length;t<o;t++){const o=r[t];if(this.canonical&&(i=n[o])){if(!this.push(i))return!1}else if(!this._pushString(o))return!1;if(!this.pushAny(e[o]))return!1}return!(t.indefinite&&!this.push(v))}pushAny(e){switch(typeof e){case"number":return this._pushNumber(e);case"bigint":return this._pushJSBigint(e);case"string":return this._pushString(e);case"boolean":return this._pushBoolean(e);case"undefined":return this._pushUndefined(e);case"object":return this._pushObject(e);case"symbol":switch(e){case f.NULL:return this._pushNull(null);case f.UNDEFINED:return this._pushUndefined(void 0);default:throw new Error("Unknown symbol: "+e.toString())}default:throw new Error("Unknown type: "+typeof e+", "+(e.toString?e.toString():""))}}_pushAny(e){return this.pushAny(e)}_encodeAll(e){const t=new o({highWaterMark:this.readableHighWaterMark});this.pipe(t);for(const t of e)this.pushAny(t);return this.end(),t.read()}static encodeIndefinite(e,t,n){if(null==t){if(null==this)throw new Error("No object to encode");t=this}n=Object.assign({chunkSize:4096},n);let i=!0;const o=typeof t;if("string"===o){i=i&&e._pushUInt8(u.UTF8_STRING<<5|l.INDEFINITE);let r=0;for(;r<t.length;){const o=r+n.chunkSize;i=i&&e._pushString(t.slice(r,o)),r=o}i=i&&e.push(v)}else if(r.isBuffer(t)){i=i&&e._pushUInt8(u.BYTE_STRING<<5|l.INDEFINITE);let r=0;for(;r<t.length;){const o=r+n.chunkSize;i=i&&e._pushBuffer(e,t.slice(r,o)),r=o}i=i&&e.push(v)}else if(Array.isArray(t))i=i&&e._pushArray(e,t,{indefinite:!0});else if(t instanceof Map)i=i&&e._pushMap(e,t,{indefinite:!0});else{if("object"!==o)throw new Error("Invalid indefinite encoding");i=i&&e._pushObject(t,{indefinite:!0,skipTypes:!0})}return i}static encode(...e){return(new O)._encodeAll(e)}static encodeCanonical(...e){return new O({canonical:!0})._encodeAll(e)}static encodeOne(e,t){return new O(t)._encodeAll([e])}static encodeAsync(e,t){return new Promise(((n,i)=>{const o=[],a=new O(t);a.on("data",(e=>o.push(e))),a.on("error",i),a.on("finish",(()=>n(r.concat(o)))),a.pushAny(e),a.end()}))}}t.exports=O}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/encoder.js"}],[1964,{"./constants":1960,"./decoder":1961,"./encoder":1963,buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("./encoder"),i=e("./decoder"),o=e("./constants").MT;class a extends Map{constructor(e){super(e)}static _encode(e){return n.encodeCanonical(e).toString("base64")}static _decode(e){return i.decodeFirstSync(e,"base64")}get(e){return super.get(a._encode(e))}set(e,t){return super.set(a._encode(e),t)}delete(e){return super.delete(a._encode(e))}has(e){return super.has(a._encode(e))}*keys(){for(const e of super.keys())yield a._decode(e)}*entries(){for(const e of super.entries())yield[a._decode(e[0]),e[1]]}[Symbol.iterator](){return this.entries()}forEach(e,t){if("function"!=typeof e)throw new TypeError("Must be function");for(const t of super.entries())e.call(this,t[1],a._decode(t[0]),this)}encodeCBOR(e){if(!e._pushInt(this.size,o.MAP))return!1;if(e.canonical){const t=Array.from(super.entries()).map((e=>[r.from(e[0],"base64"),e[1]]));t.sort(((e,t)=>e[0].compare(t[0])));for(const r of t)if(!e.push(r[0])||!e.pushAny(r[1]))return!1}else for(const t of super.entries())if(!e.push(r.from(t[0],"base64"))||!e.pushAny(t[1]))return!1;return!0}}t.exports=a}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/map.js"}],[1965,{"./constants":1960,util:1949},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("util"),i=e("./constants"),o=i.MT,a=i.SIMPLE,s=i.SYMS;class u{constructor(e){if("number"!=typeof e)throw new Error("Invalid Simple type: "+typeof e);if(e<0||e>255||(0|e)!==e)throw new Error("value must be a small positive integer: "+e);this.value=e}toString(){return"simple("+this.value+")"}[n.inspect.custom](e,t){return"simple("+this.value+")"}inspect(e,t){return"simple("+this.value+")"}encodeCBOR(e){return e._pushInt(this.value,o.SIMPLE_FLOAT)}static isSimple(e){return e instanceof u}static decode(e,t=!0,r=!1){switch(e){case a.FALSE:return!1;case a.TRUE:return!0;case a.NULL:return t?null:s.NULL;case a.UNDEFINED:return t?void 0:s.UNDEFINED;case-1:if(!t||!r)throw new Error("Invalid BREAK");return s.BREAK;default:return new u(e)}}}t.exports=u}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/simple.js"}],[1966,{"./utils":1967,"bignumber.js":1968,url:3347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("bignumber.js").BigNumber,i=e("./utils"),o=e("url"),a=new n(-1),s=new n(2);class u{constructor(e,t,r){if(this.tag=e,this.value=t,this.err=r,"number"!=typeof this.tag)throw new Error("Invalid tag type ("+typeof this.tag+")");if(this.tag<0||(0|this.tag)!==this.tag)throw new Error("Tag must be a positive integer: "+this.tag)}toString(){return`${this.tag}(${JSON.stringify(this.value)})`}encodeCBOR(e){return e._pushTag(this.tag),e.pushAny(this.value)}convert(e){let t=null!=e?e[this.tag]:void 0;if("function"!=typeof t&&(t=u["_tag_"+this.tag],"function"!=typeof t))return this;try{return t.call(u,this.value)}catch(e){return this.err=e,this}}static _tag_0(e){return new Date(e)}static _tag_1(e){return new Date(1e3*e)}static _tag_2(e){return i.bufferToBignumber(e)}static _tag_3(e){return a.minus(i.bufferToBignumber(e))}static _tag_4(e){return n(e[1]).shiftedBy(e[0])}static _tag_5(e){return s.pow(e[0]).times(e[1])}static _tag_32(e){return o.parse(e)}static _tag_35(e){return new RegExp(e)}}t.exports=u}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/tagged.js"}],[1967,{"./constants":1960,"bignumber.js":1968,buffer:1943,util:1949},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){const n=e("util"),i=e("bignumber.js").BigNumber,o=e("./constants"),a=o.NUMBYTES,s=o.SHIFT32;r.hasBigInt="function"==typeof BigInt;const u="function"==typeof TextDecoder?TextDecoder:n.TextDecoder;if(u){const e=new u("utf8",{fatal:!0,ignoreBOM:!0});r.utf8=t=>e.decode(t),r.utf8.checksUTF8=!0}else r.utf8=e=>e.toString("utf8"),r.utf8.checksUTF8=!1;r.parseCBORint=function(e,t){switch(e){case a.ONE:return t.readUInt8(0);case a.TWO:return t.readUInt16BE(0);case a.FOUR:return t.readUInt32BE(0);case a.EIGHT:const r=t.readUInt32BE(0),n=t.readUInt32BE(4);return r>2097151?new i(r).times(s).plus(n):r*s+n;default:throw new Error("Invalid additional info for int: "+e)}},r.writeHalf=function(e,r){const n=t.allocUnsafe(4);n.writeFloatBE(r,0);const i=n.readUInt32BE(0);if(0!=(8191&i))return!1;let o=i>>16&32768;const a=i>>23&255,s=8388607&i;if(a>=113&&a<=142)o+=(a-112<<10)+(s>>13);else{if(!(a>=103&&a<113))return!1;if(s&(1<<126-a)-1)return!1;o+=s+8388608>>126-a}return e.writeUInt16BE(o),!0},r.parseHalf=function(e){const t=128&e[0]?-1:1,r=(124&e[0])>>2,n=(3&e[0])<<8|e[1];return r?31===r?t*(n?0/0:Infinity):t*Math.pow(2,r-25)*(1024+n):5.960464477539063e-8*t*n},r.parseCBORfloat=function(e){switch(e.length){case 2:return r.parseHalf(e);case 4:return e.readFloatBE(0);case 8:return e.readDoubleBE(0);default:throw new Error("Invalid float size: "+e.length)}},r.hex=function(e){return t.from(e.replace(/^0x/,""),"hex")},r.bin=function(e){let r=0,n=(e=e.replace(/\s/g,"")).length%8||8;const i=[];for(;n<=e.length;)i.push(parseInt(e.slice(r,n),2)),r=n,n+=8;return t.from(i)},r.extend=function(e={},...t){const r=t.length;for(let n=0;n<r;n++){const r=t[n];for(const t in r){const n=r[t];e[t]=n}}return e},r.arrayEqual=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.length===t.length&&e.every(((e,r)=>e===t[r])))},r.bufferEqual=function(e,r){if(null==e&&null==r)return!0;if(null==e||null==r)return!1;if(!t.isBuffer(e)||!t.isBuffer(r)||e.length!==r.length)return!1;const n=e.length;let i,o,a=!0;for(i=o=0;o<n;i=++o){const t=e[i];a=a&&r[i]===t}return!!a},r.bufferToBignumber=function(e){return new i(e.toString("hex"),16)},r.toBigInt=function(e){return r.hasBigInt?BigInt(e):Number(e)},r.bigIntize=function(e){const t={};for(const n in e)t[n]=r.toBigInt(e[n]);return t},r.bufferToBigInt=function(e){return r.toBigInt("0x"+e.toString("hex"))},r.guessEncoding=function(e){if("string"==typeof e)return"hex";if(t.isBuffer(e))return undefined;throw new Error("Unknown input type")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/lib/utils.js"}],[1968,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,o=Math.floor,a="[BigNumber Error] ",s=a+"Number primitive has more than 15 significant digits: ",u=1e14,l=14,c=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,h=1e9;function p(e){var t=0|e;return e>0||e===t?t:t-1}function y(e){for(var t,r,n=1,i=e.length,o=e[0]+"";n<i;){for(t=e[n++]+"",r=l-t.length;r--;t="0"+t);o+=t}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function m(e,t){var r,n,i=e.c,o=t.c,a=e.s,s=t.s,u=e.e,l=t.e;if(!a||!s)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==l,!i||!o)return n?0:!i^r?1:-1;if(!n)return u>l^r?1:-1;for(s=(u=i.length)<(l=o.length)?u:l,a=0;a<s;a++)if(i[a]!=o[a])return i[a]>o[a]^r?1:-1;return u==l?0:u>l^r?1:-1}function b(e,t,r,n){if(e<t||e>r||e!==o(e))throw Error(a+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function g(e){var t=e.c.length-1;return p(e.e/l)==t&&e.c[t]%2!=0}function w(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function v(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(++t>(n=e.length)){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}r=function e(t){var r,_,S,A,T,k,E,I,O,M,x=H.prototype={constructor:H,toString:null,valueOf:null},j=new H(1),P=20,C=4,N=-7,B=21,D=-1e7,R=1e7,L=!1,U=1,F=0,V={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},z="0123456789abcdefghijklmnopqrstuvwxyz",G=!0;function H(e,t){var r,i,a,u,f,d,h,p,y=this;if(!(y instanceof H))return new H(e,t);if(null==t){if(e&&!0===e._isBigNumber)return y.s=e.s,void(!e.c||e.e>R?y.c=y.e=null:e.e<D?y.c=[y.e=0]:(y.e=e.e,y.c=e.c.slice()));if((d="number"==typeof e)&&0*e==0){if(y.s=1/e<0?(e=-e,-1):1,e===~~e){for(u=0,f=e;f>=10;f/=10,u++);return void(u>R?y.c=y.e=null:(y.e=u,y.c=[e]))}p=String(e)}else{if(!n.test(p=String(e)))return S(y,p,d);y.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(f=p.search(/e/i))>0?(u<0&&(u=f),u+=+p.slice(f+1),p=p.substring(0,f)):u<0&&(u=p.length)}else{if(b(t,2,z.length,"Base"),10==t&&G)return $(y=new H(e),P+y.e+1,C);if(p=String(e),d="number"==typeof e){if(0*e!=0)return S(y,p,d,t);if(y.s=1/e<0?(p=p.slice(1),-1):1,H.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(s+e)}else y.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(r=z.slice(0,t),u=f=0,h=p.length;f<h;f++)if(r.indexOf(i=p.charAt(f))<0){if("."==i){if(f>u){u=h;continue}}else if(!a&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){a=!0,f=-1,u=0;continue}return S(y,String(e),d,t)}d=!1,(u=(p=_(p,t,10,y.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(f=0;48===p.charCodeAt(f);f++);for(h=p.length;48===p.charCodeAt(--h););if(p=p.slice(f,++h)){if(h-=f,d&&H.DEBUG&&h>15&&(e>c||e!==o(e)))throw Error(s+y.s*e);if((u=u-f-1)>R)y.c=y.e=null;else if(u<D)y.c=[y.e=0];else{if(y.e=u,y.c=[],f=(u+1)%l,u<0&&(f+=l),f<h){for(f&&y.c.push(+p.slice(0,f)),h-=l;f<h;)y.c.push(+p.slice(f,f+=l));f=l-(p=p.slice(f)).length}else f-=h;for(;f--;p+="0");y.c.push(+p)}}else y.c=[y.e=0]}function q(e,t,r,n){var i,o,a,s,u;if(null==r?r=C:b(r,0,8),!e.c)return e.toString();if(i=e.c[0],a=e.e,null==t)u=y(e.c),u=1==n||2==n&&(a<=N||a>=B)?w(u,a):v(u,a,"0");else if(o=(e=$(new H(e),t,r)).e,s=(u=y(e.c)).length,1==n||2==n&&(t<=o||o<=N)){for(;s<t;u+="0",s++);u=w(u,o)}else if(t-=a,u=v(u,o,"0"),o+1>s){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=o-s)>0)for(o+1==s&&(u+=".");t--;u+="0");return e.s<0&&i?"-"+u:u}function W(e,t){for(var r,n=1,i=new H(e[0]);n<e.length;n++){if(!(r=new H(e[n])).s){i=r;break}t.call(i,r)&&(i=r)}return i}function K(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+r*l-1)>R?e.c=e.e=null:r<D?e.c=[e.e=0]:(e.e=r,e.c=t),e}function $(e,t,r,n){var a,s,c,d,h,p,y,m=e.c,b=f;if(m){e:{for(a=1,d=m[0];d>=10;d/=10,a++);if((s=t-a)<0)s+=l,c=t,y=(h=m[p=0])/b[a-c-1]%10|0;else if((p=i((s+1)/l))>=m.length){if(!n)break e;for(;m.length<=p;m.push(0));h=y=0,a=1,c=(s%=l)-l+1}else{for(h=d=m[p],a=1;d>=10;d/=10,a++);y=(c=(s%=l)-l+a)<0?0:h/b[a-c-1]%10|0}if(n=n||t<0||null!=m[p+1]||(c<0?h:h%b[a-c-1]),n=r<4?(y||n)&&(0==r||r==(e.s<0?3:2)):y>5||5==y&&(4==r||n||6==r&&(s>0?c>0?h/b[a-c]:0:m[p-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,n?(t-=e.e+1,m[0]=b[(l-t%l)%l],e.e=-t||0):m[0]=e.e=0,e;if(0==s?(m.length=p,d=1,p--):(m.length=p+1,d=b[l-s],m[p]=c>0?o(h/b[a-c]%b[c])*d:0),n)for(;;){if(0==p){for(s=1,c=m[0];c>=10;c/=10,s++);for(c=m[0]+=d,d=1;c>=10;c/=10,d++);s!=d&&(e.e++,m[0]==u&&(m[0]=1));break}if(m[p]+=d,m[p]!=u)break;m[p--]=0,d=1}for(s=m.length;0===m[--s];m.pop());}e.e>R?e.c=e.e=null:e.e<D&&(e.c=[e.e=0])}return e}function Z(e){var t,r=e.e;return null===r?e.toString():(t=y(e.c),t=r<=N||r>=B?w(t,r):v(t,r,"0"),e.s<0?"-"+t:t)}return H.clone=e,H.ROUND_UP=0,H.ROUND_DOWN=1,H.ROUND_CEIL=2,H.ROUND_FLOOR=3,H.ROUND_HALF_UP=4,H.ROUND_HALF_DOWN=5,H.ROUND_HALF_EVEN=6,H.ROUND_HALF_CEIL=7,H.ROUND_HALF_FLOOR=8,H.EUCLID=9,H.config=H.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(a+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(b(r=e[t],0,h,t),P=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(b(r=e[t],0,8,t),C=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(b(r[0],-h,0,t),b(r[1],0,h,t),N=r[0],B=r[1]):(b(r,-h,h,t),N=-(B=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)b(r[0],-h,-1,t),b(r[1],1,h,t),D=r[0],R=r[1];else{if(b(r,-h,h,t),!r)throw Error(a+t+" cannot be zero: "+r);D=-(R=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(a+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw L=!r,Error(a+"crypto unavailable");L=r}else L=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(b(r=e[t],0,9,t),U=r),e.hasOwnProperty(t="POW_PRECISION")&&(b(r=e[t],0,h,t),F=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(a+t+" not an object: "+r);V=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(a+t+" invalid: "+r);G="0123456789"==r.slice(0,10),z=r}}return{DECIMAL_PLACES:P,ROUNDING_MODE:C,EXPONENTIAL_AT:[N,B],RANGE:[D,R],CRYPTO:L,MODULO_MODE:U,POW_PRECISION:F,FORMAT:V,ALPHABET:z}},H.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!H.DEBUG)return!0;var t,r,n=e.c,i=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===s||-1===s)&&i>=-h&&i<=h&&i===o(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break e}if((t=(i+1)%l)<1&&(t+=l),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=u||r!==o(r))break e;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},H.maximum=H.max=function(){return W(arguments,x.lt)},H.minimum=H.min=function(){return W(arguments,x.gt)},H.random=(A=9007199254740992,T=Math.random()*A&2097151?function(){return o(Math.random()*A)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,s,u,c=0,d=[],p=new H(j);if(null==e?e=P:b(e,0,h),s=i(e/l),L)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));c<s;)(u=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(d.push(u%1e14),c+=2);c=s/2}else{if(!crypto.randomBytes)throw L=!1,Error(a+"crypto unavailable");for(t=crypto.randomBytes(s*=7);c<s;)(u=281474976710656*(31&t[c])+1099511627776*t[c+1]+4294967296*t[c+2]+16777216*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(d.push(u%1e14),c+=7);c=s/7}if(!L)for(;c<s;)(u=T())<9e15&&(d[c++]=u%1e14);for(s=d[--c],e%=l,s&&e&&(u=f[l-e],d[c]=o(s/u)*u);0===d[c];d.pop(),c--);if(c<0)d=[n=0];else{for(n=-1;0===d[0];d.splice(0,1),n-=l);for(c=1,u=d[0];u>=10;u/=10,c++);c<l&&(n-=l-c)}return p.e=n,p.c=d,p}),H.sum=function(){for(var e=1,t=arguments,r=new H(t[0]);e<t.length;)r=r.plus(t[e++]);return r},_=function(){var e="0123456789";function t(e,t,r,n){for(var i,o,a=[0],s=0,u=e.length;s<u;){for(o=a.length;o--;a[o]*=t);for(a[0]+=n.indexOf(e.charAt(s++)),i=0;i<a.length;i++)a[i]>r-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/r|0,a[i]%=r)}return a.reverse()}return function(n,i,o,a,s){var u,l,c,f,d,h,p,m,b=n.indexOf("."),g=P,w=C;for(b>=0&&(f=F,F=0,n=n.replace(".",""),h=(m=new H(i)).pow(n.length-b),F=f,m.c=t(v(y(h.c),h.e,"0"),10,o,e),m.e=m.c.length),c=f=(p=t(n,i,o,s?(u=z,e):(u=e,z))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(b<0?--c:(h.c=p,h.e=c,h.s=a,p=(h=r(h,m,g,w,o)).c,d=h.r,c=h.e),b=p[l=c+g+1],f=o/2,d=d||l<0||null!=p[l+1],d=w<4?(null!=b||d)&&(0==w||w==(h.s<0?3:2)):b>f||b==f&&(4==w||d||6==w&&1&p[l-1]||w==(h.s<0?8:7)),l<1||!p[0])n=d?v(u.charAt(1),-g,u.charAt(0)):u.charAt(0);else{if(p.length=l,d)for(--o;++p[--l]>o;)p[l]=0,l||(++c,p=[1].concat(p));for(f=p.length;!p[--f];);for(b=0,n="";b<=f;n+=u.charAt(p[b++]));n=v(n,c,u.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,i,o,a,s=0,u=e.length,l=t%d,c=t/d|0;for(e=e.slice();u--;)s=((i=l*(o=e[u]%d)+(n=c*o+(a=e[u]/d|0)*l)%d*d+s)/r|0)+(n/d|0)+c*a,e[u]=i%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]<t[r]?1:0,e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,i,a,s,c){var f,d,h,y,m,b,g,w,v,_,S,A,T,k,E,I,O,M=n.s==i.s?1:-1,x=n.c,j=i.c;if(!(x&&x[0]&&j&&j[0]))return new H(n.s&&i.s&&(x?!j||x[0]!=j[0]:j)?x&&0==x[0]||!j?0*M:M/0:NaN);for(v=(w=new H(M)).c=[],M=a+(d=n.e-i.e)+1,c||(c=u,d=p(n.e/l)-p(i.e/l),M=M/l|0),h=0;j[h]==(x[h]||0);h++);if(j[h]>(x[h]||0)&&d--,M<0)v.push(1),y=!0;else{for(k=x.length,I=j.length,h=0,M+=2,(m=o(c/(j[0]+1)))>1&&(j=e(j,m,c),x=e(x,m,c),I=j.length,k=x.length),T=I,S=(_=x.slice(0,I)).length;S<I;_[S++]=0);O=j.slice(),O=[0].concat(O),E=j[0],j[1]>=c/2&&E++;do{if(m=0,(f=t(j,_,I,S))<0){if(A=_[0],I!=S&&(A=A*c+(_[1]||0)),(m=o(A/E))>1)for(m>=c&&(m=c-1),g=(b=e(j,m,c)).length,S=_.length;1==t(b,_,g,S);)m--,r(b,I<g?O:j,g,c),g=b.length,f=1;else 0==m&&(f=m=1),g=(b=j.slice()).length;if(g<S&&(b=[0].concat(b)),r(_,b,S,c),S=_.length,-1==f)for(;t(j,_,I,S)<1;)m++,r(_,I<S?O:j,S,c),S=_.length}else 0===f&&(m++,_=[0]);v[h++]=m,_[0]?_[S++]=x[T]||0:(_=[x[T]],S=1)}while((T++<k||null!=_[0])&&M--);y=null!=_[0],v[0]||v.splice(0,1)}if(c==u){for(h=1,M=v[0];M>=10;M/=10,h++);$(w,a+(w.e=h+d*l-1)+1,s,y)}else w.e=d,w.r=+y;return w}}(),k=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,I=/^\.([^.]+)$/,O=/^-?(Infinity|NaN)$/,M=/^\s*\+(?=[\w.])|^\s+|\s+$/g,S=function(e,t,r,n){var i,o=r?t:t.replace(M,"");if(O.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!r&&(o=o.replace(k,(function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t})),n&&(i=n,o=o.replace(E,"$1").replace(I,"0.$1")),t!=o))return new H(o,i);if(H.DEBUG)throw Error(a+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},x.absoluteValue=x.abs=function(){var e=new H(this);return e.s<0&&(e.s=1),e},x.comparedTo=function(e,t){return m(this,new H(e,t))},x.decimalPlaces=x.dp=function(e,t){var r,n,i,o=this;if(null!=e)return b(e,0,h),null==t?t=C:b(t,0,8),$(new H(o),e+o.e+1,t);if(!(r=o.c))return null;if(n=((i=r.length-1)-p(this.e/l))*l,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},x.dividedBy=x.div=function(e,t){return r(this,new H(e,t),P,C)},x.dividedToIntegerBy=x.idiv=function(e,t){return r(this,new H(e,t),0,1)},x.exponentiatedBy=x.pow=function(e,t){var r,n,s,u,c,f,d,h,p=this;if((e=new H(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+Z(e));if(null!=t&&(t=new H(t)),c=e.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!e.c||!e.c[0])return h=new H(Math.pow(+Z(p),c?2-g(e):+Z(e))),t?h.mod(t):h;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new H(NaN);(n=!f&&p.isInteger()&&t.isInteger())&&(p=p.mod(t))}else{if(e.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||c&&p.c[1]>=24e7:p.c[0]<8e13||c&&p.c[0]<=9999975e7)))return u=p.s<0&&g(e)?-0:0,p.e>-1&&(u=1/u),new H(f?1/u:u);F&&(u=i(F/l+2))}for(c?(r=new H(.5),f&&(e.s=1),d=g(e)):d=(s=Math.abs(+Z(e)))%2,h=new H(j);;){if(d){if(!(h=h.times(p)).c)break;u?h.c.length>u&&(h.c.length=u):n&&(h=h.mod(t))}if(s){if(0===(s=o(s/2)))break;d=s%2}else if($(e=e.times(r),e.e+1,1),e.e>14)d=g(e);else{if(0===(s=+Z(e)))break;d=s%2}p=p.times(p),u?p.c&&p.c.length>u&&(p.c.length=u):n&&(p=p.mod(t))}return n?h:(f&&(h=j.div(h)),t?h.mod(t):u?$(h,F,C,undefined):h)},x.integerValue=function(e){var t=new H(this);return null==e?e=C:b(e,0,8),$(t,t.e+1,e)},x.isEqualTo=x.eq=function(e,t){return 0===m(this,new H(e,t))},x.isFinite=function(){return!!this.c},x.isGreaterThan=x.gt=function(e,t){return m(this,new H(e,t))>0},x.isGreaterThanOrEqualTo=x.gte=function(e,t){return 1===(t=m(this,new H(e,t)))||0===t},x.isInteger=function(){return!!this.c&&p(this.e/l)>this.c.length-2},x.isLessThan=x.lt=function(e,t){return m(this,new H(e,t))<0},x.isLessThanOrEqualTo=x.lte=function(e,t){return-1===(t=m(this,new H(e,t)))||0===t},x.isNaN=function(){return!this.s},x.isNegative=function(){return this.s<0},x.isPositive=function(){return this.s>0},x.isZero=function(){return!!this.c&&0==this.c[0]},x.minus=function(e,t){var r,n,i,o,a=this,s=a.s;if(t=(e=new H(e,t)).s,!s||!t)return new H(NaN);if(s!=t)return e.s=-t,a.plus(e);var c=a.e/l,f=e.e/l,d=a.c,h=e.c;if(!c||!f){if(!d||!h)return d?(e.s=-t,e):new H(h?a:NaN);if(!d[0]||!h[0])return h[0]?(e.s=-t,e):new H(d[0]?a:3==C?-0:0)}if(c=p(c),f=p(f),d=d.slice(),s=c-f){for((o=s<0)?(s=-s,i=d):(f=c,i=h),i.reverse(),t=s;t--;i.push(0));i.reverse()}else for(n=(o=(s=d.length)<(t=h.length))?s:t,s=t=0;t<n;t++)if(d[t]!=h[t]){o=d[t]<h[t];break}if(o&&(i=d,d=h,h=i,e.s=-e.s),(t=(n=h.length)-(r=d.length))>0)for(;t--;d[r++]=0);for(t=u-1;n>s;){if(d[--n]<h[n]){for(r=n;r&&!d[--r];d[r]=t);--d[r],d[n]+=u}d[n]-=h[n]}for(;0==d[0];d.splice(0,1),--f);return d[0]?K(e,d,f):(e.s=3==C?-1:1,e.c=[e.e=0],e)},x.modulo=x.mod=function(e,t){var n,i,o=this;return e=new H(e,t),!o.c||!e.s||e.c&&!e.c[0]?new H(NaN):!e.c||o.c&&!o.c[0]?new H(o):(9==U?(i=e.s,e.s=1,n=r(o,e,0,3),e.s=i,n.s*=i):n=r(o,e,0,U),(e=o.minus(n.times(e))).c[0]||1!=U||(e.s=o.s),e)},x.multipliedBy=x.times=function(e,t){var r,n,i,o,a,s,c,f,h,y,m,b,g,w,v,_=this,S=_.c,A=(e=new H(e,t)).c;if(!(S&&A&&S[0]&&A[0]))return!_.s||!e.s||S&&!S[0]&&!A||A&&!A[0]&&!S?e.c=e.e=e.s=null:(e.s*=_.s,S&&A?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=p(_.e/l)+p(e.e/l),e.s*=_.s,(c=S.length)<(y=A.length)&&(g=S,S=A,A=g,i=c,c=y,y=i),i=c+y,g=[];i--;g.push(0));for(w=u,v=d,i=y;--i>=0;){for(r=0,m=A[i]%v,b=A[i]/v|0,o=i+(a=c);o>i;)r=((f=m*(f=S[--a]%v)+(s=b*f+(h=S[a]/v|0)*m)%v*v+g[o]+r)/w|0)+(s/v|0)+b*h,g[o--]=f%w;g[o]=r}return r?++n:g.splice(0,1),K(e,g,n)},x.negated=function(){var e=new H(this);return e.s=-e.s||null,e},x.plus=function(e,t){var r,n=this,i=n.s;if(t=(e=new H(e,t)).s,!i||!t)return new H(NaN);if(i!=t)return e.s=-t,n.minus(e);var o=n.e/l,a=e.e/l,s=n.c,c=e.c;if(!o||!a){if(!s||!c)return new H(i/0);if(!s[0]||!c[0])return c[0]?e:new H(s[0]?n:0*i)}if(o=p(o),a=p(a),s=s.slice(),i=o-a){for(i>0?(a=o,r=c):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(t=c.length)<0&&(r=c,c=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+c[t]+i)/u|0,s[t]=u===s[t]?0:s[t]%u;return i&&(s=[i].concat(s),++a),K(e,s,a)},x.precision=x.sd=function(e,t){var r,n,i,o=this;if(null!=e&&e!==!!e)return b(e,1,h),null==t?t=C:b(t,0,8),$(new H(o),e,t);if(!(r=o.c))return null;if(n=(i=r.length-1)*l+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&o.e+1>n&&(n=o.e+1),n},x.shiftedBy=function(e){return b(e,-9007199254740991,c),this.times("1e"+e)},x.squareRoot=x.sqrt=function(){var e,t,n,i,o,a=this,s=a.c,u=a.s,l=a.e,c=P+4,f=new H("0.5");if(1!==u||!s||!s[0])return new H(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+Z(a)))||u==1/0?(((t=y(s)).length+l)%2==0&&(t+="0"),u=Math.sqrt(+t),l=p((l+1)/2)-(l<0||l%2),n=new H(t=u==1/0?"5e"+l:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+l)):n=new H(u+""),n.c[0])for((u=(l=n.e)+c)<3&&(u=0);;)if(o=n,n=f.times(o.plus(r(a,o,c,1))),y(o.c).slice(0,u)===(t=y(n.c)).slice(0,u)){if(n.e<l&&--u,"9999"!=(t=t.slice(u-3,u+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||($(n,n.e+P+2,1),e=!n.times(n).eq(a));break}if(!i&&($(o,o.e+P+2,0),o.times(o).eq(a))){n=o;break}c+=4,u+=4,i=1}return $(n,n.e+P+1,C,e)},x.toExponential=function(e,t){return null!=e&&(b(e,0,h),e++),q(this,e,t,1)},x.toFixed=function(e,t){return null!=e&&(b(e,0,h),e=e+this.e+1),q(this,e,t)},x.toFormat=function(e,t,r){var n,i=this;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=V;else if("object"!=typeof r)throw Error(a+"Argument not an object: "+r);if(n=i.toFixed(e,t),i.c){var o,s=n.split("."),u=+r.groupSize,l=+r.secondaryGroupSize,c=r.groupSeparator||"",f=s[0],d=s[1],h=i.s<0,p=h?f.slice(1):f,y=p.length;if(l&&(o=u,u=l,l=o,y-=o),u>0&&y>0){for(o=y%u||u,f=p.substr(0,o);o<y;o+=u)f+=c+p.substr(o,u);l>0&&(f+=c+p.slice(o)),h&&(f="-"+f)}n=d?f+(r.decimalSeparator||"")+((l=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):f}return(r.prefix||"")+n+(r.suffix||"")},x.toFraction=function(e){var t,n,i,o,s,u,c,d,h,p,m,b,g=this,w=g.c;if(null!=e&&(!(c=new H(e)).isInteger()&&(c.c||1!==c.s)||c.lt(j)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+Z(c));if(!w)return new H(g);for(t=new H(j),h=n=new H(j),i=d=new H(j),b=y(w),s=t.e=b.length-g.e-1,t.c[0]=f[(u=s%l)<0?l+u:u],e=!e||c.comparedTo(t)>0?s>0?t:h:c,u=R,R=1/0,c=new H(b),d.c[0]=0;p=r(c,t,0,1),1!=(o=n.plus(p.times(i))).comparedTo(e);)n=i,i=o,h=d.plus(p.times(o=h)),d=o,t=c.minus(p.times(o=t)),c=o;return o=r(e.minus(n),i,0,1),d=d.plus(o.times(h)),n=n.plus(o.times(i)),d.s=h.s=g.s,m=r(h,i,s*=2,C).minus(g).abs().comparedTo(r(d,n,s,C).minus(g).abs())<1?[h,i]:[d,n],R=u,m},x.toNumber=function(){return+Z(this)},x.toPrecision=function(e,t){return null!=e&&b(e,1,h),q(this,e,t,2)},x.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=i<=N||i>=B?w(y(r.c),i):v(y(r.c),i,"0"):10===e&&G?t=v(y((r=$(new H(r),P+i+1,C)).c),r.e,"0"):(b(e,2,z.length,"Base"),t=_(v(y(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},x.valueOf=x.toJSON=function(){return Z(this)},x._isBigNumber=!0,null!=t&&H.set(t),H}(),r.default=r.BigNumber=r,"function"==typeof define&&define.amd?define((function(){return r})):void 0!==t&&t.exports?t.exports=r:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=r)}(this)}}},{package:"@truffle/codec>cbor>bignumber.js",file:"node_modules/cbor/node_modules/bignumber.js/bignumber.js"}],[1969,{nofilter:2991,stream:1946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("stream"),i=e("nofilter"),o=n.Transform;t.exports=class extends o{constructor(e){super(e),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this.bs=new i,this.__restart()}_transform(e,t,r){for(this.bs.write(e);this.bs.length>=this.__needed;){let e;const t=null===this.__needed?undefined:this.bs.read(this.__needed);try{e=this.__parser.next(t)}catch(e){return r(e)}this.__needed&&(this.__fresh=!1),e.done?(this.push(e.value),this.__restart()):this.__needed=e.value||0}return r()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null,this.__parser=this._parse(),this.__fresh=!0}_flush(e){e(this.__fresh?null:new Error("unexpected end of input"))}}}}},{package:"@truffle/codec>cbor",file:"node_modules/cbor/vendor/binary-parse-stream/index.js"}],[1970,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){for(var e=arguments.length,t=[],r=0;r<e;r++)t[r]=arguments[r];return 0===(t=t.filter((function(e){return null!=e}))).length?undefined:1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))}}}},{package:"react-transition-group>chain-function",file:"node_modules/chain-function/index.js"}],[1971,{"camel-case":1972,"constant-case":2006,"dot-case":2093,"header-case":2684,"is-lower-case":2703,"is-upper-case":2707,"lower-case":2946,"lower-case-first":2945,"no-case":2985,"param-case":1973,"pascal-case":3013,"path-case":3015,"sentence-case":3267,"snake-case":3279,"swap-case":3283,"title-case":3288,"upper-case":3346,"upper-case-first":3345},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.no=r.noCase=e("no-case"),r.dot=r.dotCase=e("dot-case"),r.swap=r.swapCase=e("swap-case"),r.path=r.pathCase=e("path-case"),r.upper=r.upperCase=e("upper-case"),r.lower=r.lowerCase=e("lower-case"),r.camel=r.camelCase=e("camel-case"),r.snake=r.snakeCase=e("snake-case"),r.title=r.titleCase=e("title-case"),r.param=r.paramCase=e("param-case"),r.header=r.headerCase=e("header-case"),r.pascal=r.pascalCase=e("pascal-case"),r.constant=r.constantCase=e("constant-case"),r.sentence=r.sentenceCase=e("sentence-case"),r.isUpper=r.isUpperCase=e("is-upper-case"),r.isLower=r.isLowerCase=e("is-lower-case"),r.ucFirst=r.upperCaseFirst=e("upper-case-first"),r.lcFirst=r.lowerCaseFirst=e("lower-case-first")}}},{package:"@truffle/codec>@truffle/abi-utils>change-case",file:"node_modules/change-case/change-case.js"}],[1972,{"no-case":2985,"upper-case":3346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("upper-case"),i=e("no-case");t.exports=function(e,t,r){var o=i(e,t);return r||(o=o.replace(/ (?=\d)/g,"_")),o.replace(/ (.)/g,(function(e,r){return n(r,t)}))}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>camel-case",file:"node_modules/change-case/node_modules/camel-case/camel-case.js"}],[1973,{"no-case":2985},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("no-case");t.exports=function(e,t){return n(e,t,"-")}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>param-case",file:"node_modules/change-case/node_modules/param-case/param-case.js"}],[1979,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,{className:t,symbolName:r}){const n=Symbol.for(r),i={[t]:class extends e{constructor(...e){super(...e),Object.defineProperty(this,n,{value:!0})}get[Symbol.toStringTag](){return t}}}[t];return i[`is${t}`]=e=>!(!e||!e[n]),i},t.exports.proto=function(e,{className:t,symbolName:r,withoutNew:n}){const i=Symbol.for(r),o={[t]:function(...t){if(n&&!(this instanceof o))return new o(...t);const r=e.call(this,...t)||this;return r&&!r[i]&&Object.defineProperty(r,i,{value:!0}),r}}[t];return o.prototype=Object.create(e.prototype),o.prototype.constructor=o,Object.defineProperty(o.prototype,Symbol.toStringTag,{get:()=>t}),o[`is${t}`]=e=>!(!e||!e[i]),o}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>class-is",file:"node_modules/class-is/index.js"}],[1980,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){var e={}.hasOwnProperty;function r(){for(var t=[],n=0;n<arguments.length;n++){var i=arguments[n];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)&&i.length){var a=r.apply(null,i);a&&t.push(a)}else if("object"===o)for(var s in i)e.call(i,s)&&i[s]&&t.push(s)}}return t.join(" ")}void 0!==t&&t.exports?(r.default=r,t.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()}}},{package:"classnames",file:"node_modules/classnames/index.js"}],[1982,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.exports=function(){for(var e,t,r=0,i="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}}}},{package:"@material-ui/core>clsx",file:"node_modules/clsx/dist/clsx.js"}],[1985,{"color-name":1987},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("color-name"),i={};for(var o in n)n.hasOwnProperty(o)&&(i[n[o]]=o);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var u=a[s].channels,l=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:u}),Object.defineProperty(a[s],"labels",{value:l})}a.rgb.hsl=function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),u=s-a;return s===a?t=0:n===s?t=(i-o)/u:i===s?t=2+(o-n)/u:o===s&&(t=4+(n-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),r=(a+s)/2,[t,100*(s===a?0:r<=.5?u/(s+a):u/(2-s-a)),100*r]},a.rgb.hsv=function(e){var t,r,n,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),f=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=f(a),r=f(s),n=f(u),a===l?i=n-r:s===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},a.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-i)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var r,o,a,s=Infinity;for(var u in n)if(n.hasOwnProperty(u)){var l=n[u],c=(o=e,a=l,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c<s&&(s=c,r=u)}return r},a.keyword.rgb=function(e){return n[e]},a.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),r=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,r,n,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(r=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(n=a+1/3*-(l-1))<0&&n++,n>1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[l]=255*o;return i},a.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,o=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,i*=o<=1?o:2-o,[t,100*(0===n?2*i/(o+i):2*r/(n+r)),100*((n+r)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*o),u=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,u,a];case 1:return[s,n,a];case 2:return[a,n,u];case 3:return[a,s,n];case 4:return[u,a,n];case 5:return[n,a,s]}},a.hsv.hsl=function(e){var t,r,n,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return n=(2-o)*a,r=o*s,[i,100*(r=(r/=(t=(2-o)*s)<=1?t:2-t)||0),100*(n/=2)]},a.hwb.rgb=function(e){var t,r,n,i,o,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,f=l+c;switch(f>1&&(l/=f,c/=f),n=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(n=1-n),i=l+n*((r=1-c)-l),t){default:case 6:case 0:o=r,a=i,s=l;break;case 1:o=i,a=r,s=l;break;case 2:o=l,a=r,s=i;break;case 3:o=l,a=i,s=r;break;case 4:o=i,a=l,s=r;break;case 5:o=r,a=l,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},a.xyz.rgb=function(e){var t,r,n,i=e[0]/100,o=e[1]/100,a=e[2]/100;return r=-.9689*i+1.8758*o+.0415*a,n=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},a.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},a.lab.xyz=function(e){var t,r,n,i=e[0];t=e[1]/500+(r=(i+16)/116),n=r-e[2]/200;var o=Math.pow(r,3),a=Math.pow(t,3),s=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},a.lab.lch=function(e){var t,r=e[0],n=e[1],i=e[2];return(t=360*Math.atan2(i,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+i*i),t]},a.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255,o=Math.max(Math.max(r,n),i),a=Math.min(Math.min(r,n),i),s=o-a;return t=s<=0?0:o===r?(n-i)/s%6:o===n?2+(i-r)/s:4+(r-n)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-r)*n,[255*(r*o[0]+i),255*(r*o[1]+i),255*(r*o[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},a.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}},{package:"@metamask/jazzicon>color>color-convert",file:"node_modules/color-convert/conversions.js"}],[1986,{"./conversions":1985,"./route":1988},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./conversions"),i=e("./route"),o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});var t=i(e);Object.keys(t).forEach((function(r){var n=t[r];o[e][r]=function(e){var t=function(t){if(t===undefined||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,i=0;i<n;i++)r[i]=Math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),o[e][r].raw=function(e){var t=function(t){return t===undefined||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),t.exports=o}}},{package:"@metamask/jazzicon>color>color-convert",file:"node_modules/color-convert/index.js"}],[1987,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}},{package:"@metamask/jazzicon>color>color-convert>color-name",file:"node_modules/color-convert/node_modules/color-name/index.js"}],[1988,{"./conversions":1985},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./conversions");function i(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,i=0;i<r;i++)e[t[i]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var i=r.pop(),o=Object.keys(n[i]),a=o.length,s=0;s<a;s++){var u=o[s],l=t[u];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,r.unshift(u))}return t}function o(e,t){return function(r){return t(e(r))}}function a(e,t){for(var r=[t[e].parent,e],i=n[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),i=o(n[t[a].parent][a],i),a=t[a].parent;return i.conversion=r,i}t.exports=function(e){for(var t=i(e),r={},n=Object.keys(t),o=n.length,s=0;s<o;s++){var u=n[s];null!==t[u].parent&&(r[u]=a(u,t))}return r}}}},{package:"@metamask/jazzicon>color>color-convert",file:"node_modules/color-convert/route.js"}],[1989,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}},{package:"jest-canvas-mock>moo-color>color-name",file:"node_modules/color-name/index.js"}],[199,{"./arrayWithHoles.js":174,"./iterableToArrayLimit.js":190,"./nonIterableRest.js":191,"./unsupportedIterableToArray.js":203},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./arrayWithHoles.js"),i=e("./iterableToArrayLimit.js"),o=e("./unsupportedIterableToArray.js"),a=e("./nonIterableRest.js");t.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/slicedToArray.js"}],[1990,{"color-name":1989},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("color-name");function i(e){if(e){var t=[0,0,0],r=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var o=0;o<t.length;o++)t[o]=parseInt(i[o]+i[o],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/)){i=i[1];for(o=0;o<t.length;o++)t[o]=parseInt(i.slice(2*o,2*o+2),16)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<t.length;o++)t[o]=parseInt(i[o+1]);r=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(i[o+1]));r=parseFloat(i[4])}else if(i=e.match(/(\D+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=n[i[1]]))return}for(o=0;o<t.length;o++)t[o]=c(t[o],0,255);return r=r||0==r?c(r,0,1):1,t[3]=r,t}}function o(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var r=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}}}function s(e,t){return t===undefined&&(t=e[3]!==undefined?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function u(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function l(e,t){return t===undefined&&(t=e[3]!==undefined?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function c(e,t,r){return Math.min(Math.max(t,e),r)}function f(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}t.exports={getRgba:i,getHsla:o,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=o(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=i(e);if(t)return t[3];if(t=o(e))return t[3];if(t=a(e))return t[3]},hexString:function(e){return"#"+f(e[0])+f(e[1])+f(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return s(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:s,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);var r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+r+"%, "+n+"%, "+i+"%)"},percentaString:u,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return l(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:l,hwbString:function(e,t){t===undefined&&(t=e[3]!==undefined?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(t!==undefined&&1!==t?", "+t:"")+")"},keyword:function(e){return d[e.slice(0,3)]}};var d={};for(var h in n)d[n[h]]=h}}},{package:"@metamask/jazzicon>color>color-string",file:"node_modules/color-string/color-string.js"}],[1991,{clone:1992,"color-convert":1986,"color-string":1990},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("clone"),i=e("color-convert"),o=e("color-string"),a=function(e){if(e instanceof a)return e;if(!(this instanceof a))return new a(e);var t;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e)if(t=o.getRgba(e))this.setValues("rgb",t);else if(t=o.getHsla(e))this.setValues("hsl",t);else{if(!(t=o.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}else if("object"==typeof e)if((t=e).r!==undefined||t.red!==undefined)this.setValues("rgb",t);else if(t.l!==undefined||t.lightness!==undefined)this.setValues("hsl",t);else if(t.v!==undefined||t.value!==undefined)this.setValues("hsv",t);else if(t.w!==undefined||t.whiteness!==undefined)this.setValues("hwb",t);else{if(t.c===undefined&&t.cyan===undefined)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}};a.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var e=this.values.rgb,t=[],r=0;r<3;r++)t[r]=e[r]/255;return t.push(this.values.alpha),t},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(e){return e===undefined?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return o.hexString(this.values.rgb)},rgbString:function(){return o.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return o.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return o.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return o.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return o.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return o.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return o.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var r=this,n=e,i=t===undefined?.5:t,o=2*i-1,a=r.alpha()-n.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return this.rgb(s*r.red()+u*n.red(),s*r.green()+u*n.green(),s*r.blue()+u*n.blue()).alpha(r.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e=new a;return e.values=n(this.values),e}},a.prototype.getValues=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=this.values[e][r];return 1!==this.values.alpha&&(t.a=this.values.alpha),t},a.prototype.setValues=function(e,t){var r,n,o={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},s=1;if("alpha"===e)s=t;else if(t.length)this.values[e]=t.slice(0,e.length),s=t[e.length];else if(t[e.charAt(0)]!==undefined){for(r=0;r<e.length;r++)this.values[e][r]=t[e.charAt(r)];s=t.a}else if(t[o[e][0]]!==undefined){var u=o[e];for(r=0;r<e.length;r++)this.values[e][r]=t[u[r]];s=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,s===undefined?this.values.alpha:s)),"alpha"===e)return!1;for(r=0;r<e.length;r++)n=Math.max(0,Math.min(a[e][r],this.values[e][r])),this.values[e][r]=Math.round(n);for(var l in o)for(l!==e&&(this.values[l]=i[e][l](this.values[e])),r=0;r<l.length;r++)n=Math.max(0,Math.min(a[l][r],this.values[l][r])),this.values[l][r]=Math.round(n);return!0},a.prototype.setSpace=function(e,t){var r=t[0];return r===undefined?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},a.prototype.setChannel=function(e,t,r){return r===undefined?this.values[e][t]:(r===this.values[e][t]||(this.values[e][t]=r,this.setValues(e,this.values[e])),this)},t.exports=a}}},{package:"@metamask/jazzicon>color",file:"node_modules/color/index.js"}],[1992,{buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){var r=function(){function t(r,i,o,a){"object"==typeof i&&(o=i.depth,a=i.prototype,i.filter,i=i.circular);var s=[],u=[],l=void 0!==e;return void 0===i&&(i=!0),void 0===o&&(o=Infinity),function r(o,c){if(null===o)return null;if(0==c)return o;var f,d;if("object"!=typeof o)return o;if(t.__isArray(o))f=[];else if(t.__isRegExp(o))f=new RegExp(o.source,n(o)),o.lastIndex&&(f.lastIndex=o.lastIndex);else if(t.__isDate(o))f=new Date(o.getTime());else{if(l&&e.isBuffer(o))return f=new e(o.length),o.copy(f),f;void 0===a?(d=Object.getPrototypeOf(o),f=Object.create(d)):(f=Object.create(a),d=a)}if(i){var h=s.indexOf(o);if(-1!=h)return u[h];s.push(o),u.push(f)}for(var p in o){var y;d&&(y=Object.getOwnPropertyDescriptor(d,p)),y&&null==y.set||(f[p]=r(o[p],c-1))}return f}(r,o)}function r(e){return Object.prototype.toString.call(e)}function n(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return t.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},t.__objToStr=r,t.__isDate=function(e){return"object"==typeof e&&"[object Date]"===r(e)},t.__isArray=function(e){return"object"==typeof e&&"[object Array]"===r(e)},t.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===r(e)},t.__getRegExpFlags=n,t}();"object"==typeof t&&t.exports&&(t.exports=r)}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/jazzicon>color>clone",file:"node_modules/color/node_modules/clone/clone.js"}],[1993,{"./custom/trap":1994,"./custom/zalgo":1995,"./maps/america":1998,"./maps/rainbow":1999,"./maps/random":2e3,"./maps/zebra":2001,"./styles":2002,"./system/supports-colors":2004,util:1949},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};t.exports=n,n.themes={};var i=e("util"),o=n.styles=e("./styles"),a=Object.defineProperties,s=new RegExp(/[\r\n]+/g);n.supportsColor=e("./system/supports-colors").supportsColor,void 0===n.enabled&&(n.enabled=!1!==n.supportsColor()),n.enable=function(){n.enabled=!0},n.disable=function(){n.enabled=!1},n.stripColors=n.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};n.stylize=function(e,t){if(!n.enabled)return e+"";var r=o[t];return!r&&t in n?n[t](e):r.open+e+r.close};var u=/[|\\{}()[\]^$+*?.]/g;function l(e){var t=function e(){return h.apply(e,arguments)};return t._styles=e,t.__proto__=d,t}var c,f=(c={},o.grey=o.gray,Object.keys(o).forEach((function(e){o[e].closeRe=new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(u,"\\$&")}(o[e].close),"g"),c[e]={get:function(){return l(this._styles.concat(e))}}})),c),d=a((function(){}),f);function h(){var e=Array.prototype.slice.call(arguments),t=e.map((function(e){return null!=e&&e.constructor===String?e:i.inspect(e)})).join(" ");if(!n.enabled||!t)return t;for(var r=-1!=t.indexOf("\n"),a=this._styles,u=a.length;u--;){var l=o[a[u]];t=l.open+t.replace(l.closeRe,l.open)+l.close,r&&(t=t.replace(s,(function(e){return l.close+e+l.open})))}return t}n.setTheme=function(e){if("string"!=typeof e)for(var t in e)!function(t){n[t]=function(r){if("object"==typeof e[t]){var i=r;for(var o in e[t])i=n[e[t][o]](i);return i}return n[e[t]](r)}}(t);else console.log("colors.setTheme now only accepts an object, not a string.  "+"If you are trying to set a theme from a file, it is now your (the "+"caller's) responsibility to require the file.  The old syntax "+"looked like colors.setTheme(__dirname + "+"'/../themes/generic-logging.js'); The new syntax looks like "+"colors.setTheme(require(__dirname + "+"'/../themes/generic-logging.js'));")};var p=function(e,t){var r=t.split("");return(r=r.map(e)).join("")};for(var y in n.trap=e("./custom/trap"),n.zalgo=e("./custom/zalgo"),n.maps={},n.maps.america=e("./maps/america")(n),n.maps.zebra=e("./maps/zebra")(n),n.maps.rainbow=e("./maps/rainbow")(n),n.maps.random=e("./maps/random")(n),n.maps)!function(e){n[e]=function(t){return p(n.maps[e],t)}}(y);a(n,function(){var e={};return Object.keys(f).forEach((function(t){e[t]={get:function(){return l([t])}}})),e}())}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/colors.js"}],[1994,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){var r="";e=(e=e||"Run the trap, drop the bass").split("");var n={a:["@","Ą","Ⱥ","Ʌ","Δ","Λ","Д"],b:["ß","Ɓ","Ƀ","ɮ","β","฿"],c:["©","Ȼ","Ͼ"],d:["Ð","Ɗ","Ԁ","ԁ","Ԃ","ԃ"],e:["Ë","ĕ","Ǝ","ɘ","Σ","ξ","Ҽ","੬"],f:["Ӻ"],g:["ɢ"],h:["Ħ","ƕ","Ң","Һ","Ӈ","Ԋ"],i:["༏"],j:["Ĵ"],k:["ĸ","Ҡ","Ӄ","Ԟ"],l:["Ĺ"],m:["ʍ","Ӎ","ӎ","Ԡ","ԡ","൩"],n:["Ñ","ŋ","Ɲ","Ͷ","Π","Ҋ"],o:["Ø","õ","ø","Ǿ","ʘ","Ѻ","ם","۝","๏"],p:["Ƿ","Ҏ"],q:["্"],r:["®","Ʀ","Ȑ","Ɍ","ʀ","Я"],s:["§","Ϟ","ϟ","Ϩ"],t:["Ł","Ŧ","ͳ"],u:["Ʊ","Ս"],v:["ט"],w:["Ш","Ѡ","Ѽ","൰"],x:["Ҳ","Ӿ","Ӽ","ӽ"],y:["¥","Ұ","Ӌ"],z:["Ƶ","ɀ"]};return e.forEach((function(e){e=e.toLowerCase();var t=n[e]||[" "],i=Math.floor(Math.random()*t.length);r+=void 0!==n[e]?n[e][i]:e})),r}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/custom/trap.js"}],[1995,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){e=e||"   he is here   ";var r={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},n=[].concat(r.up,r.down,r.mid);function i(e){return Math.floor(Math.random()*e)}function o(e){var t=!1;return n.filter((function(r){t=r===e})),t}return function(e,t){var n,a,s="";for(a in(t=t||{}).up=void 0===t.up||t.up,t.mid=void 0===t.mid||t.mid,t.down=void 0===t.down||t.down,t.size=void 0!==t.size?t.size:"maxi",e=e.split(""))if(!o(a)){switch(s+=e[a],n={up:0,down:0,mid:0},t.size){case"mini":n.up=i(8),n.mid=i(2),n.down=i(8);break;case"maxi":n.up=i(16)+3,n.mid=i(4)+1,n.down=i(64)+3;break;default:n.up=i(8)+1,n.mid=i(6)/2,n.down=i(8)+1}var u=["up","mid","down"];for(var l in u)for(var c=u[l],f=0;f<=n[c];f++)t[c]&&(s+=r[c][i(r[c].length)])}return s}(e,t)}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/custom/zalgo.js"}],[1996,{"./colors":1993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./colors");t.exports=function(){Object.keys(n.styles).forEach((function(e){})),n.setTheme=function(e){"string"!=typeof e?function(e){var t=["__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","charAt","constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf","charCodeAt","indexOf","lastIndexOf","length","localeCompare","match","repeat","replace","search","slice","split","substring","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimLeft","trimRight"];Object.keys(e).forEach((function(r){if(-1!==t.indexOf(r))console.log("warn: ".red+("String.prototype"+r).magenta+" is probably something you don't want to override.  "+"Ignoring style name");else if("string"==typeof e[r])n[r]=n[e[r]];else{var i=function(t){for(var i=t||this,o=0;o<e[r].length;o++)i=n[e[r][o]](i);return i};n[r]=function(e){return i(e)}}}))}(e):console.log("colors.setTheme now only accepts an object, not a string. "+"If you are trying to set a theme from a file, it is now your (the "+"caller's) responsibility to require the file.  The old syntax "+"looked like colors.setTheme(__dirname + "+"'/../themes/generic-logging.js'); The new syntax looks like "+"colors.setTheme(require(__dirname + "+"'/../themes/generic-logging.js'));")}}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/extendStringPrototype.js"}],[1997,{"./colors":1993,"./extendStringPrototype":1996},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./colors");t.exports=n,e("./extendStringPrototype")()}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/index.js"}],[1998,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(t,r,n){if(" "===t)return t;switch(r%3){case 0:return e.red(t);case 1:return e.white(t);case 2:return e.blue(t)}}}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/maps/america.js"}],[1999,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=["red","yellow","green","blue","magenta"];return function(r,n,i){return" "===r?r:e[t[n++%t.length]](r)}}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/maps/rainbow.js"}],[200,{"./arrayWithHoles.js":174,"./iterableToArray.js":189,"./nonIterableRest.js":191,"./unsupportedIterableToArray.js":203},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./arrayWithHoles.js"),i=e("./iterableToArray.js"),o=e("./unsupportedIterableToArray.js"),a=e("./nonIterableRest.js");t.exports=function(e){return n(e)||i(e)||o(e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/toArray.js"}],[2e3,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){var t=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(r,n,i){return" "===r?r:e[t[Math.round(Math.random()*(t.length-2))]](r)}}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/maps/random.js"}],[2001,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(t,r,n){return r%2==0?t:e.inverse(t)}}}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/maps/zebra.js"}],[2002,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={};t.exports=n;var i={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(i).forEach((function(e){var t=i[e],r=n[e]=[];r.open="["+t[0]+"m",r.close="["+t[1]+"m"}))}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/styles.js"}],[2003,{_process:3027},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){t.exports=function(t,r){var n=(r=r||e.argv).indexOf("--"),i=/^-{1,2}/.test(t)?"":"--",o=r.indexOf(i+t);return-1!==o&&(-1===n||o<n)}}).call(this)}).call(this,e("_process"))}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/system/has-flag.js"}],[2004,{"./has-flag.js":2003,_process:3027,os:3006},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("os"),i=e("./has-flag.js"),o=r.env,a=void 0;function s(e){var t=function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;var t=a?1:0;if("win32"===r.platform){var s=n.release().split(".");return Number(r.versions.node.split(".")[0])>=8&&Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in o}))||"codeship"===o.CI_NAME?1:t;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in o){var u=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return u>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:(o.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in o&&(a=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),t.exports={supportsColor:s,stdout:s(r.stdout),stderr:s(r.stderr)}}).call(this)}).call(this,e("_process"))}}},{package:"@truffle/codec>@truffle/compile-common>colors",file:"node_modules/colors/lib/system/supports-colors.js"}],[2006,{"snake-case":3279,"upper-case":3346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("upper-case"),i=e("snake-case");t.exports=function(e,t){return n(i(e,t),t)}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>constant-case",file:"node_modules/constant-case/constant-case.js"}],[2007,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={identity:0,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,json:512,messagepack:513,"libp2p-peer-record":769,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/base-table.json"}],[2008,{"./base-table.json":2007},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i={};for(const[e,t]of Object.entries(n))i[e.toUpperCase().replace(/-/g,"_")]=t;t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/constants.js"}],[2009,{"./constants":2008,"./int-table":2010,"./print":2011,"./util":2012,"./varint-table":2013,buffer:1943,varint:3372},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),i=e("varint"),o=e("./int-table"),a=e("./varint-table"),s=e("./util");(r=t.exports).addPrefix=(e,t)=>{let r;if(n.isBuffer(e))r=s.varintBufferEncode(e);else{if(!a[e])throw new Error("multicodec not recognized");r=a[e]}return n.concat([r,t])},r.rmPrefix=e=>(i.decode(e),e.slice(i.decode.bytes)),r.getCodec=e=>{const t=i.decode(e),r=o.get(t);if(r===undefined)throw new Error(`Code ${t} not found`);return r},r.getName=e=>o.get(e),r.getNumber=e=>{const t=a[e];if(t===undefined)throw new Error("Codec `"+e+"` not found");return s.varintBufferDecode(t)[0]},r.getCode=e=>i.decode(e),r.getCodeVarint=e=>{const t=a[e];if(t===undefined)throw new Error("Codec `"+e+"` not found");return t},r.getVarint=e=>i.encode(e);const u=e("./constants");Object.assign(r,u),r.print=e("./print")}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/index.js"}],[201,{"./arrayWithoutHoles.js":175,"./iterableToArray.js":189,"./nonIterableSpread.js":192,"./unsupportedIterableToArray.js":203},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./arrayWithoutHoles.js"),i=e("./iterableToArray.js"),o=e("./unsupportedIterableToArray.js"),a=e("./nonIterableSpread.js");t.exports=function(e){return n(e)||i(e)||o(e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/toConsumableArray.js"}],[2010,{"./base-table.json":2007},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i=new Map;for(const e in n){const t=n[e];i.set(t,e)}t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/int-table.js"}],[2011,{"./base-table.json":2007},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i={};for(const[e,t]of Object.entries(n))i[t]===undefined&&(i[t]=e);t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/print.js"}],[2012,{buffer:1943,varint:3372},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("varint"),{Buffer:i}=e("buffer");function o(e){return parseInt(e.toString("hex"),16)}function a(e){let t=e.toString(16);return t.length%2==1&&(t="0"+t),i.from(t,"hex")}t.exports={numberToBuffer:a,bufferToNumber:o,varintBufferEncode:function(e){return i.from(n.encode(o(e)))},varintBufferDecode:function(e){return a(n.decode(e))},varintEncode:function(e){return i.from(n.encode(e))}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/util.js"}],[2013,{"./base-table.json":2007,"./util":2012},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i=e("./util").varintEncode,o={};for(const e in n){const t=n[e];o[e]=i(t)}t.exports=Object.freeze(o)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec",file:"node_modules/content-hash/node_modules/cids/node_modules/multicodec/src/varint-table.js"}],[2014,{buffer:1943,multihashes:2983},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("multihashes"),{Buffer:i}=e("buffer");var o={checkCIDComponents:function(e){if(null==e)return"null values are not valid CIDs";if(0!==e.version&&1!==e.version)return"Invalid version, must be a number equal to 1 or 0";if("string"!=typeof e.codec)return"codec must be string";if(0===e.version){if("dag-pb"!==e.codec)return"codec must be 'dag-pb' for CIDv0";if("base58btc"!==e.multibaseName)return"multibaseName must be 'base58btc' for CIDv0"}if(!i.isBuffer(e.multihash))return"multihash must be a Buffer";try{n.validate(e.multihash)}catch(e){let t=e.message;return t||(t="Multihash validation failed"),t}}};t.exports=o}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids",file:"node_modules/content-hash/node_modules/cids/src/cid-util.js"}],[2015,{"./cid-util":2014,buffer:1943,"class-is":1979,multibase:2021,multicodec:2009,"multicodec/src/base-table.json":2007,multihashes:2983},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),i=e("multihashes"),o=e("multibase"),a=e("multicodec"),s=e("multicodec/src/base-table.json"),u=e("./cid-util"),l=e("class-is");class c{constructor(e,t,r,s){if(f.isCID(e)){const t=e;return this.version=t.version,this.codec=t.codec,this.multihash=n.from(t.multihash),void(this.multibaseName=t.multibaseName||(0===t.version?"base58btc":"base32"))}if("string"==typeof e){const t=o.isEncoded(e);if(t){const r=o.decode(e);this.version=parseInt(r.slice(0,1).toString("hex"),16),this.codec=a.getCodec(r.slice(1)),this.multihash=a.rmPrefix(r.slice(1)),this.multibaseName=t}else this.version=0,this.codec="dag-pb",this.multihash=i.fromB58String(e),this.multibaseName="base58btc";return c.validateCID(this),void Object.defineProperty(this,"string",{value:e})}if(n.isBuffer(e)){const t=e.slice(0,1),r=parseInt(t.toString("hex"),16);if(1===r){const t=e;this.version=r,this.codec=a.getCodec(t.slice(1)),this.multihash=a.rmPrefix(t.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";c.validateCID(this)}else this.version=e,this.codec=t,this.multihash=r,this.multibaseName=s||(0===e?"base58btc":"base32"),c.validateCID(this)}get buffer(){let e=this._buffer;if(!e){if(0===this.version)e=this.multihash;else{if(1!==this.version)throw new Error("unsupported version");e=n.concat([n.from("01","hex"),a.getCodeVarint(this.codec),this.multihash])}Object.defineProperty(this,"_buffer",{value:e})}return e}get prefix(){return n.concat([n.from(`0${this.version}`,"hex"),a.getCodeVarint(this.codec),i.prefix(this.multihash)])}toV0(){if("dag-pb"!==this.codec)throw new Error("Cannot convert a non dag-pb CID to CIDv0");const{name:e,length:t}=i.decode(this.multihash);if("sha2-256"!==e)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(32!==t)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new f(0,this.codec,this.multihash)}toV1(){return new f(1,this.codec,this.multihash)}toBaseEncodedString(e=this.multibaseName){if(this.string&&e===this.multibaseName)return this.string;let t=null;if(0===this.version){if("base58btc"!==e)throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");t=i.toB58String(this.multihash)}else{if(1!==this.version)throw new Error("unsupported version");t=o.encode(e,this.buffer).toString()}return e===this.multibaseName&&Object.defineProperty(this,"string",{value:t}),t}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&this.multihash.equals(e.multihash)}static validateCID(e){const t=u.checkCIDComponents(e);if(t)throw new Error(t)}}const f=l(c,{className:"CID",symbolName:"@ipld/js-cid/CID"});f.codecs=s,t.exports=f}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids",file:"node_modules/content-hash/node_modules/cids/src/index.js"}],[2016,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=class{constructor(e,t,r,n){this.name=e,this.code=t,this.alphabet=n,r&&n&&(this.engine=r(n))}encode(e){return this.engine.encode(e)}decode(e){return this.engine.decode(e)}isImplemented(){return this.engine}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/base.js"}],[2017,{buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer");t.exports=function(e){return{encode:e=>"string"==typeof e?n.from(e).toString("hex"):e.toString("hex"),decode(t){for(const r of t)if(e.indexOf(r)<0)throw new Error("invalid base16 character");return n.from(t,"hex")}}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/base16.js"}],[2018,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){const r=e.byteLength,n=new Uint8Array(e),i=t.indexOf("=")===t.length-1;i&&(t=t.substring(0,t.length-1));let o=0,a=0,s="";for(let e=0;e<r;e++)for(a=a<<8|n[e],o+=8;o>=5;)s+=t[a>>>o-5&31],o-=5;if(o>0&&(s+=t[a<<5-o&31]),i)for(;s.length%8!=0;)s+="=";return s}t.exports=function(e){return{encode:t=>n("string"==typeof t?Uint8Array.from(t):t,e),decode(t){for(const r of t)if(e.indexOf(r)<0)throw new Error("invalid base32 character");return function(e,t){const r=(e=e.replace(new RegExp("=","g"),"")).length;let n=0,i=0,o=0;const a=new Uint8Array(5*r/8|0);for(let s=0;s<r;s++)i=i<<5|t.indexOf(e[s]),n+=5,n>=8&&(a[o++]=i>>>n-8&255,n-=8);return a.buffer}(t,e)}}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/base32.js"}],[2019,{buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer");t.exports=function(e){const t=e.indexOf("=")>-1,r=e.indexOf("-")>-1&&e.indexOf("_")>-1;return{encode(e){let i="";i="string"==typeof e?n.from(e).toString("base64"):e.toString("base64"),r&&(i=i.replace(/\+/g,"-").replace(/\//g,"_"));const o=i.indexOf("=");return o>0&&!t&&(i=i.substring(0,o)),i},decode(t){for(const r of t)if(e.indexOf(r)<0)throw new Error("invalid base64 character");return n.from(t,"base64")}}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/base64.js"}],[2020,{"./base.js":2016,"./base16":2017,"./base32":2018,"./base64":2019,"base-x":1849},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base.js"),i=e("base-x"),o=e("./base16"),a=e("./base32"),s=e("./base64"),u=[["base1","1","","1"],["base2","0",i,"01"],["base8","7",i,"01234567"],["base10","9",i,"0123456789"],["base16","f",o,"0123456789abcdef"],["base32","b",a,"abcdefghijklmnopqrstuvwxyz234567"],["base32pad","c",a,"abcdefghijklmnopqrstuvwxyz234567="],["base32hex","v",a,"0123456789abcdefghijklmnopqrstuv"],["base32hexpad","t",a,"0123456789abcdefghijklmnopqrstuv="],["base32z","h",a,"ybndrfg8ejkmcpqxot1uwisza345h769"],["base58flickr","Z",i,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base58btc","z",i,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base64","m",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],l=u.reduce(((e,t)=>(e[t[0]]=new n(t[0],t[1],t[2],t[3]),e)),{}),c=u.reduce(((e,t)=>(e[t[1]]=l[t[0]],e)),{});t.exports={names:l,codes:c}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/constants.js"}],[2021,{"./constants":2020,buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const{Buffer:n}=e("buffer"),i=e("./constants");(r=t.exports=a).encode=function(e,t){const r=s(e);return a(r.name,n.from(r.encode(t)))},r.decode=function(e){n.isBuffer(e)&&(e=e.toString());const t=e.substring(0,1);"string"==typeof(e=e.substring(1,e.length))&&(e=n.from(e));const r=s(t);return n.from(r.decode(e.toString()))},r.isEncoded=function(e){n.isBuffer(e)&&(e=e.toString());if("[object String]"!==Object.prototype.toString.call(e))return!1;const t=e.substring(0,1);try{return s(t).name}catch(e){return!1}},r.names=Object.freeze(Object.keys(i.names)),r.codes=Object.freeze(Object.keys(i.codes));const o=new Error("Unsupported encoding");function a(e,t){if(!t)throw new Error("requires an encoded buffer");const r=s(e),i=n.from(r.code);return function(e,t){s(e).decode(t.toString())}(r.name,t),n.concat([i,t])}function s(e){let t;if(i.names[e])t=i.names[e];else{if(!i.codes[e])throw o;t=i.codes[e]}if(!t.isImplemented())throw new Error("Base "+e+" is not implemented yet");return t}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase",file:"node_modules/content-hash/node_modules/multibase/src/index.js"}],[2022,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={identity:0,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,json:512,messagepack:513,x11:4352,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/base-table.json"}],[2023,{"./base-table.json":2022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i={};for(const[e,t]of Object.entries(n))i[e.toUpperCase().replace(/-/g,"_")]=t;t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/constants.js"}],[2024,{"./constants":2023,"./int-table":2025,"./print":2026,"./util":2027,"./varint-table":2028,buffer:1943,varint:3372},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(n){(function(){const i=e("varint"),o=e("./int-table"),a=e("./varint-table"),s=e("./util");(r=t.exports).addPrefix=(e,t)=>{let r;if(n.isBuffer(e))r=s.varintBufferEncode(e);else{if(!a[e])throw new Error("multicodec not recognized");r=a[e]}return n.concat([r,t])},r.rmPrefix=e=>(i.decode(e),e.slice(i.decode.bytes)),r.getCodec=e=>{const t=i.decode(e),r=o.get(t);if(r===undefined)throw new Error(`Code ${t} not found`);return r},r.getName=e=>o.get(e),r.getNumber=e=>{const t=a[e];if(t===undefined)throw new Error("Codec `"+e+"` not found");return s.varintBufferDecode(t)[0]},r.getCode=e=>i.decode(e),r.getCodeVarint=e=>{const t=a[e];if(t===undefined)throw new Error("Codec `"+e+"` not found");return t},r.getVarint=e=>i.encode(e);const u=e("./constants");Object.assign(r,u),r.print=e("./print")}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/index.js"}],[2025,{"./base-table.json":2022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i=new Map;for(const e in n){const t=n[e];i.set(t,e)}t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/int-table.js"}],[2026,{"./base-table.json":2022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i={};for(const[e,t]of Object.entries(n))i[t]===undefined&&(i[t]=e);t.exports=Object.freeze(i)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/print.js"}],[2027,{buffer:1943,varint:3372},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){const n=e("varint");function i(e){return parseInt(e.toString("hex"),16)}function o(e){let t=e.toString(16);return t.length%2==1&&(t="0"+t),r.from(t,"hex")}t.exports={numberToBuffer:o,bufferToNumber:i,varintBufferEncode:function(e){return r.from(n.encode(i(e)))},varintBufferDecode:function(e){return o(n.decode(e))},varintEncode:function(e){return r.from(n.encode(e))}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/util.js"}],[2028,{"./base-table.json":2022,"./util":2027},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-table.json"),i=e("./util").varintEncode,o={};for(const e in n){const t=n[e];o[e]=i(t)}t.exports=Object.freeze(o)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec",file:"node_modules/content-hash/node_modules/multicodec/src/varint-table.js"}],[2029,{cids:2015},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("cids");r.cidV0ToV1Base32=e=>{let t=new n(e);return 0===t.version&&(t=t.toV1()),t.toString("base32")}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash",file:"node_modules/content-hash/src/helpers.js"}],[203,{"./arrayLikeToArray.js":173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./arrayLikeToArray.js");t.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"}],[2030,{"./helpers":2029,"./profiles":2031,multicodec:2024},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("multicodec"),{hexStringToBuffer:i,profiles:o}=e("./profiles"),{cidV0ToV1Base32:a}=e("./helpers");t.exports={helpers:{cidV0ToV1Base32:a},decode:function(e){const t=i(e),r=n.getCodec(t),a=n.rmPrefix(t);let s=o[r];return s||(s=o.default),s.decode(a)},fromIpfs:function(e){return this.encode("ipfs-ns",e)},fromSwarm:function(e){return this.encode("swarm-ns",e)},encode:function(e,t){let r=o[e];r||(r=o.default);const i=r.encode(t);return n.addPrefix(e,i).toString("hex")},getCodec:function(e){let t=i(e);return n.getCodec(t)}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash",file:"node_modules/content-hash/src/index.js"}],[2031,{buffer:1943,cids:2015,multihashes:2983},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){const n=e("cids"),i=e("multihashes"),o=e=>{let t=e.slice(0,2),r=e.slice(2),n="";return n="0x"===t?r:e,i.fromHexString(n)},a={swarm:e=>{const t=i.encode(o(e),"keccak-256");return new n(1,"swarm-manifest",t).buffer},ipfs:e=>{const t=i.fromB58String(e);return new n(1,"dag-pb",t).buffer},utf8:e=>t.from(e,"utf8")},s={hexMultiHash:e=>{const t=new n(e);return i.decode(t.multihash).digest.toString("hex")},b58MultiHash:e=>{const t=new n(e);return i.toB58String(t.multihash)},utf8:e=>e.toString("utf8")},u={"swarm-ns":{encode:a.swarm,decode:s.hexMultiHash},"ipfs-ns":{encode:a.ipfs,decode:s.b58MultiHash},"ipns-ns":{encode:a.ipfs,decode:s.b58MultiHash},default:{encode:a.utf8,decode:s.utf8}};r.hexStringToBuffer=o,r.profiles=u}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash",file:"node_modules/content-hash/src/profiles.js"}],[2032,{"toggle-selection":3290},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("toggle-selection"),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(e,t){var r,o,a,s,u,l,c=!1;t||(t={}),r=t.debug||!1;try{if(a=n(),s=document.createRange(),u=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),l&&document.body.removeChild(l),a()}return c}}}},{package:"copy-to-clipboard",file:"node_modules/copy-to-clipboard/index.js"}],[2067,{"@babel/runtime/helpers/toConsumableArray":201,"is-in-browser":2702},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("is-in-browser")),o=n(e("@babel/runtime/helpers/toConsumableArray")),a="",s="",u="",l="",c=i&&"ontouchstart"in document.documentElement;if(i){var f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},d=document.createElement("p").style;for(var h in f)if(h+"Transform"in d){a=h,s=f[h];break}"Webkit"===a&&"msHyphens"in d&&(a="ms",s=f.ms,l="edge"),"Webkit"===a&&"-apple-trailing-word"in d&&(u="apple")}var p={js:a,css:s,vendor:u,browser:l,isTouch:c};var y={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===p.js?"-webkit-"+e:p.css+e)}},m={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===p.js?p.css+"print-"+e:e)}},b=/[-\s]+(.)?/g;function g(e,t){return t?t.toUpperCase():""}function w(e){return e.replace(b,g)}function v(e){return w("-"+e)}var _,S={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===p.js){var r="mask-image";if(w(r)in t)return e;if(p.js+v(r)in t)return p.css+e}return e}},A={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==p.vendor||p.isTouch?e:p.css+e)}},T={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:p.css+e)}},k={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:p.css+e)}},E={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===p.js||"ms"===p.js&&"edge"!==p.browser?p.css+e:e)}},I={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===p.js||"ms"===p.js||"apple"===p.vendor?p.css+e:e)}},O={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===p.js?"WebkitColumn"+v(e)in t&&p.css+"column-"+e:"Moz"===p.js&&("page"+v(e)in t&&"page-"+e))}},M={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===p.js)return e;var r=e.replace("-inline","");return p.js+v(r)in t&&p.css+r}},x={supportedProperty:function(e,t){return w(e)in t&&e}},j={supportedProperty:function(e,t){var r=v(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:p.js+r in t?p.css+e:"Webkit"!==p.js&&"Webkit"+r in t&&"-webkit-"+e}},P={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===p.js?""+p.css+e:e)}},C={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===p.js?p.css+"scroll-chaining":e)}},N={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},B={supportedProperty:function(e,t){var r=N[e];return!!r&&(p.js+v(r)in t&&p.css+r)}},D={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},R=Object.keys(D),L=function(e){return p.css+e},U={supportedProperty:function(e,t,r){var n=r.multiple;if(R.indexOf(e)>-1){var i=D[e];if(!Array.isArray(i))return p.js+v(i)in t&&p.css+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(p.js+v(i[0])in t))return!1;return i.map(L)}return!1}},F=[y,m,S,A,T,k,E,I,O,M,x,j,P,C,B,U],V=F.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),z=F.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,o(t.noPrefill)),e}),[]),G={};if(i){_=document.createElement("p");var H=window.getComputedStyle(document.documentElement,"");for(var q in H)isNaN(q)||(G[H[q]]=H[q]);z.forEach((function(e){return delete G[e]}))}function W(e,t){if(void 0===t&&(t={}),!_)return e;if(null!=G[e])return G[e];"transition"!==e&&"transform"!==e||(t[e]=e in _.style);for(var r=0;r<V.length&&(G[e]=V[r](e,_.style,t),!G[e]);r++);try{_.style[e]=""}catch(e){return!1}return G[e]}var K,$={},Z={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},X=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Y(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?W(t):", "+W(r);return n||(t||r)}i&&(K=document.createElement("p")),r.prefix=p,r.supportedKeyframes=function(e){return"-"===e[1]||"ms"===p.js?e:"@"+p.css+"keyframes"+e.substr(10)},r.supportedProperty=W,r.supportedValue=function(e,t){var r=t;if(!K||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=$[n])return $[n];try{K.style[e]=r}catch(e){return $[n]=!1,!1}if(Z[e])r=r.replace(X,Y);else if(""===K.style[e]&&("-ms-flex"===(r=p.css+r)&&(K.style[e]="-ms-flexbox"),K.style[e]=r,""===K.style[e]))return $[n]=!1,!1;return K.style[e]="",$[n]=r,$[n]}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor",file:"node_modules/css-vendor/dist/css-vendor.cjs.js"}],[2068,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={AED:{code:"AED",symbol:"د.إ.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},AFN:{code:"AFN",symbol:"؋",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ALL:{code:"ALL",symbol:"Lek",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AMD:{code:"AMD",symbol:"֏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ANG:{code:"ANG",symbol:"ƒ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AOA:{code:"AOA",symbol:"Kz",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ARS:{code:"ARS",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},AUD:{code:"AUD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AWG:{code:"AWG",symbol:"ƒ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},AZN:{code:"AZN",symbol:"₼",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BAM:{code:"BAM",symbol:"КМ",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BBD:{code:"BBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BDT:{code:"BDT",symbol:"৳",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},BGN:{code:"BGN",symbol:"лв.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BHD:{code:"BHD",symbol:"د.ب.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},BIF:{code:"BIF",symbol:"FBu",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},BMD:{code:"BMD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BND:{code:"BND",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},BOB:{code:"BOB",symbol:"Bs",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BRL:{code:"BRL",symbol:"R$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BSD:{code:"BSD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BTC:{code:"BTC",symbol:"Ƀ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BTN:{code:"BTN",symbol:"Nu.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},BWP:{code:"BWP",symbol:"P",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},BYR:{code:"BYR",symbol:"р.",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},BZD:{code:"BZD",symbol:"BZ$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CAD:{code:"CAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CDF:{code:"CDF",symbol:"FC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CHF:{code:"CHF",symbol:"CHF",thousandsSeparator:"'",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CLP:{code:"CLP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CNY:{code:"CNY",symbol:"¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},COP:{code:"COP",symbol:"$",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},CRC:{code:"CRC",symbol:"₡",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CUC:{code:"CUC",symbol:"CUC",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CUP:{code:"CUP",symbol:"$MN",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CVE:{code:"CVE",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},CZK:{code:"CZK",symbol:"Kč",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},DJF:{code:"DJF",symbol:"Fdj",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},DKK:{code:"DKK",symbol:"kr.",thousandsSeparator:"",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},DOP:{code:"DOP",symbol:"RD$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},DZD:{code:"DZD",symbol:"د.ج.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},EGP:{code:"EGP",symbol:"ج.م.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ERN:{code:"ERN",symbol:"Nfk",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ETB:{code:"ETB",symbol:"ETB",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},EUR:{code:"EUR",symbol:"€",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},FJD:{code:"FJD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},FKP:{code:"FKP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GBP:{code:"GBP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GEL:{code:"GEL",symbol:"Lari",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},GHS:{code:"GHS",symbol:"₵",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GIP:{code:"GIP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GMD:{code:"GMD",symbol:"D",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GNF:{code:"GNF",symbol:"FG",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},GTQ:{code:"GTQ",symbol:"Q",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},GYD:{code:"GYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HKD:{code:"HKD",symbol:"HK$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HNL:{code:"HNL",symbol:"L.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},HRK:{code:"HRK",symbol:"kn",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},HTG:{code:"HTG",symbol:"G",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},HUF:{code:"HUF",symbol:"Ft",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},IDR:{code:"IDR",symbol:"Rp",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},ILS:{code:"ILS",symbol:"₪",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},INR:{code:"INR",symbol:"₹",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},IQD:{code:"IQD",symbol:"د.ع.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},IRR:{code:"IRR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:"/",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ISK:{code:"ISK",symbol:"kr.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},JMD:{code:"JMD",symbol:"J$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},JOD:{code:"JOD",symbol:"د.ا.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},JPY:{code:"JPY",symbol:"¥",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KES:{code:"KES",symbol:"KSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KGS:{code:"KGS",symbol:"сом",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},KHR:{code:"KHR",symbol:"៛",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KMF:{code:"KMF",symbol:"CF",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KPW:{code:"KPW",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KRW:{code:"KRW",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},KWD:{code:"KWD",symbol:"د.ك.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},KYD:{code:"KYD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},KZT:{code:"KZT",symbol:"₸",thousandsSeparator:" ",decimalSeparator:"-",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LAK:{code:"LAK",symbol:"₭",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},LBP:{code:"LBP",symbol:"ل.ل.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},LKR:{code:"LKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:0},LRD:{code:"LRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LSL:{code:"LSL",symbol:"M",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},LYD:{code:"LYD",symbol:"د.ل.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:3},MAD:{code:"MAD",symbol:"د.م.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MDL:{code:"MDL",symbol:"lei",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MGA:{code:"MGA",symbol:"Ar",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},MKD:{code:"MKD",symbol:"ден.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},MMK:{code:"MMK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MNT:{code:"MNT",symbol:"₮",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MOP:{code:"MOP",symbol:"MOP$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MRO:{code:"MRO",symbol:"UM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MTL:{code:"MTL",symbol:"₤",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MUR:{code:"MUR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MVR:{code:"MVR",symbol:"MVR",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},MWK:{code:"MWK",symbol:"MK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MXN:{code:"MXN",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MYR:{code:"MYR",symbol:"RM",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},MZN:{code:"MZN",symbol:"MT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},NAD:{code:"NAD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NGN:{code:"NGN",symbol:"₦",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NIO:{code:"NIO",symbol:"C$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},NOK:{code:"NOK",symbol:"kr",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},NPR:{code:"NPR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},NZD:{code:"NZD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},OMR:{code:"OMR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},PAB:{code:"PAB",symbol:"B/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PEN:{code:"PEN",symbol:"S/.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PGK:{code:"PGK",symbol:"K",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PHP:{code:"PHP",symbol:"₱",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PKR:{code:"PKR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},PLN:{code:"PLN",symbol:"zł",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},PYG:{code:"PYG",symbol:"₲",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},QAR:{code:"QAR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RON:{code:"RON",symbol:"lei",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RSD:{code:"RSD",symbol:"Дин.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RUB:{code:"RUB",symbol:"₽",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},RWF:{code:"RWF",symbol:"RWF",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SAR:{code:"SAR",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SBD:{code:"SBD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SCR:{code:"SCR",symbol:"₨",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SDD:{code:"SDD",symbol:"LSd",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SDG:{code:"SDG",symbol:"£‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SEK:{code:"SEK",symbol:"kr",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SGD:{code:"SGD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SHP:{code:"SHP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SLL:{code:"SLL",symbol:"Le",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SOS:{code:"SOS",symbol:"S",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SRD:{code:"SRD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},STD:{code:"STD",symbol:"Db",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SVC:{code:"SVC",symbol:"₡",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},SYP:{code:"SYP",symbol:"£",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},SZL:{code:"SZL",symbol:"E",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},THB:{code:"THB",symbol:"฿",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TJS:{code:"TJS",symbol:"TJS",thousandsSeparator:" ",decimalSeparator:";",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},TMT:{code:"TMT",symbol:"m",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},TND:{code:"TND",symbol:"د.ت.‏",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:3},TOP:{code:"TOP",symbol:"T$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TRY:{code:"TRY",symbol:"TL",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},TTD:{code:"TTD",symbol:"TT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TVD:{code:"TVD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TWD:{code:"TWD",symbol:"NT$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},TZS:{code:"TZS",symbol:"TSh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UAH:{code:"UAH",symbol:"₴",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UGX:{code:"UGX",symbol:"USh",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},USD:{code:"USD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},UYU:{code:"UYU",symbol:"$U",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},UZS:{code:"UZS",symbol:"сўм",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},VEB:{code:"VEB",symbol:"Bs.",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},VEF:{code:"VEF",symbol:"Bs. F.",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},VND:{code:"VND",symbol:"₫",thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:1},VUV:{code:"VUV",symbol:"VT",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:0},WST:{code:"WST",symbol:"WS$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XAF:{code:"XAF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XCD:{code:"XCD",symbol:"$",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XBT:{code:"XBT",symbol:"Ƀ",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XOF:{code:"XOF",symbol:"F",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},XPF:{code:"XPF",symbol:"F",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},YER:{code:"YER",symbol:"﷼",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},ZAR:{code:"ZAR",symbol:"R",thousandsSeparator:" ",decimalSeparator:",",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},ZMW:{code:"ZMW",symbol:"ZK",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},WON:{code:"WON",symbol:"₩",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/currencies.json"}],[2069,{"./index":2070},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./index");t.exports=n.currencies}}},{package:"currency-formatter",file:"node_modules/currency-formatter/currencies.js"}],[2070,{"./currencies.json":2068,"./localeFormats.json":2071,accounting:1670,"locale-currency":2768,"object-assign":2996},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("accounting"),i=e("object-assign"),o=e("locale-currency"),a=e("./currencies.json"),s=e("./localeFormats.json"),u={symbol:"",thousandsSeparator:",",decimalSeparator:".",symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,decimalDigits:2},l={},c=[{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!0,format:{pos:"%s %v",neg:"-%s %v",zero:"%s %v"}},{symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!1,format:{pos:"%v%s",neg:"-%v%s",zero:"%v%s"}},{symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,format:{pos:"%v %s",neg:"-%v %s",zero:"%v %s"}}];function f(e){return a[e]}function d(e){return void 0===e}t.exports={defaultCurrency:u,get currencies(){return Object.keys(a).map((function(e){return a[e]}))},findCurrency:f,format:function(e,t){var r=t.code||t.locale&&o.getCurrency(t.locale),a=/^([a-z]+)([_-]([a-z]+))?$/i.exec(t.locale)||[],h=a[1],p=a[3],y=i({},l,s[h]||{},s[h+"-"+p]||{}),m=i({},u,f(r),y),b=m.symbolOnLeft,g=m.spaceBetweenAmountAndSymbol,w=c.filter((function(e){return e.symbolOnLeft==b&&e.spaceBetweenAmountAndSymbol==g}))[0].format;return n.formatMoney(e,{symbol:d(t.symbol)?m.symbol:t.symbol,decimal:d(t.decimal)?m.decimalSeparator:t.decimal,thousand:d(t.thousand)?m.thousandsSeparator:t.thousand,precision:"number"==typeof t.precision?t.precision:m.decimalDigits,format:["string","object"].indexOf(typeof t.format)>-1?t.format:w})},unformat:function(e,t){var r=t.code||t.locale&&o.getCurrency(t.locale),a=s[t.locale]||l,c=i({},u,f(r),a),h=d(t.decimal)?c.decimalSeparator:t.decimal;return n.unformat(e,h)}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/index.js"}],[2071,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={de:{thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},el:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2},"en-IE":{symbolOnLeft:!0,thousandsSeparator:",",decimalSeparator:".",spaceBetweenAmountAndSymbol:!0,decimalDigits:2},es:{thousandsSeparator:".",decimalSeparator:",",symbolOnLeft:!1,spaceBetweenAmountAndSymbol:!0,decimalDigits:2},it:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2},nl:{symbolOnLeft:!0,spaceBetweenAmountAndSymbol:!1,thousandsSeparator:".",decimalSeparator:",",decimalDigits:2}}}}},{package:"currency-formatter",file:"node_modules/currency-formatter/localeFormats.json"}],[2077,{"is-arguments":2696,"is-date-object":2698,"is-regex":2705,"object-is":2998,"object-keys":3002,"regexp.prototype.flags":3197},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-keys"),i=e("is-arguments"),o=e("object-is"),a=e("is-regex"),s=e("regexp.prototype.flags"),u=e("is-date-object"),l=Date.prototype.getTime;function c(e,t,r){var h=r||{};return!!(h.strict?o(e,t):e===t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?h.strict?o(e,t):e==t:function(e,t,r){var o,h;if(typeof e!=typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var p=a(e),y=a(t);if(p!==y)return!1;if(p||y)return e.source===t.source&&s(e)===s(t);if(u(e)&&u(t))return l.call(e)===l.call(t);var m=d(e),b=d(t);if(m!==b)return!1;if(m||b){if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}if(typeof e!=typeof t)return!1;try{var g=n(e),w=n(t)}catch(e){return!1}if(g.length!==w.length)return!1;for(g.sort(),w.sort(),o=g.length-1;o>=0;o--)if(g[o]!=w[o])return!1;for(o=g.length-1;o>=0;o--)if(!c(e[h=g[o]],t[h],r))return!1;return!0}(e,t,h))}function f(e){return null===e||e===undefined}function d(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}t.exports=c}}},{package:"@metamask/eth-token-tracker>deep-equal",file:"node_modules/deep-equal/index.js"}],[2079,{"has-property-descriptors":2650,"object-keys":3002},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("object-keys"),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=e("has-property-descriptors")(),l=s&&u,c=function(e,t,r,n){var i;(!(t in e)||"function"==typeof(i=n)&&"[object Function]"===o.call(i)&&n())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},f=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],r[o[s]])};f.supportsDescriptors=!!l,t.exports=f}}},{package:"globalthis>define-properties",file:"node_modules/define-properties/index.js"}],[2090,{"./hasClass":2091,"@babel/runtime/helpers/interopRequireDefault":186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("@babel/runtime/helpers/interopRequireDefault");r.__esModule=!0,r.default=function(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var i=n(e("./hasClass"));t.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/addClass.js"}],[2091,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){r.__esModule=!0,r.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},t.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/hasClass.js"}],[2092,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}r.__esModule=!0,r.default=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))},t.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/removeClass.js"}],[2093,{"no-case":2985},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("no-case");t.exports=function(e,t){return n(e,t,".")}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>dot-case",file:"node_modules/dot-case/dot-case.js"}],[2161,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{constant:!1,inputs:[{name:"_new",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[],name:"totalSignatures",outputs:[{name:"",type:"uint256"}],payable:!1,type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[],name:"drain",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"",type:"bytes4"}],name:"entries",outputs:[{name:"",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"_method",type:"string"}],name:"register",outputs:[{name:"",type:"bool"}],payable:!1,type:"function"},{inputs:[],type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"creator",type:"address"},{indexed:!0,name:"signature",type:"bytes4"},{indexed:!1,name:"method",type:"string"}],name:"Registered",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"old",type:"address"},{indexed:!0,name:"current",type:"address"}],name:"NewOwner",type:"event"}]}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/abi.json"}],[2162,{"./abi.json":2161,"./registry-map.json":2163,ethjs:2280},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.MethodRegistry=void 0;const i=n(e("ethjs")),o=n(e("./registry-map.json")),a=n(e("./abi.json"));r.MethodRegistry=class{constructor(e){if(!e.provider)throw new Error("Missing required 'provider' option");this.provider=e.provider,this.eth=new i.default(this.provider);const t=o.default[e.network||"1"];if(!t)throw new Error("No method registry found on the requested network.");this.registry=this.eth.contract(a.default).at(t)}async lookup(e){const t=await this.registry.entries(e);return t?t[0]:undefined}parse(e){const t=e.match(/^([^)(]*)\((.*)\)([^)(]*)$/u);let r;if(r=t?t[1].charAt(0).toUpperCase()+t[1].slice(1).split(/(?=[A-Z])/u).join(" "):"",t){const n=e.match(new RegExp(`${t[1]}\\(+([a-z1-9,()\\[\\]]+)\\)`,"u"));let i,o=[];return n&&(i=n[1].match(/[A-z1-9]+/gu),i&&(o=i.map((e=>({type:e}))))),{name:r,args:o}}return{}}}}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/index.js"}],[2163,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={1:"0x44691B39d1a75dC4E0A0346CBB15E310e6ED1E86"}}}},{package:"eth-method-registry",file:"node_modules/eth-method-registry/dist/registry-map.json"}],[2190,{"./utils":2191},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e("./utils");function i(e){return"string"==typeof e&&(!!/^(0x)?[0-9a-f]{512}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{512}$/.test(e)&&!/^(0x)?[0-9A-F]{512}$/.test(e)))}function o(e,t){"object"==typeof t&&t.constructor===Uint8Array&&(t=n.bytesToHex(t));const r=n.keccak256(t).replace("0x","");for(let t=0;t<12;t+=4){const n=(parseInt(r.substr(t,2),16)<<8)+parseInt(r.substr(t+2,2),16)&2047,i=1<<n%4;if((a(e.charCodeAt(e.length-1-Math.floor(n/4)))&i)!==i)return!1}return!0}function a(e){if(e>=48&&e<=57)return e-48;if(e>=65&&e<=70)return e-55;if(e>=97&&e<=102)return e-87;throw new Error("invalid bloom")}function s(e){return"string"==typeof e&&(!!/^(0x)?[0-9a-f]{64}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{64}$/.test(e)&&!/^(0x)?[0-9A-F]{64}$/.test(e)))}function u(e){return"string"==typeof e&&(!!e.match(/^(0x)?[0-9a-fA-F]{40}$/)||!!e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/))}r.isBloom=i,r.isInBloom=o,r.isUserEthereumAddressInBloom=function(e,t){if(!i(e))throw new Error("Invalid bloom given");if(!u(t))throw new Error(`Invalid ethereum address given: "${t}"`);return o(e,n.padLeft(t,64))},r.isContractAddressInBloom=function(e,t){if(!i(e))throw new Error("Invalid bloom given");if(!u(t))throw new Error(`Invalid contract address given: "${t}"`);return o(e,t)},r.isTopicInBloom=function(e,t){if(!i(e))throw new Error("Invalid bloom given");if(!s(t))throw new Error("Invalid topic");return o(e,t)},r.isTopic=s,r.isAddress=u}}},{package:"@truffle/codec>web3-utils>ethereum-bloom-filters",file:"node_modules/ethereum-bloom-filters/dist/index.js"}],[2191,{"js-sha3":2192},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e("js-sha3");function i(e){if(null==e)throw new Error("cannot convert null value to array");if("string"==typeof e){const t=e.match(/^(0x)?[0-9a-fA-F]*$/);if(!t)throw new Error("invalid hexidecimal string");if("0x"!==t[1])throw new Error("hex string must have 0x prefix");(e=e.substring(2)).length%2&&(e="0"+e);const r=[];for(let t=0;t<e.length;t+=2)r.push(parseInt(e.substr(t,2),16));return o(new Uint8Array(r))}if(function(e){if(!e||parseInt(String(e.length))!=e.length||"string"==typeof e)return!1;for(let t=0;t<e.length;t++){const r=e[t];if(r<0||r>=256||parseInt(String(r))!=r)return!1}return!0}(e))return o(new Uint8Array(e));throw new Error("invalid arrayify value")}function o(e){return e.slice!==undefined||(e.slice=()=>{const t=Array.prototype.slice.call(arguments);return o(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}r.keccak256=function(e){return"0x"+n.keccak_256(i(e))},r.padLeft=(e,t)=>{const r=/^0x/i.test(e)||"number"==typeof e,n=t-(e=e.toString().replace(/^0x/i,"")).length+1>=0?t-e.length+1:0;return(r?"0x":"")+new Array(n).join("0")+e},r.bytesToHex=function(e){const t=[];for(let r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return`0x${t.join("").replace(/^0+/,"")}`},r.toByteArray=i}}},{package:"@truffle/codec>web3-utils>ethereum-bloom-filters",file:"node_modules/ethereum-bloom-filters/dist/utils.js"}],[2192,{_process:3027},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){
/**
 * [js-sha3]{@link https://github.com/emn178/js-sha3}
 *
 * @version 0.8.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2015-2018
 * @license MIT
 */
!function(){var r="input is invalid type",n="object"==typeof window,i=n?window:{};i.JS_SHA3_NO_WINDOW&&(n=!1);var o=!n&&"object"==typeof self;!i.JS_SHA3_NO_NODE_JS&&"object"==typeof e&&e.versions&&e.versions.node?i=global:o&&(i=self);var a=!i.JS_SHA3_NO_COMMON_JS&&"object"==typeof t&&t.exports,s="function"==typeof define&&define.amd,u=!i.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,l="0123456789abcdef".split(""),c=[4,1024,262144,67108864],f=[0,8,16,24],d=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],h=[224,256,384,512],p=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],m={128:168,256:136};!i.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!u||!i.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var b=function(e,t,r){return function(n){return new P(e,t,e).update(n)[r]()}},g=function(e,t,r){return function(n,i){return new P(e,t,i).update(n)[r]()}},w=function(e,t,r){return function(t,n,i,o){return T["cshake"+e].update(t,n,i,o)[r]()}},v=function(e,t,r){return function(t,n,i,o){return T["kmac"+e].update(t,n,i,o)[r]()}},_=function(e,t,r,n){for(var i=0;i<y.length;++i){var o=y[i];e[o]=t(r,n,o)}return e},S=function(e,t){var r=b(e,t,"hex");return r.create=function(){return new P(e,t,e)},r.update=function(e){return r.create().update(e)},_(r,b,e,t)},A=[{name:"keccak",padding:[1,256,65536,16777216],bits:h,createMethod:S},{name:"sha3",padding:[6,1536,393216,100663296],bits:h,createMethod:S},{name:"shake",padding:[31,7936,2031616,520093696],bits:p,createMethod:function(e,t){var r=g(e,t,"hex");return r.create=function(r){return new P(e,t,r)},r.update=function(e,t){return r.create(t).update(e)},_(r,g,e,t)}},{name:"cshake",padding:c,bits:p,createMethod:function(e,t){var r=m[e],n=w(e,0,"hex");return n.create=function(n,i,o){return i||o?new P(e,t,n).bytepad([i,o],r):T["shake"+e].create(n)},n.update=function(e,t,r,i){return n.create(t,r,i).update(e)},_(n,w,e,t)}},{name:"kmac",padding:c,bits:p,createMethod:function(e,t){var r=m[e],n=v(e,0,"hex");return n.create=function(n,i,o){return new C(e,t,i).bytepad(["KMAC",o],r).bytepad([n],r)},n.update=function(e,t,r,i){return n.create(e,r,i).update(t)},_(n,v,e,t)}}],T={},k=[],E=0;E<A.length;++E)for(var I=A[E],O=I.bits,M=0;M<O.length;++M){var x=I.name+"_"+O[M];if(k.push(x),T[x]=I.createMethod(O[M],I.padding),"sha3"!==I.name){var j=I.name+O[M];k.push(j),T[j]=T[x]}}function P(e,t,r){this.blocks=[],this.s=[],this.padding=t,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function C(e,t,r){P.call(this,e,t,r)}P.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(r);if(null===e)throw new Error(r);if(u&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||u&&ArrayBuffer.isView(e)))throw new Error(r);t=!0}for(var i,o,a=this.blocks,s=this.byteCount,l=e.length,c=this.blockCount,d=0,h=this.s;d<l;){if(this.reset)for(this.reset=!1,a[0]=this.block,i=1;i<c+1;++i)a[i]=0;if(t)for(i=this.start;d<l&&i<s;++d)a[i>>2]|=e[d]<<f[3&i++];else for(i=this.start;d<l&&i<s;++d)(o=e.charCodeAt(d))<128?a[i>>2]|=o<<f[3&i++]:o<2048?(a[i>>2]|=(192|o>>6)<<f[3&i++],a[i>>2]|=(128|63&o)<<f[3&i++]):o<55296||o>=57344?(a[i>>2]|=(224|o>>12)<<f[3&i++],a[i>>2]|=(128|o>>6&63)<<f[3&i++],a[i>>2]|=(128|63&o)<<f[3&i++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++d)),a[i>>2]|=(240|o>>18)<<f[3&i++],a[i>>2]|=(128|o>>12&63)<<f[3&i++],a[i>>2]|=(128|o>>6&63)<<f[3&i++],a[i>>2]|=(128|63&o)<<f[3&i++]);if(this.lastByteIndex=i,i>=s){for(this.start=i-s,this.block=a[c],i=0;i<c;++i)h[i]^=a[i];N(h),this.reset=!0}else this.start=i}return this},P.prototype.encode=function(e,t){var r=255&e,n=1,i=[r];for(r=255&(e>>=8);r>0;)i.unshift(r),r=255&(e>>=8),++n;return t?i.push(n):i.unshift(n),this.update(i),i.length},P.prototype.encodeString=function(e){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(r);if(null===e)throw new Error(r);if(u&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||u&&ArrayBuffer.isView(e)))throw new Error(r);t=!0}var i=0,o=e.length;if(t)i=o;else for(var a=0;a<e.length;++a){var s=e.charCodeAt(a);s<128?i+=1:s<2048?i+=2:s<55296||s>=57344?i+=3:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++a)),i+=4)}return i+=this.encode(8*i),this.update(e),i},P.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n<e.length;++n)r+=this.encodeString(e[n]);var i=t-r%t,o=[];return o.length=i,this.update(o),this},P.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,r=this.blockCount,n=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t<r+1;++t)e[t]=0;for(e[r-1]|=2147483648,t=0;t<r;++t)n[t]^=e[t];N(n)}},P.prototype.toString=P.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s="";a<n;){for(o=0;o<t&&a<n;++o,++a)e=r[o],s+=l[e>>4&15]+l[15&e]+l[e>>12&15]+l[e>>8&15]+l[e>>20&15]+l[e>>16&15]+l[e>>28&15]+l[e>>24&15];a%t==0&&(N(r),o=0)}return i&&(e=r[o],s+=l[e>>4&15]+l[15&e],i>1&&(s+=l[e>>12&15]+l[e>>8&15]),i>2&&(s+=l[e>>20&15]+l[e>>16&15])),s},P.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(e);a<n;){for(o=0;o<t&&a<n;++o,++a)u[a]=r[o];a%t==0&&N(r)}return i&&(u[o]=r[o],e=e.slice(0,s)),e},P.prototype.buffer=P.prototype.arrayBuffer,P.prototype.digest=P.prototype.array=function(){this.finalize();for(var e,t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,u=[];s<i;){for(a=0;a<r&&s<i;++a,++s)e=s<<2,t=n[a],u[e]=255&t,u[e+1]=t>>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;s%r==0&&N(n)}return o&&(e=s<<2,t=n[a],u[e]=255&t,o>1&&(u[e+1]=t>>8&255),o>2&&(u[e+2]=t>>16&255)),u},C.prototype=new P,C.prototype.finalize=function(){return this.encode(this.outputBits,!0),P.prototype.finalize.call(this)};var N=function(e){var t,r,n,i,o,a,s,u,l,c,f,h,p,y,m,b,g,w,v,_,S,A,T,k,E,I,O,M,x,j,P,C,N,B,D,R,L,U,F,V,z,G,H,q,W,K,$,Z,X,Y,J,Q,ee,te,re,ne,ie,oe,ae,se,ue,le,ce;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(h=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|s>>>31),r=(p=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|a>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(u<<1|l>>>31),r=o^(l<<1|u>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=a^(c<<1|f>>>31),r=s^(f<<1|c>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=u^(h<<1|p>>>31),r=l^(p<<1|h>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=c^(i<<1|o>>>31),r=f^(o<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,y=e[0],m=e[1],K=e[11]<<4|e[10]>>>28,$=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,x=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,G=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,B=e[2]<<1|e[3]>>>31,D=e[3]<<1|e[2]>>>31,b=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,Z=e[22]<<10|e[23]>>>22,X=e[23]<<10|e[22]>>>22,j=e[33]<<13|e[32]>>>19,P=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ce=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,R=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,w=e[25]<<11|e[24]>>>21,v=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,J=e[35]<<15|e[34]>>>17,C=e[45]<<29|e[44]>>>3,N=e[44]<<29|e[45]>>>3,k=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,S=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,q=e[8]<<27|e[9]>>>5,W=e[9]<<27|e[8]>>>5,I=e[18]<<20|e[19]>>>12,O=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,V=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,A=e[48]<<14|e[49]>>>18,T=e[49]<<14|e[48]>>>18,e[0]=y^~b&w,e[1]=m^~g&v,e[10]=k^~I&M,e[11]=E^~O&x,e[20]=B^~R&U,e[21]=D^~L&F,e[30]=q^~K&Z,e[31]=W^~$&X,e[40]=te^~ne&oe,e[41]=re^~ie&ae,e[2]=b^~w&_,e[3]=g^~v&S,e[12]=I^~M&j,e[13]=O^~x&P,e[22]=R^~U&V,e[23]=L^~F&z,e[32]=K^~Z&Y,e[33]=$^~X&J,e[42]=ne^~oe&se,e[43]=ie^~ae&ue,e[4]=w^~_&A,e[5]=v^~S&T,e[14]=M^~j&C,e[15]=x^~P&N,e[24]=U^~V&G,e[25]=F^~z&H,e[34]=Z^~Y&Q,e[35]=X^~J&ee,e[44]=oe^~se&le,e[45]=ae^~ue&ce,e[6]=_^~A&y,e[7]=S^~T&m,e[16]=j^~C&k,e[17]=P^~N&E,e[26]=V^~G&B,e[27]=z^~H&D,e[36]=Y^~Q&q,e[37]=J^~ee&W,e[46]=se^~le&te,e[47]=ue^~ce&re,e[8]=A^~y&b,e[9]=T^~m&g,e[18]=C^~k&I,e[19]=N^~E&O,e[28]=G^~B&R,e[29]=H^~D&L,e[38]=Q^~q&K,e[39]=ee^~W&$,e[48]=le^~te&ne,e[49]=ce^~re&ie,e[0]^=d[n],e[1]^=d[n+1]};if(a)t.exports=T;else{for(E=0;E<k.length;++E)i[k[E]]=T[k[E]];s&&define((function(){return T}))}}()}).call(this)}).call(this,e("_process"))}}},{package:"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3",file:"node_modules/ethereum-bloom-filters/node_modules/js-sha3/src/sha3.js"}],[2261,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="ethers/5.7.2"}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers",file:"node_modules/ethers/lib/_version.js"}],[2262,{"./_version":2261,"./utils":2264,"@ethersproject/abstract-signer":401,"@ethersproject/bignumber":410,"@ethersproject/constants":417,"@ethersproject/contracts":420,"@ethersproject/logger":442,"@ethersproject/providers":459,"@ethersproject/wallet":493,"@ethersproject/wordlists":498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.version=r.wordlists=r.utils=r.logger=r.errors=r.constants=r.FixedNumber=r.BigNumber=r.ContractFactory=r.Contract=r.BaseContract=r.providers=r.getDefaultProvider=r.VoidSigner=r.Wallet=r.Signer=void 0;var a=e("@ethersproject/contracts");Object.defineProperty(r,"BaseContract",{enumerable:!0,get:function(){return a.BaseContract}}),Object.defineProperty(r,"Contract",{enumerable:!0,get:function(){return a.Contract}}),Object.defineProperty(r,"ContractFactory",{enumerable:!0,get:function(){return a.ContractFactory}});var s=e("@ethersproject/bignumber");Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return s.BigNumber}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return s.FixedNumber}});var u=e("@ethersproject/abstract-signer");Object.defineProperty(r,"Signer",{enumerable:!0,get:function(){return u.Signer}}),Object.defineProperty(r,"VoidSigner",{enumerable:!0,get:function(){return u.VoidSigner}});var l=e("@ethersproject/wallet");Object.defineProperty(r,"Wallet",{enumerable:!0,get:function(){return l.Wallet}});var c=o(e("@ethersproject/constants"));r.constants=c;var f=o(e("@ethersproject/providers"));r.providers=f;var d=e("@ethersproject/providers");Object.defineProperty(r,"getDefaultProvider",{enumerable:!0,get:function(){return d.getDefaultProvider}});var h=e("@ethersproject/wordlists");Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return h.Wordlist}}),Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return h.wordlists}});var p=o(e("./utils"));r.utils=p;var y=e("@ethersproject/logger");Object.defineProperty(r,"errors",{enumerable:!0,get:function(){return y.ErrorCode}});var m=e("./_version");Object.defineProperty(r,"version",{enumerable:!0,get:function(){return m.version}});var b=new y.Logger(m.version);r.logger=b}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers",file:"node_modules/ethers/lib/ethers.js"}],[2263,{"./ethers":2262},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.version=r.wordlists=r.utils=r.logger=r.errors=r.constants=r.FixedNumber=r.BigNumber=r.ContractFactory=r.Contract=r.BaseContract=r.providers=r.getDefaultProvider=r.VoidSigner=r.Wallet=r.Signer=r.ethers=void 0;var a=o(e("./ethers"));r.ethers=a;try{var s=window;null==s._ethers&&(s._ethers=a)}catch(e){}var u=e("./ethers");Object.defineProperty(r,"Signer",{enumerable:!0,get:function(){return u.Signer}}),Object.defineProperty(r,"Wallet",{enumerable:!0,get:function(){return u.Wallet}}),Object.defineProperty(r,"VoidSigner",{enumerable:!0,get:function(){return u.VoidSigner}}),Object.defineProperty(r,"getDefaultProvider",{enumerable:!0,get:function(){return u.getDefaultProvider}}),Object.defineProperty(r,"providers",{enumerable:!0,get:function(){return u.providers}}),Object.defineProperty(r,"BaseContract",{enumerable:!0,get:function(){return u.BaseContract}}),Object.defineProperty(r,"Contract",{enumerable:!0,get:function(){return u.Contract}}),Object.defineProperty(r,"ContractFactory",{enumerable:!0,get:function(){return u.ContractFactory}}),Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return u.BigNumber}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return u.FixedNumber}}),Object.defineProperty(r,"constants",{enumerable:!0,get:function(){return u.constants}}),Object.defineProperty(r,"errors",{enumerable:!0,get:function(){return u.errors}}),Object.defineProperty(r,"logger",{enumerable:!0,get:function(){return u.logger}}),Object.defineProperty(r,"utils",{enumerable:!0,get:function(){return u.utils}}),Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return u.wordlists}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return u.version}}),Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return u.Wordlist}})}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers",file:"node_modules/ethers/lib/index.js"}],[2264,{"@ethersproject/abi":396,"@ethersproject/address":403,"@ethersproject/base64":405,"@ethersproject/basex":406,"@ethersproject/bytes":413,"@ethersproject/hash":426,"@ethersproject/hdnode":431,"@ethersproject/json-wallets":434,"@ethersproject/keccak256":439,"@ethersproject/logger":442,"@ethersproject/properties":448,"@ethersproject/random":470,"@ethersproject/rlp":473,"@ethersproject/sha2":476,"@ethersproject/signing-key":480,"@ethersproject/solidity":482,"@ethersproject/strings":486,"@ethersproject/transactions":489,"@ethersproject/units":491,"@ethersproject/wallet":493,"@ethersproject/web":496},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.formatBytes32String=r.Utf8ErrorFuncs=r.toUtf8String=r.toUtf8CodePoints=r.toUtf8Bytes=r._toEscapedUtf8String=r.nameprep=r.hexDataSlice=r.hexDataLength=r.hexZeroPad=r.hexValue=r.hexStripZeros=r.hexConcat=r.isHexString=r.hexlify=r.base64=r.base58=r.TransactionDescription=r.LogDescription=r.Interface=r.SigningKey=r.HDNode=r.defaultPath=r.isBytesLike=r.isBytes=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.shallowCopy=r.resolveProperties=r.getStatic=r.defineReadOnly=r.deepCopy=r.checkProperties=r.poll=r.fetchJson=r._fetchData=r.RLP=r.Logger=r.checkResultErrors=r.FormatTypes=r.ParamType=r.FunctionFragment=r.EventFragment=r.ErrorFragment=r.ConstructorFragment=r.Fragment=r.defaultAbiCoder=r.AbiCoder=void 0,r.Indexed=r.Utf8ErrorReason=r.UnicodeNormalizationForm=r.SupportedAlgorithm=r.mnemonicToSeed=r.isValidMnemonic=r.entropyToMnemonic=r.mnemonicToEntropy=r.getAccountPath=r.verifyTypedData=r.verifyMessage=r.recoverPublicKey=r.computePublicKey=r.recoverAddress=r.computeAddress=r.getJsonWalletAddress=r.TransactionTypes=r.serializeTransaction=r.parseTransaction=r.accessListify=r.joinSignature=r.splitSignature=r.soliditySha256=r.solidityKeccak256=r.solidityPack=r.shuffled=r.randomBytes=r.sha512=r.sha256=r.ripemd160=r.keccak256=r.computeHmac=r.commify=r.parseUnits=r.formatUnits=r.parseEther=r.formatEther=r.isAddress=r.getCreate2Address=r.getContractAddress=r.getIcapAddress=r.getAddress=r._TypedDataEncoder=r.id=r.isValidName=r.namehash=r.hashMessage=r.dnsEncode=r.parseBytes32String=void 0;var a=e("@ethersproject/abi");Object.defineProperty(r,"AbiCoder",{enumerable:!0,get:function(){return a.AbiCoder}}),Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return a.checkResultErrors}}),Object.defineProperty(r,"ConstructorFragment",{enumerable:!0,get:function(){return a.ConstructorFragment}}),Object.defineProperty(r,"defaultAbiCoder",{enumerable:!0,get:function(){return a.defaultAbiCoder}}),Object.defineProperty(r,"ErrorFragment",{enumerable:!0,get:function(){return a.ErrorFragment}}),Object.defineProperty(r,"EventFragment",{enumerable:!0,get:function(){return a.EventFragment}}),Object.defineProperty(r,"FormatTypes",{enumerable:!0,get:function(){return a.FormatTypes}}),Object.defineProperty(r,"Fragment",{enumerable:!0,get:function(){return a.Fragment}}),Object.defineProperty(r,"FunctionFragment",{enumerable:!0,get:function(){return a.FunctionFragment}}),Object.defineProperty(r,"Indexed",{enumerable:!0,get:function(){return a.Indexed}}),Object.defineProperty(r,"Interface",{enumerable:!0,get:function(){return a.Interface}}),Object.defineProperty(r,"LogDescription",{enumerable:!0,get:function(){return a.LogDescription}}),Object.defineProperty(r,"ParamType",{enumerable:!0,get:function(){return a.ParamType}}),Object.defineProperty(r,"TransactionDescription",{enumerable:!0,get:function(){return a.TransactionDescription}});var s=e("@ethersproject/address");Object.defineProperty(r,"getAddress",{enumerable:!0,get:function(){return s.getAddress}}),Object.defineProperty(r,"getCreate2Address",{enumerable:!0,get:function(){return s.getCreate2Address}}),Object.defineProperty(r,"getContractAddress",{enumerable:!0,get:function(){return s.getContractAddress}}),Object.defineProperty(r,"getIcapAddress",{enumerable:!0,get:function(){return s.getIcapAddress}}),Object.defineProperty(r,"isAddress",{enumerable:!0,get:function(){return s.isAddress}});var u=o(e("@ethersproject/base64"));r.base64=u;var l=e("@ethersproject/basex");Object.defineProperty(r,"base58",{enumerable:!0,get:function(){return l.Base58}});var c=e("@ethersproject/bytes");Object.defineProperty(r,"arrayify",{enumerable:!0,get:function(){return c.arrayify}}),Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return c.concat}}),Object.defineProperty(r,"hexConcat",{enumerable:!0,get:function(){return c.hexConcat}}),Object.defineProperty(r,"hexDataSlice",{enumerable:!0,get:function(){return c.hexDataSlice}}),Object.defineProperty(r,"hexDataLength",{enumerable:!0,get:function(){return c.hexDataLength}}),Object.defineProperty(r,"hexlify",{enumerable:!0,get:function(){return c.hexlify}}),Object.defineProperty(r,"hexStripZeros",{enumerable:!0,get:function(){return c.hexStripZeros}}),Object.defineProperty(r,"hexValue",{enumerable:!0,get:function(){return c.hexValue}}),Object.defineProperty(r,"hexZeroPad",{enumerable:!0,get:function(){return c.hexZeroPad}}),Object.defineProperty(r,"isBytes",{enumerable:!0,get:function(){return c.isBytes}}),Object.defineProperty(r,"isBytesLike",{enumerable:!0,get:function(){return c.isBytesLike}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return c.isHexString}}),Object.defineProperty(r,"joinSignature",{enumerable:!0,get:function(){return c.joinSignature}}),Object.defineProperty(r,"zeroPad",{enumerable:!0,get:function(){return c.zeroPad}}),Object.defineProperty(r,"splitSignature",{enumerable:!0,get:function(){return c.splitSignature}}),Object.defineProperty(r,"stripZeros",{enumerable:!0,get:function(){return c.stripZeros}});var f=e("@ethersproject/hash");Object.defineProperty(r,"_TypedDataEncoder",{enumerable:!0,get:function(){return f._TypedDataEncoder}}),Object.defineProperty(r,"dnsEncode",{enumerable:!0,get:function(){return f.dnsEncode}}),Object.defineProperty(r,"hashMessage",{enumerable:!0,get:function(){return f.hashMessage}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return f.id}}),Object.defineProperty(r,"isValidName",{enumerable:!0,get:function(){return f.isValidName}}),Object.defineProperty(r,"namehash",{enumerable:!0,get:function(){return f.namehash}});var d=e("@ethersproject/hdnode");Object.defineProperty(r,"defaultPath",{enumerable:!0,get:function(){return d.defaultPath}}),Object.defineProperty(r,"entropyToMnemonic",{enumerable:!0,get:function(){return d.entropyToMnemonic}}),Object.defineProperty(r,"getAccountPath",{enumerable:!0,get:function(){return d.getAccountPath}}),Object.defineProperty(r,"HDNode",{enumerable:!0,get:function(){return d.HDNode}}),Object.defineProperty(r,"isValidMnemonic",{enumerable:!0,get:function(){return d.isValidMnemonic}}),Object.defineProperty(r,"mnemonicToEntropy",{enumerable:!0,get:function(){return d.mnemonicToEntropy}}),Object.defineProperty(r,"mnemonicToSeed",{enumerable:!0,get:function(){return d.mnemonicToSeed}});var h=e("@ethersproject/json-wallets");Object.defineProperty(r,"getJsonWalletAddress",{enumerable:!0,get:function(){return h.getJsonWalletAddress}});var p=e("@ethersproject/keccak256");Object.defineProperty(r,"keccak256",{enumerable:!0,get:function(){return p.keccak256}});var y=e("@ethersproject/logger");Object.defineProperty(r,"Logger",{enumerable:!0,get:function(){return y.Logger}});var m=e("@ethersproject/sha2");Object.defineProperty(r,"computeHmac",{enumerable:!0,get:function(){return m.computeHmac}}),Object.defineProperty(r,"ripemd160",{enumerable:!0,get:function(){return m.ripemd160}}),Object.defineProperty(r,"sha256",{enumerable:!0,get:function(){return m.sha256}}),Object.defineProperty(r,"sha512",{enumerable:!0,get:function(){return m.sha512}});var b=e("@ethersproject/solidity");Object.defineProperty(r,"solidityKeccak256",{enumerable:!0,get:function(){return b.keccak256}}),Object.defineProperty(r,"solidityPack",{enumerable:!0,get:function(){return b.pack}}),Object.defineProperty(r,"soliditySha256",{enumerable:!0,get:function(){return b.sha256}});var g=e("@ethersproject/random");Object.defineProperty(r,"randomBytes",{enumerable:!0,get:function(){return g.randomBytes}}),Object.defineProperty(r,"shuffled",{enumerable:!0,get:function(){return g.shuffled}});var w=e("@ethersproject/properties");Object.defineProperty(r,"checkProperties",{enumerable:!0,get:function(){return w.checkProperties}}),Object.defineProperty(r,"deepCopy",{enumerable:!0,get:function(){return w.deepCopy}}),Object.defineProperty(r,"defineReadOnly",{enumerable:!0,get:function(){return w.defineReadOnly}}),Object.defineProperty(r,"getStatic",{enumerable:!0,get:function(){return w.getStatic}}),Object.defineProperty(r,"resolveProperties",{enumerable:!0,get:function(){return w.resolveProperties}}),Object.defineProperty(r,"shallowCopy",{enumerable:!0,get:function(){return w.shallowCopy}});var v=o(e("@ethersproject/rlp"));r.RLP=v;var _=e("@ethersproject/signing-key");Object.defineProperty(r,"computePublicKey",{enumerable:!0,get:function(){return _.computePublicKey}}),Object.defineProperty(r,"recoverPublicKey",{enumerable:!0,get:function(){return _.recoverPublicKey}}),Object.defineProperty(r,"SigningKey",{enumerable:!0,get:function(){return _.SigningKey}});var S=e("@ethersproject/strings");Object.defineProperty(r,"formatBytes32String",{enumerable:!0,get:function(){return S.formatBytes32String}}),Object.defineProperty(r,"nameprep",{enumerable:!0,get:function(){return S.nameprep}}),Object.defineProperty(r,"parseBytes32String",{enumerable:!0,get:function(){return S.parseBytes32String}}),Object.defineProperty(r,"_toEscapedUtf8String",{enumerable:!0,get:function(){return S._toEscapedUtf8String}}),Object.defineProperty(r,"toUtf8Bytes",{enumerable:!0,get:function(){return S.toUtf8Bytes}}),Object.defineProperty(r,"toUtf8CodePoints",{enumerable:!0,get:function(){return S.toUtf8CodePoints}}),Object.defineProperty(r,"toUtf8String",{enumerable:!0,get:function(){return S.toUtf8String}}),Object.defineProperty(r,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return S.Utf8ErrorFuncs}});var A=e("@ethersproject/transactions");Object.defineProperty(r,"accessListify",{enumerable:!0,get:function(){return A.accessListify}}),Object.defineProperty(r,"computeAddress",{enumerable:!0,get:function(){return A.computeAddress}}),Object.defineProperty(r,"parseTransaction",{enumerable:!0,get:function(){return A.parse}}),Object.defineProperty(r,"recoverAddress",{enumerable:!0,get:function(){return A.recoverAddress}}),Object.defineProperty(r,"serializeTransaction",{enumerable:!0,get:function(){return A.serialize}}),Object.defineProperty(r,"TransactionTypes",{enumerable:!0,get:function(){return A.TransactionTypes}});var T=e("@ethersproject/units");Object.defineProperty(r,"commify",{enumerable:!0,get:function(){return T.commify}}),Object.defineProperty(r,"formatEther",{enumerable:!0,get:function(){return T.formatEther}}),Object.defineProperty(r,"parseEther",{enumerable:!0,get:function(){return T.parseEther}}),Object.defineProperty(r,"formatUnits",{enumerable:!0,get:function(){return T.formatUnits}}),Object.defineProperty(r,"parseUnits",{enumerable:!0,get:function(){return T.parseUnits}});var k=e("@ethersproject/wallet");Object.defineProperty(r,"verifyMessage",{enumerable:!0,get:function(){return k.verifyMessage}}),Object.defineProperty(r,"verifyTypedData",{enumerable:!0,get:function(){return k.verifyTypedData}});var E=e("@ethersproject/web");Object.defineProperty(r,"_fetchData",{enumerable:!0,get:function(){return E._fetchData}}),Object.defineProperty(r,"fetchJson",{enumerable:!0,get:function(){return E.fetchJson}}),Object.defineProperty(r,"poll",{enumerable:!0,get:function(){return E.poll}});var I=e("@ethersproject/sha2");Object.defineProperty(r,"SupportedAlgorithm",{enumerable:!0,get:function(){return I.SupportedAlgorithm}});var O=e("@ethersproject/strings");Object.defineProperty(r,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return O.UnicodeNormalizationForm}}),Object.defineProperty(r,"Utf8ErrorReason",{enumerable:!0,get:function(){return O.Utf8ErrorReason}})}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers",file:"node_modules/ethers/lib/utils.js"}],[2273,{xhr2:3388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("xhr2");function i(e,t){if(!(this instanceof i))throw new Error('[ethjs-provider-http] the HttpProvider instance requires the "new" flag in order to function normally (e.g. `const eth = new Eth(new HttpProvider());`).');if("string"!=typeof e)throw new Error('[ethjs-provider-http] the HttpProvider instance requires that the host be specified (e.g. `new HttpProvider("http://localhost:8545")` or via service like infura `new HttpProvider("http://ropsten.infura.io")`)');this.host=e,this.timeout=t||0}i.prototype.sendAsync=function(e,t){var r=this,i=new n;i.timeout=r.timeout,i.open("POST",r.host,!0),i.setRequestHeader("Content-Type","application/json"),i.onreadystatechange=function(){if(4===i.readyState&&1!==i.timeout){var e=i.responseText,n=null;try{e=JSON.parse(e)}catch(e){n=function(e,t){var r=new Error("[ethjs-provider-http] Invalid JSON RPC response from provider\n    host: "+t+"\n    response: "+String(e.responseText)+" "+JSON.stringify(e.responseText,null,2)+"\n    responseURL: "+e.responseURL+"\n    status: "+e.status+"\n    statusText: "+e.statusText+"\n  ");return r.value=e,r}(i,r.host)}t(n,e)}},i.ontimeout=function(){t("[ethjs-provider-http] CONNECTION TIMEOUT: http request timeout after "+r.timeout+" ms. (i.e. your connect has timed out for whatever reason, check your provider).",null)};try{i.send(JSON.stringify(e))}catch(e){t("[ethjs-provider-http] CONNECTION ERROR: Couldn't connect to node '"+r.host+"': "+JSON.stringify(e,null,2),null)}},t.exports=i}}},{package:"ethjs>ethjs-provider-http",file:"node_modules/ethjs-provider-http/lib/index.js"}],[2280,{"./lib/getTransactionSuccess.js":2281,"bn.js":2282,buffer:1943,"ethjs-abi":2283,"ethjs-contract":2270,"ethjs-filter":2271,"ethjs-provider-http":2273,"ethjs-query":2274,"ethjs-unit":2277,"ethjs-util":2279,"js-sha3":2716,"number-to-bn":2994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("ethjs-query"),i=e("ethjs-filter"),o=e("ethjs-contract"),a=e("ethjs-provider-http"),s=e("ethjs-abi"),u=e("ethjs-unit"),l=e("js-sha3").keccak_256,c=e("number-to-bn"),f=e("bn.js"),d=e("ethjs-util"),h=e("./lib/getTransactionSuccess.js");function p(e,t){if(!(this instanceof p))throw new Error('[ethjs] the Eth object requires you construct it with the "new" flag (i.e. `const eth = new Eth(...);`).');var r=this;r.options=t||{};var a=new n(e,r.options.query);Object.keys(Object.getPrototypeOf(a)).forEach((function(e){r[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return a[e].apply(a,r)}})),r.filter=new i(a,r.options.query),r.contract=new o(a,r.options.query),r.currentProvider=a.rpc.currentProvider,r.setProvider=a.setProvider,r.getTransactionSuccess=h(r)}t.exports=p,p.BN=f,p.isAddress=function(e){return d.isHexString(e,20)},p.keccak256=function(e){return"0x"+l(e)},p.Buffer=r,p.isHexString=d.isHexString,p.fromWei=u.fromWei,p.toWei=u.toWei,p.toBN=c,p.abi=s,p.fromAscii=d.fromAscii,p.toAscii=d.toAscii,p.fromUtf8=d.fromUtf8,p.toUtf8=d.toUtf8,p.HttpProvider=a}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethjs",file:"node_modules/ethjs/lib/index.js"}],[2281,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return function(t,r){var n=0,i=e.options.timeout||8e5,o=e.options.interval||7e3,a=new Promise((function(r,a){var s=setInterval((function(){(e.getTransactionReceipt(t,(function(e,t){e&&(clearInterval(s),a(e)),!e&&t&&(clearInterval(s),r(t))})),n>=i)&&(clearInterval(s),a("Receipt timeout waiting for tx hash: "+t));n+=o}),o)}));return r&&a.then((function(e){return r(null,e)})).catch((function(e){return r(e,null)})),r?null:a}}}}},{package:"ethjs",file:"node_modules/ethjs/lib/lib/getTransactionSuccess.js"}],[2282,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;try{a=e("buf"+"fer").Buffer}catch(e){}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var f=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)f*=t;this.imuln(f),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[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],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var l=1;l<n;l++){for(var c=u>>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&a}r.words[l]=0|f,u=0|c}return 0!==u?r.words[l]=0|u:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var d=c[e],h=f[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var y=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?y+r:l[d-y.length]+y+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var 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&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s<o;s++)l[s]=0}else{for(s=0;s<o-i;s++)l[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[o-s-1]=a}return l},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},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;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.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 r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.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,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.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){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.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 r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,i,o,a=e.words,s=t.words,u=r.words,l=0,c=0|a[0],f=8191&c,d=c>>>13,h=0|a[1],p=8191&h,y=h>>>13,m=0|a[2],b=8191&m,g=m>>>13,w=0|a[3],v=8191&w,_=w>>>13,S=0|a[4],A=8191&S,T=S>>>13,k=0|a[5],E=8191&k,I=k>>>13,O=0|a[6],M=8191&O,x=O>>>13,j=0|a[7],P=8191&j,C=j>>>13,N=0|a[8],B=8191&N,D=N>>>13,R=0|a[9],L=8191&R,U=R>>>13,F=0|s[0],V=8191&F,z=F>>>13,G=0|s[1],H=8191&G,q=G>>>13,W=0|s[2],K=8191&W,$=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],fe=8191&ce,de=ce>>>13,he=0|s[9],pe=8191&he,ye=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(l+(n=Math.imul(f,V))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,V)|0))<<13)|0;l=((o=Math.imul(d,z))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,V),i=(i=Math.imul(p,z))+Math.imul(y,V)|0,o=Math.imul(y,z);var be=(l+(n=n+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,q)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,q)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,V),i=(i=Math.imul(b,z))+Math.imul(g,V)|0,o=Math.imul(g,z),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(y,H)|0,o=o+Math.imul(y,q)|0;var ge=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,K)|0))<<13)|0;l=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(v,V),i=(i=Math.imul(v,z))+Math.imul(_,V)|0,o=Math.imul(_,z),n=n+Math.imul(b,H)|0,i=(i=i+Math.imul(b,q)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,q)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,$)|0;var we=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(A,V),i=(i=Math.imul(A,z))+Math.imul(T,V)|0,o=Math.imul(T,z),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,q)|0,n=n+Math.imul(b,K)|0,i=(i=i+Math.imul(b,$)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,$)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0;var ve=(l+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,V),i=(i=Math.imul(E,z))+Math.imul(I,V)|0,o=Math.imul(I,z),n=n+Math.imul(A,H)|0,i=(i=i+Math.imul(A,q)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,q)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(_,K)|0,o=o+Math.imul(_,$)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0;var _e=(l+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;l=((o=o+Math.imul(d,ne)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(M,V),i=(i=Math.imul(M,z))+Math.imul(x,V)|0,o=Math.imul(x,z),n=n+Math.imul(E,H)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,q)|0,n=n+Math.imul(A,K)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,$)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0;var Se=(l+(n=n+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,V),i=(i=Math.imul(P,z))+Math.imul(C,V)|0,o=Math.imul(C,z),n=n+Math.imul(M,H)|0,i=(i=i+Math.imul(M,q)|0)+Math.imul(x,H)|0,o=o+Math.imul(x,q)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,$)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,$)|0,n=n+Math.imul(A,X)|0,i=(i=i+Math.imul(A,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0;var Ae=(l+(n=n+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,z))+Math.imul(D,V)|0,o=Math.imul(D,z),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,q)|0,n=n+Math.imul(M,K)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,$)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Y)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(_,re)|0,o=o+Math.imul(_,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,n=n+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0;var Te=(l+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(L,V),i=(i=Math.imul(L,z))+Math.imul(U,V)|0,o=Math.imul(U,z),n=n+Math.imul(B,H)|0,i=(i=i+Math.imul(B,q)|0)+Math.imul(D,H)|0,o=o+Math.imul(D,q)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,$)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,$)|0,n=n+Math.imul(M,X)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,n=n+Math.imul(b,ue)|0,i=(i=i+Math.imul(b,le)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,le)|0,n=n+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,de)|0;var ke=(l+(n=n+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ye)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,ye)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,q))+Math.imul(U,H)|0,o=Math.imul(U,q),n=n+Math.imul(B,K)|0,i=(i=i+Math.imul(B,$)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,$)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Y)|0,n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=(i=i+Math.imul(E,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,n=n+Math.imul(b,fe)|0,i=(i=i+Math.imul(b,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Ee=(l+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ye)|0)+Math.imul(y,pe)|0))<<13)|0;l=((o=o+Math.imul(y,ye)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,K),i=(i=Math.imul(L,$))+Math.imul(U,K)|0,o=Math.imul(U,$),n=n+Math.imul(B,X)|0,i=(i=i+Math.imul(B,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(T,ue)|0,o=o+Math.imul(T,le)|0,n=n+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(_,fe)|0,o=o+Math.imul(_,de)|0;var Ie=(l+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,ye)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,ye)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,X),i=(i=Math.imul(L,Y))+Math.imul(U,X)|0,o=Math.imul(U,Y),n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(E,ue)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,n=n+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Oe=(l+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ye)|0)+Math.imul(_,pe)|0))<<13)|0;l=((o=o+Math.imul(_,ye)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),n=n+Math.imul(B,re)|0,i=(i=i+Math.imul(B,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,n=n+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Me=(l+(n=n+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,ye)|0)+Math.imul(T,pe)|0))<<13)|0;l=((o=o+Math.imul(T,ye)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,re),i=(i=Math.imul(L,ne))+Math.imul(U,re)|0,o=Math.imul(U,ne),n=n+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,n=n+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,de)|0;var xe=(l+(n=n+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,ye)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,ye)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),n=n+Math.imul(B,ue)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,n=n+Math.imul(P,fe)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(C,fe)|0,o=o+Math.imul(C,de)|0;var je=(l+(n=n+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,ye)|0)+Math.imul(x,pe)|0))<<13)|0;l=((o=o+Math.imul(x,ye)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(U,ue)|0,o=Math.imul(U,le),n=n+Math.imul(B,fe)|0,i=(i=i+Math.imul(B,de)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,de)|0;var Pe=(l+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ye)|0)+Math.imul(C,pe)|0))<<13)|0;l=((o=o+Math.imul(C,ye)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var Ce=(l+(n=n+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,ye)|0)+Math.imul(D,pe)|0))<<13)|0;l=((o=o+Math.imul(D,ye)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var Ne=(l+(n=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,ye))+Math.imul(U,pe)|0))<<13)|0;return l=((o=Math.imul(U,ye))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=me,u[1]=be,u[2]=ge,u[3]=we,u[4]=ve,u[5]=_e,u[6]=Se,u[7]=Ae,u[8]=Te,u[9]=ke,u[10]=Ee,u[11]=Ie,u[12]=Oe,u[13]=Me,u[14]=xe,u[15]=je,u[16]=Pe,u[17]=Ce,u[18]=Ne,0!==l&&(u[19]=l,r.length++),r};function p(e,t,r){return(new y).mulp(e,t,r)}function y(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,t.length-1),l=Math.max(0,o-e.length+1);l<=u;l++){var c=o-l,f=(0|e.words[c])*(0|t.words[l]),d=67108863&f;s=67108863&(d=d+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},y.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},y.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},y.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},y.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var f=u,d=l,h=0;h<a;h++){var p=r[c+h],y=n[c+h],m=r[c+h+a],b=n[c+h+a],g=f*m-d*b;b=f*b+d*m,m=g,r[c+h]=p+m,n[c+h]=y+b,r[c+h+a]=p-m,n[c+h+a]=y-b,h!==s&&(g=u*f-l*d,d=u*d+l*f,f=g)}},y.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},y.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},y.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0==(-8192&o))},y.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},y.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=new Array(n),d=r.words;d.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,l,n),this.transform(a,o,s,u,n,i),this.transform(l,o,c,f,n,i);for(var h=0;h<n;h++){var p=s[h]*c[h]-u[h]*f[h];u[h]=s[h]*f[h]+u[h]*c[h],s[h]=p}return this.conjugate(s,u,n),this.transform(s,u,d,o,n,i),this.conjugate(d,o,n),this.normalize13b(d,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),p(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),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()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,u=(0|this.words[t])-s<<r;this.words[t]=u|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var l=0;l<a;l++)u.words[l]=this.words[l];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,l=0;l<this.length;l++)this.words[l]=this.words[l+a];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},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){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[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(n("number"==typeof e),n(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<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var u=(0|e.words[i])*t;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var c=n.clone()._ishlnsubmul(i,1,u);0===c.negative&&(n=c,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var d=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),n._ishlnsubmul(i,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!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&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):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.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,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 r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++l;for(var c=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,y=1;0==(r.words[0]&y)&&p<26;++p,y<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(u)):(r.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(l)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},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){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(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 S(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(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 n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function b(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 g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){S.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)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(g,b),g.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,b),i(v,b),i(_,b),_.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return m[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var y=h,m=0;0!==y.cmp(s);m++)y=y.redSqr();n(m<p);var b=this.pow(f,new o(1).iushln(p-m-1));d=d.redMul(b),f=b.redSqr(),h=h.redMul(f),p=m}return d},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new o(1);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var l=t.words[n],c=u-1;c>=0;c--){var f=l>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new A(e)},i(A,S),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 r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)}}},{package:"ethjs>bn.js",file:"node_modules/ethjs/node_modules/bn.js/lib/bn.js"}],[2283,{"./utils/index.js":2284,buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("./utils/index.js"),i=n.uint256Coder,o=(n.coderBoolean,n.coderFixedBytes,n.coderAddress,n.coderDynamicBytes,n.coderString,n.coderArray,n.paramTypePart,n.getParamCoder);function a(){}function s(e,t){if(e.length!==t.length)throw new Error("[ethjs-abi] while encoding params, types/values mismatch, Your contract requires "+e.length+" types (arguments), and you passed in "+t.length);var n=[];function a(e){return parseInt(32*Math.ceil(e/32))}e.forEach((function(e,r){var i=o(e);n.push({dynamic:i.dynamic,value:i.encode(t[r])})}));var s=0,u=0;n.forEach((function(e){e.dynamic?(s+=32,u+=a(e.value.length)):s+=a(e.value.length)}));var l=0,c=s,f=new r(s+u);return n.forEach((function(e,t){e.dynamic?(i.encode(c).copy(f,l),l+=32,e.value.copy(f,c),c+=a(e.value.length)):(e.value.copy(f,l),l+=a(e.value.length))})),"0x"+f.toString("hex")}function u(e,t,r){var s=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3];arguments.length<3&&(r=t,t=e,e=[]),r=n.hexOrBuffer(r);var u=new a,l=0;return t.forEach((function(t,n){var a=o(t);if(a.dynamic){var c=i.decode(r,l),f=a.decode(r,c.value.toNumber());l+=c.consumed}else{f=a.decode(r,l);l+=f.consumed}s&&(u[n]=f.value),e[n]&&(u[e[n]]=f.value)})),u}function l(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+new r(n.keccak256(t),"hex").slice(0,4).toString("hex")}function c(e,t){var r=s(n.getKeys(e.inputs,"type"),t).substring(2);return""+l(e)+r}function f(e){var t=e.name+"("+n.getKeys(e.inputs,"type").join(",")+")";return"0x"+n.keccak256(t)}function d(e,t,i){var a=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3],s=e.inputs.filter((function(e){return!e.indexed})),l=n.getKeys(s,"name",!0),c=n.getKeys(s,"type"),f=u(l,c,n.hexOrBuffer(t),a),d=e.anonymous?0:1;return e.inputs.filter((function(e){return e.indexed})).map((function(e,t){var n=new r(i[t+d].slice(2),"hex"),a=o(e.type);f[e.name]=a.decode(n,0).value})),f._eventName=e.name,f}function h(e,t){var r=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];if(e&&t.topics[0]===f(e))return d(e,t.data,t.topics,r)}t.exports={encodeParams:s,decodeParams:u,encodeMethod:c,decodeMethod:function(e,t){return u(n.getKeys(e.outputs,"name",!0),n.getKeys(e.outputs,"type"),n.hexOrBuffer(t))},encodeEvent:function(e,t){return c(e,t)},decodeEvent:d,decodeLogItem:h,logDecoder:function(e){var t=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],r={};return e.filter((function(e){return"event"===e.type})).map((function(e){r[f(e)]=e})),function(e){return e.map((function(e){return h(r[e.topics[0]],e,t)})).filter((function(e){return e}))}},eventSignature:f,encodeSignature:l}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethjs>ethjs-abi",file:"node_modules/ethjs/node_modules/ethjs-abi/lib/index.js"}],[2284,{"bn.js":2282,buffer:1943,"js-sha3":2716,"number-to-bn":2994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("bn.js"),i=e("number-to-bn"),o=e("js-sha3").keccak_256;function a(e){for(var t=e,r=t[0];t.length>0&&"0"===r.toString();)r=(t=t.slice(1))[0];return t}function s(e){var t=e.toString(16);return t.length%2&&(t="0"+t),a(new r(t,"hex"))}function u(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}function l(e,t){var n=e;if(!r.isBuffer(n)){if(!u(n)){var i=new Error(t?"[ethjs-abi] invalid "+t:"[ethjs-abi] invalid hex or buffer, must be a prefixed alphanumeric even length hex string");throw i.reason="[ethjs-abi] invalid hex string, hex must be prefixed and alphanumeric (e.g. 0x023..)",i.value=n,i}(n=n.substring(2)).length%2&&(n="0"+n),n=new r(n,"hex")}return n}function c(e,t){return{encode:function(n){var o=n;return"object"==typeof o&&o.toString&&(o.toTwos||o.dividedToIntegerBy)&&(o=o.toString(10).split(".")[0]),"string"!=typeof o&&"number"!=typeof o||(o=String(o).split(".")[0]),o=(o=i(o)).toTwos(8*e).maskn(8*e),t&&(o=o.fromTwos(8*e).toTwos(256)),o.toArrayLike(r,"be",32)},decode:function(r,i){var o=32-e,a=new n(r.slice(i+o,i+32));return a=t?a.fromTwos(8*e):a.maskn(8*e),{consumed:32,value:new n(a.toString(10))}}}}var f=c(32,!1),d={encode:function(e){return f.encode(e?1:0)},decode:function(e,t){var r=f.decode(e,t);return{consumed:r.consumed,value:!r.value.isZero()}}};function h(e){return{encode:function(e){var t=e;if(32===(t=l(t)).length)return t;var n=new r(32);return n.fill(0),t.copy(n),n},decode:function(t,r){if(0!==t.length&&t.length<r+32)throw new Error("[ethjs-abi] while decoding fixed bytes, invalid bytes data length: "+e);return{consumed:32,value:"0x"+t.slice(r,r+e).toString("hex")}}}}var p={encode:function(e){var t=e,n=new r(32);if(!u(t,20))throw new Error("[ethjs-abi] while encoding address, invalid address value, not alphanumeric 20 byte hex string");return t=l(t),n.fill(0),t.copy(n,12),n},decode:function(e,t){if(0===e.length)return{consumed:32,value:"0x"};if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding address data, invalid address data, invalid byte length "+e.length);return{consumed:32,value:"0x"+e.slice(t+12,t+32).toString("hex")}}};function y(e){var t=parseInt(32*Math.ceil(e.length/32)),n=new r(t-e.length);return n.fill(0),r.concat([f.encode(e.length),e,n])}function m(e,t){if(0!==e.length&&e.length<t+32)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32));var r=f.decode(e,t).value;if(r=r.toNumber(),0!==e.length&&e.length<t+32+r)throw new Error("[ethjs-abi] while decoding dynamic bytes data, invalid bytes length: "+e.length+" should be less than "+(t+32+r));return{consumed:parseInt(32+32*Math.ceil(r/32),10),value:e.slice(t+32,t+32+r)}}var b={encode:function(e){return y(l(e))},decode:function(e,t){var r=m(e,t);return r.value="0x"+r.value.toString("hex"),r},dynamic:!0},g={encode:function(e){return y(new r(e,"utf8"))},decode:function(e,t){var r=m(e,t);return r.value=r.value.toString("utf8"),r},dynamic:!0};function w(e,t){return{encode:function(n){var i=new r(0),o=t;if(!Array.isArray(n))throw new Error("[ethjs-abi] while encoding array, invalid array data, not type Object (Array)");if(-1===o&&(o=n.length,i=f.encode(o)),o!==n.length)throw new Error("[ethjs-abi] while encoding array, size mismatch array length "+o+" does not equal "+n.length);return n.forEach((function(t){i=r.concat([i,e.encode(t)])})),i},decode:function(r,n){var i,o=t,a=n,s=0;-1===o&&(o=(i=f.decode(r,a)).value.toNumber(),s+=i.consumed,a+=i.consumed);for(var u=[],l=0;l<o;l++){var c=e.decode(r,a);s+=c.consumed,a+=c.consumed,u.push(c.value)}return{consumed:s,value:u}},dynamic:-1===t}}var v=new RegExp(/^((u?int|bytes)([0-9]*)|(address|bool|string)|(\[([0-9]*)\]))/);t.exports={BN:n,bnToBuffer:s,isHexString:u,hexOrBuffer:l,hexlify:function(e){return"number"==typeof e?"0x"+s(new n(e)).toString("hex"):e.mod||e.modulo?"0x"+s(e).toString("hex"):"0x"+l(e).toString("hex")},stripZeros:a,keccak256:o,getKeys:function(e,t,r){var n=[];if(!Array.isArray(e))throw new Error("[ethjs-abi] while getting keys, invalid params value "+JSON.stringify(e));for(var i=0;i<e.length;i++){var o=e[i][t];if(r&&!o)o="";else if("string"!=typeof o)throw new Error("[ethjs-abi] while getKeys found invalid ABI data structure, type value not string");n.push(o)}return n},numberToBN:i,coderNumber:c,uint256Coder:f,coderBoolean:d,coderFixedBytes:h,coderAddress:p,coderDynamicBytes:b,coderString:g,coderArray:w,paramTypePart:v,getParamCoder:function(e){for(var t=e,r=null,n="[ethjs-abi] while getting param coder (getParamCoder) type value "+JSON.stringify(t)+" is either invalid or unsupported by ethjs-abi.";t;){var i=t.match(v);if(!i)throw new Error(n);t=t.substring(i[0].length);var o=i[2]||i[4]||i[5];switch(o){case"int":case"uint":if(r)throw new Error(n);var a=parseInt(i[3]||256);if(0===a||a>256||a%8!=0)throw new Error("[ethjs-abi] while getting param coder for type "+t+", invalid "+o+"<N> width: "+t);r=c(a/8,"int"===o);break;case"bool":if(r)throw new Error(n);r=d;break;case"string":if(r)throw new Error(n);r=g;break;case"bytes":if(r)throw new Error(n);if(i[3]){var s=parseInt(i[3]);if(0===s||s>32)throw new Error("[ethjs-abi] while getting param coder for prefix bytes, invalid type "+t+", size "+s+" should be 0 or greater than 32");r=h(s)}else r=b;break;case"address":if(r)throw new Error(n);r=p;break;case"[]":if(!r||r.dynamic)throw new Error(n);r=w(r,-1);break;default:if(!r||r.dynamic)throw new Error(n);r=w(r,parseInt(i[6]))}}if(!r)throw new Error(n);return r}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"ethjs>ethjs-abi",file:"node_modules/ethjs/node_modules/ethjs-abi/lib/utils/index.js"}],[2288,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.adapter=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../stream/Stream"),a=Symbol("adapted-value");class s extends n.Arbitrary{constructor(e,t){super(),this.sourceArb=e,this.adapter=t,this.adaptValue=e=>function(e,t){const r=t(e.value_);return r.adapted?new i.Value(r.value,a):e}(e,t)}generate(e,t){const r=this.sourceArb.generate(e,t);return this.adaptValue(r)}canShrinkWithoutContext(e){return this.sourceArb.canShrinkWithoutContext(e)&&!this.adapter(e).adapted}shrink(e,t){return t===a?this.sourceArb.canShrinkWithoutContext(e)?this.sourceArb.shrink(e,undefined).map(this.adaptValue):o.Stream.nil():this.sourceArb.shrink(e,t).map(this.adaptValue)}}r.adapter=function(e,t){return new s(e,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/AdapterArbitrary.js"}],[2289,{"../../check/arbitrary/definition/Arbitrary":2446,"../../stream/Stream":2482,"./helpers/NoUndefinedAsContext":2330},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AlwaysShrinkableArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../stream/Stream"),o=e("./helpers/NoUndefinedAsContext");class a extends n.Arbitrary{constructor(e){super(),this.arb=e}generate(e,t){const r=this.arb.generate(e,t);return(0,o.noUndefinedAsContext)(r)}canShrinkWithoutContext(e){return!0}shrink(e,t){if(t===undefined&&!this.arb.canShrinkWithoutContext(e))return i.Stream.nil();const r=t!==o.UndefinedContextPlaceholder?t:undefined;return this.arb.shrink(e,r).map(o.noUndefinedAsContext)}}r.AlwaysShrinkableArbitrary=a}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/AlwaysShrinkableArbitrary.js"}],[2290,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/symbols":2477,"../../stream/LazyIterableIterator":2481,"../../stream/Stream":2482,"../integer":2404,"./helpers/BuildSlicedGenerator":2320,"./helpers/DepthContext":2322},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayArbitrary=void 0;const n=e("../../stream/Stream"),i=e("../../check/symbols"),o=e("../integer"),a=e("../../stream/LazyIterableIterator"),s=e("../../check/arbitrary/definition/Arbitrary"),u=e("../../check/arbitrary/definition/Value"),l=e("./helpers/DepthContext"),c=e("./helpers/BuildSlicedGenerator");function f(e,t){return e===t?e:e+Math.floor(Math.log(t-e)/Math.log(2))}class d extends s.Arbitrary{constructor(e,t,r,n,i,a,s){super(),this.arb=e,this.minLength=t,this.maxGeneratedLength=r,this.maxLength=n,this.setBuilder=a,this.customSlices=s,this.lengthArb=(0,o.integer)({min:t,max:r}),this.depthContext=(0,l.getDepthContextFor)(i)}preFilter(e){if(this.setBuilder===undefined)return e;const t=this.setBuilder();for(let r=0;r!==e.length;++r)t.tryAdd(e[r]);return t.getData()}static makeItCloneable(e,t){return e[i.cloneMethod]=()=>{const e=[];for(let r=0;r!==t.length;++r)e.push(t[r].value);return this.makeItCloneable(e,t),e},e}generateNItemsNoDuplicates(e,t,r,n){let i=0;const o=e(),a=(0,c.buildSlicedGenerator)(this.arb,r,this.customSlices,n);for(;o.size()<t&&i<this.maxGeneratedLength;){const e=a.next();o.tryAdd(e)?i=0:i+=1}return o.getData()}safeGenerateNItemsNoDuplicates(e,t,r,n){const i=Math.max(0,t-f(this.minLength,this.maxGeneratedLength));this.depthContext.depth+=i;try{return this.generateNItemsNoDuplicates(e,t,r,n)}finally{this.depthContext.depth-=i}}generateNItems(e,t,r){const n=[],i=(0,c.buildSlicedGenerator)(this.arb,t,this.customSlices,r);i.attemptExact(e);for(let t=0;t!==e;++t){const e=i.next();n.push(e)}return n}safeGenerateNItems(e,t,r){const n=Math.max(0,e-f(this.minLength,this.maxGeneratedLength));this.depthContext.depth+=n;try{return this.generateNItems(e,t,r)}finally{this.depthContext.depth-=n}}wrapper(e,t,r,n){const i=t?this.preFilter(e):e;let o=!1;const a=[],s=[];for(let e=0;e!==i.length;++e){const t=i[e];o=o||t.hasToBeCloned,a.push(t.value),s.push(t.context)}o&&d.makeItCloneable(a,i);const l={shrunkOnce:t,lengthContext:e.length===i.length&&r!==undefined?r:undefined,itemsContexts:s,startIndex:n};return new u.Value(a,l)}generate(e,t){const r=this.applyBias(e,t),n=r.size,i=this.setBuilder!==undefined?this.safeGenerateNItemsNoDuplicates(this.setBuilder,n,e,r.biasFactorItems):this.safeGenerateNItems(n,e,r.biasFactorItems);return this.wrapper(i,!1,undefined,0)}applyBias(e,t){if(t===undefined)return{size:this.lengthArb.generate(e,undefined).value};if(this.minLength===this.maxGeneratedLength)return{size:this.lengthArb.generate(e,undefined).value,biasFactorItems:t};if(1!==e.nextInt(1,t))return{size:this.lengthArb.generate(e,undefined).value};if(1!==e.nextInt(1,t)||this.minLength===this.maxGeneratedLength)return{size:this.lengthArb.generate(e,undefined).value,biasFactorItems:t};const r=f(this.minLength,this.maxGeneratedLength);return{size:(0,o.integer)({min:this.minLength,max:r}).generate(e,undefined).value,biasFactorItems:t}}canShrinkWithoutContext(e){if(!Array.isArray(e)||this.minLength>e.length||e.length>this.maxLength)return!1;for(let t=0;t!==e.length;++t){if(!(t in e))return!1;if(!this.arb.canShrinkWithoutContext(e[t]))return!1}return this.preFilter(e.map((e=>new u.Value(e,undefined)))).length===e.length}shrinkItemByItem(e,t,r){let o=n.Stream.nil();for(let n=t.startIndex;n<r;++n)o=o.join((0,a.makeLazy)((()=>this.arb.shrink(e[n],t.itemsContexts[n]).map((r=>{const o=e.slice(0,n).map(((e,r)=>new u.Value((0,i.cloneIfNeeded)(e),t.itemsContexts[r]))),a=e.slice(n+1).map(((e,r)=>new u.Value((0,i.cloneIfNeeded)(e),t.itemsContexts[r+n+1])));return[o.concat(r).concat(a),undefined,n]})))));return o}shrinkImpl(e,t){if(0===e.length)return n.Stream.nil();const r=t!==undefined?t:{shrunkOnce:!1,lengthContext:undefined,itemsContexts:[],startIndex:0};return this.lengthArb.shrink(e.length,r.lengthContext).drop(r.shrunkOnce&&r.lengthContext===undefined&&e.length>this.minLength+1?1:0).map((t=>{const n=e.length-t.value;return[e.slice(n).map(((e,t)=>new u.Value((0,i.cloneIfNeeded)(e),r.itemsContexts[t+n]))),t.context,0]})).join((0,a.makeLazy)((()=>e.length>this.minLength?this.shrinkItemByItem(e,r,1):this.shrinkItemByItem(e,r,e.length)))).join(e.length>this.minLength?(0,a.makeLazy)((()=>{const t={shrunkOnce:!1,lengthContext:undefined,itemsContexts:r.itemsContexts.slice(1),startIndex:0};return this.shrinkImpl(e.slice(1),t).filter((e=>this.minLength<=e[0].length+1)).map((t=>[[new u.Value((0,i.cloneIfNeeded)(e[0]),r.itemsContexts[0])].concat(t[0]),undefined,0]))})):n.Stream.nil())}shrink(e,t){return this.shrinkImpl(e,t).map((e=>this.wrapper(e[0],!0,e[1],e[2])))}}r.ArrayArbitrary=d}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/ArrayArbitrary.js"}],[2291,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482,"./helpers/ArrayInt64":2317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrayInt64=void 0;const n=e("../../stream/Stream"),i=e("../../check/arbitrary/definition/Arbitrary"),o=e("../../check/arbitrary/definition/Value"),a=e("./helpers/ArrayInt64");class s extends i.Arbitrary{constructor(e,t){super(),this.min=e,this.max=t,this.biasedRanges=null}generate(e,t){const r=this.computeGenerateRange(e,t),n=e.nextArrayInt(r.min,r.max);return 1===n.data.length&&n.data.unshift(0),new o.Value(n,undefined)}computeGenerateRange(e,t){if(t===undefined||1!==e.nextInt(1,t))return{min:this.min,max:this.max};const r=this.retrieveBiasedRanges();if(1===r.length)return r[0];const n=e.nextInt(-2*(r.length-1),r.length-2);return n<0?r[0]:r[n+1]}canShrinkWithoutContext(e){const t=e;return"object"==typeof e&&null!==e&&(-1===t.sign||1===t.sign)&&Array.isArray(t.data)&&2===t.data.length&&((0,a.isStrictlySmaller64)(this.min,t)&&(0,a.isStrictlySmaller64)(t,this.max)||(0,a.isEqual64)(this.min,t)||(0,a.isEqual64)(this.max,t))}shrinkArrayInt64(e,t,r){const i=(0,a.substract64)(e,t);return(0,n.stream)(function*(){let n=r?undefined:t;for(let t=r?i:(0,a.halve64)(i);!(0,a.isZero64)(t);t=(0,a.halve64)(t)){const r=(0,a.substract64)(e,t);yield new o.Value(r,n),n=r}}())}shrink(e,t){if(!s.isValidContext(e,t)){const t=this.defaultTarget();return this.shrinkArrayInt64(e,t,!0)}return this.isLastChanceTry(e,t)?n.Stream.of(new o.Value(t,undefined)):this.shrinkArrayInt64(e,t,!1)}defaultTarget(){return(0,a.isStrictlyPositive64)(this.min)||(0,a.isStrictlyNegative64)(this.max)?(0,a.isStrictlyNegative64)(this.min)?this.max:this.min:a.Zero64}isLastChanceTry(e,t){return!(0,a.isZero64)(e)&&(1===e.sign?(0,a.isEqual64)(e,(0,a.add64)(t,a.Unit64))&&(0,a.isStrictlyPositive64)((0,a.substract64)(e,this.min)):(0,a.isEqual64)(e,(0,a.substract64)(t,a.Unit64))&&(0,a.isStrictlyNegative64)((0,a.substract64)(e,this.max)))}static isValidContext(e,t){if(t===undefined)return!1;if("object"!=typeof t||null===t||!("sign"in t)||!("data"in t))throw new Error("Invalid context type passed to ArrayInt64Arbitrary (#1)");return!0}retrieveBiasedRanges(){if(null!=this.biasedRanges)return this.biasedRanges;if((0,a.isEqual64)(this.min,this.max))return this.biasedRanges=[{min:this.min,max:this.max}],this.biasedRanges;const e=(0,a.isStrictlyNegative64)(this.min),t=(0,a.isStrictlyPositive64)(this.max);if(e&&t){const e=(0,a.logLike64)(this.min),t=(0,a.logLike64)(this.max);this.biasedRanges=[{min:e,max:t},{min:(0,a.substract64)(this.max,t),max:this.max},{min:this.min,max:(0,a.substract64)(this.min,e)}]}else{const t=(0,a.logLike64)((0,a.substract64)(this.max,this.min)),r={min:this.min,max:(0,a.add64)(this.min,t)},n={min:(0,a.substract64)(this.max,t),max:this.max};this.biasedRanges=e?[n,r]:[r,n]}return this.biasedRanges}}r.arrayInt64=function(e,t){return new s(e,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/ArrayInt64Arbitrary.js"}],[2292,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482,"./helpers/BiasNumericRange":2318,"./helpers/ShrinkBigInt":2334},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BigIntArbitrary=void 0;const n=e("../../stream/Stream"),i=e("../../check/arbitrary/definition/Arbitrary"),o=e("../../check/arbitrary/definition/Value"),a=e("./helpers/BiasNumericRange"),s=e("./helpers/ShrinkBigInt");class u extends i.Arbitrary{constructor(e,t){super(),this.min=e,this.max=t}generate(e,t){const r=this.computeGenerateRange(e,t);return new o.Value(e.nextBigInt(r.min,r.max),undefined)}computeGenerateRange(e,t){if(t===undefined||1!==e.nextInt(1,t))return{min:this.min,max:this.max};const r=(0,a.biasNumericRange)(this.min,this.max,a.bigIntLogLike);if(1===r.length)return r[0];const n=e.nextInt(-2*(r.length-1),r.length-2);return n<0?r[0]:r[n+1]}canShrinkWithoutContext(e){return"bigint"==typeof e&&this.min<=e&&e<=this.max}shrink(e,t){if(!u.isValidContext(e,t)){const t=this.defaultTarget();return(0,s.shrinkBigInt)(e,t,!0)}return this.isLastChanceTry(e,t)?n.Stream.of(new o.Value(t,undefined)):(0,s.shrinkBigInt)(e,t,!1)}defaultTarget(){return this.min<=0&&this.max>=0?BigInt(0):this.min<0?this.max:this.min}isLastChanceTry(e,t){return e>0?e===t+BigInt(1)&&e>this.min:e<0&&(e===t-BigInt(1)&&e<this.max)}static isValidContext(e,t){if(t===undefined)return!1;if("bigint"!=typeof t)throw new Error("Invalid context type passed to BigIntArbitrary (#1)");const r=e>0&&t<0||e<0&&t>0;if(t!==BigInt(0)&&r)throw new Error("Invalid context value passed to BigIntArbitrary (#2)");return!0}}r.BigIntArbitrary=u}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/BigIntArbitrary.js"}],[2293,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/symbols":2477,"../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CloneArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../check/symbols"),a=e("../../stream/Stream");class s extends n.Arbitrary{constructor(e,t){super(),this.arb=e,this.numValues=t}generate(e,t){const r=[];if(this.numValues<=0)return this.wrapper(r);for(let n=0;n!==this.numValues-1;++n)r.push(this.arb.generate(e.clone(),t));return r.push(this.arb.generate(e,t)),this.wrapper(r)}canShrinkWithoutContext(e){if(!Array.isArray(e)||e.length!==this.numValues)return!1;if(0===e.length)return!0;for(let t=1;t<e.length;++t)if(!Object.is(e[0],e[t]))return!1;return this.arb.canShrinkWithoutContext(e[0])}shrink(e,t){return 0===e.length?a.Stream.nil():new a.Stream(this.shrinkImpl(e,t!==undefined?t:[])).map((e=>this.wrapper(e)))}*shrinkImpl(e,t){const r=e.map(((e,r)=>this.arb.shrink(e,t[r])[Symbol.iterator]()));let n=r.map((e=>e.next()));for(;!n[0].done;)yield n.map((e=>e.value)),n=r.map((e=>e.next()))}static makeItCloneable(e,t){return e[o.cloneMethod]=()=>{const e=[];for(let r=0;r!==t.length;++r)e.push(t[r].value);return this.makeItCloneable(e,t),e},e}wrapper(e){let t=!1;const r=[],n=[];for(let i=0;i!==e.length;++i){const o=e[i];t=t||o.hasToBeCloned,r.push(o.value),n.push(o.context)}return t&&s.makeItCloneable(r,e),new i.Value(r,n)}}r.CloneArbitrary=s}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/CloneArbitrary.js"}],[2294,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/model/ReplayPath":2449,"../../check/model/commands/CommandWrapper":2450,"../../check/model/commands/CommandsIterable":2451,"../../stream/LazyIterableIterator":2481,"../../stream/Stream":2482,"../oneof":2419,"./builders/RestrictedIntegerArbitraryBuilder":2312},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CommandsArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../check/model/commands/CommandsIterable"),a=e("../../check/model/commands/CommandWrapper"),s=e("../../check/model/ReplayPath"),u=e("../../stream/LazyIterableIterator"),l=e("../../stream/Stream"),c=e("../oneof"),f=e("./builders/RestrictedIntegerArbitraryBuilder");class d extends n.Arbitrary{constructor(e,t,r,n,i){super(),this.sourceReplayPath=n,this.disableReplayLog=i,this.oneCommandArb=(0,c.oneof)(...e).map((e=>new a.CommandWrapper(e))),this.lengthArb=(0,f.restrictedIntegerArbitraryBuilder)(0,t,r),this.replayPath=[],this.replayPathPosition=0}metadataForReplay(){return this.disableReplayLog?"":`replayPath=${JSON.stringify(s.ReplayPath.stringify(this.replayPath))}`}buildValueFor(e,t){const r=e.map((e=>e.value_)),n={shrunkOnce:t,items:e};return new i.Value(new o.CommandsIterable(r,(()=>this.metadataForReplay())),n)}generate(e){const t=this.lengthArb.generate(e,undefined).value,r=Array(t);for(let n=0;n!==t;++n){const t=this.oneCommandArb.generate(e,undefined);r[n]=t}return this.replayPathPosition=0,this.buildValueFor(r,!1)}canShrinkWithoutContext(e){return!1}filterOnExecution(e){const t=[];for(const r of e)r.value_.hasRan?(this.replayPath.push(!0),t.push(r)):this.replayPath.push(!1);return t}filterOnReplay(e){return e.filter(((e,t)=>{const r=this.replayPath[this.replayPathPosition+t];if(r===undefined)throw new Error("Too short replayPath");if(!r&&e.value_.hasRan)throw new Error("Mismatch between replayPath and real execution");return r}))}filterForShrinkImpl(e){0===this.replayPathPosition&&(this.replayPath=null!==this.sourceReplayPath?s.ReplayPath.parse(this.sourceReplayPath):[]);const t=this.replayPathPosition<this.replayPath.length?this.filterOnReplay(e):this.filterOnExecution(e);return this.replayPathPosition+=e.length,t}shrink(e,t){if(t===undefined)return l.Stream.nil();const r=t,n=r.shrunkOnce,o=r.items,a=this.filterForShrinkImpl(o);if(0===a.length)return l.Stream.nil();const s=n?l.Stream.nil():new l.Stream([[]][Symbol.iterator]()),c=[];for(let e=0;e!==a.length;++e)c.push((0,u.makeLazy)((()=>{const t=a.slice(0,e);return this.lengthArb.shrink(a.length-1-e,undefined).map((e=>t.concat(a.slice(a.length-(e.value+1)))))})));for(let e=0;e!==a.length;++e)c.push((0,u.makeLazy)((()=>this.oneCommandArb.shrink(a[e].value_,a[e].context).map((t=>a.slice(0,e).concat([t],a.slice(e+1)))))));return s.join(...c).map((e=>this.buildValueFor(e.map((e=>new i.Value(e.value_.clone(),e.context))),!0)))}}r.CommandsArbitrary=d}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/CommandsArbitrary.js"}],[2295,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/symbols":2477,"../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ConstantArbitrary=void 0;const n=e("../../stream/Stream"),i=e("../../check/arbitrary/definition/Arbitrary"),o=e("../../check/arbitrary/definition/Value"),a=e("../../check/symbols");class s extends i.Arbitrary{constructor(e){super(),this.values=e}generate(e,t){const r=1===this.values.length?0:e.nextInt(0,this.values.length-1),n=this.values[r];return(0,a.hasCloneMethod)(n)?new o.Value(n,r,(()=>n[a.cloneMethod]())):new o.Value(n,r)}canShrinkWithoutContext(e){for(let t=0;t!==this.values.length;++t)if(Object.is(this.values[t],e))return!0;return!1}shrink(e,t){return 0===t||Object.is(e,this.values[0])?n.Stream.nil():n.Stream.of(new o.Value(this.values[0],0))}}r.ConstantArbitrary=s}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/ConstantArbitrary.js"}],[2296,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482,"./helpers/DepthContext":2322,"./helpers/MaxLengthFromMinLength":2329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FrequencyArbitrary=void 0;const n=e("../../stream/Stream"),i=e("../../check/arbitrary/definition/Arbitrary"),o=e("../../check/arbitrary/definition/Value"),a=e("./helpers/DepthContext"),s=e("./helpers/MaxLengthFromMinLength");class u extends i.Arbitrary{constructor(e,t,r){super(),this.warbs=e,this.constraints=t,this.context=r;let n=0;this.cumulatedWeights=[];for(let t=0;t!==e.length;++t)n+=e[t].weight,this.cumulatedWeights.push(n);this.totalWeight=n}static from(e,t,r){if(0===e.length)throw new Error(`${r} expects at least one weighted arbitrary`);let n=0;for(let t=0;t!==e.length;++t){if(e[t].arbitrary===undefined)throw new Error(`${r} expects arbitraries to be specified`);const i=e[t].weight;if(n+=i,!Number.isInteger(i))throw new Error(`${r} expects weights to be integer values`);if(i<0)throw new Error(`${r} expects weights to be superior or equal to 0`)}if(n<=0)throw new Error(`${r} expects the sum of weights to be strictly superior to 0`);const i={depthBias:(0,s.depthBiasFromSizeForArbitrary)(t.depthSize,t.maxDepth!==undefined),maxDepth:t.maxDepth!=undefined?t.maxDepth:Number.POSITIVE_INFINITY,withCrossShrink:!!t.withCrossShrink};return new u(e,i,(0,a.getDepthContextFor)(t.depthIdentifier))}generate(e,t){if(this.mustGenerateFirst())return this.safeGenerateForIndex(e,0,t);const r=e.nextInt(this.computeNegDepthBenefit(),this.totalWeight-1);for(let n=0;n!==this.cumulatedWeights.length;++n)if(r<this.cumulatedWeights[n])return this.safeGenerateForIndex(e,n,t);throw new Error("Unable to generate from fc.frequency")}canShrinkWithoutContext(e){return-1!==this.canShrinkWithoutContextIndex(e)}shrink(e,t){if(t!==undefined){const r=t,i=r.selectedIndex,o=r.originalBias,a=this.warbs[i].arbitrary.shrink(e,r.originalContext).map((e=>this.mapIntoValue(i,e,null,o)));if(null!==r.clonedMrngForFallbackFirst){r.cachedGeneratedForFirst===undefined&&(r.cachedGeneratedForFirst=this.safeGenerateForIndex(r.clonedMrngForFallbackFirst,0,o));const e=r.cachedGeneratedForFirst;return n.Stream.of(e).join(a)}return a}const r=this.canShrinkWithoutContextIndex(e);return-1===r?n.Stream.nil():this.defaultShrinkForFirst(r).join(this.warbs[r].arbitrary.shrink(e,undefined).map((e=>this.mapIntoValue(r,e,null,undefined))))}defaultShrinkForFirst(e){++this.context.depth;try{if(!this.mustFallbackToFirstInShrink(e)||this.warbs[0].fallbackValue===undefined)return n.Stream.nil()}finally{--this.context.depth}const t=new o.Value(this.warbs[0].fallbackValue.default,undefined);return n.Stream.of(this.mapIntoValue(0,t,null,undefined))}canShrinkWithoutContextIndex(e){if(this.mustGenerateFirst())return this.warbs[0].arbitrary.canShrinkWithoutContext(e)?0:-1;try{++this.context.depth;for(let t=0;t!==this.warbs.length;++t){const r=this.warbs[t];if(0!==r.weight&&r.arbitrary.canShrinkWithoutContext(e))return t}return-1}finally{--this.context.depth}}mapIntoValue(e,t,r,n){const i={selectedIndex:e,originalBias:n,originalContext:t.context,clonedMrngForFallbackFirst:r};return new o.Value(t.value,i)}safeGenerateForIndex(e,t,r){++this.context.depth;try{const n=this.warbs[t].arbitrary.generate(e,r),i=this.mustFallbackToFirstInShrink(t)?e.clone():null;return this.mapIntoValue(t,n,i,r)}finally{--this.context.depth}}mustGenerateFirst(){return this.constraints.maxDepth<=this.context.depth}mustFallbackToFirstInShrink(e){return 0!==e&&this.constraints.withCrossShrink&&0!==this.warbs[0].weight}computeNegDepthBenefit(){const e=this.constraints.depthBias;if(e<=0||0===this.warbs[0].weight)return 0;const t=Math.floor(Math.pow(1+e,this.context.depth))-1;return-Math.min(this.totalWeight*t,Number.MAX_SAFE_INTEGER)||0}}r.FrequencyArbitrary=u}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/FrequencyArbitrary.js"}],[2297,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482,"./helpers/BiasNumericRange":2318,"./helpers/ShrinkInteger":2335},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IntegerArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../stream/Stream"),a=e("./helpers/BiasNumericRange"),s=e("./helpers/ShrinkInteger");class u extends n.Arbitrary{constructor(e,t){super(),this.min=e,this.max=t}generate(e,t){const r=this.computeGenerateRange(e,t);return new i.Value(e.nextInt(r.min,r.max),undefined)}canShrinkWithoutContext(e){return"number"==typeof e&&Number.isInteger(e)&&!Object.is(e,-0)&&this.min<=e&&e<=this.max}shrink(e,t){if(!u.isValidContext(e,t)){const t=this.defaultTarget();return(0,s.shrinkInteger)(e,t,!0)}return this.isLastChanceTry(e,t)?o.Stream.of(new i.Value(t,undefined)):(0,s.shrinkInteger)(e,t,!1)}defaultTarget(){return this.min<=0&&this.max>=0?0:this.min<0?this.max:this.min}computeGenerateRange(e,t){if(t===undefined||1!==e.nextInt(1,t))return{min:this.min,max:this.max};const r=(0,a.biasNumericRange)(this.min,this.max,a.integerLogLike);if(1===r.length)return r[0];const n=e.nextInt(-2*(r.length-1),r.length-2);return n<0?r[0]:r[n+1]}isLastChanceTry(e,t){return e>0?e===t+1&&e>this.min:e<0&&(e===t-1&&e<this.max)}static isValidContext(e,t){if(t===undefined)return!1;if("number"!=typeof t)throw new Error("Invalid context type passed to IntegerArbitrary (#1)");if(0!==t&&Math.sign(e)!==Math.sign(t))throw new Error("Invalid context value passed to IntegerArbitrary (#2)");return!0}}r.IntegerArbitrary=u}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/IntegerArbitrary.js"}],[2298,{"../../check/arbitrary/definition/Arbitrary":2446},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LazyArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary");class i extends n.Arbitrary{constructor(e){super(),this.name=e,this.underlying=null}generate(e,t){if(!this.underlying)throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);return this.underlying.generate(e,t)}canShrinkWithoutContext(e){if(!this.underlying)throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);return this.underlying.canShrinkWithoutContext(e)}shrink(e,t){if(!this.underlying)throw new Error(`Lazy arbitrary ${JSON.stringify(this.name)} not correctly initialized`);return this.underlying.shrink(e,t)}}r.LazyArbitrary=i}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/LazyArbitrary.js"}],[2299,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/LazyIterableIterator":2481,"../bigUintN":2375,"./helpers/ToggleFlags":2339},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MixedCaseArbitrary=void 0;const n=e("../bigUintN"),i=e("../../check/arbitrary/definition/Arbitrary"),o=e("../../check/arbitrary/definition/Value"),a=e("../../stream/LazyIterableIterator"),s=e("./helpers/ToggleFlags");class u extends i.Arbitrary{constructor(e,t,r){super(),this.stringArb=e,this.toggleCase=t,this.untoggleAll=r}buildContextFor(e,t){return{rawString:e.value,rawStringContext:e.context,flags:t.value,flagsContext:t.context}}generate(e,t){const r=this.stringArb.generate(e,t),i=[...r.value],a=(0,s.computeTogglePositions)(i,this.toggleCase),u=(0,n.bigUintN)(a.length).generate(e,undefined);return(0,s.applyFlagsOnChars)(i,u.value,a,this.toggleCase),new o.Value(i.join(""),this.buildContextFor(r,u))}canShrinkWithoutContext(e){return"string"==typeof e&&(this.untoggleAll!==undefined?this.stringArb.canShrinkWithoutContext(this.untoggleAll(e)):this.stringArb.canShrinkWithoutContext(e))}shrink(e,t){let r;if(t!==undefined)r=t;else if(this.untoggleAll!==undefined){const t=this.untoggleAll(e),n=[...e],i=[...t],o=(0,s.computeTogglePositions)(i,this.toggleCase);r={rawString:t,rawStringContext:undefined,flags:(0,s.computeFlagsFromChars)(i,n,o),flagsContext:undefined}}else r={rawString:e,rawStringContext:undefined,flags:BigInt(0),flagsContext:undefined};const i=r.rawString,u=r.flags;return this.stringArb.shrink(i,r.rawStringContext).map((e=>{const t=[...e.value],r=(0,s.computeTogglePositions)(t,this.toggleCase),n=(0,s.computeNextFlags)(u,r.length);return(0,s.applyFlagsOnChars)(t,n,r,this.toggleCase),new o.Value(t.join(""),this.buildContextFor(e,new o.Value(n,undefined)))})).join((0,a.makeLazy)((()=>{const e=[...i],t=(0,s.computeTogglePositions)(e,this.toggleCase);return(0,n.bigUintN)(t.length).shrink(u,r.flagsContext).map((n=>{const a=e.slice();return(0,s.applyFlagsOnChars)(a,n.value,t,this.toggleCase),new o.Value(a.join(""),this.buildContextFor(new o.Value(i,r.rawStringContext),n))}))})))}}r.MixedCaseArbitrary=u}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/MixedCaseArbitrary.js"}],[2300,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/Stream":2482,"./implementations/SchedulerImplem":2341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SchedulerArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../stream/Stream"),a=e("./implementations/SchedulerImplem");function s(e){const t=e.clone();return{clone:()=>s(t),nextTaskIndex:t=>e.nextInt(0,t.length-1)}}class u extends n.Arbitrary{constructor(e){super(),this.act=e}generate(e,t){return new i.Value(new a.SchedulerImplem(this.act,s(e.clone())),undefined)}canShrinkWithoutContext(e){return!1}shrink(e,t){return o.Stream.nil()}}r.SchedulerArbitrary=u}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/SchedulerArbitrary.js"}],[2301,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/symbols":2477,"../../stream/Stream":2482,"../../utils/stringify":2485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.StreamArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../check/symbols"),a=e("../../stream/Stream"),s=e("../../utils/stringify");function u(e){return`Stream(${e.join(",")}…)`}class l extends n.Arbitrary{constructor(e){super(),this.arb=e}generate(e,t){const r=t!==undefined&&1===e.nextInt(1,t)?t:undefined,n=()=>{const t=[],i=new a.Stream(function*(e,n){for(;;){const i=e.generate(n,r).value;t.push(i),yield i}}(this.arb,e.clone()));return Object.defineProperties(i,{toString:{value:()=>u(t.map(s.stringify))},[s.toStringMethod]:{value:()=>u(t.map(s.stringify))},[s.asyncToStringMethod]:{value:async()=>u(await Promise.all(t.map(s.asyncStringify)))},[o.cloneMethod]:{value:n,enumerable:!0}})};return new i.Value(n(),undefined)}canShrinkWithoutContext(e){return!1}shrink(e,t){return a.Stream.nil()}}r.StreamArbitrary=l}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/StreamArbitrary.js"}],[2302,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../stream/LazyIterableIterator":2481,"../../stream/Stream":2482,"./IntegerArbitrary":2297,"./helpers/IsSubarrayOf":2327},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SubarrayArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value"),o=e("../../stream/LazyIterableIterator"),a=e("../../stream/Stream"),s=e("./helpers/IsSubarrayOf"),u=e("./IntegerArbitrary");class l extends n.Arbitrary{constructor(e,t,r,n){if(super(),this.originalArray=e,this.isOrdered=t,this.minLength=r,this.maxLength=n,r<0||r>e.length)throw new Error("fc.*{s|S}ubarrayOf expects the minimal length to be between 0 and the size of the original array");if(n<0||n>e.length)throw new Error("fc.*{s|S}ubarrayOf expects the maximal length to be between 0 and the size of the original array");if(r>n)throw new Error("fc.*{s|S}ubarrayOf expects the minimal length to be inferior or equal to the maximal length");this.lengthArb=new u.IntegerArbitrary(r,n),this.biasedLengthArb=r!==n?new u.IntegerArbitrary(r,r+Math.floor(Math.log(n-r)/Math.log(2))):this.lengthArb}generate(e,t){const r=(t!==undefined&&1===e.nextInt(1,t)?this.biasedLengthArb:this.lengthArb).generate(e,undefined),n=r.value,o=this.originalArray.map(((e,t)=>t)),a=[];for(let t=0;t!==n;++t){const t=e.nextInt(0,o.length-1);a.push(o[t]),o.splice(t,1)}return this.isOrdered&&a.sort(((e,t)=>e-t)),new i.Value(a.map((e=>this.originalArray[e])),r.context)}canShrinkWithoutContext(e){return!!Array.isArray(e)&&(!!this.lengthArb.canShrinkWithoutContext(e.length)&&(0,s.isSubarrayOf)(this.originalArray,e))}shrink(e,t){return 0===e.length?a.Stream.nil():this.lengthArb.shrink(e.length,t).map((t=>new i.Value(e.slice(e.length-t.value),t.context))).join(e.length>this.minLength?(0,o.makeLazy)((()=>this.shrink(e.slice(1),undefined).filter((e=>this.minLength<=e.value.length+1)).map((t=>new i.Value([e[0]].concat(t.value),undefined))))):a.Stream.nil())}}r.SubarrayArbitrary=l}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/SubarrayArbitrary.js"}],[2303,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447,"../../check/symbols":2477,"../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TupleArbitrary=void 0;const n=e("../../stream/Stream"),i=e("../../check/symbols"),o=e("../../check/arbitrary/definition/Arbitrary"),a=e("../../check/arbitrary/definition/Value");class s extends o.Arbitrary{constructor(e){super(),this.arbs=e;for(let t=0;t!==e.length;++t){const r=e[t];if(null==r||null==r.generate)throw new Error(`Invalid parameter encountered at index ${t}: expecting an Arbitrary`)}}static makeItCloneable(e,t){return Object.defineProperty(e,i.cloneMethod,{value:()=>{const e=[];for(let r=0;r!==t.length;++r)e.push(t[r].value);return s.makeItCloneable(e,t),e}})}static wrapper(e){let t=!1;const r=[],n=[];for(let i=0;i!==e.length;++i){const o=e[i];t=t||o.hasToBeCloned,r.push(o.value),n.push(o.context)}return t&&s.makeItCloneable(r,e),new a.Value(r,n)}generate(e,t){return s.wrapper(this.arbs.map((r=>r.generate(e,t))))}canShrinkWithoutContext(e){if(!Array.isArray(e)||e.length!==this.arbs.length)return!1;for(let t=0;t!==this.arbs.length;++t)if(!this.arbs[t].canShrinkWithoutContext(e[t]))return!1;return!0}shrink(e,t){let r=n.Stream.nil();const o=Array.isArray(t)?t:[];for(let t=0;t!==this.arbs.length;++t){const n=this.arbs[t].shrink(e[t],o[t]).map((r=>{const n=e.map(((e,t)=>new a.Value((0,i.cloneIfNeeded)(e),o[t])));return n.slice(0,t).concat([r]).concat(n.slice(t+1))})).map((e=>s.wrapper(e)));r=r.join(n)}return r}}r.TupleArbitrary=s}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/TupleArbitrary.js"}],[2304,{"../../check/arbitrary/definition/Arbitrary":2446,"../../check/arbitrary/definition/Value":2447},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.WithShrinkFromOtherArbitrary=void 0;const n=e("../../check/arbitrary/definition/Arbitrary"),i=e("../../check/arbitrary/definition/Value");function o(e){return e.hasToBeCloned?new i.Value(e.value_,{generatorContext:e.context},(()=>e.value)):new i.Value(e.value_,{generatorContext:e.context})}function a(e){return e.hasToBeCloned?new i.Value(e.value_,{shrinkerContext:e.context},(()=>e.value)):new i.Value(e.value_,{shrinkerContext:e.context})}class s extends n.Arbitrary{constructor(e,t){super(),this.generatorArbitrary=e,this.shrinkerArbitrary=t}generate(e,t){return o(this.generatorArbitrary.generate(e,t))}canShrinkWithoutContext(e){return this.shrinkerArbitrary.canShrinkWithoutContext(e)}shrink(e,t){return function(e){return e!==undefined}(t)?"generatorContext"in t?this.generatorArbitrary.shrink(e,t.generatorContext).map(o):this.shrinkerArbitrary.shrink(e,t.shrinkerContext).map(a):this.shrinkerArbitrary.shrink(e,undefined).map(a)}}r.WithShrinkFromOtherArbitrary=s}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/WithShrinkFromOtherArbitrary.js"}],[2305,{"../../../utils/stringify":2485,"../../array":2365,"../../bigInt":2370,"../../date":2386,"../../float32Array":2393,"../../float64Array":2394,"../../int16Array":2401,"../../int32Array":2402,"../../int8Array":2403,"../../letrec":2410,"../../oneof":2419,"../../sparseArray":2424,"../../tuple":2429,"../../uint16Array":2430,"../../uint32Array":2431,"../../uint8Array":2432,"../../uint8ClampedArray":2433,"../../uniqueArray":2438,"../helpers/DepthContext":2322,"../mappers/ArrayToMap":2343,"../mappers/ArrayToSet":2344,"../mappers/KeyValuePairsToObject":2351,"../mappers/ObjectToPrototypeLess":2354},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.anyArbitraryBuilder=void 0;const n=e("../../../utils/stringify"),i=e("../../array"),o=e("../../oneof"),a=e("../../tuple"),s=e("../../bigInt"),u=e("../../date"),l=e("../../float32Array"),c=e("../../float64Array"),f=e("../../int16Array"),d=e("../../int32Array"),h=e("../../int8Array"),p=e("../../uint16Array"),y=e("../../uint32Array"),m=e("../../uint8Array"),b=e("../../uint8ClampedArray"),g=e("../../sparseArray"),w=e("../mappers/KeyValuePairsToObject"),v=e("../mappers/ArrayToMap"),_=e("../mappers/ArrayToSet"),S=e("../mappers/ObjectToPrototypeLess"),A=e("../../letrec"),T=e("../../uniqueArray"),k=e("../helpers/DepthContext");function E(e,t,r,n,i){return(0,T.uniqueArray)((0,a.tuple)(e,t),{maxLength:r,size:n,comparator:"SameValueZero",selector:e=>e[0],depthIdentifier:i}).map(v.arrayToMapMapper,v.arrayToMapUnmapper)}function I(e,t,r,n,i){return(0,T.uniqueArray)((0,a.tuple)(e,t),{maxLength:r,size:n,selector:e=>e[0],depthIdentifier:i}).map(w.keyValuePairsToObjectMapper,w.keyValuePairsToObjectUnmapper)}function O(e,t,r,n){return(0,T.uniqueArray)(e,{maxLength:t,size:r,comparator:"SameValueZero",depthIdentifier:n}).map(_.arrayToSetMapper,_.arrayToSetUnmapper)}function M(e){return(0,o.oneof)((0,h.int8Array)(e),(0,m.uint8Array)(e),(0,b.uint8ClampedArray)(e),(0,f.int16Array)(e),(0,p.uint16Array)(e),(0,d.int32Array)(e),(0,y.uint32Array)(e),(0,l.float32Array)(e),(0,c.float64Array)(e))}r.anyArbitraryBuilder=function(e){const t=e.values,r=e.depthSize,a=(0,k.createDepthIdentifier)(),l=e.maxDepth,c=e.maxKeys,f=e.size,d=(0,o.oneof)(...t,...e.withBigInt?[(0,s.bigInt)()]:[],...e.withDate?[(0,u.date)()]:[]);return(0,A.letrec)((t=>{return{anything:(0,o.oneof)({maxDepth:l,depthSize:r,depthIdentifier:a},d,t("array"),t("object"),...e.withMap?[t("map")]:[],...e.withSet?[t("set")]:[],...e.withObjectString?[t("anything").map((e=>(0,n.stringify)(e)))]:[],...e.withNullPrototype?[(s=t("object"),s.map(S.objectToPrototypeLessMapper,S.objectToPrototypeLessUnmapper))]:[],...e.withTypedArray?[M({maxLength:c,size:f})]:[],...e.withSparseArray?[(0,g.sparseArray)(t("anything"),{maxNumElements:c,size:f,depthIdentifier:a})]:[]),keys:e.withObjectString?(0,o.oneof)({arbitrary:e.key,weight:10},{arbitrary:t("anything").map((e=>(0,n.stringify)(e))),weight:1}):e.key,array:(0,i.array)(t("anything"),{maxLength:c,size:f,depthIdentifier:a}),set:O(t("anything"),c,f,a),map:(0,o.oneof)(E(t("keys"),t("anything"),c,f,a),E(t("anything"),t("anything"),c,f,a)),object:I(t("keys"),t("anything"),c,f,a)};var s})).anything}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/AnyArbitraryBuilder.js"}],[2306,{"../mappers/UnboxedToBoxed":2361},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.boxedArbitraryBuilder=void 0;const n=e("../mappers/UnboxedToBoxed");r.boxedArbitraryBuilder=function(e){return e.map(n.unboxedToBoxedMapper,n.unboxedToBoxedUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/BoxedArbitraryBuilder.js"}],[2307,{"../../integer":2404,"../mappers/IndexToCharString":2348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildCharacterArbitrary=void 0;const n=e("../../integer"),i=e("../mappers/IndexToCharString");r.buildCharacterArbitrary=function(e,t,r,o){return(0,n.integer)({min:e,max:t}).map((e=>(0,i.indexToCharStringMapper)(r(e))),(e=>o((0,i.indexToCharStringUnmapper)(e))))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/CharacterArbitraryBuilder.js"}],[2308,{"../../fullUnicode":2395,"../../mapToConstant":2412,"../../oneof":2419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildAlphaNumericPercentArbitrary=r.buildAlphaNumericArbitrary=r.buildLowerAlphaNumericArbitrary=r.buildLowerAlphaArbitrary=void 0;const n=e("../../fullUnicode"),i=e("../../oneof"),o=e("../../mapToConstant"),a={num:26,build:e=>String.fromCharCode(e+97)},s={num:26,build:e=>String.fromCharCode(e+65)},u={num:10,build:e=>String.fromCharCode(e+48)};const l=(0,n.fullUnicode)().map((function(e){const t=encodeURIComponent(e);return e!==t?t:`%${e.charCodeAt(0).toString(16)}`}),(function(e){if("string"!=typeof e)throw new Error("Unsupported");return decodeURIComponent(e)}));r.buildLowerAlphaArbitrary=e=>(0,o.mapToConstant)(a,{num:e.length,build:t=>e[t]});r.buildLowerAlphaNumericArbitrary=e=>(0,o.mapToConstant)(a,u,{num:e.length,build:t=>e[t]});r.buildAlphaNumericArbitrary=e=>(0,o.mapToConstant)(a,s,u,{num:e.length,build:t=>e[t]});r.buildAlphaNumericPercentArbitrary=e=>(0,i.oneof)({weight:10,arbitrary:(0,r.buildAlphaNumericArbitrary)(e)},{weight:1,arbitrary:l})}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/CharacterRangeArbitraryBuilder.js"}],[2309,{"../../../check/symbols":2477,"../../../utils/hash":2484,"../../../utils/stringify":2485,"../../integer":2404,"../../tuple":2429,"../helpers/TextEscaper":2338},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildCompareFunctionArbitrary=void 0;const n=e("../helpers/TextEscaper"),i=e("../../../check/symbols"),o=e("../../../utils/hash"),a=e("../../../utils/stringify"),s=e("../../integer"),u=e("../../tuple");r.buildCompareFunctionArbitrary=function(e){return(0,u.tuple)((0,s.integer)().noShrink(),(0,s.integer)({min:1,max:4294967295}).noShrink()).map((([t,r])=>{const s=()=>{const u={};return Object.assign(((n,i)=>{const s=(0,a.stringify)(n),l=(0,a.stringify)(i),c=(0,o.hash)(`${t}${s}`)%r,f=(0,o.hash)(`${t}${l}`)%r,d=e(c,f);return u[`[${s},${l}]`]=d,d}),{toString:()=>{const i=Object.keys(u).sort().map((e=>`${e} => ${(0,a.stringify)(u[e])}`)).map((e=>`/* ${(0,n.escapeForMultilineComments)(e)} */`));return`function(a, b) {\n  // With hash and stringify coming from fast-check${0!==i.length?`\n  ${i.join("\n  ")}`:""}\n  const cmp = ${e};\n  const hA = hash('${t}' + stringify(a)) % ${r};\n  const hB = hash('${t}' + stringify(b)) % ${r};\n  return cmp(hA, hB);\n}`},[i.cloneMethod]:s})};return s()}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/CompareFunctionArbitraryBuilder.js"}],[2310,{"../../integer":2404,"../mappers/NumberToPaddedEight":2353},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildPaddedNumberArbitrary=void 0;const n=e("../../integer"),i=e("../mappers/NumberToPaddedEight");r.buildPaddedNumberArbitrary=function(e,t){return(0,n.integer)({min:e,max:t}).map(i.numberToPaddedEightMapper,i.numberToPaddedEightUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/PaddedNumberArbitraryBuilder.js"}],[2311,{"../../option":2420,"../../tuple":2429,"../helpers/EnumerableKeysExtractor":2324,"../mappers/ValuesAndSeparateKeysToObject":2362},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildPartialRecordArbitrary=void 0;const n=e("../../option"),i=e("../../tuple"),o=e("../helpers/EnumerableKeysExtractor"),a=e("../mappers/ValuesAndSeparateKeysToObject"),s=Symbol("no-key");r.buildPartialRecordArbitrary=function(e,t){const r=(0,o.extractEnumerableKeys)(e),u=[];for(let i=0;i!==r.length;++i){const o=r[i],a=e[o];t===undefined||-1!==t.indexOf(o)?u.push(a):u.push((0,n.option)(a,{nil:s}))}return(0,i.tuple)(...u).map((0,a.buildValuesAndSeparateKeysToObjectMapper)(r,s),(0,a.buildValuesAndSeparateKeysToObjectUnmapper)(r,s))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/PartialRecordArbitraryBuilder.js"}],[2312,{"../../integer":2404,"../WithShrinkFromOtherArbitrary":2304},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.restrictedIntegerArbitraryBuilder=void 0;const n=e("../../integer"),i=e("../WithShrinkFromOtherArbitrary");r.restrictedIntegerArbitraryBuilder=function(e,t,r){const o=(0,n.integer)({min:e,max:t});if(t===r)return o;const a=(0,n.integer)({min:e,max:r});return new i.WithShrinkFromOtherArbitrary(o,a)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js"}],[2313,{"../../constantFrom":2384,"../../nat":2417,"../../tuple":2429,"../mappers/NatToStringifiedNat":2352},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildStringifiedNatArbitrary=void 0;const n=e("../../constantFrom"),i=e("../../nat"),o=e("../../tuple"),a=e("../mappers/NatToStringifiedNat");r.buildStringifiedNatArbitrary=function(e){return(0,o.tuple)((0,n.constantFrom)("dec","oct","hex"),(0,i.nat)(e)).map(a.natToStringifiedNatMapper,a.natToStringifiedNatUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/StringifiedNatArbitraryBuilder.js"}],[2314,{"../../array":2365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(r,"__esModule",{value:!0}),r.typedIntArrayArbitraryArbitraryBuilder=void 0;const i=e("../../array");r.typedIntArrayArbitraryArbitraryBuilder=function(e,t,r,o,a){const s=o.name,{min:u=t,max:l=r}=e,c=n(e,["min","max"]);if(u>l)throw new Error(`Invalid range passed to ${s}: min must be lower than or equal to max`);if(u<t)throw new Error(`Invalid min value passed to ${s}: min must be greater than or equal to ${t}`);if(l>r)throw new Error(`Invalid max value passed to ${s}: max must be lower than or equal to ${r}`);return(0,i.array)(a({min:u,max:l}),c).map((e=>o.from(e)),(e=>{if(!(e instanceof o))throw new Error("Invalid type");return[...e]}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js"}],[2315,{"../../array":2365,"../../webSegment":2444,"../mappers/SegmentsToPath":2358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildUriPathArbitrary=void 0;const n=e("../../webSegment"),i=e("../../array"),o=e("../mappers/SegmentsToPath");r.buildUriPathArbitrary=function(e){const[t,r]=function(e){switch(e){case"xsmall":return["xsmall","xsmall"];case"small":return["small","xsmall"];case"medium":return["small","small"];case"large":return["medium","small"];case"xlarge":return["medium","medium"]}}(e);return(0,i.array)((0,n.webSegment)({size:t}),{size:r}).map(o.segmentsToPathMapper,o.segmentsToPathUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/UriPathArbitraryBuilder.js"}],[2316,{"../../stringOf":2427,"./CharacterRangeArbitraryBuilder":2308},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildUriQueryOrFragmentArbitrary=void 0;const n=e("./CharacterRangeArbitraryBuilder"),i=e("../../stringOf");r.buildUriQueryOrFragmentArbitrary=function(e){return(0,i.stringOf)((0,n.buildAlphaNumericPercentArbitrary)(["-",".","_","~","!","$","&","'","(",")","*","+",",",";","=",":","@","/","?"]),{size:e})}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/builders/UriQueryOrFragmentArbitraryBuilder.js"}],[2317,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 0===e.data[0]&&0===e.data[1]}function i(e,t){return e[0]<t[0]||e[0]===t[0]&&e[1]<t[1]}function o(e,t){return e.sign===t.sign?1===e.sign?i(e.data,t.data):i(t.data,e.data):!(-1!==e.sign||n(e)&&n(t))}function a(e){return{sign:e.sign,data:[e.data[0],e.data[1]]}}function s(e,t){let r=0,n=e[1]-t[1];return n<0&&(r=1,n>>>=0),[e[0]-t[0]-r,n]}function u(e,t){if(1===e.sign&&-1===t.sign){const r=e.data[1]+t.data[1];return{sign:1,data:[e.data[0]+t.data[0]+(r>4294967295?1:0)>>>0,r>>>0]}}return{sign:1,data:1===e.sign?s(e.data,t.data):s(t.data,e.data)}}function l(e,t){if(o(e,t)){const r=u(t,e);return r.sign=-1,r}return u(e,t)}function c(e){return{sign:-e.sign,data:[e.data[0],e.data[1]]}}Object.defineProperty(r,"__esModule",{value:!0}),r.logLike64=r.halve64=r.add64=r.negative64=r.substract64=r.clone64=r.isStrictlySmaller64=r.isEqual64=r.isStrictlyPositive64=r.isStrictlyNegative64=r.isZero64=r.Unit64=r.Zero64=void 0,r.Zero64={sign:1,data:[0,0]},r.Unit64={sign:1,data:[0,1]},r.isZero64=n,r.isStrictlyNegative64=function(e){return-1===e.sign&&!n(e)},r.isStrictlyPositive64=function(e){return 1===e.sign&&!n(e)},r.isEqual64=function(e,t){return e.data[0]===t.data[0]&&e.data[1]===t.data[1]&&(e.sign===t.sign||0===e.data[0]&&0===e.data[1])},r.isStrictlySmaller64=o,r.clone64=a,r.substract64=l,r.negative64=c,r.add64=function(e,t){return n(t)?n(e)?a(r.Zero64):a(e):l(e,c(t))},r.halve64=function(e){return{sign:e.sign,data:[Math.floor(e.data[0]/2),(e.data[0]%2==1?2147483648:0)+Math.floor(e.data[1]/2)]}},r.logLike64=function(e){return{sign:e.sign,data:[0,Math.floor(Math.log(4294967296*e.data[0]+e.data[1])/Math.log(2))]}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/ArrayInt64.js"}],[2318,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.biasNumericRange=r.bigIntLogLike=r.integerLogLike=void 0,r.integerLogLike=function(e){return Math.floor(Math.log(e)/Math.log(2))},r.bigIntLogLike=function(e){return e===BigInt(0)?BigInt(0):BigInt(e.toString().length)},r.biasNumericRange=function(e,t,r){if(e===t)return[{min:e,max:t}];if(e<0&&t>0){const n=r(-e),i=r(t);return[{min:-n,max:i},{min:t-i,max:t},{min:e,max:e+n}]}const n=r(t-e),i={min:e,max:e+n},o={min:t-n,max:t};return e<0?[o,i]:[i,o]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/BiasNumericRange.js"}],[2319,{"../implementations/SchedulerImplem":2341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildSchedulerFor=void 0;const n=e("../implementations/SchedulerImplem");function i(e){let t=0;return{clone:()=>i(e),nextTaskIndex:r=>{if(e.length<=t)throw new Error("Invalid schedulerFor defined: too many tasks have been scheduled");const n=r.findIndex((r=>r.taskId===e[t]));if(-1===n)throw new Error("Invalid schedulerFor defined: unable to find next task");return++t,n}}}r.buildSchedulerFor=function(e,t){return new n.SchedulerImplem(e,i(t))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/BuildSchedulerFor.js"}],[2320,{"../implementations/NoopSlicedGenerator":2340,"../implementations/SlicedBasedGenerator":2342},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildSlicedGenerator=void 0;const n=e("../implementations/NoopSlicedGenerator"),i=e("../implementations/SlicedBasedGenerator");r.buildSlicedGenerator=function(e,t,r,o){return o===undefined||0===r.length||1!==t.nextInt(1,o)?new n.NoopSlicedGenerator(e,t,o):new i.SlicedBasedGenerator(e,t,r,o)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/BuildSlicedGenerator.js"}],[2321,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CustomEqualSet=void 0;r.CustomEqualSet=class{constructor(e){this.isEqual=e,this.data=[]}tryAdd(e){for(let t=0;t!==this.data.length;++t)if(this.isEqual(this.data[t],e))return!1;return this.data.push(e),!0}size(){return this.data.length}getData(){return this.data.slice()}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/CustomEqualSet.js"}],[2322,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createDepthIdentifier=r.getDepthContextFor=void 0;const n=new Map;r.getDepthContextFor=function(e){if(e===undefined)return{depth:0};if("string"!=typeof e)return e;const t=n.get(e);if(t!==undefined)return t;const r={depth:0};return n.set(e,r),r},r.createDepthIdentifier=function(){return{depth:0}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/DepthContext.js"}],[2323,{"./ArrayInt64":2317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.indexToDouble=r.doubleToIndex=r.decomposeDouble=void 0;const n=e("./ArrayInt64"),i={sign:1,data:[2146435072,0]},o={sign:-1,data:[2146435072,1]};function a(e){const t=2-Number.EPSILON;for(let r=-1022;1024!==r;++r){const n=2**r,i=t*n;if(Math.abs(e)<=i)return{exponent:r,significand:e/n}}return{exponent:Number.NaN,significand:Number.NaN}}function s(e){return[~~(e/4294967296),e>>>0]}function u(e,t){if(-1022===e){return s(t*2**52)}const r=(e+1023)*2**20,n=s((t-1)*2**52);return n[0]+=r,n}r.decomposeDouble=a,r.doubleToIndex=function(e){if(e===Number.POSITIVE_INFINITY)return(0,n.clone64)(i);if(e===Number.NEGATIVE_INFINITY)return(0,n.clone64)(o);const t=a(e),r=t.exponent,s=t.significand;if(e>0||0===e&&1/e===Number.POSITIVE_INFINITY)return{sign:1,data:u(r,s)};{const e=u(r,-s);return 4294967295===e[1]?(e[0]+=1,e[1]=0):e[1]+=1,{sign:-1,data:e}}},r.indexToDouble=function e(t){if(-1===t.sign){const r={sign:1,data:[t.data[0],t.data[1]]};return 0===r.data[1]?(r.data[0]-=1,r.data[1]=4294967295):r.data[1]-=1,-e(r)}if((0,n.isEqual64)(t,i))return Number.POSITIVE_INFINITY;if(t.data[0]<2097152)return 5e-324*(4294967296*t.data[0]+t.data[1]);const r=t.data[0]-2097152,o=(r>>20)-1021;return(1+((1048575&r)*2**32+t.data[1])*Number.EPSILON)*2**o}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/DoubleHelpers.js"}],[2324,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.extractEnumerableKeys=void 0,r.extractEnumerableKeys=function(e){const t=Object.keys(e),r=Object.getOwnPropertySymbols(e);for(let n=0;n!==r.length;++n){const i=r[n],o=Object.getOwnPropertyDescriptor(e,i);o&&o.enumerable&&t.push(i)}return t}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/EnumerableKeysExtractor.js"}],[2325,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.indexToFloat=r.floatToIndex=r.decomposeFloat=r.EPSILON_32=r.MAX_VALUE_32=r.MIN_VALUE_32=void 0,r.MIN_VALUE_32=2**-126*2**-23,r.MAX_VALUE_32=2**127*(1+8388607/2**23),r.EPSILON_32=2**-23;const n=2139095040;function i(e){for(let t=-126;128!==t;++t){const r=2**t,n=1.9999998807907104*r;if(Math.abs(e)<=n)return{exponent:t,significand:e/r}}return{exponent:Number.NaN,significand:Number.NaN}}function o(e,t){return-126===e?8388608*t:8388608*(e+127)+8388608*(t-1)}r.decomposeFloat=i,r.floatToIndex=function(e){if(e===Number.POSITIVE_INFINITY)return n;if(e===Number.NEGATIVE_INFINITY)return-2139095041;const t=i(e),r=t.exponent,a=t.significand;return Number.isNaN(r)||Number.isNaN(a)||!Number.isInteger(8388608*a)?Number.NaN:e>0||0===e&&1/e===Number.POSITIVE_INFINITY?o(r,a):-o(r,-a)-1},r.indexToFloat=function e(t){if(t<0)return-e(-t-1);if(t===n)return Number.POSITIVE_INFINITY;if(t<16777216)return t*2**-149;const r=t-16777216;return(1+(8388607&r)/8388608)*2**((r>>23)-125)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/FloatHelpers.js"}],[2326,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.filterInvalidSubdomainLabel=void 0,r.filterInvalidSubdomainLabel=function(e){return!(e.length>63)&&(e.length<4||"x"!==e[0]||"n"!==e[1]||"-"!==e[2]||"-"!==e[3])}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/InvalidSubdomainLabelFiIter.js"}],[2327,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isSubarrayOf=void 0,r.isSubarrayOf=function(e,t){const r=new Map;let n=0;for(const t of e)if(Object.is(t,-0))++n;else{const e=r.get(t)||0;r.set(t,e+1)}for(let e=0;e!==t.length;++e){if(!(e in t))return!1;const i=t[e];if(Object.is(i,-0)){if(0===n)return!1;--n}else{const e=r.get(i)||0;if(0===e)return!1;r.set(i,e-1)}}return!0}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/IsSubarrayOf.js"}],[2328,{"../../boolean":2376,"../../constant":2383,"../../double":2389},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.jsonConstraintsBuilder=void 0;const n=e("../../boolean"),i=e("../../constant"),o=e("../../double");r.jsonConstraintsBuilder=function(e,t){const{depthSize:r,maxDepth:a}=t;return{key:e,values:[(0,n.boolean)(),(0,o.double)({noDefaultInfinity:!0,noNaN:!0}),e,(0,i.constant)(null)],depthSize:r,maxDepth:a}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/JsonConstraintsBuilder.js"}],[2329,{"../../../check/runner/configuration/GlobalParameters":2470},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.resolveSize=r.depthBiasFromSizeForArbitrary=r.maxGeneratedLengthFromSizeForArbitrary=r.relativeSizeToSize=r.maxLengthFromMinLength=r.DefaultSize=r.MaxLengthUpperBound=void 0;const n=e("../../../check/runner/configuration/GlobalParameters");r.MaxLengthUpperBound=2147483647;const i=["xsmall","small","medium","large","xlarge"],o=["-4","-3","-2","-1","=","+1","+2","+3","+4"];function a(e,t){switch(t){case"xsmall":return Math.floor(1.1*e)+1;case"small":return 2*e+10;case"medium":return 11*e+100;case"large":return 101*e+1e3;case"xlarge":return 1001*e+1e4;default:throw new Error(`Unable to compute lengths based on received size: ${t}`)}}function s(e,t){const r=o.indexOf(e);if(-1===r)return e;const n=i.indexOf(t);if(-1===n)throw new Error(`Unable to offset size based on the unknown defaulted one: ${t}`);const a=n+r-4;return a<0?i[0]:a>=i.length?i[i.length-1]:i[a]}r.DefaultSize="small",r.maxLengthFromMinLength=a,r.relativeSizeToSize=s,r.maxGeneratedLengthFromSizeForArbitrary=function(e,t,i,o){const{baseSize:u=r.DefaultSize,defaultSizeToMaxWhenMaxSpecified:l}=(0,n.readConfigureGlobal)()||{},c=e!==undefined?e:o&&l?"max":u;if("max"===c)return i;const f=s(c,u);return Math.min(a(t,f),i)},r.depthBiasFromSizeForArbitrary=function(e,t){if("number"==typeof e)return 1/e;const{baseSize:i=r.DefaultSize,defaultSizeToMaxWhenMaxSpecified:o}=(0,n.readConfigureGlobal)()||{},a=e!==undefined?e:t&&o?"max":i;if("max"===a)return 0;switch(s(a,i)){case"xsmall":return 1;case"small":return.5;case"medium":return.25;case"large":return.125;case"xlarge":return.0625}},r.resolveSize=function(e){const{baseSize:t=r.DefaultSize}=(0,n.readConfigureGlobal)()||{};return e===undefined?t:s(e,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/MaxLengthFromMinLength.js"}],[2330,{"../../../check/arbitrary/definition/Value":2447},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.noUndefinedAsContext=r.UndefinedContextPlaceholder=void 0;const n=e("../../../check/arbitrary/definition/Value");r.UndefinedContextPlaceholder=Symbol("UndefinedContextPlaceholder"),r.noUndefinedAsContext=function(e){return e.context!==undefined?e:e.hasToBeCloned?new n.Value(e.value_,r.UndefinedContextPlaceholder,(()=>e.value)):new n.Value(e.value_,r.UndefinedContextPlaceholder)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/NoUndefinedAsContext.js"}],[2331,{"../../boolean":2376,"../../constant":2383,"../../double":2389,"../../maxSafeInteger":2413,"../../oneof":2419,"../../string":2425,"../builders/BoxedArbitraryBuilder":2306},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toQualifiedObjectConstraints=void 0;const n=e("../../boolean"),i=e("../../constant"),o=e("../../double"),a=e("../../maxSafeInteger"),s=e("../../oneof"),u=e("../../string"),l=e("../builders/BoxedArbitraryBuilder");function c(e,t){return t?function(e){return e.map((e=>(0,l.boxedArbitraryBuilder)(e)))}(e).concat(e):e}r.toQualifiedObjectConstraints=function(e={}){function t(e,t){return e!==undefined?e:t}const r={size:e.size};return{key:t(e.key,(0,u.string)(r)),values:c(t(e.values,(l=r,[(0,n.boolean)(),(0,a.maxSafeInteger)(),(0,o.double)(),(0,u.string)(l),(0,s.oneof)((0,u.string)(l),(0,i.constant)(null),(0,i.constant)(undefined))])),t(e.withBoxedValues,!1)),depthSize:e.depthSize,maxDepth:e.maxDepth,maxKeys:e.maxKeys,size:e.size,withSet:t(e.withSet,!1),withMap:t(e.withMap,!1),withObjectString:t(e.withObjectString,!1),withNullPrototype:t(e.withNullPrototype,!1),withBigInt:t(e.withBigInt,!1),withDate:t(e.withDate,!1),withTypedArray:t(e.withTypedArray,!1),withSparseArray:t(e.withSparseArray,!1)};var l}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/QualifiedObjectConstraints.js"}],[2332,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SameValueSet=void 0;r.SameValueSet=class{constructor(e){this.selector=e,this.selectedItemsExceptMinusZero=new Set,this.data=[],this.hasMinusZero=!1}tryAdd(e){const t=this.selector(e);if(Object.is(t,-0))return!this.hasMinusZero&&(this.data.push(e),this.hasMinusZero=!0,!0);const r=this.selectedItemsExceptMinusZero.size;return this.selectedItemsExceptMinusZero.add(t),r!==this.selectedItemsExceptMinusZero.size&&(this.data.push(e),!0)}size(){return this.data.length}getData(){return this.data}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/SameValueSet.js"}],[2333,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SameValueZeroSet=void 0;r.SameValueZeroSet=class{constructor(e){this.selector=e,this.selectedItems=new Set,this.data=[]}tryAdd(e){const t=this.selector(e),r=this.selectedItems.size;return this.selectedItems.add(t),r!==this.selectedItems.size&&(this.data.push(e),!0)}size(){return this.data.length}getData(){return this.data}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/SameValueZeroSet.js"}],[2334,{"../../../check/arbitrary/definition/Value":2447,"../../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shrinkBigInt=void 0;const n=e("../../../stream/Stream"),i=e("../../../check/arbitrary/definition/Value");function o(e){return e/BigInt(2)}r.shrinkBigInt=function(e,t,r){const a=e-t;return a>0?(0,n.stream)(function*(){let n=r?undefined:t;for(let t=r?a:o(a);t>0;t=o(t)){const r=e-t;yield new i.Value(r,n),n=r}}()):(0,n.stream)(function*(){let n=r?undefined:t;for(let t=r?a:o(a);t<0;t=o(t)){const r=e-t;yield new i.Value(r,n),n=r}}())}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/ShrinkBigInt.js"}],[2335,{"../../../check/arbitrary/definition/Value":2447,"../../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shrinkInteger=void 0;const n=e("../../../check/arbitrary/definition/Value"),i=e("../../../stream/Stream");function o(e){return Math.floor(e/2)}function a(e){return Math.ceil(e/2)}r.shrinkInteger=function(e,t,r){const s=e-t;return s>0?(0,i.stream)(function*(){let i=r?undefined:t;for(let a=r?s:o(s);a>0;a=o(a)){const r=a===s?t:e-a;yield new n.Value(r,i),i=r}}()):(0,i.stream)(function*(){let i=r?undefined:t;for(let o=r?s:a(s);o<0;o=a(o)){const r=o===s?t:e-o;yield new n.Value(r,i),i=r}}())}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/ShrinkInteger.js"}],[2336,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSlicesForString=void 0;const n=["__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__proto__","constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf","apply","arguments","bind","call","caller","length","name","prototype","key","ref"];function i(e,t,r){let n;try{n=r(e)}catch(e){return undefined}for(const e of n)if(!t.canShrinkWithoutContext(e))return undefined;return n}r.createSlicesForString=function(e,t){const r=[];for(const o of n){const n=i(o,e,t);n!==undefined&&r.push(n)}return r}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/SlicesForStringBuilder.js"}],[2337,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.StrictlyEqualSet=void 0;r.StrictlyEqualSet=class{constructor(e){this.selector=e,this.selectedItemsExceptNaN=new Set,this.data=[]}tryAdd(e){const t=this.selector(e);if(Number.isNaN(t))return this.data.push(e),!0;const r=this.selectedItemsExceptNaN.size;return this.selectedItemsExceptNaN.add(t),r!==this.selectedItemsExceptNaN.size&&(this.data.push(e),!0)}size(){return this.data.length}getData(){return this.data}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/StrictlyEqualSet.js"}],[2338,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.escapeForMultilineComments=r.escapeForTemplateString=void 0,r.escapeForTemplateString=function(e){return e.replace(/([$`\\])/g,"\\$1").replace(/\r/g,"\\r")},r.escapeForMultilineComments=function(e){return e.replace(/\*\//g,"*\\/")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/TextEscaper.js"}],[2339,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){let t=0;for(;e>BigInt(0);)e&BigInt(1)&&++t,e>>=BigInt(1);return t}Object.defineProperty(r,"__esModule",{value:!0}),r.applyFlagsOnChars=r.computeFlagsFromChars=r.computeTogglePositions=r.computeNextFlags=r.countToggledBits=void 0,r.countToggledBits=n,r.computeNextFlags=function(e,t){const r=(BigInt(1)<<BigInt(t))-BigInt(1),i=e&r;let o=n(e-i),a=i;for(let e=BigInt(1);e<=r&&0!==o;e<<=BigInt(1))a&e||(a|=e,--o);return a},r.computeTogglePositions=function(e,t){const r=[];for(let n=e.length-1;-1!==n;--n)t(e[n])!==e[n]&&r.push(n);return r},r.computeFlagsFromChars=function(e,t,r){let n=BigInt(0);for(let i=0,o=BigInt(1);i!==r.length;++i,o<<=BigInt(1))e[r[i]]!==t[r[i]]&&(n|=o);return n},r.applyFlagsOnChars=function(e,t,r,n){for(let i=0,o=BigInt(1);i!==r.length;++i,o<<=BigInt(1))t&o&&(e[r[i]]=n(e[r[i]]))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/helpers/ToggleFlags.js"}],[2340,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NoopSlicedGenerator=void 0;r.NoopSlicedGenerator=class{constructor(e,t,r){this.arb=e,this.mrng=t,this.biasFactor=r}attemptExact(){}next(){return this.arb.generate(this.mrng,this.biasFactor)}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/implementations/NoopSlicedGenerator.js"}],[2341,{"../../../check/symbols":2477,"../../../utils/stringify":2485,"../helpers/TextEscaper":2338},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SchedulerImplem=void 0;const n=e("../helpers/TextEscaper"),i=e("../../../check/symbols"),o=e("../../../utils/stringify");class a{constructor(e,t){this.act=e,this.taskSelector=t,this.lastTaskId=0,this.sourceTaskSelector=t.clone(),this.scheduledTasks=[],this.triggeredTasks=[],this.scheduledWatchers=[]}static buildLog(e){return`[task\${${e.taskId}}] ${0!==e.label.length?`${e.schedulingType}::${e.label}`:e.schedulingType} ${e.status}${e.outputValue!==undefined?` with value ${(0,n.escapeForTemplateString)(e.outputValue)}`:""}`}log(e,t,r,n,i,a){this.triggeredTasks.push({status:i,schedulingType:e,taskId:t,label:r,metadata:n,outputValue:a!==undefined?(0,o.stringify)(a):undefined})}scheduleInternal(e,t,r,n,i){let o=null;const a=++this.lastTaskId,s=new Promise(((s,u)=>{o=()=>{(i?r.then((()=>i())):r).then((r=>(this.log(e,a,t,n,"resolved",r),s(r))),(r=>(this.log(e,a,t,n,"rejected",r),u(r))))}}));return this.scheduledTasks.push({original:r,scheduled:s,trigger:o,schedulingType:e,taskId:a,label:t,metadata:n}),0!==this.scheduledWatchers.length&&this.scheduledWatchers[0](),s}schedule(e,t,r){return this.scheduleInternal("promise",t||"",e,r)}scheduleFunction(e){return(...t)=>this.scheduleInternal("function",`${e.name}(${t.map(o.stringify).join(",")})`,e(...t),undefined)}scheduleSequence(e){const t={done:!1,faulty:!1},r={then:e=>e()};let n=()=>{};const i=new Promise((e=>n=e));return e.reduce(((e,i)=>{const[o,a,s]="function"==typeof i?[i,i.name,undefined]:[i.builder,i.label,i.metadata];return e.then((()=>{const e=this.scheduleInternal("sequence",a,r,s,(()=>o()));return e.catch((()=>{t.faulty=!0,n()})),e}))}),r).then((()=>{t.done=!0,n()}),(()=>{})),Object.assign(t,{task:Promise.resolve(i).then((()=>({done:t.done,faulty:t.faulty})))})}count(){return this.scheduledTasks.length}async internalWaitOne(){if(0===this.scheduledTasks.length)throw new Error("No task scheduled");const e=this.taskSelector.nextTaskIndex(this.scheduledTasks),[t]=this.scheduledTasks.splice(e,1);t.trigger();try{await t.scheduled}catch(e){}}async waitOne(){await this.act((async()=>await this.internalWaitOne()))}async waitAll(){for(;this.scheduledTasks.length>0;)await this.waitOne()}async waitFor(e){let t=!1,r=null;const n=async()=>{for(;!t&&this.scheduledTasks.length>0;)await this.waitOne();r=null},i=()=>{null===r&&(r=Promise.resolve().then(n))},o=()=>{const e=this.scheduledWatchers.indexOf(i);-1!==e&&this.scheduledWatchers.splice(e,1),0===e&&0!==this.scheduledWatchers.length&&this.scheduledWatchers[0]()},a=e.then((e=>(t=!0,null===r?(o(),e):r.then((()=>(o(),e))))),(e=>{if(t=!0,null===r)throw o(),e;return r.then((()=>{throw o(),e}))}));return this.scheduledTasks.length>0&&0===this.scheduledWatchers.length&&i(),this.scheduledWatchers.push(i),a}report(){return[...this.triggeredTasks,...this.scheduledTasks.map((e=>({status:"pending",schedulingType:e.schedulingType,taskId:e.taskId,label:e.label,metadata:e.metadata})))]}toString(){return"schedulerFor()`\n"+this.report().map(a.buildLog).map((e=>`-> ${e}`)).join("\n")+"`"}[i.cloneMethod](){return new a(this.act,this.sourceTaskSelector)}}r.SchedulerImplem=a}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/implementations/SchedulerImplem.js"}],[2342,{"../../../check/arbitrary/definition/Value":2447},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SlicedBasedGenerator=void 0;const n=e("../../../check/arbitrary/definition/Value");r.SlicedBasedGenerator=class{constructor(e,t,r,n){this.arb=e,this.mrng=t,this.slices=r,this.biasFactor=n,this.activeSliceIndex=0,this.nextIndexInSlice=0,this.lastIndexInSlice=-1}attemptExact(e){if(0!==e&&1===this.mrng.nextInt(1,this.biasFactor)){const t=[];for(let r=0;r!==this.slices.length;++r){this.slices[r].length===e&&t.push(r)}if(0===t.length)return;this.activeSliceIndex=t[this.mrng.nextInt(0,t.length-1)],this.nextIndexInSlice=0,this.lastIndexInSlice=e-1}}next(){if(this.nextIndexInSlice<=this.lastIndexInSlice)return new n.Value(this.slices[this.activeSliceIndex][this.nextIndexInSlice++],undefined);if(1!==this.mrng.nextInt(1,this.biasFactor))return this.arb.generate(this.mrng,this.biasFactor);this.activeSliceIndex=this.mrng.nextInt(0,this.slices.length-1);const e=this.slices[this.activeSliceIndex];if(1!==this.mrng.nextInt(1,this.biasFactor))return this.nextIndexInSlice=1,this.lastIndexInSlice=e.length-1,new n.Value(e[0],undefined);const t=this.mrng.nextInt(0,e.length-1),r=this.mrng.nextInt(0,e.length-1);return this.nextIndexInSlice=Math.min(t,r),this.lastIndexInSlice=Math.max(t,r),new n.Value(e[this.nextIndexInSlice++],undefined)}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/implementations/SlicedBasedGenerator.js"}],[2343,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrayToMapUnmapper=r.arrayToMapMapper=void 0,r.arrayToMapMapper=function(e){return new Map(e)},r.arrayToMapUnmapper=function(e){if("object"!=typeof e||null===e)throw new Error("Incompatible instance received: should be a non-null object");if(!("constructor"in e)||e.constructor!==Map)throw new Error("Incompatible instance received: should be of exact type Map");return Array.from(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/ArrayToMap.js"}],[2344,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrayToSetUnmapper=r.arrayToSetMapper=void 0,r.arrayToSetMapper=function(e){return new Set(e)},r.arrayToSetUnmapper=function(e){if("object"!=typeof e||null===e)throw new Error("Incompatible instance received: should be a non-null object");if(!("constructor"in e)||e.constructor!==Set)throw new Error("Incompatible instance received: should be of exact type Set");return Array.from(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/ArrayToSet.js"}],[2345,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.charsToStringUnmapper=r.charsToStringMapper=void 0,r.charsToStringMapper=function(e){return e.join("")},r.charsToStringUnmapper=function(e){if("string"!=typeof e)throw new Error("Cannot unmap the passed value");return e.split("")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/CharsToString.js"}],[2346,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.codePointsToStringUnmapper=r.codePointsToStringMapper=void 0,r.codePointsToStringMapper=function(e){return e.join("")},r.codePointsToStringUnmapper=function(e){if("string"!=typeof e)throw new Error("Cannot unmap the passed value");return[...e]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/CodePointsToString.js"}],[2347,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 0===e.length?[]:e.split(":")}function i(e){const t=e.split(":");return t.length>=2&&t[t.length-1].length<=4?[t.slice(0,t.length-2),`${t[t.length-2]}:${t[t.length-1]}`]:[t.slice(0,t.length-1),t[t.length-1]]}function o(e){return`${e[0].join(":")}::${e[1].join(":")}:${e[2]}`}function a(e){if("string"!=typeof e)throw new Error("Invalid type");const[t,r]=e.split("::",2),[o,a]=i(r);return[n(t),o,a]}Object.defineProperty(r,"__esModule",{value:!0}),r.noTrailingUnmapper=r.noTrailingMapper=r.singleTrailingUnmapper=r.singleTrailingMapper=r.multiTrailingUnmapperOne=r.multiTrailingMapperOne=r.multiTrailingUnmapper=r.multiTrailingMapper=r.onlyTrailingUnmapper=r.onlyTrailingMapper=r.fullySpecifiedUnmapper=r.fullySpecifiedMapper=void 0,r.fullySpecifiedMapper=function(e){return`${e[0].join(":")}:${e[1]}`},r.fullySpecifiedUnmapper=function(e){if("string"!=typeof e)throw new Error("Invalid type");return i(e)},r.onlyTrailingMapper=function(e){return`::${e[0].join(":")}:${e[1]}`},r.onlyTrailingUnmapper=function(e){if("string"!=typeof e)throw new Error("Invalid type");if(!e.startsWith("::"))throw new Error("Invalid value");return i(e.substring(2))},r.multiTrailingMapper=o,r.multiTrailingUnmapper=a,r.multiTrailingMapperOne=function(e){return o([e[0],[e[1]],e[2]])},r.multiTrailingUnmapperOne=function(e){const t=a(e);return[t[0],t[1].join(":"),t[2]]},r.singleTrailingMapper=function(e){return`${e[0].join(":")}::${e[1]}`},r.singleTrailingUnmapper=function(e){if("string"!=typeof e)throw new Error("Invalid type");const[t,r]=e.split("::",2);return[n(t),r]},r.noTrailingMapper=function(e){return`${e[0].join(":")}::`},r.noTrailingUnmapper=function(e){if("string"!=typeof e)throw new Error("Invalid type");if(!e.endsWith("::"))throw new Error("Invalid value");return[n(e.substring(0,e.length-2))]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/EntitiesToIPv6.js"}],[2348,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.indexToCharStringUnmapper=r.indexToCharStringMapper=void 0,r.indexToCharStringMapper=String.fromCodePoint,r.indexToCharStringUnmapper=function(e){if("string"!=typeof e)throw new Error("Cannot unmap non-string");if(0===e.length||e.length>2)throw new Error("Cannot unmap string with more or less than one character");const t=e.charCodeAt(0);if(1===e.length)return t;const r=e.charCodeAt(1);if(t<55296||t>56319||r<56320||r>57343)throw new Error("Cannot unmap invalid surrogate pairs");return e.codePointAt(0)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/IndexToCharString.js"}],[2349,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.indexToMappedConstantUnmapperFor=r.indexToMappedConstantMapperFor=void 0,r.indexToMappedConstantMapperFor=function(e){return function(t){let r=-1,n=0;for(;t>=n;)n+=e[++r].num;return e[r].build(t-n+e[r].num)}},r.indexToMappedConstantUnmapperFor=function(e){let t=null;return function(r){null===t&&(t=function(e){const t={mapping:new Map,negativeZeroIndex:undefined};let r=0;for(let n=0;n!==e.length;++n){const i=e[n];for(let e=0;e!==i.num;++e){const n=i.build(e);0===n&&1/n===Number.NEGATIVE_INFINITY?t.negativeZeroIndex=r:t.mapping.set(n,r),++r}}return t}(e));const n=Object.is(r,-0)?t.negativeZeroIndex:t.mapping.get(r);if(n===undefined)throw new Error("Unknown value encountered cannot be built using this mapToConstant");return n}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/IndexToMappedConstant.js"}],[2350,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.indexToPrintableIndexUnmapper=r.indexToPrintableIndexMapper=void 0,r.indexToPrintableIndexMapper=function(e){return e<95?e+32:e<=126?e-95:e},r.indexToPrintableIndexUnmapper=function(e){return e>=32&&e<=126?e-32:e>=0&&e<=31?e+95:e}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/IndexToPrintableIndex.js"}],[2351,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.keyValuePairsToObjectUnmapper=r.keyValuePairsToObjectMapper=void 0,r.keyValuePairsToObjectMapper=function(e){const t={};for(const r of e)Object.defineProperty(t,r[0],{enumerable:!0,configurable:!0,writable:!0,value:r[1]});return t},r.keyValuePairsToObjectUnmapper=function(e){if("object"!=typeof e||null===e)throw new Error("Incompatible instance received: should be a non-null object");if(!("constructor"in e)||e.constructor!==Object)throw new Error("Incompatible instance received: should be of exact type Object");if(Object.getOwnPropertySymbols(e).length>0)throw new Error("Incompatible instance received: should contain symbols");if(Object.getOwnPropertyNames(e).find((t=e,function(e){const r=Object.getOwnPropertyDescriptor(t,e);return r===undefined||!r.configurable||!r.enumerable||!r.writable||r.get!==undefined||r.set!==undefined}))!==undefined)throw new Error("Incompatible instance received: should contain only c/e/w properties without get/set");var t;return Object.entries(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/KeyValuePairsToObject.js"}],[2352,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t){const r=Number.parseInt(e,t);if(r.toString(t)!==e)throw new Error("Invalid value");return r}Object.defineProperty(r,"__esModule",{value:!0}),r.natToStringifiedNatUnmapper=r.tryParseStringifiedNat=r.natToStringifiedNatMapper=void 0,r.natToStringifiedNatMapper=function(e){const[t,r]=e;switch(t){case"oct":return`0${Number(r).toString(8)}`;case"hex":return`0x${Number(r).toString(16)}`;default:return`${r}`}},r.tryParseStringifiedNat=n,r.natToStringifiedNatUnmapper=function(e){if("string"!=typeof e)throw new Error("Invalid type");return e.length>=2&&"0"===e[0]?"x"===e[1]?["hex",n(e.substr(2),16)]:["oct",n(e.substr(1),8)]:["dec",n(e,10)]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/NatToStringifiedNat.js"}],[2353,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e.toString(16).padStart(8,"0")}Object.defineProperty(r,"__esModule",{value:!0}),r.numberToPaddedEightUnmapper=r.numberToPaddedEightMapper=void 0,r.numberToPaddedEightMapper=n,r.numberToPaddedEightUnmapper=function(e){if("string"!=typeof e)throw new Error("Unsupported type");if(8!==e.length)throw new Error("Unsupported value: invalid length");const t=parseInt(e,16);if(e!==n(t))throw new Error("Unsupported value: invalid content");return t}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/NumberToPaddedEight.js"}],[2354,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.objectToPrototypeLessUnmapper=r.objectToPrototypeLessMapper=void 0,r.objectToPrototypeLessMapper=function(e){return Object.assign(Object.create(null),e)},r.objectToPrototypeLessUnmapper=function(e){if("object"!=typeof e||null===e)throw new Error("Incompatible instance received: should be a non-null object");if("__proto__"in e)throw new Error("Incompatible instance received: should not have any __proto__");return Object.assign({},e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/ObjectToPrototypeLess.js"}],[2355,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.paddedEightsToUuidUnmapper=r.paddedEightsToUuidMapper=void 0,r.paddedEightsToUuidMapper=function(e){return`${e[0]}-${e[1].substring(4)}-${e[1].substring(0,4)}-${e[2].substring(0,4)}-${e[2].substring(4)}${e[3]}`};const n=/^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$/;r.paddedEightsToUuidUnmapper=function(e){if("string"!=typeof e)throw new Error("Unsupported type");const t=n.exec(e);if(null===t)throw new Error("Unsupported type");return[t[1],t[3]+t[2],t[4]+t[5].substring(0,4),t[5].substring(4)]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/PaddedEightsToUuid.js"}],[2356,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.partsToUrlUnmapper=r.partsToUrlMapper=void 0,r.partsToUrlMapper=function(e){const[t,r,n]=e;return`${t}://${r}${n}${null===e[3]?"":`?${e[3]}`}${null===e[4]?"":`#${e[4]}`}`};const n=/^([[A-Za-z][A-Za-z0-9+.-]*):\/\/([^/?#]*)([^?#]*)(\?[A-Za-z0-9\-._~!$&'()*+,;=:@/?%]*)?(#[A-Za-z0-9\-._~!$&'()*+,;=:@/?%]*)?$/;r.partsToUrlUnmapper=function(e){if("string"!=typeof e)throw new Error("Incompatible value received: type");const t=n.exec(e);if(null===t)throw new Error("Incompatible value received");const r=t[1],i=t[2],o=t[3],a=t[4],s=t[5];return[r,i,o,a!==undefined?a.substring(1):null,s!==undefined?s.substring(1):null]}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/PartsToUrl.js"}],[2357,{"../helpers/MaxLengthFromMinLength":2329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.patternsToStringUnmapperFor=r.patternsToStringMapper=void 0;const n=e("../helpers/MaxLengthFromMinLength");r.patternsToStringMapper=function(e){return e.join("")},r.patternsToStringUnmapperFor=function(e,t){return function(r){if("string"!=typeof r)throw new Error("Unsupported value");const i=t.minLength!==undefined?t.minLength:0,o=t.maxLength!==undefined?t.maxLength:n.MaxLengthUpperBound;if(0===r.length){if(i>0)throw new Error("Unable to unmap received string");return[]}const a=[{endIndexChunks:0,nextStartIndex:1,chunks:[]}];for(;a.length>0;){const t=a.pop();for(let n=t.nextStartIndex;n<=r.length;++n){const s=r.substring(t.endIndexChunks,n);if(e.canShrinkWithoutContext(s)){const e=t.chunks.concat([s]);if(n===r.length){if(e.length<i||e.length>o)break;return e}a.push({endIndexChunks:t.endIndexChunks,nextStartIndex:n+1,chunks:t.chunks}),a.push({endIndexChunks:n,nextStartIndex:n+1,chunks:e});break}}}throw new Error("Unable to unmap received string")}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/PatternsToString.js"}],[2358,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.segmentsToPathUnmapper=r.segmentsToPathMapper=void 0,r.segmentsToPathMapper=function(e){return e.map((e=>`/${e}`)).join("")},r.segmentsToPathUnmapper=function(e){if("string"!=typeof e)throw new Error("Incompatible value received: type");if(0!==e.length&&"/"!==e[0])throw new Error("Incompatible value received: start");return e.split("/").splice(1)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/SegmentsToPath.js"}],[2359,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.stringToBase64Unmapper=r.stringToBase64Mapper=void 0,r.stringToBase64Mapper=function(e){switch(e.length%4){case 0:return e;case 3:return`${e}=`;case 2:return`${e}==`;default:return e.slice(1)}},r.stringToBase64Unmapper=function(e){if("string"!=typeof e||e.length%4!=0)throw new Error("Invalid string received");const t=e.indexOf("=");if(-1===t)return e;if(e.length-t>2)throw new Error("Cannot unmap the passed value");return e.substring(0,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/StringToBase64.js"}],[2360,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.timeToDateUnmapper=r.timeToDateMapper=void 0,r.timeToDateMapper=function(e){return new Date(e)},r.timeToDateUnmapper=function(e){if(!(e instanceof Date)||e.constructor!==Date)throw new Error("Not a valid value for date unmapper");return e.getTime()}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/TimeToDate.js"}],[2361,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.unboxedToBoxedUnmapper=r.unboxedToBoxedMapper=void 0,r.unboxedToBoxedMapper=function(e){switch(typeof e){case"boolean":return new Boolean(e);case"number":return new Number(e);case"string":return new String(e);default:return e}},r.unboxedToBoxedUnmapper=function(e){return"object"==typeof e&&null!==e&&"constructor"in e&&(e.constructor===Boolean||e.constructor===Number||e.constructor===String)?e.valueOf():e}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/UnboxedToBoxed.js"}],[2362,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.buildValuesAndSeparateKeysToObjectUnmapper=r.buildValuesAndSeparateKeysToObjectMapper=void 0,r.buildValuesAndSeparateKeysToObjectMapper=function(e,t){return function(r){const n={};for(let i=0;i!==e.length;++i){const o=r[i];o!==t&&Object.defineProperty(n,e[i],{value:o,configurable:!0,enumerable:!0,writable:!0})}return n}},r.buildValuesAndSeparateKeysToObjectUnmapper=function(e,t){return function(r){if("object"!=typeof r||null===r)throw new Error("Incompatible instance received: should be a non-null object");if(!("constructor"in r)||r.constructor!==Object)throw new Error("Incompatible instance received: should be of exact type Object");let n=0;const i=[];for(let o=0;o!==e.length;++o){const a=Object.getOwnPropertyDescriptor(r,e[o]);if(a!==undefined){if(!a.configurable||!a.enumerable||!a.writable)throw new Error("Incompatible instance received: should contain only c/e/w properties");if(a.get!==undefined||a.set!==undefined)throw new Error("Incompatible instance received: should contain only no get/set properties");++n,i.push(a.value)}else i.push(t)}if(n!==Object.getOwnPropertyNames(r).length+Object.getOwnPropertySymbols(r).length)throw new Error("Incompatible instance received: should not contain extra properties");return i}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/ValuesAndSeparateKeysToObject.js"}],[2363,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sentencesToParagraphUnmapper=r.sentencesToParagraphMapper=r.wordsToSentenceUnmapperFor=r.wordsToSentenceMapper=r.wordsToJoinedStringUnmapperFor=r.wordsToJoinedStringMapper=void 0,r.wordsToJoinedStringMapper=function(e){return e.map((e=>","===e[e.length-1]?e.substr(0,e.length-1):e)).join(" ")},r.wordsToJoinedStringUnmapperFor=function(e){return function(t){if("string"!=typeof t)throw new Error("Unsupported type");const r=[];for(const n of t.split(" "))if(e.canShrinkWithoutContext(n))r.push(n);else{if(!e.canShrinkWithoutContext(n+","))throw new Error("Unsupported word");r.push(n+",")}return r}},r.wordsToSentenceMapper=function(e){let t=e.join(" ");return","===t[t.length-1]&&(t=t.substr(0,t.length-1)),t[0].toUpperCase()+t.substring(1)+"."},r.wordsToSentenceUnmapperFor=function(e){return function(t){if("string"!=typeof t)throw new Error("Unsupported type");if(t.length<2||"."!==t[t.length-1]||","===t[t.length-2]||t[0].toLowerCase().toUpperCase()!==t[0])throw new Error("Unsupported value");const r=[],n=(t[0].toLowerCase()+t.substring(1,t.length-1)).split(" ");for(let t=0;t!==n.length;++t){const i=n[t];if(e.canShrinkWithoutContext(i))r.push(i);else{if(t!==n.length-1||!e.canShrinkWithoutContext(i+","))throw new Error("Unsupported word");r.push(i+",")}}return r}},r.sentencesToParagraphMapper=function(e){return e.join(" ")},r.sentencesToParagraphUnmapper=function(e){if("string"!=typeof e)throw new Error("Unsupported type");const t=e.split(". ");for(let e=0;e<t.length-1;++e)t[e]+=".";return t}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/_internals/mappers/WordsToLorem.js"}],[2364,{"./_internals/builders/AnyArbitraryBuilder":2305,"./_internals/helpers/QualifiedObjectConstraints":2331},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.anything=void 0;const n=e("./_internals/builders/AnyArbitraryBuilder"),i=e("./_internals/helpers/QualifiedObjectConstraints");r.anything=function(e){return(0,n.anyArbitraryBuilder)((0,i.toQualifiedObjectConstraints)(e))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/anything.js"}],[2365,{"./_internals/ArrayArbitrary":2290,"./_internals/helpers/MaxLengthFromMinLength":2329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.array=void 0;const n=e("./_internals/ArrayArbitrary"),i=e("./_internals/helpers/MaxLengthFromMinLength");r.array=function(e,t={}){const r=t.size,o=t.minLength||0,a=t.maxLength,s=t.depthIdentifier,u=a!==undefined?a:i.MaxLengthUpperBound,l=a!==undefined,c=(0,i.maxGeneratedLengthFromSizeForArbitrary)(r,o,u,l),f=t.experimentalCustomSlices||[];return new n.ArrayArbitrary(e,o,c,u,s,undefined,f)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/array.js"}],[2366,{"./_internals/builders/CharacterArbitraryBuilder":2307,"./_internals/mappers/IndexToPrintableIndex":2350},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ascii=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder"),i=e("./_internals/mappers/IndexToPrintableIndex");r.ascii=function(){return(0,n.buildCharacterArbitrary)(0,127,i.indexToPrintableIndexMapper,i.indexToPrintableIndexUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/ascii.js"}],[2367,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./array":2365,"./ascii":2366},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.asciiString=void 0;const n=e("./array"),i=e("./ascii"),o=e("./_internals/mappers/CodePointsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.asciiString=function(e={}){const t=(0,i.ascii)(),r=(0,a.createSlicesForString)(t,o.codePointsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.codePointsToStringMapper,o.codePointsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/asciiString.js"}],[2368,{"./_internals/builders/CharacterArbitraryBuilder":2307},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.base64=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder");function i(e){return e<26?e+65:e<52?e+97-26:e<62?e+48-52:62===e?43:47}function o(e){return e>=65&&e<=90?e-65:e>=97&&e<=122?e-97+26:e>=48&&e<=57?e-48+52:43===e?62:47===e?63:-1}r.base64=function(){return(0,n.buildCharacterArbitrary)(0,63,i,o)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/base64.js"}],[2369,{"./_internals/helpers/MaxLengthFromMinLength":2329,"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./_internals/mappers/StringToBase64":2359,"./array":2365,"./base64":2368},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.base64String=void 0;const n=e("./array"),i=e("./base64"),o=e("./_internals/helpers/MaxLengthFromMinLength"),a=e("./_internals/mappers/CodePointsToString"),s=e("./_internals/mappers/StringToBase64"),u=e("./_internals/helpers/SlicesForStringBuilder");r.base64String=function(e={}){const{minLength:t=0,maxLength:r=o.MaxLengthUpperBound,size:l}=e,c=t+3-(t+3)%4,f=r-r%4,d=e.maxLength===undefined&&l===undefined?"=":l;if(c>f)throw new Error("Minimal length should be inferior or equal to maximal length");if(c%4!=0)throw new Error("Minimal length of base64 strings must be a multiple of 4");if(f%4!=0)throw new Error("Maximal length of base64 strings must be a multiple of 4");const h=(0,i.base64)(),p={minLength:c,maxLength:f,size:d,experimentalCustomSlices:(0,u.createSlicesForString)(h,a.codePointsToStringUnmapper)};return(0,n.array)(h,p).map(a.codePointsToStringMapper,a.codePointsToStringUnmapper).map(s.stringToBase64Mapper,s.stringToBase64Unmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/base64String.js"}],[2370,{"./_internals/BigIntArbitrary":2292},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigInt=void 0;const n=e("./_internals/BigIntArbitrary");r.bigInt=function(...e){const t=function(e){const t=BigInt(-1)<<BigInt(255),r=(BigInt(1)<<BigInt(255))-BigInt(1),n=e.min,i=e.max;return{min:n!==undefined?n:t-(i!==undefined&&i<BigInt(0)?i*i:BigInt(0)),max:i!==undefined?i:r+(n!==undefined&&n>BigInt(0)?n*n:BigInt(0))}}(function(e){if(e[0]===undefined)return{};if(e[1]===undefined)return e[0];return{min:e[0],max:e[1]}}(e));if(t.min>t.max)throw new Error("fc.bigInt expects max to be greater than or equal to min");return new n.BigIntArbitrary(t.min,t.max)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigInt.js"}],[2371,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./bigInt":2370},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigInt64Array=void 0;const n=e("./bigInt"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.bigInt64Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,BigInt("-9223372036854775808"),BigInt("9223372036854775807"),BigInt64Array,n.bigInt)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigInt64Array.js"}],[2372,{"./_internals/BigIntArbitrary":2292},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigIntN=void 0;const n=e("./_internals/BigIntArbitrary");r.bigIntN=function(e){if(e<1)throw new Error("fc.bigIntN expects requested number of bits to be superior or equal to 1");const t=BigInt(-1)<<BigInt(e-1),r=(BigInt(1)<<BigInt(e-1))-BigInt(1);return new n.BigIntArbitrary(t,r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigIntN.js"}],[2373,{"./_internals/BigIntArbitrary":2292},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigUint=void 0;const n=e("./_internals/BigIntArbitrary");r.bigUint=function(e){const t="object"==typeof e?e.max:e,r=t!==undefined?t:(BigInt(1)<<BigInt(256))-BigInt(1);if(r<0)throw new Error("fc.bigUint expects max to be greater than or equal to zero");return new n.BigIntArbitrary(BigInt(0),r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigUint.js"}],[2374,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./bigInt":2370},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigUint64Array=void 0;const n=e("./bigInt"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.bigUint64Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,BigInt(0),BigInt("18446744073709551615"),BigUint64Array,n.bigInt)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigUint64Array.js"}],[2375,{"./_internals/BigIntArbitrary":2292},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bigUintN=void 0;const n=e("./_internals/BigIntArbitrary");r.bigUintN=function(e){if(e<0)throw new Error("fc.bigUintN expects requested number of bits to be superior or equal to 0");const t=BigInt(0),r=(BigInt(1)<<BigInt(e))-BigInt(1);return new n.BigIntArbitrary(t,r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/bigUintN.js"}],[2376,{"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.boolean=void 0;const n=e("./integer");function i(e){return 1===e}function o(e){if("boolean"!=typeof e)throw new Error("Unsupported input type");return!0===e?1:0}r.boolean=function(){return(0,n.integer)({min:0,max:1}).map(i,o).noBias()}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/boolean.js"}],[2377,{"./_internals/builders/CharacterArbitraryBuilder":2307},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.char=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder");function i(e){return e}r.char=function(){return(0,n.buildCharacterArbitrary)(32,126,i,i)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/char.js"}],[2378,{"./_internals/builders/CharacterArbitraryBuilder":2307,"./_internals/mappers/IndexToPrintableIndex":2350},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.char16bits=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder"),i=e("./_internals/mappers/IndexToPrintableIndex");r.char16bits=function(){return(0,n.buildCharacterArbitrary)(0,65535,i.indexToPrintableIndexMapper,i.indexToPrintableIndexUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/char16bits.js"}],[2379,{"./_internals/CloneArbitrary":2293},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.clone=void 0;const n=e("./_internals/CloneArbitrary");r.clone=function(e,t){return new n.CloneArbitrary(e,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/clone.js"}],[2380,{"./_internals/CommandsArbitrary":2294,"./_internals/helpers/MaxLengthFromMinLength":2329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.commands=void 0;const n=e("./_internals/CommandsArbitrary"),i=e("./_internals/helpers/MaxLengthFromMinLength");r.commands=function(e,t={}){const{size:r,maxCommands:o=i.MaxLengthUpperBound,disableReplayLog:a=!1,replayPath:s=null}=t,u=t.maxCommands!==undefined,l=(0,i.maxGeneratedLengthFromSizeForArbitrary)(r,0,o,u);return new n.CommandsArbitrary(e,l,o,s,a)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/commands.js"}],[2381,{"./_internals/builders/CompareFunctionArbitraryBuilder":2309},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.compareBooleanFunc=void 0;const n=e("./_internals/builders/CompareFunctionArbitraryBuilder");r.compareBooleanFunc=function(){return(0,n.buildCompareFunctionArbitrary)(Object.assign(((e,t)=>e<t),{toString:()=>"(hA, hB) => hA < hB"}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/compareBooleanFunc.js"}],[2382,{"./_internals/builders/CompareFunctionArbitraryBuilder":2309},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.compareFunc=void 0;const n=e("./_internals/builders/CompareFunctionArbitraryBuilder");r.compareFunc=function(){return(0,n.buildCompareFunctionArbitrary)(Object.assign(((e,t)=>e-t),{toString:()=>"(hA, hB) => hA - hB"}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/compareFunc.js"}],[2383,{"./_internals/ConstantArbitrary":2295},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.constant=void 0;const n=e("./_internals/ConstantArbitrary");r.constant=function(e){return new n.ConstantArbitrary([e])}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/constant.js"}],[2384,{"./_internals/ConstantArbitrary":2295},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.constantFrom=void 0;const n=e("./_internals/ConstantArbitrary");r.constantFrom=function(...e){if(0===e.length)throw new Error("fc.constantFrom expects at least one parameter");return new n.ConstantArbitrary(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/constantFrom.js"}],[2385,{"../check/symbols":2477,"./constant":2383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.context=void 0;const n=e("../check/symbols"),i=e("./constant");class o{constructor(){this.receivedLogs=[]}log(e){this.receivedLogs.push(e)}size(){return this.receivedLogs.length}toString(){return JSON.stringify({logs:this.receivedLogs})}[n.cloneMethod](){return new o}}r.context=function(){return(0,i.constant)(new o)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/context.js"}],[2386,{"./_internals/mappers/TimeToDate":2360,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.date=void 0;const n=e("./integer"),i=e("./_internals/mappers/TimeToDate");r.date=function(e){const t=e&&e.min!==undefined?e.min.getTime():-864e13,r=e&&e.max!==undefined?e.max.getTime():864e13;if(Number.isNaN(t))throw new Error("fc.date min must be valid instance of Date");if(Number.isNaN(r))throw new Error("fc.date max must be valid instance of Date");if(t>r)throw new Error("fc.date max must be greater or equal to min");return(0,n.integer)({min:t,max:r}).map(i.timeToDateMapper,i.timeToDateUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/date.js"}],[2387,{"./_internals/mappers/KeyValuePairsToObject":2351,"./tuple":2429,"./uniqueArray":2438},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dictionary=void 0;const n=e("./tuple"),i=e("./uniqueArray"),o=e("./_internals/mappers/KeyValuePairsToObject");function a(e){return e[0]}r.dictionary=function(e,t,r={}){return(0,i.uniqueArray)((0,n.tuple)(e,t),{minLength:r.minKeys,maxLength:r.maxKeys,size:r.size,selector:a}).map(o.keyValuePairsToObjectMapper,o.keyValuePairsToObjectUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/dictionary.js"}],[2388,{"./_internals/AdapterArbitrary":2288,"./_internals/builders/CharacterRangeArbitraryBuilder":2308,"./_internals/helpers/InvalidSubdomainLabelFiIter":2326,"./_internals/helpers/MaxLengthFromMinLength":2329,"./array":2365,"./option":2420,"./stringOf":2427,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.domain=void 0;const n=e("./array"),i=e("./_internals/builders/CharacterRangeArbitraryBuilder"),o=e("./option"),a=e("./stringOf"),s=e("./tuple"),u=e("./_internals/helpers/InvalidSubdomainLabelFiIter"),l=e("./_internals/helpers/MaxLengthFromMinLength"),c=e("./_internals/AdapterArbitrary");function f([e,t]){return null===t?e:`${e}${t[0]}${t[1]}`}function d(e){if("string"!=typeof e||0===e.length)throw new Error("Unsupported");return 1===e.length?[e[0],null]:[e[0],[e.substring(1,e.length-1),e[e.length-1]]]}function h(e){return`${e[0].join(".")}.${e[1]}`}function p(e){if("string"!=typeof e)throw new Error("Unsupported type");const t=e.lastIndexOf(".");return[e.substring(0,t).split("."),e.substring(t+1)]}function y(e){const[t,r]=e;let n=r.length;for(let e=0;e!==t.length;++e)if(n+=1+t[e].length,n>255)return{adapted:!0,value:[t.slice(0,e),r]};return{adapted:!1,value:e}}r.domain=function(e={}){const t=(0,l.resolveSize)(e.size),r=(0,l.relativeSizeToSize)("-1",t),m=(0,i.buildLowerAlphaArbitrary)([]),b=(0,a.stringOf)(m,{minLength:2,maxLength:63,size:r});return(0,c.adapter)((0,s.tuple)((0,n.array)(function(e){const t=(0,i.buildLowerAlphaNumericArbitrary)([]),r=(0,i.buildLowerAlphaNumericArbitrary)(["-"]);return(0,s.tuple)(t,(0,o.option)((0,s.tuple)((0,a.stringOf)(r,{size:e,maxLength:61}),t))).map(f,d).filter(u.filterInvalidSubdomainLabel)}(t),{size:r,minLength:1,maxLength:127}),b),y).map(h,p)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/domain.js"}],[2389,{"./_internals/ArrayInt64Arbitrary":2291,"./_internals/helpers/ArrayInt64":2317,"./_internals/helpers/DoubleHelpers":2323},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.double=void 0;const n=e("./_internals/helpers/ArrayInt64"),i=e("./_internals/ArrayInt64Arbitrary"),o=e("./_internals/helpers/DoubleHelpers");function a(e,t){if(Number.isNaN(e))throw new Error("fc.double constraints."+t+" must be a 32-bit float");return(0,o.doubleToIndex)(e)}function s(e){if("number"!=typeof e)throw new Error("Unsupported type");return(0,o.doubleToIndex)(e)}r.double=function(e={}){const{noDefaultInfinity:t=!1,noNaN:r=!1,min:u=(t?-Number.MAX_VALUE:Number.NEGATIVE_INFINITY),max:l=(t?Number.MAX_VALUE:Number.POSITIVE_INFINITY)}=e,c=a(u,"min"),f=a(l,"max");if((0,n.isStrictlySmaller64)(f,c))throw new Error("fc.double constraints.min must be smaller or equal to constraints.max");if(r)return(0,i.arrayInt64)(c,f).map(o.indexToDouble,s);const d=(0,n.isStrictlyPositive64)(f),h=d?c:(0,n.substract64)(c,n.Unit64),p=d?(0,n.add64)(f,n.Unit64):f;return(0,i.arrayInt64)(h,p).map((e=>(0,n.isStrictlySmaller64)(f,e)||(0,n.isStrictlySmaller64)(e,c)?Number.NaN:(0,o.indexToDouble)(e)),(e=>{if("number"!=typeof e)throw new Error("Unsupported type");return Number.isNaN(e)?(0,n.isEqual64)(f,p)?h:p:(0,o.doubleToIndex)(e)}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/double.js"}],[2390,{"./_internals/AdapterArbitrary":2288,"./_internals/builders/CharacterRangeArbitraryBuilder":2308,"./array":2365,"./domain":2388,"./stringOf":2427,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.emailAddress=void 0;const n=e("./array"),i=e("./_internals/builders/CharacterRangeArbitraryBuilder"),o=e("./domain"),a=e("./stringOf"),s=e("./tuple"),u=e("./_internals/AdapterArbitrary");function l(e){let t=e[0].length;for(let r=1;r!==e.length;++r)if(t+=1+e[r].length,t>64)return{adapted:!0,value:e.slice(0,r)};return{adapted:!1,value:e}}function c(e){return e.join(".")}function f(e){if("string"!=typeof e)throw new Error("Unsupported");return e.split(".")}function d(e){return`${e[0]}@${e[1]}`}function h(e){if("string"!=typeof e)throw new Error("Unsupported");return e.split("@",2)}r.emailAddress=function(e={}){const t=(0,i.buildLowerAlphaNumericArbitrary)(["!","#","$","%","&","'","*","+","-","/","=","?","^","_","`","{","|","}","~"]),r=(0,u.adapter)((0,n.array)((0,a.stringOf)(t,{minLength:1,maxLength:64,size:e.size}),{minLength:1,maxLength:32,size:e.size}),l).map(c,f);return(0,s.tuple)(r,(0,o.domain)({size:e.size})).map(d,h)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/emailAddress.js"}],[2391,{"./constantFrom":2384},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.falsy=void 0;const n=e("./constantFrom");r.falsy=function(e){return e&&e.withBigInt?(0,n.constantFrom)(!1,null,undefined,0,"",NaN,BigInt(0)):(0,n.constantFrom)(!1,null,undefined,0,"",NaN)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/falsy.js"}],[2392,{"./_internals/helpers/FloatHelpers":2325,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.float=void 0;const n=e("./integer"),i=e("./_internals/helpers/FloatHelpers");function o(e,t){const r="fc.float constraints."+t+" must be a 32-bit float - "+"you can convert any double to a 32-bit float by using `new Float32Array([myDouble])[0]`";if(Number.isNaN(e)||Number.isFinite(e)&&(e<-i.MAX_VALUE_32||e>i.MAX_VALUE_32))throw new Error(r);const n=(0,i.floatToIndex)(e);if(!Number.isInteger(n))throw new Error(r);return n}function a(e){if("number"!=typeof e)throw new Error("Unsupported type");return(0,i.floatToIndex)(e)}r.float=function(e={}){const{noDefaultInfinity:t=!1,noNaN:r=!1,min:s=(t?-i.MAX_VALUE_32:Number.NEGATIVE_INFINITY),max:u=(t?i.MAX_VALUE_32:Number.POSITIVE_INFINITY)}=e,l=o(s,"min"),c=o(u,"max");if(l>c)throw new Error("fc.float constraints.min must be smaller or equal to constraints.max");if(r)return(0,n.integer)({min:l,max:c}).map(i.indexToFloat,a);const f=c>0?l:l-1,d=c>0?c+1:c;return(0,n.integer)({min:f,max:d}).map((e=>e>c||e<l?Number.NaN:(0,i.indexToFloat)(e)),(e=>{if("number"!=typeof e)throw new Error("Unsupported type");return Number.isNaN(e)?c!==d?d:f:(0,i.floatToIndex)(e)}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/float.js"}],[2393,{"./array":2365,"./float":2392},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.float32Array=void 0;const n=e("./float"),i=e("./array");function o(e){return Float32Array.from(e)}function a(e){if(!(e instanceof Float32Array))throw new Error("Unexpected type");return[...e]}r.float32Array=function(e={}){return(0,i.array)((0,n.float)(e),e).map(o,a)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/float32Array.js"}],[2394,{"./array":2365,"./double":2389},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.float64Array=void 0;const n=e("./double"),i=e("./array");function o(e){return Float64Array.from(e)}function a(e){if(!(e instanceof Float64Array))throw new Error("Unexpected type");return[...e]}r.float64Array=function(e={}){return(0,i.array)((0,n.double)(e),e).map(o,a)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/float64Array.js"}],[2395,{"./_internals/builders/CharacterArbitraryBuilder":2307,"./_internals/mappers/IndexToPrintableIndex":2350},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fullUnicode=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder"),i=e("./_internals/mappers/IndexToPrintableIndex"),o=2048;function a(e){return e<55296?(0,i.indexToPrintableIndexMapper)(e):e+o}function s(e){return e<55296?(0,i.indexToPrintableIndexUnmapper)(e):e<=57343?-1:e-o}r.fullUnicode=function(){return(0,n.buildCharacterArbitrary)(0,1112063,a,s)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/fullUnicode.js"}],[2396,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./array":2365,"./fullUnicode":2395},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fullUnicodeString=void 0;const n=e("./array"),i=e("./fullUnicode"),o=e("./_internals/mappers/CodePointsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.fullUnicodeString=function(e={}){const t=(0,i.fullUnicode)(),r=(0,a.createSlicesForString)(t,o.codePointsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.codePointsToStringMapper,o.codePointsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/fullUnicodeString.js"}],[2397,{"../check/symbols":2477,"../utils/hash":2484,"../utils/stringify":2485,"./_internals/helpers/TextEscaper":2338,"./array":2365,"./integer":2404,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.func=void 0;const n=e("../utils/hash"),i=e("../utils/stringify"),o=e("../check/symbols"),a=e("./array"),s=e("./integer"),u=e("./tuple"),l=e("./_internals/helpers/TextEscaper");r.func=function(e){return(0,u.tuple)((0,a.array)(e,{minLength:1}),(0,s.integer)().noShrink()).map((([e,t])=>{const r=()=>{const a={};function s(e){const r=Object.keys(a).sort().map((e=>`${e} => ${(0,i.stringify)(a[e])}`)).map((e=>`/* ${(0,l.escapeForMultilineComments)(e)} */`));return`function(...args) {\n  // With hash and stringify coming from fast-check${0!==r.length?`\n  ${r.join("\n  ")}`:""}\n  const outs = ${e};\n  return outs[hash('${t}' + stringify(args)) % outs.length];\n}`}return Object.defineProperties(((...r)=>{const s=(0,i.stringify)(r),u=e[(0,n.hash)(`${t}${s}`)%e.length];return a[s]=u,(0,o.hasCloneMethod)(u)?u[o.cloneMethod]():u}),{toString:{value:()=>s((0,i.stringify)(e))},[i.toStringMethod]:{value:()=>s((0,i.stringify)(e))},[i.asyncToStringMethod]:{value:async()=>s(await(0,i.asyncStringify)(e))},[o.cloneMethod]:{value:r,configurable:!0}})};return r()}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/func.js"}],[2398,{"./_internals/builders/CharacterArbitraryBuilder":2307},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hexa=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder");function i(e){return e<10?e+48:e+97-10}function o(e){return e<58?e-48:e>=97&&e<103?e-97+10:-1}r.hexa=function(){return(0,n.buildCharacterArbitrary)(0,15,i,o)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/hexa.js"}],[2399,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./array":2365,"./hexa":2398},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hexaString=void 0;const n=e("./array"),i=e("./hexa"),o=e("./_internals/mappers/CodePointsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.hexaString=function(e={}){const t=(0,i.hexa)(),r=(0,a.createSlicesForString)(t,o.codePointsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.codePointsToStringMapper,o.codePointsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/hexaString.js"}],[2400,{"./_internals/StreamArbitrary":2301},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.infiniteStream=void 0;const n=e("./_internals/StreamArbitrary");r.infiniteStream=function(e){return new n.StreamArbitrary(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/infiniteStream.js"}],[2401,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.int16Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.int16Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,-32768,32767,Int16Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/int16Array.js"}],[2402,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.int32Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.int32Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,-2147483648,2147483647,Int32Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/int32Array.js"}],[2403,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.int8Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.int8Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,-128,127,Int8Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/int8Array.js"}],[2404,{"./_internals/IntegerArbitrary":2297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.integer=void 0;const n=e("./_internals/IntegerArbitrary");r.integer=function(e={}){const t=function(e){return{min:e.min!==undefined?e.min:-2147483648,max:e.max!==undefined?e.max:2147483647}}(e);if(t.min>t.max)throw new Error("fc.integer maximum value should be equal or greater than the minimum one");if(!Number.isInteger(t.min))throw new Error("fc.integer minimum value should be an integer");if(!Number.isInteger(t.max))throw new Error("fc.integer maximum value should be an integer");return new n.IntegerArbitrary(t.min,t.max)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/integer.js"}],[2405,{"./_internals/mappers/NatToStringifiedNat":2352,"./nat":2417,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ipV4=void 0;const n=e("./nat"),i=e("./tuple"),o=e("./_internals/mappers/NatToStringifiedNat");function a(e){return e.join(".")}function s(e){if("string"!=typeof e)throw new Error("Invalid type");return e.split(".").map((e=>(0,o.tryParseStringifiedNat)(e,10)))}r.ipV4=function(){return(0,i.tuple)((0,n.nat)(255),(0,n.nat)(255),(0,n.nat)(255),(0,n.nat)(255)).map(a,s)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/ipV4.js"}],[2406,{"./_internals/builders/StringifiedNatArbitraryBuilder":2313,"./oneof":2419,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ipV4Extended=void 0;const n=e("./oneof"),i=e("./tuple"),o=e("./_internals/builders/StringifiedNatArbitraryBuilder");function a(e){return e.join(".")}function s(e){if("string"!=typeof e)throw new Error("Invalid type");return e.split(".")}r.ipV4Extended=function(){return(0,n.oneof)((0,i.tuple)((0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(255)).map(a,s),(0,i.tuple)((0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(65535)).map(a,s),(0,i.tuple)((0,o.buildStringifiedNatArbitrary)(255),(0,o.buildStringifiedNatArbitrary)(16777215)).map(a,s),(0,o.buildStringifiedNatArbitrary)(4294967295))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/ipV4Extended.js"}],[2407,{"./_internals/mappers/EntitiesToIPv6":2347,"./array":2365,"./hexaString":2399,"./ipV4":2405,"./oneof":2419,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ipV6=void 0;const n=e("./array"),i=e("./oneof"),o=e("./hexaString"),a=e("./tuple"),s=e("./ipV4"),u=e("./_internals/mappers/EntitiesToIPv6");function l([e,t]){return`${e}:${t}`}function c(e){if("string"!=typeof e)throw new Error("Invalid type");if(!e.includes(":"))throw new Error("Invalid value");return e.split(":",2)}r.ipV6=function(){const e=(0,o.hexaString)({minLength:1,maxLength:4,size:"max"}),t=(0,i.oneof)((0,a.tuple)(e,e).map(l,c),(0,s.ipV4)());return(0,i.oneof)((0,a.tuple)((0,n.array)(e,{minLength:6,maxLength:6,size:"max"}),t).map(u.fullySpecifiedMapper,u.fullySpecifiedUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:5,maxLength:5,size:"max"}),t).map(u.onlyTrailingMapper,u.onlyTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:1,size:"max"}),(0,n.array)(e,{minLength:4,maxLength:4,size:"max"}),t).map(u.multiTrailingMapper,u.multiTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:2,size:"max"}),(0,n.array)(e,{minLength:3,maxLength:3,size:"max"}),t).map(u.multiTrailingMapper,u.multiTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:3,size:"max"}),(0,n.array)(e,{minLength:2,maxLength:2,size:"max"}),t).map(u.multiTrailingMapper,u.multiTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:4,size:"max"}),e,t).map(u.multiTrailingMapperOne,u.multiTrailingUnmapperOne),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:5,size:"max"}),t).map(u.singleTrailingMapper,u.singleTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:6,size:"max"}),e).map(u.singleTrailingMapper,u.singleTrailingUnmapper),(0,a.tuple)((0,n.array)(e,{minLength:0,maxLength:7,size:"max"})).map(u.noTrailingMapper,u.noTrailingUnmapper))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/ipV6.js"}],[2408,{"./jsonValue":2409},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.json=void 0;const n=e("./jsonValue");r.json=function(e={}){return(0,n.jsonValue)(e).map(JSON.stringify)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/json.js"}],[2409,{"./_internals/helpers/JsonConstraintsBuilder":2328,"./anything":2364,"./string":2425},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.jsonValue=void 0;const n=e("./string"),i=e("./_internals/helpers/JsonConstraintsBuilder"),o=e("./anything");r.jsonValue=function(e={}){return(0,o.anything)((0,i.jsonConstraintsBuilder)((0,n.string)(),e))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/jsonValue.js"}],[2410,{"./_internals/LazyArbitrary":2298},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.letrec=void 0;const n=e("./_internals/LazyArbitrary");r.letrec=function(e){const t=Object.create(null),r=e((e=>(Object.prototype.hasOwnProperty.call(t,e)||(t[e]=new n.LazyArbitrary(String(e))),t[e])));for(const e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;const i=t[e],o=i!==undefined?i:new n.LazyArbitrary(e);o.underlying=r[e],t[e]=o}return r}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/letrec.js"}],[2411,{"./_internals/mappers/WordsToLorem":2363,"./array":2365,"./constant":2383,"./oneof":2419},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.lorem=void 0;const n=e("./array"),i=e("./constant"),o=e("./oneof"),a=e("./_internals/mappers/WordsToLorem"),s=(e,t)=>({arbitrary:(0,i.constant)(e),weight:t});r.lorem=function(e={}){const{maxCount:t,mode:r="words",size:i}=e;if(t!==undefined&&t<1)throw new Error("lorem has to produce at least one word/sentence");const u=(0,o.oneof)(s("non",6),s("adipiscing",5),s("ligula",5),s("enim",5),s("pellentesque",5),s("in",5),s("augue",5),s("et",5),s("nulla",5),s("lorem",4),s("sit",4),s("sed",4),s("diam",4),s("fermentum",4),s("ut",4),s("eu",4),s("aliquam",4),s("mauris",4),s("vitae",4),s("felis",4),s("ipsum",3),s("dolor",3),s("amet,",3),s("elit",3),s("euismod",3),s("mi",3),s("orci",3),s("erat",3),s("praesent",3),s("egestas",3),s("leo",3),s("vel",3),s("sapien",3),s("integer",3),s("curabitur",3),s("convallis",3),s("purus",3),s("risus",2),s("suspendisse",2),s("lectus",2),s("nec,",2),s("ultricies",2),s("sed,",2),s("cras",2),s("elementum",2),s("ultrices",2),s("maecenas",2),s("massa,",2),s("varius",2),s("a,",2),s("semper",2),s("proin",2),s("nec",2),s("nisl",2),s("amet",2),s("duis",2),s("congue",2),s("libero",2),s("vestibulum",2),s("pede",2),s("blandit",2),s("sodales",2),s("ante",2),s("nibh",2),s("ac",2),s("aenean",2),s("massa",2),s("suscipit",2),s("sollicitudin",2),s("fusce",2),s("tempus",2),s("aliquam,",2),s("nunc",2),s("ullamcorper",2),s("rhoncus",2),s("metus",2),s("faucibus,",2),s("justo",2),s("magna",2),s("at",2),s("tincidunt",2),s("consectetur",1),s("tortor,",1),s("dignissim",1),s("congue,",1),s("non,",1),s("porttitor,",1),s("nonummy",1),s("molestie,",1),s("est",1),s("eleifend",1),s("mi,",1),s("arcu",1),s("scelerisque",1),s("vitae,",1),s("consequat",1),s("in,",1),s("pretium",1),s("volutpat",1),s("pharetra",1),s("tempor",1),s("bibendum",1),s("odio",1),s("dui",1),s("primis",1),s("faucibus",1),s("luctus",1),s("posuere",1),s("cubilia",1),s("curae,",1),s("hendrerit",1),s("velit",1),s("mauris,",1),s("gravida",1),s("ornare",1),s("ut,",1),s("pulvinar",1),s("varius,",1),s("turpis",1),s("nibh,",1),s("eros",1),s("id",1),s("aliquet",1),s("quis",1),s("lobortis",1),s("consectetuer",1),s("morbi",1),s("vehicula",1),s("tortor",1),s("tellus,",1),s("id,",1),s("eu,",1),s("quam",1),s("feugiat,",1),s("posuere,",1),s("iaculis",1),s("lectus,",1),s("tristique",1),s("mollis,",1),s("nisl,",1),s("vulputate",1),s("sem",1),s("vivamus",1),s("placerat",1),s("imperdiet",1),s("cursus",1),s("rutrum",1),s("iaculis,",1),s("augue,",1),s("lacus",1));if("sentences"===r){const e=(0,n.array)(u,{minLength:1,size:"small"}).map(a.wordsToSentenceMapper,(0,a.wordsToSentenceUnmapperFor)(u));return(0,n.array)(e,{minLength:1,maxLength:t,size:i}).map(a.sentencesToParagraphMapper,a.sentencesToParagraphUnmapper)}return(0,n.array)(u,{minLength:1,maxLength:t,size:i}).map(a.wordsToJoinedStringMapper,(0,a.wordsToJoinedStringUnmapperFor)(u))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/lorem.js"}],[2412,{"./_internals/mappers/IndexToMappedConstant":2349,"./nat":2417},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mapToConstant=void 0;const n=e("./nat"),i=e("./_internals/mappers/IndexToMappedConstant");r.mapToConstant=function(...e){const t=function(e){if(0===e.length)throw new Error("fc.mapToConstant expects at least one option");let t=0;for(let r=0;r!==e.length;++r){if(e[r].num<0)throw new Error("fc.mapToConstant expects all options to have a number of entries greater or equal to zero");t+=e[r].num}if(0===t)throw new Error("fc.mapToConstant expects at least one choice among options");return t}(e);return(0,n.nat)({max:t-1}).map((0,i.indexToMappedConstantMapperFor)(e),(0,i.indexToMappedConstantUnmapperFor)(e))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/mapToConstant.js"}],[2413,{"./_internals/IntegerArbitrary":2297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.maxSafeInteger=void 0;const n=e("./_internals/IntegerArbitrary");r.maxSafeInteger=function(){return new n.IntegerArbitrary(Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/maxSafeInteger.js"}],[2414,{"./_internals/IntegerArbitrary":2297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.maxSafeNat=void 0;const n=e("./_internals/IntegerArbitrary");r.maxSafeNat=function(){return new n.IntegerArbitrary(0,Number.MAX_SAFE_INTEGER)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/maxSafeNat.js"}],[2415,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.memo=void 0;let n=10;r.memo=function(e){const t={};return r=>{const i=r!==undefined?r:n;if(!Object.prototype.hasOwnProperty.call(t,i)){const r=n;n=i-1,t[i]=e(i),n=r}return t[i]}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/memo.js"}],[2416,{"./_internals/MixedCaseArbitrary":2299},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mixedCase=void 0;const n=e("./_internals/MixedCaseArbitrary");function i(e){const t=e.toUpperCase();return t!==e?t:e.toLowerCase()}r.mixedCase=function(e,t){if("undefined"==typeof BigInt)throw new Error("mixedCase requires BigInt support");const r=t&&t.toggleCase||i,o=t&&t.untoggleAll;return new n.MixedCaseArbitrary(e,r,o)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/mixedCase.js"}],[2417,{"./_internals/IntegerArbitrary":2297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.nat=void 0;const n=e("./_internals/IntegerArbitrary");r.nat=function(e){const t="number"==typeof e?e:e&&e.max!==undefined?e.max:2147483647;if(t<0)throw new Error("fc.nat value should be greater than or equal to 0");if(!Number.isInteger(t))throw new Error("fc.nat maximum value should be an integer");return new n.IntegerArbitrary(0,t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/nat.js"}],[2418,{"./_internals/builders/AnyArbitraryBuilder":2305,"./_internals/helpers/QualifiedObjectConstraints":2331,"./dictionary":2387},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.object=void 0;const n=e("./dictionary"),i=e("./_internals/builders/AnyArbitraryBuilder"),o=e("./_internals/helpers/QualifiedObjectConstraints");r.object=function(e){return function(e){return(0,n.dictionary)(e.key,(0,i.anyArbitraryBuilder)(e),{maxKeys:e.maxKeys,size:e.size})}((0,o.toQualifiedObjectConstraints)(e))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/object.js"}],[2419,{"../check/arbitrary/definition/Arbitrary":2446,"./_internals/FrequencyArbitrary":2296},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.oneof=void 0;const n=e("../check/arbitrary/definition/Arbitrary"),i=e("./_internals/FrequencyArbitrary");function o(e){return(0,n.isArbitrary)(e)?{arbitrary:e,weight:1}:e}r.oneof=function(...e){const t=e[0];if(null!=(r=t)&&"object"==typeof r&&!("generate"in r)&&!("arbitrary"in r)&&!("weight"in r)){const r=e.slice(1).map(o);return i.FrequencyArbitrary.from(r,t,"fc.oneof")}var r;const n=e.map(o);return i.FrequencyArbitrary.from(n,{},"fc.oneof")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/oneof.js"}],[2420,{"./_internals/FrequencyArbitrary":2296,"./constant":2383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.option=void 0;const n=e("./constant"),i=e("./_internals/FrequencyArbitrary");r.option=function(e,t={}){const r=null==t.freq?5:t.freq,o=Object.prototype.hasOwnProperty.call(t,"nil")?t.nil:null,a=[{arbitrary:(0,n.constant)(o),weight:1,fallbackValue:{default:o}},{arbitrary:e,weight:r}],s={withCrossShrink:!0,depthSize:t.depthSize,maxDepth:t.maxDepth,depthIdentifier:t.depthIdentifier};return i.FrequencyArbitrary.from(a,s,"fc.option")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/option.js"}],[2421,{"./_internals/builders/PartialRecordArbitraryBuilder":2311},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.record=void 0;const n=e("./_internals/builders/PartialRecordArbitraryBuilder");r.record=function(e,t){if(null==t)return(0,n.buildPartialRecordArbitrary)(e,undefined);if("withDeletedKeys"in t&&"requiredKeys"in t)throw new Error("requiredKeys and withDeletedKeys cannot be used together in fc.record");if(!("requiredKeys"in t&&t.requiredKeys!==undefined||"withDeletedKeys"in t&&!!t.withDeletedKeys))return(0,n.buildPartialRecordArbitrary)(e,undefined);const r=("requiredKeys"in t?t.requiredKeys:undefined)||[];for(let t=0;t!==r.length;++t){const n=Object.getOwnPropertyDescriptor(e,r[t]);if(n===undefined)throw new Error("requiredKeys cannot reference keys that have not been defined in recordModel");if(!n.enumerable)throw new Error("requiredKeys cannot reference keys that have are enumerable in recordModel")}return(0,n.buildPartialRecordArbitrary)(e,r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/record.js"}],[2422,{"./_internals/SchedulerArbitrary":2300,"./_internals/helpers/BuildSchedulerFor":2319},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.schedulerFor=r.scheduler=void 0;const n=e("./_internals/helpers/BuildSchedulerFor"),i=e("./_internals/SchedulerArbitrary");r.scheduler=function(e){const{act:t=(e=>e())}=e||{};return new i.SchedulerArbitrary(t)},r.schedulerFor=function(e,t){const{act:r=(e=>e())}=Array.isArray(e)?t||{}:e||{};return Array.isArray(e)?(0,n.buildSchedulerFor)(r,e):function(e,...t){return(0,n.buildSchedulerFor)(r,t)}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/scheduler.js"}],[2423,{"./_internals/SubarrayArbitrary":2302},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shuffledSubarray=void 0;const n=e("./_internals/SubarrayArbitrary");r.shuffledSubarray=function(e,t={}){const{minLength:r=0,maxLength:i=e.length}=t;return new n.SubarrayArbitrary(e,!1,r,i)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/shuffledSubarray.js"}],[2424,{"./_internals/builders/RestrictedIntegerArbitraryBuilder":2312,"./_internals/helpers/MaxLengthFromMinLength":2329,"./tuple":2429,"./uniqueArray":2438},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sparseArray=void 0;const n=e("./tuple"),i=e("./uniqueArray"),o=e("./_internals/builders/RestrictedIntegerArbitraryBuilder"),a=e("./_internals/helpers/MaxLengthFromMinLength");r.sparseArray=function(e,t={}){const{size:r,minNumElements:s=0,maxLength:u=a.MaxLengthUpperBound,maxNumElements:l=u,noTrailingHole:c,depthIdentifier:f}=t,d=(0,a.maxGeneratedLengthFromSizeForArbitrary)(r,s,l,t.maxNumElements!==undefined),h=(0,a.maxGeneratedLengthFromSizeForArbitrary)(r,d,u,t.maxLength!==undefined);if(s>u)throw new Error("The minimal number of non-hole elements cannot be higher than the maximal length of the array");if(s>l)throw new Error("The minimal number of non-hole elements cannot be higher than the maximal number of non-holes");const p=Math.min(l,u),y=t.maxNumElements!==undefined||r!==undefined?r:"=",m=Math.max(h-1,0),b=Math.max(u-1,0),g=(0,i.uniqueArray)((0,n.tuple)((0,o.restrictedIntegerArbitraryBuilder)(0,m,b),e),{size:y,minLength:s,maxLength:p,selector:e=>e[0],depthIdentifier:f}).map((e=>function(e,t){const r=Array(e);for(let n=0;n!==t.length;++n){const i=t[n];i[0]<e&&(r[i[0]]=i[1])}return r}(function(e){let t=-1;for(let r=0;r!==e.length;++r)t=Math.max(t,e[r][0]);return t}(e)+1,e)),(e=>{if(!Array.isArray(e))throw new Error("Not supported entry type");if(c&&0!==e.length&&!(e.length-1 in e))throw new Error("No trailing hole");return Object.entries(e).map((e=>[Number(e[0]),e[1]]))}));return c||u===s?g:(0,n.tuple)(g,(0,o.restrictedIntegerArbitraryBuilder)(s,h,u)).map((e=>{const t=e[0],r=e[1];if(t.length>=r)return t;const n=t.slice();return n.length=r,n}),(e=>{if(!Array.isArray(e))throw new Error("Not supported entry type");return[e,e.length]}))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/sparseArray.js"}],[2425,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./array":2365,"./char":2377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.string=void 0;const n=e("./array"),i=e("./char"),o=e("./_internals/mappers/CodePointsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.string=function(e={}){const t=(0,i.char)(),r=(0,a.createSlicesForString)(t,o.codePointsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.codePointsToStringMapper,o.codePointsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/string.js"}],[2426,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CharsToString":2345,"./array":2365,"./char16bits":2378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.string16bits=void 0;const n=e("./array"),i=e("./char16bits"),o=e("./_internals/mappers/CharsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.string16bits=function(e={}){const t=(0,i.char16bits)(),r=(0,a.createSlicesForString)(t,o.charsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.charsToStringMapper,o.charsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/string16bits.js"}],[2427,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/PatternsToString":2357,"./array":2365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.stringOf=void 0;const n=e("./array"),i=e("./_internals/mappers/PatternsToString"),o=e("./_internals/helpers/SlicesForStringBuilder");r.stringOf=function(e,t={}){const r=(0,i.patternsToStringUnmapperFor)(e,t),a=(0,o.createSlicesForString)(e,r),s=Object.assign(Object.assign({},t),{experimentalCustomSlices:a});return(0,n.array)(e,s).map(i.patternsToStringMapper,r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/stringOf.js"}],[2428,{"./_internals/SubarrayArbitrary":2302},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.subarray=void 0;const n=e("./_internals/SubarrayArbitrary");r.subarray=function(e,t={}){const{minLength:r=0,maxLength:i=e.length}=t;return new n.SubarrayArbitrary(e,!0,r,i)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/subarray.js"}],[2429,{"./_internals/TupleArbitrary":2303},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.tuple=void 0;const n=e("./_internals/TupleArbitrary");r.tuple=function(...e){return new n.TupleArbitrary(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/tuple.js"}],[2430,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uint16Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.uint16Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,0,65535,Uint16Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uint16Array.js"}],[2431,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uint32Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.uint32Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,0,4294967295,Uint32Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uint32Array.js"}],[2432,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uint8Array=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.uint8Array=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,0,255,Uint8Array,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uint8Array.js"}],[2433,{"./_internals/builders/TypedIntArrayArbitraryBuilder":2314,"./integer":2404},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uint8ClampedArray=void 0;const n=e("./integer"),i=e("./_internals/builders/TypedIntArrayArbitraryBuilder");r.uint8ClampedArray=function(e={}){return(0,i.typedIntArrayArbitraryArbitraryBuilder)(e,0,255,Uint8ClampedArray,n.integer)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uint8ClampedArray.js"}],[2434,{"./_internals/builders/CharacterArbitraryBuilder":2307,"./_internals/mappers/IndexToPrintableIndex":2350},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.unicode=void 0;const n=e("./_internals/builders/CharacterArbitraryBuilder"),i=e("./_internals/mappers/IndexToPrintableIndex"),o=2048;function a(e){return e<55296?(0,i.indexToPrintableIndexMapper)(e):e+o}function s(e){return e<55296?(0,i.indexToPrintableIndexUnmapper)(e):e<=57343?-1:e-o}r.unicode=function(){return(0,n.buildCharacterArbitrary)(0,63487,a,s)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/unicode.js"}],[2435,{"./unicodeJsonValue":2436},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.unicodeJson=void 0;const n=e("./unicodeJsonValue");r.unicodeJson=function(e={}){return(0,n.unicodeJsonValue)(e).map(JSON.stringify)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/unicodeJson.js"}],[2436,{"./_internals/helpers/JsonConstraintsBuilder":2328,"./anything":2364,"./unicodeString":2437},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.unicodeJsonValue=void 0;const n=e("./unicodeString"),i=e("./_internals/helpers/JsonConstraintsBuilder"),o=e("./anything");r.unicodeJsonValue=function(e={}){return(0,o.anything)((0,i.jsonConstraintsBuilder)((0,n.unicodeString)(),e))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/unicodeJsonValue.js"}],[2437,{"./_internals/helpers/SlicesForStringBuilder":2336,"./_internals/mappers/CodePointsToString":2346,"./array":2365,"./unicode":2434},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.unicodeString=void 0;const n=e("./array"),i=e("./unicode"),o=e("./_internals/mappers/CodePointsToString"),a=e("./_internals/helpers/SlicesForStringBuilder");r.unicodeString=function(e={}){const t=(0,i.unicode)(),r=(0,a.createSlicesForString)(t,o.codePointsToStringUnmapper),s=Object.assign(Object.assign({},e),{experimentalCustomSlices:r});return(0,n.array)(t,s).map(o.codePointsToStringMapper,o.codePointsToStringUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/unicodeString.js"}],[2438,{"./_internals/ArrayArbitrary":2290,"./_internals/helpers/CustomEqualSet":2321,"./_internals/helpers/MaxLengthFromMinLength":2329,"./_internals/helpers/SameValueSet":2332,"./_internals/helpers/SameValueZeroSet":2333,"./_internals/helpers/StrictlyEqualSet":2337},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uniqueArray=void 0;const n=e("./_internals/ArrayArbitrary"),i=e("./_internals/helpers/MaxLengthFromMinLength"),o=e("./_internals/helpers/CustomEqualSet"),a=e("./_internals/helpers/StrictlyEqualSet"),s=e("./_internals/helpers/SameValueSet"),u=e("./_internals/helpers/SameValueZeroSet");r.uniqueArray=function(e,t={}){const r=t.minLength!==undefined?t.minLength:0,l=t.maxLength!==undefined?t.maxLength:i.MaxLengthUpperBound,c=(0,i.maxGeneratedLengthFromSizeForArbitrary)(t.size,r,l,t.maxLength!==undefined),f=t.depthIdentifier,d=function(e){if("function"==typeof e.comparator){if(e.selector===undefined){const t=e.comparator,r=(e,r)=>t(e.value_,r.value_);return()=>new o.CustomEqualSet(r)}const t=e.comparator,r=e.selector,n=e=>r(e.value_),i=(e,r)=>t(n(e),n(r));return()=>new o.CustomEqualSet(i)}const t=e.selector||(e=>e),r=e=>t(e.value_);switch(e.comparator){case"IsStrictlyEqual":return()=>new a.StrictlyEqualSet(r);case"SameValueZero":return()=>new u.SameValueZeroSet(r);case"SameValue":case undefined:return()=>new s.SameValueSet(r)}}(t),h=new n.ArrayArbitrary(e,r,c,l,f,d,[]);return 0===r?h:h.filter((e=>e.length>=r))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uniqueArray.js"}],[2439,{"./_internals/builders/PaddedNumberArbitraryBuilder":2310,"./_internals/mappers/PaddedEightsToUuid":2355,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uuid=void 0;const n=e("./tuple"),i=e("./_internals/builders/PaddedNumberArbitraryBuilder"),o=e("./_internals/mappers/PaddedEightsToUuid");r.uuid=function(){const e=(0,i.buildPaddedNumberArbitrary)(0,4294967295),t=(0,i.buildPaddedNumberArbitrary)(268435456,1610612735),r=(0,i.buildPaddedNumberArbitrary)(2147483648,3221225471);return(0,n.tuple)(e,t,r,e).map(o.paddedEightsToUuidMapper,o.paddedEightsToUuidUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uuid.js"}],[2440,{"./_internals/builders/PaddedNumberArbitraryBuilder":2310,"./_internals/mappers/PaddedEightsToUuid":2355,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uuidV=void 0;const n=e("./tuple"),i=e("./_internals/builders/PaddedNumberArbitraryBuilder"),o=e("./_internals/mappers/PaddedEightsToUuid");r.uuidV=function(e){const t=(0,i.buildPaddedNumberArbitrary)(0,4294967295),r=268435456*e,a=(0,i.buildPaddedNumberArbitrary)(r,r+268435455),s=(0,i.buildPaddedNumberArbitrary)(2147483648,3221225471);return(0,n.tuple)(t,a,s,t).map(o.paddedEightsToUuidMapper,o.paddedEightsToUuidUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/uuidV.js"}],[2441,{"./_internals/builders/CharacterRangeArbitraryBuilder":2308,"./constant":2383,"./domain":2388,"./ipV4":2405,"./ipV4Extended":2406,"./ipV6":2407,"./nat":2417,"./oneof":2419,"./option":2420,"./stringOf":2427,"./tuple":2429},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.webAuthority=void 0;const n=e("./_internals/builders/CharacterRangeArbitraryBuilder"),i=e("./constant"),o=e("./domain"),a=e("./ipV4"),s=e("./ipV4Extended"),u=e("./ipV6"),l=e("./nat"),c=e("./oneof"),f=e("./option"),d=e("./stringOf"),h=e("./tuple");function p([e,t,r]){return(null===e?"":`${e}@`)+t+(null===r?"":`:${r}`)}function y(e){if("string"!=typeof e)throw new Error("Unsupported");const t=e.indexOf("@"),r=-1!==t?e.substring(0,t):null,n=/:(\d+)$/.exec(e),i=null!==n?Number(n[1]):null;return[r,null!==n?e.substring(t+1,e.length-n[1].length-1):e.substring(t+1),i]}function m(e){return`[${e}]`}function b(e){if("string"!=typeof e||"["!==e[0]||"]"!==e[e.length-1])throw new Error("Unsupported");return e.substring(1,e.length-1)}r.webAuthority=function(e){const t=e||{},r=t.size,g=[(0,o.domain)({size:r})].concat(!0===t.withIPv4?[(0,a.ipV4)()]:[]).concat(!0===t.withIPv6?[(0,u.ipV6)().map(m,b)]:[]).concat(!0===t.withIPv4Extended?[(0,s.ipV4Extended)()]:[]);return(0,h.tuple)(!0===t.withUserInfo?(0,f.option)(function(e){return(0,d.stringOf)((0,n.buildAlphaNumericPercentArbitrary)(["-",".","_","~","!","$","&","'","(",")","*","+",",",";","=",":"]),{size:e})}(r)):(0,i.constant)(null),(0,c.oneof)(...g),!0===t.withPort?(0,f.option)((0,l.nat)(65535)):(0,i.constant)(null)).map(p,y)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/webAuthority.js"}],[2442,{"./_internals/builders/UriQueryOrFragmentArbitraryBuilder":2316},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.webFragments=void 0;const n=e("./_internals/builders/UriQueryOrFragmentArbitraryBuilder");r.webFragments=function(e={}){return(0,n.buildUriQueryOrFragmentArbitrary)(e.size)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/webFragments.js"}],[2443,{"./_internals/builders/UriQueryOrFragmentArbitraryBuilder":2316},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.webQueryParameters=void 0;const n=e("./_internals/builders/UriQueryOrFragmentArbitraryBuilder");r.webQueryParameters=function(e={}){return(0,n.buildUriQueryOrFragmentArbitrary)(e.size)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/webQueryParameters.js"}],[2444,{"./_internals/builders/CharacterRangeArbitraryBuilder":2308,"./stringOf":2427},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.webSegment=void 0;const n=e("./_internals/builders/CharacterRangeArbitraryBuilder"),i=e("./stringOf");r.webSegment=function(e={}){return(0,i.stringOf)((0,n.buildAlphaNumericPercentArbitrary)(["-",".","_","~","!","$","&","'","(",")","*","+",",",";","=",":","@"]),{size:e.size})}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/webSegment.js"}],[2445,{"./_internals/builders/UriPathArbitraryBuilder":2315,"./_internals/helpers/MaxLengthFromMinLength":2329,"./_internals/mappers/PartsToUrl":2356,"./constant":2383,"./constantFrom":2384,"./option":2420,"./tuple":2429,"./webAuthority":2441,"./webFragments":2442,"./webQueryParameters":2443},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.webUrl=void 0;const n=e("./constantFrom"),i=e("./constant"),o=e("./option"),a=e("./tuple"),s=e("./webQueryParameters"),u=e("./webFragments"),l=e("./webAuthority"),c=e("./_internals/mappers/PartsToUrl"),f=e("./_internals/helpers/MaxLengthFromMinLength"),d=e("./_internals/builders/UriPathArbitraryBuilder");r.webUrl=function(e){const t=e||{},r=(0,f.resolveSize)(t.size),h=t.authoritySettings!==undefined&&t.authoritySettings.size!==undefined?(0,f.relativeSizeToSize)(t.authoritySettings.size,r):r,p=Object.assign(Object.assign({},t.authoritySettings),{size:h}),y=t.validSchemes||["http","https"],m=(0,n.constantFrom)(...y),b=(0,l.webAuthority)(p),g=(0,d.buildUriPathArbitrary)(r);return(0,a.tuple)(m,b,g,!0===t.withQueryParameters?(0,o.option)((0,s.webQueryParameters)({size:r})):(0,i.constant)(null),!0===t.withFragments?(0,o.option)((0,u.webFragments)({size:r})):(0,i.constant)(null)).map(c.partsToUrlMapper,c.partsToUrlUnmapper)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/arbitrary/webUrl.js"}],[2446,{"../../../stream/Stream":2482,"../../symbols":2477,"./Value":2447},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsArbitrary=r.isArbitrary=r.Arbitrary=void 0;const n=e("../../../stream/Stream"),i=e("../../symbols"),o=e("./Value");class a{filter(e){return new l(this,e)}map(e,t){return new u(this,e,t)}chain(e){return new s(this,e)}noShrink(){return new c(this)}noBias(){return new f(this)}}r.Arbitrary=a;class s extends a{constructor(e,t){super(),this.arb=e,this.chainer=t}generate(e,t){const r=e.clone(),n=this.arb.generate(e,t);return this.valueChainer(n,e,r,t)}canShrinkWithoutContext(e){return!1}shrink(e,t){return this.isSafeContext(t)?(t.stoppedForOriginal?n.Stream.nil():this.arb.shrink(t.originalValue,t.originalContext).map((e=>this.valueChainer(e,t.clonedMrng.clone(),t.clonedMrng,t.originalBias)))).join(t.chainedArbitrary.shrink(e,t.chainedContext).map((e=>{const r=Object.assign(Object.assign({},t),{chainedContext:e.context,stoppedForOriginal:!0});return new o.Value(e.value_,r)}))):n.Stream.nil()}valueChainer(e,t,r,n){const i=this.chainer(e.value_),a=i.generate(t,n),s={originalBias:n,originalValue:e.value_,originalContext:e.context,stoppedForOriginal:!1,chainedArbitrary:i,chainedContext:a.context,clonedMrng:r};return new o.Value(a.value_,s)}isSafeContext(e){return null!=e&&"object"==typeof e&&"originalBias"in e&&"originalValue"in e&&"originalContext"in e&&"stoppedForOriginal"in e&&"chainedArbitrary"in e&&"chainedContext"in e&&"clonedMrng"in e}}class u extends a{constructor(e,t,r){super(),this.arb=e,this.mapper=t,this.unmapper=r,this.bindValueMapper=this.valueMapper.bind(this)}generate(e,t){const r=this.arb.generate(e,t);return this.valueMapper(r)}canShrinkWithoutContext(e){if(this.unmapper!==undefined)try{const t=this.unmapper(e);return this.arb.canShrinkWithoutContext(t)}catch(e){return!1}return!1}shrink(e,t){if(this.isSafeContext(t))return this.arb.shrink(t.originalValue,t.originalContext).map(this.bindValueMapper);if(this.unmapper!==undefined){const t=this.unmapper(e);return this.arb.shrink(t,undefined).map(this.bindValueMapper)}return n.Stream.nil()}mapperWithCloneIfNeeded(e){const t=e.value,r=this.mapper(t);return e.hasToBeCloned&&("object"==typeof r&&null!==r||"function"==typeof r)&&Object.isExtensible(r)&&!(0,i.hasCloneMethod)(r)&&Object.defineProperty(r,i.cloneMethod,{get:()=>()=>this.mapperWithCloneIfNeeded(e)[0]}),[r,t]}valueMapper(e){const[t,r]=this.mapperWithCloneIfNeeded(e),n={originalValue:r,originalContext:e.context};return new o.Value(t,n)}isSafeContext(e){return null!=e&&"object"==typeof e&&"originalValue"in e&&"originalContext"in e}}class l extends a{constructor(e,t){super(),this.arb=e,this.refinement=t,this.bindRefinementOnValue=this.refinementOnValue.bind(this)}generate(e,t){for(;;){const r=this.arb.generate(e,t);if(this.refinementOnValue(r))return r}}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)&&this.refinement(e)}shrink(e,t){return this.arb.shrink(e,t).filter(this.bindRefinementOnValue)}refinementOnValue(e){return this.refinement(e.value)}}class c extends a{constructor(e){super(),this.arb=e}generate(e,t){return this.arb.generate(e,t)}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)}shrink(e,t){return n.Stream.nil()}noShrink(){return this}}class f extends a{constructor(e){super(),this.arb=e}generate(e,t){return this.arb.generate(e,undefined)}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)}shrink(e,t){return this.arb.shrink(e,t)}noBias(){return this}}function d(e){return"object"==typeof e&&null!==e&&"generate"in e&&"shrink"in e&&"canShrinkWithoutContext"in e}r.isArbitrary=d,r.assertIsArbitrary=function(e){if(!d(e))throw new Error("Unexpected value received: not an instance of Arbitrary")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/arbitrary/definition/Arbitrary.js"}],[2447,{"../../symbols":2477},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Value=void 0;const n=e("../../symbols");r.Value=class{constructor(e,t,r=undefined){this.value_=e,this.context=t,this.hasToBeCloned=r!==undefined||(0,n.hasCloneMethod)(e),this.readOnce=!1,this.hasToBeCloned?Object.defineProperty(this,"value",{get:r!==undefined?r:this.getValue}):this.value=e}getValue(){return this.hasToBeCloned?this.readOnce?this.value_[n.cloneMethod]():(this.readOnce=!0,this.value_):this.value_}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/arbitrary/definition/Value.js"}],[2448,{"./commands/ScheduledCommand":2452},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduledModelRun=r.asyncModelRun=r.modelRun=void 0;const n=e("./commands/ScheduledCommand"),i=(e,t,r,n,i)=>e.then((e=>{const{model:o,real:a}=e;let s=r;for(const e of t)s=i(s,(()=>n(e,o,a)));return s})),o=async(e,t,r=Promise.resolve())=>{const n={then:t=>{const r=e();return(e=>"function"==typeof e.then)(r)?r.then(t):t(r)}};return await i(n,t,r,(async(e,t,r)=>{await e.check(t)&&await e.run(t,r)}),((e,t)=>e.then(t)))};r.modelRun=function(e,t){((e,t)=>{i({then:t=>(t(e()),undefined)},t,undefined,((e,t,r)=>(e.check(t)&&e.run(t,r),undefined)),((e,t)=>t()))})(e,t)},r.asyncModelRun=async function(e,t){await o(e,t)},r.scheduledModelRun=async function(e,t,r){const i=(0,n.scheduleCommands)(e,r),a=o(t,i,e.schedule(Promise.resolve(),"startModel"));await e.waitAll(),await a}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/model/ModelRunner.js"}],[2449,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ReplayPath=void 0;r.ReplayPath=class{static parse(e){const[t,r]=e.split(":"),n=this.parseCounts(t),i=this.parseChanges(r);return this.parseOccurences(n,i)}static stringify(e){const t=this.countOccurences(e);return`${this.stringifyCounts(t)}:${this.stringifyChanges(t)}`}static intToB64(e){return e<26?String.fromCharCode(e+65):e<52?String.fromCharCode(e+97-26):e<62?String.fromCharCode(e+48-52):String.fromCharCode(62===e?43:47)}static b64ToInt(e){return e>="a"?e.charCodeAt(0)-97+26:e>="A"?e.charCodeAt(0)-65:e>="0"?e.charCodeAt(0)-48+52:"+"===e?62:63}static countOccurences(e){return e.reduce(((e,t)=>(0===e.length||64===e[e.length-1].count||e[e.length-1].value!==t?e.push({value:t,count:1}):e[e.length-1].count+=1,e)),[])}static parseOccurences(e,t){const r=[];for(let n=0;n!==e.length;++n){const i=e[n],o=t[n];for(let e=0;e!==i;++e)r.push(o)}return r}static stringifyChanges(e){let t="";for(let r=0;r<e.length;r+=6){const n=e.slice(r,r+6).reduceRight(((e,t)=>2*e+(t.value?1:0)),0);t+=this.intToB64(n)}return t}static parseChanges(e){const t=e.split("").map((e=>this.b64ToInt(e))),r=[];for(let e=0;e!==t.length;++e){let n=t[e];for(let e=0;6!==e;++e,n>>=1)r.push(n%2==1)}return r}static stringifyCounts(e){return e.map((({count:e})=>this.intToB64(e-1))).join("")}static parseCounts(e){return e.split("").map((e=>this.b64ToInt(e)+1))}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/model/ReplayPath.js"}],[2450,{"../../../utils/stringify":2485,"../../symbols":2477},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CommandWrapper=void 0;const n=e("../../../utils/stringify"),i=e("../../symbols");class o{constructor(e){if(this.cmd=e,this.hasRan=!1,(0,n.hasToStringMethod)(e)){const t=e[n.toStringMethod];this[n.toStringMethod]=function(){return t.call(e)}}if((0,n.hasAsyncToStringMethod)(e)){const t=e[n.asyncToStringMethod];this[n.asyncToStringMethod]=function(){return t.call(e)}}}check(e){return this.cmd.check(e)}run(e,t){return this.hasRan=!0,this.cmd.run(e,t)}clone(){return(0,i.hasCloneMethod)(this.cmd)?new o(this.cmd[i.cloneMethod]()):new o(this.cmd)}toString(){return this.cmd.toString()}}r.CommandWrapper=o}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/model/commands/CommandWrapper.js"}],[2451,{"../../symbols":2477},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CommandsIterable=void 0;const n=e("../../symbols");class i{constructor(e,t){this.commands=e,this.metadataForReplay=t}[Symbol.iterator](){return this.commands[Symbol.iterator]()}[n.cloneMethod](){return new i(this.commands.map((e=>e.clone())),this.metadataForReplay)}toString(){const e=this.commands.filter((e=>e.hasRan)).map((e=>e.toString())).join(","),t=this.metadataForReplay();return 0!==t.length?`${e} /*${t}*/`:e}}r.CommandsIterable=i}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/model/commands/CommandsIterable.js"}],[2452,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleCommands=r.ScheduledCommand=void 0;class n{constructor(e,t){this.s=e,this.cmd=t}async check(e){let t=null,r=!1;if((await this.s.scheduleSequence([{label:`check@${this.cmd.toString()}`,builder:async()=>{try{r=await Promise.resolve(this.cmd.check(e))}catch(e){throw t=e,e}}}]).task).faulty)throw t;return r}async run(e,t){let r=null;if((await this.s.scheduleSequence([{label:`run@${this.cmd.toString()}`,builder:async()=>{try{await this.cmd.run(e,t)}catch(e){throw r=e,e}}}]).task).faulty)throw r}}r.ScheduledCommand=n;r.scheduleCommands=function*(e,t){for(const r of t)yield new n(e,r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/model/commands/ScheduledCommand.js"}],[2453,{"./PreconditionFailure":2454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pre=void 0;const n=e("./PreconditionFailure");r.pre=function(e){if(!e)throw new n.PreconditionFailure}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/precondition/Pre.js"}],[2454,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PreconditionFailure=void 0;class n extends Error{constructor(e=!1){super(),this.interruptExecution=e,this.footprint=n.SharedFootPrint}static isFailure(e){return null!=e&&e.footprint===n.SharedFootPrint}}r.PreconditionFailure=n,n.SharedFootPrint=Symbol("fast-check/PreconditionFailure")}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/precondition/PreconditionFailure.js"}],[2455,{"../../arbitrary/_internals/helpers/NoUndefinedAsContext":2330,"../../stream/Stream":2482,"../precondition/PreconditionFailure":2454,"../runner/configuration/GlobalParameters":2470,"./IRawProperty":2457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncProperty=void 0;const n=e("../precondition/PreconditionFailure"),i=e("./IRawProperty"),o=e("../runner/configuration/GlobalParameters"),a=e("../../stream/Stream"),s=e("../../arbitrary/_internals/helpers/NoUndefinedAsContext");class u{constructor(e,t){this.arb=e,this.predicate=t;const{asyncBeforeEach:r,asyncAfterEach:n,beforeEach:i,afterEach:a}=(0,o.readConfigureGlobal)()||{};if(r!==undefined&&i!==undefined)throw Error('Global "asyncBeforeEach" and "beforeEach" parameters can\'t be set at the same time when running async properties');if(n!==undefined&&a!==undefined)throw Error('Global "asyncAfterEach" and "afterEach" parameters can\'t be set at the same time when running async properties');this.beforeEachHook=r||i||u.dummyHook,this.afterEachHook=n||a||u.dummyHook}isAsync(){return!0}generate(e,t){const r=this.arb.generate(e,null!=t?(0,i.runIdToFrequency)(t):undefined);return(0,s.noUndefinedAsContext)(r)}shrink(e){if(e.context===undefined&&!this.arb.canShrinkWithoutContext(e.value_))return a.Stream.nil();const t=e.context!==s.UndefinedContextPlaceholder?e.context:undefined;return this.arb.shrink(e.value_,t).map(s.noUndefinedAsContext)}async run(e){await this.beforeEachHook();try{const t=await this.predicate(e);return null==t||!0===t?null:{error:undefined,errorMessage:"Property failed by returning false"}}catch(e){return n.PreconditionFailure.isFailure(e)?e:e instanceof Error&&e.stack?{error:e,errorMessage:`${e}\n\nStack trace: ${e.stack}`}:{error:e,errorMessage:String(e)}}finally{await this.afterEachHook()}}beforeEach(e){const t=this.beforeEachHook;return this.beforeEachHook=()=>e(t),this}afterEach(e){const t=this.afterEachHook;return this.afterEachHook=()=>e(t),this}}r.AsyncProperty=u,u.dummyHook=()=>{}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/AsyncProperty.generic.js"}],[2456,{"../../arbitrary/_internals/AlwaysShrinkableArbitrary":2289,"../../arbitrary/tuple":2429,"../arbitrary/definition/Arbitrary":2446,"./AsyncProperty.generic":2455},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.asyncProperty=void 0;const n=e("../arbitrary/definition/Arbitrary"),i=e("../../arbitrary/tuple"),o=e("./AsyncProperty.generic"),a=e("../../arbitrary/_internals/AlwaysShrinkableArbitrary");r.asyncProperty=function(...e){if(e.length<2)throw new Error("asyncProperty expects at least two parameters");const t=e.slice(0,e.length-1),r=e[e.length-1];t.forEach(n.assertIsArbitrary);const s=t.map((e=>new a.AlwaysShrinkableArbitrary(e)));return new o.AsyncProperty((0,i.tuple)(...s),(e=>r(...e)))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/AsyncProperty.js"}],[2457,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.runIdToFrequency=void 0;r.runIdToFrequency=e=>2+Math.floor(Math.log(e+1)/Math.log(10))}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/IRawProperty.js"}],[2458,{"../../utils/stringify":2485,"../precondition/PreconditionFailure":2454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IgnoreEqualValuesProperty=void 0;const n=e("../../utils/stringify"),i=e("../precondition/PreconditionFailure");function o(e){return null===e?new i.PreconditionFailure:e}function a(e,t){return function(...e){return e[1]?e[0].then(o):o(e[0])}(e,t)}r.IgnoreEqualValuesProperty=class{constructor(e,t){this.property=e,this.skipRuns=t,this.coveredCases=new Map}isAsync(){return this.property.isAsync()}generate(e,t){return this.property.generate(e,t)}shrink(e){return this.property.shrink(e)}run(e){const t=(0,n.stringify)(e);if(this.coveredCases.has(t)){const e=this.coveredCases.get(t);return this.skipRuns?a(e,this.property.isAsync()):e}const r=this.property.run(e);return this.coveredCases.set(t,r),r}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/IgnoreEqualValuesProperty.js"}],[2459,{"../../arbitrary/_internals/helpers/NoUndefinedAsContext":2330,"../../stream/Stream":2482,"../precondition/PreconditionFailure":2454,"../runner/configuration/GlobalParameters":2470,"./IRawProperty":2457},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Property=void 0;const n=e("../precondition/PreconditionFailure"),i=e("./IRawProperty"),o=e("../runner/configuration/GlobalParameters"),a=e("../../stream/Stream"),s=e("../../arbitrary/_internals/helpers/NoUndefinedAsContext");class u{constructor(e,t){this.arb=e,this.predicate=t;const{beforeEach:r=u.dummyHook,afterEach:n=u.dummyHook,asyncBeforeEach:i,asyncAfterEach:a}=(0,o.readConfigureGlobal)()||{};if(i!==undefined)throw Error('"asyncBeforeEach" can\'t be set when running synchronous properties');if(a!==undefined)throw Error('"asyncAfterEach" can\'t be set when running synchronous properties');this.beforeEachHook=r,this.afterEachHook=n}isAsync(){return!1}generate(e,t){const r=this.arb.generate(e,null!=t?(0,i.runIdToFrequency)(t):undefined);return(0,s.noUndefinedAsContext)(r)}shrink(e){if(e.context===undefined&&!this.arb.canShrinkWithoutContext(e.value_))return a.Stream.nil();const t=e.context!==s.UndefinedContextPlaceholder?e.context:undefined;return this.arb.shrink(e.value_,t).map(s.noUndefinedAsContext)}run(e){this.beforeEachHook();try{const t=this.predicate(e);return null==t||!0===t?null:{error:undefined,errorMessage:"Property failed by returning false"}}catch(e){return n.PreconditionFailure.isFailure(e)?e:e instanceof Error&&e.stack?{error:e,errorMessage:`${e}\n\nStack trace: ${e.stack}`}:{error:e,errorMessage:String(e)}}finally{this.afterEachHook()}}beforeEach(e){const t=this.beforeEachHook;return this.beforeEachHook=()=>e(t),this}afterEach(e){const t=this.afterEachHook;return this.afterEachHook=()=>e(t),this}}r.Property=u,u.dummyHook=()=>{}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/Property.generic.js"}],[2460,{"../../arbitrary/_internals/AlwaysShrinkableArbitrary":2289,"../../arbitrary/tuple":2429,"../arbitrary/definition/Arbitrary":2446,"./Property.generic":2459},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.property=void 0;const n=e("../arbitrary/definition/Arbitrary"),i=e("../../arbitrary/tuple"),o=e("./Property.generic"),a=e("../../arbitrary/_internals/AlwaysShrinkableArbitrary");r.property=function(...e){if(e.length<2)throw new Error("property expects at least two parameters");const t=e.slice(0,e.length-1),r=e[e.length-1];t.forEach(n.assertIsArbitrary);const s=t.map((e=>new a.AlwaysShrinkableArbitrary(e)));return new o.Property((0,i.tuple)(...s),(e=>r(...e)))}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/Property.js"}],[2461,{"../precondition/PreconditionFailure":2454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SkipAfterProperty=void 0;const n=e("../precondition/PreconditionFailure");r.SkipAfterProperty=class{constructor(e,t,r,n){this.property=e,this.getTime=t,this.interruptExecution=n,this.skipAfterTime=this.getTime()+r}isAsync(){return this.property.isAsync()}generate(e,t){return this.property.generate(e,t)}shrink(e){return this.property.shrink(e)}run(e){if(this.getTime()>=this.skipAfterTime){const e=new n.PreconditionFailure(this.interruptExecution);return this.isAsync()?Promise.resolve(e):e}return this.property.run(e)}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/SkipAfterProperty.js"}],[2462,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TimeoutProperty=void 0;r.TimeoutProperty=class{constructor(e,t){this.property=e,this.timeMs=t}isAsync(){return!0}generate(e,t){return this.property.generate(e,t)}shrink(e){return this.property.shrink(e)}async run(e){const t=(e=>{let t=null;return{clear:()=>clearTimeout(t),promise:new Promise((r=>{t=setTimeout((()=>{r({error:undefined,errorMessage:`Property timeout: exceeded limit of ${e} milliseconds`})}),e)}))}})(this.timeMs),r=Promise.race([this.property.run(e),t.promise]);return r.then(t.clear,t.clear),r}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/TimeoutProperty.js"}],[2463,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UnbiasedProperty=void 0;r.UnbiasedProperty=class{constructor(e){this.property=e}isAsync(){return this.property.isAsync()}generate(e,t){return this.property.generate(e,undefined)}shrink(e){return this.property.shrink(e)}run(e){return this.property.run(e)}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/property/UnbiasedProperty.js"}],[2464,{"../property/IgnoreEqualValuesProperty":2458,"../property/SkipAfterProperty":2461,"../property/TimeoutProperty":2462,"../property/UnbiasedProperty":2463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decorateProperty=void 0;const n=e("../property/SkipAfterProperty"),i=e("../property/TimeoutProperty"),o=e("../property/UnbiasedProperty"),a=e("../property/IgnoreEqualValuesProperty");r.decorateProperty=function(e,t){let r=e;return e.isAsync()&&null!=t.timeout&&(r=new i.TimeoutProperty(r,t.timeout)),t.unbiased&&(r=new o.UnbiasedProperty(r)),null!=t.skipAllAfterTimeLimit&&(r=new n.SkipAfterProperty(r,Date.now,t.skipAllAfterTimeLimit,!1)),null!=t.interruptAfterTimeLimit&&(r=new n.SkipAfterProperty(r,Date.now,t.interruptAfterTimeLimit,!0)),t.skipEqualValues&&(r=new a.IgnoreEqualValuesProperty(r,!0)),t.ignoreEqualValues&&(r=new a.IgnoreEqualValuesProperty(r,!1)),r}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/DecorateProperty.js"}],[2465,{"../../stream/Stream":2482,"./DecorateProperty":2464,"./RunnerIterator":2466,"./SourceValuesIterator":2468,"./Tosser":2469,"./configuration/GlobalParameters":2470,"./configuration/QualifiedParameters":2471,"./utils/PathWalker":2475,"./utils/RunDetailsFormatter":2476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assert=r.check=void 0;const n=e("../../stream/Stream"),i=e("./configuration/GlobalParameters"),o=e("./configuration/QualifiedParameters"),a=e("./DecorateProperty"),s=e("./RunnerIterator"),u=e("./SourceValuesIterator"),l=e("./Tosser"),c=e("./utils/PathWalker"),f=e("./utils/RunDetailsFormatter");function d(e,t,r){return 0===r.path.length?(0,n.stream)(e):function(e,t,r){const i=r.split(":"),o=(0,n.stream)(e).drop(i.length>0?+i[0]:0).map((e=>e())),a=["0",...i.slice(1)].join(":");return(0,n.stream)((0,c.pathWalk)(a,o,t)).map((e=>()=>e))}(e,t,r.path)}function h(e,t){if(null==e||null==e.generate)throw new Error("Invalid property encountered, please use a valid property");if(null==e.run)throw new Error("Invalid property encountered, please use a valid property not an arbitrary");const r=o.QualifiedParameters.read(Object.assign(Object.assign({},(0,i.readConfigureGlobal)()),t));if(null!==r.reporter&&null!==r.asyncReporter)throw new Error("Invalid parameters encountered, reporter and asyncReporter cannot be specified together");if(null!==r.asyncReporter&&!e.isAsync())throw new Error("Invalid parameters encountered, only asyncProperty can be used when asyncReporter specified");const c=(0,a.decorateProperty)(e,r),f=(0,l.toss)(c,r.seed,r.randomType,r.examples),h=-1===r.path.indexOf(":")?r.numRuns:-1,p=r.numRuns*r.maxSkipsPerRun,y=c.shrink.bind(c),m=d(f,y,r),b=new u.SourceValuesIterator(m,h,p),g=r.endOnFailure?n.Stream.nil:y;return c.isAsync()?async function(e,t,r,n,i){const o=new s.RunnerIterator(r,t,n,i);for(const t of o){const r=await e.run(t);o.handleResult(r)}return o.runExecution}(c,g,b,r.verbose,r.markInterruptAsFailure).then((e=>e.toRunDetails(r.seed,r.path,p,r))):function(e,t,r,n,i){const o=new s.RunnerIterator(r,t,n,i);for(const t of o){const r=e.run(t);o.handleResult(r)}return o.runExecution}(c,g,b,r.verbose,r.markInterruptAsFailure).toRunDetails(r.seed,r.path,p,r)}r.check=h,r.assert=function(e,t){const r=h(e,t);if(e.isAsync())return r.then(f.asyncReportRunDetails);(0,f.reportRunDetails)(r)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/Runner.js"}],[2466,{"../precondition/PreconditionFailure":2454,"./reporter/RunExecution":2474},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RunnerIterator=void 0;const n=e("../precondition/PreconditionFailure"),i=e("./reporter/RunExecution");class o{constructor(e,t,r,n){this.sourceValues=e,this.shrink=t,this.runExecution=new i.RunExecution(r,n),this.currentIdx=-1,this.nextValues=e}[Symbol.iterator](){return this}next(){const e=this.nextValues.next();return e.done||this.runExecution.interrupted?{done:!0,value:undefined}:(this.currentValue=e.value,++this.currentIdx,{done:!1,value:e.value.value_})}handleResult(e){null==e||"object"!=typeof e||n.PreconditionFailure.isFailure(e)?null!=e?e.interruptExecution?this.runExecution.interrupt():(this.runExecution.skip(this.currentValue.value_),this.sourceValues.skippedOne()):this.runExecution.success(this.currentValue.value_):(this.runExecution.fail(this.currentValue.value_,this.currentIdx,e),this.currentIdx=-1,this.nextValues=this.shrink(this.currentValue))}}r.RunnerIterator=o}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/RunnerIterator.js"}],[2467,{"../../stream/Stream":2482,"../property/Property.generic":2459,"../property/UnbiasedProperty":2463,"./Tosser":2469,"./configuration/GlobalParameters":2470,"./configuration/QualifiedParameters":2471,"./utils/PathWalker":2475},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.statistics=r.sample=void 0;const n=e("../../stream/Stream"),i=e("../property/Property.generic"),o=e("../property/UnbiasedProperty"),a=e("./configuration/GlobalParameters"),s=e("./configuration/QualifiedParameters"),u=e("./Tosser"),l=e("./utils/PathWalker");function c(e,t){const r="number"==typeof t?Object.assign(Object.assign({},(0,a.readConfigureGlobal)()),{numRuns:t}):Object.assign(Object.assign({},(0,a.readConfigureGlobal)()),t),c=s.QualifiedParameters.read(r),f=function(e,t){const r=Object.prototype.hasOwnProperty.call(e,"isAsync")?e:new i.Property(e,(()=>!0));return!0===t.unbiased?new o.UnbiasedProperty(r):r}(e,c),d=f.shrink.bind(f),h=(0,n.stream)((0,u.toss)(f,c.seed,c.randomType,c.examples));return 0===c.path.length?h.take(c.numRuns).map((e=>e().value_)):(0,n.stream)((0,l.pathWalk)(c.path,h.map((e=>e())),d)).take(c.numRuns).map((e=>e.value_))}r.sample=function(e,t){return[...c(e,t)]},r.statistics=function(e,t,r){const n="number"==typeof r?Object.assign(Object.assign({},(0,a.readConfigureGlobal)()),{numRuns:r}):Object.assign(Object.assign({},(0,a.readConfigureGlobal)()),r),i=s.QualifiedParameters.read(n),o={};for(const n of c(e,r)){const e=t(n),r=Array.isArray(e)?e:[e];for(const e of r)o[e]=(o[e]||0)+1}const u=Object.entries(o).sort(((e,t)=>t[1]-e[1])).map((e=>{return[e[0],`${t=100*e[1]/i.numRuns,(Math.round(100*t)/100).toFixed(2)}%`];var t})),l=u.map((e=>e[0].length)).reduce(((e,t)=>Math.max(e,t)),0),f=u.map((e=>e[1].length)).reduce(((e,t)=>Math.max(e,t)),0);for(const e of u)i.logger(`${e[0].padEnd(l,".")}..${e[1].padStart(f,".")}`)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/Sampler.js"}],[2468,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SourceValuesIterator=void 0;class n{constructor(e,t,r){this.initialValues=e,this.maxInitialIterations=t,this.remainingSkips=r}[Symbol.iterator](){return this}next(){if(-1!=--this.maxInitialIterations&&this.remainingSkips>=0){const e=this.initialValues.next();if(!e.done)return{value:e.value(),done:!1}}return{value:undefined,done:!0}}skippedOne(){--this.remainingSkips,++this.maxInitialIterations}}r.SourceValuesIterator=n}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/SourceValuesIterator.js"}],[2469,{"../../random/generator/Random":2480,"../arbitrary/definition/Value":2447,"pure-rand":3058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toss=void 0;const n=e("pure-rand"),i=e("../../random/generator/Random"),o=e("../arbitrary/definition/Value");function a(e,t,r){return()=>e.generate(new i.Random(t),r)}r.toss=function*(e,t,r,i){yield*i.map((e=>()=>new o.Value(e,undefined)));let s=0,u=r(t);for(;;)u=u.jump?u.jump():(0,n.skipN)(u,42),yield a(e,u,s++)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/Tosser.js"}],[2470,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.resetConfigureGlobal=r.readConfigureGlobal=r.configureGlobal=void 0;let n={};r.configureGlobal=function(e){n=e},r.readConfigureGlobal=function(){return n},r.resetConfigureGlobal=function(){n={}}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/configuration/GlobalParameters.js"}],[2471,{"./VerbosityLevel":2472,"pure-rand":3058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.QualifiedParameters=void 0;const n=e("pure-rand"),i=e("./VerbosityLevel");class o{constructor(e){const t=e||{};this.seed=o.readSeed(t),this.randomType=o.readRandomType(t),this.numRuns=o.readNumRuns(t),this.verbose=o.readVerbose(t),this.maxSkipsPerRun=o.readOrDefault(t,"maxSkipsPerRun",100),this.timeout=o.readOrDefault(t,"timeout",null),this.skipAllAfterTimeLimit=o.readOrDefault(t,"skipAllAfterTimeLimit",null),this.interruptAfterTimeLimit=o.readOrDefault(t,"interruptAfterTimeLimit",null),this.markInterruptAsFailure=o.readBoolean(t,"markInterruptAsFailure"),this.skipEqualValues=o.readBoolean(t,"skipEqualValues"),this.ignoreEqualValues=o.readBoolean(t,"ignoreEqualValues"),this.logger=o.readOrDefault(t,"logger",(e=>{console.log(e)})),this.path=o.readOrDefault(t,"path",""),this.unbiased=o.readBoolean(t,"unbiased"),this.examples=o.readOrDefault(t,"examples",[]),this.endOnFailure=o.readBoolean(t,"endOnFailure"),this.reporter=o.readOrDefault(t,"reporter",null),this.asyncReporter=o.readOrDefault(t,"asyncReporter",null)}toParameters(){const e=e=>null!==e?e:undefined;return{seed:this.seed,randomType:this.randomType,numRuns:this.numRuns,maxSkipsPerRun:this.maxSkipsPerRun,timeout:e(this.timeout),skipAllAfterTimeLimit:e(this.skipAllAfterTimeLimit),interruptAfterTimeLimit:e(this.interruptAfterTimeLimit),markInterruptAsFailure:this.markInterruptAsFailure,skipEqualValues:this.skipEqualValues,ignoreEqualValues:this.ignoreEqualValues,path:this.path,logger:this.logger,unbiased:this.unbiased,verbose:this.verbose,examples:this.examples,endOnFailure:this.endOnFailure,reporter:e(this.reporter),asyncReporter:e(this.asyncReporter)}}static read(e){return new o(e)}}r.QualifiedParameters=o,o.readSeed=e=>{if(null==e.seed)return Date.now()^4294967296*Math.random();const t=0|e.seed;if(e.seed===t)return t;return t^4294967296*(e.seed-t)},o.readRandomType=e=>{if(null==e.randomType)return n.default.xorshift128plus;if("string"==typeof e.randomType)switch(e.randomType){case"mersenne":return n.default.mersenne;case"congruential":return n.default.congruential;case"congruential32":return n.default.congruential32;case"xorshift128plus":return n.default.xorshift128plus;case"xoroshiro128plus":return n.default.xoroshiro128plus;default:throw new Error(`Invalid random specified: '${e.randomType}'`)}return e.randomType},o.readNumRuns=e=>null!=e.numRuns?e.numRuns:null!=e.num_runs?e.num_runs:100,o.readVerbose=e=>null==e.verbose?i.VerbosityLevel.None:"boolean"==typeof e.verbose?!0===e.verbose?i.VerbosityLevel.Verbose:i.VerbosityLevel.None:e.verbose<=i.VerbosityLevel.None?i.VerbosityLevel.None:e.verbose>=i.VerbosityLevel.VeryVerbose?i.VerbosityLevel.VeryVerbose:0|e.verbose,o.readBoolean=(e,t)=>!0===e[t],o.readOrDefault=(e,t,r)=>{const n=e[t];return null!=n?n:r}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/configuration/QualifiedParameters.js"}],[2472,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.VerbosityLevel=void 0,function(e){e[e.None=0]="None",e[e.Verbose=1]="Verbose",e[e.VeryVerbose=2]="VeryVerbose"}(r.VerbosityLevel||(r.VerbosityLevel={}))}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/configuration/VerbosityLevel.js"}],[2473,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ExecutionStatus=void 0,function(e){e[e.Success=0]="Success",e[e.Skipped=-1]="Skipped",e[e.Failure=1]="Failure"}(r.ExecutionStatus||(r.ExecutionStatus={}))}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/reporter/ExecutionStatus.js"}],[2474,{"../configuration/VerbosityLevel":2472,"./ExecutionStatus":2473},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RunExecution=void 0;const n=e("../configuration/VerbosityLevel"),i=e("./ExecutionStatus");class o{constructor(e,t){this.verbosity=e,this.interruptedAsFailure=t,this.isSuccess=()=>null==this.pathToFailure,this.firstFailure=()=>this.pathToFailure?+this.pathToFailure.split(":")[0]:-1,this.numShrinks=()=>this.pathToFailure?this.pathToFailure.split(":").length-1:0,this.rootExecutionTrees=[],this.currentLevelExecutionTrees=this.rootExecutionTrees,this.failure=null,this.numSkips=0,this.numSuccesses=0,this.interrupted=!1}appendExecutionTree(e,t){const r={status:e,value:t,children:[]};return this.currentLevelExecutionTrees.push(r),r}fail(e,t,r){if(this.verbosity>=n.VerbosityLevel.Verbose){const t=this.appendExecutionTree(i.ExecutionStatus.Failure,e);this.currentLevelExecutionTrees=t.children}null==this.pathToFailure?this.pathToFailure=`${t}`:this.pathToFailure+=`:${t}`,this.value=e,this.failure=r}skip(e){this.verbosity>=n.VerbosityLevel.VeryVerbose&&this.appendExecutionTree(i.ExecutionStatus.Skipped,e),null==this.pathToFailure&&++this.numSkips}success(e){this.verbosity>=n.VerbosityLevel.VeryVerbose&&this.appendExecutionTree(i.ExecutionStatus.Success,e),null==this.pathToFailure&&++this.numSuccesses}interrupt(){this.interrupted=!0}extractFailures(){if(this.isSuccess())return[];const e=[];let t=this.rootExecutionTrees;for(;t.length>0&&t[t.length-1].status===i.ExecutionStatus.Failure;){const r=t[t.length-1];e.push(r.value),t=r.children}return e}toRunDetails(e,t,r,n){if(!this.isSuccess())return{failed:!0,interrupted:this.interrupted,numRuns:this.firstFailure()+1-this.numSkips,numSkips:this.numSkips,numShrinks:this.numShrinks(),seed:e,counterexample:this.value,counterexamplePath:o.mergePaths(t,this.pathToFailure),error:this.failure.errorMessage,errorInstance:this.failure.error,failures:this.extractFailures(),executionSummary:this.rootExecutionTrees,verbose:this.verbosity,runConfiguration:n.toParameters()};return{failed:this.numSkips>r||this.interrupted&&this.interruptedAsFailure,interrupted:this.interrupted,numRuns:this.numSuccesses,numSkips:this.numSkips,numShrinks:0,seed:e,counterexample:null,counterexamplePath:null,error:null,errorInstance:null,failures:[],executionSummary:this.rootExecutionTrees,verbose:this.verbosity,runConfiguration:n.toParameters()}}}r.RunExecution=o,o.mergePaths=(e,t)=>{if(0===e.length)return t;const r=e.split(":"),n=t.split(":"),i=+r[r.length-1]+ +n[0];return[...r.slice(0,r.length-1),`${i}`,...n.slice(1)].join(":")}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/reporter/RunExecution.js"}],[2475,{"../../../stream/Stream":2482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pathWalk=void 0;const n=e("../../../stream/Stream");r.pathWalk=function(e,t,r){let i=(0,n.stream)(t);const o=e.split(":").map((e=>+e));if(0===o.length)return i;if(!o.every((e=>!Number.isNaN(e))))throw new Error(`Unable to replay, got invalid path=${e}`);i=i.drop(o[0]);for(const t of o.slice(1)){const n=i.getNthOrLast(0);if(null==n)throw new Error(`Unable to replay, got wrong path=${e}`);i=r(n).drop(t)}return i}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/utils/PathWalker.js"}],[2476,{"../../../utils/stringify":2485,"../configuration/VerbosityLevel":2472,"../reporter/ExecutionStatus":2473},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.asyncDefaultReportMessage=r.defaultReportMessage=r.asyncReportRunDetails=r.reportRunDetails=void 0;const n=e("../../../utils/stringify"),i=e("../configuration/VerbosityLevel"),o=e("../reporter/ExecutionStatus");function a(e,t){const r=[],n=[];for(const t of e.slice().reverse())n.push({depth:1,tree:t});for(;0!==n.length;){const e=n.pop(),i=e.tree,a=e.depth,s=i.status===o.ExecutionStatus.Success?"[32m√[0m":i.status===o.ExecutionStatus.Failure?"[31m×[0m":"[33m![0m",u=Array(a).join(". ");r.push(`${u}${s} ${t(i.value)}`);for(const e of i.children.slice().reverse())n.push({depth:a+1,tree:e})}return`Execution summary:\n${r.join("\n")}`}function s(e,t){if(!e.failed)return;const{message:r,details:n,hints:o}=null===e.counterexamplePath?e.interrupted?function(e,t){const r=`Property interrupted after ${e.numRuns} tests\n{ seed: ${e.seed} }`;let n=null;const o=[];return e.verbose>=i.VerbosityLevel.VeryVerbose?n=a(e.executionSummary,t):o.push("Enable verbose mode at level VeryVerbose in order to check all generated values and their associated status"),{message:r,details:n,hints:o}}(e,t):function(e,t){const r=`Failed to run property, too many pre-condition failures encountered\n{ seed: ${e.seed} }\n\nRan ${e.numRuns} time(s)\nSkipped ${e.numSkips} time(s)`;let n=null;const o=["Try to reduce the number of rejected values by combining map, flatMap and built-in arbitraries","Increase failure tolerance by setting maxSkipsPerRun to an higher value"];return e.verbose>=i.VerbosityLevel.VeryVerbose?n=a(e.executionSummary,t):o.push("Enable verbose mode at level VeryVerbose in order to check all generated values and their associated status"),{message:r,details:n,hints:o}}(e,t):function(e,t){const r=`Property failed after ${e.numRuns} tests\n{ seed: ${e.seed}, path: "${e.counterexamplePath}", endOnFailure: true }\nCounterexample: ${t(e.counterexample)}\nShrunk ${e.numShrinks} time(s)\nGot error: ${e.error}`;let n=null;const o=[];return e.verbose>=i.VerbosityLevel.VeryVerbose?n=a(e.executionSummary,t):e.verbose===i.VerbosityLevel.Verbose?n=function(e,t){return`Encountered failures were:\n- ${e.map(t).join("\n- ")}`}(e.failures,t):o.push("Enable verbose mode in order to have the list of all failing values encountered during the run"),{message:r,details:n,hints:o}}(e,t);let s=r;return null!=n&&(s+=`\n\n${n}`),o.length>0&&(s+=`\n\n${function(e){return 1===e.length?`Hint: ${e[0]}`:e.map(((e,t)=>`Hint (${t+1}): ${e}`)).join("\n")}(o)}`),s}function u(e){return s(e,n.stringify)}async function l(e){const t=[];const r=s(e,(function(e){const r=(0,n.possiblyAsyncStringify)(e);return"string"==typeof r?r:(t.push(Promise.all([e,r])),"…")}));if(0===t.length)return r;const i=new Map(await Promise.all(t));return s(e,(function(e){const t=i.get(e);return t!==undefined?t:(0,n.stringify)(e)}))}r.defaultReportMessage=u,r.asyncDefaultReportMessage=l,r.reportRunDetails=function(e){return e.runConfiguration.asyncReporter?e.runConfiguration.asyncReporter(e):e.runConfiguration.reporter?e.runConfiguration.reporter(e):function(e){if(e.failed)throw new Error(u(e))}(e)},r.asyncReportRunDetails=async function(e){return e.runConfiguration.asyncReporter?e.runConfiguration.asyncReporter(e):e.runConfiguration.reporter?e.runConfiguration.reporter(e):async function(e){if(e.failed)throw new Error(await l(e))}(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/runner/utils/RunDetailsFormatter.js"}],[2477,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return null!==e&&("object"==typeof e||"function"==typeof e)&&r.cloneMethod in e&&"function"==typeof e[r.cloneMethod]}Object.defineProperty(r,"__esModule",{value:!0}),r.cloneIfNeeded=r.hasCloneMethod=r.cloneMethod=void 0,r.cloneMethod=Symbol("fast-check/cloneMethod"),r.hasCloneMethod=n,r.cloneIfNeeded=function(e){return n(e)?e[r.cloneMethod]():e}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/check/symbols.js"}],[2478,{"./arbitrary/_internals/helpers/DepthContext":2322,"./arbitrary/anything":2364,"./arbitrary/array":2365,"./arbitrary/ascii":2366,"./arbitrary/asciiString":2367,"./arbitrary/base64":2368,"./arbitrary/base64String":2369,"./arbitrary/bigInt":2370,"./arbitrary/bigInt64Array":2371,"./arbitrary/bigIntN":2372,"./arbitrary/bigUint":2373,"./arbitrary/bigUint64Array":2374,"./arbitrary/bigUintN":2375,"./arbitrary/boolean":2376,"./arbitrary/char":2377,"./arbitrary/char16bits":2378,"./arbitrary/clone":2379,"./arbitrary/commands":2380,"./arbitrary/compareBooleanFunc":2381,"./arbitrary/compareFunc":2382,"./arbitrary/constant":2383,"./arbitrary/constantFrom":2384,"./arbitrary/context":2385,"./arbitrary/date":2386,"./arbitrary/dictionary":2387,"./arbitrary/domain":2388,"./arbitrary/double":2389,"./arbitrary/emailAddress":2390,"./arbitrary/falsy":2391,"./arbitrary/float":2392,"./arbitrary/float32Array":2393,"./arbitrary/float64Array":2394,"./arbitrary/fullUnicode":2395,"./arbitrary/fullUnicodeString":2396,"./arbitrary/func":2397,"./arbitrary/hexa":2398,"./arbitrary/hexaString":2399,"./arbitrary/infiniteStream":2400,"./arbitrary/int16Array":2401,"./arbitrary/int32Array":2402,"./arbitrary/int8Array":2403,"./arbitrary/integer":2404,"./arbitrary/ipV4":2405,"./arbitrary/ipV4Extended":2406,"./arbitrary/ipV6":2407,"./arbitrary/json":2408,"./arbitrary/jsonValue":2409,"./arbitrary/letrec":2410,"./arbitrary/lorem":2411,"./arbitrary/mapToConstant":2412,"./arbitrary/maxSafeInteger":2413,"./arbitrary/maxSafeNat":2414,"./arbitrary/memo":2415,"./arbitrary/mixedCase":2416,"./arbitrary/nat":2417,"./arbitrary/object":2418,"./arbitrary/oneof":2419,"./arbitrary/option":2420,"./arbitrary/record":2421,"./arbitrary/scheduler":2422,"./arbitrary/shuffledSubarray":2423,"./arbitrary/sparseArray":2424,"./arbitrary/string":2425,"./arbitrary/string16bits":2426,"./arbitrary/stringOf":2427,"./arbitrary/subarray":2428,"./arbitrary/tuple":2429,"./arbitrary/uint16Array":2430,"./arbitrary/uint32Array":2431,"./arbitrary/uint8Array":2432,"./arbitrary/uint8ClampedArray":2433,"./arbitrary/unicode":2434,"./arbitrary/unicodeJson":2435,"./arbitrary/unicodeJsonValue":2436,"./arbitrary/unicodeString":2437,"./arbitrary/uniqueArray":2438,"./arbitrary/uuid":2439,"./arbitrary/uuidV":2440,"./arbitrary/webAuthority":2441,"./arbitrary/webFragments":2442,"./arbitrary/webQueryParameters":2443,"./arbitrary/webSegment":2444,"./arbitrary/webUrl":2445,"./check/arbitrary/definition/Arbitrary":2446,"./check/arbitrary/definition/Value":2447,"./check/model/ModelRunner":2448,"./check/precondition/Pre":2453,"./check/precondition/PreconditionFailure":2454,"./check/property/AsyncProperty":2456,"./check/property/Property":2460,"./check/runner/Runner":2465,"./check/runner/Sampler":2467,"./check/runner/configuration/GlobalParameters":2470,"./check/runner/configuration/VerbosityLevel":2472,"./check/runner/reporter/ExecutionStatus":2473,"./check/runner/utils/RunDetailsFormatter":2476,"./check/symbols":2477,"./random/generator/Random":2480,"./stream/Stream":2482,"./utils/hash":2484,"./utils/stringify":2485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sparseArray=r.array=r.subarray=r.shuffledSubarray=r.clone=r.oneof=r.option=r.mapToConstant=r.constantFrom=r.constant=r.lorem=r.base64String=r.hexaString=r.fullUnicodeString=r.unicodeString=r.stringOf=r.string16bits=r.asciiString=r.string=r.mixedCase=r.base64=r.hexa=r.fullUnicode=r.unicode=r.char16bits=r.ascii=r.char=r.bigUint=r.bigInt=r.bigUintN=r.bigIntN=r.maxSafeNat=r.maxSafeInteger=r.nat=r.integer=r.double=r.float=r.falsy=r.boolean=r.asyncProperty=r.property=r.PreconditionFailure=r.pre=r.assert=r.check=r.statistics=r.sample=r.__commitHash=r.__version=r.__type=void 0,r.cloneMethod=r.Value=r.Arbitrary=r.schedulerFor=r.scheduler=r.commands=r.scheduledModelRun=r.modelRun=r.asyncModelRun=r.bigUint64Array=r.bigInt64Array=r.float64Array=r.float32Array=r.uint32Array=r.int32Array=r.uint16Array=r.int16Array=r.uint8ClampedArray=r.uint8Array=r.int8Array=r.uuidV=r.uuid=r.emailAddress=r.webUrl=r.webQueryParameters=r.webFragments=r.webSegment=r.webAuthority=r.domain=r.ipV6=r.ipV4Extended=r.ipV4=r.date=r.context=r.func=r.compareFunc=r.compareBooleanFunc=r.memo=r.letrec=r.unicodeJsonValue=r.unicodeJson=r.jsonValue=r.json=r.object=r.anything=r.dictionary=r.record=r.tuple=r.uniqueArray=r.infiniteStream=void 0,r.createDepthIdentifier=r.stream=r.Stream=r.Random=r.ExecutionStatus=r.resetConfigureGlobal=r.readConfigureGlobal=r.configureGlobal=r.VerbosityLevel=r.hash=r.asyncDefaultReportMessage=r.defaultReportMessage=r.asyncStringify=r.stringify=r.getDepthContextFor=r.hasAsyncToStringMethod=r.asyncToStringMethod=r.hasToStringMethod=r.toStringMethod=r.hasCloneMethod=r.cloneIfNeeded=void 0;const n=e("./check/precondition/Pre");Object.defineProperty(r,"pre",{enumerable:!0,get:function(){return n.pre}});const i=e("./check/property/AsyncProperty");Object.defineProperty(r,"asyncProperty",{enumerable:!0,get:function(){return i.asyncProperty}});const o=e("./check/property/Property");Object.defineProperty(r,"property",{enumerable:!0,get:function(){return o.property}});const a=e("./check/runner/Runner");Object.defineProperty(r,"assert",{enumerable:!0,get:function(){return a.assert}}),Object.defineProperty(r,"check",{enumerable:!0,get:function(){return a.check}});const s=e("./check/runner/Sampler");Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return s.sample}}),Object.defineProperty(r,"statistics",{enumerable:!0,get:function(){return s.statistics}});const u=e("./arbitrary/array");Object.defineProperty(r,"array",{enumerable:!0,get:function(){return u.array}});const l=e("./arbitrary/bigInt");Object.defineProperty(r,"bigInt",{enumerable:!0,get:function(){return l.bigInt}});const c=e("./arbitrary/bigIntN");Object.defineProperty(r,"bigIntN",{enumerable:!0,get:function(){return c.bigIntN}});const f=e("./arbitrary/bigUint");Object.defineProperty(r,"bigUint",{enumerable:!0,get:function(){return f.bigUint}});const d=e("./arbitrary/bigUintN");Object.defineProperty(r,"bigUintN",{enumerable:!0,get:function(){return d.bigUintN}});const h=e("./arbitrary/boolean");Object.defineProperty(r,"boolean",{enumerable:!0,get:function(){return h.boolean}});const p=e("./arbitrary/falsy");Object.defineProperty(r,"falsy",{enumerable:!0,get:function(){return p.falsy}});const y=e("./arbitrary/ascii");Object.defineProperty(r,"ascii",{enumerable:!0,get:function(){return y.ascii}});const m=e("./arbitrary/base64");Object.defineProperty(r,"base64",{enumerable:!0,get:function(){return m.base64}});const b=e("./arbitrary/char");Object.defineProperty(r,"char",{enumerable:!0,get:function(){return b.char}});const g=e("./arbitrary/char16bits");Object.defineProperty(r,"char16bits",{enumerable:!0,get:function(){return g.char16bits}});const w=e("./arbitrary/fullUnicode");Object.defineProperty(r,"fullUnicode",{enumerable:!0,get:function(){return w.fullUnicode}});const v=e("./arbitrary/hexa");Object.defineProperty(r,"hexa",{enumerable:!0,get:function(){return v.hexa}});const _=e("./arbitrary/unicode");Object.defineProperty(r,"unicode",{enumerable:!0,get:function(){return _.unicode}});const S=e("./arbitrary/constant");Object.defineProperty(r,"constant",{enumerable:!0,get:function(){return S.constant}});const A=e("./arbitrary/constantFrom");Object.defineProperty(r,"constantFrom",{enumerable:!0,get:function(){return A.constantFrom}});const T=e("./arbitrary/context");Object.defineProperty(r,"context",{enumerable:!0,get:function(){return T.context}});const k=e("./arbitrary/date");Object.defineProperty(r,"date",{enumerable:!0,get:function(){return k.date}});const E=e("./arbitrary/clone");Object.defineProperty(r,"clone",{enumerable:!0,get:function(){return E.clone}});const I=e("./arbitrary/dictionary");Object.defineProperty(r,"dictionary",{enumerable:!0,get:function(){return I.dictionary}});const O=e("./arbitrary/emailAddress");Object.defineProperty(r,"emailAddress",{enumerable:!0,get:function(){return O.emailAddress}});const M=e("./arbitrary/double");Object.defineProperty(r,"double",{enumerable:!0,get:function(){return M.double}});const x=e("./arbitrary/float");Object.defineProperty(r,"float",{enumerable:!0,get:function(){return x.float}});const j=e("./arbitrary/compareBooleanFunc");Object.defineProperty(r,"compareBooleanFunc",{enumerable:!0,get:function(){return j.compareBooleanFunc}});const P=e("./arbitrary/compareFunc");Object.defineProperty(r,"compareFunc",{enumerable:!0,get:function(){return P.compareFunc}});const C=e("./arbitrary/func");Object.defineProperty(r,"func",{enumerable:!0,get:function(){return C.func}});const N=e("./arbitrary/domain");Object.defineProperty(r,"domain",{enumerable:!0,get:function(){return N.domain}});const B=e("./arbitrary/integer");Object.defineProperty(r,"integer",{enumerable:!0,get:function(){return B.integer}});const D=e("./arbitrary/maxSafeInteger");Object.defineProperty(r,"maxSafeInteger",{enumerable:!0,get:function(){return D.maxSafeInteger}});const R=e("./arbitrary/maxSafeNat");Object.defineProperty(r,"maxSafeNat",{enumerable:!0,get:function(){return R.maxSafeNat}});const L=e("./arbitrary/nat");Object.defineProperty(r,"nat",{enumerable:!0,get:function(){return L.nat}});const U=e("./arbitrary/ipV4");Object.defineProperty(r,"ipV4",{enumerable:!0,get:function(){return U.ipV4}});const F=e("./arbitrary/ipV4Extended");Object.defineProperty(r,"ipV4Extended",{enumerable:!0,get:function(){return F.ipV4Extended}});const V=e("./arbitrary/ipV6");Object.defineProperty(r,"ipV6",{enumerable:!0,get:function(){return V.ipV6}});const z=e("./arbitrary/letrec");Object.defineProperty(r,"letrec",{enumerable:!0,get:function(){return z.letrec}});const G=e("./arbitrary/lorem");Object.defineProperty(r,"lorem",{enumerable:!0,get:function(){return G.lorem}});const H=e("./arbitrary/mapToConstant");Object.defineProperty(r,"mapToConstant",{enumerable:!0,get:function(){return H.mapToConstant}});const q=e("./arbitrary/memo");Object.defineProperty(r,"memo",{enumerable:!0,get:function(){return q.memo}});const W=e("./arbitrary/mixedCase");Object.defineProperty(r,"mixedCase",{enumerable:!0,get:function(){return W.mixedCase}});const K=e("./arbitrary/object");Object.defineProperty(r,"object",{enumerable:!0,get:function(){return K.object}});const $=e("./arbitrary/json");Object.defineProperty(r,"json",{enumerable:!0,get:function(){return $.json}});const Z=e("./arbitrary/anything");Object.defineProperty(r,"anything",{enumerable:!0,get:function(){return Z.anything}});const X=e("./arbitrary/unicodeJsonValue");Object.defineProperty(r,"unicodeJsonValue",{enumerable:!0,get:function(){return X.unicodeJsonValue}});const Y=e("./arbitrary/jsonValue");Object.defineProperty(r,"jsonValue",{enumerable:!0,get:function(){return Y.jsonValue}});const J=e("./arbitrary/unicodeJson");Object.defineProperty(r,"unicodeJson",{enumerable:!0,get:function(){return J.unicodeJson}});const Q=e("./arbitrary/oneof");Object.defineProperty(r,"oneof",{enumerable:!0,get:function(){return Q.oneof}});const ee=e("./arbitrary/option");Object.defineProperty(r,"option",{enumerable:!0,get:function(){return ee.option}});const te=e("./arbitrary/record");Object.defineProperty(r,"record",{enumerable:!0,get:function(){return te.record}});const re=e("./arbitrary/uniqueArray");Object.defineProperty(r,"uniqueArray",{enumerable:!0,get:function(){return re.uniqueArray}});const ne=e("./arbitrary/infiniteStream");Object.defineProperty(r,"infiniteStream",{enumerable:!0,get:function(){return ne.infiniteStream}});const ie=e("./arbitrary/asciiString");Object.defineProperty(r,"asciiString",{enumerable:!0,get:function(){return ie.asciiString}});const oe=e("./arbitrary/base64String");Object.defineProperty(r,"base64String",{enumerable:!0,get:function(){return oe.base64String}});const ae=e("./arbitrary/fullUnicodeString");Object.defineProperty(r,"fullUnicodeString",{enumerable:!0,get:function(){return ae.fullUnicodeString}});const se=e("./arbitrary/hexaString");Object.defineProperty(r,"hexaString",{enumerable:!0,get:function(){return se.hexaString}});const ue=e("./arbitrary/string");Object.defineProperty(r,"string",{enumerable:!0,get:function(){return ue.string}});const le=e("./arbitrary/string16bits");Object.defineProperty(r,"string16bits",{enumerable:!0,get:function(){return le.string16bits}});const ce=e("./arbitrary/stringOf");Object.defineProperty(r,"stringOf",{enumerable:!0,get:function(){return ce.stringOf}});const fe=e("./arbitrary/unicodeString");Object.defineProperty(r,"unicodeString",{enumerable:!0,get:function(){return fe.unicodeString}});const de=e("./arbitrary/subarray");Object.defineProperty(r,"subarray",{enumerable:!0,get:function(){return de.subarray}});const he=e("./arbitrary/shuffledSubarray");Object.defineProperty(r,"shuffledSubarray",{enumerable:!0,get:function(){return he.shuffledSubarray}});const pe=e("./arbitrary/tuple");Object.defineProperty(r,"tuple",{enumerable:!0,get:function(){return pe.tuple}});const ye=e("./arbitrary/uuid");Object.defineProperty(r,"uuid",{enumerable:!0,get:function(){return ye.uuid}});const me=e("./arbitrary/uuidV");Object.defineProperty(r,"uuidV",{enumerable:!0,get:function(){return me.uuidV}});const be=e("./arbitrary/webAuthority");Object.defineProperty(r,"webAuthority",{enumerable:!0,get:function(){return be.webAuthority}});const ge=e("./arbitrary/webFragments");Object.defineProperty(r,"webFragments",{enumerable:!0,get:function(){return ge.webFragments}});const we=e("./arbitrary/webQueryParameters");Object.defineProperty(r,"webQueryParameters",{enumerable:!0,get:function(){return we.webQueryParameters}});const ve=e("./arbitrary/webSegment");Object.defineProperty(r,"webSegment",{enumerable:!0,get:function(){return ve.webSegment}});const _e=e("./arbitrary/webUrl");Object.defineProperty(r,"webUrl",{enumerable:!0,get:function(){return _e.webUrl}});const Se=e("./arbitrary/commands");Object.defineProperty(r,"commands",{enumerable:!0,get:function(){return Se.commands}});const Ae=e("./check/model/ModelRunner");Object.defineProperty(r,"asyncModelRun",{enumerable:!0,get:function(){return Ae.asyncModelRun}}),Object.defineProperty(r,"modelRun",{enumerable:!0,get:function(){return Ae.modelRun}}),Object.defineProperty(r,"scheduledModelRun",{enumerable:!0,get:function(){return Ae.scheduledModelRun}});const Te=e("./random/generator/Random");Object.defineProperty(r,"Random",{enumerable:!0,get:function(){return Te.Random}});const ke=e("./check/runner/configuration/GlobalParameters");Object.defineProperty(r,"configureGlobal",{enumerable:!0,get:function(){return ke.configureGlobal}}),Object.defineProperty(r,"readConfigureGlobal",{enumerable:!0,get:function(){return ke.readConfigureGlobal}}),Object.defineProperty(r,"resetConfigureGlobal",{enumerable:!0,get:function(){return ke.resetConfigureGlobal}});const Ee=e("./check/runner/configuration/VerbosityLevel");Object.defineProperty(r,"VerbosityLevel",{enumerable:!0,get:function(){return Ee.VerbosityLevel}});const Ie=e("./check/runner/reporter/ExecutionStatus");Object.defineProperty(r,"ExecutionStatus",{enumerable:!0,get:function(){return Ie.ExecutionStatus}});const Oe=e("./check/symbols");Object.defineProperty(r,"cloneMethod",{enumerable:!0,get:function(){return Oe.cloneMethod}}),Object.defineProperty(r,"cloneIfNeeded",{enumerable:!0,get:function(){return Oe.cloneIfNeeded}}),Object.defineProperty(r,"hasCloneMethod",{enumerable:!0,get:function(){return Oe.hasCloneMethod}});const Me=e("./stream/Stream");Object.defineProperty(r,"Stream",{enumerable:!0,get:function(){return Me.Stream}}),Object.defineProperty(r,"stream",{enumerable:!0,get:function(){return Me.stream}});const xe=e("./utils/hash");Object.defineProperty(r,"hash",{enumerable:!0,get:function(){return xe.hash}});const je=e("./utils/stringify");Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return je.stringify}}),Object.defineProperty(r,"asyncStringify",{enumerable:!0,get:function(){return je.asyncStringify}}),Object.defineProperty(r,"toStringMethod",{enumerable:!0,get:function(){return je.toStringMethod}}),Object.defineProperty(r,"hasToStringMethod",{enumerable:!0,get:function(){return je.hasToStringMethod}}),Object.defineProperty(r,"asyncToStringMethod",{enumerable:!0,get:function(){return je.asyncToStringMethod}}),Object.defineProperty(r,"hasAsyncToStringMethod",{enumerable:!0,get:function(){return je.hasAsyncToStringMethod}});const Pe=e("./arbitrary/scheduler");Object.defineProperty(r,"scheduler",{enumerable:!0,get:function(){return Pe.scheduler}}),Object.defineProperty(r,"schedulerFor",{enumerable:!0,get:function(){return Pe.schedulerFor}});const Ce=e("./check/runner/utils/RunDetailsFormatter");Object.defineProperty(r,"defaultReportMessage",{enumerable:!0,get:function(){return Ce.defaultReportMessage}}),Object.defineProperty(r,"asyncDefaultReportMessage",{enumerable:!0,get:function(){return Ce.asyncDefaultReportMessage}});const Ne=e("./check/precondition/PreconditionFailure");Object.defineProperty(r,"PreconditionFailure",{enumerable:!0,get:function(){return Ne.PreconditionFailure}});const Be=e("./arbitrary/int8Array");Object.defineProperty(r,"int8Array",{enumerable:!0,get:function(){return Be.int8Array}});const De=e("./arbitrary/int16Array");Object.defineProperty(r,"int16Array",{enumerable:!0,get:function(){return De.int16Array}});const Re=e("./arbitrary/int32Array");Object.defineProperty(r,"int32Array",{enumerable:!0,get:function(){return Re.int32Array}});const Le=e("./arbitrary/uint8Array");Object.defineProperty(r,"uint8Array",{enumerable:!0,get:function(){return Le.uint8Array}});const Ue=e("./arbitrary/uint8ClampedArray");Object.defineProperty(r,"uint8ClampedArray",{enumerable:!0,get:function(){return Ue.uint8ClampedArray}});const Fe=e("./arbitrary/uint16Array");Object.defineProperty(r,"uint16Array",{enumerable:!0,get:function(){return Fe.uint16Array}});const Ve=e("./arbitrary/uint32Array");Object.defineProperty(r,"uint32Array",{enumerable:!0,get:function(){return Ve.uint32Array}});const ze=e("./arbitrary/float32Array");Object.defineProperty(r,"float32Array",{enumerable:!0,get:function(){return ze.float32Array}});const Ge=e("./arbitrary/float64Array");Object.defineProperty(r,"float64Array",{enumerable:!0,get:function(){return Ge.float64Array}});const He=e("./arbitrary/sparseArray");Object.defineProperty(r,"sparseArray",{enumerable:!0,get:function(){return He.sparseArray}});const qe=e("./check/arbitrary/definition/Arbitrary");Object.defineProperty(r,"Arbitrary",{enumerable:!0,get:function(){return qe.Arbitrary}});const We=e("./check/arbitrary/definition/Value");Object.defineProperty(r,"Value",{enumerable:!0,get:function(){return We.Value}});const Ke=e("./arbitrary/_internals/helpers/DepthContext");Object.defineProperty(r,"createDepthIdentifier",{enumerable:!0,get:function(){return Ke.createDepthIdentifier}}),Object.defineProperty(r,"getDepthContextFor",{enumerable:!0,get:function(){return Ke.getDepthContextFor}});const $e=e("./arbitrary/bigInt64Array");Object.defineProperty(r,"bigInt64Array",{enumerable:!0,get:function(){return $e.bigInt64Array}});const Ze=e("./arbitrary/bigUint64Array");Object.defineProperty(r,"bigUint64Array",{enumerable:!0,get:function(){return Ze.bigUint64Array}});r.__type="commonjs";r.__version="3.1.1";r.__commitHash="35ac775d3a2353a9458b1426c2ac97397b99cdbd"}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/fast-check-default.js"}],[2479,{"./fast-check-default":2478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0});const o=e("./fast-check-default");r.default=o,i(e("./fast-check-default"),r)}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/fast-check.js"}],[2480,{"pure-rand":3058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Random=void 0;const n=e("pure-rand");class i{constructor(e){this.internalRng=e.clone()}clone(){return new i(this.internalRng)}next(e){return(0,n.unsafeUniformIntDistribution)(0,(1<<e)-1,this.internalRng)}nextBoolean(){return 1==(0,n.unsafeUniformIntDistribution)(0,1,this.internalRng)}nextInt(e,t){return(0,n.unsafeUniformIntDistribution)(null==e?i.MIN_INT:e,null==t?i.MAX_INT:t,this.internalRng)}nextBigInt(e,t){return(0,n.unsafeUniformBigIntDistribution)(e,t,this.internalRng)}nextArrayInt(e,t){return(0,n.unsafeUniformArrayIntDistribution)(e,t,this.internalRng)}nextDouble(){const e=this.next(26),t=this.next(27);return(e*i.DBL_FACTOR+t)*i.DBL_DIVISOR}}r.Random=i,i.MIN_INT=-2147483648,i.MAX_INT=2147483647,i.DBL_FACTOR=Math.pow(2,27),i.DBL_DIVISOR=Math.pow(2,-53)}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/random/generator/Random.js"}],[2481,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.makeLazy=void 0;class n{constructor(e){this.producer=e}[Symbol.iterator](){return this.it===undefined&&(this.it=this.producer()),this.it}next(){return this.it===undefined&&(this.it=this.producer()),this.it.next()}}r.makeLazy=function(e){return new n(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/stream/LazyIterableIterator.js"}],[2482,{"./StreamHelpers":2483},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.stream=r.Stream=void 0;const n=e("./StreamHelpers");class i{constructor(e){this.g=e}static nil(){return new i((0,n.nilHelper)())}static of(...e){return new i(e[Symbol.iterator]())}next(){return this.g.next()}[Symbol.iterator](){return this.g}map(e){return new i((0,n.mapHelper)(this.g,e))}flatMap(e){return new i((0,n.flatMapHelper)(this.g,e))}dropWhile(e){let t=!1;return this.flatMap((function*(r){!t&&e(r)||(t=!0,yield r)}))}drop(e){let t=0;return this.dropWhile((function(){return t++<e}))}takeWhile(e){return new i((0,n.takeWhileHelper)(this.g,e))}take(e){return new i((0,n.takeNHelper)(this.g,e))}filter(e){return new i((0,n.filterHelper)(this.g,e))}every(e){for(const t of this.g)if(!e(t))return!1;return!0}has(e){for(const t of this.g)if(e(t))return[!0,t];return[!1,null]}join(...e){return new i((0,n.joinHelper)(this.g,e))}getNthOrLast(e){let t=e,r=null;for(const e of this.g){if(0==t--)return e;r=e}return r}}r.Stream=i,r.stream=function(e){return new i(e)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/stream/Stream.js"}],[2483,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinHelper=r.takeWhileHelper=r.takeNHelper=r.filterHelper=r.flatMapHelper=r.mapHelper=r.nilHelper=void 0;class n{[Symbol.iterator](){return this}next(e){return{value:e,done:!0}}}n.nil=new n,r.nilHelper=function(){return n.nil},r.mapHelper=function*(e,t){for(const r of e)yield t(r)},r.flatMapHelper=function*(e,t){for(const r of e)yield*t(r)},r.filterHelper=function*(e,t){for(const r of e)t(r)&&(yield r)},r.takeNHelper=function*(e,t){for(let r=0;r<t;++r){const t=e.next();if(t.done)break;yield t.value}},r.takeWhileHelper=function*(e,t){let r=e.next();for(;!r.done&&t(r.value);)yield r.value,r=e.next()},r.joinHelper=function*(e,t){for(let t=e.next();!t.done;t=e.next())yield t.value;for(const e of t)for(let t=e.next();!t.done;t=e.next())yield t.value}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/stream/StreamHelpers.js"}],[2484,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hash=void 0;const n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];r.hash=function(e){let t=4294967295;for(let r=0;r<e.length;++r){const i=e.charCodeAt(r);if(i<128)t=n[255&t^i]^t>>8;else if(i<2048)t=n[255&t^(192|i>>6&31)]^t>>8,t=n[255&t^(128|63&i)]^t>>8;else if(i>=55296&&i<57344){const o=e.charCodeAt(++r);if(i>=56320||o<56320||o>57343||Number.isNaN(o))r-=1,t=n[255&t^239]^t>>8,t=n[255&t^191]^t>>8,t=n[255&t^189]^t>>8;else{const e=64+(1023&i),r=1023&o;t=n[255&t^(240|e>>8&7)]^t>>8,t=n[255&t^(128|e>>2&63)]^t>>8,t=n[255&t^(128|r>>6&15|(3&e)<<4)]^t>>8,t=n[255&t^(128|63&r)]^t>>8}}else t=n[255&t^(224|i>>12&15)]^t>>8,t=n[255&t^(128|i>>6&63)]^t>>8,t=n[255&t^(128|63&i)]^t>>8}return 2147483648+(0|t)}}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/utils/hash.js"}],[2485,{buffer:1943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function t(e){return null!==e&&("object"==typeof e||"function"==typeof e)&&r.toStringMethod in e&&"function"==typeof e[r.toStringMethod]}function n(e){return null!==e&&("object"==typeof e||"function"==typeof e)&&r.asyncToStringMethod in e&&"function"==typeof e[r.asyncToStringMethod]}Object.defineProperty(r,"__esModule",{value:!0}),r.asyncStringify=r.possiblyAsyncStringify=r.stringify=r.stringifyInternal=r.hasAsyncToStringMethod=r.asyncToStringMethod=r.hasToStringMethod=r.toStringMethod=void 0,r.toStringMethod=Symbol("fast-check/toStringMethod"),r.hasToStringMethod=t,r.asyncToStringMethod=Symbol("fast-check/asyncToStringMethod"),r.hasAsyncToStringMethod=n;const i=/^Symbol\((.*)\)$/;function o(e){switch(e){case 0:return 1/e===Number.NEGATIVE_INFINITY?"-0":"0";case Number.NEGATIVE_INFINITY:return"Number.NEGATIVE_INFINITY";case Number.POSITIVE_INFINITY:return"Number.POSITIVE_INFINITY";default:return e==e?String(e):"Number.NaN"}}function a(s,u,l){const c=u.concat([s]);if("object"==typeof s&&-1!==u.indexOf(s))return"[cyclic]";if(n(s)){const e=l(s);if("fulfilled"===e.state)return e.value}if(t(s))try{return s[r.toStringMethod]()}catch(e){}switch(Object.prototype.toString.call(s)){case"[object Array]":{const e=s;if(e.length>=50&&function(e){let t=-1;for(const r in e){const e=Number(r);if(e!==t+1)return!0;t=e}return t+1!==e.length}(e)){const t=[];for(const r in e)Number.isNaN(Number(r))||t.push(`${r}:${a(e[r],c,l)}`);return 0!==t.length?`Object.assign(Array(${e.length}),{${t.join(",")}})`:`Array(${e.length})`}const t=e.map((e=>a(e,c,l))).join(",");return 0===e.length||e.length-1 in e?`[${t}]`:`[${t},]`}case"[object BigInt]":return`${s}n`;case"[object Boolean]":return"boolean"==typeof s?JSON.stringify(s):`new Boolean(${JSON.stringify(s)})`;case"[object Date]":{const e=s;return Number.isNaN(e.getTime())?"new Date(NaN)":`new Date(${JSON.stringify(e.toISOString())})`}case"[object Map]":return`new Map(${a(Array.from(s),c,l)})`;case"[object Null]":return"null";case"[object Number]":return"number"==typeof s?o(s):`new Number(${o(Number(s))})`;case"[object Object]":{try{const e=s.toString;if("function"==typeof e&&e!==Object.prototype.toString)return s.toString()}catch(e){return"[object Object]"}const e=e=>`${"__proto__"===e?'["__proto__"]':"symbol"==typeof e?`[${a(e,c,l)}]`:JSON.stringify(e)}:${a(s[e],c,l)}`,t="{"+[...Object.keys(s).map(e),...Object.getOwnPropertySymbols(s).filter((e=>{const t=Object.getOwnPropertyDescriptor(s,e);return t&&t.enumerable})).map(e)].join(",")+"}";return null===Object.getPrototypeOf(s)?"{}"===t?"Object.create(null)":`Object.assign(Object.create(null),${t})`:t}case"[object Set]":return`new Set(${a(Array.from(s),c,l)})`;case"[object String]":return"string"==typeof s?JSON.stringify(s):`new String(${JSON.stringify(s)})`;case"[object Symbol]":{const e=s;if(Symbol.keyFor(e)!==undefined)return`Symbol.for(${JSON.stringify(Symbol.keyFor(e))})`;const t=function(e){if(e.description!==undefined)return e.description;const t=i.exec(String(e));return t&&t[1].length?t[1]:null}(e);if(null===t)return"Symbol()";return e===(t.startsWith("Symbol.")&&Symbol[t.substring(7)])?t:`Symbol(${JSON.stringify(t)})`}case"[object Promise]":{const e=l(s);switch(e.state){case"fulfilled":return`Promise.resolve(${a(e.value,c,l)})`;case"rejected":return`Promise.reject(${a(e.value,c,l)})`;case"pending":return"new Promise(() => {/*pending*/})";default:return"new Promise(() => {/*unknown*/})"}}case"[object Error]":if(s instanceof Error)return`new Error(${a(s.message,c,l)})`;break;case"[object Undefined]":return"undefined";case"[object Int8Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Int16Array]":case"[object Uint16Array]":case"[object Int32Array]":case"[object Uint32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object BigInt64Array]":case"[object BigUint64Array]":{if(void 0!==e&&"function"==typeof e.isBuffer&&e.isBuffer(s))return`Buffer.from(${a(Array.from(s.values()),c,l)})`;const t=Object.getPrototypeOf(s),r=t&&t.constructor&&t.constructor.name;if("string"==typeof r){const e=s.values();return`${r}.from(${a(Array.from(e),c,l)})`}break}}try{return s.toString()}catch(e){return Object.prototype.toString.call(s)}}function s(e){const t=Symbol(),n=[],i=new Map;const o={state:"unknown",value:undefined},s=function(e){const a=e;if(i.has(a))return i.get(a);const s=function(){let e=null;return{delay:new Promise((r=>{e=setTimeout((()=>{e=null,r(t)}),0)})),cancel:()=>{null!==e&&clearTimeout(e)}}}(),u=r.asyncToStringMethod in e?Promise.resolve().then((()=>e[r.asyncToStringMethod]())):e;return u.catch((()=>{})),n.push(Promise.race([u,s.delay]).then((e=>{e===t?i.set(a,{state:"pending",value:undefined}):i.set(a,{state:"fulfilled",value:e}),s.cancel()}),(e=>{i.set(a,{state:"rejected",value:e}),s.cancel()}))),i.set(a,o),o};return function t(){const r=a(e,[],s);return 0===n.length?r:Promise.all(n.splice(0)).then(t)}()}r.stringifyInternal=a,r.stringify=function(e){return a(e,[],(()=>({state:"unknown",value:undefined})))},r.possiblyAsyncStringify=s,r.asyncStringify=async function(e){return Promise.resolve(s(e))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/codec>@truffle/abi-utils>fast-check",file:"node_modules/fast-check/lib/utils/stringify.js"}],[2493,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(e,t,r){if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(r,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(r,e[s],s,e)}}}},{package:"@truffle/decoder>@truffle/source-map-utils>json-pointer>foreach",file:"node_modules/foreach/index.js"}],[2494,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(e){var t=this;if("function"!=typeof t||o.call(t)!==a)throw new TypeError(n+t);for(var r,s=i.call(arguments,1),u=function(){if(this instanceof r){var n=t.apply(this,s.concat(i.call(arguments)));return Object(n)===n?n:this}return t.apply(e,s.concat(i.call(arguments)))},l=Math.max(0,t.length-s.length),c=[],f=0;f<l;f++)c.push("$"+f);if(r=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var d=function(){};d.prototype=t.prototype,r.prototype=new d,d.prototype=null}return r}}}},{package:"mocha>object.assign>function-bind",file:"node_modules/function-bind/implementation.js"}],[2495,{"./implementation":2494},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./implementation");t.exports=Function.prototype.bind||n}}},{package:"mocha>object.assign>function-bind",file:"node_modules/function-bind/index.js"}],[2496,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(){return"string"==typeof function(){}.name},i=Object.getOwnPropertyDescriptor;if(i)try{i([],"length")}catch(e){i=null}n.functionsHaveConfigurableNames=function(){if(!n()||!i)return!1;var e=i((function(){}),"name");return!!e&&!!e.configurable};var o=Function.prototype.bind;n.boundFunctionsHaveNames=function(){return n()&&"function"==typeof o&&""!==function(){}.bind().name},t.exports=n}}},{package:"string.prototype.matchall>regexp.prototype.flags>functions-have-names",file:"node_modules/functions-have-names/index.js"}],[2497,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i;n=this,i=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){function n(e){return(n="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){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=r(1),a=r(7),s=a.get,u=(a.deepValue,a.isArray),l=function(){function e(t,r){var n=r.location,i=void 0===n?0:n,o=r.distance,a=void 0===o?100:o,u=r.threshold,l=void 0===u?.6:u,c=r.maxPatternLength,f=void 0===c?32:c,d=r.caseSensitive,h=void 0!==d&&d,p=r.tokenSeparator,y=void 0===p?/ +/g:p,m=r.findAllMatches,b=void 0!==m&&m,g=r.minMatchCharLength,w=void 0===g?1:g,v=r.id,_=void 0===v?null:v,S=r.keys,A=void 0===S?[]:S,T=r.shouldSort,k=void 0===T||T,E=r.getFn,I=void 0===E?s:E,O=r.sortFn,M=void 0===O?function(e,t){return e.score-t.score}:O,x=r.tokenize,j=void 0!==x&&x,P=r.matchAllTokens,C=void 0!==P&&P,N=r.includeMatches,B=void 0!==N&&N,D=r.includeScore,R=void 0!==D&&D,L=r.verbose,U=void 0!==L&&L;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:i,distance:a,threshold:l,maxPatternLength:f,isCaseSensitive:h,tokenSeparator:y,findAllMatches:b,minMatchCharLength:w,id:_,keys:A,includeMatches:B,includeScore:R,shouldSort:k,getFn:I,sortFn:M,verbose:U,tokenize:j,matchAllTokens:C},this.setCollection(t),this._processKeys(A)}var t,r;return t=e,(r=[{key:"setCollection",value:function(e){return this.list=e,e}},{key:"_processKeys",value:function(e){if(this._keyWeights={},this._keyNames=[],e.length&&"string"==typeof e[0])for(var t=0,r=e.length;t<r;t+=1){var n=e[t];this._keyWeights[n]=1,this._keyNames.push(n)}else{for(var i=null,o=null,a=0,s=0,u=e.length;s<u;s+=1){var l=e[s];if(!l.hasOwnProperty("name"))throw new Error('Missing "name" property in key object');var c=l.name;if(this._keyNames.push(c),!l.hasOwnProperty("weight"))throw new Error('Missing "weight" property in key object');var f=l.weight;if(f<0||f>1)throw new Error('"weight" property in key must bein the range of [0, 1)');o=null==o?f:Math.max(o,f),i=null==i?f:Math.min(i,f),this._keyWeights[c]=f,a+=f}if(a>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var r=this._prepareSearchers(e),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i);return this._computeScore(o),this.options.shouldSort&&this._sort(o),t.limit&&"number"==typeof t.limit&&(o=o.slice(0,t.limit)),this._format(o)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var r=e.split(this.options.tokenSeparator),n=0,i=r.length;n<i;n+=1)t.push(new o(r[n],this.options));return{tokenSearchers:t,fullSearcher:new o(e,this.options)}}},{key:"_search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o<a;o+=1)this._analyze({key:"",value:r[o],record:o,index:o},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t});return i}for(var s=0,u=r.length;s<u;s+=1)for(var l=r[s],c=0,f=this._keyNames.length;c<f;c+=1){var d=this._keyNames[c];this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:s},{resultMap:n,results:i,tokenSearchers:e,fullSearcher:t})}return i}},{key:"_analyze",value:function(e,t){var r=this,n=e.key,i=e.arrayIndex,o=void 0===i?-1:i,a=e.value,s=e.record,l=e.index,c=t.tokenSearchers,f=void 0===c?[]:c,d=t.fullSearcher,h=t.resultMap,p=void 0===h?{}:h,y=t.results,m=void 0===y?[]:y;!function e(t,i,o,a){if(null!=i)if("string"==typeof i){var s=!1,l=-1,c=0;r._log("\nKey: ".concat(""===n?"--":n));var h=d.search(i);if(r._log('Full text: "'.concat(i,'", score: ').concat(h.score)),r.options.tokenize){for(var y=i.split(r.options.tokenSeparator),b=y.length,g=[],w=0,v=f.length;w<v;w+=1){var _=f[w];r._log('\nPattern: "'.concat(_.pattern,'"'));for(var S=!1,A=0;A<b;A+=1){var T=y[A],k=_.search(T),E={};k.isMatch?(E[T]=k.score,s=!0,S=!0,g.push(k.score)):(E[T]=1,r.options.matchAllTokens||g.push(1)),r._log('Token: "'.concat(T,'", score: ').concat(E[T]))}S&&(c+=1)}l=g[0];for(var I=g.length,O=1;O<I;O+=1)l+=g[O];l/=I,r._log("Token score average:",l)}var M=h.score;l>-1&&(M=(M+l)/2),r._log("Score average:",M);var x=!r.options.tokenize||!r.options.matchAllTokens||c>=f.length;if(r._log("\nCheck Matches: ".concat(x)),(s||h.isMatch)&&x){var j={key:n,arrayIndex:t,value:i,score:M};r.options.includeMatches&&(j.matchedIndices=h.matchedIndices);var P=p[a];P?P.output.push(j):(p[a]={item:o,output:[j]},m.push(p[a]))}}else if(u(i))for(var C=0,N=i.length;C<N;C+=1)e(C,i[C],o,a)}(o,a,s,l)}},{key:"_computeScore",value:function(e){this._log("\n\nComputing score:\n");for(var t=this._keyWeights,r=!!Object.keys(t).length,n=0,i=e.length;n<i;n+=1){for(var o=e[n],a=o.output,s=a.length,u=1,l=0;l<s;l+=1){var c=a[l],f=c.key,d=r?t[f]:1,h=0===c.score&&t&&t[f]>0?Number.EPSILON:c.score;u*=Math.pow(h,d)}o.score=u,this._log(o)}}},{key:"_sort",value:function(e){this._log("\n\nSorting...."),e.sort(this.options.sortFn)}},{key:"_format",value:function(e){var t=[];if(this.options.verbose){var r=[];this._log("\n\nOutput:\n\n",JSON.stringify(e,(function(e,t){if("object"===n(t)&&null!==t){if(-1!==r.indexOf(t))return;r.push(t)}return t}),2)),r=null}var i=[];this.options.includeMatches&&i.push((function(e,t){var r=e.output;t.matches=[];for(var n=0,i=r.length;n<i;n+=1){var o=r[n];if(0!==o.matchedIndices.length){var a={indices:o.matchedIndices,value:o.value};o.key&&(a.key=o.key),o.hasOwnProperty("arrayIndex")&&o.arrayIndex>-1&&(a.arrayIndex=o.arrayIndex),t.matches.push(a)}}})),this.options.includeScore&&i.push((function(e,t){t.score=e.score}));for(var o=0,a=e.length;o<a;o+=1){var s=e[o];if(this.options.id&&(s.item=this.options.getFn(s.item,this.options.id)[0]),i.length){for(var u={item:s.item},l=0,c=i.length;l<c;l+=1)i[l](s,u);t.push(u)}else t.push(s.item)}return t}},{key:"_log",value:function(){var e;this.options.verbose&&(e=console).log.apply(e,arguments)}}])&&i(t.prototype,r),e}();e.exports=l},function(e,t,r){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=r(2),o=r(3),a=r(6),s=function(){function e(t,r){var n=r.location,i=void 0===n?0:n,o=r.distance,s=void 0===o?100:o,u=r.threshold,l=void 0===u?.6:u,c=r.maxPatternLength,f=void 0===c?32:c,d=r.isCaseSensitive,h=void 0!==d&&d,p=r.tokenSeparator,y=void 0===p?/ +/g:p,m=r.findAllMatches,b=void 0!==m&&m,g=r.minMatchCharLength,w=void 0===g?1:g,v=r.includeMatches,_=void 0!==v&&v;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:i,distance:s,threshold:l,maxPatternLength:f,isCaseSensitive:h,tokenSeparator:y,findAllMatches:b,includeMatches:_,minMatchCharLength:w},this.pattern=h?t:t.toLowerCase(),this.pattern.length<=f&&(this.patternAlphabet=a(this.pattern))}var t,r;return t=e,(r=[{key:"search",value:function(e){var t=this.options,r=t.isCaseSensitive,n=t.includeMatches;if(r||(e=e.toLowerCase()),this.pattern===e){var a={isMatch:!0,score:0};return n&&(a.matchedIndices=[[0,e.length-1]]),a}var s=this.options,u=s.maxPatternLength,l=s.tokenSeparator;if(this.pattern.length>u)return i(e,this.pattern,l);var c=this.options,f=c.location,d=c.distance,h=c.threshold,p=c.findAllMatches,y=c.minMatchCharLength;return o(e,this.pattern,this.patternAlphabet,{location:f,distance:d,threshold:h,findAllMatches:p,minMatchCharLength:y,includeMatches:n})}}])&&n(t.prototype,r),e}();e.exports=s},function(e,t){var r=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(t.replace(r,"\\$&").replace(n,"|")),o=e.match(i),a=!!o,s=[];if(a)for(var u=0,l=o.length;u<l;u+=1){var c=o[u];s.push([e.indexOf(c),c.length-1])}return{score:a?.5:1,isMatch:a,matchedIndices:s}}},function(e,t,r){var n=r(4),i=r(5);e.exports=function(e,t,r,o){for(var a=o.location,s=void 0===a?0:a,u=o.distance,l=void 0===u?100:u,c=o.threshold,f=void 0===c?.6:c,d=o.findAllMatches,h=void 0!==d&&d,p=o.minMatchCharLength,y=void 0===p?1:p,m=o.includeMatches,b=void 0!==m&&m,g=s,w=e.length,v=f,_=e.indexOf(t,g),S=t.length,A=[],T=0;T<w;T+=1)A[T]=0;if(-1!==_){var k=n(t,{errors:0,currentLocation:_,expectedLocation:g,distance:l});if(v=Math.min(k,v),-1!==(_=e.lastIndexOf(t,g+S))){var E=n(t,{errors:0,currentLocation:_,expectedLocation:g,distance:l});v=Math.min(E,v)}}_=-1;for(var I=[],O=1,M=S+w,x=1<<(S<=31?S-1:30),j=0;j<S;j+=1){for(var P=0,C=M;P<C;)n(t,{errors:j,currentLocation:g+C,expectedLocation:g,distance:l})<=v?P=C:M=C,C=Math.floor((M-P)/2+P);M=C;var N=Math.max(1,g-C+1),B=h?w:Math.min(g+C,w)+S,D=Array(B+2);D[B+1]=(1<<j)-1;for(var R=B;R>=N;R-=1){var L=R-1,U=r[e.charAt(L)];if(U&&(A[L]=1),D[R]=(D[R+1]<<1|1)&U,0!==j&&(D[R]|=(I[R+1]|I[R])<<1|1|I[R+1]),D[R]&x&&(O=n(t,{errors:j,currentLocation:L,expectedLocation:g,distance:l}))<=v){if(v=O,(_=L)<=g)break;N=Math.max(1,2*g-_)}}if(n(t,{errors:j+1,currentLocation:g,expectedLocation:g,distance:l})>v)break;I=D}var F={isMatch:_>=0,score:0===O?.001:O};return b&&(F.matchedIndices=i(A,y)),F}},function(e,t){e.exports=function(e,t){var r=t.errors,n=void 0===r?0:r,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,s=void 0===a?0:a,u=t.distance,l=void 0===u?100:u,c=n/e.length,f=Math.abs(s-o);return l?c+f/l:f?1:c}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=e.length;o<a;o+=1){var s=e[o];s&&-1===n?n=o:s||-1===n||((i=o-1)-n+1>=t&&r.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&r.push([n,o-1]),r}},function(e,t){e.exports=function(e){for(var t={},r=e.length,n=0;n<r;n+=1)t[e.charAt(n)]=0;for(var i=0;i<r;i+=1)t[e.charAt(i)]|=1<<r-i-1;return t}},function(e,t){var r=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},n=function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)},i=function(e){return"string"==typeof e},o=function(e){return"number"==typeof e};e.exports={get:function(e,t){var a=[];return function e(t,s){if(s){var u=s.indexOf("."),l=s,c=null;-1!==u&&(l=s.slice(0,u),c=s.slice(u+1));var f=t[l];if(null!=f)if(c||!i(f)&&!o(f))if(r(f))for(var d=0,h=f.length;d<h;d+=1)e(f[d],c);else c&&e(f,c);else a.push(n(f))}else a.push(t)}(e,t),a},isArray:r,isString:i,isNum:o,toString:n}}])},"object"==typeof r&&"object"==typeof t?t.exports=i():"function"==typeof define&&define.amd?define("Fuse",[],i):"object"==typeof r?r.Fuse=i():n.Fuse=i()}}},{package:"fuse.js",file:"node_modules/fuse.js/dist/fuse.js"}],[2498,{"function-bind":2495,has:2654,"has-symbols":2651},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,f=e("has-symbols")(),d=Object.getPrototypeOf||function(e){return e.__proto__},h={},p="undefined"==typeof Uint8Array?n:d(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=d(i.prototype))}return y[t]=r,r},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=e("function-bind"),w=e("has"),v=g.call(Function.call,Array.prototype.concat),_=g.call(Function.apply,Array.prototype.splice),S=g.call(Function.call,String.prototype.replace),A=g.call(Function.call,String.prototype.slice),T=g.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,I=function(e){var t=A(e,0,1),r=A(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(e,k,(function(e,t,r,i){n[n.length]=r?S(i,E,"$1"):t||e})),n},O=function(e,t){var r,n=e;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(y,n)){var o=y[n];if(o===h&&(o=m(n)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=I(e),n=r.length>0?r[0]:"",o=O("%"+n+"%",t),s=o.name,l=o.value,c=!1,f=o.alias;f&&(n=f[0],_(r,v([0,1],f)));for(var d=1,h=!0;d<r.length;d+=1){var p=r[d],m=A(p,0,1),b=A(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===b||"'"===b||"`"===b)&&m!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&h||(c=!0),w(y,s="%"+(n+="."+p)+"%"))l=y[s];else if(null!=l){if(!(p in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&d+1>=r.length){var g=u(l,p);l=(h=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[p]}else h=w(l,p),l=l[p];h&&!c&&(y[s]=l)}}return l}}}},{package:"string.prototype.matchall>get-intrinsic",file:"node_modules/get-intrinsic/index.js"}],[2499,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/identity.js"}],[2500,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],u=t[6],l=t[7],c=t[8],f=t[9],d=t[10],h=t[11],p=t[12],y=t[13],m=t[14],b=t[15],g=r*s-n*a,w=r*u-i*a,v=r*l-o*a,_=n*u-i*s,S=n*l-o*s,A=i*l-o*u,T=c*y-f*p,k=c*m-d*p,E=c*b-h*p,I=f*m-d*y,O=f*b-h*y,M=d*b-h*m,x=g*M-w*O+v*I+_*E-S*k+A*T;if(!x)return null;return x=1/x,e[0]=(s*M-u*O+l*I)*x,e[1]=(i*O-n*M-o*I)*x,e[2]=(y*A-m*S+b*_)*x,e[3]=(d*S-f*A-h*_)*x,e[4]=(u*E-a*M-l*k)*x,e[5]=(r*M-i*E+o*k)*x,e[6]=(m*v-p*A-b*w)*x,e[7]=(c*A-d*v+h*w)*x,e[8]=(a*O-s*E+l*T)*x,e[9]=(n*E-r*O-o*T)*x,e[10]=(p*S-y*v+b*g)*x,e[11]=(f*v-c*S-h*g)*x,e[12]=(s*k-a*I-u*T)*x,e[13]=(r*I-n*k+i*T)*x,e[14]=(y*w-p*_-m*g)*x,e[15]=(c*_-f*w+d*g)*x,e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/invert.js"}],[2501,{"./identity":2499},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./identity");t.exports=function(e,t,r,i){var o,a,s,u,l,c,f,d,h,p,y=t[0],m=t[1],b=t[2],g=i[0],w=i[1],v=i[2],_=r[0],S=r[1],A=r[2];if(Math.abs(y-_)<1e-6&&Math.abs(m-S)<1e-6&&Math.abs(b-A)<1e-6)return n(e);f=y-_,d=m-S,h=b-A,p=1/Math.sqrt(f*f+d*d+h*h),o=w*(h*=p)-v*(d*=p),a=v*(f*=p)-g*h,s=g*d-w*f,(p=Math.sqrt(o*o+a*a+s*s))?(o*=p=1/p,a*=p,s*=p):(o=0,a=0,s=0);u=d*s-h*a,l=h*o-f*s,c=f*a-d*o,(p=Math.sqrt(u*u+l*l+c*c))?(u*=p=1/p,l*=p,c*=p):(u=0,l=0,c=0);return e[0]=o,e[1]=u,e[2]=f,e[3]=0,e[4]=a,e[5]=l,e[6]=d,e[7]=0,e[8]=s,e[9]=c,e[10]=h,e[11]=0,e[12]=-(o*y+a*m+s*b),e[13]=-(u*y+l*m+c*b),e[14]=-(f*y+d*m+h*b),e[15]=1,e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/lookAt.js"}],[2502,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],u=t[5],l=t[6],c=t[7],f=t[8],d=t[9],h=t[10],p=t[11],y=t[12],m=t[13],b=t[14],g=t[15],w=r[0],v=r[1],_=r[2],S=r[3];return e[0]=w*n+v*s+_*f+S*y,e[1]=w*i+v*u+_*d+S*m,e[2]=w*o+v*l+_*h+S*b,e[3]=w*a+v*c+_*p+S*g,w=r[4],v=r[5],_=r[6],S=r[7],e[4]=w*n+v*s+_*f+S*y,e[5]=w*i+v*u+_*d+S*m,e[6]=w*o+v*l+_*h+S*b,e[7]=w*a+v*c+_*p+S*g,w=r[8],v=r[9],_=r[10],S=r[11],e[8]=w*n+v*s+_*f+S*y,e[9]=w*i+v*u+_*d+S*m,e[10]=w*o+v*l+_*h+S*b,e[11]=w*a+v*c+_*p+S*g,w=r[12],v=r[13],_=r[14],S=r[15],e[12]=w*n+v*s+_*f+S*y,e[13]=w*i+v*u+_*d+S*m,e[14]=w*o+v*l+_*h+S*b,e[15]=w*a+v*c+_*p+S*g,e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/multiply.js"}],[2503,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r,n,i){var o=1/Math.tan(t/2),a=1/(n-i);return e[0]=o/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(i+n)*a,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*i*n*a,e[15]=0,e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/perspective.js"}],[2504,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r,n){var i,o,a,s,u,l,c,f,d,h,p,y,m,b,g,w,v,_,S,A,T,k,E,I,O=n[0],M=n[1],x=n[2],j=Math.sqrt(O*O+M*M+x*x);if(Math.abs(j)<1e-6)return null;O*=j=1/j,M*=j,x*=j,i=Math.sin(r),o=Math.cos(r),a=1-o,s=t[0],u=t[1],l=t[2],c=t[3],f=t[4],d=t[5],h=t[6],p=t[7],y=t[8],m=t[9],b=t[10],g=t[11],w=O*O*a+o,v=M*O*a+x*i,_=x*O*a-M*i,S=O*M*a-x*i,A=M*M*a+o,T=x*M*a+O*i,k=O*x*a+M*i,E=M*x*a-O*i,I=x*x*a+o,e[0]=s*w+f*v+y*_,e[1]=u*w+d*v+m*_,e[2]=l*w+h*v+b*_,e[3]=c*w+p*v+g*_,e[4]=s*S+f*A+y*T,e[5]=u*S+d*A+m*T,e[6]=l*S+h*A+b*T,e[7]=c*S+p*A+g*T,e[8]=s*k+f*E+y*I,e[9]=u*k+d*E+m*I,e[10]=l*k+h*E+b*I,e[11]=c*k+p*E+g*I,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]);return e}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/rotate.js"}],[2505,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[3]*n+r[7]*i+r[11]*o+r[15];return a=a||1,e[0]=(r[0]*n+r[4]*i+r[8]*o+r[12])/a,e[1]=(r[1]*n+r[5]*i+r[9]*o+r[13])/a,e[2]=(r[2]*n+r[6]*i+r[10]*o+r[14])/a,e}}}},{package:"@metamask/logo>gl-vec3",file:"node_modules/gl-vec3/transformMat4.js"}],[2649,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n="__global_unique_id__";t.exports=function(){return global[n]=(global[n]||0)+1}}}},{package:"react-router-dom>react-router>mini-create-react-context>gud",file:"node_modules/gud/index.js"}],[265,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=new Array(4);function i(){const e=n[0]^n[0]<<11;return n[0]=n[1],n[1]=n[2],n[2]=n[3],n[3]=n[3]^n[3]>>19^e^e>>8,(n[3]>>>0)/(1<<31>>>0)}function o(){return"hsl("+Math.floor(360*i())+","+(60*i()+40+"%")+","+(25*(i()+i()+i()+i())+"%")+")"}function a(e){const t={};return t.seed=e.seed||Math.floor(Math.random()*Math.pow(10,16)).toString(16),function(e){n.fill(0);for(let t=0;t<e.length;t++)n[t%4]=(n[t%4]<<5)-n[t%4]+e.charCodeAt(t)}(t.seed),t.size=e.size||8,t.scale=e.scale||4,t.color=e.color||o(),t.bgcolor=e.bgcolor||o(),t.spotcolor=e.spotcolor||o(),t}function s(e,t){const r=function(e){const t=e,r=e,n=Math.ceil(t/2),o=t-n,a=[];for(let e=0;e<r;e++){let e=[];for(let t=0;t<n;t++)e[t]=Math.floor(2.3*i());const t=e.slice(0,o);t.reverse(),e=e.concat(t);for(let t=0;t<e.length;t++)a.push(e[t])}return a}((e=a(e||{})).size),n=Math.sqrt(r.length);t.width=t.height=e.size*e.scale;const o=t.getContext("2d");o.fillStyle=e.bgcolor,o.fillRect(0,0,t.width,t.height),o.fillStyle=e.color;for(let t=0;t<r.length;t++)if(r[t]){const i=Math.floor(t/n),a=t%n;o.fillStyle=1==r[t]?e.color:e.spotcolor,o.fillRect(a*e.scale,i*e.scale,e.scale,e.scale)}return t}r.renderIcon=s,r.createIcon=function(e){var t=document.createElement("canvas");return s(e,t),t}}}},{package:"@download/blockies",file:"node_modules/@download/blockies/dist/blockies.js"}],[2650,{"get-intrinsic":2498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic")("%Object.defineProperty%",!0),i=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},t.exports=i}}},{package:"globalthis>define-properties>has-property-descriptors",file:"node_modules/has-property-descriptors/index.js"}],[2651,{"./shams":2652},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n="undefined"!=typeof Symbol&&Symbol,i=e("./shams");t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}}}},{package:"string.prototype.matchall>has-symbols",file:"node_modules/has-symbols/index.js"}],[2652,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=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(r))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 n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}}}},{package:"string.prototype.matchall>has-symbols",file:"node_modules/has-symbols/shams.js"}],[2653,{"has-symbols/shams":2652},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("has-symbols/shams");t.exports=function(){return n()&&!!Symbol.toStringTag}}}},{package:"koa>is-generator-function>has-tostringtag",file:"node_modules/has-tostringtag/shams.js"}],[2654,{"function-bind":2495},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("function-bind");t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)}}},{package:"browserify>has",file:"node_modules/has/src/index.js"}],[266,{"bn.js":1900,buffer:1943,crypto:2066,ripemd160:3205},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){for(var n=e("crypto"),i="qpzry9x8gf2tvdw0s3jn54khce6mua7l",o={},a=0;a<i.length;a++){var s=i.charAt(a);if(void 0!==o[s])throw new TypeError(s+" is ambiguous");o[s]=a}function u(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function l(e){for(var t=1,r=0;r<e.length;++r){var n=e.charCodeAt(r);if(n<33||n>126)throw new Error("Invalid prefix ("+e+")");t=u(t)^n>>5}for(t=u(t),r=0;r<e.length;++r){var i=e.charCodeAt(r);t=u(t)^31&i}return t}function c(e,t,r,n){for(var i=0,o=0,a=(1<<r)-1,s=[],u=0;u<e.length;++u)for(i=i<<t|e[u],o+=t;o>=r;)s.push(i>>(o-=r)&a);if(n)o>0&&s.push(i<<r-o&a);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&a)throw new Error("Non-zero padding")}return s}var f=function(e,t){if(t=t||90,e.length<8)throw new TypeError(e+" too short");if(e.length>t)throw new TypeError("Exceeds length limit");var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)throw new Error("Mixed-case string "+e);var i=(e=r).lastIndexOf("1");if(-1===i)throw new Error("No separator character for "+e);if(0===i)throw new Error("Missing prefix for "+e);var a=e.slice(0,i),s=e.slice(i+1);if(s.length<6)throw new Error("Data too short");for(var c=l(a),f=[],d=0;d<s.length;++d){var h=s.charAt(d),p=o[h];if(void 0===p)throw new Error("Unknown character "+h);c=u(c)^p,d+6>=s.length||f.push(p)}if(1!==c)throw new Error("Invalid checksum for "+e);return{prefix:a,words:f}},d=function(e,t,r){if(e.length+7+t.length>(r=r||90))throw new TypeError("Exceeds length limit");for(var n=l(e=e.toLowerCase()),o=e+"1",a=0;a<t.length;++a){var s=t[a];if(s>>5!=0)throw new Error("Non 5-bit word");n=u(n)^s,o+=i.charAt(s)}for(a=0;a<6;++a)n=u(n);for(n^=1,a=0;a<6;++a)o+=i.charAt(n>>5*(5-a)&31);return o},h=function(e){return c(e,8,5,!0)},p=function(e){return c(e,5,8,!1)};function y(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var m=y((function(e){var t=function(e){var r=1e7,n=9007199254740992,i=c(n),o=Math.log(n);function a(e,t){return void 0===e?a[0]:void 0!==t?10==+t?q(e):U(e,t):q(e)}function s(e,t){this.value=e,this.sign=t,this.isSmall=!1}function u(e){this.value=e,this.sign=e<0,this.isSmall=!0}function l(e){return-n<e&&e<n}function c(e){return e<1e7?[e]:e<1e14?[e%1e7,Math.floor(e/1e7)]:[e%1e7,Math.floor(e/1e7)%1e7,Math.floor(e/1e14)]}function f(e){d(e);var t=e.length;if(t<4&&I(e,i)<0)switch(t){case 0:return 0;case 1:return e[0];case 2:return e[0]+e[1]*r;default:return e[0]+(e[1]+e[2]*r)*r}return e}function d(e){for(var t=e.length;0===e[--t];);e.length=t+1}function h(e){for(var t=new Array(e),r=-1;++r<e;)t[r]=0;return t}function p(e){return e>0?Math.floor(e):Math.ceil(e)}function y(e,t){var n,i,o=e.length,a=t.length,s=new Array(o),u=0,l=r;for(i=0;i<a;i++)s[i]=(n=e[i]+t[i]+u)-(u=n>=l?1:0)*l;for(;i<o;)n=e[i]+u,s[i++]=n-(u=n===l?1:0)*l;return u>0&&s.push(u),s}function m(e,t){return e.length>=t.length?y(e,t):y(t,e)}function b(e,t){var n,i,o=e.length,a=new Array(o),s=r;for(i=0;i<o;i++)n=e[i]-s+t,t=Math.floor(n/s),a[i]=n-t*s,t+=1;for(;t>0;)a[i++]=t%s,t=Math.floor(t/s);return a}function g(e,t){var r,n,i=e.length,o=t.length,a=new Array(i),s=0;for(r=0;r<o;r++)(n=e[r]-s-t[r])<0?(n+=1e7,s=1):s=0,a[r]=n;for(r=o;r<i;r++){if(!((n=e[r]-s)<0)){a[r++]=n;break}a[r]=n+=1e7}for(;r<i;r++)a[r]=e[r];return d(a),a}function w(e,t,r){var n,i,o=e.length,a=new Array(o),l=-t;for(n=0;n<o;n++)i=e[n]+l,l=Math.floor(i/1e7),a[n]=(i%=1e7)<0?i+1e7:i;return"number"==typeof(a=f(a))?(r&&(a=-a),new u(a)):new s(a,r)}function v(e,t){var r,n,i,o,a=e.length,s=t.length,u=h(a+s);for(i=0;i<a;++i){o=e[i];for(var l=0;l<s;++l)r=o*t[l]+u[i+l],n=Math.floor(r/1e7),u[i+l]=r-1e7*n,u[i+l+1]+=n}return d(u),u}function _(e,t){var n,i,o=e.length,a=new Array(o),s=r,u=0;for(i=0;i<o;i++)n=e[i]*t+u,u=Math.floor(n/s),a[i]=n-u*s;for(;u>0;)a[i++]=u%s,u=Math.floor(u/s);return a}function S(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function A(e,t,n){return new s(e<r?_(t,e):v(t,c(e)),n)}function T(e){var t,r,n,i,o=e.length,a=h(o+o);for(n=0;n<o;n++){r=0-(i=e[n])*i;for(var s=n;s<o;s++)t=i*e[s]*2+a[n+s]+r,r=Math.floor(t/1e7),a[n+s]=t-1e7*r;a[n+o]=r}return d(a),a}function k(e,t){var r,n,i,o,a=e.length,s=h(a);for(i=0,r=a-1;r>=0;--r)i=(o=1e7*i+e[r])-(n=p(o/t))*t,s[r]=0|n;return[s,0|i]}function E(e,t){var n,i,o=q(t),l=e.value,y=o.value;if(0===y)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new u(p(l/y)),new u(l%y)]:[a[0],e];if(o.isSmall){if(1===y)return[e,a[0]];if(-1==y)return[e.negate(),a[0]];var m=Math.abs(y);if(m<r){i=f((n=k(l,m))[0]);var b=n[1];return e.sign&&(b=-b),"number"==typeof i?(e.sign!==o.sign&&(i=-i),[new u(i),new u(b)]):[new s(i,e.sign!==o.sign),new u(b)]}y=c(m)}var w=I(l,y);if(-1===w)return[a[0],e];if(0===w)return[a[e.sign===o.sign?1:-1],a[0]];n=l.length+y.length<=200?function(e,t){var n,i,o,a,s,u,l,c=e.length,d=t.length,p=r,y=h(t.length),m=t[d-1],b=Math.ceil(p/(2*m)),g=_(e,b),w=_(t,b);for(g.length<=c&&g.push(0),w.push(0),m=w[d-1],i=c-d;i>=0;i--){for(n=p-1,g[i+d]!==m&&(n=Math.floor((g[i+d]*p+g[i+d-1])/m)),o=0,a=0,u=w.length,s=0;s<u;s++)o+=n*w[s],l=Math.floor(o/p),a+=g[i+s]-(o-l*p),o=l,a<0?(g[i+s]=a+p,a=-1):(g[i+s]=a,a=0);for(;0!==a;){for(n-=1,o=0,s=0;s<u;s++)(o+=g[i+s]-p+w[s])<0?(g[i+s]=o+p,o=0):(g[i+s]=o,o=1);a+=o}y[i]=n}return g=k(g,b)[0],[f(y),f(g)]}(l,y):function(e,t){for(var r,n,i,o,a=e.length,s=t.length,u=[],l=[];a;)if(l.unshift(e[--a]),d(l),I(l,t)<0)u.push(0);else{i=1e7*l[(n=l.length)-1]+l[n-2],n>s&&(i=1e7*(i+1)),r=Math.ceil(i/(1e7*t[s-1]+t[s-2]));do{if(I(o=_(t,r),l)<=0)break;r--}while(r);u.push(r),l=g(l,o)}return u.reverse(),[f(u),f(l)]}(l,y);var v=e.sign!==o.sign,S=n[1],A=e.sign;return"number"==typeof(i=n[0])?(v&&(i=-i),i=new u(i)):i=new s(i,v),"number"==typeof S?(A&&(S=-S),S=new u(S)):S=new s(S,A),[i,S]}function I(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function O(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function M(e,r){for(var n,i,o,s=e.prev(),u=s,l=0;u.isEven();)u=u.divide(2),l++;e:for(i=0;i<r.length;i++)if(!e.lesser(r[i])&&!(o=t(r[i]).modPow(u,e)).equals(a[1])&&!o.equals(s)){for(n=l-1;0!=n;n--){if((o=o.square().mod(e)).isUnit())return!1;if(o.equals(s))continue e}return!1}return!0}s.prototype=Object.create(a.prototype),u.prototype=Object.create(a.prototype),s.prototype.add=function(e){var t=q(e);if(this.sign!==t.sign)return this.subtract(t.negate());var r=this.value,n=t.value;return new s(t.isSmall?b(r,Math.abs(n)):m(r,n),this.sign)},s.prototype.plus=s.prototype.add,u.prototype.add=function(e){var t=q(e),r=this.value;if(r<0!==t.sign)return this.subtract(t.negate());var n=t.value;if(t.isSmall){if(l(r+n))return new u(r+n);n=c(Math.abs(n))}return new s(b(n,Math.abs(r)),r<0)},u.prototype.plus=u.prototype.add,s.prototype.subtract=function(e){var t=q(e);if(this.sign!==t.sign)return this.add(t.negate());var r=this.value,n=t.value;return t.isSmall?w(r,Math.abs(n),this.sign):function(e,t,r){var n;return I(e,t)>=0?n=g(e,t):(n=g(t,e),r=!r),"number"==typeof(n=f(n))?(r&&(n=-n),new u(n)):new s(n,r)}(r,n,this.sign)},s.prototype.minus=s.prototype.subtract,u.prototype.subtract=function(e){var t=q(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new u(r-n):w(n,Math.abs(r),r>=0)},u.prototype.minus=u.prototype.subtract,s.prototype.negate=function(){return new s(this.value,!this.sign)},u.prototype.negate=function(){var e=this.sign,t=new u(-this.value);return t.sign=!e,t},s.prototype.abs=function(){return new s(this.value,!1)},u.prototype.abs=function(){return new u(Math.abs(this.value))},s.prototype.multiply=function(e){var t,n,i,o=q(e),u=this.value,l=o.value,f=this.sign!==o.sign;if(o.isSmall){if(0===l)return a[0];if(1===l)return this;if(-1===l)return this.negate();if((t=Math.abs(l))<r)return new s(_(u,t),f);l=c(t)}return-.012*(n=u.length)-.012*(i=l.length)+15e-6*n*i>0?new s(function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return v(t,r);n=Math.ceil(n/2);var i=t.slice(n),o=t.slice(0,n),a=r.slice(n),s=r.slice(0,n),u=e(o,s),l=e(i,a),c=e(m(o,i),m(s,a)),f=m(m(u,S(g(g(c,u),l),n)),S(l,2*n));return d(f),f}(u,l),f):new s(v(u,l),f)},s.prototype.times=s.prototype.multiply,u.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new u(e.value*this.value):A(Math.abs(e.value),c(Math.abs(this.value)),this.sign!==e.sign)},s.prototype._multiplyBySmall=function(e){return 0===e.value?a[0]:1===e.value?this:-1===e.value?this.negate():A(Math.abs(e.value),this.value,this.sign!==e.sign)},u.prototype.times=u.prototype.multiply=function(e){return q(e)._multiplyBySmall(this)},s.prototype.square=function(){return new s(T(this.value),!1)},u.prototype.square=function(){var e=this.value*this.value;return l(e)?new u(e):new s(T(c(Math.abs(this.value))),!1)},u.prototype.divmod=s.prototype.divmod=function(e){var t=E(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.over=u.prototype.divide=s.prototype.over=s.prototype.divide=function(e){return E(this,e)[0]},u.prototype.remainder=u.prototype.mod=s.prototype.remainder=s.prototype.mod=function(e){return E(this,e)[1]},s.prototype.pow=function(e){var t,r,n,i=q(e),o=this.value,s=i.value;if(0===s)return a[1];if(0===o)return a[0];if(1===o)return a[1];if(-1===o)return i.isEven()?a[1]:a[-1];if(i.sign)return a[0];if(!i.isSmall)throw new Error("The exponent "+i.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(o,s)))return new u(p(t));for(r=this,n=a[1];!0&s&&(n=n.times(r),--s),0!==s;)s/=2,r=r.square();return n},u.prototype.pow=s.prototype.pow,u.prototype.modPow=s.prototype.modPow=function(e,t){if(e=q(e),(t=q(t)).isZero())throw new Error("Cannot take modPow with modulus 0");for(var r=a[1],n=this.mod(t);e.isPositive();){if(n.isZero())return a[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},s.prototype.compareAbs=function(e){var t=q(e);return t.isSmall?1:I(this.value,t.value)},u.prototype.compareAbs=function(e){var t=q(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},s.prototype.compareTo=s.prototype.compare=function(e){if(Infinity===e)return-1;if(-Infinity===e)return 1;var t=q(e);return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:I(this.value,t.value)*(this.sign?-1:1)},u.prototype.compareTo=u.prototype.compare=function(e){if(Infinity===e)return-1;if(-Infinity===e)return 1;var t=q(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},u.prototype.eq=u.prototype.equals=s.prototype.eq=s.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.neq=u.prototype.notEquals=s.prototype.neq=s.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.gt=u.prototype.greater=s.prototype.gt=s.prototype.greater=function(e){return this.compare(e)>0},u.prototype.lt=u.prototype.lesser=s.prototype.lt=s.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.geq=u.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.leq=u.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},s.prototype.isEven=function(){return 0==(1&this.value[0])},u.prototype.isEven=function(){return 0==(1&this.value)},s.prototype.isOdd=function(){return 1==(1&this.value[0])},u.prototype.isOdd=function(){return 1==(1&this.value)},s.prototype.isPositive=function(){return!this.sign},u.prototype.isPositive=function(){return this.value>0},s.prototype.isNegative=function(){return this.sign},u.prototype.isNegative=function(){return this.value<0},s.prototype.isUnit=function(){return!1},u.prototype.isUnit=function(){return 1===Math.abs(this.value)},s.prototype.isZero=function(){return!1},u.prototype.isZero=function(){return 0===this.value},u.prototype.isDivisibleBy=s.prototype.isDivisibleBy=function(e){var t=q(e),r=t.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(t).equals(a[0])))},u.prototype.isPrime=s.prototype.isPrime=function(e){var r=O(this);if(void 0!==r)return r;var n=this.abs(),i=n.bitLength();if(i<=64)return M(n,[2,325,9375,28178,450775,9780504,1795265022]);for(var o=Math.log(2)*i,a=Math.ceil(!0===e?2*Math.pow(o,2):o),s=[],u=0;u<a;u++)s.push(t(u+2));return M(n,s)},u.prototype.isProbablePrime=s.prototype.isProbablePrime=function(e){var r=O(this);if(void 0!==r)return r;for(var n=this.abs(),i=void 0===e?5:e,o=[],a=0;a<i;a++)o.push(t.randBetween(2,n.minus(2)));return M(n,o)},u.prototype.modInv=s.prototype.modInv=function(e){for(var r,n,i,o=t.zero,a=t.one,s=q(e),u=this.abs();!u.equals(t.zero);)r=s.divide(u),n=o,i=s,o=a,s=u,a=n.subtract(r.multiply(a)),u=i.subtract(r.multiply(u));if(!s.equals(1))throw new Error(this.toString()+" and "+e.toString()+" are not co-prime");return-1===o.compare(0)&&(o=o.add(e)),this.isNegative()?o.negate():o},s.prototype.next=function(){var e=this.value;return this.sign?w(e,1,this.sign):new s(b(e,1),this.sign)},u.prototype.next=function(){var e=this.value;return e+1<n?new u(e+1):new s(i,!1)},s.prototype.prev=function(){var e=this.value;return this.sign?new s(b(e,1),!0):w(e,1,this.sign)},u.prototype.prev=function(){var e=this.value;return e-1>-n?new u(e-1):new s(i,!0)};for(var x=[1];2*x[x.length-1]<=r;)x.push(2*x[x.length-1]);var j=x.length,P=x[j-1];function C(e){return("number"==typeof e||"string"==typeof e)&&+Math.abs(e)<=r||e instanceof s&&e.value.length<=1}function N(e,r,n){r=q(r);for(var i=e.isNegative(),o=r.isNegative(),a=i?e.not():e,s=o?r.not():r,u=0,l=0,c=null,f=null,d=[];!a.isZero()||!s.isZero();)u=(c=E(a,P))[1].toJSNumber(),i&&(u=P-1-u),l=(f=E(s,P))[1].toJSNumber(),o&&(l=P-1-l),a=c[0],s=f[0],d.push(n(u,l));for(var h=0!==n(i?1:0,o?1:0)?t(-1):t(0),p=d.length-1;p>=0;p-=1)h=h.multiply(P).add(t(d[p]));return h}function B(e){var t=e.value,n="number"==typeof t?t|1<<30:t[0]+t[1]*r|1073758208;return n&-n}function D(e,t){return e=q(e),t=q(t),e.greater(t)?e:t}function R(e,t){return e=q(e),t=q(t),e.lesser(t)?e:t}function L(e,t){if(e=q(e).abs(),t=q(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,i=a[1];e.isEven()&&t.isEven();)r=Math.min(B(e),B(t)),e=e.divide(r),t=t.divide(r),i=i.multiply(r);for(;e.isEven();)e=e.divide(B(e));do{for(;t.isEven();)t=t.divide(B(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return i.isUnit()?e:e.multiply(i)}u.prototype.shiftLeft=s.prototype.shiftLeft=function(e){if(!C(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftRight(-e);var t=this;if(t.isZero())return t;for(;e>=j;)t=t.multiply(P),e-=j-1;return t.multiply(x[e])},u.prototype.shiftRight=s.prototype.shiftRight=function(e){var t;if(!C(e))throw new Error(String(e)+" is too large for shifting.");if((e=+e)<0)return this.shiftLeft(-e);for(var r=this;e>=j;){if(r.isZero()||r.isNegative()&&r.isUnit())return r;r=(t=E(r,P))[1].isNegative()?t[0].prev():t[0],e-=j-1}return(t=E(r,x[e]))[1].isNegative()?t[0].prev():t[0]},u.prototype.not=s.prototype.not=function(){return this.negate().prev()},u.prototype.and=s.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},u.prototype.or=s.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},u.prototype.xor=s.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},u.prototype.bitLength=s.prototype.bitLength=function(){var e=this;return e.compareTo(t(0))<0&&(e=e.negate().subtract(t(1))),0===e.compareTo(t(0))?t(0):t(function e(r,n){if(n.compareTo(r)<=0){var i=e(r,n.square(n)),o=i.p,a=i.e,s=o.multiply(n);return s.compareTo(r)<=0?{p:s,e:2*a+1}:{p:o,e:2*a}}return{p:t(1),e:0}}(e,t(2)).e).add(t(1))};var U=function(e,t){for(var r=e.length,n=Math.abs(t),i=0;i<r;i++)if("-"!==(c=e[i].toLowerCase())&&/[a-z0-9]/.test(c)){if(/[0-9]/.test(c)&&+c>=n){if("1"===c&&1===n)continue;throw new Error(c+" is not a valid digit in base "+t+".")}if(c.charCodeAt(0)-87>=n)throw new Error(c+" is not a valid digit in base "+t+".")}if(2<=t&&t<=36&&r<=o/Math.log(t)){var a=parseInt(e,t);if(isNaN(a))throw new Error(c+" is not a valid digit in base "+t+".");return new u(parseInt(e,t))}t=q(t);var s=[],l="-"===e[0];for(i=l?1:0;i<e.length;i++){var c,f=(c=e[i].toLowerCase()).charCodeAt(0);if(48<=f&&f<=57)s.push(q(c));else if(97<=f&&f<=122)s.push(q(c.charCodeAt(0)-87));else{if("<"!==c)throw new Error(c+" is not a valid character");var d=i;do{i++}while(">"!==e[i]);s.push(q(e.slice(d+1,i)))}}return F(s,t,l)};function F(e,t,r){var n,i=a[0],o=a[1];for(n=e.length-1;n>=0;n--)i=i.add(e[n].times(o)),o=o.times(t);return r?i.negate():i}function V(e){return e<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e):"<"+e+">"}function z(e,r){if((r=t(r)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(r.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e)).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(+e-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var i=!1;if(e.isNegative()&&r.isPositive()&&(i=!0,e=e.abs()),r.equals(1))return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(+e)).map(Number.prototype.valueOf,1),isNegative:i};for(var o,a=[],s=e;s.isNegative()||s.compareAbs(r)>=0;){o=s.divmod(r),s=o.quotient;var u=o.remainder;u.isNegative()&&(u=r.minus(u).abs(),s=s.next()),a.push(u.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:i}}function G(e,t){var r=z(e,t);return(r.isNegative?"-":"")+r.value.map(V).join("")}function H(e){if(l(+e)){var t=+e;if(t===p(t))return new u(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var n=e.split(/e/i);if(n.length>2)throw new Error("Invalid integer: "+n.join("e"));if(2===n.length){var i=n[1];if("+"===i[0]&&(i=i.slice(1)),(i=+i)!==p(i)||!l(i))throw new Error("Invalid integer: "+i+" is not a valid exponent.");var o=n[0],a=o.indexOf(".");if(a>=0&&(i-=o.length-a-1,o=o.slice(0,a)+o.slice(a+1)),i<0)throw new Error("Cannot include negative exponent part for integers");e=o+=new Array(i+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);for(var c=[],f=e.length,h=f-7;f>0;)c.push(+e.slice(h,f)),(h-=7)<0&&(h=0),f-=7;return d(c),new s(c,r)}function q(e){return"number"==typeof e?function(e){if(l(e)){if(e!==p(e))throw new Error(e+" is not an integer.");return new u(e)}return H(e.toString())}(e):"string"==typeof e?H(e):e}s.prototype.toArray=function(e){return z(this,e)},u.prototype.toArray=function(e){return z(this,e)},s.prototype.toString=function(e){if(void 0===e&&(e=10),10!==e)return G(this,e);for(var t,r=this.value,n=r.length,i=String(r[--n]);--n>=0;)t=String(r[n]),i+="0000000".slice(t.length)+t;return(this.sign?"-":"")+i},u.prototype.toString=function(e){return void 0===e&&(e=10),10!=e?G(this,e):String(this.value)},s.prototype.toJSON=u.prototype.toJSON=function(){return this.toString()},s.prototype.toJSNumber=s.prototype.valueOf=function(){return parseInt(this.toString(),10)},u.prototype.toJSNumber=u.prototype.valueOf=function(){return this.value};for(var W=0;W<1e3;W++)a[W]=new u(W),W>0&&(a[-W]=new u(-W));return a.one=a[1],a.zero=a[0],a.minusOne=a[-1],a.max=D,a.min=R,a.gcd=L,a.lcm=function(e,t){return e=q(e).abs(),t=q(t).abs(),e.divide(L(e,t)).multiply(t)},a.isInstance=function(e){return e instanceof s||e instanceof u},a.randBetween=function(e,t){var n=R(e=q(e),t=q(t)),i=D(e,t).subtract(n).add(1);if(i.isSmall)return n.add(Math.floor(Math.random()*i));for(var o=[],a=!0,l=i.value.length-1;l>=0;l--){var c=a?i.value[l]:r,d=p(Math.random()*c);o.unshift(d),d<c&&(a=!1)}return o=f(o),n.add("number"==typeof o?new u(o):new s(o,!1))},a.fromArray=function(e,t,r){return F(e.map(q),q(t||10),r)},a}();e.hasOwnProperty("exports")&&(e.exports=t)})),b=function(e){var r;if(e instanceof Uint8Array)r=e;else if(e instanceof t)r=new Uint8Array(e);else{if("string"!=typeof e)throw new Error("Input must be an string, Buffer or Uint8Array");r=new Uint8Array(t.from(e,"utf8"))}return r},g=function(e){return Array.prototype.map.call(e,(function(e){return(e<16?"0":"")+e.toString(16)})).join("")};function w(e,t,r){var n=e[t]+e[r],i=e[t+1]+e[r+1];n>=4294967296&&i++,e[t]=n,e[t+1]=i}function v(e,t,r,n){var i=e[t]+r;r<0&&(i+=4294967296);var o=e[t+1]+n;i>=4294967296&&o++,e[t]=i,e[t+1]=o}function _(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function S(e,t,r,n,i,o){var a=E[i],s=E[i+1],u=E[o],l=E[o+1];w(k,e,t),v(k,e,a,s);var c=k[n]^k[e],f=k[n+1]^k[e+1];k[n]=f,k[n+1]=c,w(k,r,n),k[t]=(c=k[t]^k[r])>>>24^(f=k[t+1]^k[r+1])<<8,k[t+1]=f>>>24^c<<8,w(k,e,t),v(k,e,u,l),k[n]=(c=k[n]^k[e])>>>16^(f=k[n+1]^k[e+1])<<16,k[n+1]=f>>>16^c<<16,w(k,r,n),k[t]=(f=k[t+1]^k[r+1])>>>31^(c=k[t]^k[r])<<1,k[t+1]=c>>>31^f<<1}var A=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),T=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].map((function(e){return 2*e}))),k=new Uint32Array(32),E=new Uint32Array(32);function I(e,t){var r=0;for(r=0;r<16;r++)k[r]=e.h[r],k[r+16]=A[r];for(k[24]=k[24]^e.t,k[25]=k[25]^e.t/4294967296,t&&(k[28]=~k[28],k[29]=~k[29]),r=0;r<32;r++)E[r]=_(e.b,4*r);for(r=0;r<12;r++)S(0,8,16,24,T[16*r+0],T[16*r+1]),S(2,10,18,26,T[16*r+2],T[16*r+3]),S(4,12,20,28,T[16*r+4],T[16*r+5]),S(6,14,22,30,T[16*r+6],T[16*r+7]),S(0,10,20,30,T[16*r+8],T[16*r+9]),S(2,12,22,24,T[16*r+10],T[16*r+11]),S(4,14,16,26,T[16*r+12],T[16*r+13]),S(6,8,18,28,T[16*r+14],T[16*r+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^k[r]^k[r+16]}function O(e,t){if(0===e||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");for(var r={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e},n=0;n<16;n++)r.h[n]=A[n];return r.h[0]^=16842752^(t?t.length:0)<<8^e,t&&(M(r,t),r.c=128),r}function M(e,t){for(var r=0;r<t.length;r++)128===e.c&&(e.t+=e.c,I(e,!1),e.c=0),e.b[e.c++]=t[r]}function x(e){for(e.t+=e.c;e.c<128;)e.b[e.c++]=0;I(e,!0);for(var t=new Uint8Array(e.outlen),r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(3&r);return t}function j(e,t,r){r=r||64,e=b(e);var n=O(r,t);return M(n,e),x(n)}var P={blake2b:j,blake2bHex:function(e,t,r){var n=j(e,t,r);return g(n)},blake2bInit:O,blake2bUpdate:M,blake2bFinal:x};function C(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function N(e,t,r,n,i,o){L[e]=L[e]+L[t]+i,L[n]=B(L[n]^L[e],16),L[r]=L[r]+L[n],L[t]=B(L[t]^L[r],12),L[e]=L[e]+L[t]+o,L[n]=B(L[n]^L[e],8),L[r]=L[r]+L[n],L[t]=B(L[t]^L[r],7)}function B(e,t){return e>>>t^e<<32-t}var D=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),R=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]),L=new Uint32Array(16),U=new Uint32Array(16);function F(e,t){var r=0;for(r=0;r<8;r++)L[r]=e.h[r],L[r+8]=D[r];for(L[12]^=e.t,L[13]^=e.t/4294967296,t&&(L[14]=~L[14]),r=0;r<16;r++)U[r]=C(e.b,4*r);for(r=0;r<10;r++)N(0,4,8,12,U[R[16*r+0]],U[R[16*r+1]]),N(1,5,9,13,U[R[16*r+2]],U[R[16*r+3]]),N(2,6,10,14,U[R[16*r+4]],U[R[16*r+5]]),N(3,7,11,15,U[R[16*r+6]],U[R[16*r+7]]),N(0,5,10,15,U[R[16*r+8]],U[R[16*r+9]]),N(1,6,11,12,U[R[16*r+10]],U[R[16*r+11]]),N(2,7,8,13,U[R[16*r+12]],U[R[16*r+13]]),N(3,4,9,14,U[R[16*r+14]],U[R[16*r+15]]);for(r=0;r<8;r++)e.h[r]^=L[r]^L[r+8]}function V(e,t){if(!(e>0&&e<=32))throw new Error("Incorrect output length, should be in [1, 32]");var r=t?t.length:0;if(t&&!(r>0&&r<=32))throw new Error("Incorrect key length, should be in [1, 32]");var n={h:new Uint32Array(D),b:new Uint32Array(64),c:0,t:0,outlen:e};return n.h[0]^=16842752^r<<8^e,r>0&&(z(n,t),n.c=64),n}function z(e,t){for(var r=0;r<t.length;r++)64===e.c&&(e.t+=e.c,F(e,!1),e.c=0),e.b[e.c++]=t[r]}function G(e){for(e.t+=e.c;e.c<64;)e.b[e.c++]=0;F(e,!0);for(var t=new Uint8Array(e.outlen),r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(3&r)&255;return t}function H(e,t,r){r=r||32,e=b(e);var n=V(r,t);return z(n,e),G(n)}for(var q={blake2s:H,blake2sHex:function(e,t,r){var n=H(e,t,r);return g(n)},blake2sInit:V,blake2sUpdate:z,blake2sFinal:G},W={blake2b:P.blake2b,blake2bHex:P.blake2bHex,blake2bInit:P.blake2bInit,blake2bUpdate:P.blake2bUpdate,blake2bFinal:P.blake2bFinal,blake2s:q.blake2s,blake2sHex:q.blake2sHex,blake2sInit:q.blake2sInit,blake2sUpdate:q.blake2sUpdate,blake2sFinal:q.blake2sFinal},K=[],$=[],Z="undefined"!=typeof Uint8Array?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Y=0,J=X.length;Y<J;++Y)K[Y]=X[Y],$[X.charCodeAt(Y)]=Y;function Q(e,t,r){for(var n,i=[],o=t;o<r;o+=3)i.push(K[(n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+K[n>>12&63]+K[n>>6&63]+K[63&n]);return i.join("")}$["-".charCodeAt(0)]=62,$["_".charCodeAt(0)]=63;var ee=function(e){var t,r,n=function(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}(e),i=n[0],o=n[1],a=new Z(function(e,t,r){return 3*(t+r)/4-r}(0,i,o)),s=0,u=o>0?i-4:i;for(r=0;r<u;r+=4)t=$[e.charCodeAt(r)]<<18|$[e.charCodeAt(r+1)]<<12|$[e.charCodeAt(r+2)]<<6|$[e.charCodeAt(r+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===o&&(t=$[e.charCodeAt(r)]<<2|$[e.charCodeAt(r+1)]>>4,a[s++]=255&t),1===o&&(t=$[e.charCodeAt(r)]<<10|$[e.charCodeAt(r+1)]<<4|$[e.charCodeAt(r+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},te=function(e){for(var t,r=e.length,n=r%3,i=[],o=0,a=r-n;o<a;o+=16383)i.push(Q(e,o,o+16383>a?a:o+16383));return 1===n?i.push(K[(t=e[r-1])>>2]+K[t<<4&63]+"=="):2===n&&i.push(K[(t=(e[r-2]<<8)+e[r-1])>>10]+K[t>>4&63]+K[t<<2&63]+"="),i.join("")},re=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:Infinity*(h?-1:1);a+=Math.pow(2,n),o-=l}return(h?-1:1)*a*Math.pow(2,o-n)},ne=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||Infinity===t?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*y},ie=y((function(e,t){var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function n(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,i.prototype),t}function i(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return s(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|f(e,t),o=n(r),a=o.write(e,t);return a!==r&&(o=o.slice(0,a)),o}(e,t);if(ArrayBuffer.isView(e))return u(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(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer))return l(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return i.from(o,t,r);var a=function(e){if(i.isBuffer(e)){var t=0|c(e.length),r=n(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||L(e.length)?n(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function a(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 s(e){return a(e),n(e<0?0:0|c(e))}function u(e){for(var t=e.length<0?0:0|c(e.length),r=n(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function l(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,i.prototype),n}function c(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function f(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(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);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(o)return n?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function d(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),L(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=i.from(t,n)),i.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(l(e,o+d)!==l(t,d)){f=!1;break}if(f)return o}return-1}function m(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(L(s))return a;e[r+a]=s}return a}function b(e,t,r,n){return D(N(t,e.length-r),e,r,n)}function g(e,t,r,n){return D(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function w(e,t,r,n){return g(e,t,r,n)}function v(e,t,r,n){return D(B(t),e,r,n)}function _(e,t,r,n){return D(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return te(0===t&&r===e.length?e:e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,l=e[i],c=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(n.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function k(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=U[e[o]];return i}function I(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function O(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,n,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,0,r,4),ne(e,t,r,n,23,4),r+4}function P(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,0,r,8),ne(e,t,r,n,52,8),r+8}t.Buffer=i,t.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,(i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(e,t,r){return function(e,t,r){return a(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},i.allocUnsafe=function(e){return s(e)},i.allocUnsafeSlow=function(e){return s(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(R(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),R(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=i.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(R(a,Uint8Array)&&(a=i.from(a)),!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},i.byteLength=f,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},i.prototype.toLocaleString=i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):d.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(e,t,r,n,o){if(R(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.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===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),u=Math.min(a,s),l=this.slice(n,o),c=e.slice(t,r),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},i.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},i.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},i.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},i.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return m(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return g(this,e,t,r);case"latin1":case"binary":return w(this,e,t,r);case"base64":return v(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,i.prototype),n},i.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},i.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},i.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},i.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},i.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),re(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),re(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),re(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),re(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},i.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},i.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},i.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},i.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},i.prototype.copy=function(e,t,r,n){if(!i.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=o-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},i.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=i.isBuffer(e)?e:i.from(e,n),u=s.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=s[a%u]}return this};var C=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||Infinity;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function B(e){return ee(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function L(e){return e!=e}var U=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,n=0;n<16;++n)e[r+n]="0123456789abcdef"[t]+"0123456789abcdef"[n];return e}()})),oe=y((function(e,t){var r=ie.Buffer;function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=ie:(n(ie,t),t.Buffer=i),i.prototype=Object.create(r.prototype),n(r,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return ie.SlowBuffer(e)}})),ae=oe.Buffer,se=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var n=0;n<e.length;n++){var i=e.charAt(n),o=i.charCodeAt(0);if(255!==t[o])throw new TypeError(i+" is ambiguous");t[o]=n}var a=e.length,s=e.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function c(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return ae.alloc(0);var r=0;if(" "!==e[r]){for(var n=0,i=0;e[r]===s;)n++,r++;for(var o=(e.length-r)*u+1>>>0,l=new Uint8Array(o);e[r];){var c=t[e.charCodeAt(r)];if(255===c)return;for(var f=0,d=o-1;(0!==c||f<i)&&-1!==d;d--,f++)l[d]=(c+=a*l[d]>>>0)%256>>>0,c=c/256>>>0;if(0!==c)throw new Error("Non-zero carry");i=f,r++}if(" "!==e[r]){for(var h=o-i;h!==o&&0===l[h];)h++;var p=ae.allocUnsafe(n+(o-h));p.fill(0,0,n);for(var y=n;h!==o;)p[y++]=l[h++];return p}}}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=ae.from(t)),!ae.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,n=0,i=0,o=t.length;i!==o&&0===t[i];)i++,r++;for(var u=(o-i)*l+1>>>0,c=new Uint8Array(u);i!==o;){for(var f=t[i],d=0,h=u-1;(0!==f||d<n)&&-1!==h;h--,d++)c[h]=(f+=256*c[h]>>>0)%a>>>0,f=f/a>>>0;if(0!==f)throw new Error("Non-zero carry");n=d,i++}for(var p=u-n;p!==u&&0===c[p];)p++;for(var y=s.repeat(r);p<u;++p)y+=e.charAt(c[p]);return y},decodeUnsafe:c,decode:function(e){var t=c(e);if(t)return t;throw new Error("Non-base"+a+" character")}}},ue=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),le=y((function(e,t){var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function n(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,i.prototype),t}function i(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return s(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|f(e,t),o=n(r),a=o.write(e,t);return a!==r&&(o=o.slice(0,a)),o}(e,t);if(ArrayBuffer.isView(e))return u(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(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer))return l(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return i.from(o,t,r);var a=function(e){if(i.isBuffer(e)){var t=0|c(e.length),r=n(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||L(e.length)?n(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function a(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 s(e){return a(e),n(e<0?0:0|c(e))}function u(e){for(var t=e.length<0?0:0|c(e.length),r=n(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function l(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,i.prototype),n}function c(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function f(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(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);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(o)return n?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function d(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),L(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=i.from(t,n)),i.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(l(e,o+d)!==l(t,d)){f=!1;break}if(f)return o}return-1}function m(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(L(s))return a;e[r+a]=s}return a}function b(e,t,r,n){return D(N(t,e.length-r),e,r,n)}function g(e,t,r,n){return D(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function w(e,t,r,n){return g(e,t,r,n)}function v(e,t,r,n){return D(B(t),e,r,n)}function _(e,t,r,n){return D(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return te(0===t&&r===e.length?e:e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,l=e[i],c=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(n.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function k(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=U[e[o]];return i}function I(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function O(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,n,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,0,r,4),ne(e,t,r,n,23,4),r+4}function P(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,0,r,8),ne(e,t,r,n,52,8),r+8}t.Buffer=i,t.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,(i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),i.poolSize=8192,i.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(e,t,r){return function(e,t,r){return a(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},i.allocUnsafe=function(e){return s(e)},i.allocUnsafeSlow=function(e){return s(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(R(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),R(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=i.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(R(a,Uint8Array)&&(a=i.from(a)),!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},i.byteLength=f,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},i.prototype.toLocaleString=i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):d.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(e,t,r,n,o){if(R(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.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===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),u=Math.min(a,s),l=this.slice(n,o),c=e.slice(t,r),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},i.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},i.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},i.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},i.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return m(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return g(this,e,t,r);case"latin1":case"binary":return w(this,e,t,r);case"base64":return v(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,i.prototype),n},i.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},i.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},i.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},i.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},i.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),re(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),re(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),re(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),re(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},i.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},i.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},i.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},i.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(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},i.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},i.prototype.copy=function(e,t,r,n){if(!i.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=o-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},i.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=i.isBuffer(e)?e:i.from(e,n),u=s.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=s[a%u]}return this};var C=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||Infinity;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function B(e){return ee(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function L(e){return e!=e}var U=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,n=0;n<16;++n)e[r+n]="0123456789abcdef"[t]+"0123456789abcdef"[n];return e}()})),ce=function(e,t){return function(r,n){var i=2*n,o=2*t;r[i]=e[o],r[i+1]=e[o+1]}},fe=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=ce)&&r.__esModule?r:{default:r};t.default=function(e){for(var t=e.A,r=e.C,i=0;i<25;i+=5){for(var o=0;o<5;o++)(0,n.default)(t,i+o)(r,o);for(var a=0;a<5;a++){var s=2*(i+a),u=(a+1)%5*2,l=(a+2)%5*2;t[s]^=~r[u]&r[l],t[s+1]^=~r[u+1]&r[l+1]}}}})),de=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new Uint32Array([0,1,0,32898,2147483648,32906,2147483648,2147516416,0,32907,0,2147483649,2147483648,2147516545,2147483648,32777,0,138,0,136,0,2147516425,0,2147483658,0,2147516555,2147483648,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,0,32778,2147483648,2147483658,2147483648,2147516545,2147483648,32896,0,2147483649,2147483648,2147516424]);t.default=r})),he=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=de)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.A,r=2*e.roundIndex;t[0]^=n.default[r],t[1]^=n.default[r+1]}})),pe=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1]})),ye=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44]})),me=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(pe),n=o(ye),i=o(ce);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.A,o=e.C,a=e.W;(0,i.default)(t,1)(a,0);for(var s=0,u=0,l=0,c=32,f=0;f<24;f++){var d=r.default[f],h=n.default[f];(0,i.default)(t,d)(o,0),a[l=h<32?0:1]=(s=a[0])<<h|(u=a[1])>>>(c=32-h),a[(l+1)%2]=u<<h|s>>>c,(0,i.default)(a,0)(t,d),(0,i.default)(o,0)(a,0)}}})),be=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=ce)&&r.__esModule?r:{default:r};t.default=function(e){for(var t=e.A,r=e.C,i=e.D,o=e.W,a=0,s=0,u=0;u<5;u++){var l=2*u,c=2*(u+5),f=2*(u+10),d=2*(u+15),h=2*(u+20);r[l]=t[l]^t[c]^t[f]^t[d]^t[h],r[l+1]=t[l+1]^t[c+1]^t[f+1]^t[d+1]^t[h+1]}for(var p=0;p<5;p++){(0,n.default)(r,(p+1)%5)(o,0),o[0]=(a=o[0])<<1|(s=o[1])>>>31,o[1]=s<<1|a>>>31,i[2*p]=r[(p+4)%5*2]^o[0],i[2*p+1]=r[(p+4)%5*2+1]^o[1];for(var y=0;y<25;y+=5)t[2*(y+p)]^=i[2*p],t[2*(y+p)+1]^=i[2*p+1]}}})),ge=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(fe),n=a(he),i=a(me),o=a(be);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=new Uint32Array(10),t=new Uint32Array(10),a=new Uint32Array(2);return function(s){for(var u=0;u<24;u++)(0,o.default)({A:s,C:e,D:t,W:a}),(0,i.default)({A:s,C:e,W:a}),(0,r.default)({A:s,C:e}),(0,n.default)({A:s,roundIndex:u});e.fill(0),t.fill(0),a.fill(0)}}})),we=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=ge)&&r.__esModule?r:{default:r},i=function(e,t){for(var r=0;r<e.length;r+=8){var n=r/4;t[n]^=e[r+7]<<24|e[r+6]<<16|e[r+5]<<8|e[r+4],t[n+1]^=e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]}return t},o=function(e,t){for(var r=0;r<t.length;r+=8){var n=r/4;t[r]=e[n+1],t[r+1]=e[n+1]>>>8,t[r+2]=e[n+1]>>>16,t[r+3]=e[n+1]>>>24,t[r+4]=e[n],t[r+5]=e[n]>>>8,t[r+6]=e[n]>>>16,t[r+7]=e[n]>>>24}return t};t.default=function(e){var t=this,r=e.capacity,a=e.padding,s=(0,n.default)(),u=r/8,l=200-r/4,c=0,f=new Uint32Array(50),d=le.Buffer.allocUnsafe(l);return this.absorb=function(e){for(var r=0;r<e.length;r++)d[c]=e[r],(c+=1)>=l&&(i(d,f),s(f),c=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||le.Buffer.allocUnsafe(u),padding:e.padding||a,queue:le.Buffer.allocUnsafe(d.length),state:new Uint32Array(f.length)};d.copy(t.queue);for(var r=0;r<f.length;r++)t.state[r]=f[r];t.queue.fill(0,c),t.queue[c]|=t.padding,t.queue[l-1]|=128,i(t.queue,t.state);for(var n=0;n<t.buffer.length;n+=l)s(t.state),o(t.state,t.buffer.slice(n,n+l));return t.buffer},this.reset=function(){return d.fill(0),f.fill(0),c=0,t},this}})),ve=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE=t.SHA3Hash=t.SHA3=t.Keccak=void 0;var r,n=(r=we)&&r.__esModule?r:{default:r},i=function(e){var t=e.allowedSizes,r=e.padding;return function e(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==e)return new e(o);if(t&&!t.includes(o))throw new Error("Unsupported hash length");var a=new n.default({capacity:o});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(le.Buffer.isBuffer(e))return a.absorb(e),i;if("string"==typeof e)return i.update(le.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"==typeof e?{format:e}:e,n=a.squeeze({buffer:t.buffer,padding:t.padding||r});return t.format&&"binary"!==t.format?n.toString(t.format):n},this.reset=function(){return a.reset(),i},this}},o=i({allowedSizes:[224,256,384,512],padding:1});t.Keccak=o;var a=i({allowedSizes:[224,256,384,512],padding:6});t.SHA3=a;var s=i({allowedSizes:[128,256],padding:31});t.SHAKE=s;var u=o;t.SHA3Hash=u,a.SHA3Hash=u,t.default=a}));const _e=new Array(16),Se=Le([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),Ae=Le([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),Te=Le([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),ke=Le([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),Ee=Re([0,1518500249,1859775393,2400959708,2840853838]),Ie=Re([1352829926,1548603684,1836072691,2053994217,0]);function Oe(e,t){return e<<t|e>>>32-t}function Me(e,t,r,n,i,o,a,s){return Oe(e+(t^r^n)+o+a|0,s)+i|0}function xe(e,t,r,n,i,o,a,s){return Oe(e+(t&r|~t&n)+o+a|0,s)+i|0}function je(e,t,r,n,i,o,a,s){return Oe(e+((t|~r)^n)+o+a|0,s)+i|0}function Pe(e,t,r,n,i,o,a,s){return Oe(e+(t&n|r&~n)+o+a|0,s)+i|0}function Ce(e,t,r,n,i,o,a,s){return Oe(e+(t^(r|~n))+o+a|0,s)+i|0}function Ne(e,t){return e[t>>>=0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function Be(e,t,r){return e[3+(r>>>=0)]=(t=+t)>>>24,e[r+2]=t>>>16,e[r+1]=t>>>8,e[r]=255&t,r+4}function De(e,t,r){return e[r>>>=0]=255&(t=+t),e[r+1]=t>>>8,e[r+2]=t>>>16,e[r+3]=t>>>24,r+4}function Re(e){return"undefined"!=typeof Uint32Array?new Uint32Array(e):e}function Le(e){return"undefined"!=typeof Uint8Array?new Uint8Array(e):e}function Ue(e){return"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}class Fe{constructor(){this._block=Ue(64),this._blockSize=64,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1,this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}update(e){if(this._finalized)throw new Error("Digest already called");const t=this._block;let r=0;for(;this._blockOffset+e.length-r>=this._blockSize;){for(let n=this._blockOffset;n<this._blockSize;)t[n++]=e[r++];this._update(),this._blockOffset=0}for(;r<e.length;)t[this._blockOffset++]=e[r++];for(let t=0,r=8*e.length;r>0;++t)this._length[t]+=r,r=this._length[t]/4294967296|0,r>0&&(this._length[t]-=4294967296*r);return this}_update(){const e=_e;for(let t=0;t<16;++t)e[t]=Ne(this._block,4*t);let t=0|this._a,r=0|this._b,n=0|this._c,i=0|this._d,o=0|this._e,a=0|this._a,s=0|this._b,u=0|this._c,l=0|this._d,c=0|this._e;for(let f=0;f<80;f+=1){let d,h;f<16?(d=Me(t,r,n,i,o,e[Se[f]],Ee[0],Te[f]),h=Ce(a,s,u,l,c,e[Ae[f]],Ie[0],ke[f])):f<32?(d=xe(t,r,n,i,o,e[Se[f]],Ee[1],Te[f]),h=Pe(a,s,u,l,c,e[Ae[f]],Ie[1],ke[f])):f<48?(d=je(t,r,n,i,o,e[Se[f]],Ee[2],Te[f]),h=je(a,s,u,l,c,e[Ae[f]],Ie[2],ke[f])):f<64?(d=Pe(t,r,n,i,o,e[Se[f]],Ee[3],Te[f]),h=xe(a,s,u,l,c,e[Ae[f]],Ie[3],ke[f])):(d=Ce(t,r,n,i,o,e[Se[f]],Ee[4],Te[f]),h=Me(a,s,u,l,c,e[Ae[f]],Ie[4],ke[f])),t=o,o=i,i=Oe(n,10),n=r,r=d,a=c,c=l,l=Oe(u,10),u=s,s=h}const f=this._b+n+l|0;this._b=this._c+i+c|0,this._c=this._d+o+a|0,this._d=this._e+t+s|0,this._e=this._a+r+u|0,this._a=f}digest(){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),Be(this._block,this._length[0],56),Be(this._block,this._length[1],60),this._update();const e=Ue(20);De(e,this._a,0),De(e,this._b,4),De(e,this._c,8),De(e,this._d,12),De(e,this._e,16),this._block.fill(0),this._blockOffset=0;for(let e=0;e<4;++e)this._length[e]=0;return e}}var Ve=y((function(e,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=ve,o=n(se),a=oe,s=n(m),u=n(ue),l=Fe,c=P,f="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",d=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],h=function(e){for(var r=new ArrayBuffer(5*e.length/8),n=new Uint8Array(r),i=0;i<e.length/8;i++){for(var o=[0,0,0,0,0,0,0,0],a=0;a<8;++a)o[a]=f.indexOf(e[8*i+a]);n[5*i+0]=o[0]<<3|o[1]>>2,n[5*i+1]=(3&o[1])<<6|o[2]<<1|o[3]>>4,n[5*i+2]=(15&o[3])<<4|o[4]>>1,n[5*i+3]=(1&o[4])<<7|o[5]<<2|o[6]>>3,n[5*i+4]=(7&o[6])<<5|o[7]}return t.from(n)};function p(e,t){this._block=a.Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}p.prototype.update=function(e,t){"string"==typeof e&&(e=a.Buffer.from(e,t=t||"utf8"));for(var r=this._block,n=this._blockSize,i=e.length,o=this._len,s=0;s<i;){for(var u=o%n,l=Math.min(i-s,n-u),c=0;c<l;c++)r[u+c]=e[s+c];s+=l,(o+=l)%n==0&&this._update(r)}return this._len+=i,this},p.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0;this._block.writeUInt32BE((r-n)/4294967296,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},p.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var y,b,g=[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],w=new Array(64);function v(){this.init(),this._w=w,p.call(this,64,56)}function _(e,t,r){return r^e&(t^r)}function S(e,t,r){return e&t|r&(e|t)}function A(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function T(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function k(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function E(e){return void 0!==e.length}y=v,(b=p)&&(y.super_=b,y.prototype=Object.create(b.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})),v.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},v.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,s=0|this._e,u=0|this._f,l=0|this._g,c=0|this._h,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<64;++f)r[f]=0|(((t=r[f-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[f-7]+k(r[f-15])+r[f-16];for(var d=0;d<64;++d){var h=c+T(s)+_(s,u,l)+g[d]+r[d]|0,p=A(n)+S(n,i,o)|0;c=l,l=u,u=s,s=a+h|0,a=o,o=i,i=n,n=h+p|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=u+this._f|0,this._g=l+this._g|0,this._h=c+this._h|0},v.prototype._hash=function(){var e=a.Buffer.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e};var I=new(function(){function e(e){this.sha256=e.sha256,this.alphabet=e.alphabet,this.codec=o(this.alphabet),this.base=this.alphabet.length}var r=e.prototype;return r.encodeChecked=function(e){var r=this.sha256(this.sha256(e)).slice(0,4);return this.encodeRaw(t.from(function(){for(var e=[],t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){if(E(t))for(var r=0;r<t.length;r++)e.push(t[r]);else e.push(t)})),e}(e,r)))},r.encodeRaw=function(e){return this.codec.encode(e)},r.decodeChecked=function(e){var t=this.decodeRaw(e);if(t.length<5)throw new Error("invalid_input_size: decoded data must have length >= 5");if(!this.verifyCheckSum(t))throw new Error("checksum_invalid");return t.slice(0,-4)},r.decodeRaw=function(e){return this.codec.decode(e)},r.verifyCheckSum=function(e){return function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(this.sha256(this.sha256(e.slice(0,-4))).slice(0,4),e.slice(-4))},e}())({sha256:function(e){return(new v).update(t.from(e)).digest()},alphabet:"rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"}),O=function(e){return"0x"===e.slice(0,2)?e.slice(2):e},M=function(e,t){if(void 0===t&&(t=null),"string"!=typeof e)throw new Error("stripHexPrefix param must be type 'string', is currently type "+typeof e+".");for(var r,n=O(e).toLowerCase(),o=(r=(null!=t?t.toString()+"0x":"")+n,new i.Keccak(256).update(r).digest()).toString("hex"),a="0x",s=0;s<n.length;s++)a+=parseInt(o[s],16)>=8?n[s].toUpperCase():n[s];return a},x=function(e,t){if(!e)throw t},j=function(e,r){if(!t.isBuffer(e))throw r},C=s.one,N=s.zero,B=s(3);function D(e,t){return e.and(C.shiftLeft(t)).notEquals(N)}function R(e){return s.fromArray(Array.prototype.slice.call(e,0),256)}function L(e,r){var n=e.toArray(256).value,i=r?Math.max(r-n.length,0):0;return t.from([].concat(Array(i).fill(0),n))}function U(e,t,r,n){x(void 0!==n,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=r,this.z=n,this._zInv=null,this.compressed=!0}Object.defineProperty(U.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInv(this.curve.p)),this._zInv}}),Object.defineProperty(U.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(U.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),U.fromAffine=function(e,t,r){return new U(e,t,r,C)},U.prototype.equals=function(e){return e===this||(this.curve.isInfinity(this)?this.curve.isInfinity(e):this.curve.isInfinity(e)?this.curve.isInfinity(this):0===e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p).compare(N)&&0===e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p).compare(N))},U.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new U(this.curve,this.x,e,this.z)},U.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,r=this.y,n=e.x,i=e.y.multiply(this.z).subtract(r.multiply(e.z)).mod(this.curve.p),o=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===o.compare(N))return 0===i.compare(N)?this.twice():this.curve.infinity;var a=o.square(),s=a.multiply(o),u=t.multiply(a),l=i.square().multiply(this.z),c=l.subtract(u.shiftLeft(1)).multiply(e.z).subtract(s).multiply(o).mod(this.curve.p),f=u.multiply(B).multiply(i).subtract(r.multiply(s)).subtract(l.multiply(i)).multiply(e.z).add(i.multiply(s)).mod(this.curve.p),d=s.multiply(this.z).multiply(e.z).mod(this.curve.p);return new U(this.curve,c,f,d)},U.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.compare(N))return this.curve.infinity;var e=this.x,t=this.y,r=t.multiply(this.z).mod(this.curve.p),n=r.multiply(t).mod(this.curve.p),i=this.curve.a,o=e.square().multiply(B);0!==i.compare(N)&&(o=o.add(this.z.square().multiply(i)));var a=(o=o.mod(this.curve.p)).square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(r).mod(this.curve.p),s=o.multiply(B).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(o.pow(3)).mod(this.curve.p),u=r.pow(3).shiftLeft(3).mod(this.curve.p);return new U(this.curve,a,s,u)},U.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.compare(N))return this.curve.infinity;for(var t=e,r=t.multiply(B),n=this.negate(),i=this,o=r.bitLength()-2;o>0;--o){var a=D(r,o),s=D(t,o);i=i.twice(),a!==s&&(i=i.add(a?this:n))}return i},U.prototype.multiplyTwo=function(e,t,r){for(var n=Math.max(e.bitLength(),r.bitLength())-1,i=this.curve.infinity,o=this.add(t);n>=0;){var a=D(e,n),s=D(r,n);i=i.twice(),a?i=i.add(s?o:this):s&&(i=i.add(t)),--n}return i},U.prototype.getEncoded=function(e){if(null==e&&(e=this.compressed),this.curve.isInfinity(this))return new t("00","hex");var r,n=this.affineX,i=this.affineY,o=this.curve.pLength;return e?(r=new t(1+o)).writeUInt8(i.isEven()?2:3,0):((r=new t(1+o+o)).writeUInt8(4,0),L(i,o).copy(r,1+o)),L(n,o).copy(r,1),r},U.decodeFrom=function(e,t){var r,n=t.readUInt8(0),i=4!==n,o=Math.floor((e.p.bitLength()+7)/8),a=R(t.slice(1,1+o));if(i)x(t.length===o+1,"Invalid sequence length"),x(2===n||3===n,"Invalid sequence tag"),r=e.pointFromX(3===n,a);else{x(t.length===1+o+o,"Invalid sequence length");var s=R(t.slice(1+o));r=U.fromAffine(e,a,s)}return r.compressed=i,r},U.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"};var F=s.zero,V=s.one;function z(e,t,r,n,i,o,a){this.p=e,this.a=t,this.b=r,this.G=U.fromAffine(this,n,i),this.n=o,this.h=a,this.infinity=new U(this,null,null,F),this.pOverFour=e.add(V).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}z.prototype.pointFromX=function(e,t){var r=t.pow(3).add(this.a.multiply(t)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!e&&(n=this.p.subtract(n)),U.fromAffine(this,t,n)},z.prototype.isInfinity=function(e){return e===this.infinity||0===e.z.compare(F)&&0!==e.y.compare(F)},z.prototype.isOnCurve=function(e){if(this.isInfinity(e))return!0;var t=e.affineX,r=e.affineY,n=this.a,i=this.b,o=this.p;if(t.compare(F)<0||t.compareTo(o)>=0)return!1;if(r.compare(F)<0||r.compareTo(o)>=0)return!1;var a=r.square().mod(o),s=t.pow(3).add(n.multiply(t)).add(i).mod(o);return a.equals(s)},z.prototype.validate=function(e){x(!this.isInfinity(e),"Point is at infinity"),x(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return x(this.isInfinity(t),"Point is not a scalar multiple of G"),!0};var G={p:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",a:"00",b:"07",n:"fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",h:"01",Gx:"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",Gy:"483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"};function H(e,t){return new i.SHA3(256).update(e).digest(t)}function q(e){return t.from((new l.RIPEMD160).update(e).digest())}function W(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(j(e,"expecting keyBuffer<Buffer>"),"sha256x2"===r){var n=H(H(e)).slice(0,4);return u.encode(t.concat([e,n]))}var i=[e];r&&i.push(t.from(r));var o=q(t.concat(i)).slice(0,4);return u.encode(t.concat([e,o]))}function K(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;x(e,"private key expected");var n,i=new t(u.decode(e)),o=i.slice(-4),a=i.slice(0,-4);if("sha256x2"===r)n=H(H(a)).slice(0,4);else{var s=[a];r&&s.push(t.from(r)),n=q(t.concat(s)).slice(0,4)}if(o.toString("hex")!==n.toString("hex"))throw new Error("Invalid checksum, "+"".concat(o.toString("hex")," != ").concat(n.toString("hex")));return a}var $=function(e){var t=G;if(!t)return null;var r=s(t.p,16),n=s(t.a,16),i=s(t.b,16),o=s(t.n,16),a=s(t.h,16);return new z(r,n,i,s(t.Gx,16),s(t.Gy,16),o,a)}();function Z(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";if("string"==typeof e)return Z.fromString(e,r);if(t.isBuffer(e))return Z.fromBuffer(e);if("object"==typeof e&&e.Q)return Z(e.Q);function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.compressed;return e.getEncoded(t)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"EOS";return e+W(n())}function o(){return n().toString("hex")}return{Q:e,toString:i,toBuffer:n,toHex:o}}Z.isValid=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";try{return Z(e,t),!0}catch(e){return!1}},Z.fromBuffer=function(e){return Z(U.decodeFrom($,e))},Z.fromString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";try{return Z.fromStringOrThrow(e,t)}catch(e){return null}},Z.fromStringOrThrow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS",r=e.match(/^PUB_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===r){var n=new RegExp("^"+t);return n.test(e)&&(e=e.substring(t.length)),Z.fromBuffer(K(e))}var i=r[1],o=r[2];return Z.fromBuffer(K(o,i))},Z.fromHex=function(e){return Z.fromBuffer(new t(e,"hex"))},Z.fromStringHex=function(e){return Z.fromString(new t(e,"hex"))};var X=o("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Y=X.encode,J=X.decode,Q=function(e){return void 0===e},ee={ed25519PublicKey:48,ed25519SecretSeed:144,preAuthTx:152,sha256Hash:184},te=function(e){var r=t.alloc(2);return r.writeUInt16LE(function(e,r){t.isBuffer(e)||(e=new t);for(var n=0,i=0;i<e.length;i++){var o=n>>>8&255;o^=255&e[i],n=n<<8&65535,n^=o^=o>>>4,n^=o=o<<5&65535,n^=o=o<<7&65535}return n}(e),0),r};function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ne(e,t){return(ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ae(e,t,r){return(ae=ie()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&ne(i,r.prototype),i}).apply(null,arguments)}function le(e){var t="function"==typeof Map?new Map:void 0;return(le=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return ae(e,arguments,re(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ne(r,e)})(e)}var ce=[0,1,2,42,43,68,69],fe=function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}("SS58PRE"),de=function(e){var t,r;function n(){return e.apply(this,arguments)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.toJSON=function(){return{_type:"AccountIndex",data:this+0}},n}(le(Number));function he(e,t){e.length||(e=[e]),t.length||(t=[t]);var r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}function pe(e){var t=new Error;this.name=t.name="ValidationError",this.message=t.message=e,this.stack=t.stack}function ye(e,t){if(null==t&&(t="Assertion failed."),!e)throw new pe(t)}pe.prototype=Object.create(Error.prototype);var me=function(){function e(e,t){this.hi=0|e,this.lo=0|t}return e.prototype.ushrn32=function(e){var t=this.lo;return 0==(e&=63)||(e<32?(t>>>=e,t|=this.hi<<32-e):t=this.hi>>>e-32),t},e}(),be=t.allocUnsafe(105),ge="qpzry9x8gf2tvdw0s3jn54khce6mua7l",we=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,15,-1,10,17,21,20,26,30,7,5,-1,-1,-1,-1,-1,-1,-1,29,-1,24,13,25,9,8,23,-1,18,22,31,27,19,-1,1,0,3,16,11,28,12,14,6,4,2,-1,-1,-1,-1,-1,-1,29,-1,24,13,25,9,8,23,-1,18,22,31,27,19,-1,1,0,3,16,11,28,12,14,6,4,2,-1,-1,-1,-1,-1],_e=new me(7,4294967295),Se=[new me(152,4072443489),new me(121,3077413346),new me(243,1046459332),new me(174,783016616),new me(30,1329849456)];function Ae(e,t){var r=e,n=r.hi>>>3;r.hi&=_e.hi,r.lo&=_e.lo,r.hi<<=5,r.hi|=r.lo>>>27,r.lo<<=5;for(var i=0;i<Se.length;i++)n>>>i&1&&(r.hi^=Se[i].hi,r.lo^=Se[i].lo);return r.lo^=t,r}function Te(e,r,n,i,o,a,s){ye(t.isBuffer(e)),ye(r>>>0===r),ye(t.isBuffer(n)),ye(i>>>0===i),ye((255&o)===o),ye((255&a)===a),ye("boolean"==typeof s);for(var u=(1<<a)-1,l=0,c=0;r<e.length;r++){var f=e[r];if(f>>>o!=0)throw new Error("Invalid bits.");for(l=l<<o|f,c+=o;c>=a;)n[i++]=l>>>(c-=a)&u}if(s)c&&(n[i++]=l<<a-c&u);else if(c>=o||l<<a-c&u)throw new Error("Invalid bits.");return ye(i<=n.length),n.slice(0,i)}var ke=function(e){function r(t){var r=t.slice(0,-4),n=t.slice(-4),i=e(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{bs58Encode:function(r){var n=e(r);return u.encode(t.concat([r,n],r.length+4))},bs58Decode:function(e){var t=r(u.decode(e));if(!t)throw new Error("Invalid checksum");return t},decodeUnsafe:function(e){var t=u.decodeUnsafe(e);if(t)return r(t)}}}((function(e){var t=(new v).update(e).digest();return(new v).update(t).digest()})),Ee=ke.bs58Decode,Ie=ke.bs58Encode;r.b32decode=h,r.b32encode=function(e){var t=[],r=Math.floor(e.length/5),n=e.length%5;if(0!=n){for(var i=0;i<5-n;i++)e+="\0";r+=1}for(var o=0;o<r;o++)t.push(f.charAt(e.charCodeAt(5*o)>>3)),t.push(f.charAt((7&e.charCodeAt(5*o))<<2|e.charCodeAt(5*o+1)>>6)),t.push(f.charAt((63&e.charCodeAt(5*o+1))>>1)),t.push(f.charAt((1&e.charCodeAt(5*o+1))<<4|e.charCodeAt(5*o+2)>>4)),t.push(f.charAt((15&e.charCodeAt(5*o+2))<<1|e.charCodeAt(5*o+3)>>7)),t.push(f.charAt((127&e.charCodeAt(5*o+3))>>2)),t.push(f.charAt((3&e.charCodeAt(5*o+3))<<3|e.charCodeAt(5*o+4)>>5)),t.push(f.charAt(31&e.charCodeAt(5*o+4)));var a=0;1==n?a=6:2==n?a=4:3==n?a=3:4==n&&(a=1);for(var s=0;s<a;s++)t.pop();for(var u=0;u<a;u++)t.push("=");return t.join("")},r.bs58Decode=Ee,r.bs58Encode=Ie,r.calculateChecksum=te,r.cashaddrDecode=function(e,r){void 0===r&&(r="bitcoincash"),ye("string"==typeof e),ye("string"==typeof r);var n=function(e,r){if(ye("string"==typeof e),e.length<8||e.length>196)throw new Error("Invalid cashaddr data length.");for(var n=!1,i=!1,o=!1,a=0,s=0;s<e.length;s++){var u=e.charCodeAt(s);if(u>=97&&u<=122)n=!0;else if(u>=65&&u<=90)i=!0;else if(u>=48&&u<=57)o=!0;else{if(58!==u)throw new Error("Invalid cashaddr character.");if(o||0===s||s>83)throw new Error("Invalid cashaddr prefix.");if(0!==a)throw new Error("Invalid cashaddr separators.");a=s}}if(i&&n)throw new Error("Invalid cashaddr casing.");var l,c=new me(0,1);0===a?l=r.toLowerCase():(l=e.substring(0,a).toLowerCase(),a+=1);for(var f=0;f<l.length;f++)Ae(c,31&(32|l.charCodeAt(f)));Ae(c,0);var d=e.length-a;if(d<=8||d>112)throw new Error("Invalid cashaddr data length.");for(var h=t.allocUnsafe(d),p=a;p<e.length;p++){var y=e.charCodeAt(p),m=65408&y?-1:we[y];if(-1===m)throw new Error("Invalid cashaddr character.");Ae(c,m),p+8<e.length&&(h[p-a]=m)}if(0!==c.hi||1!==c.lo||l!==r)throw new Error("Invalid cashaddr checksum.");return[l,h.slice(0,-8)]}(e,r),i=n[0],o=n[1],a=5*o.length&7;if(a>=5)throw new Error("Invalid padding in data.");if(o[o.length-1]&(1<<a)-1)throw new Error("Non zero padding.");var s=Te(o,0,o,0,5,8,!1),u=s[0]>>>3&31,l=s.slice(1),c=20+4*(3&s[0]);if(4&s[0]&&(c*=2),c!==l.length)throw new Error("Invalid cashaddr data length.");return{prefix:i,type:u,hash:l}},r.cashaddrEncode=function(e,r,n){if(ye("string"==typeof e),ye((15&r)===r,"Invalid cashaddr type."),ye(t.isBuffer(n)),0===e.length||e.length>83)throw new Error("Invalid cashaddr prefix.");var i=function(e){switch(ye(e>>>0===e),e){case 20:return 0;case 24:return 1;case 28:return 2;case 32:return 3;case 40:return 4;case 48:return 5;case 56:return 6;case 64:return 7;default:throw new Error("Non standard length.")}}(n.length),o=t.allocUnsafe(n.length+1);return o[0]=r<<3|i,n.copy(o,1),function(e,r){ye("string"==typeof e),ye(t.isBuffer(r));for(var n=new me(0,1),i="",o=!1,a=!1,s=0;s<e.length;s++){var u=e.charCodeAt(s);if(65280&u||u>>>5==0)throw new Error("Invalid cashaddr character.");if(u>=97&&u<=122)a=!0;else if(u>=65&&u<=90)o=!0,u=u-65+97;else if(u>=48&&u<=57)throw new Error("Invalid cashaddr prefix.");Ae(n,31&u),i+=String.fromCharCode(u)}if(a&&o)throw new Error("Invalid cashaddr prefix.");Ae(n,0),i+=":";for(var l=0;l<r.length;l++){var c=r[l];if(c>>>5!=0)throw new Error("Invalid cashaddr value.");Ae(n,c),i+=ge[c]}for(var f=0;f<8;f++)Ae(n,0);n.lo^=1;for(var d=0;d<8;d++){var h=31&n.ushrn32(5*(7-d));i+=ge[h]}return i}(e,Te(o,0,be,0,8,5,!0))},r.codec=I,r.decodeCheck=function(e,r){if("string"!=typeof r)throw new TypeError("encoded argument must be of type String");var n=J(r),i=n[0],o=n.slice(0,-2),a=o.slice(1),s=n.slice(-2);if(r!==Y(n))throw new Error("invalid encoded string");var u=ee[e];if(Q(u))throw new Error(e+' is not a valid version byte name.  expected one of "accountId" or "seed"');if(i!==u)throw new Error("invalid version byte. expected "+u+", got "+i);if(!function(e,t){if(e.length!==t.length)return!1;if(0===e.length)return!0;for(var r=0;r<e.length;r+=1)if(e[r]!==t[r])return!1;return!0}(te(o),s))throw new Error("invalid checksum");return t.from(a)},r.encodeCheck=function(e,r){if(null===r||Q(r))throw new Error("cannot encode null data");var n=ee[e];if(Q(n))throw new Error(e+' is not a valid version byte name.  expected one of "ed25519PublicKey", "ed25519SecretSeed", "preAuthTx", "sha256Hash"');r=t.from(r);var i=t.from([n]),o=t.concat([i,r]),a=te(o),s=t.concat([o,a]);return Y(s)},r.eosPublicKey=Z,r.hex2a=function(e){for(var t=e.toString(),r="",n=0;n<t.length;n+=2)r+=String.fromCharCode(parseInt(t.substr(n,2),16));return r},r.isValid=function(e){var r=e.toString().toUpperCase().replace(/-/g,"");if(!r||40!==r.length)return!1;var n,o=function(e){for(var t="",r=0;r<e.length;r++){var n=Math.round(e[r]).toString(16);1===n.length&&(n="0"+n),t+=n}return t}(h(r));return n=t.from(o.slice(0,42),"hex"),new i.Keccak(256).update(n).digest("hex").toString().substr(0,8)===o.slice(42)},r.isValidChecksumAddress=function(e,t){return function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)}(e)&&M(e,t)===e},r.ss58Decode=function(e,r){var n;void 0===r&&(r=0);try{n=u.decode(e)}catch(e){return null}if(-1===ce.indexOf(n[0]))return null;if(n.length<3)return null;var i,o=n.length<=3?1:n.length<=5?2:n.length<=9?4:n.length<=17?8:32,a=n.length-1-o,s=n.slice(1,1+o);n.slice(1+n.length),32===o&&(i=s);var l=o<32?new de(function(e){var t=0,r=1;return e.forEach((function(e){t+=e*r,r*=256})),t}(s)):new t.from(s);if(n[0]%1&&!i&&!r)return null;for(var f=c.blake2b(he(fe,n[0]%1?i||r(l):n.slice(0,1+o))),d=0;d<a;++d)if(f[d]!==n[1+o+d])return null;return l},r.ss58Encode=function(e,r,n,i,o){var a;if(void 0===r&&(r=42),void 0===n&&(n=null),void 0===i&&(i=null),-1===ce.indexOf(r))throw new Error("Unknown ss58 address type",r);if("number"==typeof e||e instanceof de){var s=e<256?1:e<65536?2:e<1?4:8;if(-1===[1,2,4,8].indexOf(i=i||s))throw new Error("Invalid length");if(i=Math.max(s,i),n&&"number"!=typeof n)throw new Error("Invalid checksum length");switch(i){case 1:n=1;break;case 2:n=[1,2].indexOf(n)+1||1;break;case 4:n=[1,2,3,4].indexOf(n)+1||1;break;case 8:n=[1,2,3,4,5,6,7,8].indexOf(n)+1||1}a=function(e,t){var r=!1;e<0&&(e=-e-1,r=!0);for(var n=new Uint8Array(t),i=0;i<t;++i)n[i]=e%256,r&&(n[i]=255&~n[i]),e/=256;return n}(e,i)}else{if(!(e instanceof Uint8Array)||32!==e.length&&35!==e.length)throw new Error("Unknown item to encode as ss58. Passing back.",e);n=2,o=a=35===e.length?e.slice(1,33):e}var l=c.blake2b(he(fe,1&r?o:he(r,a))),f=he(he(r,a),l.slice(0,n));return u.encode(t.from(f))},r.stripHexPrefix=O,r.toChecksumAddress=M,r.ua2hex=function(e){for(var t="",r=0;r<e.length;r++){var n=e[r];t+=d[n>>>4],t+=d[15&n]}return t}}));const ze="13456789abcdefghijkmnopqrstuwxyz";function Ge(e){var t=ze.indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}var He=function(e){if(e.constructor!==Uint8Array)throw new Error("View must be a Uint8Array!");const t=e.length,r=8*t%5,n=0===r?0:5-r;let i=0,o="",a=0;for(var s=0;s<t;s++)for(i=i<<8|e[s],a+=8;a>=5;)o+=ze[i>>>a+n-5&31],a-=5;return a>0&&(o+=ze[i<<5-(a+n)&31]),o},qe=e("bn.js"),We=function(){function e(e){void 0===e&&(e=t.from([])),this.buffer=e,this.bytesRead=0}var r=e.prototype;return r.read=function(e){var t=this.buffer.slice(0,e);return this.buffer=this.buffer.slice(e),this.bytesRead+=e,t},r.write=function(e){this.buffer=t.concat([this.buffer,t.from(e)])},e}(),Ke=function(){function e(e){if(!e||e.length<1)throw new Error("Missing str in address");this.str=e}var t=e.prototype;return t.protocol=function(){if(this.str.length<1)throw Error("No address found.");return this.str[0]},t.payload=function(){if(this.str.length<1)throw Error("No address found.");return this.str.slice(1,this.str.length)},e}();function $e(e){return W.blake2b(e,null,4)}function Ze(e,r){if(!r||!r.str)throw Error("Invalid address");var n="",i=r.payload(),o=r.protocol();if(0===o){var a=function(e){return function(e){for(var t,r=new qe(0),n=0;t=e.read(1)[0],r.ior(new qe(127&t).shln(n)),t>>7!=0;)n+=7;return r}(new We(e)).toString()}(i);n=e+String(o)+a}else{var s=t.from([o]),u=$e(t.concat([s,i])),l=t.concat([i,t.from(u)]),c=Ve.hex2a(l.toString("hex")),f=Ve.b32encode(c).replace(/=/g,"").toLowerCase();n=String(e)+String(o)+f}return n}function Xe(e,r){var n=t.from([e]),i=t.concat([n,r]);return new Ke(i)}function Ye(e,r){return function(n){var i;switch(n.readUInt8(0)){case 118:if(169!==n.readUInt8(1)||136!==n.readUInt8(n.length-2)||172!==n.readUInt8(n.length-1))throw Error("Unrecognised address format");return i=t.concat([t.from(e),n.slice(3,3+n.readUInt8(2))]),Ve.bs58Encode(i);case 169:if(135!==n.readUInt8(n.length-1))throw Error("Unrecognised address format");return i=t.concat([t.from(r),n.slice(2,2+n.readUInt8(1))]),Ve.bs58Encode(i);default:throw Error("Unrecognised address format")}}}function Je(e,r){return function(n){var i=Ve.bs58Decode(n),o=function(e){return e.every((function(e,t){return t<i.length&&e===i.readUInt8(t)}))};if(e.some(o))return t.concat([t.from([118,169,20]),i.slice(e[0].length),t.from([136,172])]);if(r.some(o))return t.concat([t.from([169,20]),i.slice(r[0].length),t.from([135])]);throw Error("Unrecognised address format")}}var Qe=function(e,t,r,n){return{coinType:t,decoder:Je(r,n),encoder:Ye(r[0],n[0]),name:e}};function et(e,t,r){var n=function(e){return function(t){var r=t.readUInt8(0);if(r>=81&&r<=96)r-=80;else if(0!==r)throw Error("Unrecognised address format");var n=[r].concat(h(t.slice(2,t.readUInt8(1)+2)));return d(e,n)}}(e),i=Ye(t,r);return function(e){try{return i(e)}catch(t){return n(e)}}}function tt(e,r,n){var i=function(e){return function(r){var n=f(r),i=n.words;if(n.prefix!==e)throw Error("Unexpected human-readable part in bech32 encoded address");var o=p(i.slice(1)),a=i[0];return a>0&&(a+=80),t.concat([t.from([a,o.length]),t.from(o)])}}(e),o=Je(r,n);return function(t){return t.toLowerCase().startsWith(e+"1")?i(t):o(t)}}var rt=function(e,t,r,n,i){return{coinType:t,decoder:tt(r,n,i),encoder:et(r,n[0],i[0]),name:e}};function nt(e){return function(t){return Ve.toChecksumAddress(t.toString("hex"),e||null)}}function it(e){return function(r){var n=Ve.stripHexPrefix(r);if(!Ve.isValidChecksumAddress(r,e||null)&&n!==n.toLowerCase()&&n!==n.toUpperCase())throw Error("Invalid address checksum");return t.from(Ve.stripHexPrefix(r),"hex")}}var ot=function(e,t,r){return{coinType:t,decoder:it(r),encoder:nt(r),name:e}};function at(e){return function(t){return d(e,h(t))}}function st(e){return function(r){var n=f(r),i=n.words;if(n.prefix!==e)throw Error("Unrecognised address format");return t.from(p(i))}}var ut=function(e,t,r){return{coinType:t,decoder:st(r),encoder:at(r),name:e}};function lt(e){return new t(Ve.ss58Decode(e))}function ct(r){var n=(new(e("ripemd160"))).update(r).digest();return"STM"+ue.encode(t.concat([r,n.slice(0,4)]))}function ft(r){var n=e("ripemd160");if("STM"!==r.slice(0,3))throw Error("Unrecognised address format");r=r.slice(3);var i=ue.decode(r),o=i.slice(-4),a=i.slice(0,-4);if(!(new n).update(a).digest().slice(0,4).equals(o))throw Error("Invalid checksum");return t.from(a)}function dt(e){return n.createHash("SHA512-256").update(e).digest("hex").substr(-8)}var ht,pt,yt,mt,bt,gt,wt=function(e,t,r,n){return{coinType:t,decoder:n,encoder:r,name:e}},vt=[rt("BTC",0,"bc",[[0]],[[5]]),rt("LTC",2,"ltc",[[48]],[[50],[5]]),Qe("DOGE",3,[[30]],[[22]]),Qe("RDD",4,[[61]],[[5]]),Qe("DASH",5,[[76]],[[16]]),Qe("PPC",6,[[55]],[[117]]),wt("NMC",7,Ve.bs58Encode,Ve.bs58Decode),rt("MONA",22,"mona",[[50]],[[55],[5]]),wt("DCR",42,ue.encode,ue.decode),wt("XEM",43,(function(e){return Ve.b32encode(Ve.hex2a(e.toString("hex")))}),(function(e){if(!Ve.isValid(e))throw Error("Unrecognised address format");var t=e.toString().toUpperCase().replace(/-/g,"");return Ve.b32decode(t)})),Qe("AIB",55,[[23]],[[5]]),rt("SYS",57,"sys",[[63]],[[5]]),ot("ETH",60),ot("ETC",61),wt("ICX",74,(function(e){if(21!==e.length)throw Error("Unrecognised address format");switch(e.readUInt8(0)){case 0:return"hx"+e.slice(1).toString("hex");case 1:return"cx"+e.slice(1).toString("hex");default:throw Error("Unrecognised address format")}}),(function(e){var r=e.slice(0,2),n=e.slice(2);switch(r){case"hx":return t.concat([t.from([0]),t.from(n,"hex")]);case"cx":return t.concat([t.from([1]),t.from(n,"hex")]);default:throw Error("Unrecognised address format")}})),wt("ARK",111,Ve.bs58Encode,(function(e){var t=Ve.bs58Decode(e);if(23!==t[0])throw Error("Unrecognised address format");return t})),ut("ATOM",118,"cosmos"),ut("ZIL",119,"zil"),ut("EGLD",120,"erd"),(ht=[[28,184]],pt=[[28,189]],{coinType:133,decoder:function(e,t,r){var n=Je(t,r),i=st("zs");return function(e){return e.toLowerCase().startsWith("zs")?i(e):n(e)}}(0,ht,pt),encoder:(yt=ht[0],mt=pt[0],bt=at("zs"),gt=Ye(yt,mt),function(e){try{return gt(e)}catch(t){return bt(e)}}),name:"ZEC"}),wt("LSK",134,(function(e){return m(e.toString("hex"),16).toString(10)+"L"}),(function(e){return function(e){if(e.length<2||e.length>22)throw new Error("Address length does not match requirements. Expected between 2 and 22 characters.");if("L"!==e[e.length-1])throw new Error('Address format does not match requirements. Expected "L" at the end.');if(e.includes("."))throw new Error("Address format does not match requirements. Address includes invalid character: `.`.")}(e),t.from(m(e.slice(0,-1)).toString(16),"hex")})),wt("STEEM",135,ct,ft),ot("RSK",137,30),wt("XRP",144,(function(e){return Ve.codec.encodeChecked(e)}),(function(e){return Ve.codec.decodeChecked(e)})),wt("BCH",145,(function(e){switch(e.readUInt8(0)){case 118:if(169!==e.readUInt8(1)||136!==e.readUInt8(e.length-2)||172!==e.readUInt8(e.length-1))throw Error("Unrecognised address format");return Ve.cashaddrEncode("bitcoincash",0,e.slice(3,3+e.readUInt8(2)));case 169:if(135!==e.readUInt8(e.length-1))throw Error("Unrecognised address format");return Ve.cashaddrEncode("bitcoincash",1,e.slice(2,2+e.readUInt8(1)));default:throw Error("Unrecognised address format")}}),(function(e){var r=Je([[0]],[[5]]);try{return r(e)}catch(r){return function(e){var r=Ve.cashaddrDecode(e),n=r.type,i=r.hash;if(0===n)return t.concat([t.from([118,169,20]),t.from(i),t.from([136,172])]);if(1===n)return t.concat([t.from([169,20]),t.from(i),t.from([135])]);throw Error("Unrecognised address format")}(e)}})),wt("XLM",148,(function(e){return Ve.encodeCheck("ed25519PublicKey",e)}),(function(e){return Ve.decodeCheck("ed25519PublicKey",e)})),wt("NANO",165,(function(e){var t=He(Uint8Array.from(e)),r=W.blake2b(e,null,5).reverse();return"nano_"+t+He(r)}),(function(e){var r=function(e){if("string"!=typeof e)throw new Error("Input must be a string!");var t=e.length;const r=5*t%8,n=0===r?0:8-r;for(var i=0,o=0,a=0,s=new Uint8Array(Math.ceil(5*t/8)),u=0;u<t;u++)o=o<<5|Ge(e[u]),(i+=5)>=8&&(s[a++]=o>>>i+n-8&255,i-=8);return i>0&&(s[a++]=o<<i+n-8&255),0!==r&&(s=s.slice(1)),s}(e.slice(5));return t.from(r).slice(0,-5)})),wt("EOS",194,(function(e){if(!Ve.eosPublicKey.isValid(e))throw Error("Unrecognised address format");return Ve.eosPublicKey.fromHex(e).toString()}),(function(e){if(!Ve.eosPublicKey.isValid(e))throw Error("Unrecognised address format");return Ve.eosPublicKey(e).toBuffer()})),wt("TRX",195,Ve.bs58Encode,Ve.bs58Decode),wt("NEO",239,Ve.bs58Encode,Ve.bs58Decode),wt("ALGO",283,(function(e){var t=dt(e);return Ve.b32encode(Ve.hex2a(e.toString("hex").concat(t))).replace(/=/g,"")}),(function(e){var t=Ve.b32decode(e);if(36!==t.length)throw Error("Unrecognised address format");var r=t.slice(0,-4),n=t.slice(-4),i=dt(r);if(n.toString("hex")!==i)throw Error("Unrecognised address format");return r})),Qe("DIVI",301,[[30]],[[13]]),ut("IOTX",304,"io"),wt("DOT",354,(function(e){return Ve.ss58Encode(Uint8Array.from(e),0)}),lt),wt("KSM",434,(function(e){return Ve.ss58Encode(Uint8Array.from(e),2)}),lt),wt("FIL",461,(function(e){return Ze("f",Xe(e[0],e.slice(1))).toString()}),(function(e){return function(e){!function(e){if(!e)throw Error("No bytes to validate.");if(e.length<3)throw Error("Address is too short to validate.");if("f"!==e[0]&&"t"!==e[0])throw Error("Unknown address network.");switch(e[1]){case"0":if(e.length>22)throw Error("Invalid ID address length.");break;case"1":if(41!==e.length)throw Error("Invalid secp256k1 address length.");break;case"2":if(41!==e.length)throw Error("Invalid Actor address length.");break;case"3":if(86!==e.length)throw Error("Invalid BLS address length.");break;default:throw new Error("Invalid address protocol.")}}(e);var r,n=e[0],i=parseInt(e[1],10),o=t.from([i]),a=e.slice(2);if(0===i)return Xe(i,t.from((function(e,t){for(var r=new qe(e);;){var n=r.maskn(7).toNumber();if(r.ishrn(7),r.isZero()){t.write([n]);break}t.write([128|n])}}(a,r=new We),r.buffer)));var s,u,l=t.from(Ve.b32decode(a.toUpperCase())),c=l.length,f=l.slice(0,c-4);if(s=l.slice(c-4,c),u=$e(t.concat([o,f])),t.compare(t.from(u),s))throw Error("Checksums don't match");var d=Xe(i,f);if(Ze(n,d)!==e)throw Error("Did not encode this address properly: "+e);return d}(e).str})),Qe("CCA",489,[[11]],[[5]]),wt("SOL",501,ue.encode,ue.decode),Qe("LRG",568,[[30]],[[13]]),rt("CCXX",571,"ccx",[[137]],[[75],[5]]),Qe("BPS",576,[[0]],[[5]]),ot("XDAI",700),ot("VET",703),ut("BNB",714,"bnb"),wt("HIVE",825,ct,ft),ut("ONE",1023,"one"),wt("ONT",1024,(function(e){return Ve.bs58Encode(t.concat([t.from([23]),e]))}),(function(e){var t=Ve.bs58Decode(e);if(23===t.readUInt8(0))return t.slice(1);throw Error("Unrecognised address format")})),{coinType:1729,decoder:function(e){var r=Ve.bs58Decode(e).slice(3);switch(e.substring(0,3)){case"tz1":return t.concat([t.from([0,0]),r]);case"tz2":return t.concat([t.from([0,1]),r]);case"tz3":return t.concat([t.from([0,2]),r]);case"KT1":return t.concat([t.from([1]),r,t.from([0])]);default:throw Error("Unrecognised address format")}},encoder:function(e){if(22!==e.length&&21!==e.length)throw Error("Unrecognised address format");var r;switch(e.readUInt8(0)){case 0:if(0===e.readUInt8(1))r=t.from([6,161,159]);else if(1===e.readUInt8(1))r=t.from([6,161,161]);else{if(2!==e.readUInt8(1))throw Error("Unrecognised address format");r=t.from([6,161,164])}return Ve.bs58Encode(t.concat([r,e.slice(2)]));case 1:return r=t.from([2,90,121]),Ve.bs58Encode(t.concat([r,e.slice(1,21)]));default:throw Error("Unrecognised address format")}},name:"XTZ"},ut("ADA",1815,"addr"),wt("QTUM",2301,Ve.bs58Encode,Ve.bs58Decode),wt("ELA",2305,ue.encode,ue.decode),{coinType:3030,decoder:function(e){var r=t.alloc(20),n=new DataView(r.buffer,0,20),i=e.split(".");if(3!==i.length)throw Error("Unrecognised address format");var o=Number(i[0]),a=BigInt(i[1]),s=BigInt(i[2]);return n.setUint32(0,o),n.setBigUint64(4,a),n.setBigUint64(12,s),r},encoder:function(e){if(20!==e.length)throw Error("Unrecognised address format");var t=new DataView(e.buffer,0);return[t.getUint32(0),t.getBigUint64(4),t.getBigUint64(12)].join(".")},name:"HBAR"},wt("HNS",5353,(function(e){if(20!==e.length)throw Error("P2WPKH must be 20 bytes");var t=[0].concat(h(e));return d("hs",t)}),(function(e){var r=f(e),n=r.words;if("hs"!==r.prefix)throw Error("Unrecognised address format");var i=n[0],o=p(n.slice(1));if(0!==i)throw Error("Bad program version");if(20!==o.length)throw Error("Witness program hash is the wrong size");return t.from(o)})),ot("CELO",52752)],_t=Object.assign.apply(Object,[{}].concat(vt.map((function(e){var t;return(t={})[e.name]=e,t})))),St=Object.assign.apply(Object,[{}].concat(vt.map((function(e){var t;return(t={})[e.coinType]=e,t}))));r.formats=vt,r.formatsByCoinType=St,r.formatsByName=_t}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/address-encoder",file:"node_modules/@ensdomains/address-encoder/lib/index.js"}],[2684,{"no-case":2985,"upper-case":3346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("no-case"),i=e("upper-case");t.exports=function(e,t){return n(e,t,"-").replace(/^.|-./g,(function(e){return i(e,t)}))}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>header-case",file:"node_modules/header-case/header-case.js"}],[2686,{"react-is":3109},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("react-is"),i={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},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var a=c(r);f&&(a=a.concat(f(r)));for(var s=u(t),y=u(r),m=0;m<a.length;++m){var b=a[m];if(!(o[b]||n&&n[b]||y&&y[b]||s&&s[b])){var g=d(r,b);try{l(t,b,g)}catch(e){}}}}return t}}}},{package:"react-redux>hoist-non-react-statics",file:"node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"}],[2688,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}t.exports=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(n,a);return o[e]=i.test(t)?"-"+t:t}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-camel-case>hyphenate-style-name",file:"node_modules/hyphenate-style-name/index.cjs.js"}],[2696,{"call-bind/callBound":1954,"has-tostringtag/shams":2653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("has-tostringtag/shams")(),i=e("call-bind/callBound")("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a}}},{package:"@metamask/eth-token-tracker>deep-equal>is-arguments",file:"node_modules/is-arguments/index.js"}],[2698,{"has-tostringtag/shams":2653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=Date.prototype.getDay,i=Object.prototype.toString,o=e("has-tostringtag/shams")();t.exports=function(e){return"object"==typeof e&&null!==e&&(o?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}}}},{package:"@metamask/eth-token-tracker>deep-equal>is-date-object",file:"node_modules/is-date-object/index.js"}],[2699,{"is-object":2704,"is-window":2708},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-object"),i=e("is-window");t.exports=function(e){return!(!n(e)||!i(window)||"function"!=typeof window.Node)&&("number"==typeof e.nodeType&&"string"==typeof e.nodeName)}}}},{package:"react-inspector>is-dom",file:"node_modules/is-dom/index.js"}],[2702,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n="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=r.isBrowser="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType;r.default=i}}},{package:"@material-ui/core>@material-ui/styles>jss>is-in-browser",file:"node_modules/is-in-browser/dist/index.js"}],[2703,{"lower-case":2946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("lower-case");t.exports=function(e,t){return n(e,t)===e}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>is-lower-case",file:"node_modules/is-lower-case/is-lower-case.js"}],[2704,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return"object"==typeof e&&null!==e}}}},{package:"proxyquire>fill-keys>is-object",file:"node_modules/is-object/index.js"}],[2705,{"call-bind/callBound":1954,"has-tostringtag/shams":2653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,i,o,a,s=e("call-bind/callBound"),u=e("has-tostringtag/shams")();if(u){n=s("Object.prototype.hasOwnProperty"),i=s("RegExp.prototype.exec"),o={};var l=function(){throw o};a={toString:l,valueOf:l},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=l)}var c=s("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor;t.exports=u?function(e){if(!e||"object"!=typeof e)return!1;var t=f(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{i(e,a)}catch(e){return e===o}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c(e)}}}},{package:"@storybook/api>telejson>is-regex",file:"node_modules/is-regex/index.js"}],[2707,{"upper-case":3346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("upper-case");t.exports=function(e,t){return n(e,t)===e}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>is-upper-case",file:"node_modules/is-upper-case/is-upper-case.js"}],[2708,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){if(null==e)return!1;var t=Object(e);return t===t.window}}}},{package:"@lavamoat/snow>is-cross-origin>is-window",file:"node_modules/is-window/index.js"}],[2718,{foreach:2493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("foreach");function i(e,t,r){if(3===arguments.length)return i.set(e,t,r);if(2===arguments.length)return i.get(e,t);var n=i.bind(i,e);for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o].bind(n,e));return n}t.exports=i,i.get=function(e,t){for(var r=Array.isArray(t)?t:i.parse(t),n=0;n<r.length;++n){var o=r[n];if("object"!=typeof e||!(o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e},i.set=function(e,t,r){var n=Array.isArray(t)?t:i.parse(t),o=n[0];if(0===n.length)throw Error("Can not set the root object");for(var a=0;a<n.length-1;++a){var s=n[a];"string"!=typeof s&&"number"!=typeof s&&(s=String(s)),"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&("-"===s&&Array.isArray(e)&&(s=e.length),o=n[a+1],s in e||(o.match(/^(\d+|-)$/)?e[s]=[]:e[s]={}),e=e[s])}return"-"===o&&Array.isArray(e)&&(o=e.length),e[o]=r,this},i.remove=function(e,t){var r=Array.isArray(t)?t:i.parse(t),n=r[r.length-1];if(n===undefined)throw new Error('Invalid JSON pointer for remove: "'+t+'"');var o=i.get(e,r.slice(0,-1));if(Array.isArray(o)){var a=+n;if(""===n&&isNaN(a))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,a,1)}else delete o[n]},i.dict=function(e,t){var r={};return i.walk(e,(function(e,t){r[t]=e}),t),r},i.walk=function(e,t,r){var o=[];r=r||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function e(a){n(a,(function(n,a){o.push(String(a)),r(n)?e(n):t(n,i.compile(o)),o.pop()}))}(e)},i.has=function(e,t){try{i.get(e,t)}catch(e){return!1}return!0},i.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},i.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},i.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(i.unescape)},i.compile=function(e){return 0===e.length?"":"/"+e.map(i.escape).join("/")}}}},{package:"@truffle/decoder>@truffle/source-map-utils>json-pointer",file:"node_modules/json-pointer/index.js"}],[2739,{"hyphenate-style-name":2688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("hyphenate-style-name"))&&"object"==typeof n&&"default"in n?n.default:n;function o(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:i(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(o):t.fallbacks=o(e.fallbacks)),t}r.default=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=o(e[t]);return e}return o(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=i(t);return t===n?e:(r.prop(n,e),null)}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-camel-case",file:"node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.cjs.js"}],[2740,{jss:2746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("jss"),i=n.hasCSSTOMSupport&&CSS?CSS.px:"px",o=n.hasCSSTOMSupport&&CSS?CSS.ms:"ms",a=n.hasCSSTOMSupport&&CSS?CSS.percent:"%";function s(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var u=s({"animation-delay":o,"animation-duration":o,"background-position":i,"background-position-x":i,"background-position-y":i,"background-size":i,border:i,"border-bottom":i,"border-bottom-left-radius":i,"border-bottom-right-radius":i,"border-bottom-width":i,"border-left":i,"border-left-width":i,"border-radius":i,"border-right":i,"border-right-width":i,"border-top":i,"border-top-left-radius":i,"border-top-right-radius":i,"border-top-width":i,"border-width":i,margin:i,"margin-bottom":i,"margin-left":i,"margin-right":i,"margin-top":i,padding:i,"padding-bottom":i,"padding-left":i,"padding-right":i,"padding-top":i,"mask-position-x":i,"mask-position-y":i,"mask-size":i,height:i,width:i,"min-height":i,"max-height":i,"min-width":i,"max-width":i,bottom:i,left:i,top:i,right:i,"box-shadow":i,"text-shadow":i,"column-gap":i,"column-rule":i,"column-rule-width":i,"column-width":i,"font-size":i,"font-size-delta":i,"letter-spacing":i,"text-indent":i,"text-stroke":i,"text-stroke-width":i,"word-spacing":i,motion:i,"motion-offset":i,outline:i,"outline-offset":i,"outline-width":i,perspective:i,"perspective-origin-x":a,"perspective-origin-y":a,"transform-origin":a,"transform-origin-x":a,"transform-origin-y":a,"transform-origin-z":a,"transition-delay":o,"transition-duration":o,"vertical-align":i,"flex-basis":i,"shape-margin":i,size:i,grid:i,"grid-gap":i,"grid-row-gap":i,"grid-column-gap":i,"grid-template-rows":i,"grid-template-columns":i,"grid-auto-rows":i,"grid-auto-columns":i,"box-shadow-x":i,"box-shadow-y":i,"box-shadow-blur":i,"box-shadow-spread":i,"font-line-height":i,"text-shadow-x":i,"text-shadow-y":i,"text-shadow-blur":i});function l(e,t,r){if(!t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=l(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=l(i,t[i],r);else for(var o in t)t[o]=l(e+"-"+o,t[o],r);else if("number"==typeof t){var a=r[e]||u[e];return a?"function"==typeof a?a(t).toString():""+t+a:t.toString()}return t}r.default=function(e){void 0===e&&(e={});var t=s(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=l(n,e[n],t);return e},onChangeValue:function(e,r){return l(r,e,t)}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-default-unit",file:"node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.cjs.js"}],[2741,{"@babel/runtime/helpers/extends":182,jss:2746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("@babel/runtime/helpers/extends"))&&"object"==typeof n&&"default"in n?n.default:n,o=e("jss"),a="@global",s="@global ",u=function(){function e(e,t,r){for(var n in this.type="global",this.at=a,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new o.RuleList(i({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),l=function(){function e(e,t,r){this.type="global",this.at=a,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=r;var n=e.substr(s.length);this.rule=r.jss.createRule(n,t,i({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),c=/\s*,\s*/g;function f(e,t){for(var r=e.split(c),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}r.default=function(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===a)return new u(e,t,r);if("@"===e[0]&&e.substr(0,s.length)===s)return new l(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),!1===r.scoped&&(r.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,r=e.style,n=r?r[a]:null;if(n){for(var o in n)t.sheet.addRule(o,n[o],i({},t,{selector:f(o,e.selector)}));delete r[a]}}(e),function(e){var t=e.options,r=e.style;for(var n in r)if("@"===n[0]&&n.substr(0,a.length)===a){var o=f(n.substr(a.length),e.selector);t.sheet.addRule(o,r[n],i({},t,{selector:o})),delete r[n]}}(e))}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-global",file:"node_modules/jss-plugin-global/dist/jss-plugin-global.cjs.js"}],[2742,{"@babel/runtime/helpers/extends":182,"tiny-warning":3287},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("@babel/runtime/helpers/extends")),o=(n(e("tiny-warning")),/\s*,\s*/g),a=/&/g,s=/\$([\w-]+)/g;r.default=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(o),n=e.split(o),i="",s=0;s<r.length;s++)for(var u=r[s],l=0;l<n.length;l++){var c=n[l];i&&(i+=", "),i+=-1!==c.indexOf("&")?c.replace(a,u):u+" "+c}return i}function r(e,t,r){if(r)return i({},r,{index:r.index+1});var n=e.options.nestingLevel;n=n===undefined?1:n+1;var o=i({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(n,o,a){if("style"!==o.type)return n;var u,l,c=o,f=c.options.parent;for(var d in n){var h=-1!==d.indexOf("&"),p="@"===d[0];if(h||p){if(u=r(c,f,u),h){var y=t(d,c.selector);l||(l=e(f,a)),y=y.replace(s,l),f.addRule(y,n[d],i({},u,{selector:y}))}else p&&f.addRule(d,{},u).addRule(c.key,n[d],{selector:c.selector});delete n[d]}}return n}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-nested",file:"node_modules/jss-plugin-nested/dist/jss-plugin-nested.cjs.js"}],[2743,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)n[i[o]]=t[i[o]];return n}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-props-sort",file:"node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.cjs.js"}],[2744,{jss:2746,"tiny-warning":3287},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});(n=e("tiny-warning"))&&"object"==typeof n&&"default"in n&&n.default;var n,i=e("jss"),o=Date.now(),a="fnValues"+o,s="fnStyle"+ ++o;r.default=function(){return{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=i.createRule(e,{},r);return n[s]=t,n},onProcessStyle:function(e,t){if(a in t||s in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[a]=r,e},onUpdate:function(e,t,r,n){var i=t,o=i[s];o&&(i.style=o(e)||{});var u=i[a];if(u)for(var l in u)i.prop(l,u[l](e),n)}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function",file:"node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.cjs.js"}],[2745,{"css-vendor":2067,jss:2746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("css-vendor"),i=e("jss");r.default=function(){function e(t){for(var r in t){var o=t[r];if("fallbacks"===r&&Array.isArray(o))t[r]=o.map(e);else{var a=!1,s=n.supportedProperty(r);s&&s!==r&&(a=!0);var u=!1,l=n.supportedValue(s,i.toCssValue(o));l&&l!==o&&(u=!0),(a||u)&&(a&&delete t[r],t[s||r]=l||o)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=n.supportedKeyframes(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return n.supportedValue(t,i.toCssValue(e))||e}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer",file:"node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.cjs.js"}],[2746,{"@babel/runtime/helpers/assertThisInitialized":176,"@babel/runtime/helpers/createClass":180,"@babel/runtime/helpers/extends":182,"@babel/runtime/helpers/inheritsLoose":185,"@babel/runtime/helpers/objectWithoutPropertiesLoose":195,"is-in-browser":2702,"tiny-warning":3287},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("@babel/runtime/helpers/extends")),o=n(e("is-in-browser")),a=n(e("tiny-warning")),s=n(e("@babel/runtime/helpers/createClass")),u=n(e("@babel/runtime/helpers/inheritsLoose")),l=n(e("@babel/runtime/helpers/assertThisInitialized")),c=n(e("@babel/runtime/helpers/objectWithoutPropertiesLoose")),f={}.constructor;function d(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(d);if(e.constructor!==f)return e;var t={};for(var r in e)t[r]=d(e[r]);return t}function h(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=d(t),o=n.plugins.onCreateRule(e,i,r);return o||(e[0],null)}var p=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r};function y(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var r="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=", "),r+=p(e[n]," ");else r=p(e,", ");return t||"!important"!==e[e.length-1]||(r+=" !important"),r}function m(e,t){for(var r="",n=0;n<t;n++)r+="  ";return r+e}function b(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,o=void 0===i?0:i,a=t.fallbacks;if(e&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var u=a[s];for(var l in u){var c=u[l];null!=c&&(n&&(n+="\n"),n+=""+m(l+": "+y(c)+";",o))}}else for(var f in a){var d=a[f];null!=d&&(n&&(n+="\n"),n+=""+m(f+": "+y(d)+";",o))}for(var h in t){var p=t[h];null!=p&&"fallbacks"!==h&&(n&&(n+="\n"),n+=""+m(h+": "+y(p)+";",o))}return(n||r.allowEmpty)&&e?(n&&(n="\n"+n+"\n"),m(e+" {"+n,--o)+m("}",o)):n}var g=/([[\].#*$><+~=|^:(),"'`\s])/g,w="undefined"!=typeof CSS&&CSS.escape,v=function(e){return w?w(e):e.replace(g,"\\$1")},_=function(){function e(e,t,r){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(t===undefined)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!n)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),S=function(e){function t(t,r,n){var i;(i=e.call(this,t,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,a=n.scoped,s=n.sheet,u=n.generateId;return o?i.selectorText=o:!1!==a&&(i.id=u(l(l(i)),s),i.selectorText="."+v(i.id)),i}u(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=y(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?i({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,r)},s(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(_),A={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new S(e,t,r)}},T={indent:1,children:!0},k=/@([\w-]+)/,E=function(){function e(e,t,r){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=r.name;var n=e.match(k);for(var o in this.at=n?n[1]:"unknown",this.options=r,this.rules=new Z(i({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.toString=function(e){if(void 0===e&&(e=T),null==e.indent&&(e.indent=T.indent),null==e.children&&(e.children=T.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),I=/@media|@supports\s+/,O={onCreateRule:function(e,t,r){return I.test(e)?new E(e,t,r):null}},M={indent:1,children:!0},x=/@keyframes\s+([\w-]+)/,j=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var n=e.match(x);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,a=r.sheet,s=r.generateId;for(var u in this.id=!1===o?this.name:v(s(this,a)),this.rules=new Z(i({},r,{parent:this})),t)this.rules.add(u,t[u],i({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=M),null==e.indent&&(e.indent=M.indent),null==e.children&&(e.children=M.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),P=/@keyframes\s+/,C=/\$([\w-]+)/g,N=function(e,t){return"string"==typeof e?e.replace(C,(function(e,r){return r in t?t[r]:e})):e},B=function(e,t,r){var n=e[t],i=N(n,r);i!==n&&(e[t]=i)},D={onCreateRule:function(e,t,r){return"string"==typeof e&&P.test(e)?new j(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&B(e,"animation-name",r.keyframes),"animation"in e&&B(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return N(e,n.keyframes);default:return e}}},R=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).renderable=void 0,t}return u(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?i({},e,{allowEmpty:!0}):e;return b(this.key,this.style,r)},t}(_),L={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new R(e,t,r):null}},U=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",r=0;r<this.style.length;r++)t+=b(this.at,this.style[r]),this.style[r+1]&&(t+="\n");return t}return b(this.at,this.style,e)},e}(),F=/@font-face/,V={onCreateRule:function(e,t,r){return F.test(e)?new U(e,t,r):null}},z=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return b(this.key,this.style,e)},e}(),G={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new z(e,t,r):null}},H=function(){function e(e,t,r){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),q={"@charset":!0,"@import":!0,"@namespace":!0},W=[A,O,D,L,V,G,{onCreateRule:function(e,t,r){return e in q?new H(e,t,r):null}}],K={process:!0},$={force:!0,process:!0},Z=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,o=n.parent,a=n.sheet,s=n.jss,u=n.Renderer,l=n.generateId,c=n.scoped,f=i({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:u,generateId:l,scoped:c,name:e},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(f.selector="."+v(this.classes[d]));var p=h(d,t,f);if(!p)return null;this.register(p);var y=f.index===undefined?this.index.length:f.index;return this.index.splice(y,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof S?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof j&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof S?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof j&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?undefined:arguments[0])?(e=arguments.length<=0?undefined:arguments[0],t=arguments.length<=1?undefined:arguments[1],r=arguments.length<=2?undefined:arguments[2]):(t=arguments.length<=0?undefined:arguments[0],r=arguments.length<=1?undefined:arguments[1],e=null),e)this.updateOne(this.map[e],t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=K);var i=this.options,o=i.jss.plugins,a=i.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t,u=s.style;if(o.onUpdate(r,t,a,n),n.process&&u&&u!==s.style){for(var l in o.onProcessStyle(s.style,s,a),s.style){var c=s.style[l];c!==u[l]&&s.prop(l,c,$)}for(var f in u){var d=s.style[f],h=u[f];null==d&&d!==h&&s.prop(f,null,$)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||n)&&(t&&(t+="\n"),t+=o)}return t},e}(),X=function(){function e(e,t){for(var r in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=i({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Z(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=undefined)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),Y=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),J=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=c(t,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(i&&(i+="\n"),i+=a.toString(n))}return i},s(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Q=new J,ee="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),te="2f1acc6c3a606b082e5eef5e54414ffb";null==ee[te]&&(ee[te]=0);var re=ee[te]++,ne=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",o="";return n&&(n.options.classNamePrefix&&(o=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(o||"c")+re+i+t:o+r.key+"-"+re+(i?"-"+i:"")+"-"+t}},ie=function(e){var t;return function(){return t||(t=e()),t}};function oe(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function ae(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=y(r,!0),"!important"===r[r.length-1]))return e.style.setProperty(t,n,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,n):e.style.setProperty(t,n)}catch(e){return!1}return!0}function se(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function ue(e,t){return e.selectorText=t,e.selectorText===t}var le=ie((function(){return document.querySelector("head")}));function ce(e){var t=Q.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=le(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var fe=ie((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),de=function(e,t,r){var n=e.cssRules.length;(r===undefined||r>n)&&(r=n);try{if("insertRule"in e)e.insertRule(t,r);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[r]},he=function(){function e(e){this.getPropertyValue=oe,this.setProperty=ae,this.removeProperty=se,this.setSelector=ue,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&Q.add(e),this.sheet=e;var t,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,o=r.element;this.element=o||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var a=fe();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=ce(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(i=de(r,n.toString({children:!1}),t)))&&(this.insertRules(n.rules,i),i)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var o=e.toString();if(!o)return!1;var a=de(r,o,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,r=0;r<t.length;r++)if(e===t[r])return r;return-1},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),pe=0,ye=function(){function e(e){this.id=pe++,this.version="10.3.0",this.plugins=new Y,this.options={id:{minify:!1},createGenerateId:ne,Renderer:o?he:null,plugins:[]},this.generateId=ne({minify:!1});for(var t=0;t<W.length;t++)this.plugins.use(W[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=i({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Q.index?0:Q.index+1);var n=new X(e,i({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),Q.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(undefined,e,t);var n=i({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=h(e,t,n);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}();var me=function(){function e(){this.length=0,this.sheets=new WeakMap}var t=e.prototype;return t.get=function(e){var t=this.sheets.get(e);return t&&t.sheet},t.add=function(e,t){this.sheets.has(e)||(this.length++,this.sheets.set(e,{sheet:t,refs:0}))},t.manage=function(e){var t=this.sheets.get(e);return t?(0===t.refs&&t.sheet.attach(),t.refs++,t.sheet):(a(!1,"[JSS] SheetsManager: can't find sheet to manage"),undefined)},t.unmanage=function(e){var t=this.sheets.get(e);t?t.refs>0&&(t.refs--,0===t.refs&&t.sheet.detach()):a(!1,"SheetsManager: can't find sheet to unmanage")},s(e,[{key:"size",get:function(){return this.length}}]),e}(),be="undefined"!=typeof CSS&&CSS&&"number"in CSS,ge=function(e){return new ye(e)},we=ge();
/**
 * A better abstraction over CSS.
 *
 * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
 * @website https://github.com/cssinjs/jss
 * @license MIT
 */r.RuleList=Z,r.SheetsManager=me,r.SheetsRegistry=J,r.create=ge,r.createGenerateId=ne,r.createRule=h,r.default=we,r.getDynamicStyles=function e(t){var r=null;for(var n in t){var i=t[n],o=typeof i;if("function"===o)r||(r={}),r[n]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=e(i);a&&(r||(r={}),r[n]=a)}}return r},r.hasCSSTOMSupport=be,r.sheets=Q,r.toCssValue=y}}},{package:"@material-ui/core>@material-ui/styles>jss",file:"node_modules/jss/dist/jss.cjs.js"}],[2768,{"./map":2769},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./map");r.getCurrency=function(e){var t,r,i=(t=e,r=t.split("_"),2==r.length||2==(r=t.split("-")).length?r.pop():t).toUpperCase();return i in n?n[i]:null},r.getLocales=function(e){e=e.toUpperCase();var t=[];for(countryCode in n)n[countryCode]===e&&t.push(countryCode);return t}}}},{package:"currency-formatter>locale-currency",file:"node_modules/locale-currency/index.js"}],[2769,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={AD:"EUR",AE:"AED",AF:"AFN",AG:"XCD",AI:"XCD",AL:"ALL",AM:"AMD",AN:"ANG",AO:"AOA",AR:"ARS",AS:"USD",AT:"EUR",AU:"AUD",AW:"AWG",AX:"EUR",AZ:"AZN",BA:"BAM",BB:"BBD",BD:"BDT",BE:"EUR",BF:"XOF",BG:"BGN",BH:"BHD",BI:"BIF",BJ:"XOF",BL:"EUR",BM:"BMD",BN:"BND",BO:"BOB",BQ:"USD",BR:"BRL",BS:"BSD",BT:"BTN",BV:"NOK",BW:"BWP",BY:"BYR",BZ:"BZD",CA:"CAD",CC:"AUD",CD:"CDF",CF:"XAF",CG:"XAF",CH:"CHF",CI:"XOF",CK:"NZD",CL:"CLP",CM:"XAF",CN:"CNY",CO:"COP",CR:"CRC",CU:"CUP",CV:"CVE",CW:"ANG",CX:"AUD",CY:"EUR",CZ:"CZK",DE:"EUR",DJ:"DJF",DK:"DKK",DM:"XCD",DO:"DOP",DZ:"DZD",EC:"USD",EE:"EUR",EG:"EGP",EH:"MAD",ER:"ERN",ES:"EUR",ET:"ETB",FI:"EUR",FJ:"FJD",FK:"FKP",FM:"USD",FO:"DKK",FR:"EUR",GA:"XAF",GB:"GBP",GD:"XCD",GE:"GEL",GF:"EUR",GG:"GBP",GH:"GHS",GI:"GIP",GL:"DKK",GM:"GMD",GN:"GNF",GP:"EUR",GQ:"XAF",GR:"EUR",GS:"GBP",GT:"GTQ",GU:"USD",GW:"XOF",GY:"GYD",HK:"HKD",HM:"AUD",HN:"HNL",HR:"HRK",HT:"HTG",HU:"HUF",ID:"IDR",IE:"EUR",IL:"ILS",IM:"GBP",IN:"INR",IO:"USD",IQ:"IQD",IR:"IRR",IS:"ISK",IT:"EUR",JE:"GBP",JM:"JMD",JO:"JOD",JP:"JPY",KE:"KES",KG:"KGS",KH:"KHR",KI:"AUD",KM:"KMF",KN:"XCD",KP:"KPW",KR:"KRW",KW:"KWD",KY:"KYD",KZ:"KZT",LA:"LAK",LB:"LBP",LC:"XCD",LI:"CHF",LK:"LKR",LR:"LRD",LS:"LSL",LT:"LTL",LU:"EUR",LV:"LVL",LY:"LYD",MA:"MAD",MC:"EUR",MD:"MDL",ME:"EUR",MF:"EUR",MG:"MGA",MH:"USD",MK:"MKD",ML:"XOF",MM:"MMK",MN:"MNT",MO:"MOP",MP:"USD",MQ:"EUR",MR:"MRO",MS:"XCD",MT:"EUR",MU:"MUR",MV:"MVR",MW:"MWK",MX:"MXN",MY:"MYR",MZ:"MZN",NA:"NAD",NC:"XPF",NE:"XOF",NF:"AUD",NG:"NGN",NI:"NIO",NL:"EUR",NO:"NOK",NP:"NPR",NR:"AUD",NU:"NZD",NZ:"NZD",OM:"OMR",PA:"PAB",PE:"PEN",PF:"XPF",PG:"PGK",PH:"PHP",PK:"PKR",PL:"PLN",PM:"EUR",PN:"NZD",PR:"USD",PS:"ILS",PT:"EUR",PW:"USD",PY:"PYG",QA:"QAR",RE:"EUR",RO:"RON",RS:"RSD",RU:"RUB",RW:"RWF",SA:"SAR",SB:"SBD",SC:"SCR",SD:"SDG",SE:"SEK",SG:"SGD",SH:"SHP",SI:"EUR",SJ:"NOK",SK:"EUR",SL:"SLL",SM:"EUR",SN:"XOF",SO:"SOS",SR:"SRD",ST:"STD",SV:"SVC",SX:"ANG",SY:"SYP",SZ:"SZL",TC:"USD",TD:"XAF",TF:"EUR",TG:"XOF",TH:"THB",TJ:"TJS",TK:"NZD",TL:"USD",TM:"TMT",TN:"TND",TO:"TOP",TR:"TRY",TT:"TTD",TV:"AUD",TW:"TWD",TZ:"TZS",UA:"UAH",UG:"UGX",UM:"USD",US:"USD",UY:"UYU",UZ:"UZS",VA:"EUR",VC:"XCD",VE:"VEF",VG:"USD",VI:"USD",VN:"VND",VU:"VUV",WF:"XPF",WS:"WST",YE:"YER",YT:"EUR",ZA:"ZAR",ZM:"ZMK",ZW:"ZWL"}}}},{package:"currency-formatter>locale-currency",file:"node_modules/locale-currency/map.js"}],[2783,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}}}},{package:"lodash",file:"node_modules/lodash/_arrayAggregator.js"}],[2792,{"./_baseEach":2798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseEach");t.exports=function(e,t,r,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}}}},{package:"lodash",file:"node_modules/lodash/_baseAggregator.js"}],[2798,{"./_baseForOwn":2800,"./_createBaseEach":2840},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseForOwn"),i=e("./_createBaseEach")(n);t.exports=i}}},{package:"lodash",file:"node_modules/lodash/_baseEach.js"}],[2821,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e,t){for(var r,n=-1,i=e.length;++n<i;){var o=t(e[n]);o!==undefined&&(r=r===undefined?o:r+o)}return r}}}},{package:"lodash",file:"node_modules/lodash/_baseSum.js"}],[2839,{"./_arrayAggregator":2783,"./_baseAggregator":2792,"./_baseIteratee":2814,"./isArray":2913},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_arrayAggregator"),i=e("./_baseAggregator"),o=e("./_baseIteratee"),a=e("./isArray");t.exports=function(e,t){return function(r,s){var u=a(r)?n:i,l=t?t():{};return u(r,e,o(s,2),l)}}}}},{package:"lodash",file:"node_modules/lodash/_createAggregator.js"}],[2840,{"./isArrayLike":2914},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./isArrayLike");t.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}}}},{package:"lodash",file:"node_modules/lodash/_createBaseEach.js"}],[2907,{"./toString":2943},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./toString"),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);t.exports=function(e){return(e=n(e))&&o.test(e)?e.replace(i,"\\$&"):e}}}},{package:"lodash",file:"node_modules/lodash/escapeRegExp.js"}],[2915,{"./_baseGetTag":2803,"./isObjectLike":2925},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isObjectLike");t.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}}}},{package:"lodash",file:"node_modules/lodash/isBoolean.js"}],[2918,{"./_baseIsEqual":2807},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseIsEqual");t.exports=function(e,t){return n(e,t)}}}},{package:"lodash",file:"node_modules/lodash/isEqual.js"}],[2923,{"./_baseGetTag":2803,"./isObjectLike":2925},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isObjectLike");t.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}}}},{package:"lodash",file:"node_modules/lodash/isNumber.js"}],[2927,{"./_baseGetTag":2803,"./isArray":2913,"./isObjectLike":2925},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseGetTag"),i=e("./isArray"),o=e("./isObjectLike");t.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}}}},{package:"lodash",file:"node_modules/lodash/isString.js"}],[2935,{"./_createAggregator":2839},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_createAggregator")((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));t.exports=n}}},{package:"lodash",file:"node_modules/lodash/partition.js"}],[2939,{"./_baseSum":2821,"./identity":2910},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./_baseSum"),i=e("./identity");t.exports=function(e){return e&&e.length?n(e,i):0}}}},{package:"lodash",file:"node_modules/lodash/sum.js"}],[2945,{"lower-case":2946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("lower-case");t.exports=function(e,t){return null==e?"":(e=String(e),n(e.charAt(0),t)+e.substr(1))}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>lower-case-first",file:"node_modules/lower-case-first/lower-case-first.js"}],[2946,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};t.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}}}},{package:"@truffle/codec>@truffle/abi-utils>change-case>lower-case",file:"node_modules/lower-case/lower-case.js"}],[2949,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){e==undefined&&(e=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,e.constructor==Array?this.init_by_array(e,e.length):this.init_seed(e)};n.prototype.init_seed=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++){e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0}},n.prototype.init_by_array=function(e,t){var r,n,i;for(this.init_seed(19650218),r=1,n=0,i=this.N>t?this.N:t;i;i--){var o=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+e[n]+n,this.mt[r]>>>=0,n++,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1),n>=t&&(n=0)}for(i=this.N-1;i;i--){o=this.mt[r-1]^this.mt[r-1]>>>30;this.mt[r]=(this.mt[r]^(1566083941*((4294901760&o)>>>16)<<16)+1566083941*(65535&o))-r,this.mt[r]>>>=0,++r>=this.N&&(this.mt[0]=this.mt[this.N-1],r=1)}this.mt[0]=2147483648},n.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var r;for(this.mti==this.N+1&&this.init_seed(5489),r=0;r<this.N-this.M;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+this.M]^e>>>1^t[1&e];for(;r<this.N-1;r++)e=this.mt[r]&this.UPPER_MASK|this.mt[r+1]&this.LOWER_MASK,this.mt[r]=this.mt[r+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0},n.prototype.random_int31=function(){return this.random_int()>>>1},n.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},n.prototype.random=function(){return this.random_int()*(1/4294967296)},n.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},n.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)},t.exports=n}}},{package:"@metamask/jazzicon>mersenne-twister",file:"node_modules/mersenne-twister/src/mersenne-twister.js"}],[295,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={contractName:"ENS",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"label",type:"bytes32"},{indexed:!1,internalType:"address",name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"uint64",name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"owner",type:"address"}],name:"Transfer",type:"event"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setSubnodeRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"resolver",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"ttl",outputs:[{internalType:"uint64",name:"",type:"uint64"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"recordExists",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"}],metadata:'{"compiler":{"version":"0.5.16+commit.9c3226ce"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"}],"devdoc":{"methods":{}},"userdoc":{"methods":{}}},"settings":{"compilationTarget":{"/Users/makoto/work/ens/ens/contracts/ENS.sol":"ENS"},"evmVersion":"istanbul","libraries":{},"optimizer":{"enabled":false,"runs":200},"remappings":[]},"sources":{"/Users/makoto/work/ens/ens/contracts/ENS.sol":{"keccak256":"0x10b88673d8c180cd62523be4fec7607c65594eb4f0c561fa0fbc0784422b4871","urls":["bzz-raw://b3de1882a4a1a1b13c27ee6dc04cc58c34ac392c80cad507de2cdfa8c02712fe","dweb:/ipfs/QmeKcaBF8QdJjXiqFrPJkAtK3et5kUL8XJrnHjwhAThRMT"]}},"version":1}',bytecode:"0x",deployedBytecode:"0x",sourceMap:"",deployedSourceMap:"",source:"pragma solidity >=0.4.24;\n\ninterface ENS {\n\n    // Logged when the owner of a node assigns a new owner to a subnode.\n    event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\n\n    // Logged when the owner of a node transfers ownership to a new account.\n    event Transfer(bytes32 indexed node, address owner);\n\n    // Logged when the resolver for a node changes.\n    event NewResolver(bytes32 indexed node, address resolver);\n\n    // Logged when the TTL of a node changes\n    event NewTTL(bytes32 indexed node, uint64 ttl);\n\n    // Logged when an operator is added or removed.\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external;\n    function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external;\n    function setSubnodeOwner(bytes32 node, bytes32 label, address owner) external returns(bytes32);\n    function setResolver(bytes32 node, address resolver) external;\n    function setOwner(bytes32 node, address owner) external;\n    function setTTL(bytes32 node, uint64 ttl) external;\n    function setApprovalForAll(address operator, bool approved) external;\n    function owner(bytes32 node) external view returns (address);\n    function resolver(bytes32 node) external view returns (address);\n    function ttl(bytes32 node) external view returns (uint64);\n    function recordExists(bytes32 node) external view returns (bool);\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n",sourcePath:"/Users/makoto/work/ens/ens/contracts/ENS.sol",ast:{absolutePath:"/Users/makoto/work/ens/ens/contracts/ENS.sol",exportedSymbols:{ENS:[436]},id:437,nodeType:"SourceUnit",nodes:[{id:301,literals:["solidity",">=","0.4",".24"],nodeType:"PragmaDirective",src:"0:25:2"},{baseContracts:[],contractDependencies:[],contractKind:"interface",documentation:null,fullyImplemented:!1,id:436,linearizedBaseContracts:[436],name:"ENS",nodeType:"ContractDefinition",nodes:[{anonymous:!1,documentation:null,id:309,name:"NewOwner",nodeType:"EventDefinition",parameters:{id:308,nodeType:"ParameterList",parameters:[{constant:!1,id:303,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:309,src:"136:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:302,name:"bytes32",nodeType:"ElementaryTypeName",src:"136:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:305,indexed:!0,name:"label",nodeType:"VariableDeclaration",scope:309,src:"158:21:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:304,name:"bytes32",nodeType:"ElementaryTypeName",src:"158:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:307,indexed:!1,name:"owner",nodeType:"VariableDeclaration",scope:309,src:"181:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:306,name:"address",nodeType:"ElementaryTypeName",src:"181:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"135:60:2"},src:"121:75:2"},{anonymous:!1,documentation:null,id:315,name:"Transfer",nodeType:"EventDefinition",parameters:{id:314,nodeType:"ParameterList",parameters:[{constant:!1,id:311,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:315,src:"294:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:310,name:"bytes32",nodeType:"ElementaryTypeName",src:"294:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:313,indexed:!1,name:"owner",nodeType:"VariableDeclaration",scope:315,src:"316:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:312,name:"address",nodeType:"ElementaryTypeName",src:"316:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"293:37:2"},src:"279:52:2"},{anonymous:!1,documentation:null,id:321,name:"NewResolver",nodeType:"EventDefinition",parameters:{id:320,nodeType:"ParameterList",parameters:[{constant:!1,id:317,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:321,src:"407:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:316,name:"bytes32",nodeType:"ElementaryTypeName",src:"407:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:319,indexed:!1,name:"resolver",nodeType:"VariableDeclaration",scope:321,src:"429:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:318,name:"address",nodeType:"ElementaryTypeName",src:"429:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"406:40:2"},src:"389:58:2"},{anonymous:!1,documentation:null,id:327,name:"NewTTL",nodeType:"EventDefinition",parameters:{id:326,nodeType:"ParameterList",parameters:[{constant:!1,id:323,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:327,src:"511:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:322,name:"bytes32",nodeType:"ElementaryTypeName",src:"511:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:325,indexed:!1,name:"ttl",nodeType:"VariableDeclaration",scope:327,src:"533:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:324,name:"uint64",nodeType:"ElementaryTypeName",src:"533:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"510:34:2"},src:"498:47:2"},{anonymous:!1,documentation:null,id:335,name:"ApprovalForAll",nodeType:"EventDefinition",parameters:{id:334,nodeType:"ParameterList",parameters:[{constant:!1,id:329,indexed:!0,name:"owner",nodeType:"VariableDeclaration",scope:335,src:"624:21:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:328,name:"address",nodeType:"ElementaryTypeName",src:"624:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:331,indexed:!0,name:"operator",nodeType:"VariableDeclaration",scope:335,src:"647:24:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:330,name:"address",nodeType:"ElementaryTypeName",src:"647:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:333,indexed:!1,name:"approved",nodeType:"VariableDeclaration",scope:335,src:"673:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:332,name:"bool",nodeType:"ElementaryTypeName",src:"673:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"623:64:2"},src:"603:85:2"},{body:null,documentation:null,id:346,implemented:!1,kind:"function",modifiers:[],name:"setRecord",nodeType:"FunctionDefinition",parameters:{id:344,nodeType:"ParameterList",parameters:[{constant:!1,id:337,name:"node",nodeType:"VariableDeclaration",scope:346,src:"713:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:336,name:"bytes32",nodeType:"ElementaryTypeName",src:"713:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:339,name:"owner",nodeType:"VariableDeclaration",scope:346,src:"727:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:338,name:"address",nodeType:"ElementaryTypeName",src:"727:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:341,name:"resolver",nodeType:"VariableDeclaration",scope:346,src:"742:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:340,name:"address",nodeType:"ElementaryTypeName",src:"742:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:343,name:"ttl",nodeType:"VariableDeclaration",scope:346,src:"760:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:342,name:"uint64",nodeType:"ElementaryTypeName",src:"760:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"712:59:2"},returnParameters:{id:345,nodeType:"ParameterList",parameters:[],src:"780:0:2"},scope:436,src:"694:87:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:359,implemented:!1,kind:"function",modifiers:[],name:"setSubnodeRecord",nodeType:"FunctionDefinition",parameters:{id:357,nodeType:"ParameterList",parameters:[{constant:!1,id:348,name:"node",nodeType:"VariableDeclaration",scope:359,src:"812:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:347,name:"bytes32",nodeType:"ElementaryTypeName",src:"812:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:350,name:"label",nodeType:"VariableDeclaration",scope:359,src:"826:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:349,name:"bytes32",nodeType:"ElementaryTypeName",src:"826:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:352,name:"owner",nodeType:"VariableDeclaration",scope:359,src:"841:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:351,name:"address",nodeType:"ElementaryTypeName",src:"841:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:354,name:"resolver",nodeType:"VariableDeclaration",scope:359,src:"856:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:353,name:"address",nodeType:"ElementaryTypeName",src:"856:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:356,name:"ttl",nodeType:"VariableDeclaration",scope:359,src:"874:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:355,name:"uint64",nodeType:"ElementaryTypeName",src:"874:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"811:74:2"},returnParameters:{id:358,nodeType:"ParameterList",parameters:[],src:"894:0:2"},scope:436,src:"786:109:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:370,implemented:!1,kind:"function",modifiers:[],name:"setSubnodeOwner",nodeType:"FunctionDefinition",parameters:{id:366,nodeType:"ParameterList",parameters:[{constant:!1,id:361,name:"node",nodeType:"VariableDeclaration",scope:370,src:"925:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:360,name:"bytes32",nodeType:"ElementaryTypeName",src:"925:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:363,name:"label",nodeType:"VariableDeclaration",scope:370,src:"939:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:362,name:"bytes32",nodeType:"ElementaryTypeName",src:"939:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:365,name:"owner",nodeType:"VariableDeclaration",scope:370,src:"954:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:364,name:"address",nodeType:"ElementaryTypeName",src:"954:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"924:44:2"},returnParameters:{id:369,nodeType:"ParameterList",parameters:[{constant:!1,id:368,name:"",nodeType:"VariableDeclaration",scope:370,src:"986:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:367,name:"bytes32",nodeType:"ElementaryTypeName",src:"986:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"985:9:2"},scope:436,src:"900:95:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:377,implemented:!1,kind:"function",modifiers:[],name:"setResolver",nodeType:"FunctionDefinition",parameters:{id:375,nodeType:"ParameterList",parameters:[{constant:!1,id:372,name:"node",nodeType:"VariableDeclaration",scope:377,src:"1021:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:371,name:"bytes32",nodeType:"ElementaryTypeName",src:"1021:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:374,name:"resolver",nodeType:"VariableDeclaration",scope:377,src:"1035:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:373,name:"address",nodeType:"ElementaryTypeName",src:"1035:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1020:32:2"},returnParameters:{id:376,nodeType:"ParameterList",parameters:[],src:"1061:0:2"},scope:436,src:"1000:62:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:384,implemented:!1,kind:"function",modifiers:[],name:"setOwner",nodeType:"FunctionDefinition",parameters:{id:382,nodeType:"ParameterList",parameters:[{constant:!1,id:379,name:"node",nodeType:"VariableDeclaration",scope:384,src:"1085:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:378,name:"bytes32",nodeType:"ElementaryTypeName",src:"1085:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:381,name:"owner",nodeType:"VariableDeclaration",scope:384,src:"1099:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:380,name:"address",nodeType:"ElementaryTypeName",src:"1099:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1084:29:2"},returnParameters:{id:383,nodeType:"ParameterList",parameters:[],src:"1122:0:2"},scope:436,src:"1067:56:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:391,implemented:!1,kind:"function",modifiers:[],name:"setTTL",nodeType:"FunctionDefinition",parameters:{id:389,nodeType:"ParameterList",parameters:[{constant:!1,id:386,name:"node",nodeType:"VariableDeclaration",scope:391,src:"1144:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:385,name:"bytes32",nodeType:"ElementaryTypeName",src:"1144:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:388,name:"ttl",nodeType:"VariableDeclaration",scope:391,src:"1158:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:387,name:"uint64",nodeType:"ElementaryTypeName",src:"1158:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"1143:26:2"},returnParameters:{id:390,nodeType:"ParameterList",parameters:[],src:"1178:0:2"},scope:436,src:"1128:51:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:398,implemented:!1,kind:"function",modifiers:[],name:"setApprovalForAll",nodeType:"FunctionDefinition",parameters:{id:396,nodeType:"ParameterList",parameters:[{constant:!1,id:393,name:"operator",nodeType:"VariableDeclaration",scope:398,src:"1211:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:392,name:"address",nodeType:"ElementaryTypeName",src:"1211:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:395,name:"approved",nodeType:"VariableDeclaration",scope:398,src:"1229:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:394,name:"bool",nodeType:"ElementaryTypeName",src:"1229:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1210:33:2"},returnParameters:{id:397,nodeType:"ParameterList",parameters:[],src:"1252:0:2"},scope:436,src:"1184:69:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:405,implemented:!1,kind:"function",modifiers:[],name:"owner",nodeType:"FunctionDefinition",parameters:{id:401,nodeType:"ParameterList",parameters:[{constant:!1,id:400,name:"node",nodeType:"VariableDeclaration",scope:405,src:"1273:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:399,name:"bytes32",nodeType:"ElementaryTypeName",src:"1273:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1272:14:2"},returnParameters:{id:404,nodeType:"ParameterList",parameters:[{constant:!1,id:403,name:"",nodeType:"VariableDeclaration",scope:405,src:"1310:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:402,name:"address",nodeType:"ElementaryTypeName",src:"1310:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1309:9:2"},scope:436,src:"1258:61:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:412,implemented:!1,kind:"function",modifiers:[],name:"resolver",nodeType:"FunctionDefinition",parameters:{id:408,nodeType:"ParameterList",parameters:[{constant:!1,id:407,name:"node",nodeType:"VariableDeclaration",scope:412,src:"1342:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:406,name:"bytes32",nodeType:"ElementaryTypeName",src:"1342:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1341:14:2"},returnParameters:{id:411,nodeType:"ParameterList",parameters:[{constant:!1,id:410,name:"",nodeType:"VariableDeclaration",scope:412,src:"1379:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:409,name:"address",nodeType:"ElementaryTypeName",src:"1379:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1378:9:2"},scope:436,src:"1324:64:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:419,implemented:!1,kind:"function",modifiers:[],name:"ttl",nodeType:"FunctionDefinition",parameters:{id:415,nodeType:"ParameterList",parameters:[{constant:!1,id:414,name:"node",nodeType:"VariableDeclaration",scope:419,src:"1406:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:413,name:"bytes32",nodeType:"ElementaryTypeName",src:"1406:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1405:14:2"},returnParameters:{id:418,nodeType:"ParameterList",parameters:[{constant:!1,id:417,name:"",nodeType:"VariableDeclaration",scope:419,src:"1443:6:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:416,name:"uint64",nodeType:"ElementaryTypeName",src:"1443:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"1442:8:2"},scope:436,src:"1393:58:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:426,implemented:!1,kind:"function",modifiers:[],name:"recordExists",nodeType:"FunctionDefinition",parameters:{id:422,nodeType:"ParameterList",parameters:[{constant:!1,id:421,name:"node",nodeType:"VariableDeclaration",scope:426,src:"1478:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:420,name:"bytes32",nodeType:"ElementaryTypeName",src:"1478:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1477:14:2"},returnParameters:{id:425,nodeType:"ParameterList",parameters:[{constant:!1,id:424,name:"",nodeType:"VariableDeclaration",scope:426,src:"1515:4:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:423,name:"bool",nodeType:"ElementaryTypeName",src:"1515:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1514:6:2"},scope:436,src:"1456:65:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:435,implemented:!1,kind:"function",modifiers:[],name:"isApprovedForAll",nodeType:"FunctionDefinition",parameters:{id:431,nodeType:"ParameterList",parameters:[{constant:!1,id:428,name:"owner",nodeType:"VariableDeclaration",scope:435,src:"1552:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:427,name:"address",nodeType:"ElementaryTypeName",src:"1552:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:430,name:"operator",nodeType:"VariableDeclaration",scope:435,src:"1567:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:429,name:"address",nodeType:"ElementaryTypeName",src:"1567:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1551:33:2"},returnParameters:{id:434,nodeType:"ParameterList",parameters:[{constant:!1,id:433,name:"",nodeType:"VariableDeclaration",scope:435,src:"1608:4:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:432,name:"bool",nodeType:"ElementaryTypeName",src:"1608:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1607:6:2"},scope:436,src:"1526:88:2",stateMutability:"view",superFunction:null,visibility:"external"}],scope:437,src:"27:1589:2"}],src:"0:1617:2"},legacyAST:{absolutePath:"/Users/makoto/work/ens/ens/contracts/ENS.sol",exportedSymbols:{ENS:[436]},id:437,nodeType:"SourceUnit",nodes:[{id:301,literals:["solidity",">=","0.4",".24"],nodeType:"PragmaDirective",src:"0:25:2"},{baseContracts:[],contractDependencies:[],contractKind:"interface",documentation:null,fullyImplemented:!1,id:436,linearizedBaseContracts:[436],name:"ENS",nodeType:"ContractDefinition",nodes:[{anonymous:!1,documentation:null,id:309,name:"NewOwner",nodeType:"EventDefinition",parameters:{id:308,nodeType:"ParameterList",parameters:[{constant:!1,id:303,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:309,src:"136:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:302,name:"bytes32",nodeType:"ElementaryTypeName",src:"136:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:305,indexed:!0,name:"label",nodeType:"VariableDeclaration",scope:309,src:"158:21:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:304,name:"bytes32",nodeType:"ElementaryTypeName",src:"158:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:307,indexed:!1,name:"owner",nodeType:"VariableDeclaration",scope:309,src:"181:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:306,name:"address",nodeType:"ElementaryTypeName",src:"181:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"135:60:2"},src:"121:75:2"},{anonymous:!1,documentation:null,id:315,name:"Transfer",nodeType:"EventDefinition",parameters:{id:314,nodeType:"ParameterList",parameters:[{constant:!1,id:311,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:315,src:"294:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:310,name:"bytes32",nodeType:"ElementaryTypeName",src:"294:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:313,indexed:!1,name:"owner",nodeType:"VariableDeclaration",scope:315,src:"316:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:312,name:"address",nodeType:"ElementaryTypeName",src:"316:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"293:37:2"},src:"279:52:2"},{anonymous:!1,documentation:null,id:321,name:"NewResolver",nodeType:"EventDefinition",parameters:{id:320,nodeType:"ParameterList",parameters:[{constant:!1,id:317,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:321,src:"407:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:316,name:"bytes32",nodeType:"ElementaryTypeName",src:"407:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:319,indexed:!1,name:"resolver",nodeType:"VariableDeclaration",scope:321,src:"429:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:318,name:"address",nodeType:"ElementaryTypeName",src:"429:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"406:40:2"},src:"389:58:2"},{anonymous:!1,documentation:null,id:327,name:"NewTTL",nodeType:"EventDefinition",parameters:{id:326,nodeType:"ParameterList",parameters:[{constant:!1,id:323,indexed:!0,name:"node",nodeType:"VariableDeclaration",scope:327,src:"511:20:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:322,name:"bytes32",nodeType:"ElementaryTypeName",src:"511:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:325,indexed:!1,name:"ttl",nodeType:"VariableDeclaration",scope:327,src:"533:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:324,name:"uint64",nodeType:"ElementaryTypeName",src:"533:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"510:34:2"},src:"498:47:2"},{anonymous:!1,documentation:null,id:335,name:"ApprovalForAll",nodeType:"EventDefinition",parameters:{id:334,nodeType:"ParameterList",parameters:[{constant:!1,id:329,indexed:!0,name:"owner",nodeType:"VariableDeclaration",scope:335,src:"624:21:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:328,name:"address",nodeType:"ElementaryTypeName",src:"624:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:331,indexed:!0,name:"operator",nodeType:"VariableDeclaration",scope:335,src:"647:24:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:330,name:"address",nodeType:"ElementaryTypeName",src:"647:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:333,indexed:!1,name:"approved",nodeType:"VariableDeclaration",scope:335,src:"673:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:332,name:"bool",nodeType:"ElementaryTypeName",src:"673:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"623:64:2"},src:"603:85:2"},{body:null,documentation:null,id:346,implemented:!1,kind:"function",modifiers:[],name:"setRecord",nodeType:"FunctionDefinition",parameters:{id:344,nodeType:"ParameterList",parameters:[{constant:!1,id:337,name:"node",nodeType:"VariableDeclaration",scope:346,src:"713:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:336,name:"bytes32",nodeType:"ElementaryTypeName",src:"713:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:339,name:"owner",nodeType:"VariableDeclaration",scope:346,src:"727:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:338,name:"address",nodeType:"ElementaryTypeName",src:"727:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:341,name:"resolver",nodeType:"VariableDeclaration",scope:346,src:"742:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:340,name:"address",nodeType:"ElementaryTypeName",src:"742:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:343,name:"ttl",nodeType:"VariableDeclaration",scope:346,src:"760:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:342,name:"uint64",nodeType:"ElementaryTypeName",src:"760:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"712:59:2"},returnParameters:{id:345,nodeType:"ParameterList",parameters:[],src:"780:0:2"},scope:436,src:"694:87:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:359,implemented:!1,kind:"function",modifiers:[],name:"setSubnodeRecord",nodeType:"FunctionDefinition",parameters:{id:357,nodeType:"ParameterList",parameters:[{constant:!1,id:348,name:"node",nodeType:"VariableDeclaration",scope:359,src:"812:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:347,name:"bytes32",nodeType:"ElementaryTypeName",src:"812:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:350,name:"label",nodeType:"VariableDeclaration",scope:359,src:"826:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:349,name:"bytes32",nodeType:"ElementaryTypeName",src:"826:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:352,name:"owner",nodeType:"VariableDeclaration",scope:359,src:"841:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:351,name:"address",nodeType:"ElementaryTypeName",src:"841:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:354,name:"resolver",nodeType:"VariableDeclaration",scope:359,src:"856:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:353,name:"address",nodeType:"ElementaryTypeName",src:"856:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:356,name:"ttl",nodeType:"VariableDeclaration",scope:359,src:"874:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:355,name:"uint64",nodeType:"ElementaryTypeName",src:"874:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"811:74:2"},returnParameters:{id:358,nodeType:"ParameterList",parameters:[],src:"894:0:2"},scope:436,src:"786:109:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:370,implemented:!1,kind:"function",modifiers:[],name:"setSubnodeOwner",nodeType:"FunctionDefinition",parameters:{id:366,nodeType:"ParameterList",parameters:[{constant:!1,id:361,name:"node",nodeType:"VariableDeclaration",scope:370,src:"925:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:360,name:"bytes32",nodeType:"ElementaryTypeName",src:"925:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:363,name:"label",nodeType:"VariableDeclaration",scope:370,src:"939:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:362,name:"bytes32",nodeType:"ElementaryTypeName",src:"939:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:365,name:"owner",nodeType:"VariableDeclaration",scope:370,src:"954:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:364,name:"address",nodeType:"ElementaryTypeName",src:"954:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"924:44:2"},returnParameters:{id:369,nodeType:"ParameterList",parameters:[{constant:!1,id:368,name:"",nodeType:"VariableDeclaration",scope:370,src:"986:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:367,name:"bytes32",nodeType:"ElementaryTypeName",src:"986:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"985:9:2"},scope:436,src:"900:95:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:377,implemented:!1,kind:"function",modifiers:[],name:"setResolver",nodeType:"FunctionDefinition",parameters:{id:375,nodeType:"ParameterList",parameters:[{constant:!1,id:372,name:"node",nodeType:"VariableDeclaration",scope:377,src:"1021:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:371,name:"bytes32",nodeType:"ElementaryTypeName",src:"1021:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:374,name:"resolver",nodeType:"VariableDeclaration",scope:377,src:"1035:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:373,name:"address",nodeType:"ElementaryTypeName",src:"1035:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1020:32:2"},returnParameters:{id:376,nodeType:"ParameterList",parameters:[],src:"1061:0:2"},scope:436,src:"1000:62:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:384,implemented:!1,kind:"function",modifiers:[],name:"setOwner",nodeType:"FunctionDefinition",parameters:{id:382,nodeType:"ParameterList",parameters:[{constant:!1,id:379,name:"node",nodeType:"VariableDeclaration",scope:384,src:"1085:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:378,name:"bytes32",nodeType:"ElementaryTypeName",src:"1085:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:381,name:"owner",nodeType:"VariableDeclaration",scope:384,src:"1099:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:380,name:"address",nodeType:"ElementaryTypeName",src:"1099:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1084:29:2"},returnParameters:{id:383,nodeType:"ParameterList",parameters:[],src:"1122:0:2"},scope:436,src:"1067:56:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:391,implemented:!1,kind:"function",modifiers:[],name:"setTTL",nodeType:"FunctionDefinition",parameters:{id:389,nodeType:"ParameterList",parameters:[{constant:!1,id:386,name:"node",nodeType:"VariableDeclaration",scope:391,src:"1144:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:385,name:"bytes32",nodeType:"ElementaryTypeName",src:"1144:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"},{constant:!1,id:388,name:"ttl",nodeType:"VariableDeclaration",scope:391,src:"1158:10:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:387,name:"uint64",nodeType:"ElementaryTypeName",src:"1158:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"1143:26:2"},returnParameters:{id:390,nodeType:"ParameterList",parameters:[],src:"1178:0:2"},scope:436,src:"1128:51:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:398,implemented:!1,kind:"function",modifiers:[],name:"setApprovalForAll",nodeType:"FunctionDefinition",parameters:{id:396,nodeType:"ParameterList",parameters:[{constant:!1,id:393,name:"operator",nodeType:"VariableDeclaration",scope:398,src:"1211:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:392,name:"address",nodeType:"ElementaryTypeName",src:"1211:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:395,name:"approved",nodeType:"VariableDeclaration",scope:398,src:"1229:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:394,name:"bool",nodeType:"ElementaryTypeName",src:"1229:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1210:33:2"},returnParameters:{id:397,nodeType:"ParameterList",parameters:[],src:"1252:0:2"},scope:436,src:"1184:69:2",stateMutability:"nonpayable",superFunction:null,visibility:"external"},{body:null,documentation:null,id:405,implemented:!1,kind:"function",modifiers:[],name:"owner",nodeType:"FunctionDefinition",parameters:{id:401,nodeType:"ParameterList",parameters:[{constant:!1,id:400,name:"node",nodeType:"VariableDeclaration",scope:405,src:"1273:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:399,name:"bytes32",nodeType:"ElementaryTypeName",src:"1273:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1272:14:2"},returnParameters:{id:404,nodeType:"ParameterList",parameters:[{constant:!1,id:403,name:"",nodeType:"VariableDeclaration",scope:405,src:"1310:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:402,name:"address",nodeType:"ElementaryTypeName",src:"1310:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1309:9:2"},scope:436,src:"1258:61:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:412,implemented:!1,kind:"function",modifiers:[],name:"resolver",nodeType:"FunctionDefinition",parameters:{id:408,nodeType:"ParameterList",parameters:[{constant:!1,id:407,name:"node",nodeType:"VariableDeclaration",scope:412,src:"1342:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:406,name:"bytes32",nodeType:"ElementaryTypeName",src:"1342:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1341:14:2"},returnParameters:{id:411,nodeType:"ParameterList",parameters:[{constant:!1,id:410,name:"",nodeType:"VariableDeclaration",scope:412,src:"1379:7:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:409,name:"address",nodeType:"ElementaryTypeName",src:"1379:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1378:9:2"},scope:436,src:"1324:64:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:419,implemented:!1,kind:"function",modifiers:[],name:"ttl",nodeType:"FunctionDefinition",parameters:{id:415,nodeType:"ParameterList",parameters:[{constant:!1,id:414,name:"node",nodeType:"VariableDeclaration",scope:419,src:"1406:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:413,name:"bytes32",nodeType:"ElementaryTypeName",src:"1406:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1405:14:2"},returnParameters:{id:418,nodeType:"ParameterList",parameters:[{constant:!1,id:417,name:"",nodeType:"VariableDeclaration",scope:419,src:"1443:6:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:416,name:"uint64",nodeType:"ElementaryTypeName",src:"1443:6:2",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:null,visibility:"internal"}],src:"1442:8:2"},scope:436,src:"1393:58:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:426,implemented:!1,kind:"function",modifiers:[],name:"recordExists",nodeType:"FunctionDefinition",parameters:{id:422,nodeType:"ParameterList",parameters:[{constant:!1,id:421,name:"node",nodeType:"VariableDeclaration",scope:426,src:"1478:12:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:420,name:"bytes32",nodeType:"ElementaryTypeName",src:"1478:7:2",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},value:null,visibility:"internal"}],src:"1477:14:2"},returnParameters:{id:425,nodeType:"ParameterList",parameters:[{constant:!1,id:424,name:"",nodeType:"VariableDeclaration",scope:426,src:"1515:4:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:423,name:"bool",nodeType:"ElementaryTypeName",src:"1515:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1514:6:2"},scope:436,src:"1456:65:2",stateMutability:"view",superFunction:null,visibility:"external"},{body:null,documentation:null,id:435,implemented:!1,kind:"function",modifiers:[],name:"isApprovedForAll",nodeType:"FunctionDefinition",parameters:{id:431,nodeType:"ParameterList",parameters:[{constant:!1,id:428,name:"owner",nodeType:"VariableDeclaration",scope:435,src:"1552:13:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:427,name:"address",nodeType:"ElementaryTypeName",src:"1552:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"},{constant:!1,id:430,name:"operator",nodeType:"VariableDeclaration",scope:435,src:"1567:16:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:429,name:"address",nodeType:"ElementaryTypeName",src:"1567:7:2",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:null,visibility:"internal"}],src:"1551:33:2"},returnParameters:{id:434,nodeType:"ParameterList",parameters:[{constant:!1,id:433,name:"",nodeType:"VariableDeclaration",scope:435,src:"1608:4:2",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:432,name:"bool",nodeType:"ElementaryTypeName",src:"1608:4:2",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},value:null,visibility:"internal"}],src:"1607:6:2"},scope:436,src:"1526:88:2",stateMutability:"view",superFunction:null,visibility:"external"}],scope:437,src:"27:1589:2"}],src:"0:1617:2"},compiler:{name:"solc",version:"0.5.16+commit.9c3226ce.Emscripten.clang"},networks:{},schemaVersion:"3.2.0",updatedAt:"2020-06-23T14:47:43.690Z",devdoc:{methods:{}},userdoc:{methods:{}}}}}},{package:"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/ens",file:"node_modules/@ensdomains/ens/build/contracts/ENS.json"}],[2951,{"@babel/runtime/helpers/inheritsLoose":185,gud:2649,"prop-types":3032,react:3177,"tiny-warning":3287},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=e("react"),o=n(i),a=n(e("@babel/runtime/helpers/inheritsLoose")),s=n(e("prop-types")),u=n(e("gud")),l=(n(e("tiny-warning")),1073741823);function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var f=o.createContext||function(e,t){var r,n,o="__create-react-context-"+u()+"__",f=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}a(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,i=e.value;((o=n)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?r=0:(r="function"==typeof t?t(n,i):l,0!==(r|=0)&&this.emitter.set(e.value,r))}var o,a},n.render=function(){return this.props.children},r}(i.Component);f.childContextTypes=((r={})[o]=s.object.isRequired,r);var d=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}a(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=t===undefined||null===t?l:t},n.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=e===undefined||null===e?l:e},n.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},n.getValue=function(){return this.context[o]?this.context[o].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(i.Component);return d.contextTypes=((n={})[o]=s.object,n),{Provider:f,Consumer:d}};t.exports=f}}},{package:"react-router-dom>react-router>mini-create-react-context",file:"node_modules/mini-create-react-context/dist/cjs/index.js"}]],[],{});